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/events/valentinesday.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/events/valentinesday.txt') diff --git a/npc/events/valentinesday.txt b/npc/events/valentinesday.txt index fd26be298..e7f144102 100644 --- a/npc/events/valentinesday.txt +++ b/npc/events/valentinesday.txt @@ -48,7 +48,7 @@ alberta,26,243,4 script Stephen 1_M_MERCHANT,{ if (Zeny < .@i*5000) { mes "I'm sorry, but it seems you can't afford to buy these off me."; close; } - Zeny -= .@i*5000; + set Zeny, Zeny - .@i*5000; getitem 558,.@i; mes "There you go!"; mes "You can give that to someone as a gift, or enjoy it yourself!"; -- cgit v1.2.3-60-g2f50