From 6915aaac16c361ecbc52fba693173879c8e6cd1b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 15 Mar 2019 20:28:02 -0300 Subject: Fix bug + prepare Frostia Guard --- npc/002-1/dan.txt | 2 +- npc/024-1/guard.txt | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'npc') 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: -- cgit v1.2.3-60-g2f50