- Check controller of a mana ability in canPlay so Humans can't tap AIs land

This commit is contained in:
jendave
2011-08-06 13:50:47 +00:00
parent 3c80def40f
commit c0b0c245c7

View File

@@ -349,7 +349,11 @@ abstract public class Ability_Mana extends SpellAbility implements java.io.Seria
@Override
public boolean canPlay() {
Card card = getSourceCard();
if(card.isCreature() == true) {
if (card.getController().isComputer())
return false;
if(card.isCreature()) {
CardList Silence = AllZoneUtil.getPlayerCardsInPlay(card.getController().getOpponent());
Silence = Silence.getName("Linvala, Keeper of Silence");