* Arcane Adaption - Fixed owner check for commander cards.

This commit is contained in:
LevelX2 2021-01-08 15:56:52 +01:00
parent 18a394a9d5
commit 791e8e1716

View file

@ -97,7 +97,8 @@ class ConspyEffect extends ContinuousEffectImpl {
for (CommandObject commandObject : game.getState().getCommand()) {
if (commandObject instanceof Commander) {
Card card = game.getCard(((Commander) commandObject).getId());
if (card != null && card.isCreature() && !card.hasSubtype(subType, game)) {
if (card != null && card.isOwnedBy(controller.getId())
&& card.isCreature() && !card.hasSubtype(subType, game)) {
game.getState().getCreateMageObjectAttribute(card, game).getSubtype().add(subType);
}
}