summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-10-17 12:46:09 -0300
committerJesusaves <cpntb1@ymail.com>2021-10-17 12:46:09 -0300
commita5f3a85759d3d7d25b37507f31853af1ebd19f07 (patch)
treef97c05b4d73805a254159a4c2874fe8e0f05e71a /npc
parent09cd5e8259db6444dde4df6e00db0a30643df7a3 (diff)
downloadserverdata-a5f3a85759d3d7d25b37507f31853af1ebd19f07.tar.gz
serverdata-a5f3a85759d3d7d25b37507f31853af1ebd19f07.tar.bz2
serverdata-a5f3a85759d3d7d25b37507f31853af1ebd19f07.tar.xz
serverdata-a5f3a85759d3d7d25b37507f31853af1ebd19f07.zip
Actually - Do the Injuried Mouboo code even work?
Diffstat (limited to 'npc')
-rw-r--r--npc/014-2/mouboo.txt7
1 files changed, 6 insertions, 1 deletions
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;