summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/008-0/master.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/npc/008-0/master.txt b/npc/008-0/master.txt
index 64fecbaee..d4604fbaf 100644
--- a/npc/008-0/master.txt
+++ b/npc/008-0/master.txt
@@ -60,7 +60,7 @@
warpparty("008-1", 176, 20, getcharid(1), "008-0", true);
// TODO: Monsters
- monster("008-1", 90, 69, "Time Bonus", Scorpion, 1, "Party Master::OnAddTime");
+ monster("008-1", 90, 69, "Time Bonus", Scorpion, 1, "Party Master::OnMobTime");
close;
@@ -116,7 +116,11 @@ OnLoop:
}
end;
-// TODO: We must use areatimer() and grant time bonus to everyone who killed it
+OnMobTime:
+ getmapxy(.@m$, .@x, .@y, 0);
+ areatimer(.@m$, .@x-4, .@y-4, .@x+4, .@y+4, 10, "Party Master::OnAddTime");
+ end;
+
OnAddTime:
@pmloop=60;
end;