-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MH3 card scripts #4754
MH3 card scripts #4754
Changes from all commits
b2f459b
f188a90
c3cc7a5
3ebacc6
56c38e1
b21e4ea
1a44fc8
8e8c89b
d6ad23f
defa3fe
ccab065
6ef9add
68e8d4b
821e8b7
d845a55
4de9bb1
6300deb
e8b1fc7
60d33fe
ac9e86a
51a8816
892c21c
2628a4f
f949ff8
42b651a
b449f8e
303e67f
7df6460
d640ed1
a15f6a9
6ec0583
94737f6
bd49bad
0e07f28
1322876
e3af130
8f4e55c
cd01082
6c12875
5f79b9f
bad8fad
c513d76
82f89b9
a38a721
944cc84
fe04e36
e0f08bc
a02e709
8a6cc3e
bb7510b
1334782
8d724a9
1724fbe
96f6895
34bfee4
b0fdb21
5aec5c5
a83d5c4
5bd8b92
0d75ffd
f37ef0b
0fe4dcc
84a2a33
cb6979b
a1cd3e3
05809b7
27e854a
c87b399
172959e
9872de4
9340c47
6d5716d
91321db
0d902d1
846b0a0
918bf27
74147d0
50bb3f0
c011200
2a9ef4b
3a81ec4
0c35253
9801149
efaa227
fc29e70
4555e7d
fd476db
ece5157
4ea7a93
91596c0
483d283
ae0f4a0
4875cd1
38a752d
700e0d3
cc1eca0
abb7461
46a86c4
88e605e
5650ae5
86aea83
63a58c4
128d358
3bee080
84cc1f9
835a2f5
bb6634e
ce965d0
365934d
59850f3
1bfb377
57ad6f7
5fc8ee1
9c6be1c
4d2d506
95fe396
76f40a7
c01e4b4
9fe4bae
907b736
1317a27
20be609
40687f6
7eeb9b1
16ef93b
aa5a3c2
c7846bc
010924a
f742cc7
a685fbc
2759bd5
1d19864
0bb0a33
4fcbe61
c5bef43
8134e24
dac58d2
d2a5843
eec9ffe
6aafbed
d14aed1
849f647
46f8ab9
5082e17
55a15f7
b80ee0b
ae41059
1096d47
72d2794
6d196e6
38a3cc2
a163e05
d0e7226
927dbc2
42af89d
2776f96
3090b72
74a5b82
e4e0e04
8967a11
2a42515
9c901cd
3900f04
b896b41
ee8b2a6
3e05dc4
0920953
ae6038d
3eddd20
9b0b78d
48b7084
06298a4
b3ce2c3
0e3353f
db1532d
bf0858e
4733797
0b1b450
a4c5e27
f83fef4
2cede06
309de2c
01b1695
c7283d2
234a4fc
782f2b9
d9481d7
757a8c1
3932611
457973b
18365c6
31e1aaa
4d0aee2
8b0c741
c835f0f
71d59a3
e7de74b
38227df
5ac04b0
71b7448
e480ad5
82ecdb5
7c59fb5
8c73ead
0c26160
3767306
d5ead9c
5c90383
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Name:Ajani, Nacatl Pariah | ||
ManaCost:1 W | ||
Types:Legendary Creature Cat Warrior | ||
PT:1/2 | ||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a 2/1 white Cat Warrior creature token. | ||
SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ w_2_1_cat_warrior | TokenOwner$ You | ||
T:Mode$ ChangesZoneAll | TriggerZones$ Battlefield | ValidCards$ Cat.Other+YouCtrl | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigExile | OptionalDecider$ You | TriggerDescription$ Whenever one or more other Cats you control die, you may exile NICKNAME, then return him to the battlefield transformed under his owner's control. | ||
SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBReturn | ||
SVar:DBReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ Exile | Destination$ Battlefield | Transformed$ True | ForgetOtherRemembered$ True | SubAbility$ DBCleanup | ||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ||
DeckHas:Ability$Token | ||
AlternateMode:DoubleFaced | ||
Oracle:When Ajani, Nacatl Pariah enters the battlefield, create a 2/1 white Cat Warrior creature token.\nWhenever one or more other Cats you control die, you may exile Ajani, then return him to the battlefield transformed under his owner's control. | ||
|
||
ALTERNATE | ||
|
||
Name:Ajani, Nacatl Avenger | ||
ManaCost:no cost | ||
Colors:red,white | ||
Types:Legendary Planeswalker Ajani | ||
Loyalty:3 | ||
A:AB$ PutCounterAll | Cost$ AddCounter<2/LOYALTY> | ValidCards$ Cat.YouCtrl | CounterType$ P1P1 | CounterNum$ 1 | Planeswalker$ True | SpellDescription$ Put a +1/+1 counter on each Cat you control. | ||
A:AB$ Token | Cost$ AddCounter<0/LOYALTY> | TokenAmount$ 1 | TokenScript$ w_2_1_cat_warrior | TokenOwner$ You | RememberTokens$ True | SubAbility$ DBImmediateTrig1 | Planeswalker$ True | SpellDescription$ Create a 2/1 white Cat Warrior creature token. When you do, if you control a red permanent other than CARDNAME, he deals damage equal to the number of creatures you control to any target. | ||
SVar:DBImmediateTrig1:DB$ ImmediateTrigger | ConditionDefined$ Remembered | ConditionPresent$ Card | Execute$ ImmediateTrig2 | SubAbility$ DBCleanup | TriggerDescription$ When you do,... | ||
SVar:ImmediateTrig2:DB$ ImmediateTrigger | ConditionPresent$ Permanent.Red+YouCtrl+Other | Execute$ TrigDamage | TriggerDescription$ When you do, if you control a red permanent other than CARDNAME, he deals damage equal to the number of creatures you control to any target. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this would give you two reflexive triggers There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Much obliged for the pointer :) Done and tested. Unfortunately this pull request even split is one big mess so I'll be starting this one over on a fresh branch. My apologies for that. |
||
SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | ValidTgts$ Any | TgtPrompt$ Select any valid target | SpellDescription$ CARDNAME deals damage equal to the number of creatures you control to any target. | ||
SVar:X:Count$Valid Creature.YouCtrl | ||
A:AB$ RepeatEach | Cost$ SubCounter<4/LOYALTY> | Planeswalker$ True | Ultimate$ True | RepeatPlayers$ Opponent | RepeatSubAbility$ ChooseArtf | SubAbility$ SacAllOthers | SpellDescription$ Each opponent chooses an artifact, a creature, an enchantment, and a planeswalker from among the nonland permanents they control, then sacrifices the rest. | ||
SVar:ChooseArtf:DB$ ChooseCard | Defined$ Remembered | Amount$ 1 | Choices$ Artifact.nonLand+RememberedPlayerCtrl | ChoiceTitle$ Choose an artifact to keep | SubAbility$ ChooseCrtr | RememberChosen$ True | Mandatory$ True | ||
SVar:ChooseCrtr:DB$ ChooseCard | Defined$ Remembered | Amount$ 1 | Choices$ Creature.nonLand+RememberedPlayerCtrl | ChoiceTitle$ Choose a creature to keep | SubAbility$ ChooseEnch | RememberChosen$ True | Mandatory$ True | ||
SVar:ChooseEnch:DB$ ChooseCard | Defined$ Remembered | Amount$ 1 | Choices$ Enchantment.nonLand+RememberedPlayerCtrl | ChoiceTitle$ Choose an enchantment to keep | SubAbility$ ChoosePwkr | RememberChosen$ True | Mandatory$ True | ||
SVar:ChoosePwkr:DB$ ChooseCard | Defined$ Remembered | Amount$ 1 | Choices$ Planeswalker.nonLand+RememberedPlayerCtrl | ChoiceTitle$ Choose a land to keep | RememberChosen$ True | Mandatory$ True | ||
SVar:SacAllOthers:DB$ SacrificeAll | ValidCards$ Permanent.nonLand+OppCtrl+IsNotRemembered | SubAbility$ DBCleanup | ||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ||
Oracle:[+2]: Put a +1/+1 counter on each Cat you control.\n[0]: Create a 2/1 white Cat Warrior creature token. When you do, if you control a red permanent other than Ajani, Nacatl Avenger, he deals damage equal to the number of creatures you control to any target.\n[-4]: Each opponent chooses an artifact, a creature, an enchantment and a planeswalker from among the nonland permanents they control, then sacrifices the rest. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Name:Flare of Cultivation | ||
ManaCost:1 G G | ||
Types:Sorcery | ||
SVar:AltCost:Cost$ Sac<1/Creature.Green+nonToken/a nontoken green creature> | Description$ You may sacrifice a nontoken green creature rather than pay this spell's mana cost. | ||
A:SP$ ChangeZone | Origin$ Library | Destination$ Library | ChangeType$ Land.Basic | ChangeNum$ 2 | RememberChanged$ True | Reveal$ True | Shuffle$ False | StackDescription$ SpellDescription | SubAbility$ DBChangeZone1 | SpellDescription$ Search your library for up to two basic land cards, reveal those cards, put one onto the battlefield tapped and the other into your hand, then shuffle. | ||
SVar:DBChangeZone1:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.IsRemembered | ChangeNum$ 1 | Mandatory$ True | NoLooking$ True | SelectPrompt$ Select a card for the battlefield | Tapped$ True | Shuffle$ False | SubAbility$ DBChangeZone2 | StackDescription$ None | ||
SVar:DBChangeZone2:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Land.IsRemembered | Mandatory$ True | NoLooking$ True | SelectPrompt$ Select a card for your hand | StackDescription$ None | SubAbility$ DBCleanup | ||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ||
Oracle:You may sacrifice a nontoken green creature rather than pay this spell's mana cost.\nSearch your library for up to two basic land cards, reveal those cards, put one onto the battlefield tapped and the other into your hand, then shuffle. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Name:Snow-Covered Wastes | ||
ManaCost:no cost | ||
Types:Basic Snow Land | ||
A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. | ||
DeckHas:Ability$Mana.Colorless | ||
Oracle:{T}: Add {C}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since you're using ForgetOtherRemembered the Cleanup does become redundant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
ForgetOtherRemembered
then as it ostensibly reads as less widely applicable. The card script works fine at least.