summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
authorNetSysFire <16-NetSysFire@users.noreply.git.themanaworld.org>2023-02-19 14:31:58 +0000
committerJesusalva Jesusalva <jesusalva@themanaworld.org>2023-02-19 14:31:58 +0000
commit2ce22a8fa0414159d7e8517cc7fa00f2f809bcda (patch)
treeafd856f85aef3db3383b80f0ddc657919beeb9b3 /npc/functions/util.txt
parentab696a4ea55c900645023b116b0bffeefed3243f (diff)
downloadserverdata-2ce22a8fa0414159d7e8517cc7fa00f2f809bcda.tar.gz
serverdata-2ce22a8fa0414159d7e8517cc7fa00f2f809bcda.tar.bz2
serverdata-2ce22a8fa0414159d7e8517cc7fa00f2f809bcda.tar.xz
serverdata-2ce22a8fa0414159d7e8517cc7fa00f2f809bcda.zip
Batch of typo fixes and rewording.
Also minor tweaks to Helena rewards and Pylon production.
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r--npc/functions/util.txt10
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;
+}
+