Browse Source

no move buff while flying

lakebane-strongholds
FatBoy-DOTC 2 months ago
parent
commit
227549bf22
  1. 2
      src/engine/objects/AbstractCharacter.java

2
src/engine/objects/AbstractCharacter.java

@ -500,7 +500,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject { @@ -500,7 +500,7 @@ 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(bonus != null && bonus.getFloat(ModType.Speed,SourceType.None) > 0){
if(bonus != null && bonus.getFloat(ModType.Speed,SourceType.BUFF) > 0){
return false;
}

Loading…
Cancel
Save