Issue#467: usable activated ability in hand now also displayed yellow (e.g. Cycling)

This commit is contained in:
magenoxx 2014-07-24 13:21:52 +04:00
parent b52e526c0f
commit 1caaad831e

View file

@ -1995,6 +1995,12 @@ public abstract class PlayerImpl implements Player, Serializable {
break;
}
}
for (ActivatedAbility ability : card.getAbilities().getActivatedAbilities(Zone.HAND)) {
if (!playable.contains(ability) && canPlay(ability, available, game)) {
playable.add(card.getId());
break;
}
}
}
}
}