summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-08 15:54:10 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-08 15:54:10 -0300
commitc4c0e10734714b14554f3c35b82722c972cb3a56 (patch)
tree491a6dc993ccfedb7a22d9f19cd660826110417b
parent48e22c94b1b6c8db8d7f0be904c23b2558736632 (diff)
downloadserverdata-c4c0e10734714b14554f3c35b82722c972cb3a56.tar.gz
serverdata-c4c0e10734714b14554f3c35b82722c972cb3a56.tar.bz2
serverdata-c4c0e10734714b14554f3c35b82722c972cb3a56.tar.xz
serverdata-c4c0e10734714b14554f3c35b82722c972cb3a56.zip
Tolchi - Randomize all bonuses
-rw-r--r--npc/005-4/tolchi.txt1
1 files changed, 1 insertions, 0 deletions
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);