MOM: Added card "Jin-Gitaxias" and its abilities and effects (#10036)

* MOM: Added card "Jin-Gitaxias" and its abilities and effects

* rule text improvement

* remove unused imports

---------

Co-authored-by: Daniel Eberhard <daniel.h.e@gmx.de>
Co-authored-by: Evan Kranzler <theelk801@gmail.com>
This commit is contained in:
Merlingilb 2023-04-14 15:50:09 +02:00 committed by GitHub
parent b120ce0fa9
commit f63efe14b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 221 additions and 2 deletions

View file

@ -37,14 +37,26 @@ public class SagaAbility extends SimpleStaticAbility {
this(card, SagaChapter.CHAPTER_III);
}
public SagaAbility(Card card, boolean showSacText) {
this(card, showSacText, SagaChapter.CHAPTER_III);
}
public SagaAbility(Card card, SagaChapter maxChapter) {
this(card, maxChapter, false);
this(card, card.getSecondCardFace() == null, maxChapter);
}
public SagaAbility(Card card, boolean showSacText, SagaChapter maxChapter) {
this(card, maxChapter, false, showSacText);
}
public SagaAbility(Card card, SagaChapter maxChapter, boolean readAhead) {
this(card, maxChapter, readAhead, card.getSecondCardFace() == null);
}
public SagaAbility(Card card, SagaChapter maxChapter, boolean readAhead, boolean showSacText) {
super(Zone.ALL, null);
this.maxChapter = maxChapter;
this.showSacText = card.getSecondCardFace() == null;
this.showSacText = showSacText;
this.readAhead = readAhead;
this.setRuleVisible(true);
this.setRuleAtTheTop(true);