Fixed that fused cards allows to cast from graveyard (see prev commit 63dbf5f40b);

This commit is contained in:
Oleg Agafonov 2020-05-24 09:21:49 +04:00
parent 63dbf5f40b
commit abda99e203
10 changed files with 143 additions and 40 deletions

View file

@ -48,7 +48,7 @@ public class SpectacleAbility extends SpellAbility {
public ActivationStatus canActivate(UUID playerId, Game game) {
if (OpponentsLostLifeCount.instance.calculate(game, playerId) > 0
&& super.canActivate(playerId, game).canActivate()) {
return ActivationStatus.getTrue();
return ActivationStatus.getTrue(this, game);
}
return ActivationStatus.getFalse();
}