From 99d34a1e7c73a3dd7cbda8a227f030a1fc82a254 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 8 Jan 2021 15:54:48 -0300 Subject: Okay, not all bonuses, just those above 5% --- npc/005-4/tolchi.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt index 37301a7ce..5b9a4f69e 100644 --- a/npc/005-4/tolchi.txt +++ b/npc/005-4/tolchi.txt @@ -338,7 +338,8 @@ function tolchi_tweaks { // Apply the bonus .@bonus=csys_Multiplier(.@lv); .@bonus=limit(1, .@bonus, 25); - .@bonus=max(1, rand2(.@bonus/2, .@bonus)); + if (.@bonus > 5) + .@bonus=rand2(5, .@bonus); if (.@vartp == VAR_MAXHPAMOUNT) .@bonus+=rand2(25); setitemoptionbyindex(.@id, 0, .@vartp, .@bonus); -- cgit v1.2.3-60-g2f50