mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
add Architects of Will (from Alara Reborn)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -202,6 +202,7 @@ res/cardsfolder/arcbound_stinger.txt -text svneol=native#text/plain
|
|||||||
res/cardsfolder/arcbound_worker.txt -text svneol=native#text/plain
|
res/cardsfolder/arcbound_worker.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/archaeological_dig.txt -text svneol=native#text/plain
|
res/cardsfolder/archaeological_dig.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/archangel.txt -text svneol=native#text/plain
|
res/cardsfolder/archangel.txt -text svneol=native#text/plain
|
||||||
|
res/cardsfolder/architects_of_will.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/archivist.txt -text svneol=native#text/plain
|
res/cardsfolder/archivist.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/archon_of_justice.txt -text svneol=native#text/plain
|
res/cardsfolder/archon_of_justice.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/archon_of_redemption.txt -text svneol=native#text/plain
|
res/cardsfolder/archon_of_redemption.txt -text svneol=native#text/plain
|
||||||
|
|||||||
10
res/cardsfolder/architects_of_will.txt
Normal file
10
res/cardsfolder/architects_of_will.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Name:Architects of Will
|
||||||
|
ManaCost:2 U B
|
||||||
|
Types:Artifact Creature Human Wizard
|
||||||
|
Text:When Architects of Will enters the battlefield, look at the top three cards of target player's library, then put them back in any order.
|
||||||
|
PT:3/3
|
||||||
|
K:Cycling:UB
|
||||||
|
SVar:RemAIDeck:True
|
||||||
|
SVar:Rarity:Common
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/architects_of_will.jpg
|
||||||
|
End
|
||||||
@@ -20440,6 +20440,36 @@ public class CardFactory_Creatures {
|
|||||||
ability.setBeforePayMana(CardFactoryUtil.input_targetPermanent(ability));
|
ability.setBeforePayMana(CardFactoryUtil.input_targetPermanent(ability));
|
||||||
}//*************** END ************ END **************************
|
}//*************** END ************ END **************************
|
||||||
|
|
||||||
|
//*************** START *********** START **************************
|
||||||
|
else if(cardName.equals("Architects of Will")) {
|
||||||
|
/*
|
||||||
|
* When Architects of Will enters the battlefield, look at the
|
||||||
|
* top three cards of target player's library, then put them
|
||||||
|
* back in any order.
|
||||||
|
*/
|
||||||
|
final SpellAbility ability = new Ability(card, "0") {
|
||||||
|
@Override
|
||||||
|
public void resolve() {
|
||||||
|
AllZoneUtil.rearrangeTopOfLibrary(getTargetPlayer(), 3, false);
|
||||||
|
}//resolve()
|
||||||
|
};//SpellAbility
|
||||||
|
Command intoPlay = new Command() {
|
||||||
|
private static final long serialVersionUID = 3539746365351917811L;
|
||||||
|
|
||||||
|
public void execute() {
|
||||||
|
if(card.getController().equals(Constant.Player.Human)) {
|
||||||
|
AllZone.InputControl.setInput(CardFactoryUtil.input_targetPlayer(ability));
|
||||||
|
ButtonUtil.disableAll();
|
||||||
|
}
|
||||||
|
else { //Computer
|
||||||
|
//not implemented for computer
|
||||||
|
}//else
|
||||||
|
}
|
||||||
|
};
|
||||||
|
ability.setStackDescription(cardName + " - rearrange top 3 cards of target player's library.");
|
||||||
|
card.addComesIntoPlayCommand(intoPlay);
|
||||||
|
}//*************** END ************ END **************************
|
||||||
|
|
||||||
|
|
||||||
// Cards with Cycling abilities
|
// Cards with Cycling abilities
|
||||||
// -1 means keyword "Cycling" not found
|
// -1 means keyword "Cycling" not found
|
||||||
|
|||||||
Reference in New Issue
Block a user