summaryrefslogtreecommitdiff
path: root/npc/001-8
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-29 18:59:49 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-29 18:59:49 -0300
commitc68a045918da5bf72ac24b4a68aa37927840652b (patch)
tree997fb4d5aaeef8bca3c721e5c754daffd34bb3bc /npc/001-8
parent47eb02ebed8503b7c9420eb5514090c6e9dbe48d (diff)
downloadserverdata-c68a045918da5bf72ac24b4a68aa37927840652b.tar.gz
serverdata-c68a045918da5bf72ac24b4a68aa37927840652b.tar.bz2
serverdata-c68a045918da5bf72ac24b4a68aa37927840652b.tar.xz
serverdata-c68a045918da5bf72ac24b4a68aa37927840652b.zip
Debug it
Diffstat (limited to 'npc/001-8')
-rw-r--r--npc/001-8/hub.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/001-8/hub.txt b/npc/001-8/hub.txt
index e917f8e8d..bacee697b 100644
--- a/npc/001-8/hub.txt
+++ b/npc/001-8/hub.txt
@@ -55,8 +55,8 @@
// Only one player standing! CONGRATULATIONS, YOU HAVE WON!!
OnGameOver:
- debugmes "OnGameOver Check";
.@u=getmapusers("001-8");
+ debugmes "OnGameOver Check: "+str(.@u);
if (.@u == 1) {
$@EQ_STATUS=2;
maptimer("001-8", 10, "#QuirinoHUB::OnVictory");
@@ -313,6 +313,8 @@ OnTimer900000:
OnVictory:
@qhub_victor=1;
+ debugmes "We have a victor";
+ dispbottom l("Winner is you");
OnPCDieEvent:
@qhub_died=1;
OnPCLogoutEvent:
@@ -337,7 +339,7 @@ OnPCLogoutEvent:
HUBspawn(Wolvern, 4);
HUBspawn(NightScorpion, 2);
}
- if (.@u == 1) {
+ if (.@u == 1 && !@qhub_victor) {
donpcevent "#QuirinoHUB::OnGameOver";
}