fixed issue with copies and clones of tokens with abilities

This commit is contained in:
ArsenalNut
2013-01-08 16:02:05 +00:00
parent 6e20e02586
commit 34bd6f60cd
2 changed files with 4 additions and 0 deletions

View File

@@ -105,6 +105,8 @@ public class CopyPermanentEffect extends SpellEffect {
copy.setBaseAttack(c.getBaseAttack()); copy.setBaseAttack(c.getBaseAttack());
copy.setBaseDefense(c.getBaseDefense()); copy.setBaseDefense(c.getBaseDefense());
CardFactoryUtil.addAbilityFactoryAbilities(copy);
} }
// add keywords from sa // add keywords from sa

View File

@@ -217,6 +217,8 @@ public class TokenEffect extends SpellEffect {
for (final Card c : tokens) { for (final Card c : tokens) {
final SpellAbility grantedAbility = af.getAbility(actualAbility, c); final SpellAbility grantedAbility = af.getAbility(actualAbility, c);
c.addSpellAbility(grantedAbility); c.addSpellAbility(grantedAbility);
// added ability to intrinsic list so copies and clones work
c.getIntrinsicAbilities().add(actualAbility);
} }
} }
} }