summaryrefslogtreecommitdiff
path: root/npc/003-1/magic.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-11 14:08:03 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-11 14:08:03 -0300
commit68c06bdbee54215caf65547227f88ae0dc0cbf32 (patch)
tree48cddc54f55d4887a5ff3897343eb4b4e9e4b7bf /npc/003-1/magic.txt
parent33da0e7a216039c8370056b4224293963bb4abc9 (diff)
downloadserverdata-68c06bdbee54215caf65547227f88ae0dc0cbf32.tar.gz
serverdata-68c06bdbee54215caf65547227f88ae0dc0cbf32.tar.bz2
serverdata-68c06bdbee54215caf65547227f88ae0dc0cbf32.tar.xz
serverdata-68c06bdbee54215caf65547227f88ae0dc0cbf32.zip
Regenerate maps
Diffstat (limited to 'npc/003-1/magic.txt')
-rw-r--r--npc/003-1/magic.txt18
1 files changed, 18 insertions, 0 deletions
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;
+}