◆ HandleDummy()
void spell_midsummer_summon_ahune_lieutenant::HandleDummy |
( |
SpellEffIndex |
| ) |
|
|
inlineprivate |
1250 {
1254
1255 switch (zoneId)
1256 {
1257 case 331:
1258 npcEntry = 26116;
1259 break;
1260 case 405:
1261 npcEntry = 26178;
1262 break;
1263 case 33:
1264 npcEntry = 26204;
1265 break;
1266 case 51:
1267 npcEntry = 26214;
1268 break;
1269 case 1377:
1270 npcEntry = 26215;
1271 break;
1272 case 3483:
1273 npcEntry = 26216;
1274 break;
1275 }
1276
1277 if (npcEntry)
1279 }
constexpr auto IN_MILLISECONDS
Definition Common.h:53
constexpr auto MINUTE
Definition Common.h:47
std::uint32_t uint32
Definition Define.h:107
@ TEMPSUMMON_TIMED_OR_DEAD_DESPAWN
Definition Object.h:46
Unit * GetCaster()
Definition SpellScript.cpp:401
TempSummon * SummonCreature(uint32 id, const Position &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0, SummonPropertiesEntry const *properties=nullptr, bool visibleBySummonerOnly=false) const
Definition Object.cpp:2368
uint32 GetZoneId() const
Definition Object.cpp:3148
void GetPosition(float &x, float &y) const
Definition Position.h:126
References SpellScript::GetCaster(), Position::GetPosition(), WorldObject::GetZoneId(), IN_MILLISECONDS, MINUTE, WorldObject::SummonCreature(), and TEMPSUMMON_TIMED_OR_DEAD_DESPAWN.
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_midsummer_summon_ahune_lieutenant::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: