diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-12 21:59:44 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-12 21:59:44 -0300 |
commit | 91e4fdfb4e4b61443f1ab6757afe37f84da953ce (patch) | |
tree | 0c118571e78613f4d1c0d122f17e07ad798c0be4 /db | |
parent | e21bd50b9482c17b5207f691c574111e68b762ba (diff) | |
download | serverdata-91e4fdfb4e4b61443f1ab6757afe37f84da953ce.tar.gz serverdata-91e4fdfb4e4b61443f1ab6757afe37f84da953ce.tar.bz2 serverdata-91e4fdfb4e4b61443f1ab6757afe37f84da953ce.tar.xz serverdata-91e4fdfb4e4b61443f1ab6757afe37f84da953ce.zip |
Due to a bug, critical rate could go up to 200%, but now I know the formula
works strangely. Cap this to 100%.
Diffstat (limited to 'db')
-rw-r--r-- | db/item_options.conf | 2 |
1 files changed, 1 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 |