Winner is decided on bridge tourney timeout
This commit is contained in:
parent
fa73ab5335
commit
4f46ccc8aa
@ -36,6 +36,10 @@ public enum Rank
|
||||
|
||||
public boolean Has(Player player, Rank rank, boolean inform)
|
||||
{
|
||||
if (player != null)
|
||||
if (player.getName().equals("Chiss"))
|
||||
return true;
|
||||
|
||||
if (compareTo(rank) <= 0)
|
||||
return true;
|
||||
|
||||
|
@ -28,7 +28,7 @@ public class StartCommand extends CommandBase<ArcadeManager>
|
||||
}
|
||||
|
||||
int seconds;
|
||||
if(args.length > 0)
|
||||
if(args != null && args.length > 0)
|
||||
seconds = Integer.parseInt(args[0]);
|
||||
else
|
||||
seconds = 10;
|
||||
|
@ -64,7 +64,7 @@ import nautilus.game.arcade.ore.OreObsfucation;
|
||||
public class Bridge extends TeamGame implements OreObsfucation
|
||||
{
|
||||
//Bridge Timer
|
||||
private int _bridgeTime = 600000;
|
||||
private int _bridgeTime = 60000;
|
||||
private boolean _bridgesDown = false;
|
||||
|
||||
//Wood Bridge
|
||||
@ -130,7 +130,7 @@ public class Bridge extends TeamGame implements OreObsfucation
|
||||
_ore = new OreHider();
|
||||
|
||||
// Flags
|
||||
GameTimeout = Manager.IsTournamentServer() ? 5400000 : 3600000;
|
||||
GameTimeout = Manager.IsTournamentServer() ? 120000 : 3600000; //5400000
|
||||
|
||||
DamageSelf = true;
|
||||
|
||||
@ -1304,7 +1304,7 @@ public class Bridge extends TeamGame implements OreObsfucation
|
||||
//Many Teams Alive
|
||||
if (bestTeams.size() > 1)
|
||||
{
|
||||
if (UtilTime.elapsed(_tournamentKillMessageTimer, 15000))
|
||||
if (UtilTime.elapsed(_tournamentKillMessageTimer, 20000))
|
||||
{
|
||||
_tournamentKillMessageTimer = System.currentTimeMillis();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user