Browse Source

fly speed changes finished

lakebane-strongholds
FatBoy-DOTC 3 months ago
parent
commit
1996d042f0
  1. 3
      src/engine/objects/AbstractCharacter.java

3
src/engine/objects/AbstractCharacter.java

@ -500,6 +500,9 @@ public abstract class AbstractCharacter extends AbstractWorldObject { @@ -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;

Loading…
Cancel
Save