|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | HandleEnergize (SpellEffIndex effIndex) |
| bool | Load () override |
| PrepareSpellScript (spell_dru_eclipse_energize_SpellScript) | |
| void | Register () override |
Private Attributes | |
| int32 | energizeAmount |
Definition at line 131 of file spell_druid.cpp.
|
inlineprivate |
Definition at line 150 of file spell_druid.cpp.
References SpellEffectInfo::BasePoints, Unit::CastCustomSpell(), Unit::CastSpell(), SpellInfo::Effects, energizeAmount, Player::GetActiveSpec(), SpellScript::GetCaster(), Unit::GetPower(), SpellScript::GetSpellInfo(), Player::GetTalentSpecialization(), Unit::HasAura(), POWER_ECLIPSE, Unit::RemoveAura(), Unit::RemoveAurasDueToSpell(), SPELL_DRUID_ECLIPSE_GENERAL_ENERGIZE, SPELL_DRUID_LUNAR_ECLIPSE, SPELL_DRUID_LUNAR_ECLIPSE_MARKER, SPELL_DRUID_SOLAR_ECLIPSE, SPELL_DRUID_SOLAR_ECLIPSE_MARKER, SPELL_DRUID_STARFIRE, SPELL_DRUID_STARSURGE, SPELL_DRUID_STARSURGE_ENERGIZE, SPELL_DRUID_WRATH, TALENT_TREE_DRUID_BALANCE, and Object::ToPlayer().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 137 of file spell_druid.cpp.
References CLASS_DRUID, energizeAmount, SpellScript::GetCaster(), and TYPEID_PLAYER.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 223 of file spell_druid.cpp.
References EFFECT_1, HandleEnergize(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
private |
Definition at line 135 of file spell_druid.cpp.
Referenced by HandleEnergize(), and Load().