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/024-1/guard.txt | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'npc/024-1') 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