summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/003-0/mainquest.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/npc/003-0/mainquest.txt b/npc/003-0/mainquest.txt
index 936cac844..f03bf6d9c 100644
--- a/npc/003-0/mainquest.txt
+++ b/npc/003-0/mainquest.txt
@@ -39,7 +39,20 @@ OnBegin:
if (.@y < 34)
.@y=34;
}
+ setcells .@m$, 47, 35, 51, 35, 3, "MQ2Wall"+getcharid(0), .@n$+"::OnAssassinDefeat";
+ if (isin(.@m$, 44, 24, 54, 34)) {
+ warp .@m$, 49, 33;
+ atcommand("@refresh");
+ }
@ASSASSIN=monster(.@m$, .@x, .@y, l("Assassin"), Assassin, 1);
+ unittalk(@ASSASSIN, l("Die now!!"));
+ dispbottom col(l("SCRIPT ERROR (%s/%s)", .@m$, .@n$), 1);
+ end;
+
+OnAssassinDefeat:
+ .@m$=getmap();
+ .@n$=instance_npcname(.name$);
+ delcells "MQ2Wall"+getcharid(0);
dispbottom col(l("SCRIPT ERROR (%s/%s)", .@m$, .@n$), 1);
end;