summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-08 00:15:26 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-08 00:15:26 +0000
commit2db0477702089adf6d858bdc872d9e82dc222332 (patch)
tree6f426f254937ef650b8d38d32dfaf5f6e916f91f
parentd0e8e128f773b0ef4c31570a681f98741b1b92e8 (diff)
downloadhercules-2db0477702089adf6d858bdc872d9e82dc222332.tar.gz
hercules-2db0477702089adf6d858bdc872d9e82dc222332.tar.bz2
hercules-2db0477702089adf6d858bdc872d9e82dc222332.tar.xz
hercules-2db0477702089adf6d858bdc872d9e82dc222332.zip
- 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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/battle.c2
2 files changed, 3 insertions, 1 deletions
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])))
{