summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/clientversion.txt3
-rw-r--r--npc/functions/treasure.txt2
2 files changed, 3 insertions, 2 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index d79a58aaf..702ec6077 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -283,7 +283,8 @@ function script clientupdater {
if (MERCENARY_DAILYQUEST > 100) {
getitem BountyHunterHelmet, 1;
}
-
+ // Cleanup
+ deletearray RNGTREASURE_DATE;
}
diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt
index 834127a8b..0698d56ee 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*4; // Minimum 4 hours
+ RNGTREASURE_DATE[.@id]=gettimetick(2)+60*15; // Minimum 15 minutes
.@empty=getvariableofnpc(.empty, strnpcinfo(0));
if (!.@empty) {