Ver Fonte

Fixed Gym Pass NPC reporting "00" on use.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12411 54d463be-8e91-2dee-dedb-b68131a5f0ec
L0ne_W0lf há 17 anos atrás
pai
commit
0ed679c72e
2 ficheiros alterados com 5 adições e 2 exclusões
  1. 2 0
      npc/Changelog.txt
  2. 3 2
      npc/other/gympass.txt

+ 2 - 0
npc/Changelog.txt

@@ -1,5 +1,7 @@
 Date		Added
 ======
+2008/03/21
+	* Rev. 12411 Fixed Gym Pass NPC reporting "00" on use. [L0ne_W0lf]
 2008/03/20
 	* Rev. 12405 Fixed Juperos Elevator not working after failing once. [L0ne_W0lf]
 	* Rev. 12404 Added Gym Pass NPC (disabled by default.) [L0ne_W0lf]

+ 3 - 2
npc/other/gympass.txt

@@ -3,7 +3,7 @@
 //===== By: ================================================== 
 //= Kisuka
 //===== Current Version: ===================================== 
-//= v1.0
+//= v1.1
 //===== Compatible With: ===================================== 
 //= eAthena SVN
 //===== Description: ========================================= 
@@ -11,6 +11,7 @@
 //= iRO NPC situated in Payon beside Kafra Shop.
 //===== Additional Comments: ================================= 
 //= 1.0 First version [L0ne_W0lf]
+//= 1.1 Fixed the NPC saying you "00" [L0ne_W0lf]
 //============================================================ 
 
 payon,173,141,4	script	Ripped Cabus#GymPass	899,{
@@ -90,7 +91,7 @@ payon,173,141,4	script	Ripped Cabus#GymPass	899,{
 			mes "to carry more stuff with you.";
 			mes "Let's see, we can increase";
 			mes "your item carrying capacity";
-			mes "^FF00000" + gympasslimit + "^000000 more times if we continue";
+			mes "^FF00000" + (10-getskilllv(681)) + "^000000 more times if we continue";
 			mes "training together like this.";
 			close;
 		}