Browse Source

fly work

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
5959209081
  1. 1
      src/engine/gameManager/MovementManager.java
  2. 18
      src/engine/objects/PlayerCharacter.java

1
src/engine/gameManager/MovementManager.java

@ -71,7 +71,6 @@ public enum MovementManager { @@ -71,7 +71,6 @@ public enum MovementManager {
((PlayerCharacter) toMove).update();
}
toMove.setIsCasting(false);
toMove.setItemCasting(false);

18
src/engine/objects/PlayerCharacter.java

@ -4829,24 +4829,6 @@ public class PlayerCharacter extends AbstractCharacter { @@ -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();

Loading…
Cancel
Save