◆ 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 |
3607 {
3609
3611 {
3613 }
3614 }
bool roll_chance_i(int chance)
Definition Random.h:60
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
@ CHANCE_TO_HIT
Definition spell_item.cpp:3584
@ SPELL_DISARM
Definition spell_item.cpp:3582
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.
3627 {
3630
3633 }
@ 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:3606
void OnEffectHitTargetStun(SpellEffIndex effIndex)
Definition spell_item.cpp:3601
void OnEffectLaunchTargetStun(SpellEffIndex effIndex)
Definition spell_item.cpp:3616
void OnEffectHitTargetDisarm(SpellEffIndex effIndex)
Definition spell_item.cpp:3596
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: