|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | OnProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| PrepareAuraScript (spell_sha_nature_guardian_AuraScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 730 of file spell_shaman.cpp.
|
inlineprivate |
HACK due to currenct proc system implementation
Definition at line 741 of file spell_shaman.cpp.
References DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), AuraScript::GetSpellInfo(), AuraScript::GetTarget(), and Unit::HealthBelowPctDamaged().
Referenced by Register().
|
inlineprivate |
Definition at line 751 of file spell_shaman.cpp.
References SpellEffectInfo::CalcValue(), Unit::CastCustomSpell(), Unit::CountPctFromMaxHealth(), EFFECT_1, SpellInfo::Effects, AuraEffect::GetAmount(), ProcEventInfo::GetProcTarget(), AuraEffect::GetSpellInfo(), AuraScript::GetSpellInfo(), AuraScript::GetTarget(), Unit::getThreatManager(), Unit::IsAlive(), ThreatManager::modifyThreatPercent(), AuraScript::PreventDefaultAction(), and SPELL_SHAMAN_NATURE_GUARDIAN.
Referenced by Register().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 765 of file spell_shaman.cpp.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, AuraScript::OnEffectProc, OnProc(), OVERRIDE, and SPELL_AURA_PROC_TRIGGER_SPELL.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 734 of file spell_shaman.cpp.
References OVERRIDE, SPELL_SHAMAN_NATURE_GUARDIAN, and sSpellMgr.