1936 {
1940 {
1943 break;
1946 break;
1949 break;
1952 break;
1953 default:
1954 return;
1955 }
1956
1958 {
1959 trap->SetRespawnTime(trap->GetGOInfo()->GetAutoCloseTime() /
IN_MILLISECONDS);
1960 }
1961
1962 std::list<Creature*> wards;
1965 for (std::list<Creature*>::iterator itr = wards.begin(); itr != wards.end(); ++itr)
1966 {
1968 {
1971 (*itr)->AI()->SetData(1, 1);
1972 break;
1973 }
1974 }
1975 }
constexpr auto IN_MILLISECONDS
Definition: Common.h:53
std::uint32_t uint32
Definition: Define.h:107
@ SAY_TRAP_ACTIVATE
Definition: icecrown_citadel.cpp:66
@ EVENT_AWAKEN_WARD_4
Definition: icecrown_citadel.cpp:276
@ EVENT_AWAKEN_WARD_1
Definition: icecrown_citadel.cpp:273
@ EVENT_AWAKEN_WARD_3
Definition: icecrown_citadel.cpp:275
@ EVENT_AWAKEN_WARD_2
Definition: icecrown_citadel.cpp:274
@ NPC_DEATHBOUND_WARD
Definition: icecrown_citadel.h:181
@ SPELL_STONEFORM
Definition: icecrown_citadel.h:57
@ GO_SPIRIT_ALARM_1
Definition: icecrown_citadel.h:385
@ GO_SPIRIT_ALARM_3
Definition: icecrown_citadel.h:387
@ GO_SPIRIT_ALARM_2
Definition: icecrown_citadel.h:386
@ GO_SPIRIT_ALARM_4
Definition: icecrown_citadel.h:388
Definition: GameObject.h:121
void GetCreatureListWithEntryInGrid(std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition: Object.cpp:2500
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:590
Unit * GetCaster()
Definition: SpellScript.cpp:401