summaryrefslogtreecommitdiff
path: root/npc/042-2
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-2')
-rw-r--r--npc/042-2/boss.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/042-2/boss.txt b/npc/042-2/boss.txt
index 238c5d95b..914290e59 100644
--- a/npc/042-2/boss.txt
+++ b/npc/042-2/boss.txt
@@ -13,7 +13,7 @@
OnTouch:
.@label$=instance_npcname(.name$)+"::OnKillBoss";
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
if (($KAMELOT_QUEST[.@g] & 4) && !mobcount(getmap(), .@label$)) {
warp "042-3@"+.@g, 58, 139;
} else {
@@ -28,7 +28,7 @@ OnArrival:
.@m$=instance_mapname("042-2");
.@g=getcharid(2);
if (.@g < 1)
- percentheal -100, -100;
+ die();
//debugmes getmap();
if (getmap() != "042-2@"+.@g)
end;
@@ -153,7 +153,7 @@ OnTimer185000:
OnVerifyIntent:
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
mesq l("Who are you, and how did you manage to come down here? The sheer power of our Lord prevents anyone not under his control to go here.");
select
l("We are strong fighters, and we want to free the King from his obsession."),
@@ -183,7 +183,7 @@ OnVerifyIntent:
OnKillMob:
if (!playerattached()) end;
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
getexp $KAMELOT_MX[.@g]*5, $KAMELOT_MX[.@g]*2;
end;
@@ -308,7 +308,7 @@ OnTimer1015000:
OnReward:
.@g=getcharid(2);
- if (.@g < 1) percentheal -100, -100;
+ if (.@g < 1) die();
setpcblock(255, true);
getitem GuildCoin, min(1, $KAMELOT_MX[.@g]/25);
getexp $KAMELOT_MX[.@g]*50, $KAMELOT_MX[.@g]*10;