diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-25 19:51:31 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-25 19:51:31 -0300 |
commit | 8a15e4fc5c2fbeb4f461ba2cc14c43cae8e08cdf (patch) | |
tree | 1fa9a1ea093bb58c74eacdcc7e211d411984e46a /npc/015-2 | |
parent | 277ea09bf068c0eb8341052285d480722bb95115 (diff) | |
download | serverdata-8a15e4fc5c2fbeb4f461ba2cc14c43cae8e08cdf.tar.gz serverdata-8a15e4fc5c2fbeb4f461ba2cc14c43cae8e08cdf.tar.bz2 serverdata-8a15e4fc5c2fbeb4f461ba2cc14c43cae8e08cdf.tar.xz serverdata-8a15e4fc5c2fbeb4f461ba2cc14c43cae8e08cdf.zip |
Try to fix bugs at Contrabandist, not sure where they are
Diffstat (limited to 'npc/015-2')
-rw-r--r-- | npc/015-2/contrabandist.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/015-2/contrabandist.txt b/npc/015-2/contrabandist.txt index 4599e2a41..b3aae211f 100644 --- a/npc/015-2/contrabandist.txt +++ b/npc/015-2/contrabandist.txt @@ -30,6 +30,7 @@ close; stopselling(CasinoCoins); if (getarg(0,0) & 128) stopselling(RawLog); + return; } function Contraband_Load { .DDMPrice=max(30000,50000-($ARKIM_ST/2)+(4500/2)); @@ -52,6 +53,7 @@ close; sellitem CasinoCoins, rand(100,3000), 1; if (getarg(0,0) & 128) sellitem RawLog, 1950, 1; + return; } OnInit: @@ -65,8 +67,6 @@ OnInit: } tradertype(NST_MARKET); - .CurrentValue=rand(1,255); - Contraband_Load(.CurrentValue); end; OnMinute21: |