summaryrefslogtreecommitdiff
path: root/npc/003-0
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-29 01:15:00 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-29 01:15:00 -0300
commitf55357d76602fea93160d26412e38a8e4ad8df52 (patch)
treecb0176bcce8daea4c6648964b4f64e77c5c6a071 /npc/003-0
parent9af07163fa69374cd870601dd9e763ef7b2023f2 (diff)
downloadserverdata-f55357d76602fea93160d26412e38a8e4ad8df52.tar.gz
serverdata-f55357d76602fea93160d26412e38a8e4ad8df52.tar.bz2
serverdata-f55357d76602fea93160d26412e38a8e4ad8df52.tar.xz
serverdata-f55357d76602fea93160d26412e38a8e4ad8df52.zip
Enzo: Safeguard
Diffstat (limited to 'npc/003-0')
-rw-r--r--npc/003-0/enzo.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/003-0/enzo.txt b/npc/003-0/enzo.txt
index 2ac2ef4ac..0e111e56c 100644
--- a/npc/003-0/enzo.txt
+++ b/npc/003-0/enzo.txt
@@ -5,6 +5,10 @@
// Forgetful
003-0,68,25,0 script Enzo NPC_BLACKWIZARD,{
+ if (countitem(Event1HSword)+countitem(Event2HSword)+countitem(EventBow)+countitem(EventWand)) {
+ mesc l("You cannot use this NPC while you have event weapons."), 1;
+ close;
+ }
mesn l("Enzo, the Forgetful");
mesq l("What was I doing before...? I forgot!");
next;