no movement buffs while flying, cannot fly if you have a movement buff applied
This commit is contained in:
@@ -294,7 +294,7 @@ public enum PowersManager {
|
|||||||
if(playerCharacter.isFlying()) {
|
if(playerCharacter.isFlying()) {
|
||||||
for (ActionsBase ab : pb.getActions()) {
|
for (ActionsBase ab : pb.getActions()) {
|
||||||
if (ab.stackType.equalsIgnoreCase("MoveBuff")) {
|
if (ab.stackType.equalsIgnoreCase("MoveBuff")) {
|
||||||
PlayerCharacter.GroundPlayer(playerCharacter);
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user