From 56b567c4f0545657f86286820cade0ba1f2afdc1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 17 Jun 2018 14:53:27 -0300 Subject: World Cup is about to start, interrupt coding. --- npc/001-8/hub.txt | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'npc/001-8') 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(); -- cgit v1.2.3-60-g2f50