diff options
Diffstat (limited to 'npc/001-8')
-rw-r--r-- | npc/001-8/hub.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/npc/001-8/hub.txt b/npc/001-8/hub.txt index c6a9ea294..3fae0afab 100644 --- a/npc/001-8/hub.txt +++ b/npc/001-8/hub.txt @@ -8,9 +8,38 @@ 001-8,0,0,0 script #QuirinoHUB NPC_HIDDEN,{ end; +OnStart: + maptimer("001-8", 5000, "#QuirinoHUB::OnCount10"); + announce("##1HUNGRY QUIRIN EVENT: ##3##BCountdown: 15 seconds!", bc_all|bc_npc); + end; + +OnCount10: + misceffect(4); + addtimer(5000, "#QuirinoHUB::OnCount5"); + dispbottom l("10 seconds!"); + end; + +OnCount5: + misceffect(4); + addtimer(5000, "#QuirinoHUB::OnBegin"); + dispbottom l("5 seconds!"); + end; + +OnBegin: + setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_ITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, false); + misceffect(60); + misceffect(11); + dispbottom col("Run! Event started!", 1); + end; + +OnSendWave: + end; + OnPCLogoutEvent: OnPCDieEvent: + if (checkpcblock() & PCBLOCK_ATTACK) + setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_ITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, false); getmapxy(.@mapa$, .@a,.@b, 0); if (.@mapa$ == "001-8") { clearitem(); |