*Fix the bug that Sacred Shield doesn't increase Flash of Light critical chance.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -1052,7 +1052,7 @@ void Spell::DoAllEffectOnTarget(TargetInfo *target)
|
|||||||
// Do healing and triggers
|
// Do healing and triggers
|
||||||
if (m_healing > 0)
|
if (m_healing > 0)
|
||||||
{
|
{
|
||||||
bool crit = caster->isSpellCrit(NULL, m_spellInfo, m_spellSchoolMask);
|
bool crit = caster->isSpellCrit(unitTarget, m_spellInfo, m_spellSchoolMask);
|
||||||
uint32 addhealth = m_healing;
|
uint32 addhealth = m_healing;
|
||||||
if (crit)
|
if (crit)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user