mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
[CLB] Fix Incorrect Volo Behavior (#9190)
This commit is contained in:
parent
78f3547644
commit
dca2ae546e
2 changed files with 38 additions and 23 deletions
|
|
@ -90,11 +90,12 @@ class VoloItinerantScholarEffect extends OneShotEffect {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
Permanent permanent = game.getPermanent(getTargetPointer().getFirst(game, source));
|
||||
return player != null && permanent != null
|
||||
&& player.drawCards(
|
||||
VolosJournalToken.getNotedTypes(
|
||||
game, permanent.getId(), permanent.getZoneChangeCounter(game)
|
||||
).size(), source, game
|
||||
) > 0;
|
||||
if (player == null || permanent == null) {
|
||||
return false;
|
||||
}
|
||||
return player.drawCards(
|
||||
VolosJournalToken.getNotedTypes(game, permanent).size(),
|
||||
source,
|
||||
game) > 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue