mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
[KHM] fixed The Bears of Littjara not sacrificing after chapter 3 (fixes #7527)
This commit is contained in:
parent
a90e9923f5
commit
18c8a8539e
2 changed files with 8 additions and 0 deletions
|
@ -54,6 +54,8 @@ public final class TheBearsOfLittjara extends CardImpl {
|
||||||
this, SagaChapter.CHAPTER_III, SagaChapter.CHAPTER_III,
|
this, SagaChapter.CHAPTER_III, SagaChapter.CHAPTER_III,
|
||||||
new TheBearsOfLittjaraEffect(), new TargetCreatureOrPlaneswalker(0, 1)
|
new TheBearsOfLittjaraEffect(), new TargetCreatureOrPlaneswalker(0, 1)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
this.addAbility(sagaAbility);
|
||||||
}
|
}
|
||||||
|
|
||||||
private TheBearsOfLittjara(final TheBearsOfLittjara card) {
|
private TheBearsOfLittjara(final TheBearsOfLittjara card) {
|
||||||
|
|
|
@ -3,6 +3,7 @@ package mage.verify;
|
||||||
import com.google.common.base.CharMatcher;
|
import com.google.common.base.CharMatcher;
|
||||||
import mage.ObjectColor;
|
import mage.ObjectColor;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
|
import mage.abilities.common.SagaAbility;
|
||||||
import mage.abilities.effects.keyword.ScryEffect;
|
import mage.abilities.effects.keyword.ScryEffect;
|
||||||
import mage.abilities.keyword.MenaceAbility;
|
import mage.abilities.keyword.MenaceAbility;
|
||||||
import mage.abilities.keyword.MultikickerAbility;
|
import mage.abilities.keyword.MultikickerAbility;
|
||||||
|
@ -1275,6 +1276,11 @@ public class VerifyCardDataTest {
|
||||||
fail(card, "abilities", "card have Multikicker ability, but missing it in rules text");
|
fail(card, "abilities", "card have Multikicker ability, but missing it in rules text");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// special check: Sagas need to have saga ability added
|
||||||
|
if (card.hasSubtype(SubType.SAGA, null) && !card.getAbilities().containsClass(SagaAbility.class)) {
|
||||||
|
fail(card, "abilities", "card is a Saga but is missing this.addAbility(sagaAbility)");
|
||||||
|
}
|
||||||
|
|
||||||
// special check: missing or wrong ability/effect hints
|
// special check: missing or wrong ability/effect hints
|
||||||
Map<Class, String> hints = new HashMap<>();
|
Map<Class, String> hints = new HashMap<>();
|
||||||
hints.put(MenaceAbility.class, "can't be blocked except by two or more");
|
hints.put(MenaceAbility.class, "can't be blocked except by two or more");
|
||||||
|
|
Loading…
Reference in a new issue