v2.5.0: fixed position swapping working when ally is paralyzed
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user