summaryrefslogtreecommitdiff
path: root/npc/001-8
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-17 14:53:27 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-17 14:53:27 -0300
commit56b567c4f0545657f86286820cade0ba1f2afdc1 (patch)
treeff71e3679eb27b3c9c9d404c91c0fa4dd022d4a5 /npc/001-8
parent840dad9dc25500fc6199a9c8aaae0b4407ed7118 (diff)
downloadserverdata-56b567c4f0545657f86286820cade0ba1f2afdc1.tar.gz
serverdata-56b567c4f0545657f86286820cade0ba1f2afdc1.tar.bz2
serverdata-56b567c4f0545657f86286820cade0ba1f2afdc1.tar.xz
serverdata-56b567c4f0545657f86286820cade0ba1f2afdc1.zip
World Cup is about to start, interrupt coding.
Diffstat (limited to 'npc/001-8')
-rw-r--r--npc/001-8/hub.txt29
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();