![]() |
TrinityCore
|
Inheritance diagram for spell_item_flask_of_the_north:Private Member Functions | |
| PrepareSpellScript (spell_item_flask_of_the_north) | |
| bool | Validate (SpellInfo const *) override |
| void | HandleDummy (SpellEffIndex) |
| void | Register () override |
Definition at line 1085 of file spell_item.cpp.
|
inlineprivate |
Definition at line 1094 of file spell_item.cpp.
References WorldObject::CastSpell(), CLASS_DEATH_KNIGHT, CLASS_DRUID, CLASS_HUNTER, CLASS_MAGE, CLASS_PALADIN, CLASS_PRIEST, CLASS_ROGUE, CLASS_SHAMAN, CLASS_WARLOCK, CLASS_WARRIOR, SpellScript::GetCaster(), Unit::GetClass(), SPELL_FLASK_OF_THE_NORTH_AP, SPELL_FLASK_OF_THE_NORTH_SP, SPELL_FLASK_OF_THE_NORTH_STR, and urand().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 1127 of file spell_item.cpp.
References EFFECT_0, HandleDummy(), SpellScript::OnEffectHit, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 1089 of file spell_item.cpp.
References SPELL_FLASK_OF_THE_NORTH_AP, SPELL_FLASK_OF_THE_NORTH_SP, SPELL_FLASK_OF_THE_NORTH_STR, and _SpellScript::ValidateSpellInfo().