mirror of
https://github.com/correl/mage.git
synced 2025-03-17 01:06:26 -09: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
|
source.getControllerId(), source.getSourceId(), game
|
||||||
).stream()
|
).stream()
|
||||||
.filter(Objects::nonNull)
|
.filter(Objects::nonNull)
|
||||||
.filter(permanent -> permanent.getName() != "Escaped Shapeshifter")
|
.filter(permanent -> !permanent.getName().equals(sourcePermanent.getName()))
|
||||||
.map(Permanent::getAbilities)
|
.map(Permanent::getAbilities)
|
||||||
.flatMap(Collection::stream).filter(EscapedShapeshifterEffect::checkAbility)
|
.flatMap(Collection::stream).filter(EscapedShapeshifterEffect::checkAbility)
|
||||||
.forEach(ability -> sourcePermanent.addAbility(ability, source.getSourceId(), game));
|
.forEach(ability -> sourcePermanent.addAbility(ability, source.getSourceId(), game));
|
||||||
|
|
Loading…
Add table
Reference in a new issue