Merge pull request #2672 from Chaplain/master

Core/Spell: case TOTAL_PCT\BASE_PCT should be processed by multiplicative function not additive.
This commit is contained in:
QAston
2011-08-21 00:54:14 -07:00
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -13348,7 +13348,7 @@ bool Unit::HandleStatModifier(UnitMods unitMod, UnitModifierType modifierType, f
break;
case BASE_PCT:
case TOTAL_PCT:
m_auraModifiersGroup[unitMod][modifierType] += (apply ? amount : -amount) / 100.0f;
ApplyPercentModFloatVar(m_auraModifiersGroup[unitMod][modifierType], amount, apply);
break;
default:
break;