summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/event.txt')
-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)