◆ PrepareSpellScript()
949 {
950 if (!target)
951 return;
952
953
954
955 std::list<Creature*> crList;
957 if (crList.empty())
958 return;
959
960 for (std::list<Creature*>::const_iterator itr = crList.begin(); itr != crList.end(); ++itr)
961 {
962
963 if (!(*itr)->ToTempSummon())
964 {
965 target = *itr;
966 return;
967 }
968 }
969 }
@ NPC_RIBBON_POLE_DEBUG_TARGET
Definition midsummer.cpp:622
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: