summaryrefslogtreecommitdiff
path: root/npc
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
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')
-rw-r--r--npc/002-1/dan.txt2
-rw-r--r--npc/024-1/guard.txt17
2 files changed, 17 insertions, 2 deletions
diff --git a/npc/002-1/dan.txt b/npc/002-1/dan.txt
index 8bab55920..ae8e34113 100644
--- a/npc/002-1/dan.txt
+++ b/npc/002-1/dan.txt
@@ -96,7 +96,7 @@ OnInit:
.@t=getq2(ShipQuests_Dan);
if (.@t+1 >= 12) setq ShipQuests_Dan, 2, 0;
if (.@t+1 < 12) setq2 ShipQuests_Dan, .@t+1;
- dispbottm l("@@/@@", .@t+1, 12);
+ dispbottom l("@@/@@", .@t+1, 12);
}
OnFakeKill:
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: