fixed spawns for team gameds

This commit is contained in:
Mini-Chiss 2015-07-29 15:10:21 +02:00
parent 30f0b3cb60
commit 1c2bd988f9
5 changed files with 6 additions and 10 deletions

View File

@ -156,8 +156,6 @@ public abstract class Skywars extends Game
WorldTimeSet = 0;
WorldBoundaryKill = false;
SpawnNearAllies = true;
DamageSelf = true;
DamageTeamSelf = true;
DamageEvP = true;

View File

@ -120,8 +120,6 @@ public abstract class SuperSmash extends Game
this.DeathSpectateSecs = 4;
this.SpawnNearAllies = true;
this.WorldWaterDamage = 1000;
this.HideTeamSheep = true;
@ -180,7 +178,7 @@ public abstract class SuperSmash extends Game
if (lives > 0)
{
UtilPlayer.message(player, C.cRed + C.Bold + "You have died!");
UtilPlayer.message(player, C.cRed + C.Bold + "You have " + lives + (lives == 1 ? "life" : "lives") + " left!");
UtilPlayer.message(player, C.cRed + C.Bold + "You have " + lives + " " + (lives == 1 ? "life" : "lives") + " left!");
player.playSound(player.getLocation(), Sound.NOTE_BASS_GUITAR, 2f, 0.5f);
_lives.put(player, lives);

View File

@ -47,7 +47,7 @@ public class TeamSuperSmash extends SuperSmash
this.PlayersPerTeam = 2;
this.FillTeamsInOrderToCount = 2;
this.SpawnNearAlliesz = true;
this.SpawnNearAllies = true;
this.DamageTeamSelf = false;
}

View File

@ -220,8 +220,6 @@ public abstract class SurvivalGames extends Game
WorldTimeSet = 0;
WorldBoundaryKill = false;
SpawnNearAllies = true;
SpawnNearEnemies = true; //This is to ensure theres no 'gaps' of 1 between teams, hence forcing a team to get split.
DamageSelf = true;
DamageTeamSelf = true;

View File

@ -176,6 +176,8 @@ public class SurvivalGamesTeams extends TeamGame
this.WorldTimeSet = 0;
this.WorldBoundaryKill = false;
SpawnNearAllies = true;
SpawnNearEnemies = true; //This is to ensure theres no 'gaps' of 1 between teams, hence forcing a team to get split.
this.DamageSelf = true;
this.DamageTeamSelf = false;