mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-08 14:57:18 +07:00
Merge remote-tracking branch 'origin/7.0-features' into 7.0-features
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 558 B After Width: | Height: | Size: 560 B |
@ -2929,8 +2929,9 @@ public class UnitTypes{
|
|||||||
drag = 0.1f;
|
drag = 0.1f;
|
||||||
hitSize = 21f;
|
hitSize = 21f;
|
||||||
rotateSpeed = 3f;
|
rotateSpeed = 3f;
|
||||||
health = 1100;
|
health = 2600;
|
||||||
armor = 5f;
|
armor = 7f;
|
||||||
|
fogRadius = 40f;
|
||||||
|
|
||||||
legCount = 6;
|
legCount = 6;
|
||||||
legLength = 18f;
|
legLength = 18f;
|
||||||
@ -2980,8 +2981,8 @@ public class UnitTypes{
|
|||||||
minWarmup = 0.9f;
|
minWarmup = 0.9f;
|
||||||
shootStatus = StatusEffects.slow;
|
shootStatus = StatusEffects.slow;
|
||||||
shootStatusDuration = reload + 1f;
|
shootStatusDuration = reload + 1f;
|
||||||
|
rotationLimit = 70f;
|
||||||
rotateSpeed = 5f;
|
rotateSpeed = 2f;
|
||||||
inaccuracy = 20f;
|
inaccuracy = 20f;
|
||||||
|
|
||||||
rotate = true;
|
rotate = true;
|
||||||
@ -3038,9 +3039,9 @@ public class UnitTypes{
|
|||||||
engineLayer = Layer.effect;
|
engineLayer = Layer.effect;
|
||||||
speed = 3.7f;
|
speed = 3.7f;
|
||||||
maxRange = 6f;
|
maxRange = 6f;
|
||||||
lifetime = 60f * 1.63f;
|
lifetime = 60f * 1.7f;
|
||||||
outlineColor = Pal.darkOutline;
|
outlineColor = Pal.darkOutline;
|
||||||
health = 40;
|
health = 45;
|
||||||
lowAltitude = true;
|
lowAltitude = true;
|
||||||
|
|
||||||
parts.add(new FlarePart(){{
|
parts.add(new FlarePart(){{
|
||||||
@ -3058,8 +3059,8 @@ public class UnitTypes{
|
|||||||
mirror = false;
|
mirror = false;
|
||||||
reload = 1f;
|
reload = 1f;
|
||||||
shootOnDeath = true;
|
shootOnDeath = true;
|
||||||
bullet = new ExplosionBulletType(100f, 22f){{
|
bullet = new ExplosionBulletType(120f, 25f){{
|
||||||
shootEffect = new MultiEffect(Fx.massiveExplosion, new WaveEffect(){{
|
shootEffect = new MultiEffect(Fx.massiveExplosion, new WrapEffect(Fx.dynamicSpikes, Pal.techBlue, 24f), new WaveEffect(){{
|
||||||
colorFrom = colorTo = Pal.techBlue;
|
colorFrom = colorTo = Pal.techBlue;
|
||||||
sizeTo = 40f;
|
sizeTo = 40f;
|
||||||
lifetime = 12f;
|
lifetime = 12f;
|
||||||
|
@ -32,9 +32,10 @@ public class WrapEffect extends Effect{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void render(EffectContainer e){
|
public void render(EffectContainer e){
|
||||||
e.color = color;
|
}
|
||||||
if(!Float.isNaN(rotation)) e.rotation = rotation;
|
|
||||||
effect.render(e);
|
@Override
|
||||||
clip = Math.max(clip, effect.clip);
|
public void create(float x, float y, float rotation, Color color, Object data){
|
||||||
|
effect.create(x, y, this.rotation, this.color, data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user