![]() |
TrinityCore
|
Inheritance diagram for spell_gen_dalaran_disguise:Private Member Functions | |
| PrepareSpellScript (spell_gen_dalaran_disguise) | |
| bool | Validate (SpellInfo const *spellInfo) override |
| void | HandleScript (SpellEffIndex) |
| void | Register () override |
Definition at line 1128 of file spell_generic.cpp.
|
inlineprivate |
Definition at line 1155 of file spell_generic.cpp.
References WorldObject::CastSpell(), GENDER_FEMALE, SpellScript::GetCaster(), SpellScript::GetHitPlayer(), SpellScript::GetSpellInfo(), SpellInfo::Id, SPELL_SILVER_COVENANT_DISGUISE_FEMALE, SPELL_SILVER_COVENANT_DISGUISE_MALE, SPELL_SILVER_COVENANT_DISGUISE_TRIGGER, SPELL_SUNREAVER_DISGUISE_FEMALE, SPELL_SUNREAVER_DISGUISE_MALE, and SPELL_SUNREAVER_DISGUISE_TRIGGER.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 1179 of file spell_generic.cpp.
References EFFECT_0, HandleScript(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_SCRIPT_EFFECT, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 1132 of file spell_generic.cpp.
References SpellInfo::Id, SPELL_SILVER_COVENANT_DISGUISE_FEMALE, SPELL_SILVER_COVENANT_DISGUISE_MALE, SPELL_SILVER_COVENANT_DISGUISE_TRIGGER, SPELL_SUNREAVER_DISGUISE_FEMALE, SPELL_SUNREAVER_DISGUISE_MALE, SPELL_SUNREAVER_DISGUISE_TRIGGER, and _SpellScript::ValidateSpellInfo().