![]() |
TrinityCore
|
6.x, does this belong here or in spell_generic? where do we cast this? sniffs say this is only cast when caster has glyph of foul menagerie. More...
Inheritance diagram for spell_dk_army_transform:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| bool | Load () override |
| SpellCastResult | CheckCast () |
| void | HandleDummy (SpellEffIndex) |
| void | Register () override |
6.x, does this belong here or in spell_generic? where do we cast this? sniffs say this is only cast when caster has glyph of foul menagerie.
Definition at line 250 of file spell_dk.cpp.
|
inlineprivate |
Definition at line 262 of file spell_dk.cpp.
References SpellScript::GetCaster(), SPELL_CAST_OK, SPELL_DK_GLYPH_OF_FOUL_MENAGERIE, and SPELL_FAILED_SPELL_UNAVAILABLE.
Referenced by Register().
|
inlineprivate |
Definition at line 271 of file spell_dk.cpp.
References ArmyTransforms, WorldObject::CastSpell(), SpellScript::GetCaster(), and Trinity::Containers::SelectRandomContainerElement().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 257 of file spell_dk.cpp.
References SpellScript::GetCaster(), and Unit::IsGuardian().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 276 of file spell_dk.cpp.
References CheckCast(), EFFECT_0, HandleDummy(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, SpellCheckCastFn, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 252 of file spell_dk.cpp.
References SPELL_DK_GLYPH_OF_FOUL_MENAGERIE, and SpellScriptBase::ValidateSpellInfo().