A build "weapon" is not a weapon (#6918)
* A build "weapon" is not a weapon https://www.youtube.com/watch?v=a89ChTdUFrc * whoops
This commit is contained in:
@@ -20,6 +20,8 @@ public class BuildWeapon extends Weapon{
|
|||||||
|
|
||||||
{
|
{
|
||||||
rotate = true;
|
rotate = true;
|
||||||
|
noAttack = true;
|
||||||
|
predictTarget = false;
|
||||||
bullet = new BulletType();
|
bullet = new BulletType();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -30,9 +32,7 @@ public class BuildWeapon extends Weapon{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void update(Unit unit, WeaponMount mount){
|
public void update(Unit unit, WeaponMount mount){
|
||||||
//no
|
|
||||||
mount.shoot = false;
|
mount.shoot = false;
|
||||||
//yes
|
|
||||||
mount.rotate = true;
|
mount.rotate = true;
|
||||||
|
|
||||||
//always aim at build plan
|
//always aim at build plan
|
||||||
|
|||||||
Reference in New Issue
Block a user