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/other/mercenary_rent.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/other/mercenary_rent.txt') diff --git a/npc/other/mercenary_rent.txt b/npc/other/mercenary_rent.txt index 7b2a47d0a..ac1a532f5 100644 --- a/npc/other/mercenary_rent.txt +++ b/npc/other/mercenary_rent.txt @@ -94,7 +94,7 @@ mes "Summoned Mercenaries will"; mes "offer their support to you for"; mes "30 minutes. Take care now."; - Zeny -= (.@ZenyCost * 1000); + set Zeny, Zeny - (.@ZenyCost * 1000); getitem .@item[.@type] - 10 + .@Grade, 1; } close; @@ -280,7 +280,7 @@ pay_arche,99,167,4 duplicate(Mercenary Manager#main) Mercenary Manager#Bow 4_M_J mes "Thank you, and please come"; mes "again when you need more"; mes "potions for your Mercenaries."; - Zeny -= .@total_po; + set Zeny, Zeny - .@total_po; getitem .@item[.@m], .@input; close; } -- cgit v1.2.3-70-g09d2