mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-07 05:50:54 +07:00
Redundant effect paren cleanup
This commit is contained in:
parent
1ada42738f
commit
f5d6313399
@ -28,11 +28,11 @@ public class StatusEffects implements ContentList{
|
||||
|
||||
init(() -> {
|
||||
opposite(wet, freezing);
|
||||
affinity(tarred, ((unit, result, time) -> {
|
||||
affinity(tarred, (unit, result, time) -> {
|
||||
unit.damagePierce(transitionDamage);
|
||||
Fx.burning.at(unit.x + Mathf.range(unit.bounds() / 2f), unit.y + Mathf.range(unit.bounds() / 2f));
|
||||
result.set(burning, Math.min(time + result.time, 300f));
|
||||
}));
|
||||
});
|
||||
});
|
||||
}};
|
||||
|
||||
@ -46,9 +46,9 @@ public class StatusEffects implements ContentList{
|
||||
init(() -> {
|
||||
opposite(melting, burning);
|
||||
|
||||
affinity(blasted, ((unit, result, time) -> {
|
||||
affinity(blasted, (unit, result, time) -> {
|
||||
unit.damagePierce(transitionDamage);
|
||||
}));
|
||||
});
|
||||
});
|
||||
}};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user