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