Quellcode durchsuchen

- Corrected raid not doing the "can hit?" check on splash area targets.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9940 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex vor 18 Jahren
Ursprung
Commit
7bd79db58f
2 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 1 0
      Changelog-Trunk.txt
  2. 2 1
      src/map/skill.c

+ 1 - 0
Changelog-Trunk.txt

@@ -13,6 +13,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 		and... if u've used this function, later @reloaditemdb may crush the map server ^_-
 	- Check npc/sample/npc_test_setitemx.txt as example of setiteminfo & setitemscript
 2007/03/01
+	* Corrected raid not doing the "can hit?" check on splash area targets.
 	* Fixed the definition of warpwaitingpc so that it allows an optional
 	  argument (number of people to warp).
 	* Modified the Palm Strike packet so the initial hit animation does not

+ 2 - 1
src/map/skill.c

@@ -2698,7 +2698,6 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
 	case TF_POISON:
 	case TF_SPRINKLESAND:
 	case AC_CHARGEARROW:
-	case RG_RAID:
 	case RG_INTIMIDATE:
 	case AM_ACIDTERROR:
 	case BA_MUSICALSTRIKE:
@@ -2929,6 +2928,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
 	case AC_SHOWER:	
 	case MG_NAPALMBEAT:
 	case MG_FIREBALL:
+	case RG_RAID:
 	case HW_NAPALMVULCAN:
 	case NJ_HUUMA:
 	case NJ_BAKUENRYU:
@@ -4003,6 +4003,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
 			sc_start(bl,SC_STUN,(20 + 10 * skilllv),skilllv,skill_get_time2(skillid,skilllv)));
 		break;
 	case RG_RAID:
+		skill_area_temp[1] = 0;
 		clif_skill_nodamage(src,bl,skillid,skilllv,1);
 		map_foreachinrange(skill_area_sub, bl,
 			skill_get_splash(skillid, skilllv), BL_CHAR,