mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Arcane Adaption - Fixed owner check for commander cards.
This commit is contained in:
parent
18a394a9d5
commit
791e8e1716
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue