SSM: dont give passive item descs in game.
This commit is contained in:
parent
ff0e39067a
commit
f612826787
@ -334,4 +334,10 @@ public class MountManager extends MiniPlugin
|
||||
if (event.getEntity().getItemStack().getType() == Material.LEASH)
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void HangingBreakEvent(org.bukkit.event.hanging.HangingBreakEvent event)
|
||||
{
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ import mineplex.core.common.util.C;
|
||||
import mineplex.core.disguise.disguises.DisguiseChicken;
|
||||
import mineplex.core.itemstack.ItemStackFactory;
|
||||
import nautilus.game.arcade.ArcadeManager;
|
||||
import nautilus.game.arcade.game.Game.GameState;
|
||||
import nautilus.game.arcade.kit.KitAvailability;
|
||||
import nautilus.game.arcade.kit.Perk;
|
||||
import nautilus.game.arcade.kit.SmashKit;
|
||||
@ -63,16 +64,17 @@ public class KitChicken extends SmashKit
|
||||
ChatColor.RESET + "damage and knockback to players.",
|
||||
}));
|
||||
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.FEATHER, (byte)0, 1,
|
||||
C.cYellow + C.Bold + "Passive" + C.cWhite + C.Bold + " - " + C.cGreen + C.Bold + "Flap",
|
||||
new String[]
|
||||
{
|
||||
ChatColor.RESET + "You are able to use your double jump",
|
||||
ChatColor.RESET + "up to 6 times in a row. However, with",
|
||||
ChatColor.RESET + "each flap, it loses some potency.",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + C.cAqua + "Flap uses Energy (Experience Bar)",
|
||||
}));
|
||||
if (Manager.GetGame().GetState() == GameState.Recruit)
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.FEATHER, (byte)0, 1,
|
||||
C.cYellow + C.Bold + "Passive" + C.cWhite + C.Bold + " - " + C.cGreen + C.Bold + "Flap",
|
||||
new String[]
|
||||
{
|
||||
ChatColor.RESET + "You are able to use your double jump",
|
||||
ChatColor.RESET + "up to 6 times in a row. However, with",
|
||||
ChatColor.RESET + "each flap, it loses some potency.",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + C.cAqua + "Flap uses Energy (Experience Bar)",
|
||||
}));
|
||||
|
||||
player.getInventory().setChestplate(ItemStackFactory.Instance.CreateStack(Material.LEATHER_CHESTPLATE));
|
||||
|
||||
|
@ -10,6 +10,7 @@ import mineplex.core.common.util.C;
|
||||
import mineplex.core.disguise.disguises.DisguiseCreeper;
|
||||
import mineplex.core.itemstack.ItemStackFactory;
|
||||
import nautilus.game.arcade.ArcadeManager;
|
||||
import nautilus.game.arcade.game.Game.GameState;
|
||||
import nautilus.game.arcade.kit.KitAvailability;
|
||||
import nautilus.game.arcade.kit.Perk;
|
||||
import nautilus.game.arcade.kit.SmashKit;
|
||||
@ -65,17 +66,17 @@ public class KitCreeper extends SmashKit
|
||||
ChatColor.RESET + "large damage and knockback.",
|
||||
|
||||
}));
|
||||
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.NETHER_STAR, (byte)0, 1,
|
||||
C.cYellow + C.Bold + "Passive" + C.cWhite + C.Bold + " - " + C.cGreen + C.Bold + "Lightning Shield",
|
||||
new String[]
|
||||
{
|
||||
ChatColor.RESET + "When attacked by a non-melee attack,",
|
||||
ChatColor.RESET + "you gain Lightning Shield for 3 seconds.",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Lightning Shield blocks 1 melee attack,",
|
||||
ChatColor.RESET + "striking lightning on the attacker.",
|
||||
}));
|
||||
if (Manager.GetGame().GetState() == GameState.Recruit)
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.NETHER_STAR, (byte)0, 1,
|
||||
C.cYellow + C.Bold + "Passive" + C.cWhite + C.Bold + " - " + C.cGreen + C.Bold + "Lightning Shield",
|
||||
new String[]
|
||||
{
|
||||
ChatColor.RESET + "When attacked by a non-melee attack,",
|
||||
ChatColor.RESET + "you gain Lightning Shield for 3 seconds.",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Lightning Shield blocks 1 melee attack,",
|
||||
ChatColor.RESET + "striking lightning on the attacker.",
|
||||
}));
|
||||
|
||||
player.getInventory().setHelmet(ItemStackFactory.Instance.CreateStack(Material.LEATHER_HELMET));
|
||||
player.getInventory().setChestplate(ItemStackFactory.Instance.CreateStack(Material.LEATHER_CHESTPLATE));
|
||||
|
@ -10,6 +10,7 @@ import mineplex.core.common.util.C;
|
||||
import mineplex.core.disguise.disguises.DisguiseSkeleton;
|
||||
import mineplex.core.itemstack.ItemStackFactory;
|
||||
import nautilus.game.arcade.ArcadeManager;
|
||||
import nautilus.game.arcade.game.Game.GameState;
|
||||
import nautilus.game.arcade.kit.KitAvailability;
|
||||
import nautilus.game.arcade.kit.Perk;
|
||||
import nautilus.game.arcade.kit.SmashKit;
|
||||
@ -65,14 +66,15 @@ public class KitSkeleton extends SmashKit
|
||||
ChatColor.RESET + "towards it, with great power.",
|
||||
}));
|
||||
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.BONE, (byte)0, 1,
|
||||
C.cYellow + C.Bold + "Charge Bow" + C.cWhite + C.Bold + " - " + C.cGreen + C.Bold + "Barrage",
|
||||
new String[]
|
||||
{
|
||||
ChatColor.RESET + "Slowly load more arrows into your bow.",
|
||||
ChatColor.RESET + "When you release, you will quickly fire",
|
||||
ChatColor.RESET + "all the arrows in succession.",
|
||||
}));
|
||||
if (Manager.GetGame().GetState() == GameState.Recruit)
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.BONE, (byte)0, 1,
|
||||
C.cYellow + C.Bold + "Charge Bow" + C.cWhite + C.Bold + " - " + C.cGreen + C.Bold + "Barrage",
|
||||
new String[]
|
||||
{
|
||||
ChatColor.RESET + "Slowly load more arrows into your bow.",
|
||||
ChatColor.RESET + "When you release, you will quickly fire",
|
||||
ChatColor.RESET + "all the arrows in succession.",
|
||||
}));
|
||||
|
||||
player.getInventory().setHelmet(ItemStackFactory.Instance.CreateStack(Material.CHAINMAIL_HELMET));
|
||||
player.getInventory().setChestplate(ItemStackFactory.Instance.CreateStack(Material.CHAINMAIL_CHESTPLATE));
|
||||
|
@ -10,6 +10,7 @@ import mineplex.core.common.util.C;
|
||||
import mineplex.core.disguise.disguises.DisguiseSnowman;
|
||||
import mineplex.core.itemstack.ItemStackFactory;
|
||||
import nautilus.game.arcade.ArcadeManager;
|
||||
import nautilus.game.arcade.game.Game.GameState;
|
||||
import nautilus.game.arcade.kit.KitAvailability;
|
||||
import nautilus.game.arcade.kit.Perk;
|
||||
import nautilus.game.arcade.kit.SmashKit;
|
||||
@ -65,16 +66,17 @@ public class KitSnowman extends SmashKit
|
||||
ChatColor.RESET + "direction you are looking.",
|
||||
}));
|
||||
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.SNOW_BLOCK, (byte)0, 1,
|
||||
C.cYellow + C.Bold + "Passive" + C.cWhite + C.Bold + " - " + C.cGreen + C.Bold + "Arctic Aura",
|
||||
new String[]
|
||||
{
|
||||
ChatColor.RESET + "Creates a field of snow around you",
|
||||
ChatColor.RESET + "granting 150% damage to opponents",
|
||||
ChatColor.RESET + "who are standing on it.",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Your aura shrinks on low energy.",
|
||||
}));
|
||||
if (Manager.GetGame().GetState() == GameState.Recruit)
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.SNOW_BLOCK, (byte)0, 1,
|
||||
C.cYellow + C.Bold + "Passive" + C.cWhite + C.Bold + " - " + C.cGreen + C.Bold + "Arctic Aura",
|
||||
new String[]
|
||||
{
|
||||
ChatColor.RESET + "Creates a field of snow around you",
|
||||
ChatColor.RESET + "granting 150% damage to opponents",
|
||||
ChatColor.RESET + "who are standing on it.",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Your aura shrinks on low energy.",
|
||||
}));
|
||||
|
||||
player.getInventory().setHelmet(ItemStackFactory.Instance.CreateStack(Material.CHAINMAIL_HELMET));
|
||||
player.getInventory().setChestplate(ItemStackFactory.Instance.CreateStack(Material.CHAINMAIL_CHESTPLATE));
|
||||
|
@ -10,6 +10,7 @@ import mineplex.core.common.util.C;
|
||||
import mineplex.core.disguise.disguises.DisguiseSpider;
|
||||
import mineplex.core.itemstack.ItemStackFactory;
|
||||
import nautilus.game.arcade.ArcadeManager;
|
||||
import nautilus.game.arcade.game.Game.GameState;
|
||||
import nautilus.game.arcade.kit.KitAvailability;
|
||||
import nautilus.game.arcade.kit.Perk;
|
||||
import nautilus.game.arcade.kit.SmashKit;
|
||||
@ -60,27 +61,29 @@ public class KitSpider extends SmashKit
|
||||
ChatColor.RESET + "opponents.",
|
||||
}));
|
||||
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.SPIDER_EYE, (byte)0, 1,
|
||||
C.cYellow + C.Bold + "Double Jump" + C.cWhite + C.Bold + " - " + C.cGreen + C.Bold + "Spider Leap",
|
||||
new String[]
|
||||
{
|
||||
ChatColor.RESET + "Your double jump is special. It goes",
|
||||
ChatColor.RESET + "exactly in the direction you are looking.",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + C.cAqua + "Spider Leap uses Energy (Experience Bar)",
|
||||
}));
|
||||
if (Manager.GetGame().GetState() == GameState.Recruit)
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.SPIDER_EYE, (byte)0, 1,
|
||||
C.cYellow + C.Bold + "Double Jump" + C.cWhite + C.Bold + " - " + C.cGreen + C.Bold + "Spider Leap",
|
||||
new String[]
|
||||
{
|
||||
ChatColor.RESET + "Your double jump is special. It goes",
|
||||
ChatColor.RESET + "exactly in the direction you are looking.",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + C.cAqua + "Spider Leap uses Energy (Experience Bar)",
|
||||
}));
|
||||
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.FERMENTED_SPIDER_EYE, (byte)0, 1,
|
||||
C.cYellow + C.Bold + "Crouch" + C.cWhite + C.Bold + " - " + C.cGreen + C.Bold + "Wall Grab",
|
||||
new String[]
|
||||
{
|
||||
ChatColor.RESET + "While crouching, you stick to walls.",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Grasping onto a wall allows you to",
|
||||
ChatColor.RESET + "use Spider Leap again.",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + C.cAqua + "Wall Grab uses Energy (Experience Bar)",
|
||||
}));
|
||||
if (Manager.GetGame().GetState() == GameState.Recruit)
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.FERMENTED_SPIDER_EYE, (byte)0, 1,
|
||||
C.cYellow + C.Bold + "Crouch" + C.cWhite + C.Bold + " - " + C.cGreen + C.Bold + "Wall Grab",
|
||||
new String[]
|
||||
{
|
||||
ChatColor.RESET + "While crouching, you stick to walls.",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Grasping onto a wall allows you to",
|
||||
ChatColor.RESET + "use Spider Leap again.",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + C.cAqua + "Wall Grab uses Energy (Experience Bar)",
|
||||
}));
|
||||
|
||||
player.getInventory().setHelmet(ItemStackFactory.Instance.CreateStack(Material.LEATHER_HELMET));
|
||||
player.getInventory().setChestplate(ItemStackFactory.Instance.CreateStack(Material.CHAINMAIL_CHESTPLATE));
|
||||
|
Loading…
Reference in New Issue
Block a user