summaryrefslogtreecommitdiff
path: root/npc/boss/throne.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/boss/throne.txt')
-rw-r--r--npc/boss/throne.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/npc/boss/throne.txt b/npc/boss/throne.txt
index 10e2fff92..a04f2ba94 100644
--- a/npc/boss/throne.txt
+++ b/npc/boss/throne.txt
@@ -114,3 +114,36 @@ OnVictory:
end;
}
+// Room Traps, only against players
+boss,0,0,0 script #MKBossTrap01 NPC_TRAP,0,0,{
+ end;
+
+OnTouch:
+ SteelTrap(rand2(10, 20));
+ end;
+
+OnTimer10000:
+ stopnpctimer;
+ setnpctimer 0;
+ setnpcdisplay .name$, NPC_TRAP;
+ //end;
+ // Move the trap away after it disarms
+
+OnMinute14:
+OnMinute26:
+OnMinute40:
+OnMinute54:
+OnInit:
+ .@x=rand2(20,70);
+ .@y=rand2(20,70);
+ movenpc .name$, .@x, .@y;
+ end;
+}
+
+// Create more traps. (They can be on walls)
+boss,0,0,0 duplicate(#MKBossTrap01) #MKBossTrap02 NPC_TRAP,0,0
+boss,0,0,0 duplicate(#MKBossTrap01) #MKBossTrap03 NPC_TRAP,0,0
+boss,0,0,0 duplicate(#MKBossTrap01) #MKBossTrap04 NPC_TRAP,0,0
+boss,0,0,0 duplicate(#MKBossTrap01) #MKBossTrap05 NPC_TRAP,0,0
+
+