add Ring of Renewal (from Fallen Empires)

This commit is contained in:
jendave
2011-08-06 09:46:53 +00:00
parent f4aaae6fa3
commit f03e8f7042
3 changed files with 23 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -3440,6 +3440,7 @@ res/cardsfolder/righteous_war.txt -text svneol=native#text/plain
res/cardsfolder/righteousness.txt -text svneol=native#text/plain res/cardsfolder/righteousness.txt -text svneol=native#text/plain
res/cardsfolder/rimebound_dead.txt -text svneol=native#text/plain res/cardsfolder/rimebound_dead.txt -text svneol=native#text/plain
res/cardsfolder/ring_of_gix.txt -text svneol=native#text/plain res/cardsfolder/ring_of_gix.txt -text svneol=native#text/plain
res/cardsfolder/ring_of_renewal.txt -text svneol=native#text/plain
res/cardsfolder/riot_spikes.txt -text svneol=native#text/plain res/cardsfolder/riot_spikes.txt -text svneol=native#text/plain
res/cardsfolder/rip_clan_crasher.txt -text svneol=native#text/plain res/cardsfolder/rip_clan_crasher.txt -text svneol=native#text/plain
res/cardsfolder/riptide_biologist.txt -text svneol=native#text/plain res/cardsfolder/riptide_biologist.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,7 @@
Name:Ring of Renewal
ManaCost:5
Types:Artifact
Text:5, tap: Discard a card at random, then draw two cards.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/ring_of_renewal.jpg
End

View File

@@ -11495,6 +11495,21 @@ public class CardFactory implements NewConstants {
card.addSpellAbility(mana); card.addSpellAbility(mana);
}//*************** END ************ END ************************** }//*************** END ************ END **************************
//*************** START ************ START **************************
else if(cardName.equals("Ring of Renewal")) {
Ability_Cost abCost = new Ability_Cost("5 T", cardName, true);
final Ability_Activated draw = new Ability_Activated(card, abCost, null) {
private static final long serialVersionUID = 7825072388166910728L;
@Override
public void resolve() {
AllZone.GameAction.discardRandom(card.getController(), this);
card.getController().drawCards(2);
}
};
draw.setStackDescription(cardName+" - discard 1 at random, the draw 2 cards.");
card.addSpellAbility(draw);
}//*************** END ************ END **************************
return postFactoryKeywords(card); return postFactoryKeywords(card);
}//getCard2 }//getCard2