Allow ram stance for any ground unit
This commit is contained in:
@@ -850,7 +850,7 @@ public class UnitType extends UnlockableContent implements Senseable{
|
|||||||
if(stances.length == 0){
|
if(stances.length == 0){
|
||||||
if(canAttack){
|
if(canAttack){
|
||||||
Seq<UnitStance> seq = Seq.with(UnitStance.stop, UnitStance.shoot, UnitStance.holdFire, UnitStance.pursueTarget, UnitStance.patrol);
|
Seq<UnitStance> seq = Seq.with(UnitStance.stop, UnitStance.shoot, UnitStance.holdFire, UnitStance.pursueTarget, UnitStance.patrol);
|
||||||
if(crushDamage > 0){
|
if(!flying){
|
||||||
seq.add(UnitStance.ram);
|
seq.add(UnitStance.ram);
|
||||||
}
|
}
|
||||||
stances = seq.toArray(UnitStance.class);
|
stances = seq.toArray(UnitStance.class);
|
||||||
|
|||||||
Reference in New Issue
Block a user