mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Sunlance should be cascadable.
- Fixed Dovescape token controllership bug. - Fixed Sower of Temptation (AI targeting should happen only once, as it hits play).
This commit is contained in:
@@ -7411,7 +7411,14 @@ public class CardFactory implements NewConstants {
|
|||||||
if((!CardUtil.getColors(card).contains(Constant.Color.White)) && card.isCreature()
|
if((!CardUtil.getColors(card).contains(Constant.Color.White)) && card.isCreature()
|
||||||
&& zone.is(Constant.Zone.Play)) {
|
&& zone.is(Constant.Zone.Play)) {
|
||||||
spell.setTargetCard(card);
|
spell.setTargetCard(card);
|
||||||
stopSetNext(new Input_PayManaCost(spell));
|
if (this.isFree())
|
||||||
|
{
|
||||||
|
this.setFree(false);
|
||||||
|
AllZone.Stack.add(spell);
|
||||||
|
stop();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
stopSetNext(new Input_PayManaCost(spell));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};//SpellAbility - target
|
};//SpellAbility - target
|
||||||
|
|||||||
@@ -7848,16 +7848,12 @@ public class CardFactory_Creatures {
|
|||||||
|
|
||||||
if(c.isEmpty()) return false;
|
if(c.isEmpty()) return false;
|
||||||
|
|
||||||
if(2 <= c.get(0).getNetAttack() && c.get(0).getKeyword().contains("Flying")) {
|
if( c.get(0).getNetAttack() >= 2 && c.get(0).getKeyword().contains("Flying"))
|
||||||
setTargetCard(c.get(0));
|
|
||||||
return true;
|
return true;
|
||||||
}
|
|
||||||
|
|
||||||
CardListUtil.sortAttack(c);
|
CardListUtil.sortAttack(c);
|
||||||
if(4 <= c.get(0).getNetAttack()) {
|
if(4 <= c.get(0).getNetAttack())
|
||||||
setTargetCard(c.get(0));
|
|
||||||
return true;
|
return true;
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1147,7 +1147,7 @@ public class GameActionUtil {
|
|||||||
AllZone.GameAction.moveToGraveyard(sa.getSourceCard());
|
AllZone.GameAction.moveToGraveyard(sa.getSourceCard());
|
||||||
|
|
||||||
for(int j = 0; j < cl.size() * cmc; j++) {
|
for(int j = 0; j < cl.size() * cmc; j++) {
|
||||||
CardFactoryUtil.makeToken("Bird", "WU 1 1 Bird", card, "W U", new String[] {
|
CardFactoryUtil.makeToken("Bird", "WU 1 1 Bird", sa.getSourceCard().getController(), "W U", new String[] {
|
||||||
"Creature", "Bird"}, 1, 1, new String[] {"Flying"});
|
"Creature", "Bird"}, 1, 1, new String[] {"Flying"});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user