![]() |
TrinityCore
|
Inheritance diagram for spell_warl_create_healthstone::spell_warl_create_healthstone_SpellScript:Private Member Functions | |
| PrepareSpellScript (spell_warl_create_healthstone_SpellScript) | |
| bool | Validate (SpellInfo const *) override |
| SpellCastResult | CheckCast () |
| void | HandleScriptEffect (SpellEffIndex) |
| void | Register () override |
Static Private Attributes | |
| static uint32 const | iTypes [8][3] |
Definition at line 183 of file spell_warlock.cpp.
|
inlineprivate |
Definition at line 194 of file spell_warlock.cpp.
References EQUIP_ERR_OK, SpellScript::GetCaster(), SpellInfo::GetRank(), SpellScript::GetSpellInfo(), iTypes, NULL_BAG, NULL_SLOT, SPELL_CAST_OK, and SPELL_FAILED_TOO_MANY_OF_ITEM.
Referenced by Register().
|
inlineprivate |
Definition at line 207 of file spell_warlock.cpp.
References SpellScript::CreateItem(), SpellScript::GetHitUnit(), SpellInfo::GetRank(), SpellScript::GetSpellInfo(), iTypes, SPELL_WARLOCK_IMPROVED_HEALTHSTONE_R1, SPELL_WARLOCK_IMPROVED_HEALTHSTONE_R2, SPELLFAMILY_WARLOCK, and TC_LOG_ERROR.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 234 of file spell_warlock.cpp.
References CheckCast(), EFFECT_0, HandleScriptEffect(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, SPELL_EFFECT_SCRIPT_EFFECT, SpellCheckCastFn, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 189 of file spell_warlock.cpp.
References SPELL_WARLOCK_IMPROVED_HEALTHSTONE_R1, SPELL_WARLOCK_IMPROVED_HEALTHSTONE_R2, and _SpellScript::ValidateSpellInfo().
|
staticprivate |
Definition at line 247 of file spell_warlock.cpp.
Referenced by CheckCast(), and HandleScriptEffect().