![]() |
TrinityCore
|
Inheritance diagram for WindfuryProcEvent:Classes | |
| struct | WindfuryProcEventInfo |
Public Member Functions | |
| WindfuryProcEvent (Unit *shaman, Unit *target, std::ptrdiff_t attacks) | |
| bool | Execute (uint64 time, uint32) override |
Public Member Functions inherited from BasicEvent | |
| BasicEvent () | |
| virtual | ~BasicEvent () |
| virtual bool | IsDeletable () const |
| virtual void | Abort (uint64) |
| void | ScheduleAbort () |
Static Public Member Functions | |
| static void | Trigger (Unit *shaman, Unit *target) |
Static Public Attributes | |
| static constexpr std::array< WindfuryProcEventInfo, 3 > | Sequence |
Private Types | |
| using | EventInfoIterator = decltype(Sequence)::const_iterator |
Private Attributes | |
| Unit * | _shaman |
| CastSpellTargetArg | _target |
| EventInfoIterator | _itr |
| EventInfoIterator | _end |
Definition at line 194 of file spell_shaman.cpp.
|
private |
Definition at line 219 of file spell_shaman.cpp.
|
inline |
Definition at line 210 of file spell_shaman.cpp.
Reimplemented from BasicEvent.
Definition at line 3331 of file spell_shaman.cpp.
References _end, _itr, _shaman, _target, EventProcessor::AddEvent(), WorldObject::CastSpell(), EFFECT_0, Unit::GetAuraEffect(), WorldObject::m_Events, SPELL_SHAMAN_WINDFURY_ATTACK, SPELL_SHAMAN_WINDFURY_AURA, CastSpellTargetArg::Targets, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, CastSpellExtraArgsInit::TriggerFlags, and CastSpellExtraArgsInit::TriggeringAura.
Definition at line 3354 of file spell_shaman.cpp.
References EventProcessor::AddEventAtOffset(), WorldObject::CastSpell(), EFFECT_0, Unit::GetAura(), Unit::GetAuraEffect(), Unit::HasAuraEffect(), WorldObject::m_Events, roll_chance(), Sequence, SPELL_SHAMAN_FORCEFUL_WINDS_PROC, SPELL_SHAMAN_FORCEFUL_WINDS_TALENT, SPELL_SHAMAN_UNRULY_WINDS, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by spell_sha_windfury_weapon_proc::HandleEffectProc(), and spell_sha_unrelenting_storms::Trigger().
|
private |
Definition at line 221 of file spell_shaman.cpp.
Referenced by Execute().
|
private |
Definition at line 220 of file spell_shaman.cpp.
Referenced by Execute().
|
private |
Definition at line 217 of file spell_shaman.cpp.
Referenced by Execute().
|
private |
Definition at line 218 of file spell_shaman.cpp.
Referenced by Execute().
|
staticconstexpr |
Definition at line 203 of file spell_shaman.cpp.
Referenced by Trigger().