mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
add Seasinger (from Fallen Empires)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -3621,6 +3621,7 @@ res/cardsfolder/seascape_aerialist.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/seashell_cameo.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/seaside_citadel.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/seaside_haven.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/seasinger.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/seasoned_marshal.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/seat_of_the_synod.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/secluded_steppe.txt -text svneol=native#text/plain
|
||||
|
||||
10
res/cardsfolder/seasinger.txt
Normal file
10
res/cardsfolder/seasinger.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Seasinger
|
||||
ManaCost:1 U U
|
||||
Types:Creature Merfolk
|
||||
Text:Gain control of target creature whose controller controls an Island for as long as you control Seasinger and Seasinger remains tapped.
|
||||
PT:0/1
|
||||
K:You may choose not to untap CARDNAME during your untap step.
|
||||
K:When you control no Islands, sacrifice CARDNAME.
|
||||
SVar:Rarity:Uncommon
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/seasinger.jpg
|
||||
End
|
||||
@@ -19072,7 +19072,7 @@ public class CardFactory_Creatures {
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Old Man of the Sea")) {
|
||||
else if(cardName.equals("Old Man of the Sea") || cardName.equals("Seasinger")) {
|
||||
/*
|
||||
* Tap: Gain control of target creature with power less than or
|
||||
* equal to Old Man of the Sea's power for as long as Old Man of
|
||||
@@ -19171,7 +19171,8 @@ public class CardFactory_Creatures {
|
||||
|
||||
card.addSpellAbility(ability);
|
||||
|
||||
Input target = new Input() {
|
||||
//for Old Man of the Sea
|
||||
Input oldMan = new Input() {
|
||||
private static final long serialVersionUID = -2079490830593191467L;
|
||||
public void showMessage() {
|
||||
AllZone.Display.showMessage("Select target Creature with power less or equal to: "+card.getNetAttack());
|
||||
@@ -19187,7 +19188,31 @@ public class CardFactory_Creatures {
|
||||
}
|
||||
}
|
||||
};//input
|
||||
ability.setBeforePayMana(target);
|
||||
|
||||
//for Seasinger
|
||||
Input seasinger = new Input() {
|
||||
private static final long serialVersionUID = -6908603582102989044L;
|
||||
public void showMessage() {
|
||||
AllZone.Display.showMessage("Select target Creature");
|
||||
ButtonUtil.enableOnlyCancel();
|
||||
}
|
||||
public void selectButtonCancel() {
|
||||
stop();
|
||||
}
|
||||
public void selectCard(Card c, PlayerZone zone) {
|
||||
if(zone.is(Constant.Zone.Play) && c.isCreature()
|
||||
&& (AllZoneUtil.getPlayerTypeInPlay(c.getController(), "Island").size() > 0)) {
|
||||
ability.setTargetCard(c);
|
||||
stopSetNext(new Input_NoCost_TapAbility(ability));
|
||||
}
|
||||
}
|
||||
};//input
|
||||
if(cardName.equals("Old Man of the Sea")) {
|
||||
ability.setBeforePayMana(oldMan);
|
||||
}
|
||||
else if( cardName.equals("Seasinger")) {
|
||||
ability.setBeforePayMana(seasinger);
|
||||
}
|
||||
}//*************** END ************ END **************************
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user