refactor "attack specific player" cards/tokens

This commit is contained in:
Northmoc
2022-04-21 14:01:23 -04:00
parent 152f8020f7
commit f5f9518b3b
7 changed files with 14 additions and 7 deletions

View File

@@ -2,5 +2,7 @@ Name:My Crushing Masterstroke
ManaCost:no cost ManaCost:no cost
Types:Scheme Types:Scheme
T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ TrigControl | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, gain control of all nonland permanents your opponents control until end of turn. Untap those permanents. They gain haste until end of turn. Each of them attacks its owner this turn if able. T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ TrigControl | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, gain control of all nonland permanents your opponents control until end of turn. Untap those permanents. They gain haste until end of turn. Each of them attacks its owner this turn if able.
SVar:TrigControl:DB$ GainControl | AllValid$ Permanent.OppCtrl+nonLand | Untap$ True | AddKWs$ Haste & HIDDEN CARDNAME attacks specific player each combat if able:CardOwner | LoseControl$ EOT SVar:TrigControl:DB$ GainControl | AllValid$ Permanent.OppCtrl+nonLand | Untap$ True | AddKWs$ Haste | LoseControl$ EOT | RememberControlled$ True | SubAbility$ DBAnimate
SVar:DBAnimate:DB$ Animate | Defined$ Remembered | staticAbilities$ AttackOwner | SubAbility$ DBCleanup
SVar:AttackOwner:Mode$ MustAttack | Affected$ Card.Self | MustAttack$ CardOwner | Description$ This permanent attacks its owner this turn if able.
Oracle:When you set this scheme in motion, gain control of all nonland permanents your opponents control until end of turn. Untap those permanents. They gain haste until end of turn. Each of them attacks its owner this turn if able. Oracle:When you set this scheme in motion, gain control of all nonland permanents your opponents control until end of turn. Untap those permanents. They gain haste until end of turn. Each of them attacks its owner this turn if able.

View File

@@ -5,7 +5,8 @@ PT:2/6
K:Deathtouch K:Deathtouch
T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigChoose | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, choose an opponent at random. CARDNAME attacks that player this combat if able. T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigChoose | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, choose an opponent at random. CARDNAME attacks that player this combat if able.
SVar:TrigChoose:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | Random$ True | SubAbility$ DBPump SVar:TrigChoose:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | Random$ True | SubAbility$ DBPump
SVar:DBPump:DB$ Pump | Defined$ Self | KW$ HIDDEN CARDNAME attacks specific player each combat if able:ChosenPlayer | Duration$ UntilEndOfCombat SVar:DBPump:DB$ Animate | Defined$ Self | staticAbilities$ AttackChosen | Duration$ UntilEndOfCombat
SVar:AttackChosen:Mode$ MustAttack | Affected$ Card.Self | MustAttack$ ChosenPlayer
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigLoseLifeOpp | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player loses half their life, rounded down. T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigLoseLifeOpp | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player loses half their life, rounded down.
SVar:TrigLoseLifeOpp:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ RavingXOpp SVar:TrigLoseLifeOpp:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ RavingXOpp
SVar:RavingXOpp:TriggeredTarget$LifeTotal/HalfDown SVar:RavingXOpp:TriggeredTarget$LifeTotal/HalfDown

View File

@@ -4,5 +4,6 @@ Types:Legendary Creature Giant Warrior
PT:7/7 PT:7/7
T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigChoose | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, choose an opponent at random. CARDNAME attacks that player this combat if able. T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigChoose | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, choose an opponent at random. CARDNAME attacks that player this combat if able.
SVar:TrigChoose:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | Random$ True | SubAbility$ DBPump SVar:TrigChoose:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | Random$ True | SubAbility$ DBPump
SVar:DBPump:DB$ Pump | Defined$ Self | KW$ HIDDEN CARDNAME attacks specific player each combat if able:ChosenPlayer | Duration$ UntilEndOfCombat SVar:DBPump:DB$ Animate | Defined$ Self | staticAbilities$ AttackChosen | Duration$ UntilEndOfCombat
SVar:AttackChosen:Mode$ MustAttack | Affected$ Card.Self | MustAttack$ ChosenPlayer | Secondary$ True
Oracle:At the beginning of combat on your turn, choose an opponent at random. Ruhan of the Fomori attacks that player this combat if able. Oracle:At the beginning of combat on your turn, choose an opponent at random. Ruhan of the Fomori attacks that player this combat if able.

View File

