mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
fix Issue 191
This commit is contained in:
parent
798734dca2
commit
349fbf49a5
1 changed files with 4 additions and 1 deletions
|
|
@ -117,7 +117,10 @@ class PhyrexianMetamorphEffect extends ContinuousEffectImpl<PhyrexianMetamorphEf
|
|||
}
|
||||
permanent.setExpansionSetCode(card.getExpansionSetCode());
|
||||
permanent.getAbilities().clear();
|
||||
for (Ability ability: card.getAbilities()) {
|
||||
for (Ability ability0: card.getAbilities()) {
|
||||
Ability ability = ability0.copy();
|
||||
ability.newId();
|
||||
ability.setSourceId(card.getId());
|
||||
permanent.addAbility(ability);
|
||||
}
|
||||
permanent.getPower().setValue(card.getPower().getValue());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue