fix urza lands

the alias is used for checking of "urzatron". revised this because when
using if then else in the activation makes the mana ability goes to the
stack
This commit is contained in:
Anthony Calosa
2015-10-12 13:00:05 +08:00
parent c7b9e6f9b8
commit 94620504da
4 changed files with 32 additions and 4 deletions
+12
View File
@@ -764,6 +764,18 @@ bool MTGGameZone::hasAbility(int ability)
return false;
}
bool MTGGameZone::hasAlias(int alias)
{
for (int i = 0; i < (nb_cards); i++)
{
if (cards[i]->alias == alias)
{
return true;
}
}
return false;
}
int MTGGameZone::seenThisTurn(TargetChooser * tc, int castMethod, bool lastTurn)
{
//The following 2 lines modify the passed TargetChooser. Call this function with care :/