mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
add Ring of Renewal (from Fallen Empires)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||||
|
|||||||
7
res/cardsfolder/ring_of_renewal.txt
Normal file
7
res/cardsfolder/ring_of_renewal.txt
Normal 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
|
||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user