summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-02-19 04:10:15 +0100
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-02-19 04:31:52 +0100
commit45c50ec072f9d685065925c672d1912a439943c8 (patch)
tree80df5dd2afcfe9324c0153540a40ab4d65b5d6de
parent9106bbab19b4feaa4623a3b8e5d59e08ef73b640 (diff)
downloadhercules-45c50ec072f9d685065925c672d1912a439943c8.tar.gz
hercules-45c50ec072f9d685065925c672d1912a439943c8.tar.bz2
hercules-45c50ec072f9d685065925c672d1912a439943c8.tar.xz
hercules-45c50ec072f9d685065925c672d1912a439943c8.zip
Update items 12459-12465
* Added bonus scripts. * Fixed names in pre-RE item DB.
-rw-r--r--db/pre-re/item_db.conf43
-rw-r--r--db/re/item_db.conf29
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