Browse Source

* Rev. 13251 Removed 'casttime' adjustment from offensive ressurection. Follow up to r13225.
* Kaahi will now override override higher existing levels previously casted. (bugreport:2296)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13251 54d463be-8e91-2dee-dedb-b68131a5f0ec

L0ne_W0lf 16 năm trước cách đây
mục cha
commit
850cf0d038
3 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 3 0
      Changelog-Trunk.txt
  2. 1 2
      src/map/status.c
  3. 0 1
      src/map/unit.c

+ 3 - 0
Changelog-Trunk.txt

@@ -3,6 +3,9 @@ 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/10/01
+	* Rev. 13251 Removed 'casttime' adjustment from offensive ressurection. Follow up to r13225. [L0ne_W0lf]
+	* Kaahi will now override override higher existing levels previously casted. (bugreport:2296)
 2008/09/27
 	* Fixed clif_changelook betraying the presence of gm-hidden players (bugreport:2283) [ultramage]
 2008/09/11

+ 1 - 2
src/map/status.c

@@ -5134,8 +5134,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
 					return 1;
 				break;
 			case SC_KAAHI:
-				if(sce->val1 > val1)
-					return 1;
+				//Kaahi overwrites previous level regardless of existing level.
 				//Delete timer if it exists.
 				if (sce->val4 != -1) {
 					delete_timer(sce->val4,kaahi_heal_timer);

+ 0 - 1
src/map/unit.c

@@ -987,7 +987,6 @@ 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, ALL_RESURRECTION, skill_lv);
 		} else if (!status_isdead(target))
 			return 0; //Can't cast on non-dead characters.
 	break;