From 32eb788a74aee008fc5e740dd234b0e39bfc85c6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 4 Feb 2020 11:27:10 -0300 Subject: Configure HUB_Login to keep my char reg clean. It will erase the time tracking from RNGTREASURE when all of them elapsed. This is done with HUB_Logut(). (You must stay offline for at least 15 min) --- npc/functions/treasure.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions/treasure.txt') diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt index 46434eaad..8b4df9e98 100644 --- a/npc/functions/treasure.txt +++ b/npc/functions/treasure.txt @@ -21,7 +21,7 @@ function script TreasureBox { delitem TreasureKey, 1; mesc l("You open the chest!"); - RNGTREASURE_DATE[.@id]=gettimetick(2)+60*15; // Minimum 15 minutes + RNGTREASURE_DATE[.@id]=gettimetick(2)+CHEST_WAITTIME; // Minimum 15 minutes .@empty=getvariableofnpc(.empty, strnpcinfo(0)); if (!.@empty) { -- cgit v1.2.3-60-g2f50