summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-16 23:35:25 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-16 23:35:25 -0300
commit677f7d23f113e645dcb86b84ec965d6ac55a16d7 (patch)
tree5572605a12d085a2946d659a865f005f20067b15 /npc/commands/event.txt
parentbdfa1a93725f70e95fc656fb43fcbea0dd752766 (diff)
downloadserverdata-677f7d23f113e645dcb86b84ec965d6ac55a16d7.tar.gz
serverdata-677f7d23f113e645dcb86b84ec965d6ac55a16d7.tar.bz2
serverdata-677f7d23f113e645dcb86b84ec965d6ac55a16d7.tar.xz
serverdata-677f7d23f113e645dcb86b84ec965d6ac55a16d7.zip
A few more ends
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r--npc/commands/event.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index 8acc7f6bc..25f3e17c1 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -243,14 +243,19 @@ OnCall:
end;
} else if (BaseLevel < 10) {
dispbottom l("You are not strong enough to survive this trip.");
+ end;
} else if (readparam(Sp) != readparam(MaxSp)) {
dispbottom l("You need all your mana to do this trip.");
+ end;
} else if (readparam(Hp) != readparam(MaxHp)) {
dispbottom l("You cannot be hurt to do this trip.");
+ end;
} else if (getmapname() ~= "001-*") {
dispbottom l("You are already at the Mana Plane of Existence.");
+ end;
} else if (getmapname() == "boss" || getmapname() == "sec_pri" || getmapname() ~= "000-*" || getmapname() ~= "008-*" || getmapname() ~= "sore*") {
dispbottom l("The Mana Plane is currently out of reach.");
+ end;
} else {
// Monster King events take precedence over Aeros Event
switch ($@MK_SCENE) {