فهرست منبع

- Fixed a typo in eA Job System documentation.
- Fixed some bugs in Cursed Spirit quest. (bugreport:4914, bugreport:4917)
- Changed <dir> in movenpc to wrap around if the number is < 0 or > 7.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14830 54d463be-8e91-2dee-dedb-b68131a5f0ec

brianluau 14 سال پیش
والد
کامیت
d3d4504d7f
3فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 1 1
      doc/ea_job_system.txt
  2. 2 2
      npc/quests/quests_lighthalzen.txt
  3. 1 1
      src/map/script.c

+ 1 - 1
doc/ea_job_system.txt

@@ -102,7 +102,7 @@ EAJL_UPPER:
 
 EAJL_BABY:
 	Check if a class is an adopted class.
-	if (@job&EAJ_BABY)
+	if (@job&EAJL_BABY)
 		mes "Don't you hate being weak?";
 
 EAJ_UPPERMASK:

+ 2 - 2
npc/quests/quests_lighthalzen.txt

@@ -3807,7 +3807,7 @@ OnTouch_:
 			soundeffect "tao_gunka_stand.wav",0;
 			sc_end SC_Blind;
 			sc_start SC_Curse,3000,0;
-			if (!lhz_curse == 6) set lhz_curse,7;
+			if (lhz_curse == 6) set lhz_curse,7;
 		}
 	}
 	end;
@@ -3887,7 +3887,7 @@ OnTouch_:
 			mes "............";
 			next;
 			mes "............";
-			close;
+			close2;
 			soundeffect "tao_gunka_stand.wav",0;
 			sc_end SC_Blind;
 			sc_start SC_Curse,3000,0;

+ 1 - 1
src/map/script.c

@@ -11788,7 +11788,7 @@ BUILDIN_FUNC(movenpc)
 		return -1;
 
 	if (script_hasdata(st,5))
-		nd->ud.dir = script_getnum(st,5);
+		nd->ud.dir = script_getnum(st,5) % 8;
 	npc_movenpc(nd, x, y);
 	return 0;
 }