![]() |
TrinityCore
|
Inheritance diagram for spell_sha_lava_crit_chance:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | CalcCritChance (Unit const *victim, float &chance) const |
| void | Register () override |
Definition at line 1739 of file spell_shaman.cpp.
|
inlineprivate |
Definition at line 1746 of file spell_shaman.cpp.
References SpellScript::GetCaster(), BaseEntity::GetGUID(), Unit::GetTotalAuraModifier(), Unit::HasAura(), SPELL_AURA_MOD_ATTACKER_SPELL_AND_WEAPON_CRIT_CHANCE, and SPELL_SHAMAN_FLAME_SHOCK.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1758 of file spell_shaman.cpp.
References CalcCritChance(), SpellScript::OnCalcCritChance, and SpellOnCalcCritChanceFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1741 of file spell_shaman.cpp.
References SPELL_SHAMAN_FLAME_SHOCK, and SpellScriptBase::ValidateSpellInfo().