mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-05 21:10:53 +07:00
Allow ram stance for any ground unit
This commit is contained in:
parent
7d3c94de9b
commit
7c69e555fd
@ -850,7 +850,7 @@ public class UnitType extends UnlockableContent implements Senseable{
|
||||
if(stances.length == 0){
|
||||
if(canAttack){
|
||||
Seq<UnitStance> seq = Seq.with(UnitStance.stop, UnitStance.shoot, UnitStance.holdFire, UnitStance.pursueTarget, UnitStance.patrol);
|
||||
if(crushDamage > 0){
|
||||
if(!flying){
|
||||
seq.add(UnitStance.ram);
|
||||
}
|
||||
stances = seq.toArray(UnitStance.class);
|
||||
|
Loading…
Reference in New Issue
Block a user