From 872cef117e9a5916c4314cb06074ed6bc17c0976 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 17 May 2024 20:52:43 -0300 Subject: Buff Rain of Death to 4% and fix the bug which made that 100% --- npc/026-7/boss.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/026-7') 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); -- cgit v1.2.3-70-g09d2