summaryrefslogtreecommitdiff
path: root/npc/024-1/guard.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-15 20:28:02 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-15 20:28:23 -0300
commit6915aaac16c361ecbc52fba693173879c8e6cd1b (patch)
tree97998ae4e0e851c2f36fc43ba1811fcdb9507493 /npc/024-1/guard.txt
parente058c7e54be2a76938255ed32bb62ff3d29e79de (diff)
downloadserverdata-6915aaac16c361ecbc52fba693173879c8e6cd1b.tar.gz
serverdata-6915aaac16c361ecbc52fba693173879c8e6cd1b.tar.bz2
serverdata-6915aaac16c361ecbc52fba693173879c8e6cd1b.tar.xz
serverdata-6915aaac16c361ecbc52fba693173879c8e6cd1b.zip
Fix bug + prepare Frostia Guard
Diffstat (limited to 'npc/024-1/guard.txt')
-rw-r--r--npc/024-1/guard.txt17
1 files changed, 16 insertions, 1 deletions
diff --git a/npc/024-1/guard.txt b/npc/024-1/guard.txt
index 23384e3ba..4dc86cdd8 100644
--- a/npc/024-1/guard.txt
+++ b/npc/024-1/guard.txt
@@ -1,9 +1,24 @@
// TMW2 Script
+// Author:
+// Jesusalva
+// Description:
+// Controls access to Frostia.
024-1,93,73,0 script Frostia Guard NPC_ELF,{
+ if (BaseLevel < 40)
+ goto L_Unallowed;
+ //if (getrace() == "Elf") goto L_Warp;
+
+ .@tax=101-reputation("Frostia");
+ mesn;
+ mesc l("The guard eyes you with suspcion.");
+ mesq l("You should not be here. Get moving.");
+ close;
+
+L_Unallowed:
mesn;
mesq l("You're not welcome here. Get moving.");
- end;
+ close;
OnInit: