diff --git a/src/resonantinduction/fx/FXElectricBolt.java b/src/resonantinduction/fx/FXElectricBolt.java index 7bc50685e..66a2c78ff 100644 --- a/src/resonantinduction/fx/FXElectricBolt.java +++ b/src/resonantinduction/fx/FXElectricBolt.java @@ -90,10 +90,10 @@ public class FXElectricBolt extends EntityFX this.segments.add(new BoltSegment(this.start, this.end)); this.recalculate(); double offsetRatio = this.boltLength * this.complexity; - this.split(2, offsetRatio / 10, 0.7f, 0.1f, 20); - this.split(2, offsetRatio / 15, 0.5f, 0.1f, 25); - this.split(2, offsetRatio / 25, 0.5f, 0.1f, 28); - this.split(2, offsetRatio / 38, 0.5f, 0.1f, 30); + this.split(2, offsetRatio / 10, 0.7f, 0.1f, 20/2); + this.split(2, offsetRatio / 15, 0.5f, 0.1f, 25/2); + this.split(2, offsetRatio / 25, 0.5f, 0.1f, 28/2); + this.split(2, offsetRatio / 38, 0.5f, 0.1f, 30/2); this.split(2, offsetRatio / 55, 0, 0, 0); this.split(2, offsetRatio / 70, 0, 0, 0); diff --git a/src/resonantinduction/tesla/TileEntityTesla.java b/src/resonantinduction/tesla/TileEntityTesla.java index f325db919..4bae0d974 100644 --- a/src/resonantinduction/tesla/TileEntityTesla.java +++ b/src/resonantinduction/tesla/TileEntityTesla.java @@ -198,7 +198,7 @@ public class TileEntityTesla extends TileEntityBase implements ITesla, IPacketRe { if (mop.entityHit instanceof EntityLivingBase) { - mop.entityHit.attackEntityFrom(DamageSource.magic, 3); + mop.entityHit.attackEntityFrom(DamageSource.magic, 4); ResonantInduction.proxy.renderElectricShock(this.worldObj, new Vector3(topTesla).clone().translate(0.5), new Vector3(mop.entityHit)); } }