summaryrefslogtreecommitdiff
path: root/db/re
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-10-11 16:25:51 +0000
committerMicksha <ms-shaman@gmx.de>2020-10-11 16:25:51 +0000
commitdbde28d58750225c967796e0c39ab4d4b709a4a2 (patch)
tree57c1392d62d9b00d796e32e07ddab18b9dfa648b /db/re
parent39536b4781e689c19ee2dd5a99cfd83e62bce126 (diff)
downloadserverdata-dbde28d58750225c967796e0c39ab4d4b709a4a2.tar.gz
serverdata-dbde28d58750225c967796e0c39ab4d4b709a4a2.tar.bz2
serverdata-dbde28d58750225c967796e0c39ab4d4b709a4a2.tar.xz
serverdata-dbde28d58750225c967796e0c39ab4d4b709a4a2.zip
AFKing System
Implemented at the Rusty Pick Inn (Hurnscald) only. Red Plush Inn will be next. Right now, beer/red plush wine/etc. do not affect EXP gain, only players nearby do. MAX_IDLE is using the same variable form as Moubootaur Legends. It can be set to a constant if needed. Wandering storytellers not yet implemented, I believe @toams will use Kfahr and Janus to do that laterâ„¢ ---- close evol-all#108
Diffstat (limited to 'db/re')
-rw-r--r--db/re/item_db.conf14
1 files changed, 4 insertions, 10 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index a2045f69..f3519779 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -711,11 +711,8 @@ item_db: (
Delay: 500
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 40;
- @max = 90;
- @delay = 5;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ // 30 minutes
+ sc_start(SC_CONFUSION, 1800000, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK);
">
},
{
@@ -898,11 +895,8 @@ item_db: (
Delay: 750
UseEffect: "EFFECT_HEAL"
Script: <"
- @min = 60;
- @max = 110;
- @delay = 8;
- @type = 1;
- doevent "rand_sc_heal::OnUse";
+ // 15 minutes
+ sc_start(SC_CONFUSION, 900000, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK);
">
},
{