From 1e1ed0a3389f50e789d884019a4670229a1b88bc Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 8 Feb 2006 00:15:26 +0000 Subject: [PATCH] - Fixed SG_STAR_ANGER not getting it's damage bonus at all. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5216 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/map/battle.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 8079cc7bbf..94da347ff8 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,8 @@ 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. EVERYTHING ELSE GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS +2006/02/07 + * Fixed SG_STAR_ANGER not getting it's damage bonus at all. [Skotlex] 2006/02/06 * Added a custom exp table that goes up to level 1000 (db/exp2.txt). [Skotlex] - It uses a inverse exponential growth rate to mimic the official exp rate diff --git a/src/map/battle.c b/src/map/battle.c index efdb444b86..327bce020f 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2004,7 +2004,7 @@ static struct Damage battle_calc_weapon_attack( { //SG Anger bonus - ATK_ADDRATE [Komurka] static int type[] = { SG_SUN_ANGER, SG_MOON_ANGER, SG_STAR_ANGER }; short t_class = status_get_class(target); - for (i = 0; i < 2; i++) + for (i = 0; i < 3; i++) { if (t_class == sd->hate_mob[i] && (skill = pc_checkskill(sd,type[i]))) {