◆ HandleScript()
1919 {
1922 return;
1923
1924
1927
1928 else
1930 }
@ AREA_VARGOTHS_RETREAT
Definition AreaDefines.h:160
bool IsPlayer() const
Definition Object.h:201
Player * ToPlayer()
Definition Object.h:202
Unit * GetHitUnit()
Definition SpellScript.cpp:448
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:1179
uint32 GetAreaId() const
Definition Object.cpp:3156
@ SPELL_TELEPORT_SPIRE_UP
Definition spell_generic.cpp:1906
@ SPELL_TELEPORT_SPIRE_DOWN
Definition spell_generic.cpp:1905
References AREA_VARGOTHS_RETREAT, Unit::CastSpell(), WorldObject::GetAreaId(), SpellScript::GetHitUnit(), Object::IsPlayer(), SPELL_TELEPORT_SPIRE_DOWN, SPELL_TELEPORT_SPIRE_UP, and Object::ToPlayer().
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_gen_teleporting::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ Validate()
bool spell_gen_teleporting::Validate |
( |
SpellInfo const * |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: