2187 {
2190 return true;
2191
2192 Position destPos = {4126.35f, 2769.23f, 350.963f, 0.0f};
2193
2195 {
2196
2197 float x, y, z, o;
2199
2200
2202
2204 std::list<Creature*> traps;
2207 bool instant = false;
2208 for (std::list<Creature*>::iterator itr = traps.begin(); itr != traps.end(); ++itr)
2209 {
2210 (*itr)->AI()->DoAction(instant ? 1000 : 11000);
2211 instant = !instant;
2212 }
2213
2214
2216 }
2217
2219
2220 return true;
2221 }
@ NPC_FROST_FREEZE_TRAP
Definition: icecrown_citadel.h:250
@ DATA_DEATHBRINGER_SAURFANG
Definition: icecrown_citadel.h:89
@ DATA_COLDFLAME_JETS
Definition: icecrown_citadel.h:117
void GetCreatureListWithEntryInGrid(std::list< Creature * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
Definition: ScriptedCreature.cpp:860
@ IN_PROGRESS
Definition: InstanceScript.h:58
@ DONE
Definition: InstanceScript.h:60
@ NOT_STARTED
Definition: InstanceScript.h:57
Map * GetMap() const
Definition: Object.h:536
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1203
Definition: Position.h:27
float GetPositionZ() const
Definition: Position.h:118
float GetOrientation() const
Definition: Position.h:119
float GetPositionX() const
Definition: Position.h:116
void GetPosition(float &x, float &y) const
Definition: Position.h:121
float GetPositionY() const
Definition: Position.h:117
bool TeleportTo(uint32 mapid, float x, float y, float z, float orientation, uint32 options=0, Unit *target=nullptr, bool newInstance=false)
Definition: Player.cpp:1334
Definition: InstanceScript.h:142
EncounterState GetBossState(uint32 id) const
Definition: InstanceScript.h:235
void PlayerRelocation(Player *, float x, float y, float z, float o)
Definition: Map.cpp:1003
virtual uint32 GetData(uint32) const
Definition: ZoneScript.h:51
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:52