Weather fixes
This commit is contained in:
@@ -1231,7 +1231,7 @@ public class UnitTypes implements ContentList{
|
|||||||
}};
|
}};
|
||||||
|
|
||||||
quad = new UnitType("quad"){{
|
quad = new UnitType("quad"){{
|
||||||
armor = 6f;
|
armor = 8f;
|
||||||
health = 6000;
|
health = 6000;
|
||||||
speed = 1.2f;
|
speed = 1.2f;
|
||||||
rotateSpeed = 2f;
|
rotateSpeed = 2f;
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ public class Weathers implements ContentList{
|
|||||||
if(tile != null && tile.floor().liquidDrop == Liquids.water){
|
if(tile != null && tile.floor().liquidDrop == Liquids.water){
|
||||||
Draw.color(Tmp.c1.set(tile.floor().mapColor).mul(1.5f).a(state.opacity()));
|
Draw.color(Tmp.c1.set(tile.floor().mapColor).mul(1.5f).a(state.opacity()));
|
||||||
Draw.rect(splashes[(int)(life * (splashes.length - 1))], x, y);
|
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.color(Color.royal, Color.white, 0.3f);
|
||||||
Draw.alpha(Mathf.slope(life) * state.opacity());
|
Draw.alpha(Mathf.slope(life) * state.opacity());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user