summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-03-08 20:07:07 +0100
committerGitHub <noreply@github.com>2020-03-08 20:07:07 +0100
commitcdf4ed83a631c1724ef1bf829d6b3b9927a64af3 (patch)
treec832a8b956fb52f1ee9ea94e73cfe16138ccdb1d
parentc391e8ce0dbf1c3e88a94afe8225865ef74e2711 (diff)
parent45c50ec072f9d685065925c672d1912a439943c8 (diff)
downloadhercules-cdf4ed83a631c1724ef1bf829d6b3b9927a64af3.tar.gz
hercules-cdf4ed83a631c1724ef1bf829d6b3b9927a64af3.tar.bz2
hercules-cdf4ed83a631c1724ef1bf829d6b3b9927a64af3.tar.xz
hercules-cdf4ed83a631c1724ef1bf829d6b3b9927a64af3.zip
Merge pull request #2634 from Kenpachi2k13/item_db_update
Update items 12459-12465
-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