293 {
297 {
298 razor->AI()->SetGUID(player->
GetGUID());
299 razor->Attack(player, true);
301 }
302 return true;
303 }
@ DATA_EGG_EVENT
Definition: blackwing_lair.h:112
@ DATA_RAZORGORE_THE_UNTAMED
Definition: blackwing_lair.h:31
@ SPELL_MINDCONTROL
Definition: boss_razorgore.cpp:38
@ SPELL_MIND_EXHAUSTION
Definition: boss_razorgore.cpp:41
@ DONE
Definition: InstanceScript.h:60
Creature * GetCreature(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:210
Definition: Creature.h:43
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:112
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1203
Pet * GetPet() const
Definition: Player.cpp:8939
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5698
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1167
Definition: InstanceScript.h:142