Files
forge/forge-gui/res/cardsfolder/f/fraying_omnipotence.txt
2021-03-07 00:39:14 -05:00

11 lines
958 B
Plaintext

Name:Fraying Omnipotence
ManaCost:3 B B
Types:Sorcery
A:SP$ RepeatEach | Cost$ 3 B B | RepeatPlayers$ Player | RepeatSubAbility$ DBLoseLife | AILifeThreshold$ 1 | SpellDescription$ Each player loses half their life, then discards half the cards in their hand, then sacrifices half the creatures they control. Round up each time.
SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ A | Defined$ Player.IsRemembered | SubAbility$ DBDiscard
SVar:DBDiscard:DB$ Discard | NumCards$ C | Defined$ Player.IsRemembered | Mode$ TgtChoose | SubAbility$ DBCreature
SVar:DBCreature:DB$ Sacrifice | SacValid$ Creature | Amount$ E | Defined$ Player.IsRemembered
SVar:A:PlayerCountRemembered$LifeTotal/HalfUp
SVar:C:PlayerCountRemembered$CardsInHand/HalfUp
SVar:E:PlayerCountRemembered$Valid Creature.RememberedPlayerCtrl/HalfUp
Oracle:Each player loses half their life, then discards half the cards in their hand, then sacrifices half the creatures they control. Round up each time.