summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-01 06:32:00 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-01 06:32:00 -0300
commite0d6dedc39027b68e798a96f63bd686e214ffca5 (patch)
tree6b14ed6276d980dd4464371ca6ffbc14a1a14cc1
parent5409f2f899a685425757932c13154bc6340463d1 (diff)
downloadserverdata-e0d6dedc39027b68e798a96f63bd686e214ffca5.tar.gz
serverdata-e0d6dedc39027b68e798a96f63bd686e214ffca5.tar.bz2
serverdata-e0d6dedc39027b68e798a96f63bd686e214ffca5.tar.xz
serverdata-e0d6dedc39027b68e798a96f63bd686e214ffca5.zip
Kamelot Key will now be rent for 24 hours.
This means less bugs in the long run
-rw-r--r--npc/042-5/ctrl.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/042-5/ctrl.txt b/npc/042-5/ctrl.txt
index f7538151a..4a4701a94 100644
--- a/npc/042-5/ctrl.txt
+++ b/npc/042-5/ctrl.txt
@@ -139,7 +139,7 @@ function script KamelotTreasure {
if (!.@empty) {
if (.@id == $KAMELOT_KEY[.@g]) {
dispbottom l("You found the key!");
- getitem KamelotKey, 1;
+ rentitem KamelotKey, 86400; // Ensure they expire after 24 hours
.@key=true;
}
.@r=rand2(10000)-$KAMELOT_MX[.@g]+100;