v3.0.0: fixed downed crystal guardians not showing dmg type
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user