868 if (target->getLevel() > caster->
getLevel())
872 if (!target->GetCreatureTemplate()->IsTameable(caster->
ToPlayer()->CanTameExoticPets()))
Unit * GetExplTargetUnit()
Definition: SpellScript.cpp:426
Definition: SharedDefines.h:1322
ObjectGuid GetCharmGUID() const
Definition: Unit.h:1706
Definition: SharedDefines.h:1274
Definition: Creature.h:467
ObjectGuid GetPetGUID() const
Definition: Unit.h:1708
Player * ToPlayer()
Definition: Object.h:191
uint8 getLevel() const
Definition: Unit.h:1408
TypeID GetTypeId() const
Definition: Object.h:113
Definition: SharedDefines.h:1280
Definition: SharedDefines.h:1297
Definition: ObjectGuid.h:33
Unit * GetCaster()
Definition: SpellScript.cpp:394
Creature * ToCreature()
Definition: Object.h:194
Definition: SharedDefines.h:1273
Definition: SharedDefines.h:1538
Definition: SharedDefines.h:1279
bool IsEmpty() const
Definition: ObjectGuid.h:242