Balancing / Item tweaks

This commit is contained in:
Anuken
2019-05-19 17:50:11 -04:00
parent 2461331e32
commit bdb7f522fb
16 changed files with 28 additions and 14 deletions

View File

@@ -637,7 +637,12 @@ public class Player extends Unit implements BuilderTrait, ShooterTrait{
protected void updateShooting(){
if(!state.isEditor() && isShooting() && mech.canShoot(this)){
mech.weapon.update(this, pointerX, pointerY);
if(!mech.turnCursor){
//shoot forward ignoring cursor
mech.weapon.update(this, x + Angles.trnsx(rotation, 1f), y + Angles.trnsy(rotation, 1f));
}else{
mech.weapon.update(this, pointerX, pointerY);
}
}
}