mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +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")
|
if (stAb.hasParam("DefenderNotNearestToYouInChosenDirection")
|
||||||
&& hostCard.getChosenDirection() != null
|
&& (hostCard.getChosenDirection() == null
|
||||||
&& defender.equals(hostCard.getGame().getNextPlayerAfter(card.getController(), hostCard.getChosenDirection()))) {
|
|| defender.equals(hostCard.getGame().getNextPlayerAfter(card.getController(), hostCard.getChosenDirection())))) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (stAb.hasParam("UnlessDefender")) {
|
if (stAb.hasParam("UnlessDefender")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user