summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-31 18:36:13 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-31 18:36:13 -0300
commit9e295299d06e22ffd22b7375223206ac4e95b7fc (patch)
treed54e05a23196ff24678c7b71fc40283e60ccda93 /npc/commands/event.txt
parenta37ea16680418b92a1b40dc7a04512efea17b506 (diff)
downloadserverdata-9e295299d06e22ffd22b7375223206ac4e95b7fc.tar.gz
serverdata-9e295299d06e22ffd22b7375223206ac4e95b7fc.tar.bz2
serverdata-9e295299d06e22ffd22b7375223206ac4e95b7fc.tar.xz
serverdata-9e295299d06e22ffd22b7375223206ac4e95b7fc.zip
Fix @toevent -> Candor Battle
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r--npc/commands/event.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index 521ab3b08..7257729c0 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -249,10 +249,7 @@ OnCall:
OnEffect:
@toeventchk=0;
// Calculate
- if (!$@GM_EVENT && !$@MK_SCENE && $EVENT$ == "") {
- dispbottom l("The mana bridge is closed at the moment.");
- end;
- } else if (BaseLevel < 10) {
+ if (BaseLevel < 10) {
dispbottom l("You are not strong enough to survive this trip.");
end;
} else if (readparam(Sp) < @toeventval2) {
@@ -336,6 +333,12 @@ OnEffect:
}
}
+ // Block here
+ if (!$@GM_EVENT && !$@MK_SCENE && $EVENT$ == "") {
+ dispbottom l("The mana bridge is closed at the moment.");
+ end;
+ }
+
// Seems like it was a Blame Saulc-like event...
dispbottom l("Have a nice @@ day!", $EVENT$);
dispbottom l("The mana bridge is closed at the moment.");