From 024f2e4c8231f0586599cc363c473bb3704ab63c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 25 Jan 2021 02:00:21 -0300 Subject: Nerf a bit Ihclot --- npc/craft/options.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/craft') 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)); -- cgit v1.2.3-70-g09d2