mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fixed Karakas.
This commit is contained in:
@@ -2888,8 +2888,7 @@ public class CardFactory implements NewConstants {
|
|||||||
//System.out.println("Creats size: " + creats.size());
|
//System.out.println("Creats size: " + creats.size());
|
||||||
|
|
||||||
if(card.getController().equals(Constant.Player.Human)) {
|
if(card.getController().equals(Constant.Player.Human)) {
|
||||||
List<Card> selection = AllZone.Display.getChoices("Select creature to sacrifice",
|
List<Card> selection = AllZone.Display.getChoices("Select creature to sacrifice", creats.toArray());
|
||||||
creats.toArray());
|
|
||||||
|
|
||||||
numCreatures[0] = selection.size();
|
numCreatures[0] = selection.size();
|
||||||
for(int m = 0; m < selection.size(); m++) {
|
for(int m = 0; m < selection.size(); m++) {
|
||||||
|
|||||||
@@ -12193,6 +12193,14 @@ public class CardFactory_Creatures {
|
|||||||
false, false));
|
false, false));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
final Ability a3 = new Ability(card,"0")
|
||||||
|
{
|
||||||
|
public void resolve()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
};
|
||||||
a1.setDescription("2G: Put a 1/1 green Saproling creature token into play.");
|
a1.setDescription("2G: Put a 1/1 green Saproling creature token into play.");
|
||||||
a1.setStackDescription("Put a 1/1 Saproling into play.");
|
a1.setStackDescription("Put a 1/1 Saproling into play.");
|
||||||
card.addSpellAbility(a1);
|
card.addSpellAbility(a1);
|
||||||
@@ -12202,6 +12210,10 @@ public class CardFactory_Creatures {
|
|||||||
a2.setDescription("Sacrifice a Saproling: Saproling creatures get +1/+1 until end of turn");
|
a2.setDescription("Sacrifice a Saproling: Saproling creatures get +1/+1 until end of turn");
|
||||||
a2.setStackDescription("Saprolings get +1/+1 until end of turn.");
|
a2.setStackDescription("Saprolings get +1/+1 until end of turn.");
|
||||||
|
|
||||||
|
card.addSpellAbility(a3);
|
||||||
|
a3.setDescription("(Alternate way of sacrificing multiple creatures).");
|
||||||
|
a3.setStackDescription("Saprolings get +X/+X until end of turn.");
|
||||||
|
|
||||||
a2.setBeforePayMana(runtime);
|
a2.setBeforePayMana(runtime);
|
||||||
}//*************** END ************ END **************************
|
}//*************** END ************ END **************************
|
||||||
|
|
||||||
|
|||||||
@@ -1126,7 +1126,7 @@ class CardFactory_Lands {
|
|||||||
if(c != null) {
|
if(c != null) {
|
||||||
if(CardFactoryUtil.canTarget(card, c) && c.isCreature()
|
if(CardFactoryUtil.canTarget(card, c) && c.isCreature()
|
||||||
&& c.getType().contains("Legendary")) AllZone.GameAction.moveTo(AllZone.getZone(
|
&& c.getType().contains("Legendary")) AllZone.GameAction.moveTo(AllZone.getZone(
|
||||||
Constant.Zone.Hand, card.getOwner()), c);
|
Constant.Zone.Hand, c.getOwner()), c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user