summaryrefslogtreecommitdiff
path: root/npc/001-1/eventmaster.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-08 08:44:07 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-08 08:44:07 -0300
commit1b6ef8f9b16448afcce73a2269f3cf0849b7eb2d (patch)
treed1141b19e2028b171a5c58f3709f3a5f7d25245e /npc/001-1/eventmaster.txt
parente8d2149b4b3c6780197933369f836315491d20bc (diff)
downloadserverdata-1b6ef8f9b16448afcce73a2269f3cf0849b7eb2d.tar.gz
serverdata-1b6ef8f9b16448afcce73a2269f3cf0849b7eb2d.tar.bz2
serverdata-1b6ef8f9b16448afcce73a2269f3cf0849b7eb2d.tar.xz
serverdata-1b6ef8f9b16448afcce73a2269f3cf0849b7eb2d.zip
The monster king now automatically sieges Tulimshar, and @toevent works when
that is set ^.^ This means a new degree in how events are handled
Diffstat (limited to 'npc/001-1/eventmaster.txt')
-rw-r--r--npc/001-1/eventmaster.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt
index 4abc9b5fa..14a9a85e8 100644
--- a/npc/001-1/eventmaster.txt
+++ b/npc/001-1/eventmaster.txt
@@ -823,10 +823,14 @@ L_EventHandler:
if($@GM_EVENT) {
announce ("The event is over!"), bc_all|bc_npc; // I haven't tested this yet.
$@GM_EVENT=0;
- } else {
+ } else if (!$@MK_SCENE) {
announce ("The mana bridge to Aeros is open! To participate on event, talk to ##BSoul Menhir##b!"), bc_all|bc_npc;
channelmes("#world", "An event is happening on Aeros! Hurry up!");
$@GM_EVENT=1;
+ $@MK_SCENE=MK_LOCKED;
+ } else {
+ mesc("Operation not permitted: Monster King event is in progress.", 1);
+ mesc("You MUST wait.", 1);
}
close;