◆ PrepareSpellScript()
◆ Register()
void spell_gen_rallying_cry_of_the_dragonslayer::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ SelectTarget()
void spell_gen_rallying_cry_of_the_dragonslayer::SelectTarget |
( |
std::list< WorldObject * > & |
targets | ) |
|
|
inlineprivate |
539 {
540 targets.clear();
541
544 zoneId = 1637;
545
548 if (itr->GetSource()->GetZoneId() == zoneId)
549 targets.push_back(itr->GetSource());
550 }
std::uint32_t uint32
Definition Define.h:107
Definition LinkedList.h:139
Definition MapRefMgr.h:26
iterator begin()
Definition MapRefMgr.h:36
iterator end()
Definition MapRefMgr.h:37
PlayerList const & GetPlayers() const
Definition Map.h:333
Unit * GetCaster()
Definition SpellScript.cpp:401
Map * GetMap() const
Definition Object.h:536
References MapRefMgr::begin(), MapRefMgr::end(), SpellScript::GetCaster(), WorldObject::GetMap(), and Map::GetPlayers().
Referenced by Register().
The documentation for this class was generated from the following file: