![]() |
TrinityCore
|
Inheritance diagram for spell_pilgrims_bounty_feast_on:Private Member Functions | |
| bool | Validate (SpellInfo const *spellInfo) override |
| void | HandleDummy (SpellEffIndex) |
| void | Register () override |
Definition at line 57 of file pilgrims_bounty.cpp.
|
inlineprivate |
Definition at line 65 of file pilgrims_bounty.cpp.
References WorldObject::CastSpell(), EFFECT_0, FEAST_ON_CRANBERRIES, FEAST_ON_PIE, FEAST_ON_STUFFING, FEAST_ON_SWEET_POTATOES, FEAST_ON_TURKEY, Unit::GetAura(), SpellScript::GetCaster(), SpellScript::GetEffectValueAsInt(), SpellScript::GetSpellInfo(), Unit::GetVehicleKit(), Unit::RemoveAurasDueToSpell(), SPELL_CRANBERRY_HELPINS, SPELL_ON_PLATE_EAT_VISUAL, SPELL_PIE_HELPINS, SPELL_STUFFING_HELPINS, SPELL_SWEET_POTATO_HELPINS, SPELL_TURKEY_HELPINS, Object::ToPlayer(), and TRIGGERED_FULL_MASK.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 108 of file pilgrims_bounty.cpp.
References EFFECT_0, HandleDummy(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 59 of file pilgrims_bounty.cpp.
References SpellEffectInfo::CalcValueAsInt(), EFFECT_0, SpellInfo::GetEffect(), SpellInfo::Id, and SpellScriptBase::ValidateSpellEffect().