sitting only toggle when casting spells not skills
This commit is contained in:
1 parent
a155bc0308
commit
f0594fb1b2
1 file changed
+1
-1
@@ -165,7 +165,7 @@ public enum PowersManager {
|
||||
|
||||
PlayerCharacter pc = SessionManager.getPlayerCharacter(origin);
|
||||
|
||||
if(!pc.isFlying()) //cant be sitting if flying
|
||||
if(!pc.isFlying() && powersBaseByToken.get(msg.getPowerUsedID()) != null && powersBaseByToken.get(msg.getPowerUsedID()).isSpell) //cant be sitting if flying
|
||||
CombatManager.toggleSit(false,origin);
|
||||
|
||||
if(pc.isMoving())
|
||||
|
||||
Reference in new issue
Block a user