mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
White Sun's Zenith
This commit is contained in:
parent
a9b4496ef3
commit
b897f7ce14
3 changed files with 58 additions and 1 deletions
|
|
@ -46,7 +46,6 @@ import mage.game.permanent.token.Token;
|
||||||
* @author Loki
|
* @author Loki
|
||||||
*/
|
*/
|
||||||
public class WhiteSunsZenith extends CardImpl<WhiteSunsZenith> {
|
public class WhiteSunsZenith extends CardImpl<WhiteSunsZenith> {
|
||||||
|
|
||||||
public WhiteSunsZenith (UUID ownerId) {
|
public WhiteSunsZenith (UUID ownerId) {
|
||||||
super(ownerId, 19, "White Sun's Zenith", Rarity.RARE, new CardType[]{CardType.INSTANT}, "{X}{W}{W}{W}");
|
super(ownerId, 19, "White Sun's Zenith", Rarity.RARE, new CardType[]{CardType.INSTANT}, "{X}{W}{W}{W}");
|
||||||
this.expansionSetCode = "MBS";
|
this.expansionSetCode = "MBS";
|
||||||
|
|
|
||||||
36
Mage.Tests/Mage-Tests.iml
Normal file
36
Mage.Tests/Mage-Tests.iml
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
|
||||||
|
<output url="file://$MODULE_DIR$/target/classes" />
|
||||||
|
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" isTestSource="true" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="module" module-name="Mage" />
|
||||||
|
<orderEntry type="library" name="Maven: log4j:log4j:1.2.14" level="project" />
|
||||||
|
<orderEntry type="module" module-name="Mage-Common" />
|
||||||
|
<orderEntry type="library" name="Maven: com.googlecode.jspf:jspf-core:0.9.1" level="project" />
|
||||||
|
<orderEntry type="module" module-name="Mage-Sets" />
|
||||||
|
<orderEntry type="module" module-name="Mage-Server" />
|
||||||
|
<orderEntry type="library" name="Maven: junit:junit:4.8.2" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-impl:2.1.12" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: javax.xml.bind:jaxb-api:2.1" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: javax.xml.stream:stax-api:1.0-2" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: javax.activation:activation:1.1" level="project" />
|
||||||
|
<orderEntry type="module" module-name="Mage-Player-AI" />
|
||||||
|
<orderEntry type="module" module-name="Mage-Deck-Constructed" scope="RUNTIME" />
|
||||||
|
<orderEntry type="module" module-name="Mage-Deck-Limited" scope="RUNTIME" />
|
||||||
|
<orderEntry type="module" module-name="Mage-Game-FreeForAll" scope="RUNTIME" />
|
||||||
|
<orderEntry type="module" module-name="Mage-Game-TwoPlayerDuel" />
|
||||||
|
<orderEntry type="module" module-name="Mage-Player-Human" scope="RUNTIME" />
|
||||||
|
<orderEntry type="module" module-name="Mage-Player-AIMinimax" scope="RUNTIME" />
|
||||||
|
<orderEntry type="module" module-name="Mage-Player-AI-MA" scope="RUNTIME" />
|
||||||
|
<orderEntry type="module" module-name="Mage-Tournament-BoosterDraft" scope="RUNTIME" />
|
||||||
|
<orderEntry type="module" module-name="Mage-Tournament-Sealed" scope="RUNTIME" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
package org.mage.test.serverside.cards.abilities;
|
||||||
|
|
||||||
|
import mage.Constants;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.mage.test.serverside.base.CardTestBase;
|
||||||
|
|
||||||
|
public class HellbentTest extends CardTestBase {
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testWithCardsInHand() {
|
||||||
|
addCard(Constants.Zone.BATTLEFIELD, computerA, "Rakdos Pit Dragon", 1);
|
||||||
|
removeAllCardsFromLibrary(computerA);
|
||||||
|
addCard(Constants.Zone.LIBRARY, computerA, "Mountain", 10);
|
||||||
|
|
||||||
|
addCard(Constants.Zone.BATTLEFIELD, computerB, "Plains", 2);
|
||||||
|
addCard(Constants.Zone.HAND, computerB, "Plains", 2);
|
||||||
|
removeAllCardsFromLibrary(computerB);
|
||||||
|
addCard(Constants.Zone.LIBRARY, computerB, "Plains", 10);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue