◆ HandleScript()
3539 {
3542 }
bool roll_chance_i(int chance)
Definition Random.h:60
Item * GetCastItem()
Definition SpellScript.cpp:620
Unit * GetHitUnit()
Definition SpellScript.cpp:448
Unit * GetCaster()
Definition SpellScript.cpp:401
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition Unit.cpp:1178
@ SPELL_EGG_NOG_REINDEER
Definition spell_item.cpp:3525
@ SPELL_EGG_NOG_SNOWMAN
Definition spell_item.cpp:3526
References Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetCastItem(), SpellScript::GetHitUnit(), roll_chance_i(), SPELL_EGG_NOG_REINDEER, and SPELL_EGG_NOG_SNOWMAN.
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_item_eggnog::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ Validate()
bool spell_item_eggnog::Validate |
( |
SpellInfo const * |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: