From 4faa0ec9df7067cee3eb1c1953fccc6c2f842179 Mon Sep 17 00:00:00 2001 From: Taylor Locke Date: Mon, 25 Nov 2013 06:03:06 -0800 Subject: Cleaned up Zeny manipulation in scripts. --- npc/guild2/agit_main_se.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/guild2') diff --git a/npc/guild2/agit_main_se.txt b/npc/guild2/agit_main_se.txt index 685900792..7a8793523 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; } - set Zeny, Zeny-.@eco_invest; + 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; } - set Zeny, Zeny-.@def_invest; + 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; } - set Zeny, Zeny-10000; + Zeny -=10000; enablenpc "Kafra Employee#"+strnpcinfo(2); setcastledata strnpcinfo(4),9,1; mes "[ Steward ]"; @@ -871,7 +871,7 @@ OnInit: cutin "kafra_01",255; end; } - set Zeny, Zeny-200; + Zeny -=200; warp "rachel",115,125; end; case 2: @@ -909,7 +909,7 @@ OnInit: cutin "kafra_01",255; end; } - set Zeny, Zeny-800; + Zeny -=800; setcart; break; case 2: -- cgit v1.2.3-60-g2f50