summaryrefslogtreecommitdiff
path: root/src
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 /src
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
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
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])))
{