Files
TrinityCore/src/game
Trazom62 bdaa101a28 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
2010-04-25 15:52:15 +02:00
..
2010-01-16 20:19:18 +03:00
2010-01-16 20:19:18 +03:00
2010-04-07 19:14:10 +02:00
2010-01-20 16:24:52 +01:00
2010-04-07 22:59:46 +02:00
2010-04-19 09:26:37 +02:00
2010-04-24 17:48:52 +02:00
2010-04-07 17:24:07 +02:00
2010-02-05 00:31:28 +01:00
2010-04-08 08:20:08 +02:00
2010-04-07 22:59:46 +02:00
2010-04-19 17:08:08 +02:00
2010-04-07 19:14:10 +02:00
2010-02-05 00:31:28 +01:00
2010-04-08 08:20:08 +02:00
2010-04-07 22:59:46 +02:00
2010-04-19 09:26:37 +02:00
2010-04-19 09:26:37 +02:00
2010-04-07 22:59:46 +02:00
2010-04-07 22:59:46 +02:00
2010-04-07 22:59:46 +02:00
2010-04-19 09:26:37 +02:00
2010-04-07 22:59:46 +02:00
2010-01-16 20:19:18 +03:00
2010-04-07 22:59:46 +02:00
2010-04-07 19:14:10 +02:00
2010-04-11 14:25:02 +04:00
2010-04-24 17:48:52 +02:00
2010-04-14 23:07:41 +02:00
2010-02-05 00:31:28 +01:00
2010-04-24 17:48:52 +02:00
2010-04-19 09:26:37 +02:00
2010-04-19 09:26:37 +02:00
2010-04-19 09:26:37 +02:00
2010-04-19 09:26:37 +02:00
2010-04-19 09:26:37 +02:00
2010-04-19 09:26:37 +02:00
2010-04-24 17:48:52 +02:00
2010-04-07 23:25:02 +02:00
2010-04-19 09:26:37 +02:00
2010-04-07 22:59:46 +02:00
2010-04-07 22:59:46 +02:00
2010-04-07 22:59:46 +02:00
2010-04-24 17:48:52 +02:00
2010-04-19 09:26:37 +02:00
2010-04-19 09:26:37 +02:00
2010-01-16 20:19:18 +03:00
2010-01-16 20:19:18 +03:00
2010-01-16 20:19:18 +03:00
2010-01-16 20:19:18 +03:00
2010-01-16 20:19:18 +03:00
2010-04-19 09:26:37 +02:00
2010-04-19 09:26:37 +02:00
2010-04-07 22:59:46 +02:00
2010-01-19 11:36:05 +01:00
2010-01-19 11:36:05 +01:00
2010-04-14 23:07:41 +02:00
2010-04-19 09:26:37 +02:00
2010-04-24 17:48:52 +02:00
2010-04-22 21:28:04 +02:00
2010-01-16 20:19:18 +03:00
2010-04-14 23:07:41 +02:00
2010-02-05 00:31:28 +01:00
2010-01-19 16:37:49 +01:00
2010-04-14 23:07:41 +02:00
2010-04-07 22:59:46 +02:00
2010-04-24 17:48:52 +02:00
2010-04-20 03:30:27 +02:00
2010-01-16 20:19:18 +03:00
2010-01-16 20:19:18 +03:00
2010-01-16 20:19:18 +03:00
2010-01-16 20:19:18 +03:00
2010-04-07 23:25:02 +02:00
2010-04-07 22:59:46 +02:00
2010-04-14 23:07:41 +02:00
2010-02-05 00:31:28 +01:00
2010-04-07 22:59:46 +02:00
2010-04-07 19:14:10 +02:00
2010-04-22 21:28:04 +02:00
2010-04-19 09:26:37 +02:00
2010-04-07 22:59:46 +02:00
2010-01-16 20:19:18 +03:00
2010-04-07 22:59:46 +02:00
2010-04-07 19:14:10 +02:00
2010-03-12 18:19:50 +01:00
2010-04-07 23:56:35 +02:00
2010-01-16 20:19:18 +03:00
2010-04-08 08:20:08 +02:00
2010-02-05 00:31:28 +01:00
2010-04-19 09:26:37 +02:00