summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/item_options.conf38
1 files changed, 19 insertions, 19 deletions
diff --git a/db/item_options.conf b/db/item_options.conf
index 6899ffd38..a700b34b1 100644
--- a/db/item_options.conf
+++ b/db/item_options.conf
@@ -84,32 +84,32 @@ item_options_db: (
{
Id: 9
Name: "VAR_MAXHPPERCENT"
- Script: <" bonus(bMaxHPrate, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bMaxHPrate, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 10
Name: "VAR_MAXSPPERCENT"
- Script: <" bonus(bMaxSPrate, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bMaxSPrate, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 11
Name: "VAR_HPACCELERATION"
- Script: <" bonus(bHPrecovRate, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bHPrecovRate, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 12
Name: "VAR_SPACCELERATION"
- Script: <" bonus(bSPrecovRate, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bSPrecovRate, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 13
Name: "VAR_ATKPERCENT"
- Script: <" bonus(bAtkRate, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bAtkRate, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 14
Name: "VAR_MAGICATKPERCENT"
- Script: <" bonus(bMatkRate, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bMatkRate, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 15
@@ -144,7 +144,7 @@ item_options_db: (
{
Id: 21
Name: "VAR_MDEFPOWER"
- Script: <" bonus(bMdef, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bMdef, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 22
@@ -154,12 +154,12 @@ item_options_db: (
{
Id: 23
Name: "VAR_PLUSAVOIDSUCCESSVALUE"
- Script: <" bonus(bFlee2, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bFlee2, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 24
Name: "VAR_CRITICALRATE"
- Script: <" bonus(bCriticalRate, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bCriticalRate, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 25
@@ -938,7 +938,7 @@ item_options_db: (
{
Id: 164
Name: "DAMAGE_CRI_TARGET"
- Script: <" bonus(bCritAtkRate, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bCritAtkRate, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 165
@@ -948,7 +948,7 @@ item_options_db: (
{
Id: 166
Name: "RANGE_ATTACK_DAMAGE_TARGET"
- Script: <" bonus(bLongAtkRate, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bLongAtkRate, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 167
@@ -968,17 +968,17 @@ item_options_db: (
{
Id: 170
Name: "DEC_SPELL_CAST_TIME"
- Script: <" bonus(bVariableCastrate, -(getequippedoptioninfo(IT_OPT_VALUE))); ">
+ Script: <" bonus(bVariableCastrate, -(min(100, getequippedoptioninfo(IT_OPT_VALUE)))); ">
},
{
Id: 171
Name: "DEC_SPELL_DELAY_TIME"
- Script: <" bonus(bDelayrate, -(getequippedoptioninfo(IT_OPT_VALUE))); ">
+ Script: <" bonus(bDelayrate, -(min(100, getequippedoptioninfo(IT_OPT_VALUE)))); ">
},
{
Id: 172
Name: "DEC_SP_CONSUMPTION"
- Script: <" bonus(bUseSPrate, -(getequippedoptioninfo(IT_OPT_VALUE))); ">
+ Script: <" bonus(bUseSPrate, -(min(100, getequippedoptioninfo(IT_OPT_VALUE)))); ">
},
{
Id: 173
@@ -1060,17 +1060,17 @@ item_options_db: (
{
Id: 188
Name: "IOPT_WALKSPEED"
- Script: <" bonus(bSpeedAddRate, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bSpeedAddRate, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 189
Name: "IOPT_EXPGAIN"
- Script: <" bonus2(bExpAddRace, RC_All, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus2(bExpAddRace, RC_All, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 190
Name: "IOPT_DOUBLEATTACK"
- Script: <" bonus(bDoubleAddRate, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bDoubleAddRate, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 191
@@ -1115,12 +1115,12 @@ item_options_db: (
{
Id: 199
Name: "IOPT_CRITDMG"
- Script: <" bonus(bCritAtkRate, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus(bCritAtkRate, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
},
{
Id: 200
Name: "IOPT_RICHNESS"
- Script: <" bonus2(bAddGetZenyNum, -2, getequippedoptioninfo(IT_OPT_VALUE)); ">
+ Script: <" bonus2(bAddGetZenyNum, -2, min(100, getequippedoptioninfo(IT_OPT_VALUE))); ">
}