summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-26 22:02:36 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-26 22:02:36 -0300
commit54324d76ee24f45f691bacdccee12c6f094aa407 (patch)
tree94261b7732470ea9cf606e09c17e34657d5a5ec6
parent13b943512e71ecb6749ebae11a4ee5fa0f67bf86 (diff)
downloadserverdata-54324d76ee24f45f691bacdccee12c6f094aa407.tar.gz
serverdata-54324d76ee24f45f691bacdccee12c6f094aa407.tar.bz2
serverdata-54324d76ee24f45f691bacdccee12c6f094aa407.tar.xz
serverdata-54324d76ee24f45f691bacdccee12c6f094aa407.zip
Disable Mana Stone during sieges
-rw-r--r--npc/003-1/lieutenantdausen.txt4
-rw-r--r--npc/005-1/ayasha.txt2
2 files changed, 6 insertions, 0 deletions
diff --git a/npc/003-1/lieutenantdausen.txt b/npc/003-1/lieutenantdausen.txt
index c0e2db8c2..558310c58 100644
--- a/npc/003-1/lieutenantdausen.txt
+++ b/npc/003-1/lieutenantdausen.txt
@@ -98,6 +98,7 @@ L_MKControl:
L_MKSmall:
changemusic "003-1", "mythica.ogg";
+ disablenpc("Mana Stone");
$@SIEGE_TULIM=0; // factor zero
pvpon("003-1");
pvpon("004-1");
@@ -108,6 +109,7 @@ L_MKSmall:
L_MKMedium:
changemusic "003-1", "eric matyas - ghoulish fun.ogg";
+ disablenpc("Mana Stone");
$@SIEGE_TULIM=1; // factor one
pvpon("003-1");
pvpon("004-1");
@@ -118,6 +120,7 @@ L_MKMedium:
L_MKHuge:
changemusic "003-1", "misuse.ogg";
+ disablenpc("Mana Stone");
$@SIEGE_TULIM=5; // factor five
pvpon("003-1");
pvpon("004-1");
@@ -268,6 +271,7 @@ OnTimer600000:
OnTimer630000:
changemusic "003-1", "bartk - the adventure begins.ogg"; // Restore to default
+ enablenpc("Mana Stone");
$@SIEGE_TULIM$=0;
killmonsterall("003-1", 0);
killmonsterall("004-1", 0);
diff --git a/npc/005-1/ayasha.txt b/npc/005-1/ayasha.txt
index 2ca2635f1..06e1593a5 100644
--- a/npc/005-1/ayasha.txt
+++ b/npc/005-1/ayasha.txt
@@ -143,6 +143,7 @@ L_MKControl:
L_MKSmall:
changemusic "005-1", "mythica.ogg";
+ disablenpc("Mana Stone");
pvpon("005-1");
announce(l("##1WARNING! WARNING! Siege starting at Candor!!"), bc_all);
areamonster("005-1", 0, 0, 105, 105, l("Black Scorpion"), 1074, 1, "Ayasha::OnBlackScorpionDeath");
@@ -227,6 +228,7 @@ OnTimer600000:
OnTimer630000:
changemusic "005-1", "bartk - the adventure begins.ogg";
+ enablenpc("Mana Stone");
killmonsterall("005-1", 0);
pvpoff("005-1");
announce(("Candor siege is over!"), bc_all);