More balancing
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user