- Added Arguel's Blood Fast / Temple of Aclazotz, Chart a Course, Commune with Dinosaurs, Fell Flagship, Grazing Whiptail, Growing Rites of Itlimoc / Itlimoc, Cradle of the Sun, Otepec Huntmaster, Skittering Heartstopper, Thundering Spineback.

- Temporary implementation of an Explores trigger linked to AB Dig (until AB Explore is implemented).
This commit is contained in:
Agetian
2017-09-08 04:41:35 +00:00
parent 3e4b5830be
commit 3ae7fe7f04
14 changed files with 124 additions and 10 deletions

11
.gitattributes vendored
View File

@@ -17213,6 +17213,7 @@ forge-gui/res/cardsfolder/u/uyo_silent_prophet.txt svneol=native#text/plain
forge-gui/res/cardsfolder/upcoming/admiral_beckett_brass.txt -text
forge-gui/res/cardsfolder/upcoming/angraths_marauders.txt -text
forge-gui/res/cardsfolder/upcoming/arcane_adaptation.txt -text
forge-gui/res/cardsfolder/upcoming/arguels_blood_fast_temple_of_aclazotz.txt -text
forge-gui/res/cardsfolder/upcoming/ashes_of_the_abhorrent.txt -text
forge-gui/res/cardsfolder/upcoming/belligerent_brontodon.txt -text
forge-gui/res/cardsfolder/upcoming/bellowing_aegisaur.txt -text
@@ -17224,6 +17225,8 @@ forge-gui/res/cardsfolder/upcoming/call_to_the_feast.txt -text
forge-gui/res/cardsfolder/upcoming/captain_lannery_storm.txt -text
forge-gui/res/cardsfolder/upcoming/carnage_tyrant.txt -text
forge-gui/res/cardsfolder/upcoming/castaways_despair.txt -text
forge-gui/res/cardsfolder/upcoming/chart_a_course.txt -text
forge-gui/res/cardsfolder/upcoming/commune_with_dinosaurs.txt -text
forge-gui/res/cardsfolder/upcoming/conquerors_galleon_conquerors_foothold.txt -text
forge-gui/res/cardsfolder/upcoming/daring_saboteur.txt -text
forge-gui/res/cardsfolder/upcoming/deadeye_plunderers.txt -text
@@ -17240,9 +17243,12 @@ forge-gui/res/cardsfolder/upcoming/duskborne_skymarcher.txt -text
forge-gui/res/cardsfolder/upcoming/emperors_vanguard.txt -text
forge-gui/res/cardsfolder/upcoming/entrancing_melody.txt -text
forge-gui/res/cardsfolder/upcoming/fathom_fleet_captain.txt -text
forge-gui/res/cardsfolder/upcoming/fell_flagship.txt -text
forge-gui/res/cardsfolder/upcoming/gishath_suns_avatar.txt -text
forge-gui/res/cardsfolder/upcoming/goring_ceratops.txt -text
forge-gui/res/cardsfolder/upcoming/grasping_current.txt -text
forge-gui/res/cardsfolder/upcoming/grazing_whiptail.txt -text
forge-gui/res/cardsfolder/upcoming/growing_rites_of_itlimoc_itlimoc_cradle_of_the_sun.txt -text
forge-gui/res/cardsfolder/upcoming/headwater_sentries.txt -text
forge-gui/res/cardsfolder/upcoming/herald_of_secret_streams.txt -text
forge-gui/res/cardsfolder/upcoming/hostage_taker.txt -text
@@ -17261,6 +17267,7 @@ forge-gui/res/cardsfolder/upcoming/kumenas_speaker.txt -text
forge-gui/res/cardsfolder/upcoming/marauding_looter.txt -text
forge-gui/res/cardsfolder/upcoming/mavren_fein_dusk_apostle.txt -text
forge-gui/res/cardsfolder/upcoming/old_growth_dryads.txt -text
forge-gui/res/cardsfolder/upcoming/otepec_huntmaster.txt -text
forge-gui/res/cardsfolder/upcoming/overflowing_insight.txt -text
forge-gui/res/cardsfolder/upcoming/pillar_of_origins.txt -text
forge-gui/res/cardsfolder/upcoming/pirates_cutlass.txt -text
@@ -17283,6 +17290,7 @@ forge-gui/res/cardsfolder/upcoming/settle_the_wreckage.txt -text
forge-gui/res/cardsfolder/upcoming/shapers_of_the_nature.txt -text
forge-gui/res/cardsfolder/upcoming/shapers_sanctuary.txt -text
forge-gui/res/cardsfolder/upcoming/siren_stormtamer.txt -text
forge-gui/res/cardsfolder/upcoming/skittering_heartstopper.txt -text
forge-gui/res/cardsfolder/upcoming/sleek_schooner.txt -text
forge-gui/res/cardsfolder/upcoming/sorcerous_spyglass.txt -text
forge-gui/res/cardsfolder/upcoming/star_of_extinction.txt -text
@@ -17292,9 +17300,10 @@ forge-gui/res/cardsfolder/upcoming/sun_blessed_mount.txt -text
forge-gui/res/cardsfolder/upcoming/sun_crowned_hunters.txt -text
forge-gui/res/cardsfolder/upcoming/sunbirds_invocation.txt -text
forge-gui/res/cardsfolder/upcoming/thaumatic_compass_spires_of_orazca.txt -text
forge-gui/res/cardsfolder/upcoming/thundering_spineback.txt -text
forge-gui/res/cardsfolder/upcoming/tilonallis_skinshifter.txt -text
forge-gui/res/cardsfolder/upcoming/tishana_voice_of_thunder.txt -text
forge-gui/res/cardsfolder/upcoming/tishana_wayfarer.txt -text
forge-gui/res/cardsfolder/upcoming/tishanas_wayfinder.txt -text
forge-gui/res/cardsfolder/upcoming/tocatli_honor_guard.txt -text
forge-gui/res/cardsfolder/upcoming/treasure_map_treasure_cove.txt -text
forge-gui/res/cardsfolder/upcoming/unclaimed_territory.txt -text

