v2.0.0: fixed charged shot incorrect interacting with durability boosts

This commit is contained in:
Evan Debenham
2023-02-12 23:18:05 -05:00
parent d382ed74c3
commit e5c8e22db9

View File

@@ -182,7 +182,7 @@ public abstract class TippedDart extends Dart {
//grants 1 extra use with charged shot
if (Dungeon.hero.buff(Crossbow.ChargedShot.class) != null){
use = 100f/((use/100f) + 1f) + 0.001f;
use = 100f/((100f/use) + 1f) + 0.001f;
}
return use;