Browse Source

* Fixed GX's skill level modifier is missing

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13745 54d463be-8e91-2dee-dedb-b68131a5f0ec
Inkfish 16 years ago
parent
commit
5343380fc4
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

@@ -3,6 +3,7 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 09/05/09
+	* Fixed GX's skill level modifier is missing [Inkfish]
 	* Fixed some known and unknown player attached NPC timer problems [Inkfish]
 	- Attached timer now can be stopped properly.
 	- Attached timer will now stop if the NPC is unloaded. (bugreport:2510)

+ 1 - 1
src/map/battle.c

@@ -2479,7 +2479,7 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
 		if( skill_num == CR_GRANDCROSS || skill_num == NPC_GRANDDARKNESS )
 		{ //Apply the physical part of the skill's damage. [Skotlex]
 			struct Damage wd = battle_calc_weapon_attack(src,target,skill_num,skill_lv,mflag);
-			ad.damage = battle_attr_fix(src, target, wd.damage + ad.damage, s_ele, tstatus->def_ele, tstatus->ele_lv);
+			ad.damage = battle_attr_fix(src, target, wd.damage + ad.damage, s_ele, tstatus->def_ele, tstatus->ele_lv) * (100 + 40*skill_lv)/100;;
 			if( src == target )
 			{
 				if( src->type == BL_PC )