- [KHM} - Added Alrund, God of the Cosmos

This commit is contained in:
Jeff 2021-01-23 21:25:37 -06:00
parent 227295ea41
commit 79a2815aef
3 changed files with 172 additions and 1 deletions

View file

@ -257,7 +257,7 @@ class ForetellCostAbility extends StaticAbility implements AlternativeSourceCost
public boolean isAvailable(Ability source, Game game) {
Card card = game.getCard(source.getSourceId());
if (card != null
&& game.getState().getValue(card.getId().toString()) != null) {
&& game.getState().getValue(card.getId().toString() + "Foretell Turn Number") != null) {
return Zone.STACK == game.getState().getZone(card.getId())
&& ((int) game.getState().getValue(card.getId().toString()
+ "Foretell Turn Number") != game.getTurnNum());