From 2db0477702089adf6d858bdc872d9e82dc222332 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 8 Feb 2006 00:15:26 +0000 Subject: - Fixed SG_STAR_ANGER not getting it's damage bonus at all. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/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 8079cc7bb..94da347ff 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 efdb444b8..327bce020 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]))) { -- cgit v1.2.3-70-g09d2