diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-04-17 22:27:07 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-04-17 22:27:07 -0300 |
commit | cf8b6194ec35d2920b704533a4236e234a10658a (patch) | |
tree | 0a3a451a92318042d8b22b7c5114f6a74eb2f807 /npc | |
parent | d4ea6be2f953aa2d1ea5bea865a074ee8482a979 (diff) | |
download | serverdata-cf8b6194ec35d2920b704533a4236e234a10658a.tar.gz serverdata-cf8b6194ec35d2920b704533a4236e234a10658a.tar.bz2 serverdata-cf8b6194ec35d2920b704533a4236e234a10658a.tar.xz serverdata-cf8b6194ec35d2920b704533a4236e234a10658a.zip |
EXPERIMENTAL - Warp monsters on shrooms, too
Diffstat (limited to 'npc')
-rw-r--r-- | npc/001-4/mushroom.txt | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/npc/001-4/mushroom.txt b/npc/001-4/mushroom.txt index 4a22c61b2..659882574 100644 --- a/npc/001-4/mushroom.txt +++ b/npc/001-4/mushroom.txt @@ -2,12 +2,19 @@ // Author: // The Mana World Brazil function script mushroomWarp { - heal -5, -5; - warp getmapname(), 0, 0; - @n = rand(3); - if (@n == 0) dispbottom l("Uhh... What happened..."); - if (@n == 1) dispbottom l("The world is spiniiiiiiiing..."); - if (@n == 2) dispbottom l("Ah... What is happening to meeeeeeee?"); + if (playerattached()) + { + heal -5, -5; + warp getmapname(), 0, 0; + @n = rand(3); + if (@n == 0) dispbottom l("Uhh... What happened..."); + if (@n == 1) dispbottom l("The world is spiniiiiiiiing..."); + if (@n == 2) dispbottom l("Ah... What is happening to meeeeeeee?"); + } + else + { + unitwarp(0, "this", 0, 0); + } return; } |