Browse Source

fly speed changes finished

lakebane-strongholds
FatBoy-DOTC 4 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 {
if (bonus != null && !bonus.getBool(ModType.NoMod, SourceType.Fly) && bonus.getBool(ModType.Fly, SourceType.None) && flyer.isAlive()) { if (bonus != null && !bonus.getBool(ModType.NoMod, SourceType.Fly) && bonus.getBool(ModType.Fly, SourceType.None) && flyer.isAlive()) {
canFly = true; canFly = true;
} }
if(flyer.effects.containsKey("MoveBuff")){
canFly = false;
}
return canFly; return canFly;

Loading…
Cancel
Save