![]() |
TrinityCore
|
Inheritance diagram for spell_gen_consumption:Private Member Functions | |
| PrepareSpellScript (spell_gen_consumption) | |
| void | HandleDamageCalc (SpellEffIndex) |
| void | Register () override |
Definition at line 1054 of file spell_generic.cpp.
|
inlineprivate |
Definition at line 1058 of file spell_generic.cpp.
References EFFECT_1, SpellScript::GetCaster(), Object::GetUInt32Value(), SpellScript::SetEffectValue(), sSpellMgr, Object::ToCreature(), and UNIT_CREATED_BY_SPELL.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 1072 of file spell_generic.cpp.
References EFFECT_0, HandleDamageCalc(), SpellScript::OnEffectLaunchTarget, SPELL_EFFECT_SCHOOL_DAMAGE, and SpellEffectFn.