diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-29 10:06:29 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-29 10:06:29 -0300 |
commit | 251fbf5a8f0cd311c32376aa9ebec97272670bc4 (patch) | |
tree | a93c60dc44c608e8bd1ccc6e868917a6fc833be5 /npc/commands | |
parent | c3e75a2ea91803ce25ed10ceb8affae5aca59901 (diff) | |
download | serverdata-251fbf5a8f0cd311c32376aa9ebec97272670bc4.tar.gz serverdata-251fbf5a8f0cd311c32376aa9ebec97272670bc4.tar.bz2 serverdata-251fbf5a8f0cd311c32376aa9ebec97272670bc4.tar.xz serverdata-251fbf5a8f0cd311c32376aa9ebec97272670bc4.zip |
Bugs in @toevent
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/event.txt | 14 |
1 files changed, 12 insertions, 2 deletions
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: |