- Implemented AI for Tasigur, the Golden Fang

This commit is contained in:
excessum
2015-03-07 07:59:24 +00:00
parent fac4381cf7
commit 3b8bf1cc83
2 changed files with 7 additions and 1 deletions

View File

@@ -76,6 +76,13 @@ public class MillAi extends SpellAbilityAi {
return false; return false;
} }
} }
if (source.getName().equals("Tasigur, the Golden Fang")) {
if (!ai.getGame().getPhaseHandler().is(PhaseType.END_OF_TURN, ai.getOpponent()) ||
ai.getCardsIn(ZoneType.Library).size() < 10) {
return false;
}
}
return true; return true;
} }

View File

@@ -5,6 +5,5 @@ PT:4/5
K:Delve K:Delve
A:AB$ Mill | Cost$ 2 GU GU | Defined$ You | NumCards$ 2 | SubAbility$ DBReturn | SpellDescription$ Put the top two cards of your library into your graveyard, then return a nonland card of an opponent's choice from your graveyard to your hand. A:AB$ Mill | Cost$ 2 GU GU | Defined$ You | NumCards$ 2 | SubAbility$ DBReturn | SpellDescription$ Put the top two cards of your library into your graveyard, then return a nonland card of an opponent's choice from your graveyard to your hand.
SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | DefinedPlayer$ You | Chooser$ Opponent | Hidden$ True | Mandatory$ True | ChangeType$ Card.nonLand+YouOwn | AILogic$ WorstCard SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | DefinedPlayer$ You | Chooser$ Opponent | Hidden$ True | Mandatory$ True | ChangeType$ Card.nonLand+YouOwn | AILogic$ WorstCard
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/tasigur_the_golden_fang.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/tasigur_the_golden_fang.jpg
Oracle:Delve (Each card you exile from your graveyard while casting this spell pays for {1}.)\n{2}{G/U}{G/U}: Put the top two cards of your library into your graveyard, then return a nonland card of an opponent's choice from your graveyard to your hand. Oracle:Delve (Each card you exile from your graveyard while casting this spell pays for {1}.)\n{2}{G/U}{G/U}: Put the top two cards of your library into your graveyard, then return a nonland card of an opponent's choice from your graveyard to your hand.