summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-26 10:47:04 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-26 10:47:04 -0300
commit7e677a902fd3c537513973f879d401ba5edb7863 (patch)
tree6a36d375f011b358ee8c802540071f924f33ab34 /npc
parentc1dee7e99e28417246ff4f465ce01dca9b05969e (diff)
downloadserverdata-7e677a902fd3c537513973f879d401ba5edb7863.tar.gz
serverdata-7e677a902fd3c537513973f879d401ba5edb7863.tar.bz2
serverdata-7e677a902fd3c537513973f879d401ba5edb7863.tar.xz
serverdata-7e677a902fd3c537513973f879d401ba5edb7863.zip
Maluses will only be 70% of bonuses (I'm not so evil >.>)
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 d141429ba..a6770c45f 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -573,6 +573,7 @@ function script csys_Apply {
// Apply a malus using array_pop (it was shuffled so we're fine)
.@vartp=array_pop(@csys_penalty);
.@malus=csys_BonusCalc(.@lv, .@lv2, .@vartp);
+ .@malus=.@malus*70/100;
setitemoptionbyindex(.@id, .@slot, .@vartp, -(.@malus));
.@slot+=1;