From a5f3a85759d3d7d25b37507f31853af1ebd19f07 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 17 Oct 2021 12:46:09 -0300 Subject: Actually - Do the Injuried Mouboo code even work? --- npc/014-2/mouboo.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/npc/014-2/mouboo.txt b/npc/014-2/mouboo.txt index 303310551..8f116ea52 100644 --- a/npc/014-2/mouboo.txt +++ b/npc/014-2/mouboo.txt @@ -96,12 +96,17 @@ L_Begin: itemeffect(.@id); // As a bonus, you'll be healed too, because I need to retrieve @max value // You need about 9.000 HP-worth healing items, and you can't use Mouboo Steak - @val1*=rand2(3,5); // Average delay + @val1*=rand2(3,5); // Average delay (FIXME: Is @val1 available?) if (.@id == ElixirOfLife) setq2 HurnscaldQuest_InjuriedMouboo, 9999; else setq2 HurnscaldQuest_InjuriedMouboo, .@q2+((@val1)/10); + // Get rid of temporary variables, if it haven't happened yet + @min = 0; + @max = 0; + @val1 = 0; + .@q2=getq2(HurnscaldQuest_InjuriedMouboo); if (.@q2 > 1000) { mesc l("This will be remembered."), 6; -- cgit v1.2.3-60-g2f50