From a070ab315313284551324cef5934f7149492a26a Mon Sep 17 00:00:00 2001 From: Ono Date: Sun, 15 Jan 2017 08:12:52 +0300 Subject: [PATCH] Fix copy-paste/mergetool errors --- src/game/Unit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 8eab74f529..3b15b54746 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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; } @@ -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; }