◆ FilterTargetsInitial()
| void spell_ulduar_stone_grip_cast_target::FilterTargetsInitial |
( |
std::list< WorldObject * > & |
targets | ) |
|
|
inlineprivate |
737 {
738
740
742
743
744 while (maxTargets < targets.size())
745 {
746 std::list<WorldObject*>::iterator itr = targets.begin();
747 advance(itr,
urand(0, targets.size() - 1));
748 targets.erase(itr);
749 }
750 }
std::uint32_t uint32
Definition Define.h:107
uint32 urand(uint32 min, uint32 max)
Definition Random.cpp:44
@ SPELL_STONE_GRIP
Definition boss_kologarn.cpp:68
uint32 Id
Definition SpellInfo.h:320
SpellInfo const * GetSpellInfo()
Definition SpellScript.cpp:411
Unit * GetCaster()
Definition SpellScript.cpp:401
Definition boss_kologarn.cpp:707
References SpellScript::GetCaster(), SpellScript::GetSpellInfo(), SpellInfo::Id, SPELL_STONE_GRIP, and urand().
Referenced by Register().
◆ Load()
| bool spell_ulduar_stone_grip_cast_target::Load |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ PrepareSpellScript()
◆ Register()
| void spell_ulduar_stone_grip_cast_target::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: