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

View File

@@ -688,6 +688,13 @@ private:
{
intValue = target->controller()->opponent()->game->hand->nb_cards;
}
else if (s == "urzatron")//Urza lands
{
if(card->controller()->game->battlefield->hasAlias(4192) && card->controller()->game->battlefield->hasAlias(4193) && card->controller()->game->battlefield->hasAlias(4194))
intValue = 1;
else
intValue = 0;
}
else if (s == "worshipped")//Worship
{
if(card->controller()->game->battlefield->hasType("creature"))