mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Player: run checkStaticAbilities before Companion to apply CDA
This commit is contained in:
@@ -3127,6 +3127,8 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
int deckSize = getCardsIn(ZoneType.Library).size();
|
int deckSize = getCardsIn(ZoneType.Library).size();
|
||||||
int minSize = game.getMatch().getRules().getGameType().getDeckFormat().getMainRange().getMinimum();
|
int minSize = game.getMatch().getRules().getGameType().getDeckFormat().getMainRange().getMinimum();
|
||||||
|
|
||||||
|
game.getAction().checkStaticAbilities(false);
|
||||||
|
|
||||||
for (final Card c : getCardsIn(ZoneType.Sideboard)) {
|
for (final Card c : getCardsIn(ZoneType.Sideboard)) {
|
||||||
for (KeywordInterface inst : c.getKeywords()) {
|
for (KeywordInterface inst : c.getKeywords()) {
|
||||||
if (!(inst instanceof Companion)) {
|
if (!(inst instanceof Companion)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user