diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-29 02:39:38 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-29 02:39:38 -0300 |
commit | 14ce676c6654dbced91fc6008bbb8ac4f16d06c5 (patch) | |
tree | 033fb62b75f68a912baae406aafae69347edb056 /npc/042-2 | |
parent | 6c46e622c11a412d4083b78a62f557c24b8e2d03 (diff) | |
download | serverdata-14ce676c6654dbced91fc6008bbb8ac4f16d06c5.tar.gz serverdata-14ce676c6654dbced91fc6008bbb8ac4f16d06c5.tar.bz2 serverdata-14ce676c6654dbced91fc6008bbb8ac4f16d06c5.tar.xz serverdata-14ce676c6654dbced91fc6008bbb8ac4f16d06c5.zip |
Tie some stuff togheter for easiness of testing
Diffstat (limited to 'npc/042-2')
-rw-r--r-- | npc/042-2/boss.txt | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/npc/042-2/boss.txt b/npc/042-2/boss.txt index e32a70491..2beeeeaaa 100644 --- a/npc/042-2/boss.txt +++ b/npc/042-2/boss.txt @@ -40,12 +40,27 @@ OnArrival: OnTimer1000: .@m$=instance_mapname("042-2"); - .@n$=instance_npcname(.name$); - mapannounce .@m$, "??? : Where's Micksha? WHRE IS ARTHUR MICKSHA", 0; + mapannounce .@m$, "??? : Where's Micksha? WHRE IS ARTHUR MICKSHA??", 0; + .@gcount=$KAMELOT_PC[.@g]; + kdoor0422Spawn(.@gcount*2, 20, 24, 59, 59); + end; + +OnTimer30000: + .@m$=instance_mapname("042-2"); + mapannounce .@m$, "??? : MICKSHAAAAAAA!! YOU NEED TO FIX STUFF!!", 0; .@gcount=$KAMELOT_PC[.@g]; kdoor0422Spawn(.@gcount*2, 20, 24, 59, 59); end; +OnTimer60000: + .@m$=instance_mapname("042-2"); + .@n$=instance_npcname(.name$); + mapannounce .@m$, "General Krukan : NO WAY I'M GOING OUT UNTIL I'M FIXED!!!!", 0; + .@gcount=$KAMELOT_PC[.@g]; + kdoor0422Spawn(.@gcount*3, 20, 24, 59, 59); + .@mob=monster(.@m$, 34, 26, strmobinfo(1, GeneralKrukan), GeneralKrukan, 1, .@n$+"::OnKillBoss"); // FIXME + end; + OnKillMob: if (!playerattached()) end; @@ -77,6 +92,8 @@ OnKillBoss: message .@gm$, strcharinfo(0)+" defeated Krukan: Guild GP +"+.@ggp+" Guild XP +"+.@gxp; // TODO: maptimer to give EXP to helpers/survivors + // TODO: Arrest scene + // TODO: Actual arresting end; function kdoor0422Spawn { |