Final tweaks. this is as good as it's goign to get! ;d

This commit is contained in:
Mysticate 2015-07-28 20:39:55 -06:00
parent 99946ef1f3
commit 3e0eb03112
2 changed files with 13 additions and 3 deletions

View File

@ -466,13 +466,13 @@ public class BombLobbers extends TeamGame implements IThrown
{
for (int i = 0 ; i < 2 ; i++)
UtilParticle.PlayParticle(ParticleType.RED_DUST, newTarget.clone().add(0.0, 0.5, 0.0), -1, 1, 1, 1, 0,
ViewDist.LONG, UtilServer.getPlayers());
ViewDist.NORMAL, UtilServer.getPlayers());
}
else
{
for (int i = 0 ; i < 2 ; i++)
UtilParticle.PlayParticle(ParticleType.RED_DUST, newTarget.clone().add(0.0, 0.5, 0.0), 0, 0, 0, 0, 1,
ViewDist.LONG, UtilServer.getPlayers());
ViewDist.NORMAL, UtilServer.getPlayers());
}
//UtilParticle.PlayParticle(ParticleType.RED_DUST, newTarget.clone().add(0.0, 0.6, 0.0), team.GetColorBase().getRed(), team.GetColorBase().getGreen(), team.GetColorBase().getBlue(), 1, 0, ViewDist.LONG, UtilServer.getPlayers());

View File

@ -12,7 +12,9 @@ import nautilus.game.arcade.kit.perks.PerkDummy;
import org.bukkit.Material;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
public class KitArmorer extends Kit
{
@ -32,7 +34,7 @@ public class KitArmorer extends Kit
}),
new PerkCraftman()
}, EntityType.ZOMBIE,
new ItemBuilder(Material.GOLD_CHESTPLATE).build());
new ItemBuilder(Material.GOLD_HELMET).build());
}
@Override
@ -53,6 +55,14 @@ public class KitArmorer extends Kit
UtilInv.Update(player);
}
@Override
public void SpawnCustom(LivingEntity entity)
{
entity.getEquipment().setChestplate(new ItemStack(Material.GOLD_CHESTPLATE));
entity.getEquipment().setLeggings(new ItemStack(Material.GOLD_LEGGINGS));
entity.getEquipment().setBoots(new ItemStack(Material.GOLD_BOOTS));
}
@Override
public void GiveItems(Player player)
{