![]() |
TrinityCore
|
Inheritance diagram for spell_dk_dark_simulacrum:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (AuraEffect const *, ProcEventInfo const &eventInfo) const |
| void | HandleProc (AuraEffect const *, ProcEventInfo const &eventInfo) const |
| void | Register () override |
Definition at line 508 of file spell_dk.cpp.
|
inlineprivate |
Definition at line 515 of file spell_dk.cpp.
References ProcEventInfo::GetProcSpell(), Spell::GetSpellInfo(), AuraScript::GetTarget(), SpellInfo::HasAttribute(), Spell::HasPowerTypeCost(), IsPlayer, POWER_MANA, SPELL_ATTR1_NO_AUTOCAST_AI, and SPELL_ATTR9_ALLOW_DARK_SIMULACRUM.
Referenced by Register().
|
inlineprivate |
Definition at line 534 of file spell_dk.cpp.
References CastSpellExtraArgs::AddSpellMod(), WorldObject::CastSpell(), AuraScript::GetCaster(), ProcEventInfo::GetProcSpell(), ProcEventInfo::GetSpellInfo(), AuraScript::GetTarget(), SpellInfo::Id, SPELL_DK_DARK_SIMULACRUM_BUFF, SPELL_DK_DARK_SIMULACRUM_SPELLPOWER_BUFF, SPELL_SCHOOL_MASK_MAGIC, SPELLVALUE_BASE_POINT0, SPELLVALUE_BASE_POINT1, TRIGGERED_DONT_REPORT_CAST_ERROR, and TRIGGERED_IGNORE_CAST_IN_PROGRESS.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 552 of file spell_dk.cpp.
References AuraCheckEffectProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckEffectProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 510 of file spell_dk.cpp.
References SPELL_DK_DARK_SIMULACRUM_BUFF, SPELL_DK_DARK_SIMULACRUM_SPELLPOWER_BUFF, and SpellScriptBase::ValidateSpellInfo().