summaryrefslogtreecommitdiff
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
parent893824c2be76d006c896235217f9323368a37ce5 (diff)
downloadserverdata-07e05d5f62cdcbbeb5e88fd3c1267bb14d812621.tar.gz
serverdata-07e05d5f62cdcbbeb5e88fd3c1267bb14d812621.tar.bz2
serverdata-07e05d5f62cdcbbeb5e88fd3c1267bb14d812621.tar.xz
serverdata-07e05d5f62cdcbbeb5e88fd3c1267bb14d812621.zip
Monster King death - safety flags
-rw-r--r--npc/015-8-1/campaign.txt3
-rw-r--r--npc/functions/gmbot.txt13
2 files changed, 11 insertions, 5 deletions
diff --git a/npc/015-8-1/campaign.txt b/npc/015-8-1/campaign.txt
index b2f836700..0158d6264 100644
--- a/npc/015-8-1/campaign.txt
+++ b/npc/015-8-1/campaign.txt
@@ -83,6 +83,9 @@ OnS04:
// Status cleanup
// 255 = PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_COMMANDS|PCBLOCK_SITSTAND|PCBLOCK_IMMUNE|PCBLOCK_CHAT|PCBLOCK_MOVE
setpcblock(255, false);
+ // TODO: After x time, reinforcements on both sides
+ // BOSS: “Kill 'em all!”
+ // SAGGY: “Beings of florest, come to my aid and protect me!”
end;
// Assassin, HoodedNinja, HoodedAssassin (boss)
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: