summaryrefslogtreecommitdiff
path: root/npc/012-3/alan.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-19 10:57:41 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-19 10:57:41 -0300
commit71224fba6a7c24a74199ad58a07bf666d27fe698 (patch)
tree9eae2b5c53ec8f89472d7cd18b308f1077af7b37 /npc/012-3/alan.txt
parent49765b0236a4a398b7d14eb2a419a5556279fc56 (diff)
downloadserverdata-71224fba6a7c24a74199ad58a07bf666d27fe698.tar.gz
serverdata-71224fba6a7c24a74199ad58a07bf666d27fe698.tar.bz2
serverdata-71224fba6a7c24a74199ad58a07bf666d27fe698.tar.xz
serverdata-71224fba6a7c24a74199ad58a07bf666d27fe698.zip
Initial version of Arkim. He currently only affects Alan.
Diffstat (limited to 'npc/012-3/alan.txt')
-rw-r--r--npc/012-3/alan.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/012-3/alan.txt b/npc/012-3/alan.txt
index 95d1faf6f..cb58c49ea 100644
--- a/npc/012-3/alan.txt
+++ b/npc/012-3/alan.txt
@@ -86,6 +86,11 @@ OnInit:
sellitem TrainingArrow, -1, 2000;
sellitem Arrow, -1, 1000;
sellitem IronArrow, -1, 500;
+
+ if ($ARKIM_ST >= 400)
+ sellitem CursedArrow, -1, $ARKIM_ST-399;
+ if ($ARKIM_ST >= 800)
+ sellitem PoisonArrow, -1, $ARKIM_ST-799;
end;
@@ -98,5 +103,9 @@ OnClock1800:
restoreshopitem TrainingArrow, -1, 2000;
restoreshopitem Arrow, -1, 1000;
restoreshopitem IronArrow, -1, 500;
+ if ($ARKIM_ST >= 400)
+ sellitem CursedArrow, -1, $ARKIM_ST-399;
+ if ($ARKIM_ST >= 800)
+ sellitem PoisonArrow, -1, $ARKIM_ST-799;
}