Ver código fonte

Fixed compile issue for NJ_BAKUENRYU, by Saycyber21.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7531 54d463be-8e91-2dee-dedb-b68131a5f0ec
Vicious 19 anos atrás
pai
commit
822e9b9e24
2 arquivos alterados com 7 adições e 1 exclusões
  1. 1 0
      Changelog-Trunk.txt
  2. 6 1
      src/map/skill.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2006/07/04
+	* Fixed compile issue for NJ_BAKUENRYU, by Saycyber21. [Vicious]
 	* Implemented Saycyber21's some NJ work. Untested. :D [Vicious]
 	* Implemented cooking chances. Chance of success is 70% - 7*(dish-lv)% +
 	  12*(cooking set-lv)%. Exception: When using the legendary cooking set,

+ 6 - 1
src/map/skill.c

@@ -5471,6 +5471,12 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
 		}
 		break;
 
+	case NJ_BAKUENRYU:   /* ??? */
+		clif_skill_nodamage(src,bl,skillid,skilllv,1);
+		skill_unitsetting(src,skillid,skilllv,bl->x,bl->y,0);
+		flag|=1;
+		break;
+
 	default:
 		ShowWarning("skill_castend_nodamage_id: Unknown skill used:%d\n",skillid);
 		map_freeblock_unlock();
@@ -6040,7 +6046,6 @@ int skill_castend_pos2 (struct block_list *src, int x, int y, int skillid, int s
 	case NJ_KAENSIN:
 	case NJ_BAKUENRYU:
 	case NJ_HYOUSYOURAKU:
-		clif_skill_nodamage(src,bl,skillid,skilllv,1);
 		skill_unitsetting(src,skillid,skilllv,x,y,0);
 		flag|=1;
 		break;