summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/constants.conf5
-rw-r--r--db/re/item_db.conf14
-rw-r--r--db/sc_config.conf7
3 files changed, 16 insertions, 10 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 56657b1a..551da2c3 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -4763,6 +4763,11 @@ more than one separator can be used in a row (so 12_3___456 is illegal).
SI_SUHIDE: 933
SI_SPRITEMABLE: 937
SI_MADOGEAR: 1149
+ // Hercules SI end at 1150 and our start right after
+ // (Which is annoying because they may be saved to SQL)
+ // So expect we jumping from 1151 to 1500 in future
+ SI_CONFUSION: 1151
+
/* ==================================================== */
/** evol constants **/
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);
">
},
{
diff --git a/db/sc_config.conf b/db/sc_config.conf
index 46f89308..b6cf8530 100644
--- a/db/sc_config.conf
+++ b/db/sc_config.conf
@@ -47,6 +47,13 @@ SC_TYPE: {
Icon: (string, defaults to SI_BLANK) The status icon attached to the SC
}
**************************************************************************/
+SC_CONFUSION: {
+ Flags: {
+ NoSave: true
+ NoBoss: true
+ }
+ Icon: "SI_CONFUSION"
+}
SC_PROVOKE: {
Flags: {
Debuff: true