summaryrefslogtreecommitdiff
path: root/npc/026-7
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-17 20:52:43 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-17 20:52:43 -0300
commit872cef117e9a5916c4314cb06074ed6bc17c0976 (patch)
treecec06be9e508dbcb004a6d282955dae5715e28a0 /npc/026-7
parent1cace78799e1510db22e12afd14a74b43b4657af (diff)
downloadserverdata-872cef117e9a5916c4314cb06074ed6bc17c0976.tar.gz
serverdata-872cef117e9a5916c4314cb06074ed6bc17c0976.tar.bz2
serverdata-872cef117e9a5916c4314cb06074ed6bc17c0976.tar.xz
serverdata-872cef117e9a5916c4314cb06074ed6bc17c0976.zip
Buff Rain of Death to 4% and fix the bug which made that 100%
Diffstat (limited to 'npc/026-7')
-rw-r--r--npc/026-7/boss.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/026-7/boss.txt b/npc/026-7/boss.txt
index a46953716..da159e2ae 100644
--- a/npc/026-7/boss.txt
+++ b/npc/026-7/boss.txt
@@ -307,7 +307,7 @@ OnTimer10000:
.@msg$ = sprintf("Witness my sublime rain of death. Regeneration!");
.@hp=getunitdata(.@mob, UDT_HP);
.@mp=getunitdata(.@mob, UDT_MAXHP);
- .@hp = max(.@mp, .@hp + (.@mp / 250)); // Regenerates 0.4% HP
+ .@hp = limit(.@hp, .@hp + (.@mp / 25), .@mp); // Regenerates 4% HP
setunitdata(.@mob, UDT_HP, min(.@hp, .@mp));
.@mobid=(rand2(.@lv) > 50 ? DeathCat : GreenSkullSlime);
monster(.@m$, .@x, .@y, strmobinfo(1, .@mobid), .@mobid, 1);