mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Merge branch 'pramikon' into 'master'
Fix Pramikon applying when no direction was chosen See merge request core-developers/forge!6031
This commit is contained in:
@@ -84,8 +84,8 @@ public class StaticAbilityCantAttackBlock {
|
||||
}
|
||||
}
|
||||
if (stAb.hasParam("DefenderNotNearestToYouInChosenDirection")
|
||||
&& hostCard.getChosenDirection() != null
|
||||
&& defender.equals(hostCard.getGame().getNextPlayerAfter(card.getController(), hostCard.getChosenDirection()))) {
|
||||
&& (hostCard.getChosenDirection() == null
|
||||
|| defender.equals(hostCard.getGame().getNextPlayerAfter(card.getController(), hostCard.getChosenDirection())))) {
|
||||
return false;
|
||||
}
|
||||
if (stAb.hasParam("UnlessDefender")) {
|
||||
|
||||
Reference in New Issue
Block a user