Browse Source

cant change altitude while stunned

lakebane
FatBoy-DOTC 1 week ago
parent
commit
386cdc8c18
  1. 3
      src/engine/objects/AbstractCharacter.java

3
src/engine/objects/AbstractCharacter.java

@ -499,7 +499,8 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
if(flyer.effects.containsKey("MoveBuff")){ if(flyer.effects.containsKey("MoveBuff")){
canFly = false; canFly = false;
} }
if(flyer.bonuses.getBool(ModType.Stunned, SourceType.None))
canFly = false;
return canFly; return canFly;

Loading…
Cancel
Save