Remove duplicates and mild formatting. (#4837)

* Remove duplicate definitions in UnitTypes

* If Tsunami is indented, so should the others

It looks nicer as well.
This commit is contained in:
MEEP of Faith
2021-03-02 09:28:04 -05:00
committed by GitHub
parent a89d50e74d
commit 7e216d198e
2 changed files with 72 additions and 76 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;