summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/battle.c7
2 files changed, 3 insertions, 6 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 3da6e56c2..da743eeba 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -5,8 +5,6 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/08/28
* Fixed exp bonuses applying twice for the job-exp [Skotlex]
- * Magic damage adjustment per number of hits is now performed before mdef
- reductions. [Skotlex]
* @reloadbattleconf will now also update the ragsrvinfo table on the
char-server. [Skotlex]
* Reverted Mpeg's change of NJ_BUNSINJYUTSU SCB [Toms]
diff --git a/src/map/battle.c b/src/map/battle.c
index 5410ed3fc..ff9794345 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2365,8 +2365,6 @@ struct Damage battle_calc_magic_attack(
MATK_ADD(50);
}
}
- //Adjust damage per number of hits.
- damage_div_fix(ad.damage, ad.div_);
if(sd) {
//Ignore Defense?
@@ -2451,8 +2449,9 @@ struct Damage battle_calc_magic_attack(
MATK_RATE(cardfix);
}
- } else //Correct number of hits anyway.
- damage_div_fix(ad.damage, ad.div_);
+ }
+
+ damage_div_fix(ad.damage, ad.div_);
if (flag.infdef && ad.damage)
ad.damage = ad.damage>0?1:-1;