![]() |
TrinityCore
|
Inheritance diagram for spell_sha_elemental_blast:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | TriggerBuff () const |
| void | AddScriptedDamageMods () |
| void | Register () override |
Static Private Attributes | |
| static constexpr std::array< uint32, 3 > | BuffSpells = { SPELL_SHAMAN_ELEMENTAL_BLAST_CRIT, SPELL_SHAMAN_ELEMENTAL_BLAST_HASTE, SPELL_SHAMAN_ELEMENTAL_BLAST_MASTERY } |
Definition at line 1039 of file spell_shaman.cpp.
|
inlineprivate |
Definition at line 1075 of file spell_shaman.cpp.
References CalculatePct(), EFFECT_0, SpellScript::GetCaster(), SpellScript::GetHitDamage(), SpellScript::SetHitDamage(), and SPELL_SHAMAN_T29_2P_ELEMENTAL_DAMAGE_BUFF.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1084 of file spell_shaman.cpp.
References AddScriptedDamageMods(), SpellScript::AfterCast, SpellScript::OnHit, SpellCastFn, SpellHitFn, and TriggerBuff().
|
inlineprivate |
Definition at line 1055 of file spell_shaman.cpp.
References BuffSpells, WorldObject::CastSpell(), SpellScript::GetCaster(), Unit::HasAura(), Trinity::Containers::SelectRandomContainerElement(), Trinity::Containers::SelectRandomWeightedContainerElement(), TRIGGERED_FULL_MASK, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1043 of file spell_shaman.cpp.
References EFFECT_0, SPELL_SHAMAN_ELEMENTAL_BLAST_CRIT, SPELL_SHAMAN_ELEMENTAL_BLAST_HASTE, SPELL_SHAMAN_ELEMENTAL_BLAST_MASTERY, SPELL_SHAMAN_T29_2P_ELEMENTAL_DAMAGE_BUFF, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().
|
staticconstexprprivate |
Definition at line 1041 of file spell_shaman.cpp.
Referenced by TriggerBuff().