From 00c8289b18fb08f5cbaa2d268b74db385e4d089f Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 20 May 2023 13:31:46 -0400 Subject: [PATCH] v2.1.0: fixed lash ability dealing 0 damage --- .../shatteredpixeldungeon/items/weapon/melee/Whip.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/Whip.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/Whip.java index ad98dbb6a..11df2e04b 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/Whip.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/weapon/melee/Whip.java @@ -83,7 +83,7 @@ public class Whip extends MeleeWeapon { public void call() { beforeAbilityUsed(hero, finalClosest); for (Char ch : targets) { - hero.attack(ch, 0, 1, ch == finalClosest ? Char.INFINITE_ACCURACY : 1); + hero.attack(ch, 1, 0, ch == finalClosest ? Char.INFINITE_ACCURACY : 1); if (!ch.isAlive()){ onAbilityKill(hero, ch); }