mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Escaped Shapeshifter - fixed that it doesn't count Escaped Shapeshifter to apply effect;
This commit is contained in:
parent
7998e31da6
commit
11f5ae5b59
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class EscapedShapeshifterEffect extends ContinuousEffectImpl {
|
|||
source.getControllerId(), source.getSourceId(), game
|
||||
).stream()
|
||||
.filter(Objects::nonNull)
|
||||
.filter(permanent -> permanent.getName() != "Escaped Shapeshifter")
|
||||
.filter(permanent -> !permanent.getName().equals(sourcePermanent.getName()))
|
||||
.map(Permanent::getAbilities)
|
||||
.flatMap(Collection::stream).filter(EscapedShapeshifterEffect::checkAbility)
|
||||
.forEach(ability -> sourcePermanent.addAbility(ability, source.getSourceId(), game));
|
||||
|
|
Loading…
Reference in a new issue