942 {
943 if (!user || !go)
944 return true;
945
947 if (!pInstance)
948 return true;
949
953
955 {
958 return true;
959 }
960
964 {
968 break;
972 break;
976 break;
980 break;
981 }
982
985 hfs->AI()->SetData(3, spell);
986
988 return true;
989 }
std::uint32_t uint32
Definition: Define.h:107
npc
Definition: BattlegroundSA.h:75
@ GO_JUST_DEACTIVATED
Definition: GameObject.h:114
@ GO_HARPOON_GUN_1
Definition: boss_razorscale.cpp:87
@ GO_HARPOON_GUN_2
Definition: boss_razorscale.cpp:88
@ GO_HARPOON_GUN_3
Definition: boss_razorscale.cpp:89
@ GO_HARPOON_GUN_4
Definition: boss_razorscale.cpp:90
@ SPELL_CHAIN_2
Definition: boss_razorscale.cpp:46
@ SPELL_CHAIN_3
Definition: boss_razorscale.cpp:47
@ SPELL_CHAIN_1
Definition: boss_razorscale.cpp:45
@ SPELL_CHAIN_4
Definition: boss_razorscale.cpp:48
@ DATA_HARPOON_FIRE_STATE_1
Definition: ulduar.h:62
@ DATA_HARPOON_FIRE_STATE_2
Definition: ulduar.h:63
@ DATA_HARPOON_FIRE_STATE_3
Definition: ulduar.h:64
@ DATA_HARPOON_FIRE_STATE_4
Definition: ulduar.h:65
@ TYPE_RAZORSCALE
Definition: ulduar.h:34
Creature * GetCreature(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:213
Definition: Creature.h:46
void Delete()
Definition: GameObject.cpp:979
void SetLootState(LootState s, Unit *unit=nullptr)
Definition: GameObject.cpp:2442
void SetRespawnTime(int32 respawn)
Definition: GameObject.cpp:1303
uint32 GetEntry() const
Definition: Object.h:112
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1192
Definition: ObjectGuid.h:118
bool IsInCombat() const
Definition: Unit.h:820
Definition: InstanceScript.h:142
ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:95