From 76939330e98f30b52530bef2cd77228169a60936 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 29 Jul 2018 14:26:57 -0300 Subject: Count time flasks too. There are other bugs, beware. Missing max() on time flask too --- npc/items/teleporter.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/items') diff --git a/npc/items/teleporter.txt b/npc/items/teleporter.txt index 64adb4120..f88540ad2 100644 --- a/npc/items/teleporter.txt +++ b/npc/items/teleporter.txt @@ -33,7 +33,7 @@ OnUse: mesc l("PS. Additional reagents may be required for warps."); next; - .@x=reputation("Hurns"); + .@x=reputation("Hurns")+countitem(TimeFlask)-1; menu l("Don't warp"), -, @@ -59,7 +59,7 @@ L_LoF: } else { doevent "shake::OnGM"; warp "017-1", 120, 89; - TELEPORTER_TIME=gettimetick(2)+(60*30)-(.@x*60); + TELEPORTER_TIME=gettimetick(2)+(60*50)-(.@x*60); } closedialog; end; -- cgit v1.2.3-60-g2f50