add Seasinger (from Fallen Empires)

This commit is contained in:
jendave
2011-08-06 09:43:07 +00:00
parent ca1935d03b
commit 1dbb681306
3 changed files with 39 additions and 3 deletions

1
.gitattributes vendored
View File

@@ -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/seashell_cameo.txt -text svneol=native#text/plain
res/cardsfolder/seaside_citadel.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/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/seasoned_marshal.txt -text svneol=native#text/plain
res/cardsfolder/seat_of_the_synod.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 res/cardsfolder/secluded_steppe.txt -text svneol=native#text/plain

View 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

View File

@@ -19072,7 +19072,7 @@ public class CardFactory_Creatures {
//*************** START *********** START ************************** //*************** 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 * 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 * 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); card.addSpellAbility(ability);
Input target = new Input() { //for Old Man of the Sea
Input oldMan = new Input() {
private static final long serialVersionUID = -2079490830593191467L; private static final long serialVersionUID = -2079490830593191467L;
public void showMessage() { public void showMessage() {
AllZone.Display.showMessage("Select target Creature with power less or equal to: "+card.getNetAttack()); AllZone.Display.showMessage("Select target Creature with power less or equal to: "+card.getNetAttack());
@@ -19187,7 +19188,31 @@ public class CardFactory_Creatures {
} }
} }
};//input };//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 ************************** }//*************** END ************ END **************************