From 94ac9fe3303c4d604485a4784e8f5c99f5457863 Mon Sep 17 00:00:00 2001 From: Taylor Locke Date: Mon, 25 Nov 2013 06:03:06 -0800 Subject: Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179 Cleaned up Zeny manipulation in scripts. - It is now finally safe to re-commit. - Removed some unwanted parts of the original commit, that broke the character set in some scripts. [Haru] - Corrected spacing in some edited lines. [Haru] --- npc/re/guild/invest_main.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/re/guild/invest_main.txt') diff --git a/npc/re/guild/invest_main.txt b/npc/re/guild/invest_main.txt index 0a9e4105b..50a4e7d35 100644 --- a/npc/re/guild/invest_main.txt +++ b/npc/re/guild/invest_main.txt @@ -163,7 +163,7 @@ function script F_Invest_Abyss { mes getarg(1); mes "You've invested "+.@units+" unit"+((.@units == 1)?"":"s")+" "+((.@units < 100)?.@units:insertchar(""+.@units,",",1))+"0,000 Zeny"+getarg(2,"")+"."; mes "Not much but this is a small gift. You can exchange it with items in Malangdo."; - set Zeny, Zeny-.@zeny; + Zeny -= .@zeny; setd getarg(0), getd(getarg(0)) + .@units; getitem 6488,.@units; //Thanks_Invest_Ticket close; @@ -990,7 +990,7 @@ OnAgitInvest: } mes .@n$; mes "I'm sending you to the "+.@realm$+" Agit Dungeon "+.@i+"F."; - set Zeny, Zeny-10000; + Zeny -= 10000; setd "$fund_"+.@npc$+"_extra", getd("$fund_"+.@npc$+"_extra") + 1; close2; if (compare(strnpcinfo(2),"alde")) -- cgit v1.2.3-60-g2f50