summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-07-02 14:11:56 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-07-03 06:27:15 +0200
commit89f922d5d94cc14847fbb173a812013f8386ae96 (patch)
treef5fa28e292784069f4b1452954de9085a3919023
parent752ecfc8203261cf4531867bb18240090683f79b (diff)
downloadhercules-89f922d5d94cc14847fbb173a812013f8386ae96.tar.gz
hercules-89f922d5d94cc14847fbb173a812013f8386ae96.tar.bz2
hercules-89f922d5d94cc14847fbb173a812013f8386ae96.tar.xz
hercules-89f922d5d94cc14847fbb173a812013f8386ae96.zip
Update shadow shields which use bSubDefEle/bMagicSubDefEle bonus
-rw-r--r--db/re/item_db.conf102
1 files changed, 61 insertions, 41 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index c2beab4d3..1356967b5 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -152580,12 +152580,14 @@ item_db: (
AegisName: "S_Basis_Shield"
Name: "Basis Shadow Shield"
Type: "IT_ARMOR"
- Buy: 10
+ Buy: 20
Loc: "EQP_SHADOW_SHIELD"
Script: <"
- /* Reduces physical and magical damage receive from Neutral property monsters by 1%. */
- /* Refined to +7, reduces physical and magical damage receive from Neutral property monsters by 1%. */
- /* Refined to +9, reduces physical and magical damage receive from Neutral property monsters by 1%. */
+ .@refine = getrefine();
+ bonus(bMaxHP, .@refine * 10);
+ .@rate = ((.@refine > 8) ? 3 : ((.@refine > 6) ? 2 : 1));
+ bonus3(bSubDefEle, Ele_Neutral, .@rate, 3);
+ bonus3(bMagicSubDefEle, Ele_Neutral, .@rate, 3);
">
},
{
@@ -152593,12 +152595,14 @@ item_db: (
AegisName: "S_Hallowed_Shield"
Name: "Hallowed Shadow Shield"
Type: "IT_ARMOR"
- Buy: 10
+ Buy: 20
Loc: "EQP_SHADOW_SHIELD"
Script: <"
- /* Reduces physical and magical damage receive from Shadow property monsters by 1%. */
- /* Refined to +7, reduces physical and magical damage receive from Shadow property monsters by 1%. */
- /* Refined to +9, reduces physical and magical damage receive from Shadow property monsters by 1%. */
+ .@refine = getrefine();
+ bonus(bMaxHP, .@refine * 10);
+ .@rate = ((.@refine > 8) ? 3 : ((.@refine > 6) ? 2 : 1));
+ bonus3(bSubDefEle, Ele_Dark, .@rate, 3);
+ bonus3(bMagicSubDefEle, Ele_Dark, .@rate, 3);
">
},
{
@@ -152606,12 +152610,14 @@ item_db: (
AegisName: "S_Saharic_Shield"
Name: "Saharic Shadow Shield"
Type: "IT_ARMOR"
- Buy: 10
+ Buy: 20
Loc: "EQP_SHADOW_SHIELD"
Script: <"
- /* Reduces physical and magical damage receive from Water property monsters by 1%. */
- /* Refined to +7, reduces physical and magical damage receive from Water property monsters by 1%. */
- /* Refined to +9, reduces physical and magical damage receive from Water property monsters by 1%. */
+ .@refine = getrefine();
+ bonus(bMaxHP, .@refine * 10);
+ .@rate = ((.@refine > 8) ? 3 : ((.@refine > 6) ? 2 : 1));
+ bonus3(bSubDefEle, Ele_Water, .@rate, 3);
+ bonus3(bMagicSubDefEle, Ele_Water, .@rate, 3);
">
},
{
@@ -152619,25 +152625,29 @@ item_db: (
AegisName: "S_Underneath_Shield"
Name: "Underneath Shadow Shield"
Type: "IT_ARMOR"
- Buy: 10
+ Buy: 20
Loc: "EQP_SHADOW_SHIELD"
Script: <"
- /* Reduces physical and magical damage receive from Earth property monsters by 1%. */
- /* Refined to +7, reduces physical and magical damage receive from Earth property monsters by 1%. */
- /* Refined to +9, reduces physical and magical damage receive from Earth property monsters by 1%. */
+ .@refine = getrefine();
+ bonus(bMaxHP, .@refine * 10);
+ .@rate = ((.@refine > 8) ? 3 : ((.@refine > 6) ? 2 : 1));
+ bonus3(bSubDefEle, Ele_Earth, .@rate, 3);
+ bonus3(bMagicSubDefEle, Ele_Earth, .@rate, 3);
">
},
{
Id: 24202
AegisName: "S_Flam_Shield"
- Name: "Flammable Shadow Shield"
+ Name: "Flame Shadow Shield"
Type: "IT_ARMOR"
- Buy: 10
+ Buy: 20
Loc: "EQP_SHADOW_SHIELD"
Script: <"
- /* Reduces physical and magical damage receive from Fire property monsters by 1%. */
- /* Refined to +7, reduces physical and magical damage receive from Fire property monsters by 1%. */
- /* Refined to +9, reduces physical and magical damage receive from Fire property monsters by 1%. */
+ .@refine = getrefine();
+ bonus(bMaxHP, .@refine * 10);
+ .@rate = ((.@refine > 8) ? 3 : ((.@refine > 6) ? 2 : 1));
+ bonus3(bSubDefEle, Ele_Fire, .@rate, 3);
+ bonus3(bMagicSubDefEle, Ele_Fire, .@rate, 3);
">
},
{
@@ -152645,12 +152655,14 @@ item_db: (
AegisName: "S_Windy_Shield"
Name: "Windy Shadow Shield"
Type: "IT_ARMOR"
- Buy: 10
+ Buy: 20
Loc: "EQP_SHADOW_SHIELD"
Script: <"
- /* Reduces physical and magical damage receive from Wind property monsters by 1%. */
- /* Refined to +7, reduces physical and magical damage receive from Wind property monsters by 1%. */
- /* Refined to +9, reduces physical and magical damage receive from Wind property monsters by 1%. */
+ .@refine = getrefine();
+ bonus(bMaxHP, .@refine * 10);
+ .@rate = ((.@refine > 8) ? 3 : ((.@refine > 6) ? 2 : 1));
+ bonus3(bSubDefEle, Ele_Wind, .@rate, 3);
+ bonus3(bMagicSubDefEle, Ele_Wind, .@rate, 3);
">
},
{
@@ -152658,12 +152670,14 @@ item_db: (
AegisName: "S_Envenom_Shield"
Name: "Envenom Shadow Shield"
Type: "IT_ARMOR"
- Buy: 10
+ Buy: 20
Loc: "EQP_SHADOW_SHIELD"
Script: <"
- /* Reduces physical and magical damage receive from Poison property monsters by 1%. */
- /* Refined to +7, reduces physical and magical damage receive from Poison property monsters by 1%. */
- /* Refined to +9, reduces physical and magical damage receive from Poison property monsters by 1%. */
+ .@refine = getrefine();
+ bonus(bMaxHP, .@refine * 10);
+ .@rate = ((.@refine > 8) ? 3 : ((.@refine > 6) ? 2 : 1));
+ bonus3(bSubDefEle, Ele_Poison, .@rate, 3);
+ bonus3(bMagicSubDefEle, Ele_Poison, .@rate, 3);
">
},
{
@@ -152671,12 +152685,14 @@ item_db: (
AegisName: "S_Damned_Shield"
Name: "Damned Shadow Shield"
Type: "IT_ARMOR"
- Buy: 10
+ Buy: 20
Loc: "EQP_SHADOW_SHIELD"
Script: <"
- /* Reduces physical and magical damage receive from Holy property monsters by 1%. */
- /* Refined to +7, reduces physical and magical damage receive from Holy property monsters by 1%. */
- /* Refined to +9, reduces physical and magical damage receive from Holy property monsters by 1%. */
+ .@refine = getrefine();
+ bonus(bMaxHP, .@refine * 10);
+ .@rate = ((.@refine > 8) ? 3 : ((.@refine > 6) ? 2 : 1));
+ bonus3(bSubDefEle, Ele_Holy, .@rate, 3);
+ bonus3(bMagicSubDefEle, Ele_Holy, .@rate, 3);
">
},
{
@@ -152684,12 +152700,14 @@ item_db: (
AegisName: "S_Geist_Shield"
Name: "Exorcism Shadow Shield"
Type: "IT_ARMOR"
- Buy: 10
+ Buy: 20
Loc: "EQP_SHADOW_SHIELD"
Script: <"
- /* Reduces physical and magical damage receive from Ghost property monsters by 1%. */
- /* Refined to +7, reduces physical and magical damage receive from Ghost property monsters by 1%. */
- /* Refined to +9, reduces physical and magical damage receive from Ghost property monsters by 1%. */
+ .@refine = getrefine();
+ bonus(bMaxHP, .@refine * 10);
+ .@rate = ((.@refine > 8) ? 3 : ((.@refine > 6) ? 2 : 1));
+ bonus3(bSubDefEle, Ele_Ghost, .@rate, 3);
+ bonus3(bMagicSubDefEle, Ele_Ghost, .@rate, 3);
">
},
{
@@ -152697,12 +152715,14 @@ item_db: (
AegisName: "S_Divine_Shield"
Name: "Divine Shadow Shield"
Type: "IT_ARMOR"
- Buy: 10
+ Buy: 20
Loc: "EQP_SHADOW_SHIELD"
Script: <"
- /* Reduces physical and magical damage receive from Undead property monsters by 1%. */
- /* Refined to +7, reduces physical and magical damage receive from Undead property monsters by 1%. */
- /* Refined to +9, reduces physical and magical damage receive from Undead property monsters by 1%. */
+ .@refine = getrefine();
+ bonus(bMaxHP, .@refine * 10);
+ .@rate = ((.@refine > 8) ? 3 : ((.@refine > 6) ? 2 : 1));
+ bonus3(bSubDefEle, Ele_Undead, .@rate, 3);
+ bonus3(bMagicSubDefEle, Ele_Undead, .@rate, 3);
">
},
{