瀏覽代碼

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

Inkfish 16 年之前
父節點
當前提交
3f4795f53e
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/skill.c

+ 1 - 0
Changelog-Trunk.txt

@@ -5,6 +5,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 09/07/04
 	* TK_POWER shouldn't count the player him/herself for the skill. [Inkfish]
+	* Fixed a wrong check of Intimidate on hp. (bugreport:3305)[Inkfish]
 09/07/03
 	* Martyr's Reckoning can be perfect dodged. [Inkfish]
 	* Casting Flying Kick while running and in the spurt status doubles the damage dealt without spurt status. (bugreport:1898) [Inkfish]

+ 1 - 1
src/map/skill.c

@@ -1847,7 +1847,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
 	if(damage > 0 && dmg.flag&BF_SKILL && tsd
 		&& pc_checkskill(tsd,RG_PLAGIARISM)
 	  	&& (!sc || !sc->data[SC_PRESERVE])
-		&& damage < tsd->status.hp)
+		&& damage < tsd->battle_status.hp)
 	{	//Updated to not be able to copy skills if the blow will kill you. [Skotlex]
 		if ((!tsd->status.skill[skillid].id || tsd->status.skill[skillid].flag >= 13) &&
 			can_copy(tsd,skillid,bl))	// Split all the check into their own function [Aru]