Tweaked the particle trails for the projectiles.

This commit is contained in:
allstar69 2013-06-28 19:17:40 -07:00
commit 876ca8ef93
5 changed files with 5 additions and 5 deletions

View file

@ -139,7 +139,7 @@ public class EntityChargeAir extends Entity {
f2 = 0.8F;
}
MysticWorld.proxy.airFX(this.worldObj, this.posX, this.posY + 0.5D, this.posZ, 1.0F);
MysticWorld.proxy.airFX(this.worldObj, this.posX + (rand.nextDouble()/2), this.posY + 0.5D, this.posZ + (rand.nextDouble()/2), 1.0F);
this.setPosition(this.posX, this.posY, this.posZ);
}
}

View file

@ -139,7 +139,7 @@ public class EntityChargeEarth extends Entity {
f2 = 0.8F;
}
MysticWorld.proxy.earthFX(this.worldObj, this.posX, this.posY + 0.5D, this.posZ, 1.0F);
MysticWorld.proxy.earthFX(this.worldObj, this.posX + (rand.nextDouble()/2), this.posY + 0.5D, this.posZ + (rand.nextDouble()/2), 1.0F);
this.setPosition(this.posX, this.posY, this.posZ);
}
}

View file

@ -129,7 +129,7 @@ public class EntityChargeEnergy extends Entity {
f2 = 0.8F;
}
MysticWorld.proxy.energyFX(this.worldObj, this.posX, this.posY + 0.5D, this.posZ, 1.0F);
MysticWorld.proxy.energyFX(this.worldObj, this.posX + (rand.nextDouble()/2), this.posY + 0.5D, this.posZ + (rand.nextDouble()/2), 1.0F);
this.setPosition(this.posX, this.posY, this.posZ);
}
}

View file

@ -128,7 +128,7 @@ public class EntityChargeFire extends Entity {
f2 = 0.8F;
}
MysticWorld.proxy.fireFX(this.worldObj, this.posX, this.posY + 0.5D, this.posZ, 1.0F);
MysticWorld.proxy.fireFX(this.worldObj, this.posX + (rand.nextDouble()/2), this.posY + 0.5D, this.posZ + (rand.nextDouble()/2), 1.0F);
this.setPosition(this.posX, this.posY, this.posZ);
}
}

View file

@ -128,7 +128,7 @@ public class EntityChargeWater extends Entity {
f2 = 0.8F;
}
MysticWorld.proxy.waterFX(this.worldObj, this.posX, this.posY + 0.5D, this.posZ, 1.0F);
MysticWorld.proxy.waterFX(this.worldObj, this.posX + (rand.nextDouble()/2), this.posY + 0.5D, this.posZ + (rand.nextDouble()/2), 1.0F);
this.setPosition(this.posX, this.posY, this.posZ);
}
}