IgnoreDeath effect.

Contributed by NviX.
This commit is contained in:
MobiusDev
2015-06-29 12:24:23 +00:00
parent 7f220fe2c1
commit 31a42fc96a
4 changed files with 71 additions and 9 deletions

View File

@ -293,7 +293,7 @@ public class PcStatus extends PlayableStatus
setCurrentHp(value);
}
if ((getActiveChar().getCurrentHp() < 0.5) && !isHPConsumption)
if ((getActiveChar().getCurrentHp() < 0.5) && !isHPConsumption && getActiveChar().isMortal())
{
getActiveChar().abortAttack();
getActiveChar().abortCast();