summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-28 17:30:29 +0000
committerWildX <wildx@evolonline.org>2019-04-28 17:30:29 +0000
commit700f027d7eeaec81f09527fe89704541a065f1f8 (patch)
treeac29fb2f741bc52daa3f53865b990490503332d7 /db
parentfa061c5c0d2c77d9d9276f61a71f20b6c0ad4843 (diff)
downloadserverdata-700f027d7eeaec81f09527fe89704541a065f1f8.tar.gz
serverdata-700f027d7eeaec81f09527fe89704541a065f1f8.tar.bz2
serverdata-700f027d7eeaec81f09527fe89704541a065f1f8.tar.xz
serverdata-700f027d7eeaec81f09527fe89704541a065f1f8.zip
Prevent Cookies from being used for "too long"
Diffstat (limited to 'db')
-rw-r--r--db/re/item_db.conf12
1 files changed, 11 insertions, 1 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 40f51c00..7dec6d2b 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -612,8 +612,18 @@ item_db: (
Trade: {
nodrop: true
noselltonpc: true
+ nogstorage: true
+ nomail: true
}
- Sprite: 0
+ OnEquipScript: <"
+ if (gettimetick(2) < COOKIE_COOLDOWN) {
+ unequip(EQI_HEAD_MID);
+ //dispbottom l("You need to wait @@ more before equipping this again.", FuzzyTime(COOKIE_COOLDOWN));
+ end;
+ }
+ COOKIE_COOLDOWN=gettimetick(2)+600;
+ addtimer 60000, "#DeliciousCookie::OnUnequip";
+ ">
},
{
Id: 518