fixed a few sky bugs

This commit is contained in:
Cheese 2015-06-29 14:26:00 +10:00
parent 2963f7a61c
commit 48f5fa118a
4 changed files with 8 additions and 7 deletions

View File

@ -111,8 +111,8 @@ public enum Achievement
SKYWARS_PLAYER_KILLS("Cold Blooded Killer",500,
new String[]{"Skywars.Kills"},
new String[]{"Kill 250 Players"},
new int[]{250},
new String[]{"Kill 80 Players"},
new int[]{80},
AchievementCategory.SKYWARS),
SKYWARS_NOCHEST("Survivalist",1000,

View File

@ -60,7 +60,7 @@ public enum GameDisplay
Build("Master Builders", Material.WOOD, (byte)0, GameCategory.CLASSICS, 50),
Cards("Craft Against Humanity", Material.MAP, (byte)0, GameCategory.CLASSICS, 51),
Skywars("Skywars", Material.DOUBLE_PLANT, (byte)5, GameCategory.SURVIVAL, 52),
Skywars("Skywars", Material.FEATHER, (byte)5, GameCategory.SURVIVAL, 52),
Event("Mineplex Event", Material.CAKE, (byte)0, GameCategory.EVENT, 999);

View File

@ -260,7 +260,8 @@ public class Skywars extends SoloGame
zombie.setRemoveWhenFarAway(false);
zombie.setCustomName(C.cDRed + "Zombie Guardian");
zombie.setCustomNameVisible(true);
zombie.setMaxHealth(20.0D);
zombie.setMaxHealth(15);
zombie.setHealth(15);
CreatureAllowOverride = false;
// Armor - Make sure the player can't get it!
@ -1117,8 +1118,8 @@ public class Skywars extends SoloGame
//Projectile
_playerProjectile.addLoot(new RandomItem(Material.ARROW, 18, 2, 8));
_playerProjectile.addLoot(new RandomItem(Material.SNOW_BALL, 60, 2, 8));
_playerProjectile.addLoot(new RandomItem(Material.EGG, 60, 2, 8));
_playerProjectile.addLoot(new RandomItem(Material.SNOW_BALL, 60, 2, 5));
_playerProjectile.addLoot(new RandomItem(Material.EGG, 60, 2, 5));
//Block
_playerBlock.addLoot(new RandomItem(Material.COBBLESTONE, 30, 8, 16));

View File

@ -122,7 +122,7 @@ public class TNTGenerator
2,
F.item(C.cYellow + C.Bold + "Left Click - Far "
+ C.cWhite + " / " + C.cYellow + C.Bold
+ " Right Click - Short")));
+ " Right Click - Drop")));
player.playSound(player.getLocation(), Sound.ENDERDRAGON_HIT, 3F, 1F);