summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-29 09:48:09 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-29 09:48:09 -0300
commit3c1386a3894794b535fcb5941595d3e9769756ed (patch)
tree47d625c99345743720735dcbe0d124aec67e278e /npc
parent27c0fdf5c96e9195a82355d516b19c77fe8443a4 (diff)
downloadserverdata-3c1386a3894794b535fcb5941595d3e9769756ed.tar.gz
serverdata-3c1386a3894794b535fcb5941595d3e9769756ed.tar.bz2
serverdata-3c1386a3894794b535fcb5941595d3e9769756ed.tar.xz
serverdata-3c1386a3894794b535fcb5941595d3e9769756ed.zip
Fix other bugs related to sieges. Diagnosis suppose we have a mlock
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/siege.txt6
1 files changed, 3 insertions, 3 deletions
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;