From 1996d042f07e24d9d496280e55cca51b47a9d51d Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 10 Sep 2024 20:26:42 -0500 Subject: [PATCH] fly speed changes finished --- src/engine/objects/AbstractCharacter.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index 9a99f9e1..e81b6513 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -500,6 +500,9 @@ public abstract class AbstractCharacter extends AbstractWorldObject { if (bonus != null && !bonus.getBool(ModType.NoMod, SourceType.Fly) && bonus.getBool(ModType.Fly, SourceType.None) && flyer.isAlive()) { canFly = true; } + if(flyer.effects.containsKey("MoveBuff")){ + canFly = false; + } return canFly;