Bomb Lobbers
This commit is contained in:
parent
54e545e2ff
commit
30dcfdb660
@ -1651,13 +1651,12 @@ public enum GameKit
|
|||||||
(
|
(
|
||||||
0,
|
0,
|
||||||
GameDisplay.Lobbers,
|
GameDisplay.Lobbers,
|
||||||
"Jumper",
|
"Acrobat",
|
||||||
"lobbersjumper",
|
"lobbersjumper",
|
||||||
new String[]
|
new String[]
|
||||||
{
|
{
|
||||||
"Use your jumping abilities to leap away from trouble!",
|
"Use your sturdy shoes prevent fall damage.",
|
||||||
C.blankLine,
|
C.blankLine,
|
||||||
"You take no fall damage",
|
|
||||||
"Receive " + C.cGreen + 1 + C.cGray + " TNT every " + C.cGreen + "4-8" + C.cGray + " seconds. Max " + C.cGreen + "3."
|
"Receive " + C.cGreen + 1 + C.cGray + " TNT every " + C.cGreen + "4-8" + C.cGray + " seconds. Max " + C.cGreen + "3."
|
||||||
},
|
},
|
||||||
new KitEntityData<>
|
new KitEntityData<>
|
||||||
@ -1714,7 +1713,14 @@ public enum GameKit
|
|||||||
new KitEntityData<>
|
new KitEntityData<>
|
||||||
(
|
(
|
||||||
Zombie.class,
|
Zombie.class,
|
||||||
new ItemStack(Material.IRON_AXE)
|
new ItemStack(Material.IRON_AXE),
|
||||||
|
new ItemStack[]
|
||||||
|
{
|
||||||
|
new ItemStack(Material.CHAINMAIL_BOOTS),
|
||||||
|
new ItemStack(Material.CHAINMAIL_LEGGINGS),
|
||||||
|
new ItemStack(Material.CHAINMAIL_CHESTPLATE),
|
||||||
|
new ItemStack(Material.CHAINMAIL_HELMET)
|
||||||
|
}
|
||||||
),
|
),
|
||||||
4000
|
4000
|
||||||
),
|
),
|
||||||
|
@ -20,12 +20,14 @@ import nautilus.game.arcade.game.games.lobbers.events.TNTThrowEvent;
|
|||||||
import nautilus.game.arcade.game.games.lobbers.kits.perks.PerkCraftman;
|
import nautilus.game.arcade.game.games.lobbers.kits.perks.PerkCraftman;
|
||||||
import nautilus.game.arcade.kit.Kit;
|
import nautilus.game.arcade.kit.Kit;
|
||||||
import nautilus.game.arcade.kit.Perk;
|
import nautilus.game.arcade.kit.Perk;
|
||||||
|
import nautilus.game.arcade.kit.perks.PerkDoubleJump;
|
||||||
|
|
||||||
public class KitPitcher extends Kit
|
public class KitPitcher extends Kit
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final Perk[] PERKS =
|
private static final Perk[] PERKS =
|
||||||
{
|
{
|
||||||
|
new PerkDoubleJump("Double Jump", 1.2, 1.2, false),
|
||||||
new PerkCraftman()
|
new PerkCraftman()
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -34,6 +36,14 @@ public class KitPitcher extends Kit
|
|||||||
ItemStackFactory.Instance.CreateStack(Material.LEVER, (byte) 0, 2, F.item("Velocity Selector"))
|
ItemStackFactory.Instance.CreateStack(Material.LEVER, (byte) 0, 2, F.item("Velocity Selector"))
|
||||||
};
|
};
|
||||||
|
|
||||||
|
private static final ItemStack[] PLAYER_ARMOR =
|
||||||
|
{
|
||||||
|
ItemStackFactory.Instance.CreateStack(Material.CHAINMAIL_BOOTS),
|
||||||
|
ItemStackFactory.Instance.CreateStack(Material.CHAINMAIL_LEGGINGS),
|
||||||
|
ItemStackFactory.Instance.CreateStack(Material.CHAINMAIL_CHESTPLATE),
|
||||||
|
ItemStackFactory.Instance.CreateStack(Material.CHAINMAIL_HELMET),
|
||||||
|
};
|
||||||
|
|
||||||
public KitPitcher(ArcadeManager manager)
|
public KitPitcher(ArcadeManager manager)
|
||||||
{
|
{
|
||||||
super(manager, GameKit.BOMB_LOBBERS_PITCHER, PERKS);
|
super(manager, GameKit.BOMB_LOBBERS_PITCHER, PERKS);
|
||||||
@ -43,6 +53,7 @@ public class KitPitcher extends Kit
|
|||||||
public void GiveItems(Player player)
|
public void GiveItems(Player player)
|
||||||
{
|
{
|
||||||
player.getInventory().setItem(1, PLAYER_ITEMS[0]);
|
player.getInventory().setItem(1, PLAYER_ITEMS[0]);
|
||||||
|
player.getInventory().setArmorContents(PLAYER_ARMOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
|
Loading…
Reference in New Issue
Block a user