diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-11 14:08:03 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-11 14:08:03 -0300 |
commit | 68c06bdbee54215caf65547227f88ae0dc0cbf32 (patch) | |
tree | 48cddc54f55d4887a5ff3897343eb4b4e9e4b7bf /npc/003-1 | |
parent | 33da0e7a216039c8370056b4224293963bb4abc9 (diff) | |
download | serverdata-68c06bdbee54215caf65547227f88ae0dc0cbf32.tar.gz serverdata-68c06bdbee54215caf65547227f88ae0dc0cbf32.tar.bz2 serverdata-68c06bdbee54215caf65547227f88ae0dc0cbf32.tar.xz serverdata-68c06bdbee54215caf65547227f88ae0dc0cbf32.zip |
Regenerate maps
Diffstat (limited to 'npc/003-1')
-rw-r--r-- | npc/003-1/_import.txt | 1 | ||||
-rw-r--r-- | npc/003-1/magic.txt | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/npc/003-1/_import.txt b/npc/003-1/_import.txt index 5b98f434d..26d57714e 100644 --- a/npc/003-1/_import.txt +++ b/npc/003-1/_import.txt @@ -18,6 +18,7 @@ "npc/003-1/jakod.txt", "npc/003-1/jerican.txt", "npc/003-1/lieutenantdausen.txt", +"npc/003-1/magic.txt", "npc/003-1/mahoud.txt", "npc/003-1/malivox.txt", "npc/003-1/mapflags.txt", diff --git a/npc/003-1/magic.txt b/npc/003-1/magic.txt new file mode 100644 index 000000000..1cd76a50b --- /dev/null +++ b/npc/003-1/magic.txt @@ -0,0 +1,18 @@ +// TMW2 scripts. +// Authors: +// Jesusalva +// Description: +// Controlled Warp to Magic School (+whatever magic stuff we need to add later) + +003-1,34,33,0 script #MagicSchoolGate1 NPC_HIDDEN,0,0,{ + end; +OnTouch: + if (countitem(JesusalvaGrimorium) <= 0 || $MAGIC_LVL < 2) { + slide 36, 39; + percentheal -5, -10; + dispbottom l("Powerful magic repels you away from this magic place!"); + } else { + warp "003-0", 48, 51; + } + end; +} |