Browse Source

Fixed SG_FUSION hp penalty (0.5% to 2%), bugreport:1805

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12929 54d463be-8e91-2dee-dedb-b68131a5f0ec
shadow 17 years ago
parent
commit
b851a4ee69
2 changed files with 2 additions and 1 deletions
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/battle.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ 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.
 
 2008/07/09
+	* Fixed SG_FUSION hp penalty (0.5% to 2%), bugreport:1805 [Brainstorm]
 	* Added const to the return value of get_timer.
 	* Added a maximum timer interval. Avoids server shutdowns being delayed 
 	  for ~10 seconds under some circumstances on windows.

+ 1 - 1
src/map/battle.c

@@ -2096,7 +2096,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
 			if (100*sstatus->hp <= 20*sstatus->max_hp)
 				hp = sstatus->hp;
 		} else
-			hp = 5*hp/1000;
+			hp = 2*hp/100; //2% hp loss per hit
 		status_zap(src, hp, 0);
 	}