Skip to content

Commit

Permalink
Fix copy-paste/mergetool errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Warlockbugs authored and Fabi committed Jan 15, 2017
1 parent 59db7d5 commit a070ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/Unit.cpp
Expand Up @@ -3833,7 +3833,7 @@ float Unit::GetCritChance(const SpellEntry *entry, SpellSchoolMask schoolMask) c
}
// Add mod
if (Player* modOwner = GetSpellModOwner())
modOwner->ApplySpellMod(entry->Id, SPELLMOD_RESIST_MISS_CHANCE, chance);
modOwner->ApplySpellMod(entry->Id, SPELLMOD_CRITICAL_CHANCE, chance);
return chance;
}

Expand Down Expand Up @@ -4018,7 +4018,7 @@ float Unit::GetHitChance(const SpellEntry *entry, SpellSchoolMask schoolMask) co
}
// Add mod
if (Player* modOwner = GetSpellModOwner())
modOwner->ApplySpellMod(entry->Id, SPELLMOD_CRITICAL_CHANCE, chance);
modOwner->ApplySpellMod(entry->Id, SPELLMOD_RESIST_MISS_CHANCE, chance);
return chance;
}

Expand Down

0 comments on commit a070ab3

Please sign in to comment.