Fixed #2255
This commit is contained in:
@@ -74,7 +74,7 @@ public class UnitTypes implements ContentList{
|
|||||||
hitsize = 9f;
|
hitsize = 9f;
|
||||||
range = 10f;
|
range = 10f;
|
||||||
health = 500;
|
health = 500;
|
||||||
armor = 2f;
|
armor = 3f;
|
||||||
|
|
||||||
immunities.add(StatusEffects.burning);
|
immunities.add(StatusEffects.burning);
|
||||||
|
|
||||||
@@ -107,7 +107,7 @@ public class UnitTypes implements ContentList{
|
|||||||
rotateSpeed = 3f;
|
rotateSpeed = 3f;
|
||||||
targetAir = false;
|
targetAir = false;
|
||||||
health = 790;
|
health = 790;
|
||||||
armor = 5f;
|
armor = 8f;
|
||||||
|
|
||||||
weapons.add(new Weapon("artillery"){{
|
weapons.add(new Weapon("artillery"){{
|
||||||
y = 1f;
|
y = 1f;
|
||||||
@@ -167,7 +167,7 @@ public class UnitTypes implements ContentList{
|
|||||||
hitsize = 10f;
|
hitsize = 10f;
|
||||||
health = 300f;
|
health = 300f;
|
||||||
buildSpeed = 0.9f;
|
buildSpeed = 0.9f;
|
||||||
armor = 3f;
|
armor = 4f;
|
||||||
|
|
||||||
mineTier = 2;
|
mineTier = 2;
|
||||||
mineSpeed = 5f;
|
mineSpeed = 5f;
|
||||||
@@ -209,7 +209,7 @@ public class UnitTypes implements ContentList{
|
|||||||
health = 640f;
|
health = 640f;
|
||||||
buildSpeed = 1.7f;
|
buildSpeed = 1.7f;
|
||||||
canBoost = true;
|
canBoost = true;
|
||||||
armor = 6f;
|
armor = 9f;
|
||||||
landShake = 2f;
|
landShake = 2f;
|
||||||
|
|
||||||
speed = 0.4f;
|
speed = 0.4f;
|
||||||
@@ -321,7 +321,7 @@ public class UnitTypes implements ContentList{
|
|||||||
legMoveSpace = 1.4f;
|
legMoveSpace = 1.4f;
|
||||||
legBaseOffset = 2f;
|
legBaseOffset = 2f;
|
||||||
hovering = true;
|
hovering = true;
|
||||||
armor = 3f;
|
armor = 5f;
|
||||||
|
|
||||||
buildSpeed = 0.75f;
|
buildSpeed = 0.75f;
|
||||||
|
|
||||||
|
|||||||
@@ -144,7 +144,6 @@ public class UnitType extends UnlockableContent{
|
|||||||
if(unit.deactivated){
|
if(unit.deactivated){
|
||||||
table.table(d -> {
|
table.table(d -> {
|
||||||
d.left();
|
d.left();
|
||||||
|
|
||||||
d.label(() -> Core.bundle.format("bar.limitreached", unit.count(), unit.cap(), Fonts.getUnicodeStr(name)));
|
d.label(() -> Core.bundle.format("bar.limitreached", unit.count(), unit.cap(), Fonts.getUnicodeStr(name)));
|
||||||
}).left().visible(() -> unit.deactivated);
|
}).left().visible(() -> unit.deactivated);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,6 +43,11 @@ public class Router extends Block{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int acceptStack(Item item, int amount, Teamc source){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean acceptItem(Building source, Item item){
|
public boolean acceptItem(Building source, Item item){
|
||||||
return team == source.team() && lastItem == null && items.total() == 0;
|
return team == source.team() && lastItem == null && items.total() == 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user