From 09cd5e8259db6444dde4df6e00db0a30643df7a3 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 17 Oct 2021 12:44:22 -0300 Subject: Replace some `doevent inc_sc_bonus` with `callfunc SC_Bonus`. However, this means scripts e.g. Injuried Mouboo will read it as no effect. --- db/re/item_db.conf | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-) (limited to 'db') 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; "> }, { -- cgit v1.2.3-60-g2f50