summaryrefslogtreecommitdiff
path: root/npc/functions/gmbot.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-03 20:46:38 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-03 20:46:38 -0300
commit07e05d5f62cdcbbeb5e88fd3c1267bb14d812621 (patch)
tree025f28622fecb12ce1a27ac2d69d48bbae802a98 /npc/functions/gmbot.txt
parent893824c2be76d006c896235217f9323368a37ce5 (diff)
downloadserverdata-07e05d5f62cdcbbeb5e88fd3c1267bb14d812621.tar.gz
serverdata-07e05d5f62cdcbbeb5e88fd3c1267bb14d812621.tar.bz2
serverdata-07e05d5f62cdcbbeb5e88fd3c1267bb14d812621.tar.xz
serverdata-07e05d5f62cdcbbeb5e88fd3c1267bb14d812621.zip
Monster King death - safety flags
Diffstat (limited to 'npc/functions/gmbot.txt')
-rw-r--r--npc/functions/gmbot.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt
index caa44cedd..1211c6fd9 100644
--- a/npc/functions/gmbot.txt
+++ b/npc/functions/gmbot.txt
@@ -34,11 +34,14 @@
OnSlaveDie:
end;
OnBourneAgain:
- channelmes("#world", strcharinfo(0)+" did an act worth of notice.");
- dispbottom l("Oh well, this sucks, but that was only an illusion.");
- dispbottom l("The real Monster King is probably on his fortress. It'll take more than that to take him down.");
- getexp BaseLevel**3, 0;
- Mobpt = Mobpt + 165;
+ if (playerattached()) {
+ channelmes("#world", strcharinfo(0)+" did an act worth of notice.");
+ dispbottom l("Oh well, this sucks, but that was only an illusion.");
+ dispbottom l("The real Monster King is probably on his fortress. It'll take more than that to take him down.");
+ getexp BaseLevel**3, 0;
+ Mobpt = Mobpt + 165;
+ $MOST_HEROIC$=strcharinfo(0);
+ }
// We need to start over
.bar=true;
OnInit: