Merge remote-tracking branch 'origin/mechs-balance-altfire' into mechs-balance-altfire

# Conflicts:
#	core/src/io/anuke/mindustry/content/Mechs.java
This commit is contained in:
Anuken
2018-08-24 13:58:32 -04:00
7 changed files with 39 additions and 7 deletions

View File

@@ -49,6 +49,7 @@ public class Mechs implements ContentList{
maxSpeed = 4f;
altChargeAlpha = 0.04f;
trailColorTo = Color.valueOf("ffd37f");
armor = 20f;
}
@Override
@@ -149,6 +150,9 @@ public class Mechs implements ContentList{
@Override
public void updateAlt(Player player){
//idle regen
player.healBy(0.01f * Timers.delta());
if(player.altHeat >= 0.91f){
Effects.effect(UnitFx.healWave, player);
rect.setSize(healRange*2f).setCenter(player.x, player.y);