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/guild2/agit_main_se.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/guild2/agit_main_se.txt') diff --git a/npc/guild2/agit_main_se.txt b/npc/guild2/agit_main_se.txt index 7a8793523..685900792 100644 --- a/npc/guild2/agit_main_se.txt +++ b/npc/guild2/agit_main_se.txt @@ -330,7 +330,7 @@ OnTreasureDied: mes "for the guild today."; close; } - Zeny -=.@eco_invest; + set Zeny, Zeny-.@eco_invest; setcastledata strnpcinfo(4),4,getcastledata(strnpcinfo(4),4)+1; mes "[ Steward ]"; mes "A wise use of the guild's"; @@ -418,7 +418,7 @@ OnTreasureDied: mes "for the guild today."; close; } - Zeny -=.@def_invest; + set Zeny, Zeny-.@def_invest; setcastledata strnpcinfo(4),5,getcastledata(strnpcinfo(4),5)+1; mes "[ Steward ]"; mes "A wise use of the guild's"; @@ -510,7 +510,7 @@ OnTreasureDied: mes "funds to pay the contract fee."; close; } - Zeny -=10000; + set Zeny, Zeny-10000; enablenpc "Kafra Employee#"+strnpcinfo(2); setcastledata strnpcinfo(4),9,1; mes "[ Steward ]"; @@ -871,7 +871,7 @@ OnInit: cutin "kafra_01",255; end; } - Zeny -=200; + set Zeny, Zeny-200; warp "rachel",115,125; end; case 2: @@ -909,7 +909,7 @@ OnInit: cutin "kafra_01",255; end; } - Zeny -=800; + set Zeny, Zeny-800; setcart; break; case 2: -- cgit v1.2.3-70-g09d2