◆ PrepareSpellScript()
836 {
837 if (!target)
838 return;
839
840
841
842 std::list<Creature*> crList;
844 if (crList.empty())
845 return;
846
847 for (std::list<Creature*>::const_iterator itr = crList.begin(); itr != crList.end(); ++itr)
848 {
849
850 if (!(*itr)->ToTempSummon())
851 {
852 target = *itr;
853 return;
854 }
855 }
856 }
@ NPC_RIBBON_POLE_DEBUG_TARGET
Definition midsummer.cpp:509
References WorldObject::GetCreaturesWithEntryInRange(), and NPC_RIBBON_POLE_DEBUG_TARGET.
◆ Register()
void spell_midsummer_ribbon_pole_visual::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: