From 990bbce43661d7f9d2bd3f510f06761af36203ab Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 29 Apr 2019 11:53:43 -0300 Subject: Remove optional param from siege begin --- npc/functions/siege.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'npc/functions/siege.txt') diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index 6a68450f7..10fa4736f 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -132,18 +132,15 @@ function script siege_selectmob { ///////////////////////////////////////////////////////////// // Prepare a siege with optional announce -// siege_setup ( map{, announce} ) +// siege_setup ( map ) function script siege_setup { .@m$=getarg(0); - .@msg$=getarg(1, ""); addmapmask .@m$, MASK_MATTACK; changemusic .@m$, any("mythica.ogg", "eric_matyas_ghouls.ogg", "misuse.ogg", "Arabesque.ogg"); disablenpc("Mana Stone"); pvpon(.@m$); setmapflag(.@m$,mf_bexp,rand(120,140)); // 20~40% EXP UP on siege maps - if (.@msg$ != "") - kamibroadcast(col(.@msg$,1)); return; } -- cgit v1.2.3-60-g2f50