mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
[LCI] fix descended watcher counting nonpermanent cards
This commit is contained in:
parent
a681325f66
commit
f9bb491390
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ public class DescendedWatcher extends Watcher {
|
|||
}
|
||||
ZoneChangeEvent zEvent = (ZoneChangeEvent) event;
|
||||
Card card = game.getCard(zEvent.getTargetId());
|
||||
if (card != null && zEvent.getToZone() == Zone.GRAVEYARD) {
|
||||
if (card != null && card.isPermanent(game) && zEvent.getToZone() == Zone.GRAVEYARD) {
|
||||
playerMap.compute(card.getOwnerId(), CardUtil::setOrIncrementValue);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue