mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
[TDC] fix Arbor Adherent counting its own toughness
This commit is contained in:
parent
42b2c91809
commit
0fdd167ba2
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ public enum GreatestToughnessAmongControlledCreaturesValue implements DynamicVal
|
|||
public int calculate(Game game, Ability sourceAbility, Effect effect) {
|
||||
return game
|
||||
.getBattlefield()
|
||||
.getActivePermanents(filter, sourceAbility.getControllerId(), game)
|
||||
.getActivePermanents(filter, sourceAbility.getControllerId(), sourceAbility, game)
|
||||
.stream()
|
||||
.map(MageObject::getToughness)
|
||||
.mapToInt(MageInt::getValue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue