From 59592090810f3fe41945c728a82b494080896d11 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 15 May 2024 17:33:14 -0500 Subject: [PATCH] fly work --- src/engine/gameManager/MovementManager.java | 1 - src/engine/objects/PlayerCharacter.java | 18 ------------------ 2 files changed, 19 deletions(-) diff --git a/src/engine/gameManager/MovementManager.java b/src/engine/gameManager/MovementManager.java index f38b502e..14f5f35d 100644 --- a/src/engine/gameManager/MovementManager.java +++ b/src/engine/gameManager/MovementManager.java @@ -71,7 +71,6 @@ public enum MovementManager { ((PlayerCharacter) toMove).update(); } - toMove.setIsCasting(false); toMove.setItemCasting(false); diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 4669c704..f9aff3f3 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -4829,24 +4829,6 @@ public class PlayerCharacter extends AbstractCharacter { if (!this.isAlive()) return; - if(this.isFlying()){ - if (this.containsEffect(487604089)) { - PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 57584498, 40, false); - } - if (this.containsEffect(296836988)) { - PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 57584498, 40, false); - } - if (this.containsEffect(163174641)) { - PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 57584498, 40, false); - } - if (this.containsEffect(163419371)) { - PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 57584498, 40, false); - } - if (this.containsEffect(79883622)) { - PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 57584498, 40, false); - } - } - updateLocation(); updateMovementState(); updateRegen();