summaryrefslogtreecommitdiff
path: root/npc/012-1/guards.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-19 08:17:12 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-19 08:17:12 -0300
commit6d7432a7af4937abe810e3bf43458dc750ad8cc9 (patch)
tree9527ee27f96ee659df5a2387e857bc788939c541 /npc/012-1/guards.txt
parentd1c6580c29bd1bd23f61553387ab5d10a55feaf4 (diff)
downloadserverdata-6d7432a7af4937abe810e3bf43458dc750ad8cc9.tar.gz
serverdata-6d7432a7af4937abe810e3bf43458dc750ad8cc9.tar.bz2
serverdata-6d7432a7af4937abe810e3bf43458dc750ad8cc9.tar.xz
serverdata-6d7432a7af4937abe810e3bf43458dc750ad8cc9.zip
Move NPCs to use map mask constants
Diffstat (limited to 'npc/012-1/guards.txt')
-rw-r--r--npc/012-1/guards.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt
index 556e82150..97e3f531e 100644
--- a/npc/012-1/guards.txt
+++ b/npc/012-1/guards.txt
@@ -32,8 +32,8 @@ L_Admus:
enablenpc "Hurnsguard";
donpcevent "Hurnsguard::OnSet";
donpcevent "Lieutenant Paul::OnSet";
- addmapmask "012-1", 2;
- addmapmask "012-1", 8;
+ addmapmask "012-1", MASK_MATTACK;
+ addmapmask "012-1", MASK_EVILSANCTUM;
pvpon("012-1");
disablenpc "#012-1_22_62";
disablenpc "#012-1_79_17";
@@ -73,7 +73,7 @@ L_MKControl:
close;
L_MKSmall:
- addmapmask "012-1", 2;
+ addmapmask "012-1", MASK_MATTACK;
changemusic "012-1", "mythica.ogg";
disablenpc("Mana Stone");
$@SIEGE_HURNS=0; // factor zero
@@ -85,7 +85,7 @@ L_MKSmall:
close;
L_MKMedium:
- addmapmask "012-1", 2;
+ addmapmask "012-1", MASK_MATTACK;
changemusic "012-1", "eric_matyas_ghouls.ogg";
disablenpc("Mana Stone");
$@SIEGE_HURNS=1; // factor one
@@ -97,7 +97,7 @@ L_MKMedium:
close;
L_MKHuge:
- addmapmask "012-1", 2;
+ addmapmask "012-1", MASK_MATTACK;
changemusic "012-1", "misuse.ogg";
disablenpc("Mana Stone");
$@SIEGE_HURNS=5; // factor five
@@ -221,7 +221,7 @@ OnTimer600000:
end;
OnTimer630000:
- removemapmask "012-1", 2;
+ removemapmask "012-1", MASK_MATTACK;
changemusic "012-1", "dragon_and_toast.ogg"; // Restore to default
enablenpc("Mana Stone");
$@SIEGE_HURNS$=0;
@@ -455,8 +455,8 @@ OnVictory:
removemapflag("012-1", mf_nosave);
disablenpc "Hurnsguard";
pvpoff("012-1");
- removemapmask "012-1", 2;
- removemapmask "012-1", 8;
+ removemapmask "012-1", MASK_MATTACK;
+ removemapmask "012-1", MASK_EVILSANCTUM;
//removemapflag("012-1", mf_nocommand);
removemapflag("012-1", mf_battleground);
enablenpc "#012-1_22_62";