mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
[ECL] Implement Grub, Storied Matriarch / Grub, Notorious Auntie
This commit is contained in:
parent
c710d80ac5
commit
03c74b616e
3 changed files with 118 additions and 0 deletions
|
|
@ -39,6 +39,10 @@ public class BlightCost extends CostImpl {
|
|||
|
||||
@Override
|
||||
public boolean canPay(Ability ability, Ability source, UUID controllerId, Game game) {
|
||||
return canBlight(controllerId, game, source);
|
||||
}
|
||||
|
||||
public static boolean canBlight(UUID controllerId, Game game, Ability source) {
|
||||
return game
|
||||
.getBattlefield()
|
||||
.contains(StaticFilters.FILTER_CONTROLLED_CREATURE, controllerId, source, game, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue