mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
parent
66b4bae2c3
commit
02e4df7fa9
1 changed files with 2 additions and 2 deletions
|
|
@ -82,8 +82,8 @@ enum AleshaWhoLaughsAtFatePredicate implements ObjectSourcePlayerPredicate<Card>
|
|||
public boolean apply(ObjectSourcePlayer<Card> input, Game game) {
|
||||
return Optional
|
||||
.ofNullable(input.getSource().getSourcePermanentOrLKI(game))
|
||||
.map(MageObject::getManaValue)
|
||||
.map(p -> input.getObject().getManaValue() <= p)
|
||||
.map(MageObject::getPower)
|
||||
.map(p -> input.getObject().getManaValue() <= p.getValue())
|
||||
.orElse(false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue