Core/Spells: register SPELLMOD_CRITICAL_CHANCE in casting spell modifiers.

This commit is contained in:
ariel- authored and Aokromes committed 2016-09-01 15:19:49 +02:00
1 parent fe32fffa56
commit 8e96d7fc8e
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -6996,7 +6996,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)