View File

@@ -1,5 +1,6 @@
package forge.game.ability.effects;
import com.google.common.collect.Maps;
import forge.card.CardStateName;
import forge.game.Game;
import forge.game.ability.AbilityUtils;
@@ -13,16 +14,13 @@ import forge.game.player.Player;
import forge.game.player.PlayerView;
import forge.game.spellability.SpellAbility;
import forge.game.spellability.TargetRestrictions;
import forge.game.trigger.TriggerType;
import forge.game.zone.PlayerZone;
import forge.game.zone.ZoneType;
import forge.util.Lang;
import forge.util.TextUtil;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.*;
public class DigEffect extends SpellAbilityEffect {
@@ -168,6 +166,14 @@ public class DigEffect extends SpellAbilityEffect {
}
}
if (noMove && sa.hasParam("Explore")) {
// TODO: until Explore is written as a separate effect, this param can be used to emulate "X Explores"
// by firing the relevant trigger. Once Explores is a separate effect, this code can be removed.
final Map<String, Object> runParams = Maps.newHashMap();
runParams.put("Explorer", sa.getHostCard());
game.getTriggerHandler().runTrigger(TriggerType.Explores, runParams, false);
}
if (!noMove) {
CardCollection movedCards;
CardCollection andOrCards;

View File

@@ -0,0 +1,21 @@
Name:Arguel's Blood Fast
ManaCost:1 B
Types:Legendary Enchantment
A:AB$ Draw | Cost$ 1 B PayLife<2> | NumCards$ 1 | SpellDescription$ Draw a card.
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ DBTransform | LifeTotal$ You | LifeAmount$ LE5 | TriggerDescription$ At the beginning of your upkeep, if you have 5 or less life, you may transform CARDNAME.
SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform
AlternateMode:DoubleFaced
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/arguels_blood_fast.jpg
Oracle:{1}{B}, Pay 2 life: Draw a card.\nAt the beginning of your upkeep, if you have 5 or less life, you may transform Arguel's Blood Fast.
ALTERNATE
Name:Temple of Aclazotz
ManaCost:no cost
Types:Legendary Land
A:AB$ Mana | Cost$ T | Produced$ B | Amount$ 1 | SpellDescription$ Add {B} to your mana pool.
A:AB$ GainLife | Cost$ T Sac<1/Creature> | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the sacrificed creature's toughness.
SVar:X:Sacrificed$CardToughness
SVar:Picture:http://www.wizards.com/global/images/magic/general/itlimoc_cradle_of_the_sun.jpg
Oracle:(Transforms from Arguel's Blood Fast.)\n{T}: Add {B} to your mana pool.\n{T}, Sacrifice a creature: You gain life equal to the sacrificed creature's toughness.

View File

@@ -0,0 +1,8 @@
Name:Chart a Course
ManaCost:1 U
Types:Sorcery
A:SP$ Draw | Cost$ 1 U | NumCards$ 2 | SubAbility$ DBDiscard | SpellDescription$ Draw two cards. Then discard a card unless you attacked with a creature this turn.
SVar:DBDiscard:DB$ Discard | NumCards$ 1 | Mode$ TgtChoose | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ EQ0 | References$ RaidTest
SVar:RaidTest:Count$AttackersDeclared
SVar:Picture:http://www.wizards.com/global/images/magic/general/chart_a_course.jpg
Oracle:Draw two cards. Then discard a card unless you attacked with a creature this turn.

View File

@@ -0,0 +1,6 @@
Name:Commune with Dinosaurs
ManaCost:1 G
Types:Sorcery
A:SP$ Dig | Cost$ 1 G | DigNum$ 5 | ChangeNum$ 1 | ChangeValid$ Creature.Dinosaur,Land | Optional$ True | SpellDescription$ Look at the top five cards of your library. You may reveal a Dinosaur or land card from among them and put it into your hand. Put the rest on the bottom of your library in any order.
SVar:Picture:http://www.wizards.com/global/images/magic/general/commune_with_dinosaurs.jpg
Oracle:Look at the top five cards of your library. You may reveal a Dinosaur or land card from among them and put it into your hand. Put the rest on the bottom of your library in any order.

View File

@@ -4,7 +4,7 @@ Types:Creature Human Pirate
PT:1/1
# TODO: Explore will be rewritten as a separate effect by Hanmac. The followup script code will then become obsolete.
A:AB$ ChangeZone | Cost$ 1 B T | TargetMin$ 2 | TargetMax$ 2 | Origin$ Graveyard | Destination$ Exile | Choose target card in a opponent's graveyard | ValidTgts$ Card.OppOwn | SubAbility$ TrigDig | TriggerController$ TriggeredSourceController | TriggerDescription$ Exile two target cards from an opponent's graveyard. Deadeye Tracker 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:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ 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$ 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

View File

@@ -4,7 +4,7 @@ Types:Creature Human Scout
PT:4/3
# 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:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ 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$ 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

View File

@@ -0,0 +1,11 @@
Name:Fell Flagship
ManaCost:3
Types:Artifact Vehicle
PT:3/3
K:Crew:3
S:Mode$ Continuous | Affected$ Creature.Pirate+YouCtrl | AddPower$ 1 | Description$ Pirates you control get +1/+0.
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ TrigDiscard | CombatDamage$ True | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player discards a card.
SVar:TrigDiscard:DB$ Discard | Defined$ TriggeredTarget | NumCards$ 1 | Mode$ TgtChoose
SVar:PlayMain1:TRUE
SVar:Picture:http://www.wizards.com/global/images/magic/general/fell_flagship.jpg
Oracle:Pirates you control get +1/+0.\nWhenever Fell Flagship deals combat damage to a player, that player discards a card.\nCrew 3 (Tap any number of creatures you control with total power 3 or more: This Vehicle becomes an artifact creature until end of turn.)

View File

@@ -0,0 +1,7 @@
Name:Grazing Whiptail
ManaCost:2 G G
Types:Creature Dinosaur
PT:3/4
K:Reach
SVar:Picture:http://www.wizards.com/global/images/magic/general/grazing_whiptail.jpg
Oracle:Reach

View File

@@ -0,0 +1,22 @@
Name:Growing Rites of Itlimoc
ManaCost:2 G
Types:Legendary Enchantment
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDig | TriggerDescription$ When CARDNAME enters the battlefield, look at the top four cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in any order.
SVar:TrigDig:DB$ Dig | DigNum$ 4 | ChangeNum$ 1 | Optional$ True | ChangeValid$ Creature
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ DBTransform | CheckSVar$ NumCres | SVarCompare$ GE4 | References$ NumCres | TriggerDescription$ At the beginning of your end step, if you control four or more creatures, transform CARDNAME.
SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform
SVar:NumCres:Count$Valid Creature.YouCtrl+inZoneBattlefield
AlternateMode:DoubleFaced
SVar:Picture:http://www.wizards.com/global/images/magic/general/growing_rites_of_itlimoc.jpg
Oracle:When Growing Rites of Itlimoc enters the battlefield, look at the top four cards of your library. You may reveal a creature card from among them and put it into your hand. Put the rest on the bottom of your library in any order.\nAt the beginning of your end step, if you control four or more creatures, transform Growing Rites of Itlimoc.
ALTERNATE
Name:Itlimoc, Cradle of the Sun
ManaCost:no cost
Types:Legendary Land
A:AB$ Mana | Cost$ T | Produced$ G | Amount$ 1 | SpellDescription$ Add {G} to your mana pool.
A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | References$ X | SpellDescription$ Add {G} to your mana pool for each creature you control.
SVar:X:Count$Valid Creature.YouCtrl
SVar:Picture:http://www.wizards.com/global/images/magic/general/itlimoc_cradle_of_the_sun.jpg
Oracle:(Transforms from Growing Rites of Itlimoc.)\n{T}: Add {G} to your mana pool.\n{T}: Add {G} to your mana pool for each creature you control.

View File

@@ -0,0 +1,8 @@
Name:Otepec Huntmaster
ManaCost:1 R
Types:Creature Human Shaman
PT:1/2
S:Mode$ ReduceCost | ValidCard$ Card.Dinosaur | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Dinosaur spells you cast cost {1} less to cast.
A:SP$ Pump | Cost$ T | ValidTgts$ Creature.Dinosaur | TgtPrompt$ Select target Dinosaur | KW$ Haste | SpellDescription$ Target Dinosaur gains haste until end of turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/otepec_huntmaster.jpg
Oracle:Dinosaur spells you cast cost {1} less to cast.\n{T}: Target Dinosaur gains haste until end of turn.

View File

@@ -0,0 +1,7 @@
Name:Skittering Heartstopper
ManaCost:B
Types:Creature Insect
PT:1/2
A:AB$ Pump | Cost$ B | Defined$ Self | KW$ Deathtouch | SpellDescription$ CARDNAME gains deathtouch until end of turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/skittering_heartstopper.jpg
Oracle:{B}: Skittering Heartstopper gains deathtouch until end of turn.

View File

@@ -0,0 +1,9 @@
# TODO: confirm the mana costs
Name:Thundering Spineback
ManaCost:5 G G
Types:Creature Dinosaur
PT:5/5
S:Mode$ Continuous | Affected$ Creature.Dinosaur+Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other Dinosaurs you control get +1/+1.
A:AB$ Token | Cost$ 5 G | TokenOwner$ You | TokenName$ Dinosaur | TokenColors$ Green | TokenTypes$ Creature,Dinosaur | TokenPower$ 3 | TokenToughness$ 3 | TokenKeywords$ Trample | TokenImage$ g 3 3 dinosaur | TokenAmount$ 1 | SpellDescription$ Create a 3/3 green Dinosaur creature token with trample.
SVar:Picture:http://www.wizards.com/global/images/magic/general/skittering_heartstopper.jpg
Oracle:Other Dinosaurs you control get +1/+1.\n{5}{G}: Create a 3/3 green Dinosaur creature token with trample.

View File

@@ -1,10 +1,10 @@
Name:Tishana Wayfarer
Name:Tishana's Wayfinder
ManaCost:2 G
Types:Creature Merfolk Scout
PT:2/2
# TODO: Explore will be rewritten as a separate effect by Hanmac. The followup script code will then become obsolete.
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDig | TriggerController$ TriggeredCardController | TriggerDescription$ Whenever CARDNAME enters the battlefield, 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:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | Explore$ 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$ 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