cant change altitude while stunned
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user