![]() |
TrinityCore
|
Inheritance diagram for spell_item_flask_of_the_north:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleDummy (SpellEffIndex) |
| void | Register () override |
Definition at line 1082 of file spell_item.cpp.
|
inlineprivate |
Definition at line 1089 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(), Trinity::Containers::SelectRandomContainerElement(), SPELL_FLASK_OF_THE_NORTH_AP, SPELL_FLASK_OF_THE_NORTH_SP, SPELL_FLASK_OF_THE_NORTH_STR, and TC_LOG_WARN.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1128 of file spell_item.cpp.
References EFFECT_0, HandleDummy(), SpellScript::OnEffectHit, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1084 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 SpellScriptBase::ValidateSpellInfo().