summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-09 18:28:53 -0200
committerJesusaves <cpntb1@ymail.com>2019-02-09 18:28:53 -0200
commit935fbebe66b6007c86dd519458b27d74c7e74ade (patch)
treef58782b0318020f36b9e09929139c68f13d89054 /npc/commands
parentb9137c42cc19ba00609778869dd9a3e81b152783 (diff)
downloadserverdata-935fbebe66b6007c86dd519458b27d74c7e74ade.tar.gz
serverdata-935fbebe66b6007c86dd519458b27d74c7e74ade.tar.bz2
serverdata-935fbebe66b6007c86dd519458b27d74c7e74ade.tar.xz
serverdata-935fbebe66b6007c86dd519458b27d74c7e74ade.zip
Allow @toevent to reach Valentine Highlands
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/event.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index a4583159a..729a87684 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -204,6 +204,15 @@ OnCall:
end;
OnCall:
+ if (!$@GM_EVENT && $EVENT$ == "Valentine") {
+ if (readparam(Hp) == readparam(MaxHp) && readparam(Sp) == readparam(MaxSp) && !(getmapname() == "boss" || getmapname() == "sec_pri" || getmapname() ~= "000-*" || getmapname() ~= "008-*" || getmapname() ~= "sore*")) {
+ warp "001-11", 38, 32;
+ message strcharinfo(0), l("You are now at the Valentine Highlands.");
+ } else {
+ dispbottom l("You cannot be hurt, must have full mana, and must be in a area where the Mana Plane is connected so @toevent work.");
+ }
+ }
+
if (!$@GM_EVENT)
dispbottom l("The mana bridge is closed at the moment.");
else if (BaseLevel < 10)