diff options
author | Haru <haru@dotalux.com> | 2013-11-28 00:42:20 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-11-28 00:43:49 +0100 |
commit | 4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6 (patch) | |
tree | e2dd2640adb13411dee1982e3a7d13c12d4e04b3 /npc/guild2 | |
parent | c069e2e9b89f712c6ad6ebba983460408f6da198 (diff) | |
download | hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.gz hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.bz2 hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.xz hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.zip |
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 <haru@dotalux.com>
Diffstat (limited to 'npc/guild2')
-rw-r--r-- | npc/guild2/agit_main_se.txt | 10 |
1 files changed, 5 insertions, 5 deletions
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: |