mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
[DMC] Implemented Historian's Boon
This commit is contained in:
parent
231c6c1eeb
commit
5160922af6
3 changed files with 108 additions and 0 deletions
|
|
@ -139,6 +139,11 @@ public class SagaAbility extends SimpleStaticAbility {
|
|||
public static boolean isChapterAbility(TriggeredAbility ability) {
|
||||
return ability instanceof ChapterTriggeredAbility;
|
||||
}
|
||||
|
||||
public static boolean isFinalAbility(Ability ability, int maxChapter) {
|
||||
return ability instanceof ChapterTriggeredAbility
|
||||
&& ((ChapterTriggeredAbility) ability).getChapterFrom().getNumber() == maxChapter;
|
||||
}
|
||||
}
|
||||
|
||||
class SagaLoreCountersEffect extends OneShotEffect {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue