◆ CheckTargetCount()
void spell_the_lich_king_shadow_trap_periodic::CheckTargetCount |
( |
std::list< WorldObject * > & |
targets | ) |
|
|
inlineprivate |
2075 {
2076 if (targets.empty())
2077 return;
2078
2081 a->SetDuration(0);
2084 }
@ SPELL_SHADOW_TRAP_AURA
Definition boss_the_lich_king.cpp:133
@ SPELL_SHADOW_TRAP_KNOCKBACK
Definition boss_the_lich_king.cpp:134
Definition SpellAuras.h:87
void DespawnOrUnsummon(Milliseconds msTimeToDespawn, Seconds forcedRespawnTimer)
Definition Creature.cpp:2183
Creature * ToCreature()
Definition Object.h:205
Unit * GetCaster()
Definition SpellScript.cpp:401
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition Unit.cpp:1178
References Unit::CastSpell(), Creature::DespawnOrUnsummon(), SpellScript::GetCaster(), SPELL_SHADOW_TRAP_AURA, SPELL_SHADOW_TRAP_KNOCKBACK, and Object::ToCreature().
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_the_lich_king_shadow_trap_periodic::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ Validate()
bool spell_the_lich_king_shadow_trap_periodic::Validate |
( |
SpellInfo const * |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: