summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-27 11:37:02 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-27 11:37:02 -0300
commitb29f8151cf83f567d46fa166fc0874070af00480 (patch)
treee2f1708286614d03c1b8aac207102c27e079d52d
parent5aa51ec5c992ce47ea02184b6731e7ab14adfe5e (diff)
downloadserverdata-b29f8151cf83f567d46fa166fc0874070af00480.tar.gz
serverdata-b29f8151cf83f567d46fa166fc0874070af00480.tar.bz2
serverdata-b29f8151cf83f567d46fa166fc0874070af00480.tar.xz
serverdata-b29f8151cf83f567d46fa166fc0874070af00480.zip
Add extra item options
-rw-r--r--db/item_options.conf69
1 files changed, 67 insertions, 2 deletions
diff --git a/db/item_options.conf b/db/item_options.conf
index a117c6084..ab5a59f65 100644
--- a/db/item_options.conf
+++ b/db/item_options.conf
@@ -966,12 +966,12 @@ item_options_db: (
{
Id: 173
Name: "HP_DRAIN"
- Script: <" /* Needs more info */ ">
+ Script: <" bonus(bHPDrainValue, (getequippedoptioninfo(IT_OPT_VALUE)); ">
},
{
Id: 174
Name: "SP_DRAIN"
- Script: <" /* Needs more info */ ">
+ Script: <" bonus(bSPDrainValue, (getequippedoptioninfo(IT_OPT_VALUE)); ">
},
{
Id: 175
@@ -1032,5 +1032,70 @@ item_options_db: (
Id: 186
Name: "BODY_INDESTRUCTIBLE"
Script: <" bonus(bUnbreakableArmor, 1); ">
+},
+
+// TMW2 Scripts
+{
+ Id: 187
+ Name: "IOPT_SPLASHDAMAGE"
+ Script: <" bonus(bSplashRange, (getequippedoptioninfo(IT_OPT_VALUE)); ">
+},
+{
+ Id: 188
+ Name: "IOPT_WALKSPEED"
+ Script: <" bonus(bSpeedAddRate, (getequippedoptioninfo(IT_OPT_VALUE)); ">
+},
+{
+ Id: 189
+ Name: "IOPT_EXPGAIN"
+ Script: <" bonus2(bExpAddRace, RC_All, (getequippedoptioninfo(IT_OPT_VALUE)); ">
+},
+{
+ Id: 190
+ Name: "IOPT_DOUBLEATTACK"
+ Script: <" bonus(bDoubleAddRate, (getequippedoptioninfo(IT_OPT_VALUE)); ">
+},
+{
+ Id: 191
+ Name: "IOPT_SCRESIST_POISON"
+ Script: <" bonus2(bResEff,Eff_Poison,(getequippedoptioninfo(IT_OPT_VALUE)); ">
+},
+{
+ Id: 192
+ Name: "IOPT_SCRESIST_SILENCE"
+ Script: <" bonus2(bResEff,Eff_Silence,(getequippedoptioninfo(IT_OPT_VALUE)); ">
+},
+{
+ Id: 193
+ Name: "IOPT_SCRESIST_CURSE"
+ Script: <" bonus2(bResEff,Eff_Curse,(getequippedoptioninfo(IT_OPT_VALUE)); ">
+},
+{
+ Id: 194
+ Name: "IOPT_SCRESIST_BLIND"
+ Script: <" bonus2(bResEff,Eff_Blind,(getequippedoptioninfo(IT_OPT_VALUE)); ">
+},
+{
+ Id: 195
+ Name: "IOPT_SCPROVOKE_POISON"
+ Script: <" bonus2(bAddEff,Eff_Poison,(getequippedoptioninfo(IT_OPT_VALUE)); ">
+},
+{
+ Id: 196
+ Name: "IOPT_SCPROVOKE_SILENCE"
+ Script: <" bonus2(bAddEff,Eff_Silence,(getequippedoptioninfo(IT_OPT_VALUE)); ">
+},
+{
+ Id: 197
+ Name: "IOPT_SCPROVOKE_CURSE"
+ Script: <" bonus2(bAddEff,Eff_Curse,(getequippedoptioninfo(IT_OPT_VALUE)); ">
+},
+{
+ Id: 198
+ Name: "IOPT_SCPROVOKE_BLIND"
+ Script: <" bonus2(bAddEff,Eff_Blind,(getequippedoptioninfo(IT_OPT_VALUE)); ">
}
+
+
)
+