summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-08 15:53:02 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-08 15:53:02 -0300
commit48e22c94b1b6c8db8d7f0be904c23b2558736632 (patch)
tree8dbf0aaf3cf707bb3bf11f6a788b1021de8d46c4 /npc
parent1bc414310a0906475baeee27fb6b87b70d77bbba (diff)
downloadserverdata-48e22c94b1b6c8db8d7f0be904c23b2558736632.tar.gz
serverdata-48e22c94b1b6c8db8d7f0be904c23b2558736632.tar.bz2
serverdata-48e22c94b1b6c8db8d7f0be904c23b2558736632.tar.xz
serverdata-48e22c94b1b6c8db8d7f0be904c23b2558736632.zip
Tolchi MaxHP bonus - beef it up again
Diffstat (limited to 'npc')
-rw-r--r--npc/005-4/tolchi.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt
index a1d784caf..6d9e7c7e6 100644
--- a/npc/005-4/tolchi.txt
+++ b/npc/005-4/tolchi.txt
@@ -338,6 +338,8 @@ function tolchi_tweaks {
// Apply the bonus
.@bonus=csys_Multiplier(.@lv);
.@bonus=limit(1, .@bonus, 25);
+ if (.@vartp == VAR_MAXHPAMOUNT)
+ .@bonus+=rand2(25);
setitemoptionbyindex(.@id, 0, .@vartp, .@bonus);
// First time item bonus