Nova units always boost when using builder AI

This commit is contained in:
Anuken 2024-10-31 11:13:48 -04:00
parent 1d68f99c75
commit b04e32cc63
2 changed files with 3 additions and 1 deletions

View File

@ -195,7 +195,7 @@ public class BuilderAI extends AIController{
}
if(!unit.type.flying){
unit.updateBoosting(moving || unit.floorOn().isDuct || unit.floorOn().damageTaken > 0f || unit.floorOn().isDeep());
unit.updateBoosting(unit.type.boostWhenBuilding || moving || unit.floorOn().isDuct || unit.floorOn().damageTaken > 0f || unit.floorOn().isDeep());
}
}

View File

@ -155,6 +155,8 @@ public class UnitType extends UnlockableContent implements Senseable{
circleTarget = false,
/** if true, this unit can boost into the air if a player/processors controls it*/
canBoost = false,
/** if true, this unit will always boost when using builder AI */
boostWhenBuilding = true,
/** if false, logic processors cannot control this unit */
logicControllable = true,
/** if false, players cannot control this unit */