v3.0.0: fixed downed crystal guardians not showing dmg type

This commit is contained in:
Evan Debenham
2024-10-17 12:17:16 -04:00
parent 6be4556112
commit bf1f35383a

View File

@@ -118,7 +118,8 @@ public class CrystalGuardian extends Mob{
@Override
public int defenseProc(Char enemy, int damage) {
if (recovering){
sprite.showStatus(CharSprite.NEGATIVE, Integer.toString(damage));
//this triggers before blocking, so the dmg as block-bypassing
sprite.showStatusWithIcon(CharSprite.NEGATIVE, Integer.toString(damage), FloatingText.PHYS_DMG_NO_BLOCK);
HP = Math.max(1, HP-damage);
damage = -1;
}