summaryrefslogtreecommitdiff
path: root/npc/re/guild/invest_main.txt
diff options
context:
space:
mode:
authorTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
committerTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
commit4faa0ec9df7067cee3eb1c1953fccc6c2f842179 (patch)
tree2ad86f1414ff35cf96a8ec5577a978d533072750 /npc/re/guild/invest_main.txt
parent463cbc94ea4124a35ad5bf3222b510ad979d8805 (diff)
downloadhercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.gz
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.bz2
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.xz
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.zip
Cleaned up Zeny manipulation in scripts.
Diffstat (limited to 'npc/re/guild/invest_main.txt')
-rw-r--r--npc/re/guild/invest_main.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/re/guild/invest_main.txt b/npc/re/guild/invest_main.txt
index 0a9e4105b..438947271 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"))