removed gravity for assassin
This commit is contained in:
parent
b6fcfd1245
commit
567e182709
|
@ -28,7 +28,7 @@ export default class AssassinAttack extends Attack {
|
||||||
|
|
||||||
|
|
||||||
if(this.parent.getPlayerPosition() !==null)
|
if(this.parent.getPlayerPosition() !==null)
|
||||||
this.owner.position = this.parent.getPlayerPosition().clone().add(new Vec2( (<Sprite>this.parent.player).invertX ? 32 : -32 ,0));
|
this.owner.position = this.parent.getPlayerPosition().clone().add(new Vec2( (<Sprite>this.parent.player).invertX ? 56 : -56 ,0));
|
||||||
|
|
||||||
this.pauseTimer.start();
|
this.pauseTimer.start();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user