mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08: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
|
|
@ -3,6 +3,7 @@ package mage.verify;
|
|||
import com.google.common.base.CharMatcher;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SagaAbility;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
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");
|
||||
}
|
||||
|
||||
// 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
|
||||
Map<Class, String> hints = new HashMap<>();
|
||||
hints.put(MenaceAbility.class, "can't be blocked except by two or more");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue