Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2021-03-02 09:28:42 -05:00
5 changed files with 75 additions and 79 deletions
-1
View File
@@ -1624,7 +1624,6 @@ public class Blocks implements ContentList{
Liquids.oil, Bullets.heavyOilShot Liquids.oil, Bullets.heavyOilShot
); );
size = 3; size = 3;
recoilAmount = 0f;
reloadTime = 2f; reloadTime = 2f;
shots = 2; shots = 2;
velocityInaccuracy = 0.1f; velocityInaccuracy = 0.1f;
+1 -4
View File
@@ -322,9 +322,8 @@ public class UnitTypes implements ContentList{
x = 5f; x = 5f;
shake = 2.2f; shake = 2.2f;
y = 0.5f; y = 0.5f;
shootY = 5f;
shootY = 2.5f; shootY = 2.5f;
reload = 38f; reload = 38f;
shots = 3; shots = 3;
inaccuracy = 35; inaccuracy = 35;
@@ -359,7 +358,6 @@ public class UnitTypes implements ContentList{
quasar = new UnitType("quasar"){{ quasar = new UnitType("quasar"){{
mineTier = 3; mineTier = 3;
hitSize = 12f;
boostMultiplier = 2f; boostMultiplier = 2f;
health = 650f; health = 650f;
buildSpeed = 1.7f; buildSpeed = 1.7f;
@@ -471,7 +469,6 @@ public class UnitTypes implements ContentList{
}}; }};
corvus = new UnitType("corvus"){{ corvus = new UnitType("corvus"){{
mineTier = 1;
hitSize = 29f; hitSize = 29f;
health = 18000f; health = 18000f;
armor = 9f; armor = 9f;
@@ -1142,7 +1142,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
/** Returns whether or not a hand cursor should be shown over this block. */ /** Returns whether or not a hand cursor should be shown over this block. */
public Cursor getCursor(){ public Cursor getCursor(){
return block.configurable && team == player.team() ? SystemCursor.hand : SystemCursor.arrow; return block.configurable && interactable(player.team()) ? SystemCursor.hand : SystemCursor.arrow;
} }
/** /**
@@ -172,7 +172,7 @@ public class ConstructBlock extends Block{
@Override @Override
public Cursor getCursor(){ public Cursor getCursor(){
return SystemCursor.hand; return interactable(player.team()) ? SystemCursor.hand : SystemCursor.arrow;
} }
@Override @Override
@@ -126,7 +126,7 @@ public class Door extends Wall{
@Override @Override
public Cursor getCursor(){ public Cursor getCursor(){
return SystemCursor.hand; return interactable(player.team()) ? SystemCursor.hand : SystemCursor.arrow;
} }
@Override @Override