- Convert Archery Training to imprint and change the cleanup effect to a proper "ForgetLastImprinted" parameter

This commit is contained in:
swordshine
2013-02-19 08:16:09 +00:00
parent 0f55cf0377
commit 8d4635fd3d
2 changed files with 8 additions and 3 deletions

View File

@@ -250,6 +250,11 @@ public class PumpEffect extends SpellAbilityEffect {
}
}
if (sa.hasParam("ForgetLastImprinted")) {
final int size = sa.getSourceCard().getImprinted().size();
sa.getSourceCard().getImprinted().remove(size - 1);
} // Used in a SubAbility to clear the root imprinted card (Archery Training)
if (sa.hasParam("Radiance")) {
for (final Card c : CardUtil.getRadiance(sa.getSourceCard(), tgtCards.get(0), sa.getParam("ValidTgts")
.split(","))) {