Minor balance changes (made coal less rare, nerfed blast enemies)

This commit is contained in:
Anuken
2017-10-16 17:26:05 -04:00
parent 06299a7a64
commit 254782c4e8
18 changed files with 35 additions and 111 deletions

View File

@@ -19,7 +19,7 @@ public class BlastEnemy extends Enemy{
super.move();
if(target != null && target.distanceTo(this) < 10f){
Bullet b = new Bullet(BulletType.blast, this, x, y, 0).add();
b.damage = BulletType.blast.damage + (tier-1) * 50;
b.damage = BulletType.blast.damage + (tier-1) * 40;
damage(999);
}
}

View File

@@ -4,7 +4,7 @@ import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.utils.reflect.ClassReflection;
import io.anuke.mindustry.Shaders.Outline;
import io.anuke.mindustry.Shaders;
import io.anuke.mindustry.Vars;
import io.anuke.mindustry.ai.Pathfind;
import io.anuke.mindustry.entities.Bullet;
@@ -171,10 +171,10 @@ public class Enemy extends DestructibleEntity{
String region = ClassReflection.getSimpleName(getClass()).toLowerCase() + "-t" + Mathf.clamp(tier, 1, 3);
//TODO is this really necessary?
Graphics.getShader(Outline.class).color.set(tierColors[tier-1]);
Graphics.getShader(Outline.class).region = Draw.region(region);
Shaders.outline.color.set(tierColors[tier-1]);
Shaders.outline.region = Draw.region(region);
Graphics.shader(Outline.class);
Graphics.shader(Shaders.outline);
Draw.color();
Draw.rect(region, x, y, direction.angle()-90);
Graphics.shader();