diff options
author | shennetsind <ind@henn.et> | 2013-12-02 13:18:39 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-12-02 13:18:39 -0200 |
commit | 95581cedd9a89d8eac918bdc77c1a98e017abc46 (patch) | |
tree | 2dec92f4a0a9913de607741bd7d7224d8241409c /npc/re/merchants/refine.txt | |
parent | e46ca28bddd673f8217456297f596e0fe3c67609 (diff) | |
parent | 9f210e13ce08340fc4920311518187e8a03a636f (diff) | |
download | hercules-95581cedd9a89d8eac918bdc77c1a98e017abc46.tar.gz hercules-95581cedd9a89d8eac918bdc77c1a98e017abc46.tar.bz2 hercules-95581cedd9a89d8eac918bdc77c1a98e017abc46.tar.xz hercules-95581cedd9a89d8eac918bdc77c1a98e017abc46.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'npc/re/merchants/refine.txt')
-rw-r--r-- | npc/re/merchants/refine.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/re/merchants/refine.txt b/npc/re/merchants/refine.txt index fa5bab042..4905feb4a 100644 --- a/npc/re/merchants/refine.txt +++ b/npc/re/merchants/refine.txt @@ -156,7 +156,7 @@ function script refinenew { mes "Please come back when you have them."; close; } - set Zeny,Zeny - .@price; + Zeny -= .@price; delitem .@material,1; //custom checks @@ -272,7 +272,7 @@ function script refinenew { mes "Please come back when you have them."; close; } - set Zeny,Zeny - .@fullprice; + Zeny -= .@fullprice; delitem .@material,.@refinecnt; while(.@refinecnt){ if (getequipisequiped(.@part) == 0) { @@ -368,7 +368,7 @@ function script refinenew { } if (countitem(.@i[0]) >= .@i[1] && Zeny >= 50000) { delitem .@i[0],.@i[1]; - set Zeny, Zeny - 50000; + Zeny -= 50000; getitem .@i[2],1; mes "[Austri]"; if (.@i[0] == 6090) { @@ -517,7 +517,7 @@ malangdo,224,172,6 script Clink#mal_normal 4_CAT_SAILOR1,{ close; } delitem .@material,1; - set Zeny, Zeny-.@price; + Zeny -= .@price; if (getequippercentrefinery(.@part) <= rand(100)) { failedrefitem .@part; mes "[Clink]"; |