...
This commit is contained in:
@@ -3,5 +3,6 @@ package mindustry.entities;
|
||||
/** A higher ordinal means a higher priority. Higher priority blocks will always get targeted over those of lower priority, regardless of distance. */
|
||||
public enum TargetPriority{
|
||||
base,
|
||||
turret
|
||||
turret,
|
||||
core
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@ public class CoreBlock extends StorageBlock{
|
||||
solid = true;
|
||||
update = true;
|
||||
hasItems = true;
|
||||
priority = TargetPriority.core;
|
||||
flags = EnumSet.of(BlockFlag.core, BlockFlag.producer, BlockFlag.unitModifier);
|
||||
unitCapModifier = 10;
|
||||
activeSound = Sounds.respawning;
|
||||
|
||||
Reference in New Issue
Block a user