From 68706fda9388bf57bf3025ce5c2adeb96a864c6c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 30 Jan 2025 11:10:59 -0500 Subject: [PATCH] v3.0.0: fixed smite not guaranteeing hits when it should --- .../shatteredpixeldungeon/actors/hero/spells/Smite.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/Smite.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/Smite.java index 68f61e0a6..c5bce067d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/Smite.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/Smite.java @@ -91,10 +91,10 @@ public class Smite extends TargetedClericSpell { public void call() { AttackIndicator.target(enemy); - float accMult = Char.INFINITE_ACCURACY; + float accMult = 1; if (!(hero.belongings.attackingWeapon() instanceof Weapon) || ((Weapon) hero.belongings.attackingWeapon()).STRReq() <= hero.STR()){ - accMult = 1; + accMult = Char.INFINITE_ACCURACY; } if (hero.attack(enemy, 1, 0, accMult)){ Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG);