Przeglądaj źródła

- 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
skotlex 19 lat temu
rodzic
commit
1e1ed0a338
2 zmienionych plików z 3 dodań i 1 usunięć
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/battle.c

+ 2 - 0
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

+ 1 - 1
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])))
 					{