|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| PrepareAuraScript (spell_gen_alchemist_stone_AuraScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 313 of file spell_generic.cpp.
|
inlineprivate |
Definition at line 325 of file spell_generic.cpp.
References ProcEventInfo::GetDamageInfo(), DamageInfo::GetSpellInfo(), SPELLFAMILY_POTION, and SpellInfo::SpellFamilyName.
Referenced by Register().
|
inlineprivate |
Definition at line 330 of file spell_generic.cpp.
References ALECHEMIST_STONE_HEAL, ALECHEMIST_STONE_MANA, Unit::CastCustomSpell(), DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), DamageInfo::GetSpellInfo(), AuraScript::GetTarget(), SpellInfo::HasEffect(), AuraScript::PreventDefaultAction(), SPELL_EFFECT_ENERGIZE, SPELL_EFFECT_HEAL, and SPELLVALUE_BASE_POINT0.
Referenced by Register().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 349 of file spell_generic.cpp.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, OVERRIDE, and SPELL_AURA_DUMMY.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 317 of file spell_generic.cpp.
References ALECHEMIST_STONE_HEAL, ALECHEMIST_STONE_MANA, OVERRIDE, and sSpellMgr.