From 251fbf5a8f0cd311c32376aa9ebec97272670bc4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 29 Jun 2018 10:06:29 -0300 Subject: Bugs in @toevent --- npc/commands/event.txt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'npc/commands') diff --git a/npc/commands/event.txt b/npc/commands/event.txt index c3d21b329..f8641f83b 100644 --- a/npc/commands/event.txt +++ b/npc/commands/event.txt @@ -157,8 +157,18 @@ OnCall: dispbottom l("You are already at the Mana Plane of Existence."); else if (getmapname() == "boss" || getmapname() == "sec_pri" || getmapname() ~= "000-*") dispbottom l("The Mana Plane is currently out of reach."); - else - warp "001-1", 235, 26; + else { + .@gt=$@AEROS_SPWN; + if (.@gt == 2) + .@gt=rand(0,1); + switch (.@gt) { + case 0: + warp "001-1", 235, 26; break; + case 1: + warp "001-1", 23, 108; break; + } + specialeffect(63, AREA, getcharid(3)); + } end; OnInit: -- cgit v1.2.3-60-g2f50