mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
add Imi Statue (from Champions of Kamigawa)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -2043,6 +2043,7 @@ res/cardsfolder/illusionary_forces.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/illusionary_servant.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/illusionary_wall.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/illusions_of_grandeur.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/imi_statue.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/immaculate_magistrate.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/immolation.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/imperial_edict.txt -text svneol=native#text/plain
|
||||
|
||||
7
res/cardsfolder/imi_statue.txt
Normal file
7
res/cardsfolder/imi_statue.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Imi Statue
|
||||
ManaCost:3
|
||||
Types:Artifact
|
||||
Text:Players can't untap more than one artifact during their untap steps.
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/imi_statue.jpg
|
||||
End
|
||||
@@ -153,20 +153,20 @@ public class Input_Untap extends Input {
|
||||
|
||||
}
|
||||
}
|
||||
if( AllZoneUtil.isCardInPlay("Damping Field") ) {
|
||||
if( AllZone.Phase.getActivePlayer().equals(AllZone.ComputerPlayer) ) {
|
||||
if( AllZoneUtil.isCardInPlay("Damping Field") || AllZoneUtil.isCardInPlay("Imi Statue")) {
|
||||
if( AllZone.Phase.getActivePlayer().isComputer() ) {
|
||||
CardList artList = AllZoneUtil.getPlayerCardsInPlay(AllZone.ComputerPlayer);
|
||||
artList = artList.filter(AllZoneUtil.artifacts);
|
||||
artList = artList.filter(AllZoneUtil.tapped);
|
||||
if( artList.size() > 0 ) {
|
||||
artList.get(0).untap();
|
||||
CardFactoryUtil.AI_getBestArtifact(artList).untap();
|
||||
}
|
||||
}
|
||||
else {
|
||||
Input target = new Input() {
|
||||
private static final long serialVersionUID = 5555427219659889707L;
|
||||
public void showMessage() {
|
||||
AllZone.Display.showMessage("Damping Field - Select one artifact to untap");
|
||||
AllZone.Display.showMessage("Select one tapped artifact to untap");
|
||||
ButtonUtil.enableOnlyCancel();
|
||||
}
|
||||
public void selectButtonCancel() {stop();}
|
||||
|
||||
Reference in New Issue
Block a user