From 3c1386a3894794b535fcb5941595d3e9769756ed Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 29 May 2019 09:48:09 -0300 Subject: Fix other bugs related to sieges. Diagnosis suppose we have a mlock --- npc/functions/siege.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/functions') diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index 8d9d3cab6..73cc00d10 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -352,7 +352,7 @@ function script do_siege { // Setup and casts case 0: siege_setup(.@o$); - siege_cast("014-3", .name$, 0, TP_HURNS); + siege_cast(.@o$, .name$, 0, TP_HURNS); break; case 60: siege_setup(.@m$); @@ -395,11 +395,11 @@ function script do_siege { // Ending flow // TODO: It would be better to make these values relative to MK_SIEGE_DURATION case 700: - mapannounce("012-1", "##1The Monster Army is planning to retreat soon!", bc_map); + mapannounce(.@m$, "##1The Monster Army is planning to retreat soon!", bc_map); siege_cast(.@m$, .@n$, .@difc, .@tp); break; case 760: - mapannounce("012-1", "##1The Monster Army is withdrawing within 30 seconds!", bc_map); + mapannounce(.@m$, "##1The Monster Army is withdrawing within 30 seconds!", bc_map); $@MK_SCENE=MK_NONE; $@MK_AGGRO=$@MK_AGGRO/20; break; -- cgit v1.2.3-70-g09d2