From c4c0e10734714b14554f3c35b82722c972cb3a56 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 8 Jan 2021 15:54:10 -0300 Subject: Tolchi - Randomize all bonuses --- npc/005-4/tolchi.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'npc/005-4') diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt index 6d9e7c7e6..37301a7ce 100644 --- a/npc/005-4/tolchi.txt +++ b/npc/005-4/tolchi.txt @@ -338,6 +338,7 @@ function tolchi_tweaks { // Apply the bonus .@bonus=csys_Multiplier(.@lv); .@bonus=limit(1, .@bonus, 25); + .@bonus=max(1, rand2(.@bonus/2, .@bonus)); if (.@vartp == VAR_MAXHPAMOUNT) .@bonus+=rand2(25); setitemoptionbyindex(.@id, 0, .@vartp, .@bonus); -- cgit v1.2.3-70-g09d2