@@ -6,7 +6,8 @@ K:Flying
K:Haste K:Haste
T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigChoose | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, choose an opponent at random that Territorial Hellkite didn't attack during your last combat. CARDNAME attacks that player this combat if able. If you can't choose an opponent this way, tap CARDNAME. T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigChoose | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, choose an opponent at random that Territorial Hellkite didn't attack during your last combat. CARDNAME attacks that player this combat if able. If you can't choose an opponent this way, tap CARDNAME.
SVar:TrigChoose:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent+IsNotRemembered | Random$ True | ChooseSubAbility$ DBPump | CantChooseSubAbility$ DBTap SVar:TrigChoose:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent+IsNotRemembered | Random$ True | ChooseSubAbility$ DBPump | CantChooseSubAbility$ DBTap
SVar:DBPump:DB$ Pump | Defined$ Self | KW$ HIDDEN CARDNAME attacks specific player each combat if able:ChosenPlayer | Duration$ UntilEndOfCombat SVar:DBPump:DB$ Animate | Defined$ Self | staticAbilities$ AttackChosen | Duration$ UntilEndOfCombat
SVar:AttackChosen:Mode$ MustAttack | Affected$ Card.Self | MustAttack$ ChosenPlayer | Secondary$ True
SVar:DBTap:DB$ Tap | Defined$ Self | SubAbility$ DBCleanup SVar:DBTap:DB$ Tap | Defined$ Self | SubAbility$ DBCleanup
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigClearRem | Static$ True T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigClearRem | Static$ True
SVar:TrigClearRem:DB$ Cleanup | ClearRemembered$ True | SubAbility$ TrigRemember SVar:TrigClearRem:DB$ Cleanup | ClearRemembered$ True | SubAbility$ TrigRemember

View File

@@ -3,7 +3,9 @@ ManaCost:no cost
Types:Scheme Types:Scheme
T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ TrigControl | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, for each opponent, put up to one target creature card from that player's graveyard onto the battlefield under your control. Each of those creatures attacks its owner each combat if able. T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ TrigControl | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, for each opponent, put up to one target creature card from that player's graveyard onto the battlefield under your control. Each of those creatures attacks its owner each combat if able.
SVar:TrigControl:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | ValidTgts$ Creature.OppCtrl | TgtZone$ Graveyard | TgtPrompt$ Choose target creature card in each opponent's graveyard | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | RememberChanged$ True | SubAbility$ DBPump SVar:TrigControl:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | ValidTgts$ Creature.OppCtrl | TgtZone$ Graveyard | TgtPrompt$ Choose target creature card in each opponent's graveyard | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | RememberChanged$ True | SubAbility$ DBPump
SVar:DBPump:DB$ PumpAll | ValidCards$ Card.IsRemembered | KW$ HIDDEN CARDNAME attacks specific player each combat if able:CardOwner | Duration$ UntilLoseControlOfHost | SubAbility$ DBCleanup SVar:DBEffect:DB$ Effect | RememberObjects$ Remembered | StaticAbilities$ AddAttackStatic | ForgetOnMoved$ Battlefield | Duration$ UntilLoseControlOfHost | SubAbility$ DBCleanup
SVar:AddAttackStatic:Continuous | Affected$ Card.IsRemembered | AddStaticAbility$ AttackOwner | Description$ Each of those creatures attacks its owner each combat if able.
SVar:AttackOwner:Mode$ MustAttack | Affected$ Card.Self | MustAttack$ CardOwner | Description$ This permanent attacks its owner each turn if able.
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:OneEach:PlayerCountOpponents$Amount SVar:OneEach:PlayerCountOpponents$Amount
Oracle:When you set this scheme in motion, for each opponent, put up to one target creature card from that player's graveyard onto the battlefield under your control. Each of those creatures attacks its owner each combat if able. Oracle:When you set this scheme in motion, for each opponent, put up to one target creature card from that player's graveyard onto the battlefield under your control. Each of those creatures attacks its owner each combat if able.

View File

@@ -3,5 +3,5 @@ ManaCost:no cost
Types:Creature Zombie Types:Creature Zombie
Colors:black Colors:black
PT:2/2 PT:2/2
K:CARDNAME attacks specific player each combat if able:Remembered S:Mode$ MustAttack | Affected$ Card.Self | MustAttack$ Remembered | Description$ This creature attacks its designated player each combat if able.
Oracle:This creature attacks its designated player each combat if able. Oracle:This creature attacks its designated player each combat if able.

View File

@@ -3,5 +3,5 @@ ManaCost:no cost
Types:Creature Horror Types:Creature Horror
Colors:black Colors:black
PT:3/3 PT:3/3
K:CARDNAME attacks specific player each combat if able:Remembered S:Mode$ MustAttack | Affected$ Card.Self | MustAttack$ Remembered | Description$ This creature attacks its designated player each combat if able.
Oracle:This creature attacks the designated player each combat if able. Oracle:This creature attacks the designated player each combat if able.