![]() |
TrinityCore
|
Inheritance diagram for spell_item_ultrasafe_transporter:Private Member Functions | |
| PrepareSpellScript (spell_item_ultrasafe_transporter) | |
| bool | Validate (SpellInfo const *) override |
| bool | Load () override |
| void | HandleScript (SpellEffIndex) |
| void | Register () override |
Definition at line 1995 of file spell_item.cpp.
|
inlineprivate |
Definition at line 2019 of file spell_item.cpp.
References WorldObject::CastSpell(), SpellScript::GetCaster(), Player::GetTeamId(), roll_chance_i(), SPELL_EVIL_TWIN, SPELL_SOUL_SPLIT_EVIL, SPELL_SOUL_SPLIT_GOOD, SPELL_TRANSFORM_ALLIANCE, SPELL_TRANSFORM_HORDE, SPELL_TRANSPORTER_MALFUNCTION_BIGGER, SPELL_TRANSPORTER_MALFUNCTION_CHICKEN, SPELL_TRANSPORTER_MALFUNCTION_SMALLER, TEAM_ALLIANCE, Object::ToPlayer(), and urand().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 2014 of file spell_item.cpp.
References SpellScript::GetCaster(), Object::GetTypeId(), and TYPEID_PLAYER.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 2060 of file spell_item.cpp.
References EFFECT_0, HandleScript(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_TELEPORT_UNITS, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 1999 of file spell_item.cpp.
References SPELL_EVIL_TWIN, SPELL_SOUL_SPLIT_EVIL, SPELL_SOUL_SPLIT_GOOD, SPELL_TRANSFORM_ALLIANCE, SPELL_TRANSFORM_HORDE, SPELL_TRANSPORTER_MALFUNCTION_BIGGER, SPELL_TRANSPORTER_MALFUNCTION_CHICKEN, SPELL_TRANSPORTER_MALFUNCTION_SMALLER, and _SpellScript::ValidateSpellInfo().