Przeglądaj źródła

Fixed bugreport:6493 Genwaku no longer works on npcs and on gvg maps (since push/knockback is also disabled on gvg)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16818 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 12 lat temu
rodzic
commit
1ffe0e9967
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/map/skill.c

+ 1 - 1
src/map/skill.c

@@ -8752,7 +8752,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
 		break;
 
 	case KO_GENWAKU:
-		{
+		if ( !map_flag_gvg(src->m) && ( dstsd || dstmd ) && battle_check_target(src,bl,BCT_ENEMY) > 0 ) {
 			int x = src->x, y = src->y;
 			if (unit_movepos(src,bl->x,bl->y,0,0)) {
 				clif_skill_nodamage(src,src,skillid,skilllv,1);