From adb3a1f62f41ec84181b274a35138b018c43a5df Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 5 Jan 2019 02:00:09 -0200 Subject: Alan now sells arrows ammo boxes too - and he'll even pack thos cursed and poison arrows for you! Powerful, uhm? However, you must reach the milestones at Arkim! --- npc/012-3/alan.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'npc/012-3') diff --git a/npc/012-3/alan.txt b/npc/012-3/alan.txt index 282f12e74..d8a71309f 100644 --- a/npc/012-3/alan.txt +++ b/npc/012-3/alan.txt @@ -91,6 +91,16 @@ OnInit: sellitem CursedArrow, -1, $ARKIM_ST-1400; if ($ARKIM_ST > 2800) sellitem PoisonArrow, -1, $ARKIM_ST-2800; + + sellitem TrainingAmmoBox, -1, 10; + sellitem ArrowAmmoBox, -1, 5; + sellitem IronAmmoBox, -1, 2; + + if ($ARKIM_ST > 28000) + sellitem CursedAmmoBox, -1, (($ARKIM_ST-1400)/20); + if ($ARKIM_ST > 56000) + sellitem PoisonArrow, -1, (($ARKIM_ST-2800)/20); + end; @@ -98,6 +108,14 @@ OnClock2357: OnClock1151: restoreshopitem ShortBow, 9000, 1; restoreshopitem WoodenBow, 4000, 2; + restoreshopitem TrainingAmmoBox, -1, 10; + restoreshopitem ArrowAmmoBox, -1, 5; + restoreshopitem IronAmmoBox, -1, 2; + + if ($ARKIM_ST > 28000) + restoreshopitem CursedAmmoBox, -1, (($ARKIM_ST-1400)/20); + if ($ARKIM_ST > 56000) + restoreshopitem PoisonArrow, -1, (($ARKIM_ST-2800)/20); OnClock0611: OnClock1800: restoreshopitem TrainingArrow, -1, 2000; -- cgit v1.2.3-60-g2f50