- [XLN] Added Revel in Riches, Sleek Schooner, Treasure Map // Treasure Cove.

- Added Picture SVars to card in Upcoming.
- Fixed Emperor's Vanguard (should work well enough until Hanmac finishes the code for Explore as a separate effect).
This commit is contained in:
Agetian
2017-08-29 05:46:08 +00:00
parent b6107f79dd
commit 1a93e8f331
17 changed files with 69 additions and 6 deletions

3
.gitattributes vendored
View File

@@ -17218,7 +17218,10 @@ forge-gui/res/cardsfolder/upcoming/goring_ceratops.txt -text
forge-gui/res/cardsfolder/upcoming/jace_cunning_castaway.txt -text
forge-gui/res/cardsfolder/upcoming/kinjallis_sunwing.txt -text
forge-gui/res/cardsfolder/upcoming/priest_of_the_wakening_sun.txt -text
forge-gui/res/cardsfolder/upcoming/revel_in_riches.txt -text
forge-gui/res/cardsfolder/upcoming/ripjaw_raptor.txt -text
forge-gui/res/cardsfolder/upcoming/sleek_schooner.txt -text
forge-gui/res/cardsfolder/upcoming/treasure_map_treasure_cove.txt -text
forge-gui/res/cardsfolder/upcoming/unclaimed_territory.txt -text
forge-gui/res/cardsfolder/upcoming/verdant_suns_avatar.txt -text
forge-gui/res/cardsfolder/upcoming/walk_the_plank.txt -text

View File

@@ -143,6 +143,8 @@ public enum CounterType {
KI("KI", 190, 189, 255),
LANDMARK("LMARK", 186, 28, 28),
LEVEL("LEVEL", 60, 222, 185),
LORE("LORE", 209, 198, 161),

View File

@@ -6,4 +6,5 @@ S:Mode$ Continuous | Affected$ Creature.Pirate+Other+YouCtrl | AddPower$ 1 | Add
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainCtrl | TriggerDescription$ At the beginning of your end step, gain control of target nonland permanent controlled by a player who was dealt combat damage by three or more Pirates this turn.
SVar:TrigGainCtrl:DB$ GainControl | ValidTgts$ Permanent.nonLand+ControlledBy Player.wasDealtCombatDamageThisTurnBy Valid:Creature.Pirate_AtLeast3 | TgtPrompt$ Select target creature controlled by a player who was dealt damage by three or more Pirates this turn | SpellDescription$ Gain control of target nonland permanent controlled by a player who was dealt combat damage by three or more Pirates this turn.
DeckHints:Type$Pirate
SVar:Picture:http://www.wizards.com/global/images/magic/general/admiral_beckett_brass.jpg
Oracle:Other Pirates you control get +1/+1.\nAt the beginning of your end step, gain control of target nonland permanent controlled by a player who was dealt combat damage by three or more Pirates this turn.

View File

@@ -5,4 +5,5 @@ PT:6/6
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DamageAndMoreDamage | TriggerDescription$ Whenever CARDNAME enters the battlefield, it deals 3 damage to target opponent and 3 damage to up to one target creature.
SVar:DamageAndMoreDamage:DB$ DealDamage | ValidTgts$ Opponent | NumDmg$ 3 | SubAbility$ MoreDamage
SVar:MoreDamage:DB$ DealDamage | ValidTgts$ Creature | NumDmg$ 3 | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target creature.
SVar:Picture:http://www.wizards.com/global/images/magic/general/burning_suns_avatar.jpg
Oracle:{R}: When Burning Sun's Avatar enters the battlefield, it deals 3 damage to target opponent and 3 damage to up to one target creature.

View File

@@ -5,4 +5,5 @@ PT:7/6
K:CARDNAME can't be countered.
K:Trample
K:Hexproof
SVar:Picture:http://www.wizards.com/global/images/magic/general/carnage_tyrant.jpg
Oracle:Carnage Tyrant can't be countered.\nTrample, hexproof

View File

@@ -2,10 +2,11 @@ Name:Emperor's Vanguard
ManaCost:3 G
Types:Creature Human Scout
PT:4/3
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDig | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard.)
# TODO: implement the "...or into your graveyard" clause for Explore.
# TODO: Explore will be rewritten as a separate effect by Hanmac. The followup script code will then become obsolete.
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDig | TriggerZones$ Battlefield | TriggerController$ TriggeredSourceController | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard.)
SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard.
SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter
SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup
SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption
SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
Oracle:Whenever Emperor's Vanguard deals combat damage to a player, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard.)

View File

@@ -9,4 +9,5 @@ T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage
SVar:DBDig:DB$ Dig | Defined$ You | DigNum$ X | Reveal$ True | ChangeValid$ Creature.Dinosaur | AnyNumber$ True | DestinationZone$ Battlefield | DestinationZone2$ Library | LibraryPosition2$ -1 | RestRandomOrder$ True | RememberChanged$ True | AbilityDescription$ Whenever CARDNAME deals combat damage to a player, reveal that many cards from the top of your library. Put any number of Dinosaur creature cards from among them onto the battlefield and the rest on the bottom of your library in a random order.
SVar:X:TriggerCount$DamageAmount
DeckHints:Type$Dinosaur
SVar:Picture:http://www.wizards.com/global/images/magic/general/gishath_suns_avatar.jpg
Oracle:Trample, vigilance, haste\nWhenever Gishath, Sun's Avatar deals combat damage to a player, reveal that many cards from the top of your library. Put any number of Dinosaur creature cards from among them onto the battlefield and the rest on the bottom of your library in a random order.

View File

@@ -5,4 +5,5 @@ PT:3/3
K:Double Strike
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, other creatures you control gain double strike until end of turn.
SVar:TrigPump:DB$PumpAll | ValidCards$ Creature.YouCtrl+Other | KW$ Double Strike
SVar:Picture:http://www.wizards.com/global/images/magic/general/goring_ceratops.jpg
Oracle:Double strike\nWhenever Goring Ceratops attacks, other creatures you control gain double strike until end of turn.

View File

@@ -4,4 +4,5 @@ Types:Creature Dinosaur
PT:2/3
K:Flying
S:Mode$ ETBTapped | ValidCard$ Creature.OppCtrl | Description$ Creatures your opponents control enter the battlefield tapped.
SVar:Picture:http://www.wizards.com/global/images/magic/general/kinjallis_sunwing.jpg
Oracle:Creatures your opponents control enter the battlefield tapped.

View File

@@ -5,4 +5,5 @@ PT:1/1
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ ABGainLife | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may reveal a Dinosaur card from your hand. If you do, you gain 2 life.
SVar:ABGainLife:AB$ GainLife | Cost$ Reveal<1/Creature.Dinosaur> | LifeAmount$ 2 | SpellDescription$ You gain 2 life.
A:AB$ ChangeZone | Cost$ 3 W W Sac<1/CARDNAME> | Origin$ Library | Destination$ Hand | ChangeType$ Creature.Dinosaur | ChangeNum$ 1 | SpellDescription$ Search your library for a Dinosaur card, reveal it, put it into your hand, then shuffle your library.
SVar:Picture:http://www.wizards.com/global/images/magic/general/priest_of_the_wakening_sun.jpg
Oracle:At the beginning of your upkeep, you may reveal a Dinosaur card from your hand. If you do, you gain 2 life.\n{3}{W}{W}, sacrifice Priest of the Wakening Sun: Search your library for a Dinosaur card, reveal it, put it into your hand, then shuffle your library.

View File

@@ -0,0 +1,11 @@
Name:Revel in Riches
ManaCost:4 B
Types:Enchantment
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.OppCtrl | TriggerZones$ Battlefield | Execute$ DBTreasure | OptionalDecider$ You | TriggerDescription$ Whenever a creature an opponent controls dies, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
# TODO: how many Treasure tokens are there? (with different art)
SVar:DBTreasure:DB$ Token | TokenAmount$ 1 | TokenName$ Treasure | TokenTypes$ Artifact,Treasure | TokenOwner$ You | TokenColors$ Colorless | TokenImage$ c treasure | TokenAbilities$ ABTreasureMana | TokenAltImages$ c_treasure2,c_treasure3,c_treasure4,c_treasure5,c_treasure6 | SpellDescription$ Create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
SVar:ABTreasureMana:AB$ Mana | Cost$ T Sac<1/CARDNAME> | Produced$ Any | Amount$ 1 | SpellDescription$ Add one mana of any color to your mana pool.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | PresentCompare$ GE10 | IsPresent$ Treasure.YouCtrl | Execute$ TrigWinsGame | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, if you control ten or more Treasures, you win the game.
SVar:TrigWinsGame:DB$WinsGame | Defined$ You
SVar:Picture:http://www.wizards.com/global/images/magic/general/revel_in_riches.jpg
Oracle:Whenever a creature an opponent controls dies, create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."\nAt the beginning of your upkeep, if you control ten or more Treasures, you win the game.

View File

@@ -5,4 +5,5 @@ PT:4/5
T:Mode$ DamageDone | Execute$ TrigDraw | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage — Whenever CARDNAME is dealt damage, draw a card.
SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1
SVar:HasCombatEffect:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/ripjaw_raptor.jpg
Oracle:Enrage — Whenever Ripjaw Raptor is dealt damage, draw a card.

View File

@@ -0,0 +1,7 @@
Name:Sleek Schooner
ManaCost:3
Types:Artifact Vehicle
PT:4/3
K:Crew:1
SVar:Picture:http://www.wizards.com/global/images/magic/general/sleek_schooner.jpg
Oracle:Crew 1 (Tap any number of creatures you control with total power 1 or more: This Vehicle becomes an artifact creature until end of turn.)

View File

