From 4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 28 Nov 2013 00:42:20 +0100 Subject: Revert "Cleaned up Zeny manipulation in scripts." Reverted due to a serious regression. I'll commit this again once I fixed the issue in the script engine. Sorry for the inconvenience. This reverts commit 4faa0ec9df7067cee3eb1c1953fccc6c2f842179. Signed-off-by: Haru --- npc/cities/yuno.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/cities/yuno.txt') diff --git a/npc/cities/yuno.txt b/npc/cities/yuno.txt index eda2b8c1a..c1432c4c2 100644 --- a/npc/cities/yuno.txt +++ b/npc/cities/yuno.txt @@ -76,7 +76,7 @@ yuno,337,227,4 script Juno Granny#juno 8_F_GRANDMOTHER,{ mes "[Granny]"; mes "*Giggle*"; mes "There you go~"; - Zeny -=1000; + set Zeny, Zeny-1000; getitem 529,1; //Candy next; mes "[Granny]"; @@ -167,7 +167,7 @@ yuno,165,111,4 script Juno Sage#juno 2_F_MAGICMASTER,,{ if (select("Choose ^FF3355Red Herb^000000:Choose ^3355FFBlue Herb^000000.") == 1) { mes "[Le Morpheus]"; mes "As you have chosen, you will forget everything, and remain in this virtual reality."; - Zeny -=5000; + set Zeny, Zeny-5000; getitem 507,1; //Red_Herb close2; warp "prontera",182,206; @@ -175,7 +175,7 @@ yuno,165,111,4 script Juno Sage#juno 2_F_MAGICMASTER,,{ } mes "[Le Morpheus]"; mes "You will see the truth."; - Zeny -=5000; + set Zeny, Zeny-5000; getitem 510,1; //Blue_Herb close2; warp "pay_dun03",200,222; @@ -378,7 +378,7 @@ yuno,142,183,5 script Airship Representative 4W_SAILOR,{ S_Warp: if (Zeny >= 1800) { - Zeny -=1800; + set Zeny, Zeny-1800; warp getarg(0),getarg(1),getarg(2); end; } -- cgit v1.2.3-60-g2f50