![]() |
TrinityCore
|
Inheritance diagram for spell_item_ultrasafe_transporter:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| bool | Load () override |
| void | HandleScript (SpellEffIndex) |
| void | Register () override |
Definition at line 1925 of file spell_item.cpp.
|
inlineprivate |
Definition at line 1947 of file spell_item.cpp.
References WorldObject::CastSpell(), SpellScript::GetCaster(), Player::GetTeamId(), roll_chance(), 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 SpellScriptBase.
Definition at line 1942 of file spell_item.cpp.
References SpellScript::GetCaster(), BaseEntity::GetTypeId(), and TYPEID_PLAYER.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1988 of file spell_item.cpp.
References EFFECT_0, HandleScript(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_TELEPORT_UNITS, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1927 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 SpellScriptBase::ValidateSpellInfo().