@@ -0,0 +1,28 @@
Name:Treasure Map
ManaCost:2
Types:Artifact
A:AB$ Scry | Cost$ 1 T | ScryNum$ 1 | SubAbility$ DBLandmark
SVar:DBLandmark:DB$ PutCounter | Defined$ Self | CounterType$ LANDMARK | CounterNum$ 1 | SubAbility$ DBStoreSVar
SVar:DBStoreSVar:DB$ StoreSVar | SVar$ FoundTreasure | Type$ Number | Expression$ 1 | ConditionCheckSVar$ XMarksTheSpot | ConditionSVarCompare$ GE1 | References$ XMarksTheSpot,FoundTreasure | SubAbility$ DBRemoveCtrs
SVar:DBRemoveCtrs:DB$ RemoveCounter | Defined$ Self | CounterType$ LANDMARK | CounterNum$ 3 | ConditionCheckSVar$ FoundTreasure | ConditionSVarCompare$ GE1 | References$ FoundTreasure | SubAbility$ DBTreasureTokens
# TODO: How many Treasure tokens are there? (with different art)
SVar:DBTreasureTokens:DB$ Token | TokenAmount$ 3 | TokenName$ Treasure | TokenTypes$ Artifact,Treasure | TokenOwner$ You | TokenColors$ Colorless | TokenImage$ c treasure | TokenAbilities$ ABTreasureMana | TokenAltImages$ c_treasure2,c_treasure3,c_treasure4,c_treasure5,c_treasure6 | ConditionCheckSVar$ FoundTreasure | ConditionSVarCompare$ GE1 | SubAbility$ DBTransform | References$ FoundTreasure | SpellDescription$ Create a colorless Treasure artifact token with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform | ConditionCheckSVar$ FoundTreasure | ConditionSVarCompare$ GE1 | References$ FoundTreasure
SVar:ABTreasureMana:AB$ Mana | Cost$ T Sac<1/CARDNAME> | Produced$ Any | Amount$ 1 | SpellDescription$ Add one mana of any color to your mana pool.
SVar:XMarksTheSpot:Count$Valid Card.Self+counters_GE3_LANDMARK
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | Execute$ DBInitSVar | Static$ True
SVar:DBInitSVar:DB$ StoreSVar | SVar$ FoundTreasure | Type$ Number | Expression$ 0 | References$ FoundTreasure
SVar:FoundTreasure:Number$0
AlternateMode:DoubleFaced
SVar:Picture:http://www.wizards.com/global/images/magic/general/treasure_map.jpg
Oracle:{1}, {T}: Scry 1. Put a landmark counter on Treasure Map. Then if there are three or more landmark counters on it, remove those counters, transform Treasure Map, and create three colorless Treasure artifact tokens with "{T}, Sacrifice this artifact: Add one mana of any color to your mana pool."
ALTERNATE
Name:Treasure Cove
ManaCost:no cost
Types:Land
A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C} to your mana pool.
A:AB$ Draw | Cost$ T Sac<1/Treasure> | NumCards$ 1 | SpellDescription$ Draw a card.
SVar:Picture:http://www.wizards.com/global/images/magic/general/treasure_cove.jpg
Oracle:(Transforms from Treasure Map.)\n{T}: Add {C} to your mana pool.\n{T}, Sacrifice a Treasure: Draw a card.

View File

@@ -5,4 +5,5 @@ K:ETBReplacement:Other:ChooseCT
SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. | AILogic$ MostProminentInComputerDeck
A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C} to your mana pool.
A:AB$ Mana | Cost$ T | Produced$ Any | RestrictValid$ Creature.ChosenType | SpellDescription$ Add one mana of any color to your mana pool. Spend this mana only to cast a creature spell of the chosen type.
SVar:Picture:http://www.wizards.com/global/images/magic/general/unclaimed_territory.jpg
Oracle:As Unclaimed Territory enters the battlefield, choose a creature type. \n{T}: Add {C} to your mana pool.\n{T}: Add one mana of any color to your mana pool. Spend this mana only to cast a creature spell of the chosen type.

View File

@@ -6,4 +6,5 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl+Other | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ CARDNAME or another creature enters the battlefield under your control, you gain life equal to that creature's toughness.
SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ Life | References$ Life
SVar:Life:TriggeredCard$CardToughness
SVar:Picture:http://www.wizards.com/global/images/magic/general/verdant_suns_avatar.jpg
Oracle:Whenever Verdant Sun's Avatar or another creature enters the battlefield under your control, you gain life equal to that creature's toughness.

View File

@@ -19,5 +19,6 @@ Mechanized Production|The Rise of Replicas|Welcome to the future of mass product
Mortal Combat|The Boneyard|So peaceful...
Near-Death Experience|The Edge|Phew... I thought I was going to die!
Phage the Untouchable|The Untouchable|None are immune to her deadly touch!
Revel in Riches|The Dead Man's Chest|Yo-ho-ho, and a bottle of rum!
Test of Endurance|The Test|So... did I pass?
Triskaidekaphobia|The Fear of 13|It's just a silly ancient superstition... right?