mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-11 07:39:39 +07:00
Weather fixes
This commit is contained in:
parent
c2202a0173
commit
4d889cd8d1
@ -1231,7 +1231,7 @@ public class UnitTypes implements ContentList{
|
||||
}};
|
||||
|
||||
quad = new UnitType("quad"){{
|
||||
armor = 6f;
|
||||
armor = 8f;
|
||||
health = 6000;
|
||||
speed = 1.2f;
|
||||
rotateSpeed = 2f;
|
||||
|
@ -152,7 +152,7 @@ public class Weathers implements ContentList{
|
||||
if(tile != null && tile.floor().liquidDrop == Liquids.water){
|
||||
Draw.color(Tmp.c1.set(tile.floor().mapColor).mul(1.5f).a(state.opacity()));
|
||||
Draw.rect(splashes[(int)(life * (splashes.length - 1))], x, y);
|
||||
}else{
|
||||
}else if(tile != null && tile.floor().liquidDrop == null && !tile.floor().solid){
|
||||
Draw.color(Color.royal, Color.white, 0.3f);
|
||||
Draw.alpha(Mathf.slope(life) * state.opacity());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user