mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
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:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user