diff options
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r-- | npc/functions/util.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 5063a23a3..77a1c073a 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -1328,3 +1328,13 @@ function script api_send { return; } +function script announce_bosskill { + .@party=getcharid(1); + if (.@party > 0) { + mapannounce getmap(getarg(0)), getmonsterlink(getarg(1)) + " defeated by Party: " + getpartyname(.@party), bc_all; + } else { + mapannounce getmap(getarg(0)), getmonsterlink(getarg(1)) + " defeated by: " + strcharinfo(0), bc_all; + } + return; +} + |