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_13_1.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'npc/quests/quests_13_1.txt') diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt index 9439361c5..b176b4081 100644 --- a/npc/quests/quests_13_1.txt +++ b/npc/quests/quests_13_1.txt @@ -7661,7 +7661,7 @@ function Catwarp; close; } else if (Zeny >= 60) { - Zeny -=60; + set Zeny, Zeny-60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will"; @@ -7708,7 +7708,7 @@ function Catwarp; close; } else if (Zeny >= 60) { - Zeny -=60; + set Zeny, Zeny-60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will"; @@ -7830,7 +7830,7 @@ function Catwarp; close; } else if (Zeny >= 60) { - Zeny -=60; + set Zeny, Zeny-60; mes "[Cat Hand Agent]"; mes "Thank you."; mes "Your storage will"; @@ -7943,7 +7943,7 @@ function Catwarp { close; } close2; - Zeny -=getarg(0); + set Zeny, Zeny-getarg(0); switch(getarg(1)) { case 1: warp "alberta",117,56; end; case 2: warp "prontera",116,72; end; @@ -12064,7 +12064,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{ mes "Here, drink up."; mes "This drink is mainly made of fruit juice,"; mes "but you still shouldn't drink too much."; - Zeny -=800; + set Zeny, Zeny-800; getitem 12112,1; //Tropical_Sograt } close; @@ -12082,7 +12082,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{ mes "There you go."; mes "This drink is mainly made of fruit juice,"; mes "but you still shouldn't drink too much."; - Zeny -=1000; + set Zeny, Zeny-1000; getitem 12112,1; //Tropical_Sograt close; } @@ -12108,7 +12108,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{ mes "[Karred]"; mes "I'll give you a special discount."; mes "Here, enjoy."; - Zeny -=800; + set Zeny, Zeny-800; getitem 12113,1; //Vermilion_The_Beach } close; @@ -12125,7 +12125,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{ mes "[Karred]"; mes "There you go."; mes "Don't drink too much, alright?"; - Zeny -=1000; + set Zeny, Zeny-1000; getitem 12113,1; //Vermilion_The_Beach close; } @@ -12273,7 +12273,7 @@ OnTouch: mes "Hey, bartender! Gimme"; mes "the usual! I like your"; mes "style, adventurer..."; - Zeny -=1000; + set Zeny, Zeny-1000; next; mes "[Litheron]"; mes "Alright, you can come"; -- cgit v1.2.3-60-g2f50