1937 {
1941 {
1944 break;
1947 break;
1950 break;
1953 break;
1954 default:
1955 return;
1956 }
1957
1959 {
1960 trap->SetRespawnTime(trap->GetGOInfo()->GetAutoCloseTime() /
IN_MILLISECONDS);
1961 }
1962
1963 std::list<Creature*> wards;
1966 for (std::list<Creature*>::iterator itr = wards.begin(); itr != wards.end(); ++itr)
1967 {
1969 {
1972 (*itr)->AI()->SetData(1, 1);
1973 break;
1974 }
1975 }
1976 }
constexpr auto IN_MILLISECONDS
Definition: Common.h:53
std::uint32_t uint32
Definition: Define.h:107
@ SAY_TRAP_ACTIVATE
Definition: icecrown_citadel.cpp:67
@ EVENT_AWAKEN_WARD_4
Definition: icecrown_citadel.cpp:277
@ EVENT_AWAKEN_WARD_1
Definition: icecrown_citadel.cpp:274
@ EVENT_AWAKEN_WARD_3
Definition: icecrown_citadel.cpp:276
@ EVENT_AWAKEN_WARD_2
Definition: icecrown_citadel.cpp:275
@ NPC_DEATHBOUND_WARD
Definition: icecrown_citadel.h:175
@ SPELL_STONEFORM
Definition: icecrown_citadel.h:51
@ GO_SPIRIT_ALARM_1
Definition: icecrown_citadel.h:379
@ GO_SPIRIT_ALARM_3
Definition: icecrown_citadel.h:381
@ GO_SPIRIT_ALARM_2
Definition: icecrown_citadel.h:380
@ GO_SPIRIT_ALARM_4
Definition: icecrown_citadel.h:382
Definition: GameObject.h:120
void GetCreatureListWithEntryInGrid(std::list< Creature * > &lList, uint32 uiEntry, float fMaxSearchRange) const
Definition: Object.cpp:2511
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:590
Unit * GetCaster()
Definition: SpellScript.cpp:401