From 409510c5610fc394001a5687c2cda0f190b068ef Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 29 Jan 2020 01:15:57 -0300 Subject: Move the code from Enzo to the Magic School Building Door (more effective) --- npc/003-1/magic.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'npc/003-1') diff --git a/npc/003-1/magic.txt b/npc/003-1/magic.txt index 4582bad6d..499d3a509 100644 --- a/npc/003-1/magic.txt +++ b/npc/003-1/magic.txt @@ -7,6 +7,10 @@ 003-1,34,33,0 script #MagicSchoolGate1 NPC_HIDDEN,0,0,{ end; OnTouch: + if (countitem(Event1HSword)+countitem(Event2HSword)+countitem(EventBow)+countitem(EventWand)+countitem(RentCart)) { + mesc l("You cannot enter here while you have event weapons or a cart."), 1; + close; + } /* if (countitem(JesusalvaGrimorium) <= 0 || MAGIC_LVL < 2) { slide 36, 39; -- cgit v1.2.3-60-g2f50