v2.0.0: fixed charged shot incorrect interacting with durability boosts
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ public abstract class TippedDart extends Dart {
|
|||||||
|
|
||||||
//grants 1 extra use with charged shot
|
//grants 1 extra use with charged shot
|
||||||
if (Dungeon.hero.buff(Crossbow.ChargedShot.class) != null){
|
if (Dungeon.hero.buff(Crossbow.ChargedShot.class) != null){
|
||||||
use = 100f/((use/100f) + 1f) + 0.001f;
|
use = 100f/((100f/use) + 1f) + 0.001f;
|
||||||
}
|
}
|
||||||
|
|
||||||
return use;
|
return use;
|
||||||
|
|||||||
Reference in New Issue
Block a user