summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/battle.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 86c9ee035..ec3b6effe 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2008/04/06
+ * NPC earthquake now divides the atk2 bonus between players. (r12514) [Kevin]
* Changed guild skills restore, regen, and battle order to only affect BL_PC. (r12513) [Kevin]
* Reverted one of the changes in dynamic mobs that may
- be causing the spawning problems. (r12512) [Kevin]
diff --git a/src/map/battle.c b/src/map/battle.c
index a1b52c5e5..16651ef0c 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2348,7 +2348,8 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
if (skill_num == NPC_EARTHQUAKE)
{ //Adds atk2 to the damage, should be influenced by number of hits and skill-ratio, but not mdef reductions. [Skotlex]
- ad.damage+= sstatus->rhw.atk2*skillratio/100;
+ //Also divide the extra bonuses from atk2 based on the number in range [Kevin]
+ ad.damage+= (sstatus->rhw.atk2*skillratio/100)/mflag;
}
if(ad.damage<1)