summaryrefslogtreecommitdiff
path: root/npc/custom
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-02-16 22:07:11 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-02-16 22:07:11 +0000
commit72f1f6481da3a5cfeeec8c3b359e5baee9a63f46 (patch)
tree14e002f9a11df664538d4bddbb241248d36b0bc4 /npc/custom
parent91ce7eb52919ade33fe838a109e20e99bfe38adb (diff)
downloadhercules-72f1f6481da3a5cfeeec8c3b359e5baee9a63f46.tar.gz
hercules-72f1f6481da3a5cfeeec8c3b359e5baee9a63f46.tar.bz2
hercules-72f1f6481da3a5cfeeec8c3b359e5baee9a63f46.tar.xz
hercules-72f1f6481da3a5cfeeec8c3b359e5baee9a63f46.zip
- Moved the Zeny subtracting in the custom eAAC coin banker, so that the
script aborts _before_ giving items, not afterwards. (bugreport:4057) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14246 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom')
-rw-r--r--npc/custom/eAAC_Scripts/banker.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/custom/eAAC_Scripts/banker.txt b/npc/custom/eAAC_Scripts/banker.txt
index a51b77206..5d46cd00b 100644
--- a/npc/custom/eAAC_Scripts/banker.txt
+++ b/npc/custom/eAAC_Scripts/banker.txt
@@ -242,8 +242,8 @@ prontera,155,188,3 script Zacariath Madhat 872,{
}
set @itemid,getarg(0);
set @pricea,getarg(1)*getarg(2);
- getitem @itemid,getarg(2);
set Zeny,Zeny-@pricea;
+ getitem @itemid,getarg(2);
mes @npcname$;
mes "There you go, here's your coins";
next;