summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-10-17 12:44:22 -0300
committerJesusaves <cpntb1@ymail.com>2021-10-17 12:44:22 -0300
commit09cd5e8259db6444dde4df6e00db0a30643df7a3 (patch)
treec7ba9d2dabede2a2f664b097595ce6a90de0696b
parentbf42b71aa8d4bbe6e06f97da44cc0fc741b9869e (diff)
downloadserverdata-09cd5e8259db6444dde4df6e00db0a30643df7a3.tar.gz
serverdata-09cd5e8259db6444dde4df6e00db0a30643df7a3.tar.bz2
serverdata-09cd5e8259db6444dde4df6e00db0a30643df7a3.tar.xz
serverdata-09cd5e8259db6444dde4df6e00db0a30643df7a3.zip
Replace some `doevent inc_sc_bonus` with `callfunc SC_Bonus`.
However, this means scripts e.g. Injuried Mouboo will read it as no effect.
-rw-r--r--db/re/item_db.conf30
1 files changed, 5 insertions, 25 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 5a77b07fd..40e66e07d 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -2701,11 +2701,7 @@ item_db: (
Refine: false
Delay: 500
Script: <"
- @min = 10;
- @max = 20;
- @delay = 65;
- @type = SC_INCLUK;
- doevent "inc_sc_bonus::OnUse";
+ callfunc "SC_Bonus", 65, SC_INCLUK, 10, 20;
">
},
{
@@ -2719,11 +2715,7 @@ item_db: (
Refine: false
Delay: 500
Script: <"
- @min = 20;
- @max = 30;
- @delay = 55;
- @type = SC_INCLUK;
- doevent "inc_sc_bonus::OnUse";
+ callfunc "SC_Bonus", 55, SC_INCLUK, 20, 30;
">
},
{
@@ -2737,11 +2729,7 @@ item_db: (
Refine: false
Delay: 500
Script: <"
- @min = 5;
- @max = 10;
- @delay = 75;
- @type = SC_INCDEX;
- doevent "inc_sc_bonus::OnUse";
+ callfunc "SC_Bonus", 75, SC_INCDEX, 5, 10;
">
},
{
@@ -2755,11 +2743,7 @@ item_db: (
Refine: false
Delay: 500
Script: <"
- @min = 10;
- @max = 20;
- @delay = 65;
- @type = SC_INCDEX;
- doevent "inc_sc_bonus::OnUse";
+ callfunc "SC_Bonus", 65, SC_INCDEX, 10, 20;
">
},
{
@@ -2773,11 +2757,7 @@ item_db: (
Refine: false
Delay: 500
Script: <"
- @min = 20;
- @max = 30;
- @delay = 55;
- @type = SC_INCDEX;
- doevent "inc_sc_bonus::OnUse";
+ callfunc "SC_Bonus", 55, SC_INCDEX, 20, 30;
">
},
{