summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-12 21:59:44 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-12 21:59:44 -0300
commit91e4fdfb4e4b61443f1ab6757afe37f84da953ce (patch)
tree0c118571e78613f4d1c0d122f17e07ad798c0be4 /npc
parente21bd50b9482c17b5207f691c574111e68b762ba (diff)
downloadserverdata-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 'npc')
-rw-r--r--npc/craft/options.txt1
1 files changed, 1 insertions, 0 deletions
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: