Getting ready for release candidate

This commit is contained in:
WayofTime 2014-07-10 20:52:05 -04:00
parent 084e3dd348
commit 96930fc47a
18 changed files with 477 additions and 69 deletions

View file

@ -263,22 +263,18 @@ public class SpellEffectEarth extends SpellEffect
@Override
protected int getCostForOffenseTool()
{
// TODO Auto-generated method stub
return 0;
return 1000;
}
@Override
protected int getCostForDefenseTool()
{
return (int)(1000 * (1 + this.potencyEnhancement*0.1f) * (1 + this.powerEnhancement*0.2f) * Math.pow(0.85, costEnhancement));
}
@Override
protected int getCostForEnvironmentTool()
{
return (int)(10 * (1+this.potencyEnhancement*0.8) * Math.pow(1.5*this.powerEnhancement + 3, 2) * Math.pow(0.85, this.costEnhancement));
}
}

View file

@ -28,8 +28,8 @@ public class ToolEnvironmentalEarth extends DigAreaEffect
int z = blockPos.blockZ;
ForgeDirection sidehit = ForgeDirection.getOrientation(blockPos.sideHit);
int radius = 2;
int depth = 5;
int radius = this.powerUpgrades + 1;
int depth = 1 + this.potencyUpgrades * 2;
depth--;

View file

@ -25,7 +25,7 @@ public class ToolDefensiveIce extends SummonToolEffect
public int onSummonTool(ItemStack toolStack, World world, Entity entity)
{
int horizRadius = this.powerUpgrades*2+2;
int vertRadius = this.powerUpgrades * 3 + 2;
int vertRadius = this.potencyUpgrades * 3 + 2;
List<Entity> entityList = SpellHelper.getEntitiesInRange(world, entity.posX, entity.posY, entity.posZ, horizRadius, vertRadius);
for(Entity ent : entityList)