From 8a15e4fc5c2fbeb4f461ba2cc14c43cae8e08cdf Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 25 Jun 2018 19:51:31 -0300 Subject: Try to fix bugs at Contrabandist, not sure where they are --- npc/015-2/contrabandist.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc') 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: -- cgit v1.2.3-60-g2f50