summaryrefslogtreecommitdiff
path: root/npc/functions/mkbot.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-23 17:41:13 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-23 17:41:13 -0300
commit9196fc6074b2c42f189c617062c618135f27c028 (patch)
tree3cf775a2d516e279b6187624fc62c02ea92bf744 /npc/functions/mkbot.txt
parent5c660f25dd3e78c1759f24537bb52ae9f71c2569 (diff)
downloadserverdata-9196fc6074b2c42f189c617062c618135f27c028.tar.gz
serverdata-9196fc6074b2c42f189c617062c618135f27c028.tar.bz2
serverdata-9196fc6074b2c42f189c617062c618135f27c028.tar.xz
serverdata-9196fc6074b2c42f189c617062c618135f27c028.zip
Fix bugs on Monster King
Diffstat (limited to 'npc/functions/mkbot.txt')
-rw-r--r--npc/functions/mkbot.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/functions/mkbot.txt b/npc/functions/mkbot.txt
index 5ad43d3ea..1f9be0dad 100644
--- a/npc/functions/mkbot.txt
+++ b/npc/functions/mkbot.txt
@@ -35,6 +35,8 @@
OnSlaveDie:
end;
OnBourneAgain:
+ // Reset aggro
+ $@MK_AGGRO=0;
if (playerattached()) {
channelmes("#world", strcharinfo(0)+" did an act worth of notice.");
dispbottom l("Oh well, this sucks, but that was only an illusion.");
@@ -60,8 +62,8 @@ OnInit:
.users=getusers(1);
.nearby=getusers(8);
.mp$="boss";
- .aid="200000";
- .cid="150002";
+ .aid=200000;
+ .cid=150002;
// Constants
// We should jump straight to loop (it runs every 90 seconds)