mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
Improve Ygra, Eater of All
This commit is contained in:
parent
51ba06216e
commit
9e6ffe7521
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class YgraEaterOfAllEffect extends ContinuousEffectImpl {
|
|||
@Override
|
||||
public boolean apply(Layer layer, SubLayer sublayer, Ability source, Game game) {
|
||||
for (Permanent permanent : game.getBattlefield().getActivePermanents(StaticFilters.FILTER_PERMANENT_CREATURES, source.getControllerId(), source, game)) {
|
||||
if (permanent == game.getPermanent(source.getSourceId())) {
|
||||
if (permanent.getId().equals(source.getSourceId())) {
|
||||
continue;
|
||||
}
|
||||
switch (layer) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue