diff options
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; +} |