![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
| PrepareAuraScript (spell_xt002_exposed_heart) | |
| bool | Validate (SpellInfo const *) override |
| void | OnProc (AuraEffect const *, ProcEventInfo &eventInfo) |
| void | Register () override |
Private Attributes | |
| uint32 | _lastOrbTime {} |
Static Private Attributes | |
| static constexpr uint32 | OrbCooldown = 1500 |
|
inlineprivate |
References _lastOrbTime, DATA_TRANSFERED_HEALTH, AuraScript::GetCaster(), DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), getMSTime(), AuraScript::GetTarget(), OrbCooldown, AuraScript::PreventDefaultAction(), and SPELL_HEART_OVERLOAD_TRIGGER.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AuraEffectProcFn, EFFECT_0, AuraScript::OnEffectProc, AuraScript::OnProc, and SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_HEART_OVERLOAD_TRIGGER, and _SpellScript::ValidateSpellInfo().
|
staticconstexprprivate |
Referenced by OnProc().