summaryrefslogtreecommitdiff
path: root/npc/boss
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-29 20:29:34 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-29 20:29:34 -0300
commitb59998c69271c96ca7b1297088f44d3ed8919c2b (patch)
treeb4a9a7d95d75b4d3801f89c2b22177204bed4651 /npc/boss
parentb08955ff55790712de30e71782b7829f0d1696bc (diff)
downloadserverdata-b59998c69271c96ca7b1297088f44d3ed8919c2b.tar.gz
serverdata-b59998c69271c96ca7b1297088f44d3ed8919c2b.tar.bz2
serverdata-b59998c69271c96ca7b1297088f44d3ed8919c2b.tar.xz
serverdata-b59998c69271c96ca7b1297088f44d3ed8919c2b.zip
It's pretty basic, but this should be an OK-fight for the server "final" event.
Diffstat (limited to 'npc/boss')
-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
+
+