Mercurial > mm7
diff Player.h @ 303:3dcc9d945eeb
DamageMonsterFromParty
author | Nomad |
---|---|
date | Tue, 19 Feb 2013 15:39:50 +0200 |
parents | 0a37a56e9f02 |
children | f16ac5e65438 |
line wrap: on
line diff
--- a/Player.h Tue Feb 19 13:31:50 2013 +0200 +++ b/Player.h Tue Feb 19 15:39:50 2013 +0200 @@ -560,6 +560,7 @@ bool Recover(signed int a2); bool CanCastSpell(unsigned int uRequiredMana); + inline bool Weak() {return pConditions[Condition::Condition_Weak] != 0;} inline bool Dead() {return pConditions[Condition::Condition_Dead] != 0;} inline bool Eradicated() {return pConditions[Condition::Condition_Eradicated] != 0;} inline bool Zombie() {return pConditions[Condition::Condition_Zombie] != 0;}