◆ PrepareSpellScript()
851 {
852 if (!target)
853 return;
854
855
856
857 std::list<Creature*> crList;
859 if (crList.empty())
860 return;
861
862 for (std::list<Creature*>::const_iterator itr = crList.begin(); itr != crList.end(); ++itr)
863 {
864
865 if (!(*itr)->ToTempSummon())
866 {
867 target = *itr;
868 return;
869 }
870 }
871 }
@ NPC_RIBBON_POLE_DEBUG_TARGET
Definition midsummer.cpp:524
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: