◆ OnEffectHitTargetDisarm()
void spell_item_linken_boomerang::OnEffectHitTargetDisarm |
( |
SpellEffIndex |
effIndex | ) |
|
|
inlineprivate |
◆ OnEffectHitTargetStun()
void spell_item_linken_boomerang::OnEffectHitTargetStun |
( |
SpellEffIndex |
effIndex | ) |
|
|
inlineprivate |
◆ OnEffectLaunchTargetDisarm()
void spell_item_linken_boomerang::OnEffectLaunchTargetDisarm |
( |
SpellEffIndex |
effIndex | ) |
|
|
inlineprivate |
3608 {
3610
3612 {
3614 }
3615 }
bool roll_chance_i(int chance)
Definition Random.h:63
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:1179
@ CHANCE_TO_HIT
Definition spell_item.cpp:3585
@ SPELL_DISARM
Definition spell_item.cpp:3583
References Unit::CastSpell(), CHANCE_TO_HIT, SpellScript::GetCaster(), SpellScript::GetHitUnit(), SpellScript::PreventHitDefaultEffect(), roll_chance_i(), and SPELL_DISARM.
Referenced by Register().
◆ OnEffectLaunchTargetStun()
void spell_item_linken_boomerang::OnEffectLaunchTargetStun |
( |
SpellEffIndex |
effIndex | ) |
|
|
inlineprivate |
◆ PrepareSpellScript()
◆ Register()
void spell_item_linken_boomerang::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
3628 {
3631
3634 }
@ EFFECT_1
Definition SharedDefines.h:32
@ EFFECT_2
Definition SharedDefines.h:33
@ SPELL_EFFECT_TRIGGER_SPELL
Definition SharedDefines.h:842
#define SpellEffectFn(F, I, N)
Definition SpellScript.h:337
HookList< EffectHandler > OnEffectHitTarget
Definition SpellScript.h:336
HookList< EffectHandler > OnEffectLaunchTarget
Definition SpellScript.h:334
void OnEffectLaunchTargetDisarm(SpellEffIndex effIndex)
Definition spell_item.cpp:3607
void OnEffectHitTargetStun(SpellEffIndex effIndex)
Definition spell_item.cpp:3602
void OnEffectLaunchTargetStun(SpellEffIndex effIndex)
Definition spell_item.cpp:3617
void OnEffectHitTargetDisarm(SpellEffIndex effIndex)
Definition spell_item.cpp:3597
References EFFECT_1, EFFECT_2, SpellScript::OnEffectHitTarget, OnEffectHitTargetDisarm(), OnEffectHitTargetStun(), SpellScript::OnEffectLaunchTarget, OnEffectLaunchTargetDisarm(), OnEffectLaunchTargetStun(), SPELL_EFFECT_TRIGGER_SPELL, and SpellEffectFn.
The documentation for this class was generated from the following file: