From 45c50ec072f9d685065925c672d1912a439943c8 Mon Sep 17 00:00:00 2001 From: Kenpachi Developer Date: Wed, 19 Feb 2020 04:10:15 +0100 Subject: Update items 12459-12465 * Added bonus scripts. * Fixed names in pre-RE item DB. --- db/pre-re/item_db.conf | 43 ++++++++++++++++++++++++++++++++++++------- db/re/item_db.conf | 29 +++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 7 deletions(-) diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf index 3e760b62a..3ce62a0fe 100644 --- a/db/pre-re/item_db.conf +++ b/db/pre-re/item_db.conf @@ -71895,51 +71895,80 @@ item_db: ( { Id: 12459 AegisName: "F_Med_Life_Potion" - Name: "F Med Life Potion" + Name: "Medium Life Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_HEAL3, AREA, playerattached()); + sc_start2(SC_M_LIFEPOTION, 600000, -7, 4); + "> }, { Id: 12460 AegisName: "F_Small_Life_Potion" - Name: "F Small Life Potion" + Name: "Small Life Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_HEAL3, AREA, playerattached()); + /* Probably it should be 5% instead of 7%, but we'll follow the client side description... */ + sc_start2(SC_S_LIFEPOTION, 600000, -7, 4); + "> }, { Id: 12461 AegisName: "F_Regeneration_Potion" - Name: "F Regeneration Potion" + Name: "Regeneration Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); + sc_start(SC_HEALPLUS, 1800000, 20); + "> }, { Id: 12462 AegisName: "F_B_Mdef_Potion" - Name: "F B Mdef Potion" + Name: "Big Magic Defense Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); + sc_start(SC_PROTECT_MDEF, 180000, 3); + "> }, { Id: 12463 AegisName: "F_S_Mdef_Potion" - Name: "F S Mdef Potion" + Name: "Small Magic Defense Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); + sc_start(SC_PROTECT_MDEF, 60000, 3); + "> }, { Id: 12464 AegisName: "F_B_Def_Potion" - Name: "F B Def Potion" + Name: "Big Defense Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_GUARD, AREA, playerattached()); + sc_start(SC_PROTECT_DEF, 180000, 3); + "> }, { Id: 12465 AegisName: "F_S_Def_Potion" - Name: "F S Def Potion" + Name: "Small Defense Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_GUARD, AREA, playerattached()); + sc_start(SC_PROTECT_DEF, 60000, 3); + "> }, { Id: 12466 diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 86bfe9f90..ed77cadc6 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -91531,6 +91531,10 @@ item_db: ( Name: "Medium Life Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_HEAL3, AREA, playerattached()); + sc_start2(SC_M_LIFEPOTION, 600000, -7, 4); + "> }, { Id: 12460 @@ -91538,6 +91542,11 @@ item_db: ( Name: "Small Life Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_HEAL3, AREA, playerattached()); + /* Probably it should be 5% instead of 7%, but we'll follow the client side description... */ + sc_start2(SC_S_LIFEPOTION, 600000, -7, 4); + "> }, { Id: 12461 @@ -91545,6 +91554,10 @@ item_db: ( Name: "Regeneration Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_LIGHTSPHERE, AREA, playerattached()); + sc_start(SC_HEALPLUS, 1800000, 20); + "> }, { Id: 12462 @@ -91552,6 +91565,10 @@ item_db: ( Name: "Big Magic Defense Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); + sc_start(SC_PROTECT_MDEF, 180000, 3); + "> }, { Id: 12463 @@ -91559,6 +91576,10 @@ item_db: ( Name: "Small Magic Defense Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_SPELLBREAKER, AREA, playerattached()); + sc_start(SC_PROTECT_MDEF, 60000, 3); + "> }, { Id: 12464 @@ -91566,6 +91587,10 @@ item_db: ( Name: "Big Defense Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_GUARD, AREA, playerattached()); + sc_start(SC_PROTECT_DEF, 180000, 3); + "> }, { Id: 12465 @@ -91573,6 +91598,10 @@ item_db: ( Name: "Small Defense Potion" Type: "IT_USABLE" Weight: 10 + Script: <" + specialeffect(EF_GUARD, AREA, playerattached()); + sc_start(SC_PROTECT_DEF, 60000, 3); + "> }, { Id: 12466 -- cgit v1.2.3-60-g2f50