Mob::Charmed() should be useful now

We should really clean this up, but this is quicker
This commit is contained in:
Michael Cook (mackal) 2016-01-25 14:00:22 -05:00
parent c4cdf811e3
commit 15c92f019a

View File

@ -887,7 +887,7 @@ public:
Mob* GetShieldTarget() const { return shield_target; }
void SetShieldTarget(Mob* mob) { shield_target = mob; }
bool HasActiveSong() const { return(bardsong != 0); }
bool Charmed() const { return charmed; }
bool Charmed() const { return typeofpet == petCharmed; }
static uint32 GetLevelHP(uint8 tlevel);
uint32 GetZoneID() const; //for perl
virtual int32 CheckAggroAmount(uint16 spell_id, Mob *target, bool isproc = false);