Fixed turret tracking range again / Reinforced container capacity increase

This commit is contained in:
Anuken
2024-09-27 13:08:59 -04:00
parent 575965e295
commit b2041194da
2 changed files with 2 additions and 2 deletions

View File

@@ -2991,7 +2991,7 @@ public class Blocks{
reinforcedContainer = new StorageBlock("reinforced-container"){{
requirements(Category.effect, with(Items.tungsten, 30, Items.graphite, 40));
size = 2;
itemCapacity = 80;
itemCapacity = 160;
scaledHealth = 120;
coreMerge = false;
}};

View File

@@ -493,7 +493,7 @@ public class Turret extends ReloadTurret{
protected void findTarget(){
float trackRange = trackingRange(), range = range();
target = findEnemy(trackRange);
target = findEnemy(range);
//find another target within the tracking range, but only if there's nothing else (always prioritize standard target)
if(!Mathf.equal(trackRange, range) && target == null){
target = findEnemy(trackRange);