Ver código fonte

Corrected Offensive Res using Turn Undead cast time. (bugreport:1704)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13225 54d463be-8e91-2dee-dedb-b68131a5f0ec
L0ne_W0lf 16 anos atrás
pai
commit
80ddaaca35
2 arquivos alterados com 3 adições e 1 exclusões
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/unit.c

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,8 @@ 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.
 
+2008/09/11
+	* Rev. 13225 Corrected Offensive Res using Turn Undead cast time. (bugreport:1704) [L0ne_W0lf]
 2008/09/11
 	* Rev. 13204 Made the mail check on login read from msg_athena.conf. [L0ne_W0lf]
 2008/09/09

+ 1 - 1
src/map/unit.c

@@ -987,7 +987,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
 	case ALL_RESURRECTION:
 		if(battle_check_undead(tstatus->race,tstatus->def_ele)) {	
 			temp = 1;
-			casttime = skill_castfix(src, PR_TURNUNDEAD, skill_lv);
+			casttime = skill_castfix(src, ALL_RESURRECTION, skill_lv);
 		} else if (!status_isdead(target))
 			return 0; //Can't cast on non-dead characters.
 	break;