◆ HandleScriptEffect()
void spell_q12698_the_gift_that_keeps_on_giving::HandleScriptEffect |
( |
SpellEffIndex |
| ) |
|
|
inlineprivate |
441 {
444 }
uint32 urand(uint32 min, uint32 max)
Definition Random.cpp:44
@ SPELL_SUMMON_SCARLET_GHOST
Definition chapter1.cpp:397
int32 GetEffectValue() const
Definition SpellScript.cpp:600
Unit * GetHitUnit()
Definition SpellScript.cpp:448
Unit * GetOriginalCaster()
Definition SpellScript.cpp:406
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
References Unit::CastSpell(), SpellScript::GetEffectValue(), SpellScript::GetHitUnit(), SpellScript::GetOriginalCaster(), SPELL_SUMMON_SCARLET_GHOST, and urand().
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_q12698_the_gift_that_keeps_on_giving::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ Validate()
bool spell_q12698_the_gift_that_keeps_on_giving::Validate |
( |
SpellInfo const * |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file:
- azerothcore-wotlk/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp