Merge pull request #953 from kevlahnota/master

Etched Affinity stalling the game
This commit is contained in:
Anthony Calosa
2017-03-07 05:32:38 +08:00
committed by GitHub
3 changed files with 14 additions and 2 deletions

View File

@@ -1,7 +1,6 @@
#NAME:Etched Affinity #NAME:Etched Affinity
#DESC:Modern URB Aggro #DESC:Modern URB Aggro
#HINT:dontattackwith(creature[power<=0]) #HINT:dontattackwith(creature[power<=0])
#HINT:combo hold(Glimmervoid|myhand)^cast(Glimmervoid|myhand)^restriction{type(land[fresh]|mybattlefield)~lessthan~1,type(artifact|mybattlefield)~morethan~0}^totalmananeeded({0})
#HINT:combo hold(Galvanic Blast|myhand)^cast(Galvanic Blast|myhand)^restriction{type(artifact|mybattlefield)~morethan~2,turn:3}^totalmananeeded({R}) #HINT:combo hold(Galvanic Blast|myhand)^cast(Galvanic Blast|myhand)^restriction{type(artifact|mybattlefield)~morethan~2,turn:3}^totalmananeeded({R})
#25 creatures #25 creatures

View File

@@ -46852,6 +46852,7 @@ subtype=Locus
[/card] [/card]
[card] [card]
name=Glimmervoid name=Glimmervoid
alias=48132
auto={T}:add{W} auto={T}:add{W}
auto={T}:add{U} auto={T}:add{U}
auto={T}:add{B} auto={T}:add{B}
@@ -68378,7 +68379,7 @@ type=Artifact
[/card] [/card]
[card] [card]
name=Lotus Cobra name=Lotus Cobra
auto=@movedTo(land|mybattlefield):chooseacolor add{chosencolor} chooseend auto=@movedTo(land|mybattlefield):name(choose mana) ability$! choice add{G} _ choice add{R} _ choice add{U} _ choice add{B} _ choice add{W} !$ controller
text=Landfall - Whenever a land enters the battlefield under your control, you may add one mana of any color to your mana pool. text=Landfall - Whenever a land enters the battlefield under your control, you may add one mana of any color to your mana pool.
mana={1}{G} mana={1}{G}
type=Creature type=Creature

View File

@@ -2542,6 +2542,10 @@ MTGCardInstance * AIPlayerBaka::FindCardToPlay(ManaCost * pMana, const char * ty
if (card->hasType(Subtypes::TYPE_LEGENDARY) && game->inPlay->findByName(card->name)) if (card->hasType(Subtypes::TYPE_LEGENDARY) && game->inPlay->findByName(card->name))
continue; continue;
//glimmervoid alias to avoid ai stalling the game as the hint combo is stuck
//next card to play was galvanic blast but on activate combo it clashes with glimmervoid...
if ((card->alias == 48132) && (card->controller()->game->inPlay->countByType("artifact") < 1))
continue;
if (card->has(Constants::TREASON) && observer->getCurrentGamePhase() != MTG_PHASE_FIRSTMAIN) if (card->has(Constants::TREASON) && observer->getCurrentGamePhase() != MTG_PHASE_FIRSTMAIN)
continue; continue;
@@ -2693,6 +2697,10 @@ MTGCardInstance * AIPlayerBaka::FindCardToPlay(ManaCost * pMana, const char * ty
if (card->hasType(Subtypes::TYPE_LEGENDARY) && game->inPlay->findByName(card->name)) if (card->hasType(Subtypes::TYPE_LEGENDARY) && game->inPlay->findByName(card->name))
continue; continue;
//glimmervoid alias to avoid ai stalling the game as the hint combo is stuck
//next card to play was galvanic blast but on activate combo it clashes with glimmervoid...
if ((card->alias == 48132) && (card->controller()->game->inPlay->countByType("artifact") < 1))
continue;
if (card->has(Constants::TREASON) && observer->getCurrentGamePhase() != MTG_PHASE_FIRSTMAIN) if (card->has(Constants::TREASON) && observer->getCurrentGamePhase() != MTG_PHASE_FIRSTMAIN)
continue; continue;
@@ -2843,6 +2851,10 @@ MTGCardInstance * AIPlayerBaka::FindCardToPlay(ManaCost * pMana, const char * ty
if (card->hasType(Subtypes::TYPE_LEGENDARY) && game->inPlay->findByName(card->name)) if (card->hasType(Subtypes::TYPE_LEGENDARY) && game->inPlay->findByName(card->name))
continue; continue;
//glimmervoid alias to avoid ai stalling the game as the hint combo is stuck
//next card to play was galvanic blast but on activate combo it clashes with glimmervoid...
if ((card->alias == 48132) && (card->controller()->game->inPlay->countByType("artifact") < 1))
continue;
if (card->has(Constants::TREASON) && observer->getCurrentGamePhase() != MTG_PHASE_FIRSTMAIN) if (card->has(Constants::TREASON) && observer->getCurrentGamePhase() != MTG_PHASE_FIRSTMAIN)
continue; continue;