include components for RememberTargets

This commit is contained in:
Jetz
2024-08-23 18:55:52 -04:00
parent 601f6a72c1
commit 610488bc22
2 changed files with 6 additions and 1 deletions

View File

@@ -1541,6 +1541,11 @@ public class AbilityUtils {
host.clearRemembered(); host.clearRemembered();
} }
host.addRemembered(sa.getTargets()); host.addRemembered(sa.getTargets());
if (sa.hasParam("IncludeAllComponentCards")) {
for (Card c : sa.getTargets().getTargetCards()) {
host.addRemembered(c.getAllComponentCards(false));
}
}
} }
if (sa.hasParam("RememberCostMana")) { if (sa.hasParam("RememberCostMana")) {

View File

@@ -1,7 +1,7 @@
Name:You're in Command Name:You're in Command
ManaCost:1 W ManaCost:1 W
Types:Sorcery 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:DBDemote:DB$ AlterAttribute | Defined$ ValidAll Card.YouOwn+IsNotRemembered+IsCommander | Attributes$ Commander | Activate$ False | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True 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}.) 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}.)