◆ PrepareSpellScript()
844 {
845 if (!target)
846 return;
847
848
849
850 std::list<Creature*> crList;
852 if (crList.empty())
853 return;
854
855 for (std::list<Creature*>::const_iterator itr = crList.begin(); itr != crList.end(); ++itr)
856 {
857
858 if (!(*itr)->ToTempSummon())
859 {
860 target = *itr;
861 return;
862 }
863 }
864 }
@ NPC_RIBBON_POLE_DEBUG_TARGET
Definition midsummer.cpp:517
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: