mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
include components for RememberTargets
This commit is contained in:
@@ -1541,6 +1541,11 @@ public class AbilityUtils {
|
||||
host.clearRemembered();
|
||||
}
|
||||
host.addRemembered(sa.getTargets());
|
||||
if (sa.hasParam("IncludeAllComponentCards")) {
|
||||
for (Card c : sa.getTargets().getTargetCards()) {
|
||||
host.addRemembered(c.getAllComponentCards(false));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (sa.hasParam("RememberCostMana")) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name:You're in Command
|
||||
ManaCost:1 W
|
||||
Types:Sorcery
|
||||
A:SP$ AlterAttribute | ValidTgts$ Creature.YouOwn+YouCtrl | IncludeAllComponentCards$ True | Attributes$ Commander | RememberAltered$ True | SubAbility$ DBDemote | SpellDescription$ Choose target creature you own and control. That creature becomes your commander. Any other commanders you have are no longer your commander. (That creature starts with a commander tax of {0}.)
|
||||
A:SP$ AlterAttribute | ValidTgts$ Creature.YouOwn+YouCtrl | IncludeAllComponentCards$ True | Attributes$ Commander | RememberTargets$ True | SubAbility$ DBDemote | SpellDescription$ Choose target creature you own and control. That creature becomes your commander. Any other commanders you have are no longer your commander. (That creature starts with a commander tax of {0}.)
|
||||
SVar:DBDemote:DB$ AlterAttribute | Defined$ ValidAll Card.YouOwn+IsNotRemembered+IsCommander | Attributes$ Commander | Activate$ False | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
Oracle:Choose target creature you own and control. That creature becomes your commander. Any other commanders you have are no longer your commander. (That creature starts with a commander tax of {0}.)
|
||||
Reference in New Issue
Block a user