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/quests/quests_nameless.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'npc/quests/quests_nameless.txt') diff --git a/npc/quests/quests_nameless.txt b/npc/quests/quests_nameless.txt index c9f639fe8..258f01bc6 100644 --- a/npc/quests/quests_nameless.txt +++ b/npc/quests/quests_nameless.txt @@ -437,7 +437,7 @@ OnTouch: set aru_monas,8; changequest 17003,17004; if (Zeny > 3000) { - Zeny -=3000; + set Zeny, Zeny-3000; getitem 12052,4; //Vit_Dish02 } close; @@ -6114,7 +6114,7 @@ in_rogue,366,46,3 script Rogue Investigator 4_M_ROGUE,{ switch(select("Sounds good!:Never mind, I'll find it myself...")) { case 1: if (Zeny > 9999) { - Zeny -=10000; + set Zeny, Zeny-10000; mes "[Investigator]"; mes "Thanks for the money~"; mes "Of course, if you became"; @@ -6192,7 +6192,7 @@ in_rogue,366,46,3 script Rogue Investigator 4_M_ROGUE,{ switch(select("Sounds good!:Forget it...")) { case 1: if (Zeny > 9999) { - Zeny -=10000; + set Zeny, Zeny-10000; mes "[Investigator]"; mes "Right on, right on."; mes "Alright, I didn't charge"; @@ -7390,7 +7390,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{ switch(select("Yes, let's play!:How does this game work again?")) { case 1: if (Zeny > 500) { - Zeny -=500; + set Zeny, Zeny-500; mes "[Moonho Ahn]"; mes "Good, let's get started!"; mes "I'll let you go first~"; @@ -9380,7 +9380,7 @@ morocc,143,63,3 script Ragged Man#nd 4_M_MIDDLE,{ close; } else { - Zeny -=1200; + set Zeny, Zeny-1200; mes "[Ragged Man]"; mes "Let's see... I just need"; mes "1,200 zeny. That's enough"; @@ -9459,7 +9459,7 @@ morocc,143,63,3 script Ragged Man#nd 4_M_MIDDLE,{ mes "up the funds. I'll be waiting."; close; } else { - Zeny -=1200; + set Zeny, Zeny-1200; mes "[Ragged Man]"; mes "Remember that hidden"; mes "treasure I was looking for?"; @@ -10499,7 +10499,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{ mes "If all goes well, you'll be"; mes "free of your curse, and I can"; mes "buy some Prontera real estate."; - Zeny -=200000; + set Zeny, Zeny-200000; set jewel_nd,14; next; mes "[Shaman]"; @@ -10550,7 +10550,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{ mes "Hopefully, the"; mes "spirits will be more"; mes "cooperative this time."; - Zeny -=100000; + set Zeny, Zeny-100000; set jewel_nd,16; next; mes "[Shaman]"; -- cgit v1.2.3-70-g09d2