Teaching AI proliferate and shocklands

Some minor changes, corrections to XLN and C17, changing name of game mode from horde to tribal wars
This commit is contained in:
Eduardo
2019-05-01 17:00:48 -05:00
parent f1a529576e
commit 06cb835a5b
5 changed files with 2349 additions and 2345 deletions

View File

@@ -710,6 +710,13 @@ int OrderedAIAction::getEfficiency()
{
if(ability->source->hasType(Subtypes::TYPE_PLANESWALKER))
efficiency += 40;
else if(ability->source->hasType(Subtypes::TYPE_LAND))
{ // probably a shockland, don't pay life if hand is empty
if (p->life<=2)
// check that's not a manland(like Celestial Colonnade)
if(efficiency < 50)
efficiency = 0;
}
}
SAFE_DELETE(transAbility);