summaryrefslogtreecommitdiff
path: root/npc/craft
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-25 02:00:21 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-25 02:00:21 -0300
commit024f2e4c8231f0586599cc363c473bb3704ab63c (patch)
tree5854887c97e5897d446a9090283b8778bdfc3684 /npc/craft
parenta173292dcc537ba0040df87d694f2bb108ab944b (diff)
downloadserverdata-024f2e4c8231f0586599cc363c473bb3704ab63c.tar.gz
serverdata-024f2e4c8231f0586599cc363c473bb3704ab63c.tar.bz2
serverdata-024f2e4c8231f0586599cc363c473bb3704ab63c.tar.xz
serverdata-024f2e4c8231f0586599cc363c473bb3704ab63c.zip
Nerf a bit Ihclot
Diffstat (limited to 'npc/craft')
-rw-r--r--npc/craft/options.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt
index 36efa1b5e..0c40701f4 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -534,7 +534,7 @@ function script csys_BonusCalc {
.@base=rand2(1, .@avg+1);
}
} else {
- .@base=rand2(max(1, .@avg*9/10), .@avg+1);
+ .@base=rand2(max(1, .@avg*8/10), .@avg+1);
}
////////////////////////////////////
@@ -687,7 +687,7 @@ function script csys_ApplyPerfect {
while (.@slot < min(3, .@max_attr)) {
// Apply a bonus using array_pop (it was shuffled so we're fine)
.@vartp=array_pop(@csys_attr);
- .@bonus=csys_BonusCalc(10, .@lv, .@vartp, .@eqplv, true);
+ .@bonus=csys_BonusCalc(0, .@lv, .@vartp, .@eqplv, true);
setitemoptionbyindex(.@id, .@slot, .@vartp, .@bonus);
//debugmes "Bonus applied: %d at %d (slot: %d)", .@vartp, .@bonus, .@slot;
.@slot+=1;
@@ -696,7 +696,7 @@ function script csys_ApplyPerfect {
if (.@max_pena) {
// Apply a malus using array_pop (it was shuffled so we're fine)
.@vartp=array_pop(@csys_penalty);
- .@malus=csys_BonusCalc(10, .@lv, .@vartp, .@eqplv, true);
+ .@malus=csys_BonusCalc(0, .@lv, .@vartp, .@eqplv, true);
.@malus=.@malus*70/100;
if (.@vartp > 0 && .@malus > 0)
setitemoptionbyindex(.@id, .@slot, .@vartp, -(.@malus));