Update to Kit Progression system
This commit is contained in:
parent
119931ac71
commit
5b32eb4815
|
@ -2,9 +2,9 @@ package nautilus.game.arcade.game.games.basketball.kit;
|
|||
|
||||
import mineplex.core.common.util.C;
|
||||
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.ProgressingKit;
|
||||
import nautilus.game.arcade.kit.perks.PerkDoubleJump;
|
||||
|
||||
import org.bukkit.Material;
|
||||
|
@ -12,21 +12,28 @@ import org.bukkit.entity.EntityType;
|
|||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
public class BasketballPlayerKit extends Kit
|
||||
public class BasketballPlayerKit extends ProgressingKit
|
||||
{
|
||||
private static final String[] DESCRIPTION =
|
||||
{
|
||||
"A true NBA Champion!"
|
||||
};
|
||||
|
||||
private static final Perk[] PERKS =
|
||||
{
|
||||
new PerkDoubleJump("Hops", new String[] {C.cYellow + "Tap Jump Twice" + C.cGray + " to use " + C.cGreen + "Hops"}, 1.2, 1.2, true, 8000, true)
|
||||
};
|
||||
|
||||
private static final ItemStack IN_HAND = new ItemStack(Material.SLIME_BALL);
|
||||
|
||||
public BasketballPlayerKit(ArcadeManager manager)
|
||||
{
|
||||
super(manager, "Basketball Player", KitAvailability.Free, new String[]
|
||||
{
|
||||
"",
|
||||
"A true NBA Champion",
|
||||
""
|
||||
},
|
||||
new Perk[] {new PerkDoubleJump("Hops", new String[] {C.cYellow + "Tap Jump Twice" + C.cGray + " to use " + C.cGreen + "Hops"}, 1.2, 1.2, true, 8000, true)}, EntityType.ZOMBIE, new ItemStack(Material.SLIME_BALL));
|
||||
super(manager, "Basketball Player", "bballer", KitAvailability.Free, DESCRIPTION, PERKS, EntityType.ZOMBIE, IN_HAND);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void GiveItems(Player player)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue