diff options
author | ariel- <ariel-@users.noreply.github.com> | 2016-09-01 01:34:17 -0300 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-02-18 17:57:55 +0100 |
commit | 7a971d7ed2cfdba150f1b8686943399bcf1c7cc2 (patch) | |
tree | f39f990c8329fde8df9619dbb3dc5cd3ee1a2e36 /src/server/game/Spells/Spell.cpp | |
parent | 13562184e320804961f35520e44ed175b5f35aac (diff) |
Core/Spells: register SPELLMOD_CRITICAL_CHANCE in casting spell modifiers.
(cherry picked from commit f81754a306a8b1f24f0b130ded3c8170e9b146c5)
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 79c8e1345aa..5f1149c2ffc 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -7030,7 +7030,7 @@ void Spell::DoAllEffectOnLaunchTarget(TargetInfo& targetInfo, float* multiplier) } } - targetInfo.crit = m_caster->IsSpellCrit(unit, m_spellInfo, m_spellSchoolMask, m_attackType); + targetInfo.crit = m_caster->IsSpellCrit(unit, m_spellInfo, m_spellSchoolMask, m_attackType, this); } SpellCastResult Spell::CanOpenLock(uint32 effIndex, uint32 lockId, SkillType& skillId, int32& reqSkillValue, int32& skillValue) |