Skip to content

Commit

Permalink
2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ontrigger committed Mar 27, 2021
1 parent 6b6c2bb commit 4390941
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 20 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Changes in 2.2.0

* Anniversary update support

# Changes in 2.1.0

* Fixed incorrect stats of Strides of Heresy
Expand Down Expand Up @@ -32,8 +36,7 @@

# Changes in 1.3.1

* Fixed the lunar ability
replacement thingy from crashing when spectating in multiplayer
* Fixed the lunar ability replacement thingy from crashing when spectating in multiplayer

* Updated the Tooth healing amount

Expand Down
1 change: 0 additions & 1 deletion ItemStats/ItemStats.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<Compile Include="src\StatModification\IStatModifier.cs"/>
<Compile Include="src\StatModification\Modifiers\HealingIncreaseModifier.cs"/>
<Compile Include="src\StatModification\Modifiers\LuckModifier.cs"/>
<Compile Include="src\StatModification\Modifiers\TreasureCacheModifier.cs"/>
<Compile Include="src\StatModification\StatModifiers.cs"/>
<Compile Include="src\Stat\IStat.cs"/>
<Compile Include="src\Stat\ItemStat.cs"/>
Expand Down
6 changes: 3 additions & 3 deletions ItemStats/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ItemStats")]
[assembly: AssemblyCopyright("Copyright ontrigger 2020")]
[assembly: AssemblyCopyright("Copyright ontrigger 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.0.0")]
[assembly: AssemblyFileVersion("2.1.0.0")]
[assembly: AssemblyVersion("2.2.0.0")]
[assembly: AssemblyFileVersion("2.2.0.0")]
2 changes: 1 addition & 1 deletion ItemStats/src/ItemStatsMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace ItemStats
{
[BepInDependency("com.bepis.r2api")]
[BepInPlugin("dev.ontrigger.itemstats", "ItemStats", "2.1.0")]
[BepInPlugin("dev.ontrigger.itemstats", "ItemStats", "2.2.0")]
[NetworkCompatibility(CompatibilityLevel.NoNeedForSync, VersionStrictness.DifferentModVersionsAreOk)]
public class ItemStatsMod : BaseUnityPlugin
{
Expand Down
12 changes: 0 additions & 12 deletions ItemStats/src/StatModification/StatModifiers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,4 @@ public static List<IStatModifier> GetModifiersForItemDef(ItemStatDef itemStatDef
return existingEntry ?? new List<IStatModifier>();
}
}

/*public class TpHealingNova : StatModifier
{
// TODO: fix
protected override Func<float, StatContext, float> ModifyValueFunc =>
(count, ctx) => ContextProvider.GetPlayerIdToItemCountMap(ItemIndex.TPHealingNova)
.Where(pair => pair.Key != 0)
.Sum(pair => pair.Value) + count;
protected override IStatFormatter FormatFunc =>
new ModifierFormatter("from other players");
}*/
}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ItemStats 2.1.0 (Now with Custom Item support!)
# ItemStats 2.2.0
Provides current stack bonuses for an item in the tooltip

![demo](https://i.nyah.moe/VvsO.png)
Expand Down Expand Up @@ -38,3 +38,4 @@ Open the solution, link the libraries in the Lib folder, DL the required NuGet p

* kylewill0725
* orare
* XuaTheGrate

0 comments on commit 4390941

Please sign in to comment.