summaryrefslogtreecommitdiff
path: root/npc/functions/siege.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-07 22:27:13 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-07 22:27:13 -0300
commit99c7c13c125f3893c434c3dad23a6eb3abe77b7c (patch)
treecd874cc149f1a90dcac00257c7559a1d60f76c36 /npc/functions/siege.txt
parent7602746b5d5065f4bc49c1f05f2e3b302cdf42d5 (diff)
downloadserverdata-99c7c13c125f3893c434c3dad23a6eb3abe77b7c.tar.gz
serverdata-99c7c13c125f3893c434c3dad23a6eb3abe77b7c.tar.bz2
serverdata-99c7c13c125f3893c434c3dad23a6eb3abe77b7c.tar.xz
serverdata-99c7c13c125f3893c434c3dad23a6eb3abe77b7c.zip
In case a slime blast defeats the lieutenant/colonel, it is a valid victory.
Do not die before marking that. You can die when trying to handle the announce or reward.
Diffstat (limited to 'npc/functions/siege.txt')
-rw-r--r--npc/functions/siege.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt
index 38427004e..0cc7aeff0 100644
--- a/npc/functions/siege.txt
+++ b/npc/functions/siege.txt
@@ -288,16 +288,16 @@ OnRespawn:
// Boss Death Labels
OnLieutenantDeath:
+ $MK_TEMPVAR+=1;
getitem StrangeCoin, 1;
mapannounce(getmap(), l("##2The Monster Lieutenant was defeated by @@!", strcharinfo(0)), bc_map);
- $MK_TEMPVAR+=1;
end;
OnColonelDeath:
+ $MK_TEMPVAR+=10;
getitem StrangeCoin, rand(5,10);
$MOST_HEROIC$=strcharinfo(0);
mapannounce(getmap(), l("##2The Monster Colonel was defeated by @@!", strcharinfo(0)), bc_map);
- $MK_TEMPVAR+=10;
end;
}