Merge branch 'master' into master
This commit is contained in:
@@ -264,7 +264,6 @@ dauntless_escort.txt
|
||||
dauthi_embrace.txt
|
||||
dawn_of_the_dead.txt
|
||||
deadshot.txt
|
||||
death_grasp.txt
|
||||
death_ward.txt
|
||||
decree_of_justice.txt
|
||||
defense_of_the_heart.txt
|
||||
@@ -739,5 +738,4 @@ momir/overcost.txt
|
||||
########################
|
||||
#AI Tests
|
||||
########################
|
||||
ai/goblin_artillery.txt
|
||||
ai/proliferate_simple.txt
|
||||
|
||||
@@ -4574,11 +4574,11 @@ int AbilityFactory::abilityEfficiency(MTGAbility * a, Player * p, int mode, Targ
|
||||
if (AAMover * aam = dynamic_cast<AAMover *>(a))
|
||||
{
|
||||
MTGGameZone * z = aam->destinationZone(target);
|
||||
if ((tc && tc->targetsZone(p->game->library)) || (tc && tc->targetsZone(p->game->graveyard)) || (tc && tc->targetsZone(p->game->hand)))
|
||||
{
|
||||
if ((tc && tc->targetsZone(p->game->library)) || (tc && tc->targetsZone(p->game->graveyard)) || (tc && tc->targetsZone(p->game->hand)))
|
||||
{
|
||||
if (z == p->game->hand || z == p->game->inPlay)
|
||||
return BAKA_EFFECT_GOOD;
|
||||
}
|
||||
}
|
||||
return BAKA_EFFECT_BAD; //TODO
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user