From 6fc1e2fc43d1dc217df402d2a196dd06b3512f39 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 29 Apr 2019 11:02:36 -0300 Subject: More optmizations --- npc/012-1/guards.txt | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'npc/012-1/guards.txt') diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt index 1a64b89e6..d8d5389db 100644 --- a/npc/012-1/guards.txt +++ b/npc/012-1/guards.txt @@ -651,14 +651,11 @@ OnColonelDeath: end; OnMKSiege: - addmapmask "012-1", MASK_MATTACK; - addmapmask "014-3", MASK_MATTACK; - changemusic "012-1", any("mythica.ogg", "eric_matyas_ghouls.ogg", "misuse.ogg", "Arabesque.ogg"); + debugmes "Begin"; + siege_setup("014-3"); + siege_setup("012-1", "WARNING! WARNING! Siege starting at Hurnscald!!"); disablenpc("Mana Stone"); $@SIEGE_HURNS=rand(1,10); - pvpon("012-1"); - pvpon("014-3"); - announce(("##1WARNING! WARNING! Siege starting at Hurnscald!!"), bc_all); siege_spawn("014-3", BlackScorpion, 10, "#HurnscaldSiege::OnBlackScorpionDeath"); initnpctimer; end; @@ -699,16 +696,13 @@ OnTimer15000: disablenpc "Rakinorf, Mayor"; end; -OnTimer30000: - debugmes "6k"; +OnTimer60000: siege_spawn("012-1", BlackScorpion, 3, "#HurnscaldSiege::OnBlackScorpion2Death"); siege_spawn("012-1", GreenSlime, 10+$@SIEGE_HURNS, "#HurnscaldSiege::OnGreenSlimeDeath"); siege_spawn("012-1", CandiedSlime, 1+$@SIEGE_HURNS, "#HurnscaldSiege::OnCandiedSlimeDeath"); end; -OnTimer60000: - debugmes "12k"; - +OnTimer120000: // We will now prepare the boss // It must be stronger than players in at least 15 levels, so the mob group // is different. The siege difficulty, as usual, gives an extra level to them. @@ -753,8 +747,7 @@ OnTimer60000: siege_spawn("012-1", any_of($@SIEGE_TMPMOBS), 2+$@SIEGE_HURNS, "#HurnscaldSiege::OnRespawn"); end; -OnTimer90000: - debugmes "18k"; +OnTimer180000: siege_selectmob(siege_calcdiff("012-1"), $@SIEGE_HURNS, TP_HURNS); siege_spawn("012-1", any_of($@SIEGE_TMPMOBS), 1+$@SIEGE_HURNS, "#HurnscaldSiege::OnRespawn"); siege_spawn("012-1", any_of($@SIEGE_TMPMOBS), 2+$@SIEGE_HURNS, "#HurnscaldSiege::OnRespawn"); @@ -793,7 +786,7 @@ OnTimer600000: $@MK_AGGRO=$@MK_AGGRO/20; mapannounce("012-1", "##1The Monster King army is preparing to withdraw!", bc_map); end; -OnTimer150000: +OnTimer630000: removemapmask "012-1", MASK_MATTACK; removemapmask "014-3", MASK_MATTACK; changemusic "012-1", "caketown.ogg"; // Restore to default -- cgit v1.2.3-70-g09d2