Micro Update

SGTeams inv click fix.
This commit is contained in:
Chiss 2014-08-09 13:11:32 +10:00
parent 7fd40b38dd
commit 3a220b6f1c
5 changed files with 23 additions and 5 deletions

View File

@ -192,5 +192,7 @@ public class Micro extends TeamGame
return;
event.AddMod(GetName(), "Projectile Reduce", -2, false);
event.AddKnockback("Increase", 1.6d);
}
}

View File

@ -5,6 +5,7 @@ import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import mineplex.core.common.util.C;
import mineplex.core.itemstack.ItemStackFactory;
import nautilus.game.arcade.ArcadeManager;
import nautilus.game.arcade.kit.Kit;
@ -20,7 +21,11 @@ public class KitArcher extends Kit
new String[]
{
"Shoot shoot!"
"Shoot shoot!",
" ",
C.cGreen + "Wood Sword",
C.cGreen + "Bow",
C.cGreen + "3 Apples",
},
new Perk[]

View File

@ -5,6 +5,7 @@ import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import mineplex.core.common.util.C;
import mineplex.core.itemstack.ItemStackFactory;
import nautilus.game.arcade.ArcadeManager;
import nautilus.game.arcade.kit.Kit;
@ -20,12 +21,14 @@ public class KitFighter extends Kit
new String[]
{
"HE LIKES TO FIGHT!"
"HE LIKES TO FIGHT!",
" ",
C.cGreen + "Stone Sword",
C.cGreen + "5 Apples",
},
new Perk[]
{
new PerkIronSkin(1)
},
EntityType.ZOMBIE,
new ItemStack(Material.STONE_SWORD));
@ -35,7 +38,7 @@ public class KitFighter extends Kit
@Override
public void GiveItems(Player player)
{
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.WOOD_SWORD));
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.STONE_SWORD));
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.APPLE, 5));
}
}

View File

@ -5,6 +5,7 @@ import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import mineplex.core.common.util.C;
import mineplex.core.itemstack.ItemStackFactory;
import nautilus.game.arcade.ArcadeManager;
import nautilus.game.arcade.kit.Kit;
@ -19,7 +20,12 @@ public class KitWorker extends Kit
new String[]
{
"DIG DIG!"
"DIG DIG!",
" ",
C.cGreen + "Wood Sword",
C.cGreen + "Stone Spade",
C.cGreen + "Stone Pickaxe",
C.cGreen + "4 Apples",
},
new Perk[]

View File

@ -173,6 +173,8 @@ public class SurvivalGamesTeams extends TeamGame
this.ItemPickup = true;
this.CompassEnabled = false; //XXX
this.InventoryClick = true;
//Blocks
this.BlockBreakAllow.add(46); //TNT