diff options
Diffstat (limited to 'npc/tulimshar/ptsrewards.txt')
-rw-r--r-- | npc/tulimshar/ptsrewards.txt | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/npc/tulimshar/ptsrewards.txt b/npc/tulimshar/ptsrewards.txt index 10619856..4dd567b7 100644 --- a/npc/tulimshar/ptsrewards.txt +++ b/npc/tulimshar/ptsrewards.txt @@ -1,23 +1,30 @@ new_3-1.gat,55,51,0 script Rewards 106,{ + if (MPQUEST == 0) goto Register; + mes "[Rewards Master]"; - mes "Welcome"; - mes "Would you like to exchange some points for items?"; + mes "Welcome! Would you like to exchange some points for items?"; next; menu "Yes",Y1,"No Thanks",LEAVE; next; +Register: + mes "[Rewards Master]"; + mes "Hey, it seems like you didn't register as a quest participant yet! You can sign up at the gate below."; + close; + Y1: mes "[Rewards Master]"; mes "Ok lets check those points."; - set @tempus,rand(30); - if (Mobpt < @tempus) goto NotEnough; - set Mobpt,Mobpt-@tempus; + if (tvis == 0) set tvis,1; + if (Mobpt < tvis) goto NotEnough; + set Mobpt,Mobpt-tvis; + set tvis,tvis+1; next; set @TEMP,rand(1); if(@TEMP ==0) goto R_1; if(@TEMP ==1) goto R_2; R_1: - set @TEMP,rand(30); + set @TEMP,rand(19); if(@TEMP ==0) goto R1_1; if(@TEMP ==1) goto R1_2; if(@TEMP ==2) goto R1_3; @@ -116,7 +123,7 @@ R1_15: goto Q; R1_16: mes "[Rewards Master]"; - mes "You got Blue Present."; + mes "You got Yellow Present."; getitem 516,1; goto Q; R1_17: @@ -164,7 +171,7 @@ R2_3: goto Q; R2_4: mes "[Rewards Master]"; - mes "You got a Cotton Shirt."; + mes "You got an Cotton Shirt."; getitem 1202,1; goto Q; |