瀏覽代碼

Damaged reflected from skills will now be shown as multiple hits if the skill used was multi-hit.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14314 54d463be-8e91-2dee-dedb-b68131a5f0ec
Paradox924X 15 年之前
父節點
當前提交
28ef13ac35
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/skill.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.
 
+2010/05/30
+	* Damaged reflected from skills will now be shown as multiple hits if the skill used was multi-hit. [Paradox924X]
 2010/05/29
 	* Rev. 14313 Added a pc_isdead check to warpparty. Only warp and mapwarp (moveto, warpallpcinthemap, and warpwaitingpc aegis script equivilents) should revive players when placing them on new maps. [L0ne_W0lf]
 	* Rewrote/optimized script command warpparty. [Paradox924X]

+ 1 - 1
src/map/skill.c

@@ -1948,7 +1948,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
 			battle_delay_damage(tick, dmg.amotion,bl,src,0,0,0,rdamage,ATK_DEF,0);
 		else
 			status_fix_damage(bl,src,rdamage,0);
-		clif_damage(src,src,tick, dmg.amotion,0,rdamage,1,4,0);
+		clif_damage(src,src,tick, dmg.amotion,0,rdamage,dmg.div_>1?dmg.div_:1,4,0);
 		//Use Reflect Shield to signal this kind of skill trigger. [Skotlex]
 		if( tsd && src != bl )
 			battle_drain(tsd, src, rdamage, rdamage, sstatus->race, is_boss(src));