more changes to monstermaze

This commit is contained in:
fooify 2015-09-20 07:40:24 -07:00
parent 0581474a16
commit 1f84907309

View File

@ -5,6 +5,7 @@ import java.util.UUID;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.Sound;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
import org.bukkit.entity.Skeleton;
@ -82,7 +83,7 @@ public class MonsterMaze extends SoloGame
if(event.GetState() == GameState.Prepare)
{
//if(WorldData.MapName.contains("MonsterTest")) _monsterType = EntityType.CREEPER;
//_maze.spawnSafePad();
_maze.spawnSafePad();
setupJumpers();
}
else if(event.GetState() == GameState.Live)
@ -93,8 +94,6 @@ public class MonsterMaze extends SoloGame
for (Team team : GetScoreboard().GetScoreboard().getTeams())
team.setCanSeeFriendlyInvisibles(true);
_maze.spawnSafePad();
}
else if(event.GetState() == GameState.Recruit)
{
@ -104,7 +103,7 @@ public class MonsterMaze extends SoloGame
_preset.build();
_maze = new Maze(this, _preset);
_maze.fillSpawn(200);
_maze.fillSpawn(150);
}
}
@ -135,6 +134,7 @@ public class MonsterMaze extends SoloGame
if(!_jumperData.containsKey(p.getUniqueId()) || !Recharge.Instance.usable(p, "MM Player Jump") || p.getLocation().getY()-_center.getY() <= 0 || !Recharge.Instance.usable(p, "Monster Launch")) continue;
_jumperData.put(p.getUniqueId(), _jumperData.get(p.getUniqueId())-1);
p.playSound(p.getLocation(), Sound.CHICKEN_EGG_POP, 1.0f, 1.0f);
Recharge.Instance.useForce(p, "MM Player Jump", 750);
}
@ -222,7 +222,7 @@ public class MonsterMaze extends SoloGame
Scoreboard.Write(C.cDPurple + C.Bold + "Beacon Timer");
if(IsLive())
{
Scoreboard.Write(_maze.getPhaseTimer() + "");
Scoreboard.Write(_maze.getPhaseTimer() + " Seconds");
}
else
{
@ -230,7 +230,6 @@ public class MonsterMaze extends SoloGame
}
Scoreboard.WriteBlank();
Scoreboard.Write(C.cYellow + C.Bold + "Players");
if(GetPlayers(true).size() > 5)
{
Scoreboard.Write(C.cWhite + GetPlayers(true).size() + " Players");