@ -293,8 +293,15 @@ public enum PowersManager {
//check for movement buffs while flying
if(playerCharacter.isFlying()) {
for(ActionsBase ab : pb.getActions()){
if (ab.stackType.equalsIgnoreCase("MoveBuff")) {
return true;
for(AbstractEffectModifier mod1 : ab.getPowerAction().getEffectsBase().getModifiers()){
if(mod1.modType.equals(ModType.Speed) && mod1.getPercentMod() > 0){
return false;
}
for(AbstractEffectModifier mod2 : ab.getPowerAction().getEffectsBase2().getModifiers()){
if(mod2.modType.equals(ModType.Speed) && mod2.getPercentMod() > 0){
@ -500,6 +500,14 @@ 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;
for(Effect eff : flyer.effects.values()){
for(AbstractEffectModifier mod : eff.getEffectModifiers()){
if(mod.modType.equals(ModType.Speed) && mod.getPercentMod() > 0){
if(bonus != null && bonus.getFloat(ModType.Speed,SourceType.BUFF) > 0){
@ -4828,13 +4828,10 @@ public class PlayerCharacter extends AbstractCharacter {
if(this.isFlying()){
if(this.getBonuses() != null){
float speedMod = this.getBonuses().getFloatPercentPositive(ModType.Speed,SourceType.None);
if(speedMod > 0) {
if (!AbstractCharacter.CanFly(this)) {
GroundPlayer(this);
} catch (Exception e) {
Logger.error(e);