From e137098c6231b5a163182fa637af91270361d436 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 6 Aug 2020 09:55:49 -0400 Subject: [PATCH] v0.8.2: fixed unintentionally committed debug code for elastic --- .../items/weapon/enchantments/Elastic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Elastic.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Elastic.java index e91e76242..053a97137 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Elastic.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/enchantments/Elastic.java @@ -40,7 +40,7 @@ public class Elastic extends Weapon.Enchantment { // lvl 2 - 43% int level = Math.max( 0, weapon.buffedLvl() ); - if (Random.Int( level + 500 ) >= 4) { + if (Random.Int( level + 5 ) >= 4) { //trace a ballistica to our target (which will also extend past them Ballistica trajectory = new Ballistica(attacker.pos, defender.pos, Ballistica.STOP_TARGET); //trim it to just be the part that goes past them