mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Previous commit left out the actual script for Tetravus and the change to AbilityFactoryCleanup.java
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -8940,6 +8940,7 @@ res/cardsfolder/t/test_of_endurance.txt svneol=native#text/plain
|
||||
res/cardsfolder/t/testament_of_faith.txt svneol=native#text/plain
|
||||
res/cardsfolder/t/tethered_griffin.txt svneol=native#text/plain
|
||||
res/cardsfolder/t/tethered_skirge.txt svneol=native#text/plain
|
||||
res/cardsfolder/t/tetravus.txt -text
|
||||
res/cardsfolder/t/tetsuo_umezawa.txt svneol=native#text/plain
|
||||
res/cardsfolder/t/teysa_orzhov_scion.txt svneol=native#text/plain
|
||||
res/cardsfolder/t/tezzeret_agent_of_bolas.txt svneol=native#text/plain
|
||||
|
||||
20
res/cardsfolder/t/tetravus.txt
Normal file
20
res/cardsfolder/t/tetravus.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
Name:Tetravus
|
||||
ManaCost:6
|
||||
Types:Artifact Creature Construct
|
||||
Text:no text
|
||||
PT:1/1
|
||||
K:etbCounter:P1P1:3
|
||||
K:Flying
|
||||
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your upkeep, you may remove any number of +1/+1 counters from CARDNAME. If you do, put that many 1/1 colorless Tetravite artifact creature tokens onto the battlefield. They each have flying and "This creature can't be enchanted."
|
||||
SVar:TrigToken:AB$Token | Cost$ SubCounter<X/P1P1> | TokenAmount$ ChosenX | TokenName$ Tetravite | TokenTypes$ Artifact,Creature,Tetravite | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ 1 | TokenToughness$ 1 | TokenKeywords$ Flying<>CARDNAME can't be enchanted. | RememberTokens$ True | SubAbility$ DBClearXChoice
|
||||
SVar:DBClearXChoice:DB$ Cleanup | ClearChosenX$ True
|
||||
SVar:X:XChoice
|
||||
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounters | TriggerDescription$ At the beginning of your upkeep, you may exile any number of tokens put onto the battlefield with CARDNAME. If you do, put that many +1/+1 counters on CARDNAME.
|
||||
SVar:TrigPutCounters:AB$PutCounter | Cost$ Exile<Y/Creature.IsRemembered/Tetravite> | Defined$ Self | CounterType$ P1P1 | CounterNum$ ChosenY | CostDesc$ Exile any number of tokens put onto the battlefield with CARDNAME. | SubAbility$ DBClearYChoice
|
||||
SVar:DBClearYChoice:DB$ Cleanup | ClearChosenY$ True
|
||||
SVar:Y:YChoice
|
||||
SVar:Rarity:Rare
|
||||
SetInfo:4ED|Rare|http://magiccards.info/scans/en/4e/368.jpg
|
||||
SetInfo:ATQ|Rare|http://magiccards.info/scans/en/aq/36.jpg
|
||||
Oracle:Flying\nTetravus enters the battlefield with three +1/+1 counters on it.\nAt the beginning of your upkeep, you may remove any number of +1/+1 counters from Tetravus. If you do, put that many 1/1 colorless Tetravite artifact creature tokens onto the battlefield. They each have flying and "This creature can't be enchanted."\nAt the beginning of your upkeep, you may exile any number of tokens put onto the battlefield with Tetravus. If you do, put that many +1/+1 counters on Tetravus.
|
||||
End
|
||||
@@ -95,6 +95,9 @@ public final class AbilityFactoryCleanup {
|
||||
if (params.containsKey("ClearChosenX")) {
|
||||
sa.getSourceCard().setSVar("ChosenX", "");
|
||||
}
|
||||
if (params.containsKey("ClearChosenY")) {
|
||||
sa.getSourceCard().setSVar("ChosenY", "");
|
||||
}
|
||||
if (params.containsKey("ClearTriggered")) {
|
||||
AllZone.getTriggerHandler().clearDelayedTrigger(sa.getSourceCard());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user