diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-04-29 11:53:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-04-29 11:53:43 -0300 |
commit | 990bbce43661d7f9d2bd3f510f06761af36203ab (patch) | |
tree | 9521de7ee580ccf33e9897c699c541e1e6e43950 /npc/functions | |
parent | 731d5cefe9e15f125b0c4ba45644e25c671ebdd3 (diff) | |
download | serverdata-990bbce43661d7f9d2bd3f510f06761af36203ab.tar.gz serverdata-990bbce43661d7f9d2bd3f510f06761af36203ab.tar.bz2 serverdata-990bbce43661d7f9d2bd3f510f06761af36203ab.tar.xz serverdata-990bbce43661d7f9d2bd3f510f06761af36203ab.zip |
Remove optional param from siege begin
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/siege.txt | 5 |
1 files changed, 1 insertions, 4 deletions
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; } |