From ea5d0f40972c92d23494db23bcbd2d7f3f357466 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 16 Apr 2019 00:30:03 -0300 Subject: Eh, tonight special is Hurnscald Siege, highly experimental. --- npc/functions/gmbot.txt | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'npc/functions/gmbot.txt') diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt index 235366dd3..072f64fe4 100644 --- a/npc/functions/gmbot.txt +++ b/npc/functions/gmbot.txt @@ -97,18 +97,21 @@ OnTimer62000: end; } - // Tulimshar Siege event - if (.mp$ ~= "003-*" && $@MK_AGGRO >= 30 && rand(0,100) < 70) { - announce ("Monster King: I smell humans! Humans must die!"), bc_map|bc_npc; - $@MK_SCENE=MK_SIEGE_TULIM; - if ($@MK_AGGRO >= 90) - donpcevent("Lieutenant Dausen::OnMKSiege"); - else if ($@MK_AGGRO >= 90) - donpcevent("Lieutenant Dausen::OnMKSiege"); - else + // Siege events + if ($@MK_AGGRO >= 30 && rand(0,100) < 70) { + // Tulimshar + if (.mp$ ~= "003-*") { + announce ("Monster King: I smell humans! Humans must die!"), bc_map|bc_npc; + $@MK_SCENE=MK_SIEGE_TULIM; donpcevent("Lieutenant Dausen::OnMKSiege"); + } + // Hurnscald (will never happen, MK doesn't visits 012-1) + if (.mp$ ~= "012-*") { + announce ("Monster King: I smell humans! Humans must die!"), bc_map|bc_npc; + $@MK_SCENE=MK_SIEGE_HURNS; + donpcevent("#HurnscaldSiege::OnMKSiege"); + } } - // Decide if we should have an event here if (.nearby > 1 && $@MK_AGGRO >= rand(0,100)){ // We should decide event kind, but that's NYI -- cgit v1.2.3-60-g2f50