Merge pull request #2970 from genNAowl/ground-support-heal
Allow Ground Support Units to Heal Blocks
This commit is contained in:
@@ -331,6 +331,17 @@ public class UnitTypes implements ContentList{
|
||||
lightningLength = 7;
|
||||
lightningLengthRand = 7;
|
||||
shootEffect = Fx.shootHeal;
|
||||
|
||||
lightningHitter = new BulletType(0.0001f, 0f){{
|
||||
lifetime = Fx.lightning.lifetime;
|
||||
hitEffect = Fx.hitLancer;
|
||||
despawnEffect = Fx.none;
|
||||
status = StatusEffects.shocked;
|
||||
statusDuration = 10f;
|
||||
hittable = false;
|
||||
healPercent = 5f;
|
||||
collidesTeam = true;
|
||||
}};
|
||||
}};
|
||||
}});
|
||||
}};
|
||||
@@ -372,6 +383,8 @@ public class UnitTypes implements ContentList{
|
||||
sideAngle = 45f;
|
||||
sideWidth = 1f;
|
||||
sideLength = 70f;
|
||||
healPercent = 10f;
|
||||
collidesTeam = true;
|
||||
colors = new Color[]{Pal.heal.cpy().a(0.4f), Pal.heal, Color.white};
|
||||
}};
|
||||
}});
|
||||
@@ -431,6 +444,10 @@ public class UnitTypes implements ContentList{
|
||||
incendSpread = 5f;
|
||||
incendAmount = 1;
|
||||
|
||||
//constant healing
|
||||
healPercent = 0.5f;
|
||||
collidesTeam = true;
|
||||
|
||||
colors = new Color[]{Pal.heal.cpy().a(.2f), Pal.heal.cpy().a(.5f), Pal.heal.cpy().mul(1.2f), Color.white};
|
||||
}};
|
||||
|
||||
@@ -501,6 +518,9 @@ public class UnitTypes implements ContentList{
|
||||
|
||||
shootEffect = Fx.greenLaserCharge;
|
||||
|
||||
healPercent = 20f;
|
||||
collidesTeam = true;
|
||||
|
||||
sideAngle = 15f;
|
||||
sideWidth = 0f;
|
||||
sideLength = 0f;
|
||||
|
||||
Reference in New Issue
Block a user