summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-27 21:41:42 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-27 21:41:42 -0300
commit9016816e3aa7fac4f82f68f6d0570e2bb3d2c1b2 (patch)
tree323c9bde3b3c9f76adc8715803372097807348dc /npc
parent0779a0ef816254b7836c594e54a36c34d153d9bb (diff)
downloadserverdata-9016816e3aa7fac4f82f68f6d0570e2bb3d2c1b2.tar.gz
serverdata-9016816e3aa7fac4f82f68f6d0570e2bb3d2c1b2.tar.bz2
serverdata-9016816e3aa7fac4f82f68f6d0570e2bb3d2c1b2.tar.xz
serverdata-9016816e3aa7fac4f82f68f6d0570e2bb3d2c1b2.zip
What? How did this bug showed up again?!
Diffstat (limited to 'npc')
-rw-r--r--npc/012-3/alan.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/012-3/alan.txt b/npc/012-3/alan.txt
index ed800f17f..286270e78 100644
--- a/npc/012-3/alan.txt
+++ b/npc/012-3/alan.txt
@@ -121,9 +121,9 @@ OnClock1800:
restoreshopitem TrainingArrow, -1, 2000;
restoreshopitem Arrow, -1, 1000;
restoreshopitem IronArrow, -1, 500;
- if ($ARKIM_ST > 1400)
- restoreshopitem CursedArrow, -1, $ARKIM_ST-1400;
if ($ARKIM_ST > 2800)
- restoreshopitem PoisonArrow, -1, $ARKIM_ST-2800;
+ restoreshopitem CursedArrow, -1, (($ARKIM_ST-1400)/200);
+ if ($ARKIM_ST > 5600)
+ restoreshopitem PoisonArrow, -1, (($ARKIM_ST-2800)/200);
}