summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-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));