diff options
-rw-r--r-- | db/item_options.conf | 2 | ||||
-rw-r--r-- | npc/craft/options.txt | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/db/item_options.conf b/db/item_options.conf index 777a5be85..f32e213ab 100644 --- a/db/item_options.conf +++ b/db/item_options.conf @@ -159,7 +159,7 @@ item_options_db: ( { Id: 24 Name: "VAR_CRITICALSUCCESSVALUE" - Script: <" bonus(bCritical, getequippedoptioninfo(IT_OPT_VALUE)); "> + Script: <" bonus(bCritical, min(100, getequippedoptioninfo(IT_OPT_VALUE))); "> }, { Id: 25 diff --git a/npc/craft/options.txt b/npc/craft/options.txt index 17daf5beb..ec96d081d 100644 --- a/npc/craft/options.txt +++ b/npc/craft/options.txt @@ -368,6 +368,7 @@ function script csys_Multiplier { case IOPT_DOUBLEATTACK: case VAR_PLUSAVOIDSUCCESSVALUE: case IOPT_EXPGAIN: + case VAR_CRITICALSUCCESSVALUE: return 5; case IOPT_SCRESIST_POISON: case IOPT_SCRESIST_SILENCE: |