Add leaper kit

This commit is contained in:
Sam 2017-05-04 17:15:55 +01:00
parent bd52e63dc3
commit 808885ea04

View File

@ -1,9 +1,11 @@
package nautilus.game.arcade.game.games.alieninvasion.kit;
import mineplex.core.itemstack.ItemStackFactory;
import nautilus.game.arcade.ArcadeManager;
import nautilus.game.arcade.kit.Kit;
import nautilus.game.arcade.kit.KitAvailability;
import nautilus.game.arcade.kit.Perk;
import nautilus.game.arcade.kit.perks.PerkLeap;
import org.bukkit.Material;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
@ -17,7 +19,11 @@ public class KitPlayer extends Kit
};
private static final Perk[] PERKS = {
new PerkLeap("Leap", 1, 1, 8000, 4),
};
private static final ItemStack[] PLAYER_ITEMS = {
new ItemStack(Material.IRON_AXE)
};
private static final ItemStack IN_HAND = new ItemStack(Material.ENDER_STONE);
@ -30,6 +36,7 @@ public class KitPlayer extends Kit
@Override
public void GiveItems(Player player)
{
player.getInventory().addItem(PLAYER_ITEMS);
player.setExp(0.999F);
}
}