Added a check to ensure empath target isn't dead.

This commit is contained in:
Thalpy
2019-06-02 20:53:41 +01:00
committed by GitHub
parent abb76baeca
commit e0690c610a
@@ -281,7 +281,7 @@
if(91.01 to INFINITY)
msg += "[t_He] [t_is] a shitfaced, slobbering wreck.\n"
if(src != user && user.has_trait(TRAIT_EMPATH) && !appears_dead)
if(src != user && user.has_trait(TRAIT_EMPATH) && !appears_dead && !stat == DEAD)
if (a_intent != INTENT_HELP)
msg += "[t_He] seem[p_s()] to be on guard.\n"
if (getOxyLoss() >= 10)