diff --git a/common/MysticWorld/Items/ItemOrbAir.java b/common/MysticWorld/Items/ItemOrbAir.java index 7500ec6..56ab8c5 100644 --- a/common/MysticWorld/Items/ItemOrbAir.java +++ b/common/MysticWorld/Items/ItemOrbAir.java @@ -14,20 +14,18 @@ public class ItemOrbAir extends Item { { super(par1); this.setMaxStackSize(1); - this.setMaxDamage(500); + this.setMaxDamage(200); this.setCreativeTab(MysticWorld.MysticWorldTab); } public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer entityPlayer) { world.playSoundEffect(entityPlayer.posX, entityPlayer.posY, entityPlayer.posZ, "fire.ignite", 1.0F, itemRand.nextFloat() * 0.4F + 0.8F); - - double f3 = MathHelper.sqrt_double(entityPlayer.motionX * entityPlayer.motionX + entityPlayer.motionZ * entityPlayer.motionZ); - + if (entityPlayer.onGround) entityPlayer.addVelocity(0, 2.5, 0); else - entityPlayer.addVelocity(entityPlayer.motionX + 0.25, 0, entityPlayer.motionZ + 0.25); + entityPlayer.addVelocity(entityPlayer.motionX * 1.0, 0, entityPlayer.motionZ * 1.0); if (!world.isRemote) { diff --git a/common/MysticWorld/Items/ItemOrbEarth.java b/common/MysticWorld/Items/ItemOrbEarth.java index f0c8527..3f223c5 100644 --- a/common/MysticWorld/Items/ItemOrbEarth.java +++ b/common/MysticWorld/Items/ItemOrbEarth.java @@ -13,7 +13,7 @@ public class ItemOrbEarth extends Item { { super(par1); this.setMaxStackSize(1); - this.setMaxDamage(64); + this.setMaxDamage(200); this.setCreativeTab(MysticWorld.MysticWorldTab); } diff --git a/common/MysticWorld/Items/ItemOrbEnergy.java b/common/MysticWorld/Items/ItemOrbEnergy.java index b272d7b..4b85dd8 100644 --- a/common/MysticWorld/Items/ItemOrbEnergy.java +++ b/common/MysticWorld/Items/ItemOrbEnergy.java @@ -13,7 +13,7 @@ public class ItemOrbEnergy extends Item { { super(par1); this.setMaxStackSize(1); - this.setMaxDamage(64); + this.setMaxDamage(200); this.setCreativeTab(MysticWorld.MysticWorldTab); } diff --git a/common/MysticWorld/Items/ItemOrbFire.java b/common/MysticWorld/Items/ItemOrbFire.java index df3a476..0c20242 100644 --- a/common/MysticWorld/Items/ItemOrbFire.java +++ b/common/MysticWorld/Items/ItemOrbFire.java @@ -22,7 +22,7 @@ public class ItemOrbFire extends ItemFlintAndSteel { { super(par1); this.setMaxStackSize(1); - this.setMaxDamage(500); + this.setMaxDamage(200); this.setCreativeTab(MysticWorld.MysticWorldTab); } diff --git a/common/MysticWorld/Items/ItemOrbWater.java b/common/MysticWorld/Items/ItemOrbWater.java index 8a86d63..a862d7c 100644 --- a/common/MysticWorld/Items/ItemOrbWater.java +++ b/common/MysticWorld/Items/ItemOrbWater.java @@ -13,7 +13,7 @@ public class ItemOrbWater extends Item { { super(par1); this.setMaxStackSize(1); - this.setMaxDamage(64); + this.setMaxDamage(200); this.setCreativeTab(MysticWorld.MysticWorldTab); }