فهرست منبع

Fixed Meteor Assault and Spread Attack have twice the chance to trigger AutoSpellOnSkill.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14215 54d463be-8e91-2dee-dedb-b68131a5f0ec
Inkfish 15 سال پیش
والد
کامیت
ab888d956f
2فایلهای تغییر یافته به همراه8 افزوده شده و 1 حذف شده
  1. 2 0
      Changelog-Trunk.txt
  2. 6 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.
 
+2009/12/27
+	* Fixed Meteor Assault and Spread Attack have twice the chance to trigger AutoSpellOnSkill. [Inkfish]
 2009/12/03
 	* Prevented online user count from going negative. (bugreport:3913) [Paradox924X]
 2009/12/02

+ 6 - 1
src/map/skill.c

@@ -3967,8 +3967,13 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
 
 	case ASC_METEORASSAULT:
 	case GS_SPREADATTACK:
-	case NPC_EARTHQUAKE:
+		skill_area_temp[1] = 0;
 		clif_skill_nodamage(src,bl,skillid,skilllv,1);
+		map_foreachinrange(skill_area_sub, bl, skill_get_splash(skillid, skilllv), splash_target(src), 
+			src, skillid, skilllv, tick, flag|BCT_ENEMY|SD_SPLASH|1, skill_castend_damage_id);
+		break;
+
+	case NPC_EARTHQUAKE:
 	case NPC_VAMPIRE_GIFT:
 	case NPC_HELLJUDGEMENT:
 	case NPC_PULSESTRIKE: