summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-05 02:00:09 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-05 02:00:09 -0200
commitadb3a1f62f41ec84181b274a35138b018c43a5df (patch)
treed92a07f31a667aeb9415c3ab322d595e37b19dfd /npc
parente496d1c52ac11309b773d5a2a52fe9c79135212e (diff)
downloadserverdata-adb3a1f62f41ec84181b274a35138b018c43a5df.tar.gz
serverdata-adb3a1f62f41ec84181b274a35138b018c43a5df.tar.bz2
serverdata-adb3a1f62f41ec84181b274a35138b018c43a5df.tar.xz
serverdata-adb3a1f62f41ec84181b274a35138b018c43a5df.zip
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!
Diffstat (limited to 'npc')
-rw-r--r--npc/012-3/alan.txt18
1 files changed, 18 insertions, 0 deletions
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;