mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Fixed modular keyword.
This commit is contained in:
@@ -3270,8 +3270,10 @@ public class CardFactoryUtil {
|
|||||||
card2 = inp.getSelected().get(0);
|
card2 = inp.getSelected().get(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ability.setTargetCard(card2);
|
|
||||||
if ( null != card2 ) {
|
if ( null != card2 ) {
|
||||||
|
ability.setTargetRestrictions(new TargetRestrictions("", "Artifact.Creature".split(" "), "1", "1"));
|
||||||
|
ability.setTargetCard(card2);
|
||||||
|
ability.setTrigger(true);
|
||||||
String desc = String.format("Put %d +1/+1 counter/s from %s on %s", card.getCounters(CounterType.P1P1), card, card2);
|
String desc = String.format("Put %d +1/+1 counter/s from %s on %s", card.getCounters(CounterType.P1P1), card, card2);
|
||||||
ability.setStackDescription(desc);
|
ability.setStackDescription(desc);
|
||||||
modularPlayer.getGame().getStack().addSimultaneousStackEntry(ability);
|
modularPlayer.getGame().getStack().addSimultaneousStackEntry(ability);
|
||||||
|
|||||||
Reference in New Issue
Block a user