mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
add Niall Silvain (from The Dark)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -2734,6 +2734,7 @@ res/cardsfolder/nevinyrrals_disk.txt -text svneol=native#text/plain
|
|||||||
res/cardsfolder/nezumi_cutthroat.txt -text svneol=native#text/plain
|
res/cardsfolder/nezumi_cutthroat.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/nezumi_ronin.txt -text svneol=native#text/plain
|
res/cardsfolder/nezumi_ronin.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/nezumi_shadow_watcher.txt -text svneol=native#text/plain
|
res/cardsfolder/nezumi_shadow_watcher.txt -text svneol=native#text/plain
|
||||||
|
res/cardsfolder/niall_silvain.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/nicol_bolas.txt -text svneol=native#text/plain
|
res/cardsfolder/nicol_bolas.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/nicol_bolas_planeswalker.txt -text svneol=native#text/plain
|
res/cardsfolder/nicol_bolas_planeswalker.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/night_of_souls_betrayal.txt -text svneol=native#text/plain
|
res/cardsfolder/night_of_souls_betrayal.txt -text svneol=native#text/plain
|
||||||
|
|||||||
8
res/cardsfolder/niall_silvain.txt
Normal file
8
res/cardsfolder/niall_silvain.txt
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
Name:Niall Silvain
|
||||||
|
ManaCost:G G G
|
||||||
|
Types:Creature Ouphe
|
||||||
|
Text:no text
|
||||||
|
PT:2/2
|
||||||
|
SVar:Rarity:Rare
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/niall_silvain.jpg
|
||||||
|
End
|
||||||
@@ -20227,6 +20227,50 @@ public class CardFactory_Creatures {
|
|||||||
card.addComesIntoPlayCommand(intoPlay);
|
card.addComesIntoPlayCommand(intoPlay);
|
||||||
}//*************** END ************ END **************************
|
}//*************** END ************ END **************************
|
||||||
|
|
||||||
|
//*************** START ********** START *************************
|
||||||
|
else if(cardName.equals("Niall Silvain")) {
|
||||||
|
/*
|
||||||
|
* G G G G, Tap: Regenerate target creature.
|
||||||
|
*/
|
||||||
|
|
||||||
|
final String Tgts[] = {"Creature"};
|
||||||
|
Target target = new Target("TgtV", "Select target creature.", Tgts);
|
||||||
|
final Ability_Cost abCost = new Ability_Cost("G G G G T", card.getName(), true);
|
||||||
|
|
||||||
|
final Card[] tgt = new Card[1];
|
||||||
|
final Command untilEOT = new Command() {
|
||||||
|
private static final long serialVersionUID = -3935745263639942311L;
|
||||||
|
|
||||||
|
public void execute() {
|
||||||
|
tgt[0].setShield(0);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
SpellAbility ability = new Ability_Activated(card, abCost, target) {
|
||||||
|
private static final long serialVersionUID = -8962229818065931663L;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void resolve() {
|
||||||
|
tgt[0] = getTargetCard();
|
||||||
|
tgt[0].addShield();
|
||||||
|
AllZone.EndOfTurn.addUntil(untilEOT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canPlayAI() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canPlay() {
|
||||||
|
CardList creats = AllZoneUtil.getCreaturesInPlay();
|
||||||
|
return creats.size() != 0 && super.canPlay();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
ability.setDescription(abCost+"Regenerate target creature.");
|
||||||
|
card.addSpellAbility(ability);
|
||||||
|
}//*************** 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