Skip to content

Commit 8975a57

Browse files
authored
Scripts for cards with prepare spells (#10408)
1 parent e8b6139 commit 8975a57

48 files changed

Lines changed: 758 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Name:Abigale, Poet Laureate
2+
ManaCost:1 W B
3+
Types:Legendary Creature Bird Bard
4+
PT:2/3
5+
K:Flying
6+
T:Mode$ SpellCast | ValidCard$ Creature | ValidActivatingPlayer$ You | Execute$ TrigPrepare | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a creature spell, NICKNAME becomes prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
7+
SVar:TrigPrepare:DB$ AlterAttribute | Attributes$ Prepared
8+
AlternateMode:Prepare
9+
Oracle:Flying\nWhenever you cast a creature spell, Abigale becomes prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
10+
11+
ALTERNATE
12+
13+
Name:Heroic Stanza
14+
ManaCost:1 WB
15+
Types:Sorcery
16+
A:SP$ PutCounter | ValidTgts$ Creature | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on target creature.
17+
DeckHas:Ability$Counters
18+
Oracle:Put a +1/+1 counter on target creature.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Name:Adventurous Eater
2+
ManaCost:2 B
3+
Types:Creature Human Warlock
4+
PT:3/2
5+
K:ETBReplacement:Other:DBPrepare
6+
SVar:DBPrepare:DB$ AlterAttribute | Attributes$ Prepared | SpellDescription$ This creature enters prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
7+
AlternateMode:Prepare
8+
Oracle:This creature enters prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
9+
10+
ALTERNATE
11+
12+
Name:Have a Bite
13+
ManaCost:B
14+
Types:Sorcery
15+
A:SP$ PutCounter | ValidTgts$ Creature | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBGainLife | SpellDescription$ Put a +1/+1 counter on target creature. You gain 1 life.
16+
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 1
17+
DeckHas:Ability$Counters
18+
Oracle:Put a +1/+1 counter on target creature. You gain 1 life.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Name:Biblioplex Tomekeeper
2+
ManaCost:4
3+
Types:Artifact Creature Construct
4+
PT:3/4
5+
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigCharm | TriggerDescription$ When CARDNAME enters, ABILITY
6+
SVar:TrigCharm:DB$ Charm | MinCharmNum$ 0 | Choices$ DBPrepare,DBUnprepare
7+
SVar:DBPrepare:DB$ AlterAttribute | ValidTgts$ Creature | Attributes$ Prepared | SpellDescription$ Target creature becomes prepared. (Only creatures with prepare spells can become prepared.)
8+
SVar:DBUnprepare:DB$ AlterAttribute | ValidTgts$ Creature | Attributes$ Prepared | Activate$ False | SpellDescription$ Target creature becomes unprepared.
9+
Oracle:When this creature enters, choose up to one —\n• Target creature becomes prepared. (Only creatures with prepare spells can become prepared.)\n• Target creature becomes unprepared.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Name:Blazing Firesinger
2+
ManaCost:2 R
3+
Types:Creature Dwarf Bard
4+
PT:2/3
5+
K:ETBReplacement:Other:DBPrepare
6+
SVar:DBPrepare:DB$ AlterAttribute | Attributes$ Prepared | SpellDescription$ This creature enters prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
7+
AlternateMode:Prepare
8+
Oracle:This creature enters prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
9+
10+
ALTERNATE
11+
12+
CopyFaceFrom:Seething Song
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Name:Campus Composer
2+
ManaCost:3 U
3+
Types:Creature Merfolk Bard
4+
PT:3/4
5+
K:Ward:2
6+
K:ETBReplacement:Other:DBPrepare
7+
SVar:DBPrepare:DB$ AlterAttribute | Attributes$ Prepared | SpellDescription$ This creature enters prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
8+
AlternateMode:Prepare
9+
Oracle:Ward {2}\nThis creature enters prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
10+
11+
ALTERNATE
12+
13+
Name:Aqueous Aria
14+
ManaCost:4 U
15+
Types:Sorcery
16+
A:SP$ Token | TokenScript$ ur_3_3_elemental_flying | SpellDescription$ Create a 3/3 blue and red Elemental creature token with flying.
17+
DeckHas:Ability$Token
18+
Oracle:Create a 3/3 blue and red Elemental creature token with flying.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Name:Cheerful Osteomancer
2+
ManaCost:3 B
3+
Types:Creature Orc Warlock
4+
PT:4/2
5+
K:ETBReplacement:Other:DBPrepare
6+
SVar:DBPrepare:DB$ AlterAttribute | Attributes$ Prepared | SpellDescription$ This creature enters prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
7+
AlternateMode:Prepare
8+
Oracle:This creature enters prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
9+
10+
ALTERNATE
11+
12+
CopyFaceFrom:Raise Dead
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Name:Defacing Duskmage
2+
ManaCost:W B
3+
Types:Creature Dog Warlock
4+
PT:2/2
5+
K:Deathtouch
6+
T:Mode$ Drawn | ValidPlayer$ Opponent | Number$ 2 | TriggerZones$ Battlefield | Execute$ TrigPrepare | TriggerDescription$ Whenever an opponent draws their second card each turn, this creature becomes prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
7+
SVar:TrigPrepare:DB$ AlterAttribute | Attributes$ Prepared
8+
AlternateMode:Prepare
9+
Oracle:Deathtouch\nWhenever an opponent draws their second card each turn, this creature becomes prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
10+
11+
ALTERNATE
12+
13+
Name:Vandal's Edit
14+
ManaCost:1 W B
15+
Types:Instant
16+
A:SP$ Draw | NumCards$ 2 | SubAbility$ DBLoseLife | SpellDescription$ Draw two cards. Each player loses 2 life.
17+
SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 2 | Defined$ Player
18+
Oracle:Draw two cards. Each player loses 2 life.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Name:Dirgur Focusmage
2+
ManaCost:2 U
3+
Types:Creature Djinn Monk
4+
PT:1/4
5+
S:Mode$ ReduceCost | ValidCard$ Instant,Sorcery | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Instant and sorcery spells you cast cost {1} less to cast.
6+
T:Mode$ SpellCast | ValidCard$ Instant.cmcGE5+wasCastFromYourHandByYou,Sorcery.cmcGE5+wasCastFromYourHandByYou | ValidActivatingPlayer$ You | Execute$ TrigPrepare | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast an instant or sorcery spell with mana value 5 or greater from your hand, this creature becomes prepared.
7+
SVar:TrigPrepare:DB$ AlterAttribute | Attributes$ Prepared
8+
AlternateMode:Prepare
9+
DeckHints:Type$Instant|Sorcery
10+
Oracle:Instant and sorcery spells you cast cost {1} less to cast.\nWhenever you cast an instant or sorcery spell with mana value 5 or greater from your hand, this creature becomes prepared.
11+
12+
ALTERNATE
13+
14+
CopyFaceFrom:Braingeyser
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Name:Eccentric Pestfinder
2+
ManaCost:2 B G
3+
Types:Creature Troll Druid
4+
PT:5/5
5+
K:Trample
6+
T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ X | Execute$ TrigPrepare | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each end step, if you gained life this turn, this creature becomes prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
7+
SVar:TrigPrepare:DB$ AlterAttribute | Attributes$ Prepared
8+
SVar:X:Count$LifeYouGainedThisTurn
9+
AlternateMode:Prepare
10+
Oracle:Trample\nAt the beginning of each end step, if you gained life this turn, this creature becomes prepared. (While it's prepared, you may cast a copy of its spell. Doing so unprepares it.)
11+
12+
ALTERNATE
13+
14+
Name:Turn Stones
15+
ManaCost:B G
16+
Types:Sorcery
17+
A:SP$ Token | TokenAmount$ X | TokenScript$ bg_1_1_pest_lifegain | SpellDescription$ For each opponent, you create a 1/1 black and green Pest creature token with "When this token dies, you gain 1 life."
18+
SVar:X:PlayerCountOpponents$Amount
19+
DeckHas:Ability$Token
20+
Oracle:For each opponent, you create a 1/1 black and green Pest creature token with "When this token dies, you gain 1 life."
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Name:Eiganjo Dynastorian
2+
ManaCost:2 W
3+
Types:Creature Fox Advisor
4+
PT:2/3
5+
K:Vigilance
6+
T:Mode$ AttackersDeclared | Execute$ TrigPrepare | ValidAttackers$ Creature | ValidAttackersAmount$ GE2 | TriggerZones$ Battlefield | AttackingPlayer$ You | TriggerDescription$ Whenever you attack with two or more creatures, this creature becomes prepared. (While it’s prepared, you may cast a copy of its spell. Doing so unprepares it.)
7+
SVar:TrigPrepare:DB$ AlterAttribute | Attributes$ Prepared
8+
AlternateMode:Prepare
9+
SVar:PlayMain1:TRUE
10+
Oracle:Vigilance\nWhenever you attack with two or more creatures, this creature becomes prepared. (While it’s prepared, you may cast a copy of its spell. Doing so unprepares it.)
11+
12+
ALTERNATE
13+
14+
CopyFaceFrom:Replenish

0 commit comments

Comments
 (0)