v2.5.0: fixed ripper demons using wrong reference when missing leap atk

This commit is contained in:
Evan Debenham
2024-09-05 11:20:13 -04:00
parent 7aa9555294
commit 85d619ceff

View File

@@ -196,7 +196,7 @@ public class RipperDemon extends Mob {
leapVictim.sprite.flash();
Sample.INSTANCE.play(Assets.Sounds.HIT);
} else {
enemy.sprite.showStatus( CharSprite.NEUTRAL, enemy.defenseVerb() );
leapVictim.sprite.showStatus( CharSprite.NEUTRAL, leapVictim.defenseVerb() );
Sample.INSTANCE.play(Assets.Sounds.MISS);
}
}