fixed DFC Planeswalker: etbCounter only for Original card

That is a hotfix patch because it probably should be fixed in the ReplacementHandler.
This commit is contained in:
Hanmac
2016-05-30 06:08:51 +00:00
parent bbfabd8dbf
commit 478198b43a

View File

@@ -374,7 +374,8 @@ public class CardFactory {
} }
private static void buildPlaneswalkerAbilities(Card card) { private static void buildPlaneswalkerAbilities(Card card) {
if (card.getBaseLoyalty() > 0) { // etbCounter only for Original Card
if (card.getBaseLoyalty() > 0 && card.getCurrentStateName() == CardStateName.Original) {
final String loyalty = Integer.toString(card.getBaseLoyalty()); final String loyalty = Integer.toString(card.getBaseLoyalty());
card.addIntrinsicKeyword("etbCounter:LOYALTY:" + loyalty + ":no Condition:no desc"); card.addIntrinsicKeyword("etbCounter:LOYALTY:" + loyalty + ":no Condition:no desc");
} }