فهرست منبع

- Follow up r15363.
* Fixed missing countitem() check.
* Added Credits to some Job change Files.

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

masao87 13 سال پیش
والد
کامیت
9748208ef1
3فایلهای تغییر یافته به همراه11 افزوده شده و 9 حذف شده
  1. 1 0
      npc/jobs/3-1/archbishop.txt
  2. 1 0
      npc/jobs/3-1/ranger.txt
  3. 9 9
      npc/jobs/3-1/warlock.txt

+ 1 - 0
npc/jobs/3-1/archbishop.txt

@@ -2,6 +2,7 @@
 //= Arch Bishop Job Quest
 //===== By: ==================================================
 //= L0ne_W0lf
+//= Credits: Gepard
 //===== Current Version: =====================================
 //= 1.1
 //===== Compatible With: =====================================

+ 1 - 0
npc/jobs/3-1/ranger.txt

@@ -2,6 +2,7 @@
 // Ranger Job change Quest
 //===== By: ================================================== 
 //= Masao
+//= Credits: Muad_Dib
 //===== Current Version: ===================================== 
 //= 1.0
 //===== Compatible With: ===================================== 

+ 9 - 9
npc/jobs/3-1/warlock.txt

@@ -2,7 +2,7 @@
 // Warlock Job change Quest
 //===== By: ================================================== 
 //= Masao
-//= Credits: Muad_Dib
+//= Credits: Muad_Dib, Gepard & L0ne_W0lf
 //===== Current Version: ===================================== 
 //= 1.0
 //===== Compatible With: ===================================== 
@@ -829,13 +829,13 @@ spl_in02,84,103,3	script	Assistant#Warlock2	445,{
 		mes "Would you like to try it again?";
 		mes "Let me give you more rubies.";
 		next;
-		if (12384 > 0){
+		if (countitem(12384) > 0){
 			delitem 12384,countitem(12384);
-		}else if (12385 > 0){
+		}else if (countitem(12385) > 0){
 			delitem 12385,countitem(12385);
-		}else if (12386 > 0){
+		}else if (countitem(12386) > 0){
 			delitem 12386,countitem(12386);
-		}else if (12387 > 0){
+		}else if (countitem(12387) > 0){
 			delitem 12387,countitem(12387);
 		}
 		getitem 12384,5;
@@ -850,13 +850,13 @@ spl_in02,84,103,3	script	Assistant#Warlock2	445,{
 		mes "[Assistant]";
 		mes "You have successfully crystallized the Hollow Stone.";
 		mes "I'm sorry that I've doubted you.";
-		if (12384 > 0){
+		if (countitem(12384) > 0){
 			delitem 12384,countitem(12384);
-		}else if (12385 > 0){
+		}else if (countitem(12385) > 0){
 			delitem 12385,countitem(12385);
-		}else if (12386 > 0){
+		}else if (countitem(12386) > 0){
 			delitem 12386,countitem(12386);
-		}else if (12387 > 0){
+		}else if (countitem(12387) > 0){
 			delitem 12387,countitem(12387);
 		}
 		next;