More balancing

This commit is contained in:
Anuken
2017-09-26 17:03:17 -04:00
parent e85c7d8e50
commit fa6495ceeb
22 changed files with 112 additions and 62 deletions

View File

@@ -31,7 +31,7 @@ public abstract class BulletType extends BaseBulletType<Bullet>{
Draw.reset();
}
},
sniper = new BulletType(3f, 20){
sniper = new BulletType(3f, 23){
public void draw(Bullet b){
Draw.color(Color.LIGHT_GRAY);
Draw.thick(1f);
@@ -45,7 +45,7 @@ public abstract class BulletType extends BaseBulletType<Bullet>{
}
}
},
shell = new BulletType(1.1f, 80){
shell = new BulletType(1.1f, 85){
{
lifetime = 110f;
hitsize = 8f;

View File

@@ -7,7 +7,7 @@ public class BlastEnemy extends Enemy{
public BlastEnemy(int spawn) {
super(spawn);
maxhealth = 15;
maxhealth = 30;
speed = 0.65f;
bullet = null;
turretrotatespeed = 0f;

View File

@@ -23,7 +23,7 @@ public class Enemy extends DestructibleEntity{
public final static int maxtier = 4;
protected float speed = 0.3f;
protected float reload = 40;
protected float reload = 32;
protected float range = 60;
protected float length = 4;
protected float rotatespeed = 7f;
@@ -47,7 +47,7 @@ public class Enemy extends DestructibleEntity{
hitsize = 5;
maxhealth = 50;
maxhealth = 60;
heal();
}
@@ -104,17 +104,21 @@ public class Enemy extends DestructibleEntity{
}
node = cindex;
//node = 0;
//set(World.spawnpoints.get(spawn).worldx(), World.spawnpoints.get(spawn).worldy());
}
@Override
public void added(){
if(bullet != null){
damage = (int)(bullet.damage * (1 + (tier - 1) * 0.5f));
damage = (int)(bullet.damage * (1 + (tier - 1) * 1f));
}
maxhealth *= tier;
speed += 0.04f*tier + Mathf.range(0.1f);
reload /= Math.max(tier /1.5f, 1f);
reload /= Math.max(tier / 1.5f, 1f);
range += tier*5;
heal();