summaryrefslogtreecommitdiff
path: root/npc/functions/siege.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-29 11:26:36 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-29 11:26:36 -0300
commit3d09c81da1d9940c1682333ee07c293d00a7be24 (patch)
tree0d740aee8de4739f0f4f1afbd3127b4f43f5efd7 /npc/functions/siege.txt
parentcbbf95462972c3a8274f3fef6a3f3a258e41a5e7 (diff)
downloadserverdata-3d09c81da1d9940c1682333ee07c293d00a7be24.tar.gz
serverdata-3d09c81da1d9940c1682333ee07c293d00a7be24.tar.bz2
serverdata-3d09c81da1d9940c1682333ee07c293d00a7be24.tar.xz
serverdata-3d09c81da1d9940c1682333ee07c293d00a7be24.zip
Just kidding, boss death should be handled by a global NPC imho
Diffstat (limited to 'npc/functions/siege.txt')
-rw-r--r--npc/functions/siege.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt
index 1a0d92dbe..bf8d8ce0b 100644
--- a/npc/functions/siege.txt
+++ b/npc/functions/siege.txt
@@ -190,3 +190,24 @@ function script siege_cast {
return;
}
+
+// Utility NPC
+- script #SiegeCtrl NPC_HIDDEN,{
+ end;
+
+// Boss Death Labels
+OnLieutenantDeath:
+ getitem StrangeCoin, 1;
+ mapannounce(getmap(), l("##2The Monster Lieutenant was defeated by @@!", strcharinfo(0)), bc_map);
+ $MK_TEMPVAR+=1;
+ end;
+
+OnColonelDeath:
+ getitem StrangeCoin, 5;
+ $MOST_HEROIC$=strcharinfo(0);
+ mapannounce(getmap(), l("##2The Monster Colonel was defeated by @@!", strcharinfo(0)), bc_map);
+ $MK_TEMPVAR+=10;
+ end;
+
+}
+