903 uint8 channelIdentifier;
904 switch (gObj->GetEntry())
908 channelIdentifier = 0;
912 channelIdentifier = 1;
916 channelIdentifier = 2;
920 channelIdentifier = 3;
926 if (instance->
GetData(identifier))
936 instance->
SetData(identifier, 1);
939 player->DestroyItemCount(31088, 1,
true);
942 else if (targets.GetUnitTarget()->GetTypeId() ==
TYPEID_UNIT)
944 else if (targets.GetUnitTarget()->GetTypeId() ==
TYPEID_PLAYER)
946 player->DestroyItemCount(31088, 1,
true);
947 player->CastSpell(targets.GetUnitTarget(), 38134,
true);
Definition: serpent_shrine.h:47
virtual uint32 GetData(uint32) const
Definition: ZoneScript.h:51
Definition: ObjectGuid.h:32
Definition: Creature.h:467
Definition: boss_lady_vashj.cpp:146
#define ENSURE_AI(a, b)
Definition: ScriptedCreature.h:29
virtual ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:93
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:52
CreatureAI * AI() const
Definition: Creature.h:525
Definition: serpent_shrine.h:44
uint32_t uint32
Definition: Define.h:150
Definition: serpent_shrine.h:39
Definition: GameObject.h:880
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
Definition: serpent_shrine.h:45
Definition: ObjectGuid.h:33
Definition: InstanceScript.h:141
uint8_t uint8
Definition: Define.h:152
Definition: serpent_shrine.h:46
Phase
Definition: boss_kiljaeden.cpp:153
#define TEXT_ALREADY_DEACTIVATED
Definition: boss_lady_vashj.cpp:76
#define TEXT_NOT_INITIALIZED
Definition: boss_lady_vashj.cpp:75