Fix primo the Indivisible token

This commit is contained in:
Paul Hammerton
2024-10-08 09:14:39 +01:00
parent e771ca43d8
commit 93d381a7ee
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ ManaCost:1 G U
Types:Legendary Creature Human Wizard Types:Legendary Creature Human Wizard
PT:1/1 PT:1/1
T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigToken | CheckSVar$ X | TriggerDescription$ At the beginning of your end step, if a land entered the battlefield under your control this turn and you control a prime number of lands, create Primo, the Indivisible, a legendary 0/0 green and blue Fractal creature token, then put that many +1/+1 counters on it. (2, 3, 5, 7, 11, 13, 17, 19, 23, 29, and 31 are prime numbers.) T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigToken | CheckSVar$ X | TriggerDescription$ At the beginning of your end step, if a land entered the battlefield under your control this turn and you control a prime number of lands, create Primo, the Indivisible, a legendary 0/0 green and blue Fractal creature token, then put that many +1/+1 counters on it. (2, 3, 5, 7, 11, 13, 17, 19, 23, 29, and 31 are prime numbers.)
SVar:TrigToken:DB$ Token | TokenScript$ primo_the_invisible | RememberTokens$ True | SubAbility$ DBCounters SVar:TrigToken:DB$ Token | TokenScript$ primo_the_indivisible | RememberTokens$ True | SubAbility$ DBCounters
SVar:DBCounters:DB$ PutCounter | Defined$ Remembered | CounterNum$ Y | CounterType$ P1P1 | SubAbility$ DBCleanup SVar:DBCounters:DB$ PutCounter | Defined$ Remembered | CounterNum$ Y | CounterType$ P1P1 | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:X:Count$IsPrime Y.Z.0 SVar:X:Count$IsPrime Y.Z.0

View File

@@ -1,4 +1,4 @@
Name:Primo, the Invisible Name:Primo, the Indivisible
ManaCost:no cost ManaCost:no cost
Colors:green, blue Colors:green, blue
Types:Legendary Creature Fractal Types:Legendary Creature Fractal