Added sound disguises

Removed purchasable batgun.
This commit is contained in:
Jonathan Williams 2013-11-16 01:55:10 -08:00
parent 39384470e7
commit 75c2a5fd6e
3 changed files with 5 additions and 2 deletions

View File

@ -44,7 +44,7 @@ public class Halloween2013_BatGun extends ItemGadget
C.cWhite + "Launch waves of annoying bats",
C.cWhite + "at people you don't like!",
},
7500,
-1,
Material.IRON_BARDING, (byte)0);
}

View File

@ -7,6 +7,7 @@ import mineplex.core.common.util.UtilBlock;
import mineplex.core.common.util.UtilInv;
import mineplex.core.common.util.UtilPlayer;
import mineplex.core.common.util.UtilServer;
import mineplex.core.disguise.disguises.DisguiseCat;
import mineplex.core.disguise.disguises.DisguiseChicken;
import mineplex.core.itemstack.ItemStackFactory;
import mineplex.core.recharge.Recharge;
@ -60,6 +61,7 @@ public class BlockForm extends Form
//Player > Chicken
DisguiseChicken disguise = new DisguiseChicken(Player);
disguise.setBaby();
disguise.setSoundDisguise(new DisguiseCat(Player));
Host.Manager.GetDisguise().disguise(disguise);
//Apply Falling Block

View File

@ -40,8 +40,9 @@ public class CreatureForm extends Form
else if (_type == EntityType.SHEEP) {_disguise = new DisguiseSheep(Player); icon = Material.WOOL;}
else if (_type == EntityType.PIG) {_disguise = new DisguisePig(Player); icon = Material.PORK;}
_disguise.setSoundDisguise(new DisguiseCat(Player));
Host.Manager.GetDisguise().disguise(_disguise);
((CraftEntity)Player).getHandle().getDataWatcher().watch(0, Byte.valueOf((byte) 0));
//Inform