◆ HandleScriptEffect()
void spell_kaelthas_gravity_lapse::HandleScriptEffect |
( |
SpellEffIndex |
effIndex | ) |
|
|
inlineprivate |
1059 {
1063 {
1065 target->m_Events.AddEvent(
new lapseTeleport(target), target->m_Events.CalculateTime(1));
1066 }
1067 }
@ SPELL_GRAVITY_LAPSE_TELEPORT1
Definition boss_kaelthas.cpp:104
Player * GetHitPlayer()
Definition SpellScript.cpp:471
void PreventHitEffect(SpellEffIndex effIndex)
Definition SpellScript.cpp:579
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
Definition boss_kaelthas.cpp:1026
uint32 _currentSpellId
Definition boss_kaelthas.cpp:1075
References _currentSpellId, Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitPlayer(), SpellScript::PreventHitEffect(), and SPELL_GRAVITY_LAPSE_TELEPORT1.
Referenced by Register().
◆ Load()
bool spell_kaelthas_gravity_lapse::Load |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ PrepareSpellScript()
◆ Register()
void spell_kaelthas_gravity_lapse::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ _currentSpellId
uint32 spell_kaelthas_gravity_lapse::_currentSpellId |
|
private |
The documentation for this class was generated from the following file: