v2.5.0: fixed position swapping working when ally is paralyzed

This commit is contained in:
Evan Debenham
2024-08-11 11:39:20 -04:00
parent 0b049579ad
commit 7918c02764

View File

@@ -259,7 +259,8 @@ public abstract class Char extends Actor {
}
//can't swap places if one char has restricted movement
if (rooted || c.rooted || buff(Vertigo.class) != null || c.buff(Vertigo.class) != null){
if (paralysed > 0 || c.paralysed > 0 || rooted || c.rooted
|| buff(Vertigo.class) != null || c.buff(Vertigo.class) != null){
return true;
}