diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-01-08 15:54:10 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-01-08 15:54:10 -0300 |
commit | c4c0e10734714b14554f3c35b82722c972cb3a56 (patch) | |
tree | 491a6dc993ccfedb7a22d9f19cd660826110417b /npc/005-4 | |
parent | 48e22c94b1b6c8db8d7f0be904c23b2558736632 (diff) | |
download | serverdata-c4c0e10734714b14554f3c35b82722c972cb3a56.tar.gz serverdata-c4c0e10734714b14554f3c35b82722c972cb3a56.tar.bz2 serverdata-c4c0e10734714b14554f3c35b82722c972cb3a56.tar.xz serverdata-c4c0e10734714b14554f3c35b82722c972cb3a56.zip |
Tolchi - Randomize all bonuses
Diffstat (limited to 'npc/005-4')
-rw-r--r-- | npc/005-4/tolchi.txt | 1 |
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); |