diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-30 03:56:02 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-30 03:56:02 -0300 |
commit | 0b822b68cfa79cedd4f5ea21b1d8e78f5d998a12 (patch) | |
tree | 795d171c3c2405470e3c61e5f9ea508d4e98a8a0 /npc/042-2/boss.txt | |
parent | f51eb2a764358ce24ba7fae74eb23d071785d195 (diff) | |
download | serverdata-0b822b68cfa79cedd4f5ea21b1d8e78f5d998a12.tar.gz serverdata-0b822b68cfa79cedd4f5ea21b1d8e78f5d998a12.tar.bz2 serverdata-0b822b68cfa79cedd4f5ea21b1d8e78f5d998a12.tar.xz serverdata-0b822b68cfa79cedd4f5ea21b1d8e78f5d998a12.zip |
Script Control some of Kamelot Castle warps.
Diffstat (limited to 'npc/042-2/boss.txt')
-rw-r--r-- | npc/042-2/boss.txt | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/npc/042-2/boss.txt b/npc/042-2/boss.txt index d7c3493f3..a115641be 100644 --- a/npc/042-2/boss.txt +++ b/npc/042-2/boss.txt @@ -4,9 +4,6 @@ // Micksha // Description: // Basement Boss Fight -// TODO: maptimer to give EXP to helpers/survivors -// TODO: Arrest scene (Razha) -// TODO: Actual arresting (cycle though our 12 jails with modus) // We'll be counting attendance now. 042-2,41,22,0 script #KDoor0422 NPC_HIDDEN,0,0,{ @@ -382,4 +379,17 @@ function kdoor0422Spawn { // Script end } +// Required exit +042-2,44,60,0 script #KDoor0422B NPC_HIDDEN,0,0,{ + end; + +OnTouch: + .@g=getcharid(2); + if ($KAMELOT_QUEST[.@g] & 4) { + warp "042-1@"+.@g, 51, 24; + } else { + dispbottom l("Oh noes! The guards locked the door!"); + } + end; +} |