39 lines
1.4 KiB
Java
39 lines
1.4 KiB
Java
package magic.test;
|
|
|
|
import magic.model.MagicDuel;
|
|
import magic.model.MagicGame;
|
|
import magic.model.MagicPlayer;
|
|
import magic.model.phase.MagicMainPhase;
|
|
|
|
class TestGGvRR extends TestGameBuilder {
|
|
/**
|
|
* Raging Ravine changed into 3/3 RG creature cannot block Guardian of the
|
|
* Guildpack which has protection from monocolored
|
|
* Fixed by making the protection check use getColorFlags in addition to getColoredTypeg
|
|
*/
|
|
@Override
|
|
public MagicGame getGame() {
|
|
final MagicDuel duel=createDuel();
|
|
final MagicGame game=duel.nextGame();
|
|
game.setPhase(MagicMainPhase.getFirstInstance());
|
|
final MagicPlayer player=game.getPlayer(0);
|
|
final MagicPlayer opponent=game.getPlayer(1);
|
|
|
|
player.setLife(1);
|
|
addToLibrary(player,"Plains",10);
|
|
createPermanent(player,"Rupture Spire",false,8);
|
|
createPermanent(player,"Raging Ravine",false,1);
|
|
createPermanent(player,"Giant Spider",false,1);
|
|
//createPermanent(player,"Esper Stormblade",false,1);
|
|
createPermanent(player,"Naya Hushblade",false,1);
|
|
//createPermanent(player,"Godsire",false,1);
|
|
//createPermanent(player,"Murderous Redcap",false,1);
|
|
|
|
opponent.setLife(1);
|
|
addToLibrary(opponent,"Island",10);
|
|
createPermanent(opponent,"Guardian of the Guildpact",false,5);
|
|
|
|
return game;
|
|
}
|
|
}
|