more amazing changes

This commit is contained in:
fooify 2015-08-11 09:41:26 -07:00
parent c6ec60700c
commit 356060eedc
2 changed files with 5 additions and 6 deletions

View File

@ -482,12 +482,12 @@ public class Maze implements Listener
{
UtilTextMiddle.display(C.cGold + C.Bold + "AWESOME!", C.cGold + "You were the first to make it to the safe pad!", p);
p.playSound(p.getLocation(), Sound.SUCCESSFUL_HIT, 1.0f, 1.0f);
_phaseTimer = 21;
_phaseTimer = 16;
Host.Announce(C.cRed + C.Bold + p.getName() + " was the first to make it to the safe pad! Everyone not on the safe pad in 20 seconds will die!");
} else // not the first
{
p.playSound(p.getLocation(), Sound.SUCCESSFUL_HIT, 1.0f, 1.0f);
UtilTextMiddle.display(C.cGreen + C.Bold + "Great!", C.cGreen + "You made it to the safe pad!");
UtilTextMiddle.display(C.cGreen + C.Bold + "Great!", C.cGreen + "Stay on the safe pad!", p);
}
}
}

View File

@ -39,9 +39,8 @@ public class MonsterMaze extends SoloGame
new String[]
{
"stuff happens and you have to do stuff so yeah",
"",
"have fun i guess",
"Get to the safe pad, but avoid the monsters!",
"You can't jump.",
});
this.DamagePvP = false;
@ -69,7 +68,7 @@ public class MonsterMaze extends SoloGame
_monsterType = EntityType.SNOWMAN; // TODO map-specific monster type
_maze = new Maze(this, WorldData.GetDataLocs("GRAY"), WorldData.GetDataLocs("YELLOW"), WorldData.GetDataLocs("RED"));
UtilServer.getServer().getPluginManager().registerEvents(_maze, getArcadeManager().getPlugin());
_maze.fillSpawn(150);
_maze.fillSpawn(135);
} else if(event.GetState() == GameState.Live)
{