diff options
author | Trazom62 <none@none> | 2010-04-25 15:52:15 +0200 |
---|---|---|
committer | Trazom62 <none@none> | 2010-04-25 15:52:15 +0200 |
commit | bdaa101a28a5855e52fefd62019ade63e70b9e80 (patch) | |
tree | 0f57e62c5cf84400feac3bb22fca28b1251bba02 /src/game/ScriptLoader.cpp | |
parent | eccf5bf547c9b1648a453695189877c212071c70 (diff) |
Fix HandleStatModifier for BASE_PCT and TOTAL_PCT modifierType.
Formula was incorrect. It gave a slight advantage when there are several auras for the same UnitMod.
Ex: if you had 2 auras giving 50%,
- previous formula would give: 1*1.5*1.5=2.25
- new formula give: 1+0.5+0.5=2.00 which is correct.
Hack for negative pct <= -100 is also no longer necessary
--HG--
branch : trunk
Diffstat (limited to 'src/game/ScriptLoader.cpp')
0 files changed, 0 insertions, 0 deletions