From fd44c9745d8eec2c36ec575600aa4dac04f78f5c Mon Sep 17 00:00:00 2001 From: Adam Pantel <> Date: Fri, 26 Feb 2021 23:35:55 -0500 Subject: [PATCH] Remove References$ from scripts --- forge-gui/res/cardsfolder/a/abandon_hope.txt | 2 +- forge-gui/res/cardsfolder/a/abattoir_ghoul.txt | 2 +- forge-gui/res/cardsfolder/a/abhorrent_overlord.txt | 2 +- .../res/cardsfolder/a/abominable_treefolk.txt | 2 +- .../res/cardsfolder/a/abomination_of_llanowar.txt | 2 +- forge-gui/res/cardsfolder/a/abyssal_hunter.txt | 2 +- forge-gui/res/cardsfolder/a/abzan_beastmaster.txt | 2 +- .../res/cardsfolder/a/academy_journeymage.txt | 2 +- .../res/cardsfolder/a/accelerated_mutation.txt | 2 +- .../res/cardsfolder/a/accumulated_knowledge.txt | 2 +- forge-gui/res/cardsfolder/a/acidic_soil.txt | 2 +- forge-gui/res/cardsfolder/a/acolytes_reward.txt | 4 ++-- .../res/cardsfolder/a/acquisitions_expert.txt | 2 +- forge-gui/res/cardsfolder/a/act_of_authority.txt | 2 +- forge-gui/res/cardsfolder/a/ad_nauseam.txt | 2 +- .../res/cardsfolder/a/adamaro_first_to_desire.txt | 2 +- forge-gui/res/cardsfolder/a/adarkar_valkyrie.txt | 2 +- forge-gui/res/cardsfolder/a/admirals_order.txt | 2 +- .../res/cardsfolder/a/advice_from_the_fae.txt | 4 ++-- forge-gui/res/cardsfolder/a/aegis_of_honor.txt | 2 +- forge-gui/res/cardsfolder/a/aeon_chronicler.txt | 2 +- forge-gui/res/cardsfolder/a/aerial_assault.txt | 2 +- forge-gui/res/cardsfolder/a/aerial_formation.txt | 2 +- forge-gui/res/cardsfolder/a/aerie_ouphes.txt | 2 +- forge-gui/res/cardsfolder/a/aether_burst.txt | 2 +- forge-gui/res/cardsfolder/a/aether_mutation.txt | 2 +- forge-gui/res/cardsfolder/a/aether_tide.txt | 2 +- forge-gui/res/cardsfolder/a/aether_vial.txt | 2 +- .../res/cardsfolder/a/aetherflux_reservoir.txt | 2 +- forge-gui/res/cardsfolder/a/aetherplasm.txt | 2 +- forge-gui/res/cardsfolder/a/aetherwind_basker.txt | 2 +- .../a/afflicted_deserter_werewolf_ransacker.txt | 2 +- forge-gui/res/cardsfolder/a/agadeem_occultist.txt | 2 +- .../agadeems_awakening_agadeem_the_undercrypt.txt | 2 +- forge-gui/res/cardsfolder/a/ageless_entity.txt | 2 +- .../res/cardsfolder/a/aggressive_instinct.txt | 2 +- forge-gui/res/cardsfolder/a/agonizing_demise.txt | 2 +- forge-gui/res/cardsfolder/a/airborne_aid.txt | 2 +- forge-gui/res/cardsfolder/a/airdrop_condor.txt | 2 +- .../cardsfolder/a/ajani_caller_of_the_pride.txt | 2 +- forge-gui/res/cardsfolder/a/ajani_steadfast.txt | 2 +- .../cardsfolder/a/ajani_strength_of_the_pride.txt | 4 ++-- forge-gui/res/cardsfolder/a/ajani_unyielding.txt | 2 +- .../res/cardsfolder/a/ajani_valiant_protector.txt | 2 +- .../res/cardsfolder/a/ajani_wise_counselor.txt | 2 +- forge-gui/res/cardsfolder/a/ajanis_presence.txt | 2 +- forge-gui/res/cardsfolder/a/akiri_line_slinger.txt | 2 +- .../a/akki_lavarunner_tok_tok_volcano_born.txt | 2 +- forge-gui/res/cardsfolder/a/akoum_hellkite.txt | 2 +- forge-gui/res/cardsfolder/a/akroan_hoplite.txt | 2 +- forge-gui/res/cardsfolder/a/akromas_will.txt | 2 +- forge-gui/res/cardsfolder/a/akuta_born_of_ash.txt | 2 +- forge-gui/res/cardsfolder/a/alabaster_potion.txt | 4 ++-- forge-gui/res/cardsfolder/a/aladdins_lamp.txt | 2 +- .../res/cardsfolder/a/alena_kessig_trapper.txt | 2 +- forge-gui/res/cardsfolder/a/alert_heedbonder.txt | 2 +- forge-gui/res/cardsfolder/a/alexi_zephyr_mage.txt | 2 +- .../res/cardsfolder/a/alhammarrets_archive.txt | 2 +- forge-gui/res/cardsfolder/a/alive_well.txt | 2 +- forge-gui/res/cardsfolder/a/all_that_glitters.txt | 2 +- forge-gui/res/cardsfolder/a/alliance_of_arms.txt | 6 +++--- forge-gui/res/cardsfolder/a/allied_assault.txt | 2 +- forge-gui/res/cardsfolder/a/allied_strategies.txt | 2 +- forge-gui/res/cardsfolder/a/allosaurus_rider.txt | 2 +- forge-gui/res/cardsfolder/a/alpha_brawl.txt | 4 ++-- forge-gui/res/cardsfolder/a/alpha_status.txt | 2 +- forge-gui/res/cardsfolder/a/alpine_houndmaster.txt | 2 +- ...nd_god_of_the_cosmos_hakka_whispering_raven.txt | 2 +- forge-gui/res/cardsfolder/a/altar_golem.txt | 2 +- forge-gui/res/cardsfolder/a/altar_of_dementia.txt | 2 +- forge-gui/res/cardsfolder/a/altar_of_shadows.txt | 2 +- forge-gui/res/cardsfolder/a/altered_ego.txt | 2 +- forge-gui/res/cardsfolder/a/ambuscade.txt | 2 +- forge-gui/res/cardsfolder/a/ammit_eternal.txt | 2 +- forge-gui/res/cardsfolder/a/amplifire.txt | 2 +- forge-gui/res/cardsfolder/a/an_havva_inn.txt | 2 +- forge-gui/res/cardsfolder/a/ana_battlemage.txt | 2 +- forge-gui/res/cardsfolder/a/ana_sanctuary.txt | 4 ++-- forge-gui/res/cardsfolder/a/anathemancer.txt | 2 +- .../cardsfolder/a/anax_hardened_in_the_forge.txt | 2 +- forge-gui/res/cardsfolder/a/ancestor_dragon.txt | 2 +- forge-gui/res/cardsfolder/a/ancestors_chosen.txt | 2 +- forge-gui/res/cardsfolder/a/ancestral_tribute.txt | 2 +- forge-gui/res/cardsfolder/a/ancient_animus.txt | 2 +- forge-gui/res/cardsfolder/a/ancient_excavation.txt | 4 ++-- forge-gui/res/cardsfolder/a/ancient_ooze.txt | 2 +- forge-gui/res/cardsfolder/a/ancient_runes.txt | 2 +- forge-gui/res/cardsfolder/a/ancient_stone_idol.txt | 2 +- forge-gui/res/cardsfolder/a/angel_of_destiny.txt | 6 +++--- forge-gui/res/cardsfolder/a/angel_of_renewal.txt | 2 +- forge-gui/res/cardsfolder/a/angel_of_vitality.txt | 2 +- forge-gui/res/cardsfolder/a/angelheart_vial.txt | 2 +- forge-gui/res/cardsfolder/a/angelic_captain.txt | 2 +- forge-gui/res/cardsfolder/a/angelic_chorus.txt | 2 +- forge-gui/res/cardsfolder/a/angelic_exaltation.txt | 2 +- forge-gui/res/cardsfolder/a/angels_trumpet.txt | 2 +- .../res/cardsfolder/a/angrath_minotaur_pirate.txt | 2 +- .../cardsfolder/a/angrath_the_flame_chained.txt | 2 +- forge-gui/res/cardsfolder/a/angraths_marauders.txt | 2 +- .../res/cardsfolder/a/animar_soul_of_elements.txt | 2 +- forge-gui/res/cardsfolder/a/animists_awakening.txt | 4 ++-- .../res/cardsfolder/a/anointed_procession.txt | 2 +- .../res/cardsfolder/a/anowon_the_ruin_thief.txt | 2 +- forge-gui/res/cardsfolder/a/antagonism.txt | 2 +- forge-gui/res/cardsfolder/a/anthem_of_rakdos.txt | 2 +- forge-gui/res/cardsfolder/a/anthroplasm.txt | 2 +- forge-gui/res/cardsfolder/a/anticognition.txt | 2 +- forge-gui/res/cardsfolder/a/apathy.txt | 4 ++-- forge-gui/res/cardsfolder/a/apocalypse_demon.txt | 2 +- forge-gui/res/cardsfolder/a/appeal_authority.txt | 2 +- .../res/cardsfolder/a/approach_my_molten_realm.txt | 2 +- .../cardsfolder/a/approach_of_the_second_sun.txt | 2 +- forge-gui/res/cardsfolder/a/arachnogenesis.txt | 2 +- .../res/cardsfolder/a/arahbo_roar_of_the_world.txt | 2 +- .../res/cardsfolder/a/arashi_the_sky_asunder.txt | 4 ++-- .../res/cardsfolder/a/araumi_of_the_dead_tide.txt | 2 +- .../res/cardsfolder/a/arbiter_of_knollridge.txt | 4 ++-- .../a/arcanis_the_omnipotent_avatar.txt | 2 +- forge-gui/res/cardsfolder/a/arcbond.txt | 2 +- forge-gui/res/cardsfolder/a/archangels_light.txt | 2 +- .../res/cardsfolder/a/archfiend_of_despair.txt | 2 +- forge-gui/res/cardsfolder/a/archfiend_of_spite.txt | 2 +- forge-gui/res/cardsfolder/a/archive_trap.txt | 2 +- .../res/cardsfolder/a/archon_of_redemption.txt | 2 +- forge-gui/res/cardsfolder/a/archpriest_of_iona.txt | 2 +- forge-gui/res/cardsfolder/a/archway_angel.txt | 2 +- forge-gui/res/cardsfolder/a/arctic_nishoba.txt | 2 +- forge-gui/res/cardsfolder/a/arcums_whistle.txt | 2 +- .../res/cardsfolder/a/ardent_electromancer.txt | 2 +- forge-gui/res/cardsfolder/a/aretopolis.txt | 4 ++-- .../a/arguels_blood_fast_temple_of_aclazotz.txt | 2 +- forge-gui/res/cardsfolder/a/aria_of_flame.txt | 2 +- .../res/cardsfolder/a/arjun_the_shifting_flame.txt | 2 +- .../a/arlinn_kord_arlinn_embraced_by_the_moon.txt | 2 +- forge-gui/res/cardsfolder/a/armadillo_cloak.txt | 2 +- forge-gui/res/cardsfolder/a/armageddon_clock.txt | 2 +- forge-gui/res/cardsfolder/a/armed_and_armored.txt | 2 +- forge-gui/res/cardsfolder/a/armed_response.txt | 2 +- .../res/cardsfolder/a/armix_filigree_thrasher.txt | 2 +- forge-gui/res/cardsfolder/a/armorcraft_judge.txt | 2 +- forge-gui/res/cardsfolder/a/arni_brokenbrow.txt | 2 +- .../res/cardsfolder/a/arni_slays_the_troll.txt | 2 +- forge-gui/res/cardsfolder/a/arrow_storm.txt | 4 ++-- forge-gui/res/cardsfolder/a/arsenal_thresher.txt | 2 +- forge-gui/res/cardsfolder/a/artifact_mutation.txt | 2 +- .../cardsfolder/a/aryel_knight_of_windgrace.txt | 2 +- .../res/cardsfolder/a/ascent_of_the_worthy.txt | 2 +- .../res/cardsfolder/a/ashaya_soul_of_the_wild.txt | 2 +- forge-gui/res/cardsfolder/a/ashen_skin_zubera.txt | 2 +- .../res/cardsfolder/a/ashiok_nightmare_weaver.txt | 2 +- .../res/cardsfolder/a/ashling_the_pilgrim.txt | 2 +- .../res/cardsfolder/a/asmira_holy_avenger.txt | 2 +- forge-gui/res/cardsfolder/a/aspect_of_hydra.txt | 2 +- .../res/cardsfolder/a/assemble_the_legion.txt | 2 +- forge-gui/res/cardsfolder/a/astral_cornucopia.txt | 2 +- .../res/cardsfolder/a/atalya_samite_master.txt | 4 ++-- .../res/cardsfolder/a/atarka_beastbreaker.txt | 2 +- forge-gui/res/cardsfolder/a/atarka_pummeler.txt | 2 +- forge-gui/res/cardsfolder/a/atemsis_all_seeing.txt | 2 +- .../res/cardsfolder/a/athreos_god_of_passage.txt | 2 +- .../res/cardsfolder/a/athreos_shroud_veiled.txt | 2 +- forge-gui/res/cardsfolder/a/atogatog.txt | 2 +- .../res/cardsfolder/a/attendant_of_vraska.txt | 2 +- forge-gui/res/cardsfolder/a/augury_adept.txt | 2 +- forge-gui/res/cardsfolder/a/aura_mutation.txt | 2 +- forge-gui/res/cardsfolder/a/aurelias_fury.txt | 2 +- forge-gui/res/cardsfolder/a/auriok_bladewarden.txt | 2 +- forge-gui/res/cardsfolder/a/auriok_steelshaper.txt | 2 +- forge-gui/res/cardsfolder/a/aurochs.txt | 2 +- forge-gui/res/cardsfolder/a/aurochs_herd.txt | 2 +- forge-gui/res/cardsfolder/a/auspicious_starrix.txt | 2 +- forge-gui/res/cardsfolder/a/avacyns_judgment.txt | 2 +- forge-gui/res/cardsfolder/a/avalanche.txt | 2 +- forge-gui/res/cardsfolder/a/avatar_of_growth.txt | 2 +- forge-gui/res/cardsfolder/a/aven_gagglemaster.txt | 2 +- forge-gui/res/cardsfolder/a/aven_shrine.txt | 2 +- forge-gui/res/cardsfolder/a/avenger_en_dal.txt | 2 +- .../res/cardsfolder/a/avenger_of_zendikar.txt | 2 +- .../res/cardsfolder/a/awaken_the_erstwhile.txt | 2 +- .../res/cardsfolder/a/awaken_the_sky_tyrant.txt | 2 +- forge-gui/res/cardsfolder/a/awakened_amalgam.txt | 2 +- forge-gui/res/cardsfolder/a/awe_strike.txt | 2 +- forge-gui/res/cardsfolder/a/axebane_guardian.txt | 2 +- .../res/cardsfolder/a/ayli_eternal_pilgrim.txt | 4 ++-- forge-gui/res/cardsfolder/a/aysen_crusader.txt | 2 +- .../res/cardsfolder/a/azor_the_lawbringer.txt | 4 ++-- .../a/azors_gateway_sanctum_of_the_sun.txt | 8 ++++---- forge-gui/res/cardsfolder/b/backfire.txt | 2 +- forge-gui/res/cardsfolder/b/backlash.txt | 2 +- forge-gui/res/cardsfolder/b/bakis_curse.txt | 2 +- forge-gui/res/cardsfolder/b/bala_ged_thief.txt | 2 +- forge-gui/res/cardsfolder/b/balance_of_power.txt | 2 +- forge-gui/res/cardsfolder/b/balduvian_fallen.txt | 2 +- forge-gui/res/cardsfolder/b/balduvian_horde.txt | 2 +- forge-gui/res/cardsfolder/b/balduvian_rage.txt | 2 +- .../res/cardsfolder/b/balduvian_trading_post.txt | 4 ++-- forge-gui/res/cardsfolder/b/balefire_dragon.txt | 2 +- forge-gui/res/cardsfolder/b/baleful_stare.txt | 2 +- forge-gui/res/cardsfolder/b/ballista_squad.txt | 2 +- forge-gui/res/cardsfolder/b/baloth_cage_trap.txt | 2 +- forge-gui/res/cardsfolder/b/band_together.txt | 2 +- forge-gui/res/cardsfolder/b/bane_of_progress.txt | 2 +- forge-gui/res/cardsfolder/b/bane_of_the_living.txt | 2 +- forge-gui/res/cardsfolder/b/banefire.txt | 4 ++-- forge-gui/res/cardsfolder/b/baneful_omen.txt | 2 +- .../res/cardsfolder/b/banewasp_affliction.txt | 2 +- forge-gui/res/cardsfolder/b/banshee.txt | 4 ++-- forge-gui/res/cardsfolder/b/barbed_shocker.txt | 2 +- forge-gui/res/cardsfolder/b/bargaining_table.txt | 2 +- .../res/cardsfolder/b/barrage_of_boulders.txt | 2 +- forge-gui/res/cardsfolder/b/barrage_tyrant.txt | 2 +- .../res/cardsfolder/b/barrel_down_sokenzan.txt | 4 ++-- forge-gui/res/cardsfolder/b/barreling_attack.txt | 2 +- forge-gui/res/cardsfolder/b/barrins_codex.txt | 2 +- forge-gui/res/cardsfolder/b/baru_fist_of_krosa.txt | 2 +- forge-gui/res/cardsfolder/b/basalt_ravager.txt | 2 +- forge-gui/res/cardsfolder/b/basri_ket.txt | 2 +- .../res/cardsfolder/b/battalion_foot_soldier.txt | 2 +- .../res/cardsfolder/b/battle_at_the_bridge.txt | 4 ++-- forge-gui/res/cardsfolder/b/battle_hymn.txt | 2 +- forge-gui/res/cardsfolder/b/battle_squadron.txt | 2 +- forge-gui/res/cardsfolder/b/battlefield_medic.txt | 2 +- .../res/cardsfolder/b/battlefield_thaumaturge.txt | 2 +- forge-gui/res/cardsfolder/b/batwing_brume.txt | 2 +- forge-gui/res/cardsfolder/b/bazaar_of_wonders.txt | 4 ++-- forge-gui/res/cardsfolder/b/beacon_bolt.txt | 2 +- forge-gui/res/cardsfolder/b/beacon_of_creation.txt | 2 +- forge-gui/res/cardsfolder/b/beacon_of_destiny.txt | 2 +- .../res/cardsfolder/b/beacon_of_immortality.txt | 2 +- .../b/beanstalk_giant_fertile_footsteps.txt | 2 +- forge-gui/res/cardsfolder/b/bearded_axe.txt | 2 +- forge-gui/res/cardsfolder/b/beast_of_burden.txt | 2 +- .../res/cardsfolder/b/beastmasters_magemark.txt | 2 +- forge-gui/res/cardsfolder/b/bedlam_reveler.txt | 2 +- forge-gui/res/cardsfolder/b/beguiler_of_wills.txt | 2 +- .../res/cardsfolder/b/belbe_corrupted_observer.txt | 2 +- forge-gui/res/cardsfolder/b/belbes_armor.txt | 2 +- .../cardsfolder/b/bell_borca_spectral_sergeant.txt | 4 ++-- .../res/cardsfolder/b/bellowing_saddlebrute.txt | 2 +- forge-gui/res/cardsfolder/b/belltower_sphinx.txt | 2 +- .../res/cardsfolder/b/ben_ben_akki_hermit.txt | 2 +- forge-gui/res/cardsfolder/b/benalish_commander.txt | 2 +- .../res/cardsfolder/b/benalish_honor_guard.txt | 2 +- .../res/cardsfolder/b/benediction_of_moons.txt | 2 +- .../res/cardsfolder/b/benevolent_offering.txt | 4 ++-- forge-gui/res/cardsfolder/b/benevolent_unicorn.txt | 2 +- forge-gui/res/cardsfolder/b/berg_strider.txt | 2 +- forge-gui/res/cardsfolder/b/berserk.txt | 2 +- forge-gui/res/cardsfolder/b/berserk_murlodont.txt | 2 +- forge-gui/res/cardsfolder/b/beseech_the_queen.txt | 2 +- forge-gui/res/cardsfolder/b/bident_of_thassa.txt | 2 +- forge-gui/res/cardsfolder/b/bind_the_monster.txt | 2 +- forge-gui/res/cardsfolder/b/binding_agony.txt | 2 +- forge-gui/res/cardsfolder/b/bioessence_hydra.txt | 2 +- forge-gui/res/cardsfolder/b/biomantic_mastery.txt | 4 ++-- forge-gui/res/cardsfolder/b/biomass_mutation.txt | 2 +- forge-gui/res/cardsfolder/b/bioplasm.txt | 2 +- forge-gui/res/cardsfolder/b/biorhythm.txt | 2 +- forge-gui/res/cardsfolder/b/birthing_pod.txt | 2 +- forge-gui/res/cardsfolder/b/bishop_of_binding.txt | 2 +- .../cardsfolder/b/bishop_of_the_bloodstained.txt | 2 +- forge-gui/res/cardsfolder/b/bitter_feud.txt | 2 +- forge-gui/res/cardsfolder/b/black_mana_battery.txt | 2 +- forge-gui/res/cardsfolder/b/black_market.txt | 2 +- forge-gui/res/cardsfolder/b/black_suns_zenith.txt | 2 +- forge-gui/res/cardsfolder/b/black_vise.txt | 2 +- .../res/cardsfolder/b/blackblade_reforged.txt | 2 +- forge-gui/res/cardsfolder/b/blackcleave_cliffs.txt | 2 +- .../res/cardsfolder/b/blade_of_the_bloodchief.txt | 2 +- forge-gui/res/cardsfolder/b/blademane_baku.txt | 2 +- forge-gui/res/cardsfolder/b/blasphemous_act.txt | 2 +- forge-gui/res/cardsfolder/b/blast_of_genius.txt | 2 +- forge-gui/res/cardsfolder/b/blast_zone.txt | 4 ++-- forge-gui/res/cardsfolder/b/blatant_thievery.txt | 2 +- forge-gui/res/cardsfolder/b/blaze.txt | 2 +- forge-gui/res/cardsfolder/b/blazing_effigy.txt | 2 +- forge-gui/res/cardsfolder/b/blazing_hope.txt | 2 +- forge-gui/res/cardsfolder/b/blazing_shoal.txt | 2 +- forge-gui/res/cardsfolder/b/blazing_sunsteel.txt | 4 ++-- forge-gui/res/cardsfolder/b/blessed_reversal.txt | 2 +- .../res/cardsfolder/b/blessing_of_belzenlok.txt | 2 +- forge-gui/res/cardsfolder/b/blessing_of_frost.txt | 4 ++-- .../res/cardsfolder/b/blight_breath_catoblepas.txt | 2 +- forge-gui/res/cardsfolder/b/blighted_steppe.txt | 2 +- .../res/cardsfolder/b/blim_comedic_genius.txt | 4 ++-- forge-gui/res/cardsfolder/b/blind_fury.txt | 2 +- forge-gui/res/cardsfolder/b/blinding_flare.txt | 2 +- forge-gui/res/cardsfolder/b/blinkmoth_urn.txt | 2 +- .../cardsfolder/b/blitz_of_the_thunder_raptor.txt | 2 +- forge-gui/res/cardsfolder/b/blood_beckoning.txt | 2 +- forge-gui/res/cardsfolder/b/blood_chin_fanatic.txt | 4 ++-- forge-gui/res/cardsfolder/b/blood_hound.txt | 2 +- forge-gui/res/cardsfolder/b/blood_lust.txt | 2 +- forge-gui/res/cardsfolder/b/blood_oath.txt | 2 +- forge-gui/res/cardsfolder/b/blood_on_the_snow.txt | 2 +- forge-gui/res/cardsfolder/b/blood_tribute.txt | 2 +- forge-gui/res/cardsfolder/b/blood_tyrant.txt | 2 +- forge-gui/res/cardsfolder/b/bloodchiefs_thirst.txt | 4 ++-- .../res/cardsfolder/b/bloodcurdling_scream.txt | 2 +- .../res/cardsfolder/b/bloodfire_enforcers.txt | 2 +- forge-gui/res/cardsfolder/b/bloodfire_infusion.txt | 2 +- .../res/cardsfolder/b/bloodhusk_ritualist.txt | 2 +- forge-gui/res/cardsfolder/b/bloodletter_quill.txt | 2 +- forge-gui/res/cardsfolder/b/bloodshot_cyclops.txt | 2 +- .../res/cardsfolder/b/bloodsoaked_champion.txt | 2 +- forge-gui/res/cardsfolder/b/bloodspore_thrinax.txt | 2 +- forge-gui/res/cardsfolder/b/bloodthirsty_ogre.txt | 2 +- forge-gui/res/cardsfolder/b/bloodtracker.txt | 2 +- forge-gui/res/cardsfolder/b/blooming_marsh.txt | 2 +- forge-gui/res/cardsfolder/b/blossoming_wreath.txt | 2 +- forge-gui/res/cardsfolder/b/blue_mana_battery.txt | 2 +- forge-gui/res/cardsfolder/b/blue_suns_zenith.txt | 2 +- forge-gui/res/cardsfolder/b/blunt_the_assault.txt | 2 +- .../res/cardsfolder/b/bob_bevy_of_beebles.txt | 10 +++++----- forge-gui/res/cardsfolder/b/body_of_knowledge.txt | 4 ++-- forge-gui/res/cardsfolder/b/bog_down.txt | 2 +- forge-gui/res/cardsfolder/b/bold_defense.txt | 2 +- forge-gui/res/cardsfolder/b/bond_of_agony.txt | 2 +- forge-gui/res/cardsfolder/b/bonders_ornament.txt | 2 +- forge-gui/res/cardsfolder/b/bone_harvest.txt | 2 +- forge-gui/res/cardsfolder/b/bone_mask.txt | 2 +- forge-gui/res/cardsfolder/b/boneyard_mycodrax.txt | 2 +- forge-gui/res/cardsfolder/b/boneyard_wurm.txt | 2 +- .../res/cardsfolder/b/bonfire_of_the_damned.txt | 4 ++-- forge-gui/res/cardsfolder/b/booby_trap.txt | 2 +- forge-gui/res/cardsfolder/b/book_devourer.txt | 2 +- forge-gui/res/cardsfolder/b/boon_reflection.txt | 2 +- forge-gui/res/cardsfolder/b/boreal_outrider.txt | 2 +- forge-gui/res/cardsfolder/b/boreas_charger.txt | 2 +- forge-gui/res/cardsfolder/b/boros_fury_shield.txt | 2 +- forge-gui/res/cardsfolder/b/boros_reckoner.txt | 2 +- .../res/cardsfolder/b/borrowing_100000_arrows.txt | 2 +- .../res/cardsfolder/b/borrowing_the_east_wind.txt | 2 +- forge-gui/res/cardsfolder/b/bosh_iron_golem.txt | 2 +- .../res/cardsfolder/b/bosh_iron_golem_avatar.txt | 2 +- forge-gui/res/cardsfolder/b/botanical_sanctum.txt | 2 +- forge-gui/res/cardsfolder/b/bottomless_vault.txt | 2 +- forge-gui/res/cardsfolder/b/bound_determined.txt | 2 +- forge-gui/res/cardsfolder/b/boundless_realms.txt | 2 +- forge-gui/res/cardsfolder/b/bounteous_kirin.txt | 2 +- forge-gui/res/cardsfolder/b/bountiful_harvest.txt | 2 +- .../res/cardsfolder/b/bountiful_promenade.txt | 2 +- forge-gui/res/cardsfolder/b/bounty_of_skemfar.txt | 2 +- forge-gui/res/cardsfolder/b/bounty_of_the_luxa.txt | 6 +++--- forge-gui/res/cardsfolder/b/bow_to_my_command.txt | 6 +++--- forge-gui/res/cardsfolder/b/brago_king_eternal.txt | 2 +- forge-gui/res/cardsfolder/b/brain_in_a_jar.txt | 4 ++-- forge-gui/res/cardsfolder/b/braingeyser.txt | 2 +- .../res/cardsfolder/b/branching_evolution.txt | 2 +- forge-gui/res/cardsfolder/b/brash_taunter.txt | 2 +- forge-gui/res/cardsfolder/b/brasss_bounty.txt | 2 +- forge-gui/res/cardsfolder/b/brawl.txt | 2 +- forge-gui/res/cardsfolder/b/breakthrough.txt | 4 ++-- forge-gui/res/cardsfolder/b/breath_of_darigaaz.txt | 2 +- forge-gui/res/cardsfolder/b/brightflame.txt | 4 ++-- forge-gui/res/cardsfolder/b/brightmare.txt | 2 +- forge-gui/res/cardsfolder/b/brightstone_ritual.txt | 2 +- forge-gui/res/cardsfolder/b/brilliant_spectrum.txt | 2 +- forge-gui/res/cardsfolder/b/brimstone_volley.txt | 2 +- forge-gui/res/cardsfolder/b/brine_giant.txt | 2 +- forge-gui/res/cardsfolder/b/brine_seer.txt | 2 +- forge-gui/res/cardsfolder/b/bring_low.txt | 2 +- forge-gui/res/cardsfolder/b/bring_to_light.txt | 2 +- forge-gui/res/cardsfolder/b/brion_stoutarm.txt | 2 +- forge-gui/res/cardsfolder/b/broken_ambitions.txt | 2 +- forge-gui/res/cardsfolder/b/broken_visage.txt | 2 +- forge-gui/res/cardsfolder/b/bronze_bombshell.txt | 2 +- forge-gui/res/cardsfolder/b/bronze_tablet.txt | 4 ++-- forge-gui/res/cardsfolder/b/brood_birthing.txt | 2 +- forge-gui/res/cardsfolder/b/broodhatch_nantuko.txt | 2 +- forge-gui/res/cardsfolder/b/broodstar.txt | 2 +- .../res/cardsfolder/b/bruvac_the_grandiloquent.txt | 2 +- .../b/budoka_gardener_dokai_weaver_of_life.txt | 2 +- forge-gui/res/cardsfolder/b/builders_bane.txt | 4 ++-- forge-gui/res/cardsfolder/b/bull_aurochs.txt | 2 +- forge-gui/res/cardsfolder/b/bull_elephant.txt | 2 +- forge-gui/res/cardsfolder/b/burden_of_greed.txt | 2 +- forge-gui/res/cardsfolder/b/burn_at_the_stake.txt | 2 +- forge-gui/res/cardsfolder/b/burn_from_within.txt | 2 +- forge-gui/res/cardsfolder/b/burn_the_impure.txt | 2 +- forge-gui/res/cardsfolder/b/burning_anger.txt | 2 +- forge-gui/res/cardsfolder/b/burnout.txt | 2 +- forge-gui/res/cardsfolder/b/burnt_offering.txt | 2 +- forge-gui/res/cardsfolder/b/burst_lightning.txt | 2 +- forge-gui/res/cardsfolder/b/bushmeat_poacher.txt | 2 +- forge-gui/res/cardsfolder/b/by_force.txt | 2 +- forge-gui/res/cardsfolder/c/cabal_coffers.txt | 2 +- forge-gui/res/cardsfolder/c/cabal_conditioning.txt | 2 +- forge-gui/res/cardsfolder/c/cabal_interrogator.txt | 2 +- forge-gui/res/cardsfolder/c/cabal_ritual.txt | 2 +- forge-gui/res/cardsfolder/c/cabal_shrine.txt | 2 +- forge-gui/res/cardsfolder/c/cabal_stronghold.txt | 2 +- forge-gui/res/cardsfolder/c/cackling_flames.txt | 2 +- forge-gui/res/cardsfolder/c/cackling_witch.txt | 2 +- forge-gui/res/cardsfolder/c/caged_zombie.txt | 2 +- forge-gui/res/cardsfolder/c/calamity_bearer.txt | 2 +- forge-gui/res/cardsfolder/c/calciform_pools.txt | 2 +- .../res/cardsfolder/c/calculated_dismissal.txt | 2 +- forge-gui/res/cardsfolder/c/call_for_blood.txt | 2 +- .../res/cardsfolder/c/call_the_coppercoats.txt | 4 ++-- forge-gui/res/cardsfolder/c/caller_of_the_claw.txt | 2 +- forge-gui/res/cardsfolder/c/caller_of_the_hunt.txt | 2 +- .../res/cardsfolder/c/caller_of_the_untamed.txt | 2 +- forge-gui/res/cardsfolder/c/camaraderie.txt | 4 ++-- .../res/cardsfolder/c/candelabra_of_tawnos.txt | 2 +- forge-gui/res/cardsfolder/c/candles_glow.txt | 2 +- forge-gui/res/cardsfolder/c/canker_abomination.txt | 2 +- forge-gui/res/cardsfolder/c/canopy_crawler.txt | 2 +- forge-gui/res/cardsfolder/c/canopy_stalker.txt | 2 +- forge-gui/res/cardsfolder/c/canopy_surge.txt | 2 +- forge-gui/res/cardsfolder/c/canopy_vista.txt | 2 +- forge-gui/res/cardsfolder/c/cantivore.txt | 2 +- .../res/cardsfolder/c/captain_vargus_wrath.txt | 2 +- forge-gui/res/cardsfolder/c/captains_maneuver.txt | 6 +++--- forge-gui/res/cardsfolder/c/caravan_vigil.txt | 4 ++-- .../res/cardsfolder/c/careful_consideration.txt | 2 +- forge-gui/res/cardsfolder/c/carom.txt | 2 +- forge-gui/res/cardsfolder/c/carpet_of_flowers.txt | 2 +- forge-gui/res/cardsfolder/c/carrion.txt | 2 +- forge-gui/res/cardsfolder/c/carrion_grub.txt | 2 +- forge-gui/res/cardsfolder/c/carrion_imp.txt | 2 +- forge-gui/res/cardsfolder/c/cartographers_hawk.txt | 2 +- forge-gui/res/cardsfolder/c/cascade_seer.txt | 2 +- forge-gui/res/cardsfolder/c/castle_locthwain.txt | 2 +- forge-gui/res/cardsfolder/c/catacomb_dragon.txt | 2 +- forge-gui/res/cardsfolder/c/cauldron_haze.txt | 2 +- forge-gui/res/cardsfolder/c/cauldron_of_souls.txt | 2 +- forge-gui/res/cardsfolder/c/cauldrons_gift.txt | 2 +- forge-gui/res/cardsfolder/c/cavalier_of_flame.txt | 4 ++-- .../res/cardsfolder/c/celestial_convergence.txt | 4 ++-- forge-gui/res/cardsfolder/c/celestial_kirin.txt | 2 +- forge-gui/res/cardsfolder/c/celestial_mantle.txt | 2 +- forge-gui/res/cardsfolder/c/cenns_heir.txt | 2 +- forge-gui/res/cardsfolder/c/cephalid_constable.txt | 2 +- forge-gui/res/cardsfolder/c/cephalid_shrine.txt | 2 +- forge-gui/res/cardsfolder/c/cephalid_vandal.txt | 2 +- forge-gui/res/cardsfolder/c/cerebral_eruption.txt | 2 +- forge-gui/res/cardsfolder/c/cerebral_vortex.txt | 2 +- forge-gui/res/cardsfolder/c/ceta_sanctuary.txt | 4 ++-- forge-gui/res/cardsfolder/c/chain_reaction.txt | 2 +- forge-gui/res/cardsfolder/c/chainers_torment.txt | 4 ++-- forge-gui/res/cardsfolder/c/chainweb_aracnir.txt | 2 +- .../c/chalice_of_life_chalice_of_death.txt | 2 +- forge-gui/res/cardsfolder/c/chamber_sentry.txt | 2 +- forge-gui/res/cardsfolder/c/chameleon_colossus.txt | 2 +- forge-gui/res/cardsfolder/c/chameleon_spirit.txt | 2 +- forge-gui/res/cardsfolder/c/champion_of_dusk.txt | 4 ++-- .../res/cardsfolder/c/champion_of_stray_souls.txt | 2 +- .../res/cardsfolder/c/champion_of_the_flame.txt | 2 +- forge-gui/res/cardsfolder/c/champion_of_wits.txt | 2 +- forge-gui/res/cardsfolder/c/chance_for_glory.txt | 2 +- .../res/cardsfolder/c/chancellor_of_the_forge.txt | 2 +- forge-gui/res/cardsfolder/c/chandra_ablaze.txt | 2 +- .../res/cardsfolder/c/chandra_awakened_inferno.txt | 2 +- .../res/cardsfolder/c/chandra_fire_artisan.txt | 2 +- ...ndra_fire_of_kaladesh_chandra_roaring_flame.txt | 4 ++-- .../res/cardsfolder/c/chandra_flamecaller.txt | 4 ++-- .../res/cardsfolder/c/chandra_gremlin_wrangler.txt | 2 +- .../res/cardsfolder/c/chandra_heart_of_fire.txt | 2 +- forge-gui/res/cardsfolder/c/chandra_nalaar.txt | 2 +- forge-gui/res/cardsfolder/c/chandras_ignition.txt | 2 +- .../res/cardsfolder/c/chandras_incinerator.txt | 4 ++-- forge-gui/res/cardsfolder/c/chandras_triumph.txt | 2 +- forge-gui/res/cardsfolder/c/channel_harm.txt | 2 +- forge-gui/res/cardsfolder/c/channeled_force.txt | 4 ++-- .../res/cardsfolder/c/chant_of_vitu_ghazi.txt | 2 +- forge-gui/res/cardsfolder/c/chaos_lord.txt | 2 +- forge-gui/res/cardsfolder/c/chaotic_backlash.txt | 2 +- .../res/cardsfolder/c/charge_across_the_araba.txt | 4 ++-- .../cardsfolder/c/charge_of_the_forever_beast.txt | 2 +- .../res/cardsfolder/c/charging_cinderhorn.txt | 4 ++-- forge-gui/res/cardsfolder/c/charging_tuskodon.txt | 2 +- .../res/cardsfolder/c/charix_the_raging_isle.txt | 2 +- forge-gui/res/cardsfolder/c/chart_a_course.txt | 2 +- forge-gui/res/cardsfolder/c/chasm_skulker.txt | 2 +- forge-gui/res/cardsfolder/c/chastise.txt | 2 +- forge-gui/res/cardsfolder/c/children_of_korlis.txt | 2 +- forge-gui/res/cardsfolder/c/chill_haunting.txt | 2 +- forge-gui/res/cardsfolder/c/chimeric_coils.txt | 2 +- forge-gui/res/cardsfolder/c/chimeric_staff.txt | 2 +- forge-gui/res/cardsfolder/c/chimney_goyf.txt | 2 +- forge-gui/res/cardsfolder/c/chittering_witch.txt | 2 +- .../res/cardsfolder/c/cho_arrim_alchemist.txt | 2 +- .../res/cardsfolder/c/choice_of_damnations.txt | 4 ++-- forge-gui/res/cardsfolder/c/choking_vines.txt | 2 +- forge-gui/res/cardsfolder/c/chord_of_calling.txt | 2 +- forge-gui/res/cardsfolder/c/chorus_of_might.txt | 2 +- forge-gui/res/cardsfolder/c/chromatic_armor.txt | 2 +- forge-gui/res/cardsfolder/c/chromatic_orrery.txt | 2 +- forge-gui/res/cardsfolder/c/chrome_replicator.txt | 2 +- forge-gui/res/cardsfolder/c/chronozoa.txt | 2 +- forge-gui/res/cardsfolder/c/cinder_cloud.txt | 2 +- forge-gui/res/cardsfolder/c/cinder_elemental.txt | 2 +- forge-gui/res/cardsfolder/c/cinder_glade.txt | 2 +- forge-gui/res/cardsfolder/c/cinder_seer.txt | 2 +- forge-gui/res/cardsfolder/c/cinder_shade.txt | 2 +- forge-gui/res/cardsfolder/c/cinderclasm.txt | 2 +- forge-gui/res/cardsfolder/c/circle_of_elders.txt | 2 +- forge-gui/res/cardsfolder/c/circular_logic.txt | 2 +- forge-gui/res/cardsfolder/c/citadel_of_pain.txt | 2 +- forge-gui/res/cardsfolder/c/citanul_flute.txt | 2 +- forge-gui/res/cardsfolder/c/city_of_shadows.txt | 2 +- forge-gui/res/cardsfolder/c/clan_defiance.txt | 6 +++--- forge-gui/res/cardsfolder/c/clash_of_wills.txt | 2 +- forge-gui/res/cardsfolder/c/clear_shot.txt | 2 +- forge-gui/res/cardsfolder/c/clearwater_goblet.txt | 2 +- forge-gui/res/cardsfolder/c/cleaving_reaper.txt | 2 +- .../cardsfolder/c/cleric_of_the_forward_order.txt | 2 +- forge-gui/res/cardsfolder/c/clockwork_avian.txt | 2 +- forge-gui/res/cardsfolder/c/clockwork_beast.txt | 2 +- forge-gui/res/cardsfolder/c/clockwork_hydra.txt | 2 +- forge-gui/res/cardsfolder/c/clockwork_steed.txt | 2 +- forge-gui/res/cardsfolder/c/clockwork_swarm.txt | 2 +- forge-gui/res/cardsfolder/c/cloudhoof_kirin.txt | 2 +- forge-gui/res/cardsfolder/c/cloudpost.txt | 2 +- forge-gui/res/cardsfolder/c/coalhauler_swine.txt | 2 +- forge-gui/res/cardsfolder/c/coalition_relic.txt | 2 +- forge-gui/res/cardsfolder/c/coalition_victory.txt | 2 +- .../res/cardsfolder/c/coastline_marauders.txt | 2 +- forge-gui/res/cardsfolder/c/cobra_trap.txt | 2 +- forge-gui/res/cardsfolder/c/cocoon.txt | 6 +++--- forge-gui/res/cardsfolder/c/coerced_confession.txt | 2 +- forge-gui/res/cardsfolder/c/cognivore.txt | 2 +- forge-gui/res/cardsfolder/c/cold_eyed_selkie.txt | 4 ++-- forge-gui/res/cardsfolder/c/cold_snap.txt | 2 +- .../res/cardsfolder/c/colfenor_the_last_yew.txt | 2 +- forge-gui/res/cardsfolder/c/collapsing_borders.txt | 2 +- .../res/cardsfolder/c/collective_defiance.txt | 2 +- .../res/cardsfolder/c/collective_unconscious.txt | 2 +- forge-gui/res/cardsfolder/c/collective_voyage.txt | 6 +++--- forge-gui/res/cardsfolder/c/colossal_heroics.txt | 2 +- forge-gui/res/cardsfolder/c/combo_attack.txt | 2 +- .../res/cardsfolder/c/combustible_gearhulk.txt | 2 +- forge-gui/res/cardsfolder/c/comet_storm.txt | 2 +- forge-gui/res/cardsfolder/c/comeuppance.txt | 2 +- .../res/cardsfolder/c/command_the_dreadhorde.txt | 4 ++-- forge-gui/res/cardsfolder/c/commando_raid.txt | 2 +- .../res/cardsfolder/c/commence_the_endgame.txt | 2 +- forge-gui/res/cardsfolder/c/common_cause.txt | 2 +- forge-gui/res/cardsfolder/c/commune_with_lava.txt | 2 +- forge-gui/res/cardsfolder/c/compound_fracture.txt | 2 +- .../res/cardsfolder/c/concealed_courtyard.txt | 2 +- forge-gui/res/cardsfolder/c/concerted_defense.txt | 2 +- forge-gui/res/cardsfolder/c/conclave_mentor.txt | 4 ++-- forge-gui/res/cardsfolder/c/conclave_phalanx.txt | 2 +- forge-gui/res/cardsfolder/c/conclaves_blessing.txt | 2 +- forge-gui/res/cardsfolder/c/condemn.txt | 2 +- forge-gui/res/cardsfolder/c/condescend.txt | 2 +- forge-gui/res/cardsfolder/c/confiscation_coup.txt | 2 +- forge-gui/res/cardsfolder/c/conflagrate.txt | 2 +- .../res/cardsfolder/c/confront_the_unknown.txt | 2 +- forge-gui/res/cardsfolder/c/congregate.txt | 2 +- forge-gui/res/cardsfolder/c/conifer_wurm.txt | 2 +- forge-gui/res/cardsfolder/c/conquerors_flail.txt | 2 +- forge-gui/res/cardsfolder/c/conquerors_pledge.txt | 2 +- forge-gui/res/cardsfolder/c/consecrate_consume.txt | 2 +- forge-gui/res/cardsfolder/c/consign_to_dust.txt | 2 +- forge-gui/res/cardsfolder/c/consume_spirit.txt | 4 ++-- forge-gui/res/cardsfolder/c/consuming_ferocity.txt | 2 +- forge-gui/res/cardsfolder/c/consuming_vapors.txt | 2 +- .../res/cardsfolder/c/control_win_condition.txt | 2 +- .../res/cardsfolder/c/coordinated_barrage.txt | 2 +- forge-gui/res/cardsfolder/c/copper_leaf_angel.txt | 2 +- forge-gui/res/cardsfolder/c/copperline_gorge.txt | 2 +- forge-gui/res/cardsfolder/c/corpse_augur.txt | 4 ++-- forge-gui/res/cardsfolder/c/corpse_lunge.txt | 2 +- forge-gui/res/cardsfolder/c/corpsejack_menace.txt | 2 +- forge-gui/res/cardsfolder/c/corpseweft.txt | 2 +- forge-gui/res/cardsfolder/c/corrosion.txt | 2 +- forge-gui/res/cardsfolder/c/corrosive_gale.txt | 2 +- forge-gui/res/cardsfolder/c/corrupt.txt | 4 ++-- forge-gui/res/cardsfolder/c/corrupted_resolve.txt | 2 +- .../c/cosima_god_of_the_voyage_the_omenkeel.txt | 6 +++--- forge-gui/res/cardsfolder/c/cosmos_elixir.txt | 2 +- forge-gui/res/cardsfolder/c/counterbalance.txt | 2 +- forge-gui/res/cardsfolder/c/counterbore.txt | 4 ++-- .../res/cardsfolder/c/countervailing_winds.txt | 2 +- forge-gui/res/cardsfolder/c/court_of_ambition.txt | 2 +- forge-gui/res/cardsfolder/c/court_of_bounty.txt | 2 +- forge-gui/res/cardsfolder/c/court_of_cunning.txt | 2 +- forge-gui/res/cardsfolder/c/court_of_grace.txt | 2 +- forge-gui/res/cardsfolder/c/court_of_ire.txt | 2 +- forge-gui/res/cardsfolder/c/covenant_of_minds.txt | 2 +- forge-gui/res/cardsfolder/c/cover_of_winter.txt | 2 +- forge-gui/res/cardsfolder/c/coveted_prize.txt | 4 ++-- forge-gui/res/cardsfolder/c/crackling_drake.txt | 2 +- forge-gui/res/cardsfolder/c/cradle_of_vitality.txt | 2 +- .../res/cardsfolder/c/cragganwick_cremator.txt | 2 +- forge-gui/res/cardsfolder/c/cranial_extraction.txt | 4 ++-- forge-gui/res/cardsfolder/c/cranial_plating.txt | 2 +- forge-gui/res/cardsfolder/c/crash_landing.txt | 2 +- forge-gui/res/cardsfolder/c/crater_elemental.txt | 2 +- .../res/cardsfolder/c/craterhoof_behemoth.txt | 2 +- forge-gui/res/cardsfolder/c/craters_claws.txt | 2 +- forge-gui/res/cardsfolder/c/crazed_firecat.txt | 2 +- forge-gui/res/cardsfolder/c/cream_of_the_crop.txt | 2 +- forge-gui/res/cardsfolder/c/creature_bond.txt | 2 +- forge-gui/res/cardsfolder/c/credit_voucher.txt | 4 ++-- .../res/cardsfolder/c/creeping_trailblazer.txt | 2 +- forge-gui/res/cardsfolder/c/crime_punishment.txt | 2 +- forge-gui/res/cardsfolder/c/crimson_hellkite.txt | 2 +- .../res/cardsfolder/c/crimson_honor_guard.txt | 2 +- forge-gui/res/cardsfolder/c/crosstown_courier.txt | 2 +- forge-gui/res/cardsfolder/c/crowd_of_cinders.txt | 2 +- forge-gui/res/cardsfolder/c/crown_of_empires.txt | 4 ++-- .../c/crucible_of_the_spirit_dragon.txt | 2 +- forge-gui/res/cardsfolder/c/cruel_bargain.txt | 2 +- forge-gui/res/cardsfolder/c/cruel_feeding.txt | 2 +- forge-gui/res/cardsfolder/c/cruel_reality.txt | 2 +- forge-gui/res/cardsfolder/c/cruel_sadist.txt | 2 +- forge-gui/res/cardsfolder/c/crumble.txt | 2 +- forge-gui/res/cardsfolder/c/crumble_to_dust.txt | 6 +++--- .../res/cardsfolder/c/crumbling_sanctuary.txt | 2 +- forge-gui/res/cardsfolder/c/crusader_of_odric.txt | 2 +- forge-gui/res/cardsfolder/c/crush_underfoot.txt | 2 +- forge-gui/res/cardsfolder/c/crypt_incursion.txt | 2 +- forge-gui/res/cardsfolder/c/crypt_of_agadeem.txt | 2 +- forge-gui/res/cardsfolder/c/crypt_rats.txt | 2 +- forge-gui/res/cardsfolder/c/cryptic_serpent.txt | 2 +- forge-gui/res/cardsfolder/c/culling_dais.txt | 2 +- .../res/cardsfolder/c/cultivator_of_blades.txt | 2 +- forge-gui/res/cardsfolder/c/curious_herd.txt | 2 +- .../res/cardsfolder/c/curse_of_bloodletting.txt | 2 +- forge-gui/res/cardsfolder/c/curse_of_the_cabal.txt | 4 ++-- forge-gui/res/cardsfolder/c/curse_of_the_swine.txt | 2 +- forge-gui/res/cardsfolder/c/curse_of_thirst.txt | 2 +- forge-gui/res/cardsfolder/c/curse_of_vengeance.txt | 4 ++-- forge-gui/res/cardsfolder/c/custodi_soulcaller.txt | 2 +- forge-gui/res/cardsfolder/c/cut_ribbons.txt | 2 +- forge-gui/res/cardsfolder/c/cyclone.txt | 4 ++-- .../res/cardsfolder/c/cyclops_electromancer.txt | 2 +- forge-gui/res/cardsfolder/c/cyclops_gladiator.txt | 4 ++-- forge-gui/res/cardsfolder/d/dakkon_blackblade.txt | 2 +- .../res/cardsfolder/d/damia_sage_of_stone.txt | 2 +- forge-gui/res/cardsfolder/d/damnable_pact.txt | 4 ++-- forge-gui/res/cardsfolder/d/dance_of_the_manse.txt | 2 +- .../res/cardsfolder/d/daretti_scrap_savant.txt | 4 ++-- .../res/cardsfolder/d/dargo_the_shipwrecker.txt | 6 +++--- .../res/cardsfolder/d/darien_king_of_kjeldor.txt | 2 +- .../res/cardsfolder/d/darigaaz_the_igniter.txt | 2 +- forge-gui/res/cardsfolder/d/dark_confidant.txt | 2 +- forge-gui/res/cardsfolder/d/dark_dabbling.txt | 2 +- forge-gui/res/cardsfolder/d/dark_deal.txt | 2 +- forge-gui/res/cardsfolder/d/dark_petition.txt | 2 +- forge-gui/res/cardsfolder/d/dark_salvation.txt | 4 ++-- forge-gui/res/cardsfolder/d/dark_suspicions.txt | 2 +- forge-gui/res/cardsfolder/d/dark_tutelage.txt | 2 +- forge-gui/res/cardsfolder/d/darkslick_shores.txt | 2 +- .../res/cardsfolder/d/darksteel_juggernaut.txt | 2 +- forge-gui/res/cardsfolder/d/daru_stinger.txt | 2 +- forge-gui/res/cardsfolder/d/daughter_of_autumn.txt | 2 +- forge-gui/res/cardsfolder/d/dauntless_dourbark.txt | 2 +- forge-gui/res/cardsfolder/d/dauntless_unity.txt | 2 +- forge-gui/res/cardsfolder/d/dawnglow_infusion.txt | 4 ++-- forge-gui/res/cardsfolder/d/daxos_of_meletis.txt | 2 +- forge-gui/res/cardsfolder/d/day_of_the_dragons.txt | 2 +- forge-gui/res/cardsfolder/d/daybreak_chimera.txt | 2 +- forge-gui/res/cardsfolder/d/dead_mans_chest.txt | 2 +- forge-gui/res/cardsfolder/d/dead_of_winter.txt | 2 +- forge-gui/res/cardsfolder/d/dead_reckoning.txt | 2 +- forge-gui/res/cardsfolder/d/deadeye_rig_hauler.txt | 2 +- forge-gui/res/cardsfolder/d/deadeye_tormentor.txt | 2 +- forge-gui/res/cardsfolder/d/deadly_alliance.txt | 2 +- forge-gui/res/cardsfolder/d/deadly_tempest.txt | 2 +- forge-gui/res/cardsfolder/d/deadshot.txt | 2 +- forge-gui/res/cardsfolder/d/death_cloud.txt | 8 ++++---- forge-gui/res/cardsfolder/d/death_denied.txt | 2 +- forge-gui/res/cardsfolder/d/death_grasp.txt | 4 ++-- forge-gui/res/cardsfolder/d/death_mutation.txt | 2 +- .../cardsfolder/d/death_of_a_thousand_stings.txt | 2 +- forge-gui/res/cardsfolder/d/death_wind.txt | 2 +- forge-gui/res/cardsfolder/d/death_wish.txt | 2 +- forge-gui/res/cardsfolder/d/deathforge_shaman.txt | 2 +- forge-gui/res/cardsfolder/d/deathreap_ritual.txt | 2 +- forge-gui/res/cardsfolder/d/deaths_approach.txt | 2 +- forge-gui/res/cardsfolder/d/deaths_caress.txt | 2 +- forge-gui/res/cardsfolder/d/deaths_oasis.txt | 4 ++-- forge-gui/res/cardsfolder/d/deaths_presence.txt | 2 +- forge-gui/res/cardsfolder/d/debt_of_loyalty.txt | 2 +- .../res/cardsfolder/d/debt_to_the_deathless.txt | 2 +- .../res/cardsfolder/d/declaration_in_stone.txt | 2 +- forge-gui/res/cardsfolder/d/decoy_gambit.txt | 2 +- forge-gui/res/cardsfolder/d/decree_of_justice.txt | 4 ++-- forge-gui/res/cardsfolder/d/decree_of_pain.txt | 2 +- forge-gui/res/cardsfolder/d/decree_of_silence.txt | 2 +- forge-gui/res/cardsfolder/d/deepfire_elemental.txt | 2 +- forge-gui/res/cardsfolder/d/deepglow_skate.txt | 2 +- forge-gui/res/cardsfolder/d/deepwood_elder.txt | 2 +- forge-gui/res/cardsfolder/d/defiant_bloodlord.txt | 2 +- forge-gui/res/cardsfolder/d/defile.txt | 2 +- forge-gui/res/cardsfolder/d/deflecting_palm.txt | 2 +- forge-gui/res/cardsfolder/d/defy_death.txt | 2 +- forge-gui/res/cardsfolder/d/dega_sanctuary.txt | 4 ++-- forge-gui/res/cardsfolder/d/deicide.txt | 6 +++--- forge-gui/res/cardsfolder/d/delaying_shield.txt | 4 ++-- forge-gui/res/cardsfolder/d/delifs_cone.txt | 2 +- forge-gui/res/cardsfolder/d/delirium.txt | 2 +- forge-gui/res/cardsfolder/d/deliver_unto_evil.txt | 2 +- forge-gui/res/cardsfolder/d/demonfire.txt | 4 ++-- forge-gui/res/cardsfolder/d/demonic_embrace.txt | 2 +- forge-gui/res/cardsfolder/d/demonic_lore.txt | 2 +- forge-gui/res/cardsfolder/d/demonspine_whip.txt | 2 +- .../res/cardsfolder/d/depala_pilot_exemplar.txt | 2 +- .../res/cardsfolder/d/deploy_to_the_front.txt | 2 +- forge-gui/res/cardsfolder/d/depose_deploy.txt | 2 +- .../res/cardsfolder/d/descendant_of_masumaro.txt | 4 ++-- .../res/cardsfolder/d/descendant_of_soramaro.txt | 2 +- .../res/cardsfolder/d/descent_into_madness.txt | 2 +- .../res/cardsfolder/d/descent_of_the_dragons.txt | 2 +- forge-gui/res/cardsfolder/d/desecration_demon.txt | 4 ++-- forge-gui/res/cardsfolder/d/desertion.txt | 4 ++-- forge-gui/res/cardsfolder/d/desperate_gambit.txt | 6 +++--- forge-gui/res/cardsfolder/d/desperate_stand.txt | 2 +- forge-gui/res/cardsfolder/d/destiny_spinner.txt | 2 +- forge-gui/res/cardsfolder/d/detonate.txt | 4 ++-- forge-gui/res/cardsfolder/d/detritivore.txt | 2 +- forge-gui/res/cardsfolder/d/devastating_dreams.txt | 4 ++-- .../res/cardsfolder/d/devastating_summons.txt | 2 +- forge-gui/res/cardsfolder/d/devils_play.txt | 2 +- forge-gui/res/cardsfolder/d/devour_flesh.txt | 2 +- forge-gui/res/cardsfolder/d/devour_in_shadow.txt | 2 +- forge-gui/res/cardsfolder/d/devouring_greed.txt | 4 ++-- forge-gui/res/cardsfolder/d/devouring_hellion.txt | 4 ++-- forge-gui/res/cardsfolder/d/devouring_rage.txt | 2 +- forge-gui/res/cardsfolder/d/devout_invocation.txt | 4 ++-- forge-gui/res/cardsfolder/d/diamond_valley.txt | 2 +- .../res/cardsfolder/d/dictate_of_the_twin_gods.txt | 2 +- forge-gui/res/cardsfolder/d/die_young.txt | 2 +- .../res/cardsfolder/d/diluvian_primordial.txt | 2 +- .../res/cardsfolder/d/din_of_the_fireherd.txt | 4 ++-- forge-gui/res/cardsfolder/d/dire_fleet_captain.txt | 2 +- forge-gui/res/cardsfolder/d/dire_fleet_ravager.txt | 2 +- forge-gui/res/cardsfolder/d/dire_tactics.txt | 2 +- forge-gui/res/cardsfolder/d/disaster_radius.txt | 2 +- forge-gui/res/cardsfolder/d/disciple_of_bolas.txt | 4 ++-- .../res/cardsfolder/d/disciple_of_griselbrand.txt | 2 +- forge-gui/res/cardsfolder/d/disciple_of_phenax.txt | 2 +- forge-gui/res/cardsfolder/d/discordant_dirge.txt | 2 +- forge-gui/res/cardsfolder/d/discordant_spirit.txt | 2 +- forge-gui/res/cardsfolder/d/diseased_vermin.txt | 2 +- forge-gui/res/cardsfolder/d/disembowel.txt | 2 +- forge-gui/res/cardsfolder/d/disintegrate.txt | 2 +- forge-gui/res/cardsfolder/d/dismantle.txt | 4 ++-- forge-gui/res/cardsfolder/d/dismantling_wave.txt | 2 +- forge-gui/res/cardsfolder/d/dispense_justice.txt | 2 +- forge-gui/res/cardsfolder/d/dispersal_shield.txt | 2 +- forge-gui/res/cardsfolder/d/displacement_wave.txt | 2 +- forge-gui/res/cardsfolder/d/disrupting_shoal.txt | 2 +- forge-gui/res/cardsfolder/d/distant_melody.txt | 2 +- forge-gui/res/cardsfolder/d/distant_memories.txt | 2 +- forge-gui/res/cardsfolder/d/distorting_wake.txt | 2 +- .../res/cardsfolder/d/divine_congregation.txt | 2 +- forge-gui/res/cardsfolder/d/divine_offering.txt | 2 +- forge-gui/res/cardsfolder/d/divine_retribution.txt | 2 +- forge-gui/res/cardsfolder/d/diviner_spirit.txt | 4 ++-- .../res/cardsfolder/d/dockside_extortionist.txt | 2 +- forge-gui/res/cardsfolder/d/dogpile.txt | 2 +- forge-gui/res/cardsfolder/d/dominate.txt | 2 +- forge-gui/res/cardsfolder/d/domris_ambush.txt | 2 +- .../res/cardsfolder/d/dong_zhou_the_tyrant.txt | 2 +- forge-gui/res/cardsfolder/d/doomgape.txt | 2 +- forge-gui/res/cardsfolder/d/doomsday.txt | 4 ++-- forge-gui/res/cardsfolder/d/doorkeeper.txt | 2 +- forge-gui/res/cardsfolder/d/doubling_season.txt | 4 ++-- forge-gui/res/cardsfolder/d/doubtless_one.txt | 4 ++-- forge-gui/res/cardsfolder/d/dovescape.txt | 2 +- forge-gui/res/cardsfolder/d/downhill_charge.txt | 2 +- forge-gui/res/cardsfolder/d/draco.txt | 4 ++-- forge-gui/res/cardsfolder/d/dracoplasm.txt | 4 ++-- .../res/cardsfolder/d/drafnas_restoration.txt | 2 +- forge-gui/res/cardsfolder/d/drag_down.txt | 2 +- .../res/cardsfolder/d/drag_to_the_underworld.txt | 2 +- .../res/cardsfolder/d/dragon_scarred_bear.txt | 2 +- forge-gui/res/cardsfolder/d/dragon_tempest.txt | 2 +- .../res/cardsfolder/d/dragon_throne_of_tarkir.txt | 2 +- forge-gui/res/cardsfolder/d/dragon_whisperer.txt | 2 +- .../res/cardsfolder/d/dragonkin_berserker.txt | 2 +- forge-gui/res/cardsfolder/d/dragonrage.txt | 2 +- .../res/cardsfolder/d/dragonscale_general.txt | 2 +- forge-gui/res/cardsfolder/d/drain_life.txt | 6 +++--- forge-gui/res/cardsfolder/d/draining_whelk.txt | 2 +- forge-gui/res/cardsfolder/d/drake_familiar.txt | 2 +- forge-gui/res/cardsfolder/d/drake_stone.txt | 2 +- forge-gui/res/cardsfolder/d/dralnu_lich_lord.txt | 2 +- forge-gui/res/cardsfolder/d/dralnus_pet.txt | 2 +- .../cardsfolder/d/drana_kalastria_bloodchief.txt | 4 ++-- forge-gui/res/cardsfolder/d/dranas_silencer.txt | 2 +- forge-gui/res/cardsfolder/d/dread_defiler.txt | 2 +- forge-gui/res/cardsfolder/d/dread_summons.txt | 4 ++-- forge-gui/res/cardsfolder/d/dread_wanderer.txt | 2 +- .../res/cardsfolder/d/dreadhorde_arcanist.txt | 2 +- forge-gui/res/cardsfolder/d/dreadhorde_butcher.txt | 2 +- forge-gui/res/cardsfolder/d/dreadship_reef.txt | 2 +- forge-gui/res/cardsfolder/d/dreadwaters.txt | 2 +- forge-gui/res/cardsfolder/d/dream_pillager.txt | 2 +- forge-gui/res/cardsfolder/d/dream_salvage.txt | 2 +- forge-gui/res/cardsfolder/d/dream_thief.txt | 2 +- forge-gui/res/cardsfolder/d/dream_tides.txt | 2 +- forge-gui/res/cardsfolder/d/dreamborn_muse.txt | 2 +- forge-gui/res/cardsfolder/d/dreamstealer.txt | 2 +- forge-gui/res/cardsfolder/d/dregs_of_sorrow.txt | 4 ++-- forge-gui/res/cardsfolder/d/drift_of_the_dead.txt | 2 +- .../res/cardsfolder/d/dripping_tongue_zubera.txt | 2 +- .../res/cardsfolder/d/droning_bureaucrats.txt | 2 +- forge-gui/res/cardsfolder/d/drove_of_elves.txt | 2 +- forge-gui/res/cardsfolder/d/drown_in_filth.txt | 2 +- forge-gui/res/cardsfolder/d/druids_call.txt | 2 +- forge-gui/res/cardsfolder/d/dryads_caress.txt | 2 +- .../res/cardsfolder/d/dune_brood_nephilim.txt | 2 +- forge-gui/res/cardsfolder/d/dungrove_elder.txt | 2 +- forge-gui/res/cardsfolder/d/duplicant.txt | 2 +- forge-gui/res/cardsfolder/d/durkwood_tracker.txt | 4 ++-- forge-gui/res/cardsfolder/d/dusk_urchins.txt | 2 +- forge-gui/res/cardsfolder/d/duskmantle_seer.txt | 2 +- forge-gui/res/cardsfolder/d/dwarven_catapult.txt | 2 +- forge-gui/res/cardsfolder/d/dwarven_hold.txt | 2 +- forge-gui/res/cardsfolder/d/dwarven_landslide.txt | 2 +- forge-gui/res/cardsfolder/d/dwarven_priest.txt | 2 +- forge-gui/res/cardsfolder/d/dwarven_recruiter.txt | 2 +- forge-gui/res/cardsfolder/d/dwarven_shrine.txt | 2 +- forge-gui/res/cardsfolder/d/dwarven_song.txt | 2 +- forge-gui/res/cardsfolder/d/dwarven_vigilantes.txt | 2 +- .../res/cardsfolder/d/dwynen_gilt_leaf_daen.txt | 2 +- forge-gui/res/cardsfolder/d/dying_wish.txt | 4 ++-- forge-gui/res/cardsfolder/e/earl_of_squirrel.txt | 2 +- forge-gui/res/cardsfolder/e/earthquake.txt | 2 +- forge-gui/res/cardsfolder/e/earthshaker_khenra.txt | 2 +- forge-gui/res/cardsfolder/e/ebon_praetor.txt | 2 +- forge-gui/res/cardsfolder/e/ebonblade_reaper.txt | 4 ++-- forge-gui/res/cardsfolder/e/echo_storm.txt | 2 +- .../res/cardsfolder/e/edifice_of_authority.txt | 2 +- forge-gui/res/cardsfolder/e/eerie_ultimatum.txt | 2 +- .../cardsfolder/e/eidolon_of_countless_battles.txt | 2 +- forge-gui/res/cardsfolder/e/el_hajjaj.txt | 2 +- forge-gui/res/cardsfolder/e/eladamri.txt | 2 +- forge-gui/res/cardsfolder/e/elder_cathar.txt | 2 +- forge-gui/res/cardsfolder/e/elder_of_laurels.txt | 2 +- forge-gui/res/cardsfolder/e/eldrazi_mimic.txt | 2 +- forge-gui/res/cardsfolder/e/eldrazi_monument.txt | 2 +- forge-gui/res/cardsfolder/e/eldritch_evolution.txt | 2 +- forge-gui/res/cardsfolder/e/electrodominance.txt | 4 ++-- forge-gui/res/cardsfolder/e/electropotence.txt | 2 +- forge-gui/res/cardsfolder/e/electrostatic_bolt.txt | 2 +- .../res/cardsfolder/e/electrostatic_pummeler.txt | 2 +- forge-gui/res/cardsfolder/e/electryte.txt | 2 +- forge-gui/res/cardsfolder/e/elemental_mastery.txt | 2 +- .../res/cardsfolder/e/elenda_the_dusk_rose.txt | 2 +- .../res/cardsfolder/e/eligeth_crossroads_augur.txt | 2 +- .../cardsfolder/e/eliminate_the_competition.txt | 2 +- forge-gui/res/cardsfolder/e/elite_arcanist.txt | 2 +- forge-gui/res/cardsfolder/e/elspeth_tirel.txt | 2 +- .../res/cardsfolder/e/elspeth_undaunted_hero.txt | 2 +- forge-gui/res/cardsfolder/e/elven_ambush.txt | 2 +- forge-gui/res/cardsfolder/e/elvish_archdruid.txt | 2 +- forge-gui/res/cardsfolder/e/elvish_berserker.txt | 2 +- .../res/cardsfolder/e/elvish_branchbender.txt | 2 +- forge-gui/res/cardsfolder/e/elvish_eulogist.txt | 2 +- forge-gui/res/cardsfolder/e/elvish_guidance.txt | 2 +- forge-gui/res/cardsfolder/e/elvish_healer.txt | 2 +- forge-gui/res/cardsfolder/e/elvish_promenade.txt | 2 +- forge-gui/res/cardsfolder/e/embalmed_brawler.txt | 2 +- forge-gui/res/cardsfolder/e/ember_fist_zubera.txt | 2 +- forge-gui/res/cardsfolder/e/embercleave.txt | 2 +- forge-gui/res/cardsfolder/e/embereth_skyblazer.txt | 2 +- forge-gui/res/cardsfolder/e/embermaw_hellion.txt | 2 +- forge-gui/res/cardsfolder/e/emberwilde_caliph.txt | 2 +- forge-gui/res/cardsfolder/e/emberwilde_captain.txt | 2 +- forge-gui/res/cardsfolder/e/emeria_captain.txt | 2 +- forge-gui/res/cardsfolder/e/emiel_the_blessed.txt | 2 +- .../res/cardsfolder/e/emissary_of_despair.txt | 2 +- forge-gui/res/cardsfolder/e/emissary_of_hope.txt | 2 +- .../res/cardsfolder/e/empowered_autogenerator.txt | 2 +- forge-gui/res/cardsfolder/e/empty_the_pits.txt | 2 +- forge-gui/res/cardsfolder/e/empyreal_voyager.txt | 2 +- forge-gui/res/cardsfolder/e/empyrial_storm.txt | 2 +- .../res/cardsfolder/e/emrakul_the_promised_end.txt | 2 +- forge-gui/res/cardsfolder/e/emrakuls_evangel.txt | 2 +- .../res/cardsfolder/e/emry_lurker_of_the_loch.txt | 2 +- forge-gui/res/cardsfolder/e/enchanters_bane.txt | 2 +- forge-gui/res/cardsfolder/e/endless_atlas.txt | 2 +- forge-gui/res/cardsfolder/e/endless_horizons.txt | 2 +- .../cardsfolder/e/endless_ranks_of_the_dead.txt | 2 +- forge-gui/res/cardsfolder/e/endless_scream.txt | 2 +- forge-gui/res/cardsfolder/e/endless_swarm.txt | 2 +- .../cardsfolder/e/endrek_sahr_master_breeder.txt | 2 +- .../res/cardsfolder/e/enemy_of_enlightenment.txt | 2 +- forge-gui/res/cardsfolder/e/energy_arc.txt | 2 +- forge-gui/res/cardsfolder/e/energy_bolt.txt | 4 ++-- forge-gui/res/cardsfolder/e/energy_tap.txt | 2 +- forge-gui/res/cardsfolder/e/energy_vortex.txt | 4 ++-- .../res/cardsfolder/e/engineered_explosives.txt | 2 +- forge-gui/res/cardsfolder/e/engulf_the_shore.txt | 2 +- forge-gui/res/cardsfolder/e/engulfing_slagwurm.txt | 4 ++-- .../res/cardsfolder/e/enhanced_surveillance.txt | 2 +- forge-gui/res/cardsfolder/e/enigma_drake.txt | 2 +- .../res/cardsfolder/e/enigma_sphinx_avatar.txt | 2 +- forge-gui/res/cardsfolder/e/enigma_thief.txt | 2 +- .../res/cardsfolder/e/enigmatic_incarnation.txt | 2 +- forge-gui/res/cardsfolder/e/enrage.txt | 2 +- forge-gui/res/cardsfolder/e/enshrined_memories.txt | 2 +- .../res/cardsfolder/e/enter_the_god_eternals.txt | 2 +- forge-gui/res/cardsfolder/e/enter_the_infinite.txt | 2 +- forge-gui/res/cardsfolder/e/enthrall.txt | 2 +- forge-gui/res/cardsfolder/e/entrails_feaster.txt | 4 ++-- forge-gui/res/cardsfolder/e/entrancing_lyre.txt | 2 +- forge-gui/res/cardsfolder/e/entrancing_melody.txt | 2 +- .../res/cardsfolder/e/entrapment_maneuver.txt | 2 +- forge-gui/res/cardsfolder/e/entreat_the_angels.txt | 2 +- forge-gui/res/cardsfolder/e/entreat_the_dead.txt | 2 +- forge-gui/res/cardsfolder/e/entropic_specter.txt | 2 +- .../res/cardsfolder/e/ephara_god_of_the_polis.txt | 2 +- forge-gui/res/cardsfolder/e/epic_experiment.txt | 2 +- .../cardsfolder/e/epiphany_at_the_drownyard.txt | 2 +- forge-gui/res/cardsfolder/e/equipoise.txt | 6 +++--- forge-gui/res/cardsfolder/e/eradicate.txt | 4 ++-- .../res/cardsfolder/e/erebos_bleak_hearted.txt | 2 +- .../res/cardsfolder/e/erebos_god_of_the_dead.txt | 2 +- .../res/cardsfolder/e/ereboss_intervention.txt | 8 ++++---- forge-gui/res/cardsfolder/e/errant_minion.txt | 8 ++++---- forge-gui/res/cardsfolder/e/erratic_cyclops.txt | 2 +- forge-gui/res/cardsfolder/e/erratic_explosion.txt | 2 +- forge-gui/res/cardsfolder/e/erratic_mutation.txt | 2 +- forge-gui/res/cardsfolder/e/ertais_trickery.txt | 2 +- forge-gui/res/cardsfolder/e/essence_backlash.txt | 2 +- forge-gui/res/cardsfolder/e/essence_bottle.txt | 2 +- forge-gui/res/cardsfolder/e/essence_flux.txt | 2 +- forge-gui/res/cardsfolder/e/essence_harvest.txt | 4 ++-- forge-gui/res/cardsfolder/e/essence_sliver.txt | 2 +- forge-gui/res/cardsfolder/e/eternal_flame.txt | 4 ++-- forge-gui/res/cardsfolder/e/eternity_vessel.txt | 2 +- forge-gui/res/cardsfolder/e/ethereal_armor.txt | 2 +- .../res/cardsfolder/e/etrata_the_silencer.txt | 2 +- forge-gui/res/cardsfolder/e/eureka.txt | 6 +++--- forge-gui/res/cardsfolder/e/evangel_of_heliod.txt | 2 +- forge-gui/res/cardsfolder/e/evasive_action.txt | 2 +- forge-gui/res/cardsfolder/e/even_the_odds.txt | 2 +- .../res/cardsfolder/e/everflowing_chalice.txt | 2 +- forge-gui/res/cardsfolder/e/evershrike.txt | 2 +- .../res/cardsfolder/e/every_dream_a_nightmare.txt | 2 +- forge-gui/res/cardsfolder/e/exalted_angel.txt | 2 +- forge-gui/res/cardsfolder/e/excise.txt | 2 +- .../res/cardsfolder/e/exemplar_of_strength.txt | 2 +- forge-gui/res/cardsfolder/e/exert_influence.txt | 2 +- forge-gui/res/cardsfolder/e/exile.txt | 2 +- forge-gui/res/cardsfolder/e/exotic_curse.txt | 2 +- forge-gui/res/cardsfolder/e/exotic_disease.txt | 4 ++-- .../res/cardsfolder/e/expansion_explosion.txt | 4 ++-- forge-gui/res/cardsfolder/e/expel_from_orazca.txt | 4 ++-- .../res/cardsfolder/e/experimental_overload.txt | 2 +- forge-gui/res/cardsfolder/e/exploding_borders.txt | 2 +- forge-gui/res/cardsfolder/e/explosive_growth.txt | 2 +- .../res/cardsfolder/e/explosive_revelation.txt | 2 +- forge-gui/res/cardsfolder/e/exquisite_blood.txt | 2 +- forge-gui/res/cardsfolder/e/exsanguinate.txt | 2 +- forge-gui/res/cardsfolder/e/extirpate.txt | 4 ++-- forge-gui/res/cardsfolder/e/exuberant_wolfbear.txt | 2 +- forge-gui/res/cardsfolder/e/eye_for_an_eye.txt | 4 ++-- forge-gui/res/cardsfolder/e/eye_of_yawgmoth.txt | 2 +- .../res/cardsfolder/e/ezuri_claw_of_progress.txt | 2 +- forge-gui/res/cardsfolder/f/faerie_swarm.txt | 2 +- forge-gui/res/cardsfolder/f/faith_healer.txt | 2 +- forge-gui/res/cardsfolder/f/faiths_shield.txt | 4 ++-- .../res/cardsfolder/f/falkenrath_aristocrat.txt | 2 +- .../res/cardsfolder/f/falkenrath_exterminator.txt | 2 +- .../res/cardsfolder/f/falkenrath_torturer.txt | 2 +- forge-gui/res/cardsfolder/f/fall_of_the_hammer.txt | 2 +- forge-gui/res/cardsfolder/f/fall_of_the_titans.txt | 2 +- forge-gui/res/cardsfolder/f/falling_timber.txt | 2 +- forge-gui/res/cardsfolder/f/false_cure.txt | 2 +- forge-gui/res/cardsfolder/f/fanatic_of_mogis.txt | 2 +- forge-gui/res/cardsfolder/f/fanning_the_flames.txt | 2 +- forge-gui/res/cardsfolder/f/far_wanderings.txt | 2 +- forge-gui/res/cardsfolder/f/farrels_mantle.txt | 2 +- forge-gui/res/cardsfolder/f/fascination.txt | 4 ++-- forge-gui/res/cardsfolder/f/fatal_frenzy.txt | 2 +- forge-gui/res/cardsfolder/f/fatal_push.txt | 2 +- forge-gui/res/cardsfolder/f/fateful_showdown.txt | 4 ++-- .../res/cardsfolder/f/fathom_fleet_boarder.txt | 2 +- .../res/cardsfolder/f/fathom_fleet_swordjack.txt | 2 +- forge-gui/res/cardsfolder/f/fault_line.txt | 2 +- forge-gui/res/cardsfolder/f/fearsome_awakening.txt | 2 +- forge-gui/res/cardsfolder/f/feast_of_flesh.txt | 4 ++-- .../res/cardsfolder/f/feast_on_the_fallen.txt | 2 +- forge-gui/res/cardsfolder/f/feed_the_clan.txt | 2 +- forge-gui/res/cardsfolder/f/feed_the_pack.txt | 2 +- forge-gui/res/cardsfolder/f/feed_the_swarm.txt | 2 +- forge-gui/res/cardsfolder/f/feedback_bolt.txt | 2 +- forge-gui/res/cardsfolder/f/feeding_frenzy.txt | 2 +- forge-gui/res/cardsfolder/f/felhide_brawler.txt | 2 +- forge-gui/res/cardsfolder/f/fell_the_mighty.txt | 2 +- forge-gui/res/cardsfolder/f/feral_animist.txt | 2 +- forge-gui/res/cardsfolder/f/feral_contest.txt | 2 +- .../res/cardsfolder/f/fertile_imagination.txt | 2 +- forge-gui/res/cardsfolder/f/festering_newt.txt | 4 ++-- forge-gui/res/cardsfolder/f/festering_wound.txt | 2 +- .../cardsfolder/f/festival_of_the_guildpact.txt | 2 +- forge-gui/res/cardsfolder/f/festival_of_trokin.txt | 2 +- forge-gui/res/cardsfolder/f/festive_funeral.txt | 2 +- .../res/cardsfolder/f/feudkillers_verdict.txt | 2 +- forge-gui/res/cardsfolder/f/fevered_visions.txt | 2 +- forge-gui/res/cardsfolder/f/field_research.txt | 2 +- forge-gui/res/cardsfolder/f/fiend_artisan.txt | 4 ++-- forge-gui/res/cardsfolder/f/fiendish_duo.txt | 2 +- forge-gui/res/cardsfolder/f/fiery_bombardment.txt | 2 +- forge-gui/res/cardsfolder/f/fiery_emancipation.txt | 2 +- forge-gui/res/cardsfolder/f/fiery_impulse.txt | 4 ++-- forge-gui/res/cardsfolder/f/fight_with_fire.txt | 4 ++-- .../res/cardsfolder/f/figure_of_destiny_avatar.txt | 2 +- forge-gui/res/cardsfolder/f/filigree_angel.txt | 2 +- forge-gui/res/cardsfolder/f/filthy_cur.txt | 2 +- forge-gui/res/cardsfolder/f/final_fortune.txt | 2 +- forge-gui/res/cardsfolder/f/final_punishment.txt | 2 +- forge-gui/res/cardsfolder/f/final_strike.txt | 2 +- .../res/cardsfolder/f/finale_of_devastation.txt | 4 ++-- forge-gui/res/cardsfolder/f/finale_of_eternity.txt | 4 ++-- forge-gui/res/cardsfolder/f/finale_of_glory.txt | 4 ++-- forge-gui/res/cardsfolder/f/finale_of_promise.txt | 6 +++--- .../res/cardsfolder/f/finale_of_revelation.txt | 8 ++++---- forge-gui/res/cardsfolder/f/fire_dragon.txt | 2 +- forge-gui/res/cardsfolder/f/fire_giants_fury.txt | 2 +- forge-gui/res/cardsfolder/f/fire_servant.txt | 2 +- forge-gui/res/cardsfolder/f/fireball.txt | 2 +- forge-gui/res/cardsfolder/f/fireblade_charger.txt | 2 +- forge-gui/res/cardsfolder/f/firecannon_blast.txt | 4 ++-- forge-gui/res/cardsfolder/f/firecat_blitz.txt | 2 +- forge-gui/res/cardsfolder/f/firedrinker_satyr.txt | 2 +- forge-gui/res/cardsfolder/f/firefist_adept.txt | 2 +- forge-gui/res/cardsfolder/f/fireflux_squad.txt | 2 +- forge-gui/res/cardsfolder/f/fires_of_invention.txt | 2 +- forge-gui/res/cardsfolder/f/firestorm.txt | 2 +- forge-gui/res/cardsfolder/f/firjas_retribution.txt | 2 +- forge-gui/res/cardsfolder/f/first_response.txt | 2 +- forge-gui/res/cardsfolder/f/fists_of_flame.txt | 2 +- forge-gui/res/cardsfolder/f/flame_burst.txt | 2 +- forge-gui/res/cardsfolder/f/flame_elemental.txt | 2 +- forge-gui/res/cardsfolder/f/flameblast_dragon.txt | 2 +- .../res/cardsfolder/f/flames_of_the_raze_boar.txt | 2 +- .../res/cardsfolder/f/flametongue_kavu_avatar.txt | 2 +- forge-gui/res/cardsfolder/f/flaming_gambit.txt | 6 +++--- forge-gui/res/cardsfolder/f/flash_conscription.txt | 2 +- forge-gui/res/cardsfolder/f/flash_of_insight.txt | 2 +- forge-gui/res/cardsfolder/f/flayed_nim.txt | 2 +- .../res/cardsfolder/f/flayer_of_the_hatebound.txt | 2 +- forge-gui/res/cardsfolder/f/fleet_swallower.txt | 2 +- forge-gui/res/cardsfolder/f/flesh_allergy.txt | 2 +- forge-gui/res/cardsfolder/f/flesh_blood.txt | 4 ++-- forge-gui/res/cardsfolder/f/flesh_carver.txt | 2 +- forge-gui/res/cardsfolder/f/flesh_reaver.txt | 2 +- forge-gui/res/cardsfolder/f/fling.txt | 2 +- .../res/cardsfolder/f/floating_dream_zubera.txt | 2 +- .../res/cardsfolder/f/flock_of_rabid_sheep.txt | 2 +- forge-gui/res/cardsfolder/f/floodgate.txt | 2 +- forge-gui/res/cardsfolder/f/floodwater_dam.txt | 2 +- forge-gui/res/cardsfolder/f/flow_of_ideas.txt | 2 +- forge-gui/res/cardsfolder/f/flowstone_slide.txt | 2 +- forge-gui/res/cardsfolder/f/flurry_of_wings.txt | 2 +- forge-gui/res/cardsfolder/f/flux.txt | 2 +- forge-gui/res/cardsfolder/f/folio_of_fancies.txt | 4 ++-- forge-gui/res/cardsfolder/f/folk_medicine.txt | 2 +- forge-gui/res/cardsfolder/f/font_of_agonies.txt | 2 +- forge-gui/res/cardsfolder/f/food_chain.txt | 2 +- forge-gui/res/cardsfolder/f/footbottom_feast.txt | 2 +- forge-gui/res/cardsfolder/f/force_away.txt | 2 +- forge-gui/res/cardsfolder/f/force_bubble.txt | 4 ++-- forge-gui/res/cardsfolder/f/forced_march.txt | 2 +- forge-gui/res/cardsfolder/f/forcefield.txt | 2 +- forge-gui/res/cardsfolder/f/foreboding_fruit.txt | 2 +- forge-gui/res/cardsfolder/f/foreshadow.txt | 2 +- forge-gui/res/cardsfolder/f/forever_young.txt | 2 +- forge-gui/res/cardsfolder/f/forge_armor.txt | 2 +- forge-gui/res/cardsfolder/f/forget.txt | 2 +- forge-gui/res/cardsfolder/f/forgotten_creation.txt | 2 +- forge-gui/res/cardsfolder/f/forgotten_lore.txt | 6 +++--- .../res/cardsfolder/f/form_of_the_dinosaur.txt | 2 +- forge-gui/res/cardsfolder/f/foul_renewal.txt | 2 +- forge-gui/res/cardsfolder/f/foul_tongue_shriek.txt | 4 ++-- forge-gui/res/cardsfolder/f/foundry_champion.txt | 2 +- forge-gui/res/cardsfolder/f/fountain_of_cho.txt | 2 +- forge-gui/res/cardsfolder/f/fracturing_gust.txt | 2 +- forge-gui/res/cardsfolder/f/frantic_inventory.txt | 2 +- forge-gui/res/cardsfolder/f/frantic_salvage.txt | 2 +- .../res/cardsfolder/f/fraying_omnipotence.txt | 6 +++--- forge-gui/res/cardsfolder/f/fraying_sanity.txt | 2 +- forge-gui/res/cardsfolder/f/fresh_meat.txt | 2 +- .../res/cardsfolder/f/freyalise_llanowars_fury.txt | 2 +- .../res/cardsfolder/f/freyalise_supplicant.txt | 2 +- forge-gui/res/cardsfolder/f/friendly_fire.txt | 2 +- forge-gui/res/cardsfolder/f/from_the_ashes.txt | 2 +- .../cardsfolder/f/from_under_the_floorboards.txt | 4 ++-- forge-gui/res/cardsfolder/f/frost_bite.txt | 4 ++-- .../res/cardsfolder/f/fruit_of_the_first_tree.txt | 4 ++-- forge-gui/res/cardsfolder/f/fruition.txt | 2 +- forge-gui/res/cardsfolder/f/full_flowering.txt | 2 +- forge-gui/res/cardsfolder/f/fumigate.txt | 2 +- forge-gui/res/cardsfolder/f/fungal_behemoth.txt | 2 +- forge-gui/res/cardsfolder/f/fungal_reaches.txt | 2 +- forge-gui/res/cardsfolder/f/fungal_rebirth.txt | 2 +- forge-gui/res/cardsfolder/f/fungal_sprouting.txt | 2 +- forge-gui/res/cardsfolder/f/furnace_of_rath.txt | 2 +- forge-gui/res/cardsfolder/f/fury_storm.txt | 2 +- .../res/cardsfolder/g/gadrak_the_crown_scourge.txt | 2 +- .../res/cardsfolder/g/gadwick_the_wizened.txt | 2 +- forge-gui/res/cardsfolder/g/gaeas_avenger.txt | 2 +- forge-gui/res/cardsfolder/g/gaeas_cradle.txt | 2 +- forge-gui/res/cardsfolder/g/gaeas_might.txt | 2 +- forge-gui/res/cardsfolder/g/galloping_lizrog.txt | 2 +- forge-gui/res/cardsfolder/g/galvanic_blast.txt | 2 +- .../res/cardsfolder/g/galvanic_bombardment.txt | 2 +- forge-gui/res/cardsfolder/g/game_of_chaos.txt | 4 ++-- forge-gui/res/cardsfolder/g/gang_of_elk.txt | 2 +- forge-gui/res/cardsfolder/g/gangrenous_zombies.txt | 2 +- forge-gui/res/cardsfolder/g/gargantuan_gorilla.txt | 4 ++-- .../res/cardsfolder/g/garruk_apex_predator.txt | 2 +- .../res/cardsfolder/g/garruk_primal_hunter.txt | 2 +- .../g/garruk_relentless_garruk_the_veil_cursed.txt | 6 +++--- .../res/cardsfolder/g/garruk_savage_herald.txt | 2 +- forge-gui/res/cardsfolder/g/garruk_unleashed.txt | 2 +- forge-gui/res/cardsfolder/g/garruks_harbinger.txt | 2 +- forge-gui/res/cardsfolder/g/garzas_assassin.txt | 2 +- .../res/cardsfolder/g/gate_to_the_afterlife.txt | 4 ++-- forge-gui/res/cardsfolder/g/gates_ablaze.txt | 2 +- forge-gui/res/cardsfolder/g/gather_the_pack.txt | 2 +- .../res/cardsfolder/g/gather_the_townsfolk.txt | 2 +- forge-gui/res/cardsfolder/g/gavi_nest_warden.txt | 2 +- forge-gui/res/cardsfolder/g/gaze_of_adamaro.txt | 2 +- forge-gui/res/cardsfolder/g/gaze_of_granite.txt | 2 +- forge-gui/res/cardsfolder/g/gaze_of_pain.txt | 2 +- forge-gui/res/cardsfolder/g/gearseeker_serpent.txt | 2 +- forge-gui/res/cardsfolder/g/geist_honored_monk.txt | 2 +- forge-gui/res/cardsfolder/g/gelatinous_genesis.txt | 2 +- forge-gui/res/cardsfolder/g/gemini_engine.txt | 2 +- .../res/cardsfolder/g/gempalm_incinerator.txt | 2 +- forge-gui/res/cardsfolder/g/gempalm_polluter.txt | 2 +- forge-gui/res/cardsfolder/g/gemstone_caverns.txt | 4 ++-- forge-gui/res/cardsfolder/g/generals_regalia.txt | 2 +- forge-gui/res/cardsfolder/g/genesis_hydra.txt | 2 +- forge-gui/res/cardsfolder/g/genesis_storm.txt | 2 +- forge-gui/res/cardsfolder/g/genesis_wave.txt | 2 +- .../res/cardsfolder/g/genju_of_the_fields.txt | 2 +- forge-gui/res/cardsfolder/g/geometric_weird.txt | 2 +- forge-gui/res/cardsfolder/g/gerrard_capashen.txt | 2 +- forge-gui/res/cardsfolder/g/gerrards_verdict.txt | 2 +- forge-gui/res/cardsfolder/g/gerrards_wisdom.txt | 2 +- .../res/cardsfolder/g/geth_lord_of_the_vault.txt | 4 ++-- .../res/cardsfolder/g/ghalta_primal_hunger.txt | 2 +- forge-gui/res/cardsfolder/g/ghastly_demise.txt | 2 +- .../res/cardsfolder/g/ghireds_belligerence.txt | 2 +- forge-gui/res/cardsfolder/g/ghitu_fire.txt | 2 +- forge-gui/res/cardsfolder/g/ghitu_fire_eater.txt | 2 +- .../res/cardsfolder/g/ghosts_of_the_innocent.txt | 2 +- forge-gui/res/cardsfolder/g/ghoulcaller_gisa.txt | 2 +- forge-gui/res/cardsfolder/g/ghouls_feast.txt | 2 +- forge-gui/res/cardsfolder/g/ghoultree.txt | 2 +- .../cardsfolder/g/gideon_champion_of_justice.txt | 4 ++-- forge-gui/res/cardsfolder/g/gideons_phalanx.txt | 2 +- forge-gui/res/cardsfolder/g/gideons_sacrifice.txt | 2 +- forge-gui/res/cardsfolder/g/gideons_triumph.txt | 2 +- forge-gui/res/cardsfolder/g/gift_of_estates.txt | 2 +- forge-gui/res/cardsfolder/g/gift_of_growth.txt | 2 +- forge-gui/res/cardsfolder/g/gigantoplasm.txt | 2 +- .../cardsfolder/g/gisela_blade_of_goldnight.txt | 2 +- .../res/cardsfolder/g/gishath_suns_avatar.txt | 4 ++-- forge-gui/res/cardsfolder/g/give_take.txt | 2 +- forge-gui/res/cardsfolder/g/glacial_plating.txt | 2 +- .../cardsfolder/g/glacian_powerstone_engineer.txt | 2 +- forge-gui/res/cardsfolder/g/glade_watcher.txt | 2 +- forge-gui/res/cardsfolder/g/glarecaster.txt | 2 +- forge-gui/res/cardsfolder/g/gleam_of_authority.txt | 2 +- .../res/cardsfolder/g/glenn_the_voice_of_calm.txt | 2 +- forge-gui/res/cardsfolder/g/glimmerpost.txt | 2 +- .../res/cardsfolder/g/glimpse_the_sun_god.txt | 2 +- forge-gui/res/cardsfolder/g/glint_eye_nephilim.txt | 2 +- forge-gui/res/cardsfolder/g/glissa_sunseeker.txt | 2 +- forge-gui/res/cardsfolder/g/gloom_surgeon.txt | 2 +- forge-gui/res/cardsfolder/g/gloomlance.txt | 2 +- forge-gui/res/cardsfolder/g/glorious_protector.txt | 2 +- forge-gui/res/cardsfolder/g/gluttonous_troll.txt | 2 +- forge-gui/res/cardsfolder/g/glyph_of_delusion.txt | 2 +- forge-gui/res/cardsfolder/g/glyph_of_life.txt | 2 +- .../res/cardsfolder/g/glyph_of_reincarnation.txt | 2 +- forge-gui/res/cardsfolder/g/gnaw_to_the_bone.txt | 2 +- .../cardsfolder/g/gnostro_voice_of_the_crags.txt | 6 +++--- forge-gui/res/cardsfolder/g/goatnap.txt | 2 +- forge-gui/res/cardsfolder/g/goblin_barrage.txt | 2 +- forge-gui/res/cardsfolder/g/goblin_charbelcher.txt | 4 ++-- forge-gui/res/cardsfolder/g/goblin_dynamo.txt | 2 +- forge-gui/res/cardsfolder/g/goblin_game.txt | 4 ++-- forge-gui/res/cardsfolder/g/goblin_gathering.txt | 2 +- forge-gui/res/cardsfolder/g/goblin_goliath.txt | 4 ++-- forge-gui/res/cardsfolder/g/goblin_lyre.txt | 4 ++-- forge-gui/res/cardsfolder/g/goblin_machinist.txt | 2 +- forge-gui/res/cardsfolder/g/goblin_offensive.txt | 2 +- forge-gui/res/cardsfolder/g/goblin_piledriver.txt | 2 +- forge-gui/res/cardsfolder/g/goblin_psychopath.txt | 2 +- .../res/cardsfolder/g/goblin_rabblemaster.txt | 2 +- forge-gui/res/cardsfolder/g/goblin_razerunners.txt | 2 +- forge-gui/res/cardsfolder/g/goblin_recruiter.txt | 2 +- forge-gui/res/cardsfolder/g/goblin_tinkerer.txt | 2 +- forge-gui/res/cardsfolder/g/goblin_war_strike.txt | 2 +- forge-gui/res/cardsfolder/g/god_eternal_bontu.txt | 4 ++-- forge-gui/res/cardsfolder/g/god_eternal_rhonas.txt | 2 +- forge-gui/res/cardsfolder/g/golden_demise.txt | 4 ++-- .../g/golden_guardian_gold_forge_garrison.txt | 2 +- forge-gui/res/cardsfolder/g/golden_urn.txt | 2 +- .../res/cardsfolder/g/goldnight_castigator.txt | 2 +- forge-gui/res/cardsfolder/g/goldnight_redeemer.txt | 2 +- forge-gui/res/cardsfolder/g/gomazoa.txt | 2 +- .../cardsfolder/g/gor_muldrak_amphinologist.txt | 2 +- forge-gui/res/cardsfolder/g/gore_vassal.txt | 2 +- forge-gui/res/cardsfolder/g/gorging_vulture.txt | 2 +- forge-gui/res/cardsfolder/g/gorilla_shaman.txt | 2 +- forge-gui/res/cardsfolder/g/grab_the_reins.txt | 2 +- forge-gui/res/cardsfolder/g/graceblade_artisan.txt | 2 +- forge-gui/res/cardsfolder/g/graceful_reprieve.txt | 2 +- .../res/cardsfolder/g/grakmaw_skyclave_ravager.txt | 2 +- forge-gui/res/cardsfolder/g/grand_ossuary.txt | 4 ++-- .../res/cardsfolder/g/grand_warlord_radha.txt | 2 +- forge-gui/res/cardsfolder/g/grasp_of_fate.txt | 2 +- .../res/cardsfolder/g/gratuitous_violence.txt | 2 +- forge-gui/res/cardsfolder/g/grave_consequences.txt | 6 +++--- forge-gui/res/cardsfolder/g/grave_sifter.txt | 2 +- forge-gui/res/cardsfolder/g/grave_strength.txt | 2 +- .../res/cardsfolder/g/graveblade_marauder.txt | 2 +- forge-gui/res/cardsfolder/g/graveborn_muse.txt | 4 ++-- forge-gui/res/cardsfolder/g/graven_lore.txt | 2 +- forge-gui/res/cardsfolder/g/gravepurge.txt | 2 +- forge-gui/res/cardsfolder/g/graverobber_spider.txt | 2 +- forge-gui/res/cardsfolder/g/gravestorm.txt | 2 +- forge-gui/res/cardsfolder/g/graveyard_shovel.txt | 2 +- forge-gui/res/cardsfolder/g/gravitic_punch.txt | 2 +- forge-gui/res/cardsfolder/g/graxiplon.txt | 2 +- .../cardsfolder/g/gray_merchant_of_asphodel.txt | 2 +- forge-gui/res/cardsfolder/g/great_defender.txt | 2 +- forge-gui/res/cardsfolder/g/greatbow_doyen.txt | 2 +- forge-gui/res/cardsfolder/g/greater_good.txt | 2 +- forge-gui/res/cardsfolder/g/greel_mind_raker.txt | 2 +- forge-gui/res/cardsfolder/g/green_mana_battery.txt | 2 +- forge-gui/res/cardsfolder/g/green_suns_zenith.txt | 2 +- .../res/cardsfolder/g/grenzo_dungeon_warden.txt | 2 +- forge-gui/res/cardsfolder/g/grenzos_ruffians.txt | 2 +- .../res/cardsfolder/g/greven_predator_captain.txt | 6 +++--- forge-gui/res/cardsfolder/g/gridlock.txt | 2 +- forge-gui/res/cardsfolder/g/grief_tyrant.txt | 2 +- forge-gui/res/cardsfolder/g/grim_feast.txt | 2 +- forge-gui/res/cardsfolder/g/grim_flowering.txt | 2 +- forge-gui/res/cardsfolder/g/grind_dust.txt | 2 +- forge-gui/res/cardsfolder/g/grindclock.txt | 2 +- forge-gui/res/cardsfolder/g/grindstone.txt | 2 +- forge-gui/res/cardsfolder/g/grisly_spectacle.txt | 2 +- forge-gui/res/cardsfolder/g/gristleback.txt | 2 +- .../g/grizzled_angler_grisly_anglerfish.txt | 4 ++-- forge-gui/res/cardsfolder/g/grizzly_fate.txt | 2 +- forge-gui/res/cardsfolder/g/grollub.txt | 2 +- forge-gui/res/cardsfolder/g/grotag_bug_catcher.txt | 2 +- .../res/cardsfolder/g/grothama_all_devouring.txt | 2 +- forge-gui/res/cardsfolder/g/ground_assault.txt | 2 +- forge-gui/res/cardsfolder/g/groundswell.txt | 2 +- .../res/cardsfolder/g/grow_from_the_ashes.txt | 2 +- ..._rites_of_itlimoc_itlimoc_cradle_of_the_sun.txt | 4 ++-- forge-gui/res/cardsfolder/g/growth_cycle.txt | 2 +- forge-gui/res/cardsfolder/g/grozoth.txt | 2 +- forge-gui/res/cardsfolder/g/gruesome_discovery.txt | 2 +- forge-gui/res/cardsfolder/g/gruesome_fate.txt | 2 +- forge-gui/res/cardsfolder/g/gruesome_scourger.txt | 2 +- forge-gui/res/cardsfolder/g/gruesome_slaughter.txt | 2 +- .../res/cardsfolder/g/grunn_the_lonely_king.txt | 2 +- forge-gui/res/cardsfolder/g/gruul_beastmaster.txt | 2 +- forge-gui/res/cardsfolder/g/guardian_angel.txt | 2 +- .../res/cardsfolder/g/guardian_of_the_gateless.txt | 2 +- forge-gui/res/cardsfolder/g/guided_passage.txt | 2 +- forge-gui/res/cardsfolder/g/guild_feud.txt | 2 +- forge-gui/res/cardsfolder/g/guild_summit.txt | 4 ++-- forge-gui/res/cardsfolder/g/guiltfeeder.txt | 2 +- forge-gui/res/cardsfolder/g/guilty_conscience.txt | 2 +- forge-gui/res/cardsfolder/g/gutterbones.txt | 2 +- forge-gui/res/cardsfolder/g/guul_draz_overseer.txt | 2 +- forge-gui/res/cardsfolder/g/gyre_sage.txt | 2 +- .../res/cardsfolder/g/gyrus_waker_of_corpses.txt | 2 +- .../h/hadanas_climb_winged_temple_of_orazca.txt | 2 +- .../cardsfolder/h/hagra_mauling_hagra_broodpit.txt | 2 +- forge-gui/res/cardsfolder/h/hail_of_arrows.txt | 2 +- .../res/cardsfolder/h/halana_kessig_ranger.txt | 2 +- forge-gui/res/cardsfolder/h/halfdane.txt | 2 +- forge-gui/res/cardsfolder/h/halimar_excavator.txt | 2 +- .../res/cardsfolder/h/hallar_the_firefletcher.txt | 2 +- forge-gui/res/cardsfolder/h/hallow.txt | 2 +- .../res/cardsfolder/h/hallowed_spiritkeeper.txt | 2 +- forge-gui/res/cardsfolder/h/hamletback_goliath.txt | 2 +- forge-gui/res/cardsfolder/h/hammer_mage.txt | 2 +- .../cardsfolder/h/hamza_guardian_of_arashin.txt | 4 ++-- forge-gui/res/cardsfolder/h/hands_of_binding.txt | 2 +- forge-gui/res/cardsfolder/h/hangarback_walker.txt | 2 +- forge-gui/res/cardsfolder/h/hankyu.txt | 2 +- ...r_battlements_hanweir_the_writhing_township.txt | 2 +- ...anweir_militia_captain_westvale_cult_leader.txt | 2 +- forge-gui/res/cardsfolder/h/happily_ever_after.txt | 2 +- forge-gui/res/cardsfolder/h/harabaz_druid.txt | 2 +- forge-gui/res/cardsfolder/h/hardened_scales.txt | 2 +- forge-gui/res/cardsfolder/h/harmony_of_nature.txt | 4 ++-- forge-gui/res/cardsfolder/h/harness_by_force.txt | 2 +- .../res/cardsfolder/h/harnessed_lightning.txt | 4 ++-- forge-gui/res/cardsfolder/h/harpoon_sniper.txt | 2 +- forge-gui/res/cardsfolder/h/harsh_justice.txt | 2 +- forge-gui/res/cardsfolder/h/harsh_sustenance.txt | 4 ++-- forge-gui/res/cardsfolder/h/harvest_mage.txt | 2 +- forge-gui/res/cardsfolder/h/harvest_pyre.txt | 2 +- forge-gui/res/cardsfolder/h/harvest_season.txt | 2 +- forge-gui/res/cardsfolder/h/harvest_wurm.txt | 2 +- forge-gui/res/cardsfolder/h/hatchery_spider.txt | 2 +- forge-gui/res/cardsfolder/h/hateflayer.txt | 2 +- forge-gui/res/cardsfolder/h/hateful_eidolon.txt | 2 +- forge-gui/res/cardsfolder/h/hatred.txt | 2 +- forge-gui/res/cardsfolder/h/haunting_hymn.txt | 2 +- forge-gui/res/cardsfolder/h/haunting_misery.txt | 2 +- forge-gui/res/cardsfolder/h/haunting_voyage.txt | 2 +- forge-gui/res/cardsfolder/h/hazduhr_the_abbot.txt | 6 +++--- forge-gui/res/cardsfolder/h/hazezon_tamar.txt | 2 +- forge-gui/res/cardsfolder/h/head_games.txt | 2 +- forge-gui/res/cardsfolder/h/heal_the_scars.txt | 2 +- forge-gui/res/cardsfolder/h/healing_grace.txt | 4 ++-- forge-gui/res/cardsfolder/h/heart_of_bogardan.txt | 4 ++-- .../res/cardsfolder/h/heart_piercer_manticore.txt | 2 +- forge-gui/res/cardsfolder/h/heart_wolf.txt | 2 +- .../res/cardsfolder/h/heartfire_immolator.txt | 2 +- forge-gui/res/cardsfolder/h/hearth_kami.txt | 2 +- forge-gui/res/cardsfolder/h/heartlash_cinder.txt | 2 +- .../res/cardsfolder/h/heartless_hidetsugu.txt | 2 +- forge-gui/res/cardsfolder/h/heartless_pillage.txt | 2 +- .../res/cardsfolder/h/heartwarming_redemption.txt | 4 ++-- forge-gui/res/cardsfolder/h/heat_ray.txt | 2 +- forge-gui/res/cardsfolder/h/heaven_earth.txt | 4 ++-- .../res/cardsfolder/h/heavenly_blademaster.txt | 2 +- forge-gui/res/cardsfolder/h/heavens_gate.txt | 2 +- forge-gui/res/cardsfolder/h/hedron_alignment.txt | 2 +- forge-gui/res/cardsfolder/h/heed_the_mists.txt | 2 +- forge-gui/res/cardsfolder/h/heedless_one.txt | 2 +- .../res/cardsfolder/h/heliod_god_of_the_sun.txt | 2 +- forge-gui/res/cardsfolder/h/heliod_sun_crowned.txt | 2 +- .../res/cardsfolder/h/heliods_intervention.txt | 6 +++--- forge-gui/res/cardsfolder/h/heliophial.txt | 2 +- forge-gui/res/cardsfolder/h/helix_pinnacle.txt | 2 +- forge-gui/res/cardsfolder/h/hellfire.txt | 2 +- forge-gui/res/cardsfolder/h/hellhole_flailer.txt | 2 +- forge-gui/res/cardsfolder/h/hellhole_rats.txt | 2 +- forge-gui/res/cardsfolder/h/hellion_eruption.txt | 2 +- forge-gui/res/cardsfolder/h/hellkite_igniter.txt | 2 +- forge-gui/res/cardsfolder/h/helm_of_kaldra.txt | 4 ++-- forge-gui/res/cardsfolder/h/helm_of_obedience.txt | 14 +++++++------- forge-gui/res/cardsfolder/h/helm_of_the_gods.txt | 2 +- forge-gui/res/cardsfolder/h/herald_of_leshrac.txt | 2 +- .../res/cardsfolder/h/herald_of_the_forgotten.txt | 2 +- forge-gui/res/cardsfolder/h/herald_of_war.txt | 2 +- .../res/cardsfolder/h/heretics_punishment.txt | 2 +- .../res/cardsfolder/h/hero_of_leina_tower.txt | 2 +- forge-gui/res/cardsfolder/h/heroes_bane.txt | 2 +- forge-gui/res/cardsfolder/h/heroes_podium.txt | 2 +- forge-gui/res/cardsfolder/h/hex_parasite.txt | 4 ++-- forge-gui/res/cardsfolder/h/hibernations_end.txt | 2 +- forge-gui/res/cardsfolder/h/hide_seek.txt | 2 +- .../res/cardsfolder/h/hidetsugus_second_rite.txt | 2 +- .../res/cardsfolder/h/hisoka_minamo_sensei.txt | 2 +- forge-gui/res/cardsfolder/h/hit_run.txt | 4 ++-- .../res/cardsfolder/h/hoard_smelter_dragon.txt | 2 +- forge-gui/res/cardsfolder/h/hoarders_greed.txt | 4 ++-- forge-gui/res/cardsfolder/h/hold_the_gates.txt | 2 +- forge-gui/res/cardsfolder/h/hold_the_perimeter.txt | 2 +- forge-gui/res/cardsfolder/h/hollow_specter.txt | 2 +- forge-gui/res/cardsfolder/h/hollow_trees.txt | 2 +- .../res/cardsfolder/h/homarid_spawning_bed.txt | 2 +- .../res/cardsfolder/h/honden_of_cleansing_fire.txt | 2 +- .../res/cardsfolder/h/honden_of_infinite_rage.txt | 2 +- .../res/cardsfolder/h/honden_of_lifes_web.txt | 2 +- .../res/cardsfolder/h/honden_of_nights_reach.txt | 2 +- .../res/cardsfolder/h/honden_of_seeing_winds.txt | 2 +- forge-gui/res/cardsfolder/h/honor_the_fallen.txt | 2 +- forge-gui/res/cardsfolder/h/honorable_passage.txt | 2 +- forge-gui/res/cardsfolder/h/honorable_scout.txt | 2 +- forge-gui/res/cardsfolder/h/hooded_horror.txt | 2 +- forge-gui/res/cardsfolder/h/hooded_hydra.txt | 2 +- forge-gui/res/cardsfolder/h/horde_of_boggarts.txt | 2 +- forge-gui/res/cardsfolder/h/horned_cheetah.txt | 2 +- forge-gui/res/cardsfolder/h/hornet_nest.txt | 2 +- forge-gui/res/cardsfolder/h/hostility.txt | 2 +- forge-gui/res/cardsfolder/h/hour_of_eternity.txt | 2 +- forge-gui/res/cardsfolder/h/hour_of_glory.txt | 2 +- forge-gui/res/cardsfolder/h/hour_of_need.txt | 2 +- forge-gui/res/cardsfolder/h/howl_from_beyond.txt | 2 +- forge-gui/res/cardsfolder/h/howl_of_the_horde.txt | 2 +- .../res/cardsfolder/h/howl_of_the_night_pack.txt | 2 +- forge-gui/res/cardsfolder/h/howltooth_hollow.txt | 2 +- .../res/cardsfolder/h/huatli_dinosaur_knight.txt | 2 +- .../res/cardsfolder/h/huatli_radiant_champion.txt | 4 ++-- .../res/cardsfolder/h/huatli_the_suns_heart.txt | 2 +- .../res/cardsfolder/h/huatli_warrior_poet.txt | 4 ++-- forge-gui/res/cardsfolder/h/huatlis_spurring.txt | 2 +- .../res/cardsfolder/h/hunger_of_the_howlpack.txt | 2 +- forge-gui/res/cardsfolder/h/hunger_of_the_nim.txt | 2 +- forge-gui/res/cardsfolder/h/hungering_hydra.txt | 2 +- forge-gui/res/cardsfolder/h/hunters_edge.txt | 2 +- forge-gui/res/cardsfolder/h/hunters_feast.txt | 2 +- forge-gui/res/cardsfolder/h/hunters_insight.txt | 2 +- forge-gui/res/cardsfolder/h/hunters_prowess.txt | 2 +- forge-gui/res/cardsfolder/h/huntmaster_liger.txt | 2 +- forge-gui/res/cardsfolder/h/hurricane.txt | 2 +- forge-gui/res/cardsfolder/h/hydra_broodmaster.txt | 2 +- forge-gui/res/cardsfolder/h/hydra_omnivore.txt | 2 +- forge-gui/res/cardsfolder/h/hydroblast.txt | 2 +- forge-gui/res/cardsfolder/h/hydroid_krasis.txt | 4 ++-- forge-gui/res/cardsfolder/h/hypnotic_cloud.txt | 2 +- .../i/ib_halfheart_goblin_tactician.txt | 2 +- .../res/cardsfolder/i/icatian_moneychanger.txt | 2 +- forge-gui/res/cardsfolder/i/icatian_store.txt | 2 +- forge-gui/res/cardsfolder/i/ice_cauldron.txt | 2 +- forge-gui/res/cardsfolder/i/icebreaker_kraken.txt | 2 +- forge-gui/res/cardsfolder/i/ichor_explosion.txt | 2 +- forge-gui/res/cardsfolder/i/icy_blast.txt | 2 +- forge-gui/res/cardsfolder/i/idle_thoughts.txt | 2 +- forge-gui/res/cardsfolder/i/idol_of_oblivion.txt | 2 +- forge-gui/res/cardsfolder/i/ignite_memories.txt | 2 +- .../res/cardsfolder/i/ikra_shidiqi_the_usurper.txt | 2 +- forge-gui/res/cardsfolder/i/illicit_auction.txt | 2 +- forge-gui/res/cardsfolder/i/illuminate.txt | 6 +++--- forge-gui/res/cardsfolder/i/illumination.txt | 2 +- forge-gui/res/cardsfolder/i/illusionary_mask.txt | 2 +- forge-gui/res/cardsfolder/i/illusory_ambusher.txt | 2 +- forge-gui/res/cardsfolder/i/ilysian_caryatid.txt | 2 +- forge-gui/res/cardsfolder/i/imaginary_threats.txt | 2 +- .../res/cardsfolder/i/immaculate_magistrate.txt | 2 +- forge-gui/res/cardsfolder/i/immersturm.txt | 2 +- forge-gui/res/cardsfolder/i/imminent_doom.txt | 2 +- forge-gui/res/cardsfolder/i/immolating_gyre.txt | 2 +- forge-gui/res/cardsfolder/i/immortal_coil.txt | 2 +- forge-gui/res/cardsfolder/i/immortal_servitude.txt | 2 +- forge-gui/res/cardsfolder/i/impelled_giant.txt | 2 +- forge-gui/res/cardsfolder/i/impetuous_protege.txt | 2 +- forge-gui/res/cardsfolder/i/imps_mischief.txt | 2 +- .../res/cardsfolder/i/impulsive_maneuvers.txt | 6 +++--- .../res/cardsfolder/i/in_the_eye_of_chaos.txt | 2 +- forge-gui/res/cardsfolder/i/iname_death_aspect.txt | 2 +- forge-gui/res/cardsfolder/i/iname_life_aspect.txt | 2 +- forge-gui/res/cardsfolder/i/incendiary.txt | 2 +- forge-gui/res/cardsfolder/i/incendiary_command.txt | 2 +- forge-gui/res/cardsfolder/i/incite_rebellion.txt | 2 +- forge-gui/res/cardsfolder/i/incite_war.txt | 2 +- forge-gui/res/cardsfolder/i/incoming.txt | 2 +- .../res/cardsfolder/i/increasing_ambition.txt | 2 +- .../res/cardsfolder/i/increasing_confusion.txt | 2 +- .../res/cardsfolder/i/increasing_devotion.txt | 2 +- .../res/cardsfolder/i/increasing_savagery.txt | 2 +- .../res/cardsfolder/i/increasing_vengeance.txt | 2 +- forge-gui/res/cardsfolder/i/incubation_druid.txt | 2 +- .../res/cardsfolder/i/indomitable_creativity.txt | 2 +- forge-gui/res/cardsfolder/i/induce_despair.txt | 2 +- forge-gui/res/cardsfolder/i/induce_paranoia.txt | 2 +- forge-gui/res/cardsfolder/i/induced_amnesia.txt | 2 +- forge-gui/res/cardsfolder/i/infernal_contract.txt | 2 +- forge-gui/res/cardsfolder/i/infernal_genesis.txt | 2 +- forge-gui/res/cardsfolder/i/infernal_kirin.txt | 2 +- forge-gui/res/cardsfolder/i/infernal_offering.txt | 2 +- forge-gui/res/cardsfolder/i/infernal_reckoning.txt | 2 +- forge-gui/res/cardsfolder/i/infernal_tutor.txt | 6 +++--- forge-gui/res/cardsfolder/i/inferno_trap.txt | 2 +- forge-gui/res/cardsfolder/i/information_dealer.txt | 2 +- .../res/cardsfolder/i/infuse_with_the_elements.txt | 2 +- forge-gui/res/cardsfolder/i/infused_arrows.txt | 2 +- .../i/ink_eyes_servant_of_oni_avatar.txt | 2 +- .../cardsfolder/i/inner_calm_outer_strength.txt | 2 +- forge-gui/res/cardsfolder/i/inner_fire.txt | 2 +- forge-gui/res/cardsfolder/i/inner_struggle.txt | 2 +- forge-gui/res/cardsfolder/i/inquisition.txt | 2 +- forge-gui/res/cardsfolder/i/inquisitors_flail.txt | 2 +- .../res/cardsfolder/i/insatiable_appetite.txt | 2 +- .../res/cardsfolder/i/insatiable_hemophage.txt | 4 ++-- .../res/cardsfolder/i/inscription_of_abundance.txt | 4 ++-- .../res/cardsfolder/i/inscription_of_insight.txt | 4 ++-- .../res/cardsfolder/i/inscription_of_ruin.txt | 2 +- forge-gui/res/cardsfolder/i/insidious_dreams.txt | 2 +- forge-gui/res/cardsfolder/i/inspired_sphinx.txt | 2 +- forge-gui/res/cardsfolder/i/inspiring_call.txt | 2 +- forge-gui/res/cardsfolder/i/inspiring_vantage.txt | 2 +- forge-gui/res/cardsfolder/i/instigator.txt | 2 +- forge-gui/res/cardsfolder/i/insult_injury.txt | 2 +- .../res/cardsfolder/i/interpret_the_signs.txt | 2 +- forge-gui/res/cardsfolder/i/intervention_pact.txt | 2 +- forge-gui/res/cardsfolder/i/invade_the_city.txt | 2 +- forge-gui/res/cardsfolder/i/invasive_surgery.txt | 6 +++--- forge-gui/res/cardsfolder/i/invigorating_falls.txt | 2 +- forge-gui/res/cardsfolder/i/invincible_hymn.txt | 2 +- forge-gui/res/cardsfolder/i/invoke_prejudice.txt | 2 +- .../res/cardsfolder/i/invoke_the_firemind.txt | 4 ++-- forge-gui/res/cardsfolder/i/ire_of_kaminari.txt | 2 +- forge-gui/res/cardsfolder/i/irencrag_feat.txt | 2 +- .../res/cardsfolder/i/iridescent_hornbeetle.txt | 2 +- .../res/cardsfolder/i/iroas_god_of_victory.txt | 2 +- forge-gui/res/cardsfolder/i/iron_maiden.txt | 2 +- forge-gui/res/cardsfolder/i/irradiate.txt | 2 +- .../res/cardsfolder/i/isareth_the_awakener.txt | 4 ++-- forge-gui/res/cardsfolder/i/ishkanah_grafwidow.txt | 2 +- .../res/cardsfolder/i/isolated_watchtower.txt | 2 +- forge-gui/res/cardsfolder/i/ivory_tower.txt | 2 +- forge-gui/res/cardsfolder/i/ivy_seer.txt | 2 +- forge-gui/res/cardsfolder/i/ixidors_will.txt | 2 +- forge-gui/res/cardsfolder/i/ixidron.txt | 2 +- .../res/cardsfolder/i/izoni_thousand_eyed.txt | 2 +- forge-gui/res/cardsfolder/i/izzet_chemister.txt | 2 +- forge-gui/res/cardsfolder/j/jace_memory_adept.txt | 2 +- forge-gui/res/cardsfolder/j/jace_mirror_mage.txt | 2 +- .../j/jace_vryns_prodigy_jace_telepath_unbound.txt | 2 +- .../cardsfolder/j/jace_wielder_of_mysteries.txt | 2 +- forge-gui/res/cardsfolder/j/jaces_archivist.txt | 2 +- forge-gui/res/cardsfolder/j/jaces_phantasm.txt | 2 +- forge-gui/res/cardsfolder/j/jaces_triumph.txt | 2 +- forge-gui/res/cardsfolder/j/jackal_pup.txt | 2 +- forge-gui/res/cardsfolder/j/jaddi_lifestrider.txt | 4 ++-- forge-gui/res/cardsfolder/j/jaded_response.txt | 2 +- forge-gui/res/cardsfolder/j/jagged_poppet.txt | 4 ++-- .../res/cardsfolder/j/jagged_scar_archers.txt | 2 +- forge-gui/res/cardsfolder/j/jar_of_eyeballs.txt | 2 +- .../res/cardsfolder/j/jarad_golgari_lich_lord.txt | 2 +- .../cardsfolder/j/jared_carthalion_true_heir.txt | 2 +- forge-gui/res/cardsfolder/j/jasmine_seer.txt | 2 +- forge-gui/res/cardsfolder/j/jaws_of_stone.txt | 2 +- forge-gui/res/cardsfolder/j/jaya_ballard.txt | 2 +- .../res/cardsfolder/j/jaya_ballard_avatar.txt | 2 +- .../res/cardsfolder/j/jaya_venerated_firemage.txt | 2 +- .../res/cardsfolder/j/jayas_immolating_inferno.txt | 2 +- forge-gui/res/cardsfolder/j/jazal_goldmane.txt | 2 +- .../res/cardsfolder/j/jeleva_nephalias_scourge.txt | 2 +- .../res/cardsfolder/j/jeska_thrice_reborn.txt | 4 ++-- forge-gui/res/cardsfolder/j/jeskas_will.txt | 4 ++-- forge-gui/res/cardsfolder/j/jesters_mask.txt | 2 +- forge-gui/res/cardsfolder/j/jeweled_amulet.txt | 2 +- forge-gui/res/cardsfolder/j/jeweled_bird.txt | 2 +- forge-gui/res/cardsfolder/j/jiang_yanggu.txt | 2 +- forge-gui/res/cardsfolder/j/jinxed_choker.txt | 2 +- forge-gui/res/cardsfolder/j/jirina_kudro.txt | 2 +- .../res/cardsfolder/j/jiwari_the_earth_aflame.txt | 4 ++-- forge-gui/res/cardsfolder/j/johtull_wurm.txt | 2 +- .../res/cardsfolder/j/jolrael_mwonvuli_recluse.txt | 2 +- .../jorn_god_of_winter_kaldring_the_rimestaff.txt | 2 +- forge-gui/res/cardsfolder/j/jotun_owl_keeper.txt | 2 +- .../res/cardsfolder/j/journey_to_oblivion.txt | 2 +- forge-gui/res/cardsfolder/j/jovial_evil.txt | 2 +- forge-gui/res/cardsfolder/j/joyous_respite.txt | 2 +- forge-gui/res/cardsfolder/j/judge_unworthy.txt | 2 +- forge-gui/res/cardsfolder/j/jungle_wurm.txt | 2 +- forge-gui/res/cardsfolder/j/junkyo_bell.txt | 2 +- .../res/cardsfolder/j/juri_master_of_the_revue.txt | 2 +- .../j/jushi_apprentice_tomoya_the_revealer.txt | 4 ++-- forge-gui/res/cardsfolder/j/justice.txt | 2 +- forge-gui/res/cardsfolder/j/justice_strike.txt | 2 +- forge-gui/res/cardsfolder/j/juxtapose.txt | 8 ++++---- forge-gui/res/cardsfolder/k/kabira_outrider.txt | 2 +- .../k/kabira_takedown_kabira_plateau.txt | 2 +- forge-gui/res/cardsfolder/k/kaboom.txt | 4 ++-- .../res/cardsfolder/k/kaervek_the_merciless.txt | 2 +- forge-gui/res/cardsfolder/k/kaerveks_purge.txt | 4 ++-- forge-gui/res/cardsfolder/k/kaerveks_torch.txt | 2 +- .../res/cardsfolder/k/kagemaro_first_to_suffer.txt | 4 ++-- forge-gui/res/cardsfolder/k/kagemaros_clutch.txt | 2 +- .../res/cardsfolder/k/kaho_minamo_historian.txt | 2 +- .../cardsfolder/k/kalemne_disciple_of_iroas.txt | 2 +- .../cardsfolder/k/kalitas_bloodchief_of_ghet.txt | 2 +- forge-gui/res/cardsfolder/k/kalonian_twingrove.txt | 2 +- .../res/cardsfolder/k/kamahls_druidic_vow.txt | 2 +- forge-gui/res/cardsfolder/k/kamahls_summons.txt | 2 +- forge-gui/res/cardsfolder/k/kamahls_will.txt | 6 +++--- .../res/cardsfolder/k/kami_of_the_honored_dead.txt | 2 +- .../res/cardsfolder/k/kangee_aerie_keeper.txt | 4 ++-- .../res/cardsfolder/k/karador_ghost_chieftain.txt | 2 +- .../cardsfolder/k/karametra_god_of_harvests.txt | 2 +- forge-gui/res/cardsfolder/k/karametras_acolyte.txt | 2 +- forge-gui/res/cardsfolder/k/karma.txt | 2 +- forge-gui/res/cardsfolder/k/karn_silver_golem.txt | 2 +- .../res/cardsfolder/k/karn_the_great_creator.txt | 2 +- forge-gui/res/cardsfolder/k/karns_touch.txt | 2 +- forge-gui/res/cardsfolder/k/karplusan_yeti.txt | 4 ++-- .../res/cardsfolder/k/kathril_aspect_warper.txt | 2 +- forge-gui/res/cardsfolder/k/kavu_mauler.txt | 2 +- forge-gui/res/cardsfolder/k/kavu_predator.txt | 4 ++-- .../res/cardsfolder/k/kaya_orzhov_usurper.txt | 4 ++-- forge-gui/res/cardsfolder/k/kayas_wrath.txt | 2 +- forge-gui/res/cardsfolder/k/kaza_roil_chaser.txt | 2 +- .../cardsfolder/k/kazuuls_fury_kazuuls_cliffs.txt | 2 +- .../cardsfolder/k/kediss_emberclaw_familiar.txt | 2 +- forge-gui/res/cardsfolder/k/keening_stone.txt | 2 +- forge-gui/res/cardsfolder/k/keep_watch.txt | 2 +- .../res/cardsfolder/k/keeper_of_the_accord.txt | 4 ++-- forge-gui/res/cardsfolder/k/keeper_of_the_dead.txt | 2 +- forge-gui/res/cardsfolder/k/keeper_of_the_mind.txt | 2 +- forge-gui/res/cardsfolder/k/keldon_battlewagon.txt | 2 +- forge-gui/res/cardsfolder/k/keldon_raider.txt | 2 +- forge-gui/res/cardsfolder/k/keldon_twilight.txt | 2 +- forge-gui/res/cardsfolder/k/keldon_warlord.txt | 2 +- forge-gui/res/cardsfolder/k/kelsien_the_plague.txt | 2 +- forge-gui/res/cardsfolder/k/kemba_kha_regent.txt | 2 +- forge-gui/res/cardsfolder/k/kembas_legion.txt | 2 +- .../res/cardsfolder/k/keranos_god_of_storms.txt | 2 +- .../res/cardsfolder/k/keruga_the_macrosage.txt | 2 +- .../res/cardsfolder/k/kessig_cagebreakers.txt | 2 +- forge-gui/res/cardsfolder/k/kessig_malcontents.txt | 2 +- forge-gui/res/cardsfolder/k/kessig_wolf_run.txt | 2 +- forge-gui/res/cardsfolder/k/khabal_ghoul.txt | 2 +- forge-gui/res/cardsfolder/k/khalni_hydra.txt | 2 +- forge-gui/res/cardsfolder/k/kharasha_foothills.txt | 4 ++-- forge-gui/res/cardsfolder/k/kheru_dreadmaw.txt | 2 +- forge-gui/res/cardsfolder/k/khorvaths_fury.txt | 4 ++-- forge-gui/res/cardsfolder/k/kiku_nights_flower.txt | 2 +- forge-gui/res/cardsfolder/k/kikus_shadow.txt | 2 +- forge-gui/res/cardsfolder/k/kill_suit_cultist.txt | 2 +- forge-gui/res/cardsfolder/k/killing_glare.txt | 2 +- forge-gui/res/cardsfolder/k/killing_wave.txt | 4 ++-- forge-gui/res/cardsfolder/k/kilnmouth_dragon.txt | 2 +- forge-gui/res/cardsfolder/k/kilnspire_district.txt | 4 ++-- .../res/cardsfolder/k/kin_tree_invocation.txt | 2 +- forge-gui/res/cardsfolder/k/kindle.txt | 2 +- forge-gui/res/cardsfolder/k/kindle_the_carnage.txt | 2 +- forge-gui/res/cardsfolder/k/kindred_summons.txt | 2 +- forge-gui/res/cardsfolder/k/kinetic_augur.txt | 4 ++-- .../res/cardsfolder/k/king_haralds_revenge.txt | 2 +- .../cardsfolder/k/king_macar_the_gold_cursed.txt | 2 +- .../res/cardsfolder/k/kinsbaile_borderguard.txt | 2 +- forge-gui/res/cardsfolder/k/kioras_dismissal.txt | 2 +- forge-gui/res/cardsfolder/k/kithkin_rabble.txt | 2 +- forge-gui/res/cardsfolder/k/kitsune_bonesetter.txt | 2 +- forge-gui/res/cardsfolder/k/kitsune_loreweaver.txt | 2 +- .../res/cardsfolder/k/kiyomaro_first_to_stand.txt | 2 +- .../res/cardsfolder/k/kjeldoran_elite_guard.txt | 2 +- forge-gui/res/cardsfolder/k/kjeldoran_gargoyle.txt | 2 +- forge-gui/res/cardsfolder/k/kjeldoran_guard.txt | 2 +- .../res/cardsfolder/k/kjeldoran_javelineer.txt | 2 +- forge-gui/res/cardsfolder/k/kjeldoran_war_cry.txt | 2 +- .../res/cardsfolder/k/klothys_god_of_destiny.txt | 2 +- forge-gui/res/cardsfolder/k/klothyss_design.txt | 2 +- forge-gui/res/cardsfolder/k/knollspine_dragon.txt | 2 +- .../res/cardsfolder/k/knollspine_invocation.txt | 2 +- forge-gui/res/cardsfolder/k/knotvine_paladin.txt | 2 +- forge-gui/res/cardsfolder/k/know_evil.txt | 2 +- .../res/cardsfolder/k/know_naught_but_fire.txt | 2 +- forge-gui/res/cardsfolder/k/knowledge_vault.txt | 4 ++-- .../cardsfolder/k/kodama_of_the_center_tree.txt | 2 +- .../res/cardsfolder/k/kodama_of_the_east_tree.txt | 2 +- forge-gui/res/cardsfolder/k/kor_chant.txt | 2 +- forge-gui/res/cardsfolder/k/kor_dirge.txt | 2 +- .../cardsfolder/k/korlash_heir_to_blackblade.txt | 2 +- forge-gui/res/cardsfolder/k/korozda_guildmage.txt | 2 +- forge-gui/res/cardsfolder/k/koth_of_the_hammer.txt | 2 +- .../cardsfolder/k/kozilek_the_great_distortion.txt | 2 +- forge-gui/res/cardsfolder/k/kraul_foragers.txt | 2 +- forge-gui/res/cardsfolder/k/kraul_harpooner.txt | 2 +- .../res/cardsfolder/k/krav_the_unredeemed.txt | 6 +++--- forge-gui/res/cardsfolder/k/krenko_mob_boss.txt | 2 +- .../cardsfolder/k/krenko_tin_street_kingpin.txt | 2 +- .../res/cardsfolder/k/kresh_the_bloodbraided.txt | 2 +- .../k/kresh_the_bloodbraided_avatar.txt | 2 +- forge-gui/res/cardsfolder/k/krovikan_mist.txt | 2 +- forge-gui/res/cardsfolder/k/krovikan_whispers.txt | 2 +- .../cardsfolder/k/kroxa_titan_of_deaths_hunger.txt | 2 +- .../res/cardsfolder/k/kruphix_god_of_horizons.txt | 2 +- forge-gui/res/cardsfolder/k/kry_shield.txt | 2 +- forge-gui/res/cardsfolder/k/kumenas_awakening.txt | 4 ++-- forge-gui/res/cardsfolder/k/kumenas_speaker.txt | 2 +- forge-gui/res/cardsfolder/k/kusari_gama.txt | 2 +- .../res/cardsfolder/k/kydele_chosen_of_kruphix.txt | 2 +- forge-gui/res/cardsfolder/k/kyren_toy.txt | 2 +- forge-gui/res/cardsfolder/k/kytheons_tactics.txt | 2 +- forge-gui/res/cardsfolder/l/laboratory_drudge.txt | 4 ++-- forge-gui/res/cardsfolder/l/laccolith_grunt.txt | 2 +- forge-gui/res/cardsfolder/l/laccolith_rig.txt | 2 +- forge-gui/res/cardsfolder/l/laccolith_titan.txt | 2 +- forge-gui/res/cardsfolder/l/laccolith_warrior.txt | 2 +- forge-gui/res/cardsfolder/l/laccolith_whelp.txt | 2 +- .../res/cardsfolder/l/lagonna_band_storyteller.txt | 2 +- .../res/cardsfolder/l/lair_of_the_ashen_idol.txt | 4 ++-- forge-gui/res/cardsfolder/l/lake_of_the_dead.txt | 4 ++-- forge-gui/res/cardsfolder/l/lammastide_weave.txt | 2 +- forge-gui/res/cardsfolder/l/lancers_en_kor.txt | 2 +- forge-gui/res/cardsfolder/l/landbind_ritual.txt | 2 +- forge-gui/res/cardsfolder/l/lands_edge.txt | 2 +- forge-gui/res/cardsfolder/l/landslide.txt | 4 ++-- .../res/cardsfolder/l/laquatuss_creativity.txt | 4 ++-- forge-gui/res/cardsfolder/l/lashknife_barrier.txt | 2 +- forge-gui/res/cardsfolder/l/last_chance.txt | 2 +- forge-gui/res/cardsfolder/l/last_ditch_effort.txt | 4 ++-- forge-gui/res/cardsfolder/l/last_rites.txt | 2 +- forge-gui/res/cardsfolder/l/last_stand.txt | 12 ++++++------ .../cardsfolder/l/lathiel_the_bounteous_dawn.txt | 2 +- .../cardsfolder/l/lathril_blade_of_the_elves.txt | 2 +- .../res/cardsfolder/l/latulla_keldon_overseer.txt | 2 +- forge-gui/res/cardsfolder/l/launch_the_fleet.txt | 2 +- forge-gui/res/cardsfolder/l/lava_burst.txt | 4 ++-- forge-gui/res/cardsfolder/l/lavaball_trap.txt | 2 +- forge-gui/res/cardsfolder/l/lavaclaw_reaches.txt | 2 +- forge-gui/res/cardsfolder/l/lavakin_brawler.txt | 2 +- forge-gui/res/cardsfolder/l/lavalanche.txt | 4 ++-- .../res/cardsfolder/l/lazav_the_multifarious.txt | 2 +- forge-gui/res/cardsfolder/l/leafkin_avenger.txt | 4 ++-- forge-gui/res/cardsfolder/l/leafkin_druid.txt | 2 +- forge-gui/res/cardsfolder/l/leave_chance.txt | 4 ++-- forge-gui/res/cardsfolder/l/ledev_champion.txt | 6 +++--- forge-gui/res/cardsfolder/l/leeches.txt | 2 +- forge-gui/res/cardsfolder/l/legacys_allure.txt | 2 +- .../res/cardsfolder/l/legion_conquistador.txt | 2 +- .../l/legions_landing_adanto_the_first_fort.txt | 2 +- .../res/cardsfolder/l/lena_selfless_champion.txt | 2 +- forge-gui/res/cardsfolder/l/leyline_tyrant.txt | 2 +- forge-gui/res/cardsfolder/l/lhurgoyf.txt | 2 +- forge-gui/res/cardsfolder/l/liars_pendulum.txt | 4 ++-- forge-gui/res/cardsfolder/l/lich.txt | 6 +++--- forge-gui/res/cardsfolder/l/lich_lord_of_unx.txt | 4 ++-- forge-gui/res/cardsfolder/l/lichenthrope.txt | 2 +- forge-gui/res/cardsfolder/l/lichs_mastery.txt | 4 ++-- forge-gui/res/cardsfolder/l/lichs_tomb.txt | 2 +- .../res/cardsfolder/l/licia_sanguine_tribune.txt | 2 +- .../res/cardsfolder/l/liege_of_the_hollows.txt | 2 +- forge-gui/res/cardsfolder/l/liege_of_the_pit.txt | 2 +- .../res/cardsfolder/l/liege_of_the_tangle.txt | 2 +- .../res/cardsfolder/l/liesa_shroud_of_dusk.txt | 4 ++-- forge-gui/res/cardsfolder/l/life_burst.txt | 2 +- forge-gui/res/cardsfolder/l/life_chisel.txt | 2 +- forge-gui/res/cardsfolder/l/life_death.txt | 2 +- forge-gui/res/cardsfolder/l/life_goes_on.txt | 2 +- forge-gui/res/cardsfolder/l/lifeblood_hydra.txt | 4 ++-- .../res/cardsfolder/l/lifecraft_awakening.txt | 2 +- forge-gui/res/cardsfolder/l/lifes_legacy.txt | 2 +- forge-gui/res/cardsfolder/l/light_of_promise.txt | 2 +- .../res/cardsfolder/l/lightkeeper_of_emeria.txt | 2 +- forge-gui/res/cardsfolder/l/lightmine_field.txt | 2 +- forge-gui/res/cardsfolder/l/lightning_coils.txt | 2 +- forge-gui/res/cardsfolder/l/lightning_dart.txt | 4 ++-- forge-gui/res/cardsfolder/l/lightning_reaver.txt | 2 +- forge-gui/res/cardsfolder/l/lightning_storm.txt | 2 +- forge-gui/res/cardsfolder/l/lightning_surge.txt | 4 ++-- forge-gui/res/cardsfolder/l/liliana_death_mage.txt | 2 +- ...eretical_healer_liliana_defiant_necromancer.txt | 2 +- .../cardsfolder/l/liliana_of_the_dark_realms.txt | 4 ++-- .../res/cardsfolder/l/liliana_the_last_hope.txt | 2 +- .../cardsfolder/l/liliana_untouched_by_death.txt | 2 +- .../cardsfolder/l/liliana_waker_of_the_dead.txt | 4 ++-- forge-gui/res/cardsfolder/l/lilianas_contract.txt | 2 +- .../res/cardsfolder/l/lilianas_indignation.txt | 4 ++-- forge-gui/res/cardsfolder/l/lilianas_scrounger.txt | 2 +- .../res/cardsfolder/l/lilianas_standard_bearer.txt | 2 +- forge-gui/res/cardsfolder/l/lilting_refrain.txt | 2 +- forge-gui/res/cardsfolder/l/lim_duls_paladin.txt | 4 ++-- .../res/cardsfolder/l/lin_sivvi_defiant_hero.txt | 2 +- .../res/cardsfolder/l/linessa_zephyr_mage.txt | 2 +- .../res/cardsfolder/l/linvala_the_preserver.txt | 2 +- forge-gui/res/cardsfolder/l/liquid_fire.txt | 4 ++-- .../res/cardsfolder/l/littjara_kinseekers.txt | 2 +- forge-gui/res/cardsfolder/l/living_armor.txt | 2 +- forge-gui/res/cardsfolder/l/living_artifact.txt | 2 +- forge-gui/res/cardsfolder/l/living_destiny.txt | 2 +- forge-gui/res/cardsfolder/l/living_hive.txt | 2 +- forge-gui/res/cardsfolder/l/living_inferno.txt | 4 ++-- forge-gui/res/cardsfolder/l/living_lore.txt | 2 +- forge-gui/res/cardsfolder/l/loaming_shaman.txt | 2 +- forge-gui/res/cardsfolder/l/lobotomy.txt | 4 ++-- forge-gui/res/cardsfolder/l/lofty_denial.txt | 2 +- forge-gui/res/cardsfolder/l/logic_knot.txt | 2 +- forge-gui/res/cardsfolder/l/lookouts_dispersal.txt | 2 +- forge-gui/res/cardsfolder/l/lord_of_extinction.txt | 2 +- forge-gui/res/cardsfolder/l/lord_of_the_pit.txt | 2 +- forge-gui/res/cardsfolder/l/loreseekers_stone.txt | 2 +- forge-gui/res/cardsfolder/l/lost_in_the_woods.txt | 2 +- forge-gui/res/cardsfolder/l/lost_legacy.txt | 8 ++++---- .../res/cardsfolder/l/lost_order_of_jarkeld.txt | 2 +- forge-gui/res/cardsfolder/l/lotleth_giant.txt | 2 +- forge-gui/res/cardsfolder/l/lotus_blossom.txt | 2 +- forge-gui/res/cardsfolder/l/lotus_vale.txt | 4 ++-- .../res/cardsfolder/l/loxodon_lifechanter.txt | 4 ++-- forge-gui/res/cardsfolder/l/loyal_apprentice.txt | 2 +- forge-gui/res/cardsfolder/l/loyal_unicorn.txt | 4 ++-- .../ludevics_test_subject_ludevics_abomination.txt | 2 +- .../res/cardsfolder/l/lukka_coppercoat_outcast.txt | 4 ++-- .../res/cardsfolder/l/lullmages_domination.txt | 2 +- .../res/cardsfolder/l/lumbering_battlement.txt | 4 ++-- .../res/cardsfolder/l/luminate_primordial.txt | 2 +- forge-gui/res/cardsfolder/l/luminescent_rain.txt | 2 +- forge-gui/res/cardsfolder/l/lurking_arynx.txt | 2 +- forge-gui/res/cardsfolder/l/lurking_evil.txt | 2 +- forge-gui/res/cardsfolder/l/lurking_predators.txt | 2 +- forge-gui/res/cardsfolder/l/luxa_river_shrine.txt | 2 +- forge-gui/res/cardsfolder/l/luxury_suite.txt | 2 +- .../res/cardsfolder/l/lys_alana_scarblade.txt | 2 +- .../res/cardsfolder/l/lyzolda_the_blood_witch.txt | 4 ++-- .../l/lyzolda_the_blood_witch_avatar.txt | 2 +- forge-gui/res/cardsfolder/m/machinate.txt | 2 +- forge-gui/res/cardsfolder/m/mad_dog.txt | 2 +- forge-gui/res/cardsfolder/m/madcap_experiment.txt | 2 +- .../res/cardsfolder/m/maddening_cacophony.txt | 4 ++-- .../res/cardsfolder/m/maga_traitor_to_mortals.txt | 2 +- forge-gui/res/cardsfolder/m/mage_ring_network.txt | 2 +- forge-gui/res/cardsfolder/m/mage_slayer.txt | 2 +- forge-gui/res/cardsfolder/m/mages_contest.txt | 2 +- forge-gui/res/cardsfolder/m/magma_burst.txt | 2 +- forge-gui/res/cardsfolder/m/magma_mine.txt | 2 +- forge-gui/res/cardsfolder/m/magma_sliver.txt | 2 +- forge-gui/res/cardsfolder/m/magmaquake.txt | 2 +- forge-gui/res/cardsfolder/m/magmasaur.txt | 2 +- forge-gui/res/cardsfolder/m/magmatic_core.txt | 2 +- forge-gui/res/cardsfolder/m/magnetic_mountain.txt | 2 +- forge-gui/res/cardsfolder/m/magnigoth_treefolk.txt | 10 +++++----- forge-gui/res/cardsfolder/m/magnivore.txt | 2 +- .../res/cardsfolder/m/magus_of_the_candelabra.txt | 2 +- .../res/cardsfolder/m/magus_of_the_coffers.txt | 2 +- forge-gui/res/cardsfolder/m/magus_of_the_mind.txt | 4 ++-- forge-gui/res/cardsfolder/m/majestic_myriarch.txt | 2 +- .../res/cardsfolder/m/make_yourself_useful.txt | 2 +- .../res/cardsfolder/m/malakir_blood_priest.txt | 4 ++-- forge-gui/res/cardsfolder/m/malakir_bloodwitch.txt | 2 +- .../cardsfolder/m/malcolm_keen_eyed_navigator.txt | 2 +- forge-gui/res/cardsfolder/m/malefic_scythe.txt | 2 +- forge-gui/res/cardsfolder/m/malfegor.txt | 2 +- forge-gui/res/cardsfolder/m/malicious_advice.txt | 4 ++-- forge-gui/res/cardsfolder/m/malignant_growth.txt | 4 ++-- forge-gui/res/cardsfolder/m/malignus.txt | 2 +- forge-gui/res/cardsfolder/m/mana_cache.txt | 2 +- .../res/cardsfolder/m/mana_charged_dragon.txt | 6 +++--- forge-gui/res/cardsfolder/m/mana_drain.txt | 2 +- forge-gui/res/cardsfolder/m/mana_echoes.txt | 2 +- forge-gui/res/cardsfolder/m/mana_geyser.txt | 2 +- forge-gui/res/cardsfolder/m/mana_seism.txt | 4 ++-- forge-gui/res/cardsfolder/m/mana_severance.txt | 2 +- forge-gui/res/cardsfolder/m/manaforce_mace.txt | 2 +- forge-gui/res/cardsfolder/m/manaplasm.txt | 2 +- forge-gui/res/cardsfolder/m/mangaras_equity.txt | 2 +- forge-gui/res/cardsfolder/m/manor_gargoyle.txt | 2 +- .../m/maralen_of_the_mornsong_avatar.txt | 4 ++-- .../res/cardsfolder/m/marath_will_of_the_wild.txt | 8 ++++---- forge-gui/res/cardsfolder/m/marauding_knight.txt | 2 +- forge-gui/res/cardsfolder/m/marauding_looter.txt | 2 +- forge-gui/res/cardsfolder/m/maraxus_of_keld.txt | 2 +- .../res/cardsfolder/m/march_from_the_tomb.txt | 2 +- forge-gui/res/cardsfolder/m/march_of_souls.txt | 2 +- .../res/cardsfolder/m/march_of_the_multitudes.txt | 2 +- forge-gui/res/cardsfolder/m/marionette_master.txt | 2 +- forge-gui/res/cardsfolder/m/mark_of_sakiko.txt | 2 +- forge-gui/res/cardsfolder/m/maro.txt | 2 +- forge-gui/res/cardsfolder/m/marrow_chomper.txt | 2 +- forge-gui/res/cardsfolder/m/marrow_gnawer.txt | 2 +- forge-gui/res/cardsfolder/m/marsh_casualties.txt | 2 +- .../res/cardsfolder/m/marshaling_the_troops.txt | 4 ++-- forge-gui/res/cardsfolder/m/marshals_anthem.txt | 2 +- forge-gui/res/cardsfolder/m/marshmist_titan.txt | 2 +- forge-gui/res/cardsfolder/m/martial_coup.txt | 4 ++-- forge-gui/res/cardsfolder/m/marton_stromgald.txt | 4 ++-- forge-gui/res/cardsfolder/m/martyr_of_ashes.txt | 2 +- forge-gui/res/cardsfolder/m/martyr_of_bones.txt | 2 +- forge-gui/res/cardsfolder/m/martyr_of_frost.txt | 2 +- forge-gui/res/cardsfolder/m/martyr_of_sands.txt | 2 +- forge-gui/res/cardsfolder/m/martyr_of_spores.txt | 2 +- forge-gui/res/cardsfolder/m/martyrdom.txt | 2 +- .../res/cardsfolder/m/marwyn_the_nurturer.txt | 2 +- .../res/cardsfolder/m/mask_of_intolerance.txt | 2 +- forge-gui/res/cardsfolder/m/mass_appeal.txt | 2 +- forge-gui/res/cardsfolder/m/mass_manipulation.txt | 2 +- forge-gui/res/cardsfolder/m/mass_mutiny.txt | 2 +- forge-gui/res/cardsfolder/m/mass_polymorph.txt | 2 +- forge-gui/res/cardsfolder/m/massacre.txt | 2 +- forge-gui/res/cardsfolder/m/massive_raid.txt | 2 +- forge-gui/res/cardsfolder/m/master_biomancer.txt | 2 +- forge-gui/res/cardsfolder/m/master_of_etherium.txt | 2 +- .../res/cardsfolder/m/master_of_the_wild_hunt.txt | 4 ++-- forge-gui/res/cardsfolder/m/master_of_waves.txt | 2 +- forge-gui/res/cardsfolder/m/master_the_way.txt | 2 +- .../res/cardsfolder/m/mastery_of_the_unseen.txt | 2 +- .../res/cardsfolder/m/masumaro_first_to_live.txt | 2 +- forge-gui/res/cardsfolder/m/matca_rioters.txt | 2 +- forge-gui/res/cardsfolder/m/matopi_golem.txt | 2 +- forge-gui/res/cardsfolder/m/mausoleum_secrets.txt | 2 +- forge-gui/res/cardsfolder/m/mausoleum_wanderer.txt | 2 +- .../res/cardsfolder/m/mayael_the_anima_avatar.txt | 2 +- forge-gui/res/cardsfolder/m/mazes_end.txt | 2 +- .../res/cardsfolder/m/mechanized_production.txt | 2 +- forge-gui/res/cardsfolder/m/megatherium.txt | 2 +- forge-gui/res/cardsfolder/m/meglonoth.txt | 2 +- .../res/cardsfolder/m/meishin_the_mind_cage.txt | 2 +- forge-gui/res/cardsfolder/m/meltdown.txt | 2 +- forge-gui/res/cardsfolder/m/memoricide.txt | 6 +++--- forge-gui/res/cardsfolder/m/menacing_ogre.txt | 2 +- forge-gui/res/cardsfolder/m/mephitic_ooze.txt | 2 +- forge-gui/res/cardsfolder/m/mercadian_bazaar.txt | 2 +- forge-gui/res/cardsfolder/m/mercadian_lift.txt | 2 +- forge-gui/res/cardsfolder/m/mercadias_downfall.txt | 2 +- forge-gui/res/cardsfolder/m/merchants_dockhand.txt | 2 +- .../res/cardsfolder/m/mercurial_chemister.txt | 2 +- forge-gui/res/cardsfolder/m/mercy_killing.txt | 2 +- .../res/cardsfolder/m/meren_of_clan_nel_toth.txt | 4 ++-- forge-gui/res/cardsfolder/m/merfolk_windrobber.txt | 2 +- forge-gui/res/cardsfolder/m/merieke_ri_berit.txt | 2 +- forge-gui/res/cardsfolder/m/messenger_jays.txt | 2 +- .../res/cardsfolder/m/metallurgic_summonings.txt | 2 +- forge-gui/res/cardsfolder/m/metalwork_colossus.txt | 2 +- forge-gui/res/cardsfolder/m/metalworker.txt | 2 +- forge-gui/res/cardsfolder/m/metamorphosis.txt | 2 +- forge-gui/res/cardsfolder/m/metathran_aerostat.txt | 2 +- forge-gui/res/cardsfolder/m/meteor_blast.txt | 2 +- forge-gui/res/cardsfolder/m/meteor_shower.txt | 2 +- .../cardsfolder/m/michonne_ruthless_survivor.txt | 2 +- forge-gui/res/cardsfolder/m/midnight_oil.txt | 2 +- forge-gui/res/cardsfolder/m/midnight_ritual.txt | 4 ++-- forge-gui/res/cardsfolder/m/midsummer_revel.txt | 2 +- .../res/cardsfolder/m/might_beyond_reason.txt | 2 +- forge-gui/res/cardsfolder/m/might_makes_right.txt | 2 +- forge-gui/res/cardsfolder/m/might_of_alara.txt | 2 +- forge-gui/res/cardsfolder/m/might_of_murasa.txt | 2 +- forge-gui/res/cardsfolder/m/might_of_old_krosa.txt | 2 +- .../res/cardsfolder/m/might_of_the_masses.txt | 2 +- .../res/cardsfolder/m/might_of_the_nephilim.txt | 2 +- forge-gui/res/cardsfolder/m/militant_angel.txt | 2 +- .../res/cardsfolder/m/militant_inquisitor.txt | 2 +- forge-gui/res/cardsfolder/m/miming_slime.txt | 2 +- forge-gui/res/cardsfolder/m/minamo_sightbender.txt | 2 +- forge-gui/res/cardsfolder/m/mind_bomb.txt | 4 ++-- forge-gui/res/cardsfolder/m/mind_burst.txt | 2 +- forge-gui/res/cardsfolder/m/mind_carver.txt | 2 +- forge-gui/res/cardsfolder/m/mind_grind.txt | 2 +- forge-gui/res/cardsfolder/m/mind_maggots.txt | 6 +++--- forge-gui/res/cardsfolder/m/mind_shatter.txt | 2 +- forge-gui/res/cardsfolder/m/mind_sludge.txt | 2 +- forge-gui/res/cardsfolder/m/mind_spring.txt | 2 +- forge-gui/res/cardsfolder/m/mind_twist.txt | 2 +- forge-gui/res/cardsfolder/m/mind_unbound.txt | 2 +- forge-gui/res/cardsfolder/m/mind_warp.txt | 2 +- forge-gui/res/cardsfolder/m/mindblaze.txt | 4 ++-- forge-gui/res/cardsfolder/m/mindbreak_trap.txt | 4 ++-- forge-gui/res/cardsfolder/m/mindcrank.txt | 2 +- forge-gui/res/cardsfolder/m/mindleecher.txt | 2 +- forge-gui/res/cardsfolder/m/mindmoil.txt | 2 +- forge-gui/res/cardsfolder/m/minds_aglow.txt | 6 +++--- forge-gui/res/cardsfolder/m/mindshrieker.txt | 2 +- forge-gui/res/cardsfolder/m/mindswipe.txt | 4 ++-- forge-gui/res/cardsfolder/m/mindwrack_demon.txt | 2 +- .../res/cardsfolder/m/minion_of_the_wastes.txt | 2 +- forge-gui/res/cardsfolder/m/minions_murmurs.txt | 4 ++-- forge-gui/res/cardsfolder/m/minotaur_explorer.txt | 2 +- .../res/cardsfolder/m/minotaur_illusionist.txt | 2 +- forge-gui/res/cardsfolder/m/minotaur_tactician.txt | 4 ++-- forge-gui/res/cardsfolder/m/mire_kavu.txt | 2 +- .../res/cardsfolder/m/miren_the_moaning_well.txt | 2 +- forge-gui/res/cardsfolder/m/mires_toll.txt | 2 +- forge-gui/res/cardsfolder/m/mirran_mettle.txt | 2 +- forge-gui/res/cardsfolder/m/mirrodin_besieged.txt | 2 +- forge-gui/res/cardsfolder/m/mirror_entity.txt | 2 +- .../res/cardsfolder/m/mirror_entity_avatar.txt | 2 +- .../res/cardsfolder/m/mirror_mad_phantasm.txt | 2 +- .../res/cardsfolder/m/mirrorwood_treefolk.txt | 2 +- forge-gui/res/cardsfolder/m/mishra.txt | 2 +- forge-gui/res/cardsfolder/m/mishras_helix.txt | 2 +- forge-gui/res/cardsfolder/m/mist_of_stagnation.txt | 2 +- .../res/cardsfolder/m/mizzix_of_the_izmagnus.txt | 2 +- forge-gui/res/cardsfolder/m/mob_justice.txt | 2 +- forge-gui/res/cardsfolder/m/mob_mentality.txt | 4 ++-- forge-gui/res/cardsfolder/m/mobilized_district.txt | 2 +- .../res/cardsfolder/m/modo_the_gnarled_oracle.txt | 4 ++-- forge-gui/res/cardsfolder/m/mogg_conscripts.txt | 2 +- forge-gui/res/cardsfolder/m/mogg_infestation.txt | 2 +- forge-gui/res/cardsfolder/m/mogg_maniac.txt | 2 +- forge-gui/res/cardsfolder/m/mogg_salvage.txt | 2 +- forge-gui/res/cardsfolder/m/mogg_squad.txt | 2 +- .../res/cardsfolder/m/mogis_god_of_slaughter.txt | 2 +- forge-gui/res/cardsfolder/m/mogiss_marauder.txt | 2 +- forge-gui/res/cardsfolder/m/molder.txt | 4 ++-- forge-gui/res/cardsfolder/m/molderhulk.txt | 2 +- .../res/cardsfolder/m/molimo_maro_sorcerer.txt | 2 +- forge-gui/res/cardsfolder/m/molten_disaster.txt | 2 +- forge-gui/res/cardsfolder/m/molten_hydra.txt | 2 +- forge-gui/res/cardsfolder/m/molten_primordial.txt | 2 +- forge-gui/res/cardsfolder/m/molten_psyche.txt | 4 ++-- forge-gui/res/cardsfolder/m/molten_slagheap.txt | 2 +- forge-gui/res/cardsfolder/m/momentous_fall.txt | 4 ++-- forge-gui/res/cardsfolder/m/momentum.txt | 2 +- .../m/momir_vig_simic_visionary_avatar.txt | 2 +- forge-gui/res/cardsfolder/m/monkey_cage.txt | 2 +- forge-gui/res/cardsfolder/m/monsoon.txt | 2 +- .../res/cardsfolder/m/monstrous_onslaught.txt | 2 +- forge-gui/res/cardsfolder/m/moodmark_painter.txt | 2 +- forge-gui/res/cardsfolder/m/moonlight_hunt.txt | 2 +- forge-gui/res/cardsfolder/m/morbid_bloom.txt | 2 +- forge-gui/res/cardsfolder/m/morbid_curiosity.txt | 2 +- forge-gui/res/cardsfolder/m/mordant_dragon.txt | 2 +- forge-gui/res/cardsfolder/m/morgue_burst.txt | 2 +- .../res/cardsfolder/m/moritte_of_the_frost.txt | 2 +- forge-gui/res/cardsfolder/m/morkrut_banshee.txt | 2 +- forge-gui/res/cardsfolder/m/morphic_pool.txt | 2 +- forge-gui/res/cardsfolder/m/morphic_tide.txt | 2 +- .../res/cardsfolder/m/mortal_flesh_is_weak.txt | 2 +- forge-gui/res/cardsfolder/m/mortis_dogs.txt | 2 +- forge-gui/res/cardsfolder/m/mortivore.txt | 2 +- forge-gui/res/cardsfolder/m/mosswort_bridge.txt | 2 +- forge-gui/res/cardsfolder/m/mount_keralia.txt | 2 +- forge-gui/res/cardsfolder/m/mourning_thrull.txt | 2 +- forge-gui/res/cardsfolder/m/mouth_feed.txt | 2 +- .../res/cardsfolder/m/mowu_loyal_companion.txt | 2 +- forge-gui/res/cardsfolder/m/mox_diamond.txt | 4 ++-- forge-gui/res/cardsfolder/m/mudbrawler_cohort.txt | 2 +- forge-gui/res/cardsfolder/m/mudslide.txt | 2 +- forge-gui/res/cardsfolder/m/multani.txt | 2 +- .../res/cardsfolder/m/multani_maro_sorcerer.txt | 2 +- .../res/cardsfolder/m/multani_yavimayas_avatar.txt | 2 +- forge-gui/res/cardsfolder/m/multanis_decree.txt | 2 +- forge-gui/res/cardsfolder/m/munitions_expert.txt | 2 +- forge-gui/res/cardsfolder/m/murasa_pyromancer.txt | 2 +- .../res/cardsfolder/m/murder_investigation.txt | 2 +- forge-gui/res/cardsfolder/m/murderous_betrayal.txt | 2 +- forge-gui/res/cardsfolder/m/murderous_redcap.txt | 2 +- .../res/cardsfolder/m/murderous_redcap_avatar.txt | 2 +- forge-gui/res/cardsfolder/m/muscle_burst.txt | 2 +- forge-gui/res/cardsfolder/m/musician.txt | 2 +- forge-gui/res/cardsfolder/m/mutilate.txt | 2 +- forge-gui/res/cardsfolder/m/mutiny.txt | 2 +- .../res/cardsfolder/m/muxus_goblin_grandee.txt | 2 +- .../cardsfolder/m/muzzio_visionary_architect.txt | 2 +- forge-gui/res/cardsfolder/m/mwonvuli_ooze.txt | 2 +- forge-gui/res/cardsfolder/m/my_laughter_echoes.txt | 2 +- forge-gui/res/cardsfolder/m/mycoloth.txt | 2 +- forge-gui/res/cardsfolder/m/mycosynth_fiend.txt | 2 +- .../res/cardsfolder/m/myojin_of_lifes_web.txt | 2 +- .../res/cardsfolder/m/myojin_of_seeing_winds.txt | 2 +- forge-gui/res/cardsfolder/m/myr_adapter.txt | 2 +- forge-gui/res/cardsfolder/m/myr_battlesphere.txt | 2 +- forge-gui/res/cardsfolder/m/myr_incubator.txt | 4 ++-- forge-gui/res/cardsfolder/m/myriad_construct.txt | 4 ++-- .../res/cardsfolder/m/mysteries_of_the_deep.txt | 2 +- forge-gui/res/cardsfolder/m/mystic_genesis.txt | 2 +- forge-gui/res/cardsfolder/m/mystical_dispute.txt | 2 +- forge-gui/res/cardsfolder/n/naar_isle.txt | 2 +- .../cardsfolder/n/nadier_agent_of_the_duskenel.txt | 2 +- .../cardsfolder/n/nahiri_heir_of_the_ancients.txt | 2 +- .../res/cardsfolder/n/nahiri_storm_of_stone.txt | 2 +- .../res/cardsfolder/n/nahiris_lithoforming.txt | 6 +++--- forge-gui/res/cardsfolder/n/nahiris_wrath.txt | 2 +- forge-gui/res/cardsfolder/n/nameless_one.txt | 2 +- forge-gui/res/cardsfolder/n/nameless_race.txt | 2 +- .../res/cardsfolder/n/nantuko_blightcutter.txt | 2 +- forge-gui/res/cardsfolder/n/nantuko_cultivator.txt | 6 +++--- forge-gui/res/cardsfolder/n/nantuko_mentor.txt | 2 +- forge-gui/res/cardsfolder/n/nantuko_shrine.txt | 2 +- .../cardsfolder/n/narset_of_the_ancient_way.txt | 2 +- forge-gui/res/cardsfolder/n/natures_panoply.txt | 2 +- forge-gui/res/cardsfolder/n/natures_resurgence.txt | 2 +- forge-gui/res/cardsfolder/n/natures_way.txt | 2 +- forge-gui/res/cardsfolder/n/navigators_ruin.txt | 2 +- forge-gui/res/cardsfolder/n/naya.txt | 2 +- forge-gui/res/cardsfolder/n/naya_hushblade.txt | 2 +- forge-gui/res/cardsfolder/n/naya_soulbeast.txt | 2 +- forge-gui/res/cardsfolder/n/nebuchadnezzar.txt | 2 +- forge-gui/res/cardsfolder/n/necra_sanctuary.txt | 4 ++-- forge-gui/res/cardsfolder/n/necravolver.txt | 2 +- forge-gui/res/cardsfolder/n/necrologia.txt | 2 +- .../res/cardsfolder/n/necromancers_covenant.txt | 2 +- .../res/cardsfolder/n/necromancers_stockpile.txt | 2 +- .../res/cardsfolder/n/necromantic_summons.txt | 2 +- forge-gui/res/cardsfolder/n/necromentia.txt | 8 ++++---- forge-gui/res/cardsfolder/n/necroplasm.txt | 2 +- forge-gui/res/cardsfolder/n/necropolis.txt | 2 +- forge-gui/res/cardsfolder/n/necropolis_fiend.txt | 2 +- forge-gui/res/cardsfolder/n/necropolis_regent.txt | 2 +- .../res/cardsfolder/n/necropotence_avatar.txt | 4 ++-- forge-gui/res/cardsfolder/n/necrotic_wound.txt | 2 +- forge-gui/res/cardsfolder/n/needle_specter.txt | 2 +- forge-gui/res/cardsfolder/n/needlebite_trap.txt | 2 +- forge-gui/res/cardsfolder/n/nefarious_lich.txt | 6 +++--- .../cardsfolder/n/neheb_dreadhorde_champion.txt | 4 ++-- forge-gui/res/cardsfolder/n/neheb_the_eternal.txt | 2 +- forge-gui/res/cardsfolder/n/nemesis_of_mortals.txt | 2 +- forge-gui/res/cardsfolder/n/neoform.txt | 2 +- .../res/cardsfolder/n/nessian_game_warden.txt | 2 +- forge-gui/res/cardsfolder/n/nest_of_scarabs.txt | 2 +- forge-gui/res/cardsfolder/n/netherborn_altar.txt | 2 +- forge-gui/res/cardsfolder/n/netherborn_phalanx.txt | 2 +- .../res/cardsfolder/n/nethroi_apex_of_death.txt | 2 +- forge-gui/res/cardsfolder/n/neurok_spy.txt | 2 +- .../res/cardsfolder/n/neverending_torment.txt | 2 +- .../res/cardsfolder/n/nevinyrral_urborg_tyrant.txt | 2 +- forge-gui/res/cardsfolder/n/new_frontiers.txt | 2 +- .../res/cardsfolder/n/neyith_of_the_dire_hunt.txt | 2 +- ...nezumi_graverobber_nighteyes_the_desecrator.txt | 2 +- .../n/nezumi_shortfang_stabwhisker_the_odious.txt | 4 ++-- .../res/cardsfolder/n/niambi_esteemed_speaker.txt | 2 +- ...ol_bolas_the_ravager_nicol_bolas_the_arisen.txt | 2 +- forge-gui/res/cardsfolder/n/night_dealings.txt | 4 ++-- forge-gui/res/cardsfolder/n/night_revelers.txt | 2 +- .../res/cardsfolder/n/nighthawk_scavenger.txt | 2 +- forge-gui/res/cardsfolder/n/nighthowler.txt | 2 +- forge-gui/res/cardsfolder/n/nightmare.txt | 2 +- .../res/cardsfolder/n/nightmare_incursion.txt | 2 +- forge-gui/res/cardsfolder/n/nightmare_lash.txt | 2 +- forge-gui/res/cardsfolder/n/nightmare_shepherd.txt | 2 +- forge-gui/res/cardsfolder/n/nightmare_unmaking.txt | 4 ++-- forge-gui/res/cardsfolder/n/nightmares_thirst.txt | 2 +- forge-gui/res/cardsfolder/n/nightmarish_end.txt | 2 +- forge-gui/res/cardsfolder/n/nightpack_ambusher.txt | 2 +- .../res/cardsfolder/n/nightshade_assassin.txt | 2 +- forge-gui/res/cardsfolder/n/nightshade_seer.txt | 2 +- .../res/cardsfolder/n/nightstalker_engine.txt | 2 +- .../res/cardsfolder/n/nikara_lair_scavenger.txt | 4 ++-- forge-gui/res/cardsfolder/n/niko_aris.txt | 2 +- .../res/cardsfolder/n/niko_defies_destiny.txt | 2 +- forge-gui/res/cardsfolder/n/nim_devourer.txt | 2 +- forge-gui/res/cardsfolder/n/nim_grotesque.txt | 2 +- forge-gui/res/cardsfolder/n/nim_lasher.txt | 2 +- forge-gui/res/cardsfolder/n/nim_shambler.txt | 2 +- forge-gui/res/cardsfolder/n/nim_shrieker.txt | 2 +- .../res/cardsfolder/n/nimana_skitter_sneak.txt | 2 +- forge-gui/res/cardsfolder/n/nimble_trapfinder.txt | 4 ++-- forge-gui/res/cardsfolder/n/nimbus_champion.txt | 2 +- .../res/cardsfolder/n/nin_the_pain_artist.txt | 4 ++-- forge-gui/res/cardsfolder/n/nirkana_cutthroat.txt | 4 ++-- .../res/cardsfolder/n/nissa_of_shadowed_boughs.txt | 2 +- forge-gui/res/cardsfolder/n/nissa_revane.txt | 4 ++-- .../cardsfolder/n/nissa_steward_of_elements.txt | 2 +- .../res/cardsfolder/n/nissa_voice_of_zendikar.txt | 4 ++-- .../cardsfolder/n/nissa_who_shakes_the_world.txt | 2 +- forge-gui/res/cardsfolder/n/nissa_worldwaker.txt | 2 +- forge-gui/res/cardsfolder/n/nissas_judgment.txt | 2 +- forge-gui/res/cardsfolder/n/nissas_pilgrimage.txt | 2 +- forge-gui/res/cardsfolder/n/nissas_revelation.txt | 4 ++-- forge-gui/res/cardsfolder/n/no_quarter.txt | 4 ++-- forge-gui/res/cardsfolder/n/noble_purpose.txt | 2 +- forge-gui/res/cardsfolder/n/noetic_scales.txt | 2 +- forge-gui/res/cardsfolder/n/nomad_decoy.txt | 2 +- forge-gui/res/cardsfolder/n/nomads_assembly.txt | 2 +- forge-gui/res/cardsfolder/n/nomads_en_kor.txt | 2 +- forge-gui/res/cardsfolder/n/nostalgic_dreams.txt | 2 +- forge-gui/res/cardsfolder/n/not_of_this_world.txt | 4 ++-- forge-gui/res/cardsfolder/n/notorious_throng.txt | 2 +- forge-gui/res/cardsfolder/n/nourishing_shoal.txt | 2 +- forge-gui/res/cardsfolder/n/nova_pentacle.txt | 2 +- forge-gui/res/cardsfolder/n/noxious_gearhulk.txt | 2 +- forge-gui/res/cardsfolder/n/null_champion.txt | 4 ++-- forge-gui/res/cardsfolder/n/nullstone_gargoyle.txt | 2 +- .../res/cardsfolder/n/numa_joraga_chieftain.txt | 4 ++-- .../res/cardsfolder/n/nykthos_shrine_to_nyx.txt | 2 +- .../res/cardsfolder/n/nylea_god_of_the_hunt.txt | 2 +- forge-gui/res/cardsfolder/n/nylea_keen_eyed.txt | 4 ++-- forge-gui/res/cardsfolder/n/nyleas_colossus.txt | 2 +- forge-gui/res/cardsfolder/n/nyleas_disciple.txt | 2 +- forge-gui/res/cardsfolder/n/nyleas_huntmaster.txt | 2 +- .../res/cardsfolder/n/nyleas_intervention.txt | 6 +++--- forge-gui/res/cardsfolder/n/nyx_lotus.txt | 2 +- forge-gui/res/cardsfolder/n/nyxathid.txt | 2 +- forge-gui/res/cardsfolder/o/oath_of_jace.txt | 2 +- forge-gui/res/cardsfolder/o/oath_of_lim_dul.txt | 2 +- .../cardsfolder/o/ob_nixilis_of_the_black_oath.txt | 4 ++-- forge-gui/res/cardsfolder/o/oblivion_sower.txt | 2 +- forge-gui/res/cardsfolder/o/oboro_envoy.txt | 2 +- .../res/cardsfolder/o/obosh_the_preypiercer.txt | 2 +- forge-gui/res/cardsfolder/o/obstinate_familiar.txt | 2 +- .../res/cardsfolder/o/obuun_mul_daya_ancestor.txt | 2 +- .../res/cardsfolder/o/obzedat_ghost_council.txt | 2 +- forge-gui/res/cardsfolder/o/of_one_mind.txt | 2 +- forge-gui/res/cardsfolder/o/okaun_eye_of_chaos.txt | 2 +- forge-gui/res/cardsfolder/o/oketras_last_mercy.txt | 2 +- forge-gui/res/cardsfolder/o/okina_nightwatch.txt | 2 +- forge-gui/res/cardsfolder/o/old_man_of_the_sea.txt | 2 +- forge-gui/res/cardsfolder/o/omen_of_fire.txt | 2 +- .../res/cardsfolder/o/omnath_locus_of_creation.txt | 2 +- .../res/cardsfolder/o/omnath_locus_of_mana.txt | 2 +- .../res/cardsfolder/o/omnath_locus_of_the_roil.txt | 2 +- forge-gui/res/cardsfolder/o/once_and_future.txt | 4 ++-- forge-gui/res/cardsfolder/o/ondu_cleric.txt | 2 +- .../res/cardsfolder/o/one_with_the_machine.txt | 2 +- .../o/only_blood_ends_your_nightmares.txt | 2 +- forge-gui/res/cardsfolder/o/onward_victory.txt | 2 +- .../res/cardsfolder/o/oona_queen_of_the_fae.txt | 4 ++-- forge-gui/res/cardsfolder/o/ooze_garden.txt | 2 +- .../res/cardsfolder/o/opal_eye_kondas_yojimbo.txt | 2 +- forge-gui/res/cardsfolder/o/opalescence.txt | 2 +- forge-gui/res/cardsfolder/o/opaline_bracers.txt | 2 +- forge-gui/res/cardsfolder/o/open_into_wonder.txt | 2 +- forge-gui/res/cardsfolder/o/ophiomancer.txt | 2 +- forge-gui/res/cardsfolder/o/oppressive_will.txt | 2 +- forge-gui/res/cardsfolder/o/oracle_of_nectars.txt | 2 +- forge-gui/res/cardsfolder/o/oracles_attendants.txt | 2 +- forge-gui/res/cardsfolder/o/oracles_vault.txt | 2 +- .../res/cardsfolder/o/orah_skyclave_hierophant.txt | 2 +- forge-gui/res/cardsfolder/o/oran_rief_hydra.txt | 2 +- forge-gui/res/cardsfolder/o/orchard_elemental.txt | 4 ++-- forge-gui/res/cardsfolder/o/orchard_warden.txt | 2 +- forge-gui/res/cardsfolder/o/orcish_settlers.txt | 2 +- .../res/cardsfolder/o/orcish_squatters_avatar.txt | 2 +- forge-gui/res/cardsfolder/o/ordered_migration.txt | 2 +- forge-gui/res/cardsfolder/o/ore_scale_guardian.txt | 2 +- forge-gui/res/cardsfolder/o/oreskos_explorer.txt | 2 +- forge-gui/res/cardsfolder/o/organ_harvest.txt | 4 ++-- forge-gui/res/cardsfolder/o/orims_prayer.txt | 2 +- forge-gui/res/cardsfolder/o/orims_thunder.txt | 2 +- forge-gui/res/cardsfolder/o/orims_touch.txt | 2 +- .../o/orochi_eggwatcher_shidako_broodmistress.txt | 2 +- forge-gui/res/cardsfolder/o/orochi_hatchery.txt | 2 +- forge-gui/res/cardsfolder/o/orzhov_charm.txt | 2 +- forge-gui/res/cardsfolder/o/orzhova.txt | 2 +- forge-gui/res/cardsfolder/o/osai_vultures.txt | 2 +- forge-gui/res/cardsfolder/o/otherworld_atlas.txt | 2 +- forge-gui/res/cardsfolder/o/outflank.txt | 2 +- forge-gui/res/cardsfolder/o/outmaneuver.txt | 2 +- forge-gui/res/cardsfolder/o/outmuscle.txt | 2 +- forge-gui/res/cardsfolder/o/outnumber.txt | 2 +- forge-gui/res/cardsfolder/o/outrage_shaman.txt | 2 +- forge-gui/res/cardsfolder/o/outrider_en_kor.txt | 2 +- forge-gui/res/cardsfolder/o/overbeing_of_myth.txt | 2 +- forge-gui/res/cardsfolder/o/overblaze.txt | 4 ++-- .../res/cardsfolder/o/overgrown_battlement.txt | 2 +- forge-gui/res/cardsfolder/o/overload.txt | 2 +- forge-gui/res/cardsfolder/o/override.txt | 2 +- forge-gui/res/cardsfolder/o/overrule.txt | 4 ++-- .../res/cardsfolder/o/overwhelming_forces.txt | 2 +- .../res/cardsfolder/o/overwhelming_intellect.txt | 2 +- .../res/cardsfolder/o/overwhelming_stampede.txt | 2 +- forge-gui/res/cardsfolder/o/ovinomancer.txt | 2 +- .../o/oviya_pashiri_sage_lifecrafter.txt | 2 +- forge-gui/res/cardsfolder/p/pack_rat.txt | 2 +- forge-gui/res/cardsfolder/p/packs_disdain.txt | 2 +- .../res/cardsfolder/p/pact_of_the_serpent.txt | 4 ++-- forge-gui/res/cardsfolder/p/pain_kami.txt | 2 +- forge-gui/res/cardsfolder/p/pain_seer.txt | 2 +- forge-gui/res/cardsfolder/p/painbringer.txt | 2 +- forge-gui/res/cardsfolder/p/painful_truths.txt | 4 ++-- forge-gui/res/cardsfolder/p/pains_reward.txt | 2 +- .../res/cardsfolder/p/pako_arcane_retriever.txt | 2 +- .../res/cardsfolder/p/paladin_of_atonement.txt | 4 ++-- forge-gui/res/cardsfolder/p/paladin_of_prahv.txt | 2 +- forge-gui/res/cardsfolder/p/pallimud.txt | 2 +- forge-gui/res/cardsfolder/p/panacea.txt | 2 +- forge-gui/res/cardsfolder/p/pandemonium.txt | 2 +- forge-gui/res/cardsfolder/p/panoptic_mirror.txt | 2 +- .../res/cardsfolder/p/paradoxical_outcome.txt | 4 ++-- .../res/cardsfolder/p/parallectric_feedback.txt | 2 +- forge-gui/res/cardsfolder/p/parallel_lives.txt | 2 +- forge-gui/res/cardsfolder/p/paraselene.txt | 2 +- forge-gui/res/cardsfolder/p/part_water.txt | 2 +- forge-gui/res/cardsfolder/p/parting_thoughts.txt | 4 ++-- forge-gui/res/cardsfolder/p/path_of_bravery.txt | 4 ++-- forge-gui/res/cardsfolder/p/pathbreaker_ibex.txt | 2 +- forge-gui/res/cardsfolder/p/patient_rebuilding.txt | 2 +- forge-gui/res/cardsfolder/p/patriarchs_desire.txt | 2 +- forge-gui/res/cardsfolder/p/patricians_scorn.txt | 2 +- forge-gui/res/cardsfolder/p/pay_tribute_to_me.txt | 2 +- forge-gui/res/cardsfolder/p/peach_garden_oath.txt | 2 +- forge-gui/res/cardsfolder/p/peema_aether_seer.txt | 2 +- .../res/cardsfolder/p/peer_into_the_abyss.txt | 4 ++-- forge-gui/res/cardsfolder/p/peer_pressure.txt | 2 +- forge-gui/res/cardsfolder/p/pelt_collector.txt | 6 +++--- forge-gui/res/cardsfolder/p/pennon_blade.txt | 2 +- .../res/cardsfolder/p/people_of_the_woods.txt | 2 +- forge-gui/res/cardsfolder/p/permafrost_trap.txt | 2 +- forge-gui/res/cardsfolder/p/pernicious_deed.txt | 2 +- .../res/cardsfolder/p/perpetual_timepiece.txt | 2 +- .../res/cardsfolder/p/personal_incarnation.txt | 4 ++-- forge-gui/res/cardsfolder/p/pestilence_rats.txt | 2 +- forge-gui/res/cardsfolder/p/petalmane_baku.txt | 2 +- .../cardsfolder/p/phage_the_untouchable_avatar.txt | 4 ++-- forge-gui/res/cardsfolder/p/phalanx_formation.txt | 2 +- forge-gui/res/cardsfolder/p/phantasmal_mount.txt | 2 +- forge-gui/res/cardsfolder/p/phantasmal_sphere.txt | 2 +- forge-gui/res/cardsfolder/p/phantom_nishoba.txt | 2 +- forge-gui/res/cardsfolder/p/phantom_nomad.txt | 2 +- .../cardsfolder/p/pharika_god_of_affliction.txt | 2 +- .../res/cardsfolder/p/phenax_god_of_deception.txt | 4 ++-- .../res/cardsfolder/p/phosphorescent_feast.txt | 2 +- forge-gui/res/cardsfolder/p/phthisis.txt | 2 +- .../res/cardsfolder/p/phylath_world_sculptor.txt | 2 +- forge-gui/res/cardsfolder/p/phyrexian_delver.txt | 2 +- forge-gui/res/cardsfolder/p/phyrexian_devourer.txt | 2 +- .../res/cardsfolder/p/phyrexian_dreadnought.txt | 4 ++-- forge-gui/res/cardsfolder/p/phyrexian_etchings.txt | 4 ++-- forge-gui/res/cardsfolder/p/phyrexian_hydra.txt | 2 +- forge-gui/res/cardsfolder/p/phyrexian_ingester.txt | 2 +- forge-gui/res/cardsfolder/p/phyrexian_negator.txt | 2 +- .../res/cardsfolder/p/phyrexian_obliterator.txt | 2 +- .../res/cardsfolder/p/phyrexian_processor.txt | 2 +- forge-gui/res/cardsfolder/p/phyrexian_purge.txt | 2 +- forge-gui/res/cardsfolder/p/phyrexian_rebirth.txt | 2 +- .../res/cardsfolder/p/phyrexian_swarmlord.txt | 2 +- forge-gui/res/cardsfolder/p/phyrexian_totem.txt | 2 +- forge-gui/res/cardsfolder/p/phyrexian_unlife.txt | 2 +- forge-gui/res/cardsfolder/p/phytohydra.txt | 2 +- forge-gui/res/cardsfolder/p/pick_the_brain.txt | 6 +++--- forge-gui/res/cardsfolder/p/pillaging_horde.txt | 2 +- forge-gui/res/cardsfolder/p/pillar_of_war.txt | 2 +- forge-gui/res/cardsfolder/p/pious_kitsune.txt | 2 +- forge-gui/res/cardsfolder/p/pious_warrior.txt | 2 +- forge-gui/res/cardsfolder/p/pipers_melody.txt | 2 +- .../res/cardsfolder/p/pir_imaginative_rascal.txt | 2 +- forge-gui/res/cardsfolder/p/plague_rats.txt | 2 +- forge-gui/res/cardsfolder/p/plaguebearer.txt | 2 +- forge-gui/res/cardsfolder/p/planar_despair.txt | 2 +- forge-gui/res/cardsfolder/p/planequake.txt | 2 +- .../res/cardsfolder/p/planeswalkers_favor.txt | 2 +- forge-gui/res/cardsfolder/p/planeswalkers_fury.txt | 2 +- .../res/cardsfolder/p/planeswalkers_mirth.txt | 2 +- .../res/cardsfolder/p/planeswalkers_scorn.txt | 2 +- forge-gui/res/cardsfolder/p/plasm_capture.txt | 2 +- forge-gui/res/cardsfolder/p/pledge_of_unity.txt | 2 +- forge-gui/res/cardsfolder/p/plow_through_reito.txt | 4 ++-- .../res/cardsfolder/p/plunge_into_darkness.txt | 8 ++++---- forge-gui/res/cardsfolder/p/pollen_remedy.txt | 2 +- forge-gui/res/cardsfolder/p/pollenbright_wings.txt | 2 +- .../res/cardsfolder/p/polukranos_unchained.txt | 2 +- .../res/cardsfolder/p/polukranos_world_eater.txt | 4 ++-- forge-gui/res/cardsfolder/p/polymorphous_rush.txt | 2 +- forge-gui/res/cardsfolder/p/pools_of_becoming.txt | 2 +- forge-gui/res/cardsfolder/p/porcuparrot.txt | 2 +- forge-gui/res/cardsfolder/p/postmortem_lunge.txt | 2 +- forge-gui/res/cardsfolder/p/powder_keg.txt | 2 +- forge-gui/res/cardsfolder/p/power_armor.txt | 2 +- forge-gui/res/cardsfolder/p/power_leak.txt | 8 ++++---- forge-gui/res/cardsfolder/p/power_sink.txt | 2 +- forge-gui/res/cardsfolder/p/power_surge.txt | 2 +- .../res/cardsfolder/p/power_without_equal.txt | 2 +- forge-gui/res/cardsfolder/p/powerstone_shard.txt | 2 +- forge-gui/res/cardsfolder/p/pox.txt | 8 ++++---- forge-gui/res/cardsfolder/p/practiced_tactics.txt | 2 +- forge-gui/res/cardsfolder/p/prahv.txt | 2 +- forge-gui/res/cardsfolder/p/prairie_stream.txt | 2 +- forge-gui/res/cardsfolder/p/predators_gambit.txt | 2 +- forge-gui/res/cardsfolder/p/predators_howl.txt | 2 +- forge-gui/res/cardsfolder/p/predators_rapport.txt | 2 +- .../res/cardsfolder/p/predatory_advantage.txt | 2 +- forge-gui/res/cardsfolder/p/predatory_urge.txt | 4 ++-- forge-gui/res/cardsfolder/p/predict.txt | 2 +- .../res/cardsfolder/p/presence_of_the_wise.txt | 2 +- forge-gui/res/cardsfolder/p/price_of_fame.txt | 4 ++-- forge-gui/res/cardsfolder/p/price_of_knowledge.txt | 2 +- forge-gui/res/cardsfolder/p/price_of_progress.txt | 2 +- .../res/cardsfolder/p/pride_of_conquerors.txt | 2 +- .../res/cardsfolder/p/pride_of_the_clouds.txt | 2 +- .../res/cardsfolder/p/priest_of_forgotten_gods.txt | 2 +- .../cardsfolder/p/priest_of_the_haunted_edge.txt | 2 +- forge-gui/res/cardsfolder/p/priest_of_titania.txt | 2 +- forge-gui/res/cardsfolder/p/priest_of_yawgmoth.txt | 2 +- .../p/primal_amulet_primal_wellspring.txt | 8 ++++---- forge-gui/res/cardsfolder/p/primal_bellow.txt | 2 +- forge-gui/res/cardsfolder/p/primal_empathy.txt | 2 +- forge-gui/res/cardsfolder/p/primal_growth.txt | 2 +- forge-gui/res/cardsfolder/p/primal_might.txt | 2 +- forge-gui/res/cardsfolder/p/primal_order.txt | 2 +- forge-gui/res/cardsfolder/p/primal_vigor.txt | 4 ++-- forge-gui/res/cardsfolder/p/primal_whisperer.txt | 2 +- forge-gui/res/cardsfolder/p/primalcrux.txt | 2 +- .../res/cardsfolder/p/prime_speaker_vannifar.txt | 2 +- .../res/cardsfolder/p/prime_speaker_zegana.txt | 2 +- forge-gui/res/cardsfolder/p/primeval_protector.txt | 2 +- forge-gui/res/cardsfolder/p/primitive_justice.txt | 6 +++--- forge-gui/res/cardsfolder/p/primordial_ooze.txt | 4 ++-- forge-gui/res/cardsfolder/p/prismatic_boon.txt | 2 +- forge-gui/res/cardsfolder/p/prismatic_geoscope.txt | 2 +- forge-gui/res/cardsfolder/p/private_research.txt | 2 +- forge-gui/res/cardsfolder/p/profane_command.txt | 10 +++++----- forge-gui/res/cardsfolder/p/profane_prayers.txt | 4 ++-- .../res/cardsfolder/p/profane_transfusion.txt | 2 +- .../res/cardsfolder/p/profaner_of_the_dead.txt | 2 +- forge-gui/res/cardsfolder/p/prohibit.txt | 2 +- forge-gui/res/cardsfolder/p/promise_of_bunrei.txt | 2 +- forge-gui/res/cardsfolder/p/promise_of_power.txt | 2 +- forge-gui/res/cardsfolder/p/proper_burial.txt | 2 +- forge-gui/res/cardsfolder/p/prosperity.txt | 2 +- .../res/cardsfolder/p/prossh_skyraider_of_kher.txt | 2 +- forge-gui/res/cardsfolder/p/protean_hulk.txt | 2 +- forge-gui/res/cardsfolder/p/protean_hydra.txt | 2 +- forge-gui/res/cardsfolder/p/protean_raider.txt | 2 +- forge-gui/res/cardsfolder/p/prototype_portal.txt | 2 +- forge-gui/res/cardsfolder/p/psychic_allergy.txt | 2 +- forge-gui/res/cardsfolder/p/psychic_drain.txt | 4 ++-- forge-gui/res/cardsfolder/p/psychic_rebuttal.txt | 2 +- forge-gui/res/cardsfolder/p/psychic_spiral.txt | 2 +- forge-gui/res/cardsfolder/p/psychic_transfer.txt | 2 +- forge-gui/res/cardsfolder/p/psychosis_crawler.txt | 2 +- forge-gui/res/cardsfolder/p/puffer_extract.txt | 2 +- forge-gui/res/cardsfolder/p/pull_from_tomorrow.txt | 2 +- forge-gui/res/cardsfolder/p/pulse_of_the_dross.txt | 2 +- .../res/cardsfolder/p/pulse_of_the_fields.txt | 2 +- forge-gui/res/cardsfolder/p/pulse_of_the_forge.txt | 2 +- forge-gui/res/cardsfolder/p/pulse_of_the_grid.txt | 2 +- .../res/cardsfolder/p/pulse_of_the_tangle.txt | 2 +- forge-gui/res/cardsfolder/p/pure_reflection.txt | 2 +- forge-gui/res/cardsfolder/p/purity.txt | 2 +- .../res/cardsfolder/p/purphoros_bronze_blooded.txt | 2 +- .../cardsfolder/p/purphoros_god_of_the_forge.txt | 2 +- .../res/cardsfolder/p/purphoross_intervention.txt | 6 +++--- forge-gui/res/cardsfolder/p/putrid_cyclops.txt | 2 +- forge-gui/res/cardsfolder/p/pygmy_hippo.txt | 2 +- forge-gui/res/cardsfolder/p/pygmy_kavu.txt | 2 +- .../res/cardsfolder/p/pyramid_of_the_pantheon.txt | 2 +- forge-gui/res/cardsfolder/p/pyre_of_heroes.txt | 2 +- forge-gui/res/cardsfolder/p/pyroblast.txt | 2 +- .../res/cardsfolder/p/pyromancers_gauntlet.txt | 2 +- forge-gui/res/cardsfolder/p/pyromancers_swath.txt | 2 +- forge-gui/res/cardsfolder/p/pyromancy.txt | 2 +- forge-gui/res/cardsfolder/q/qasali_ambusher.txt | 2 +- forge-gui/res/cardsfolder/q/quag_sickness.txt | 2 +- forge-gui/res/cardsfolder/q/quarantine_field.txt | 2 +- forge-gui/res/cardsfolder/q/quarry_colossus.txt | 2 +- forge-gui/res/cardsfolder/q/quartzwood_crasher.txt | 2 +- forge-gui/res/cardsfolder/q/quash.txt | 4 ++-- .../res/cardsfolder/q/quest_for_pure_flame.txt | 4 ++-- forge-gui/res/cardsfolder/q/questing_beast.txt | 2 +- forge-gui/res/cardsfolder/q/quietus_spike.txt | 2 +- forge-gui/res/cardsfolder/q/quillmane_baku.txt | 2 +- forge-gui/res/cardsfolder/r/rabble_rouser.txt | 2 +- forge-gui/res/cardsfolder/r/rabid_bite.txt | 2 +- forge-gui/res/cardsfolder/r/rabid_elephant.txt | 2 +- forge-gui/res/cardsfolder/r/rabid_wombat.txt | 2 +- forge-gui/res/cardsfolder/r/rackling.txt | 2 +- .../res/cardsfolder/r/radha_heart_of_keld.txt | 2 +- forge-gui/res/cardsfolder/r/radiant_archangel.txt | 2 +- forge-gui/res/cardsfolder/r/radiant_essence.txt | 2 +- forge-gui/res/cardsfolder/r/radiant_flames.txt | 2 +- forge-gui/res/cardsfolder/r/rage_extractor.txt | 2 +- forge-gui/res/cardsfolder/r/ragged_veins.txt | 2 +- forge-gui/res/cardsfolder/r/raiding_party.txt | 4 ++-- forge-gui/res/cardsfolder/r/rain_of_daggers.txt | 2 +- forge-gui/res/cardsfolder/r/rain_of_gore.txt | 2 +- forge-gui/res/cardsfolder/r/raka_sanctuary.txt | 6 +++--- forge-gui/res/cardsfolder/r/rakavolver.txt | 2 +- .../res/cardsfolder/r/rakdos_lord_of_riots.txt | 2 +- forge-gui/res/cardsfolder/r/rakdos_riteknife.txt | 4 ++-- forge-gui/res/cardsfolder/r/rakdos_the_defiler.txt | 4 ++-- forge-gui/res/cardsfolder/r/rakdoss_return.txt | 4 ++-- forge-gui/res/cardsfolder/r/raksha_golden_cub.txt | 2 +- forge-gui/res/cardsfolder/r/rakshasa_vizier.txt | 2 +- forge-gui/res/cardsfolder/r/rakshasas_disdain.txt | 2 +- forge-gui/res/cardsfolder/r/ral_izzet_viceroy.txt | 2 +- .../res/cardsfolder/r/rally_for_the_throne.txt | 2 +- .../res/cardsfolder/r/rally_the_ancestors.txt | 2 +- forge-gui/res/cardsfolder/r/rally_the_horde.txt | 4 ++-- forge-gui/res/cardsfolder/r/rals_staticaster.txt | 2 +- forge-gui/res/cardsfolder/r/ram_through.txt | 2 +- .../res/cardsfolder/r/ramos_dragon_engine.txt | 2 +- .../res/cardsfolder/r/rampaging_brontodon.txt | 2 +- forge-gui/res/cardsfolder/r/rancid_earth.txt | 2 +- forge-gui/res/cardsfolder/r/rapacious_one.txt | 4 ++-- forge-gui/res/cardsfolder/r/rashida_scalebane.txt | 2 +- .../cardsfolder/r/rashmi_eternities_crafter.txt | 2 +- forge-gui/res/cardsfolder/r/rat_colony.txt | 2 +- forge-gui/res/cardsfolder/r/ratchet_bomb.txt | 2 +- forge-gui/res/cardsfolder/r/rats_feast.txt | 2 +- .../res/cardsfolder/r/rattleblaze_scarecrow.txt | 4 ++-- forge-gui/res/cardsfolder/r/ravaging_blaze.txt | 4 ++-- .../r/ravenous_demon_archdemon_of_greed.txt | 4 ++-- .../res/cardsfolder/r/ravenous_gigantotherium.txt | 4 ++-- forge-gui/res/cardsfolder/r/ravenous_slime.txt | 2 +- forge-gui/res/cardsfolder/r/ravenous_trap.txt | 2 +- forge-gui/res/cardsfolder/r/raving_dead.txt | 2 +- .../res/cardsfolder/r/razia_boros_archangel.txt | 4 ++-- forge-gui/res/cardsfolder/r/razor_hippogriff.txt | 2 +- forge-gui/res/cardsfolder/r/razorverge_thicket.txt | 2 +- forge-gui/res/cardsfolder/r/read_the_runes.txt | 2 +- forge-gui/res/cardsfolder/r/reality_spasm.txt | 4 ++-- forge-gui/res/cardsfolder/r/reanimate.txt | 2 +- forge-gui/res/cardsfolder/r/reap.txt | 2 +- forge-gui/res/cardsfolder/r/reap_intellect.txt | 8 ++++---- forge-gui/res/cardsfolder/r/reap_the_past.txt | 2 +- .../res/cardsfolder/r/reaper_from_the_abyss.txt | 2 +- .../cardsfolder/r/reaper_of_night_harvest_fear.txt | 2 +- forge-gui/res/cardsfolder/r/reaver_drone.txt | 4 ++-- forge-gui/res/cardsfolder/r/recall.txt | 4 ++-- forge-gui/res/cardsfolder/r/recantation.txt | 2 +- forge-gui/res/cardsfolder/r/reckless_crew.txt | 2 +- forge-gui/res/cardsfolder/r/reckless_one.txt | 2 +- forge-gui/res/cardsfolder/r/reclaim_the_wastes.txt | 2 +- .../res/cardsfolder/r/reclusive_artificer.txt | 2 +- forge-gui/res/cardsfolder/r/recurring_insight.txt | 2 +- forge-gui/res/cardsfolder/r/red_mana_battery.txt | 2 +- forge-gui/res/cardsfolder/r/red_suns_zenith.txt | 2 +- forge-gui/res/cardsfolder/r/reflect_damage.txt | 2 +- forge-gui/res/cardsfolder/r/reflecting_mirror.txt | 2 +- forge-gui/res/cardsfolder/r/refreshing_rain.txt | 2 +- forge-gui/res/cardsfolder/r/refuse_cooperate.txt | 2 +- forge-gui/res/cardsfolder/r/regal_force.txt | 2 +- forge-gui/res/cardsfolder/r/reign_of_terror.txt | 2 +- forge-gui/res/cardsfolder/r/reign_of_the_pit.txt | 2 +- forge-gui/res/cardsfolder/r/reincarnation.txt | 2 +- .../res/cardsfolder/r/rejuvenating_springs.txt | 2 +- forge-gui/res/cardsfolder/r/rekindled_flame.txt | 2 +- .../res/cardsfolder/r/release_the_gremlins.txt | 4 ++-- forge-gui/res/cardsfolder/r/relentless_dead.txt | 2 +- forge-gui/res/cardsfolder/r/relentless_rats.txt | 2 +- forge-gui/res/cardsfolder/r/relic_amulet.txt | 2 +- forge-gui/res/cardsfolder/r/relic_axe.txt | 2 +- forge-gui/res/cardsfolder/r/relic_runner.txt | 2 +- forge-gui/res/cardsfolder/r/rending_vines.txt | 2 +- forge-gui/res/cardsfolder/r/renewing_dawn.txt | 2 +- forge-gui/res/cardsfolder/r/renewing_touch.txt | 2 +- forge-gui/res/cardsfolder/r/renounce.txt | 4 ++-- forge-gui/res/cardsfolder/r/repay_in_kind.txt | 2 +- forge-gui/res/cardsfolder/r/repeal.txt | 2 +- forge-gui/res/cardsfolder/r/repeating_barrage.txt | 2 +- forge-gui/res/cardsfolder/r/repentance.txt | 2 +- forge-gui/res/cardsfolder/r/repercussion.txt | 2 +- forge-gui/res/cardsfolder/r/replicating_ring.txt | 2 +- forge-gui/res/cardsfolder/r/reprocess.txt | 4 ++-- forge-gui/res/cardsfolder/r/reshape.txt | 2 +- forge-gui/res/cardsfolder/r/resilient_khenra.txt | 2 +- forge-gui/res/cardsfolder/r/resolute_archangel.txt | 4 ++-- forge-gui/res/cardsfolder/r/respite.txt | 2 +- forge-gui/res/cardsfolder/r/rest_for_the_weary.txt | 2 +- forge-gui/res/cardsfolder/r/restless_dreams.txt | 2 +- forge-gui/res/cardsfolder/r/retaliator_griffin.txt | 2 +- forge-gui/res/cardsfolder/r/rethink.txt | 2 +- .../cardsfolder/r/retribution_of_the_ancients.txt | 2 +- .../cardsfolder/r/return_of_the_wildspeaker.txt | 2 +- forge-gui/res/cardsfolder/r/return_to_dust.txt | 2 +- .../res/cardsfolder/r/return_to_the_ranks.txt | 2 +- .../res/cardsfolder/r/return_upon_the_tide.txt | 2 +- forge-gui/res/cardsfolder/r/revenant.txt | 2 +- forge-gui/res/cardsfolder/r/reverberation.txt | 2 +- forge-gui/res/cardsfolder/r/revered_unicorn.txt | 2 +- forge-gui/res/cardsfolder/r/reverent_hoplite.txt | 2 +- forge-gui/res/cardsfolder/r/reverent_hunter.txt | 2 +- forge-gui/res/cardsfolder/r/reverse_damage.txt | 2 +- forge-gui/res/cardsfolder/r/reverse_polarity.txt | 2 +- forge-gui/res/cardsfolder/r/reverse_the_sands.txt | 2 +- forge-gui/res/cardsfolder/r/revival_revenge.txt | 4 ++-- forge-gui/res/cardsfolder/r/reviving_vapors.txt | 4 ++-- .../res/cardsfolder/r/reward_the_faithful.txt | 2 +- .../res/cardsfolder/r/reyhan_last_of_the_abzan.txt | 2 +- forge-gui/res/cardsfolder/r/rhox_faithmender.txt | 2 +- forge-gui/res/cardsfolder/r/rhys_the_exiled.txt | 2 +- forge-gui/res/cardsfolder/r/rhystic_lightning.txt | 2 +- .../res/cardsfolder/r/ribbons_of_the_reikai.txt | 2 +- forge-gui/res/cardsfolder/r/ricochet_trap.txt | 2 +- .../res/cardsfolder/r/riddle_of_lightning.txt | 2 +- .../res/cardsfolder/r/rielle_the_everwise.txt | 4 ++-- forge-gui/res/cardsfolder/r/righteous_fury.txt | 2 +- forge-gui/res/cardsfolder/r/righteous_valkyrie.txt | 4 ++-- forge-gui/res/cardsfolder/r/rimefeather_owl.txt | 2 +- forge-gui/res/cardsfolder/r/rimehorn_aurochs.txt | 2 +- .../res/cardsfolder/r/rin_and_seri_inseparable.txt | 4 ++-- forge-gui/res/cardsfolder/r/riot_control.txt | 2 +- forge-gui/res/cardsfolder/r/riptide_director.txt | 2 +- forge-gui/res/cardsfolder/r/riptide_mangler.txt | 2 +- forge-gui/res/cardsfolder/r/riptide_replicator.txt | 2 +- .../res/cardsfolder/r/rise_from_the_tides.txt | 2 +- .../res/cardsfolder/r/rise_of_the_dread_marn.txt | 2 +- .../res/cardsfolder/r/rise_of_the_hobgoblins.txt | 2 +- forge-gui/res/cardsfolder/r/risen_executioner.txt | 2 +- forge-gui/res/cardsfolder/r/rishkars_expertise.txt | 2 +- .../res/cardsfolder/r/rite_of_consumption.txt | 4 ++-- forge-gui/res/cardsfolder/r/rite_of_flame.txt | 2 +- .../res/cardsfolder/r/rite_of_replication.txt | 2 +- .../res/cardsfolder/r/rite_of_the_serpent.txt | 2 +- .../res/cardsfolder/r/rites_of_initiation.txt | 6 +++--- forge-gui/res/cardsfolder/r/rites_of_refusal.txt | 2 +- forge-gui/res/cardsfolder/r/rites_of_spring.txt | 2 +- forge-gui/res/cardsfolder/r/rith_the_awakener.txt | 2 +- .../res/cardsfolder/r/ritual_of_the_returned.txt | 2 +- forge-gui/res/cardsfolder/r/rivalry.txt | 2 +- forge-gui/res/cardsfolder/r/river_of_tears.txt | 4 ++-- forge-gui/res/cardsfolder/r/roar_of_the_crowd.txt | 2 +- forge-gui/res/cardsfolder/r/robber_fly.txt | 2 +- forge-gui/res/cardsfolder/r/robber_of_the_rich.txt | 4 ++-- forge-gui/res/cardsfolder/r/rock_hydra.txt | 6 +++--- forge-gui/res/cardsfolder/r/rock_slide.txt | 2 +- forge-gui/res/cardsfolder/r/rockslide_ambush.txt | 2 +- .../cardsfolder/r/rofellos_llanowar_emissary.txt | 2 +- forge-gui/res/cardsfolder/r/rofelloss_gift.txt | 2 +- forge-gui/res/cardsfolder/r/rogue_skycaptain.txt | 2 +- forge-gui/res/cardsfolder/r/roil_eruption.txt | 2 +- forge-gui/res/cardsfolder/r/roiling_horror.txt | 2 +- forge-gui/res/cardsfolder/r/roiling_terrain.txt | 2 +- forge-gui/res/cardsfolder/r/roilmages_trick.txt | 2 +- forge-gui/res/cardsfolder/r/rolling_earthquake.txt | 2 +- forge-gui/res/cardsfolder/r/rolling_thunder.txt | 2 +- forge-gui/res/cardsfolder/r/roots_of_wisdom.txt | 2 +- .../res/cardsfolder/r/rootwater_matriarch.txt | 2 +- forge-gui/res/cardsfolder/r/rot_hulk.txt | 2 +- forge-gui/res/cardsfolder/r/rotfeaster_maggot.txt | 2 +- forge-gui/res/cardsfolder/r/rotwidow_pack.txt | 2 +- forge-gui/res/cardsfolder/r/rouse_the_mob.txt | 2 +- forge-gui/res/cardsfolder/r/rousing_of_souls.txt | 2 +- forge-gui/res/cardsfolder/r/rowan_kenrith.txt | 2 +- forge-gui/res/cardsfolder/r/rowdy_crew.txt | 2 +- forge-gui/res/cardsfolder/r/rubblebelt_raiders.txt | 2 +- forge-gui/res/cardsfolder/r/rubblebelt_rioters.txt | 2 +- forge-gui/res/cardsfolder/r/rubblehulk.txt | 4 ++-- forge-gui/res/cardsfolder/r/ruin_raider.txt | 4 ++-- forge-gui/res/cardsfolder/r/ruination_rioter.txt | 2 +- .../res/cardsfolder/r/rumbling_aftershocks.txt | 2 +- forge-gui/res/cardsfolder/r/rumbling_crescendo.txt | 2 +- forge-gui/res/cardsfolder/r/rumbling_rockslide.txt | 2 +- forge-gui/res/cardsfolder/r/rumbling_ruin.txt | 4 ++-- forge-gui/res/cardsfolder/r/rune_snag.txt | 2 +- forge-gui/res/cardsfolder/r/runechanters_pike.txt | 2 +- forge-gui/res/cardsfolder/r/runed_arch.txt | 2 +- forge-gui/res/cardsfolder/r/runeflare_trap.txt | 4 ++-- forge-gui/res/cardsfolder/r/runesword.txt | 2 +- forge-gui/res/cardsfolder/r/rupture.txt | 2 +- forge-gui/res/cardsfolder/r/rush_of_blood.txt | 2 +- forge-gui/res/cardsfolder/r/rush_of_knowledge.txt | 2 +- forge-gui/res/cardsfolder/r/rushing_river.txt | 2 +- forge-gui/res/cardsfolder/r/rushwood_grove.txt | 2 +- forge-gui/res/cardsfolder/r/rushwood_legate.txt | 2 +- forge-gui/res/cardsfolder/r/rust_elemental.txt | 4 ++-- forge-gui/res/cardsfolder/r/rusting_golem.txt | 2 +- forge-gui/res/cardsfolder/r/ruthless_cullblade.txt | 2 +- forge-gui/res/cardsfolder/r/rysorian_badger.txt | 2 +- forge-gui/res/cardsfolder/s/saber_ants.txt | 2 +- .../res/cardsfolder/s/sacellum_godspeaker.txt | 2 +- forge-gui/res/cardsfolder/s/sacred_rites.txt | 2 +- forge-gui/res/cardsfolder/s/sacrifice.txt | 2 +- forge-gui/res/cardsfolder/s/sadistic_sacrament.txt | 2 +- forge-gui/res/cardsfolder/s/saffi_eriksdotter.txt | 2 +- forge-gui/res/cardsfolder/s/sage_eye_avengers.txt | 2 +- ..._of_ancient_lore_werewolf_of_ancient_hunger.txt | 4 ++-- forge-gui/res/cardsfolder/s/sage_of_hours.txt | 2 +- forge-gui/res/cardsfolder/s/sages_reverie.txt | 2 +- forge-gui/res/cardsfolder/s/saheeli_the_gifted.txt | 2 +- forge-gui/res/cardsfolder/s/saheelis_directive.txt | 2 +- forge-gui/res/cardsfolder/s/sakashimas_will.txt | 2 +- .../res/cardsfolder/s/sakiko_mother_of_summer.txt | 2 +- forge-gui/res/cardsfolder/s/saltcrusted_steppe.txt | 2 +- .../res/cardsfolder/s/samite_ministration.txt | 2 +- forge-gui/res/cardsfolder/s/samite_pilgrim.txt | 2 +- .../res/cardsfolder/s/sanctum_of_calm_waters.txt | 2 +- .../cardsfolder/s/sanctum_of_fruitful_harvest.txt | 2 +- .../cardsfolder/s/sanctum_of_shattered_heights.txt | 2 +- .../res/cardsfolder/s/sanctum_of_stone_fangs.txt | 4 ++-- .../cardsfolder/s/sanctum_of_tranquil_light.txt | 2 +- forge-gui/res/cardsfolder/s/sanctum_prelate.txt | 2 +- forge-gui/res/cardsfolder/s/sand_silos.txt | 2 +- .../res/cardsfolder/s/sandals_of_abdallah.txt | 2 +- forge-gui/res/cardsfolder/s/sands_of_delirium.txt | 2 +- forge-gui/res/cardsfolder/s/sandstone_oracle.txt | 2 +- forge-gui/res/cardsfolder/s/sanguimancy.txt | 4 ++-- forge-gui/res/cardsfolder/s/sanguine_bond.txt | 2 +- forge-gui/res/cardsfolder/s/sanguine_praetor.txt | 2 +- forge-gui/res/cardsfolder/s/sanguine_sacrament.txt | 2 +- forge-gui/res/cardsfolder/s/sanity_grinding.txt | 2 +- .../res/cardsfolder/s/sapling_of_colfenor.txt | 4 ++-- forge-gui/res/cardsfolder/s/saprazzan_cove.txt | 2 +- .../res/cardsfolder/s/saproling_migration.txt | 2 +- .../res/cardsfolder/s/saproling_symbiosis.txt | 2 +- forge-gui/res/cardsfolder/s/sarkhan_dragonsoul.txt | 2 +- forge-gui/res/cardsfolder/s/sarkhan_the_mad.txt | 4 ++-- .../res/cardsfolder/s/sarkhan_the_masterless.txt | 2 +- forge-gui/res/cardsfolder/s/sarkhan_unbroken.txt | 2 +- forge-gui/res/cardsfolder/s/sarulf_realm_eater.txt | 4 ++-- .../s/sasaya_orochi_ascendant_sasayas_essence.txt | 2 +- .../res/cardsfolder/s/saskia_the_unyielding.txt | 2 +- forge-gui/res/cardsfolder/s/satyr_firedancer.txt | 2 +- forge-gui/res/cardsfolder/s/savage_gorger.txt | 2 +- forge-gui/res/cardsfolder/s/savage_offensive.txt | 2 +- forge-gui/res/cardsfolder/s/savage_stomp.txt | 4 ++-- forge-gui/res/cardsfolder/s/savage_twister.txt | 2 +- forge-gui/res/cardsfolder/s/saving_grace.txt | 2 +- forge-gui/res/cardsfolder/s/scalpelexis.txt | 2 +- forge-gui/res/cardsfolder/s/scapegoat.txt | 2 +- forge-gui/res/cardsfolder/s/scapeshift.txt | 4 ++-- forge-gui/res/cardsfolder/s/scattering_stroke.txt | 2 +- forge-gui/res/cardsfolder/s/scavenging_ghoul.txt | 2 +- forge-gui/res/cardsfolder/s/scent_of_brine.txt | 2 +- forge-gui/res/cardsfolder/s/scent_of_cinder.txt | 2 +- forge-gui/res/cardsfolder/s/scent_of_ivy.txt | 2 +- forge-gui/res/cardsfolder/s/scent_of_jasmine.txt | 2 +- .../res/cardsfolder/s/scent_of_nightshade.txt | 2 +- forge-gui/res/cardsfolder/s/scepter_of_empires.txt | 2 +- forge-gui/res/cardsfolder/s/scion_of_the_wild.txt | 2 +- forge-gui/res/cardsfolder/s/scorched_earth.txt | 2 +- forge-gui/res/cardsfolder/s/scorched_ruins.txt | 4 ++-- forge-gui/res/cardsfolder/s/scorching_winds.txt | 2 +- forge-gui/res/cardsfolder/s/scour.txt | 4 ++-- forge-gui/res/cardsfolder/s/scourge_of_fleets.txt | 2 +- .../res/cardsfolder/s/scourge_of_skola_vale.txt | 2 +- .../res/cardsfolder/s/scourge_of_the_skyclaves.txt | 4 ++-- forge-gui/res/cardsfolder/s/scourge_of_valkas.txt | 2 +- forge-gui/res/cardsfolder/s/scouting_trek.txt | 2 +- forge-gui/res/cardsfolder/s/scrap_trawler.txt | 2 +- forge-gui/res/cardsfolder/s/scrapyard_salvo.txt | 2 +- forge-gui/res/cardsfolder/s/scroll_of_origins.txt | 2 +- .../res/cardsfolder/s/scroll_of_the_masters.txt | 2 +- forge-gui/res/cardsfolder/s/scroll_rack.txt | 4 ++-- forge-gui/res/cardsfolder/s/scrying_glass.txt | 2 +- forge-gui/res/cardsfolder/s/scute_swarm.txt | 2 +- forge-gui/res/cardsfolder/s/scythe_specter.txt | 2 +- forge-gui/res/cardsfolder/s/scytheclaw.txt | 2 +- forge-gui/res/cardsfolder/s/sea_gate_colossus.txt | 2 +- .../res/cardsfolder/s/sea_gate_loremaster.txt | 2 +- .../s/sea_gate_restoration_sea_gate_reborn.txt | 2 +- .../res/cardsfolder/s/sea_gate_stormcaller.txt | 2 +- forge-gui/res/cardsfolder/s/sea_kings_blessing.txt | 2 +- forge-gui/res/cardsfolder/s/sea_of_clouds.txt | 2 +- forge-gui/res/cardsfolder/s/seachrome_coast.txt | 2 +- forge-gui/res/cardsfolder/s/seafloor_stalker.txt | 2 +- forge-gui/res/cardsfolder/s/sealed_fate.txt | 2 +- .../search_for_azcanta_azcanta_the_sunken_ruin.txt | 2 +- forge-gui/res/cardsfolder/s/search_for_glory.txt | 2 +- forge-gui/res/cardsfolder/s/search_the_city.txt | 4 ++-- forge-gui/res/cardsfolder/s/search_warrant.txt | 2 +- forge-gui/res/cardsfolder/s/searing_barrage.txt | 2 +- forge-gui/res/cardsfolder/s/searing_blaze.txt | 4 ++-- forge-gui/res/cardsfolder/s/searing_rays.txt | 2 +- .../res/cardsfolder/s/seasoned_pyromancer.txt | 2 +- forge-gui/res/cardsfolder/s/seasons_beatings.txt | 2 +- forge-gui/res/cardsfolder/s/seasons_past.txt | 2 +- forge-gui/res/cardsfolder/s/secret_salvage.txt | 2 +- forge-gui/res/cardsfolder/s/secret_summoning.txt | 2 +- .../cardsfolder/s/secrets_of_the_golden_city.txt | 2 +- forge-gui/res/cardsfolder/s/secure_the_wastes.txt | 2 +- forge-gui/res/cardsfolder/s/see_the_truth.txt | 2 +- forge-gui/res/cardsfolder/s/see_the_unwritten.txt | 2 +- forge-gui/res/cardsfolder/s/seed_guardian.txt | 2 +- forge-gui/res/cardsfolder/s/seeds_of_innocence.txt | 2 +- forge-gui/res/cardsfolder/s/seedtime.txt | 2 +- forge-gui/res/cardsfolder/s/seeker_of_insight.txt | 2 +- forge-gui/res/cardsfolder/s/seismic_strike.txt | 2 +- .../res/cardsfolder/s/sekki_seasons_guide.txt | 4 ++-- forge-gui/res/cardsfolder/s/selective_memory.txt | 2 +- forge-gui/res/cardsfolder/s/selective_snare.txt | 2 +- .../res/cardsfolder/s/selesnya_loft_gardens.txt | 4 ++-- forge-gui/res/cardsfolder/s/selfless_exorcist.txt | 2 +- forge-gui/res/cardsfolder/s/selfless_squire.txt | 4 ++-- .../cardsfolder/s/selvala_explorer_returned.txt | 4 ++-- .../cardsfolder/s/selvala_heart_of_the_wilds.txt | 4 ++-- forge-gui/res/cardsfolder/s/selvalas_charge.txt | 2 +- forge-gui/res/cardsfolder/s/selvalas_enforcer.txt | 2 +- forge-gui/res/cardsfolder/s/send_to_sleep.txt | 2 +- .../res/cardsfolder/s/sengir_the_dark_baron.txt | 2 +- forge-gui/res/cardsfolder/s/sentinel_tower.txt | 2 +- .../res/cardsfolder/s/sepulchral_primordial.txt | 2 +- .../res/cardsfolder/s/seraph_of_the_masses.txt | 2 +- forge-gui/res/cardsfolder/s/serene_offering.txt | 2 +- forge-gui/res/cardsfolder/s/serene_sunset.txt | 2 +- .../cardsfolder/s/serpent_of_the_endless_sea.txt | 2 +- forge-gui/res/cardsfolder/s/serra_avatar.txt | 2 +- forge-gui/res/cardsfolder/s/serras_hymn.txt | 2 +- forge-gui/res/cardsfolder/s/serras_liturgy.txt | 2 +- forge-gui/res/cardsfolder/s/serras_sanctum.txt | 2 +- .../res/cardsfolder/s/servant_of_the_scale.txt | 2 +- .../res/cardsfolder/s/setessan_petitioner.txt | 2 +- forge-gui/res/cardsfolder/s/setessan_tactics.txt | 2 +- .../res/cardsfolder/s/settle_the_wreckage.txt | 2 +- forge-gui/res/cardsfolder/s/seven_dwarves.txt | 2 +- forge-gui/res/cardsfolder/s/sever_soul.txt | 2 +- forge-gui/res/cardsfolder/s/severed_strands.txt | 2 +- forge-gui/res/cardsfolder/s/sewer_nemesis.txt | 2 +- forge-gui/res/cardsfolder/s/shadowbane.txt | 2 +- .../res/cardsfolder/s/shadows_of_the_past.txt | 2 +- forge-gui/res/cardsfolder/s/shahrazad.txt | 2 +- forge-gui/res/cardsfolder/s/shaleskin_bruiser.txt | 2 +- forge-gui/res/cardsfolder/s/shaman_en_kor.txt | 4 ++-- .../res/cardsfolder/s/shaman_of_forgotten_ways.txt | 4 ++-- .../res/cardsfolder/s/shaman_of_the_great_hunt.txt | 2 +- forge-gui/res/cardsfolder/s/shaman_of_the_pack.txt | 2 +- .../res/cardsfolder/s/shamanic_revelation.txt | 4 ++-- forge-gui/res/cardsfolder/s/shambling_suit.txt | 2 +- .../res/cardsfolder/s/shanna_sisays_legacy.txt | 2 +- forge-gui/res/cardsfolder/s/shape_stealer.txt | 4 ++-- forge-gui/res/cardsfolder/s/shapeshifter.txt | 2 +- forge-gui/res/cardsfolder/s/shared_animosity.txt | 2 +- forge-gui/res/cardsfolder/s/shared_trauma.txt | 6 +++--- forge-gui/res/cardsfolder/s/shark_typhoon.txt | 4 ++-- forge-gui/res/cardsfolder/s/shattered_crypt.txt | 4 ++-- .../res/cardsfolder/s/shattered_perception.txt | 2 +- .../res/cardsfolder/s/shatterskull_minotaur.txt | 2 +- ...skull_smashing_shatterskull_the_hammer_pass.txt | 2 +- forge-gui/res/cardsfolder/s/shelldock_isle.txt | 2 +- forge-gui/res/cardsfolder/s/sheltering_word.txt | 2 +- forge-gui/res/cardsfolder/s/shepherd_of_heroes.txt | 2 +- forge-gui/res/cardsfolder/s/shepherd_of_rot.txt | 2 +- forge-gui/res/cardsfolder/s/shield_dancer.txt | 2 +- .../res/cardsfolder/s/shield_of_the_avatar.txt | 2 +- .../res/cardsfolder/s/shieldmage_advocate.txt | 2 +- .../cardsfolder/s/shimatsu_the_bloodcloaked.txt | 4 ++-- .../res/cardsfolder/s/shimian_night_stalker.txt | 2 +- forge-gui/res/cardsfolder/s/shimian_specter.txt | 4 ++-- forge-gui/res/cardsfolder/s/shinka_gatekeeper.txt | 2 +- forge-gui/res/cardsfolder/s/shivan_fire.txt | 2 +- forge-gui/res/cardsfolder/s/shocker.txt | 2 +- forge-gui/res/cardsfolder/s/shower_of_coals.txt | 2 +- forge-gui/res/cardsfolder/s/showstopper.txt | 2 +- .../cardsfolder/s/shrine_of_boundless_growth.txt | 2 +- .../res/cardsfolder/s/shrine_of_burning_rage.txt | 2 +- .../cardsfolder/s/shrine_of_limitless_power.txt | 2 +- .../res/cardsfolder/s/shrine_of_loyal_legions.txt | 2 +- .../cardsfolder/s/shrine_of_piercing_vision.txt | 2 +- forge-gui/res/cardsfolder/s/shriveling_rot.txt | 2 +- forge-gui/res/cardsfolder/s/shrouded_lore.txt | 6 +++--- .../res/cardsfolder/s/siani_eye_of_the_storm.txt | 2 +- forge-gui/res/cardsfolder/s/sickening_dreams.txt | 2 +- forge-gui/res/cardsfolder/s/sickening_shoal.txt | 2 +- forge-gui/res/cardsfolder/s/siege_striker.txt | 4 ++-- forge-gui/res/cardsfolder/s/sift_through_sands.txt | 2 +- forge-gui/res/cardsfolder/s/sifter_wurm.txt | 2 +- .../res/cardsfolder/s/sigil_of_distinction.txt | 2 +- forge-gui/res/cardsfolder/s/sigil_of_valor.txt | 2 +- .../res/cardsfolder/s/silence_the_believers.txt | 2 +- forge-gui/res/cardsfolder/s/silent_assassin.txt | 2 +- .../res/cardsfolder/s/silent_chant_zubera.txt | 2 +- forge-gui/res/cardsfolder/s/silklash_spider.txt | 2 +- forge-gui/res/cardsfolder/s/silumgars_scorn.txt | 4 ++-- forge-gui/res/cardsfolder/s/silverflame_ritual.txt | 2 +- forge-gui/res/cardsfolder/s/silvergill_douser.txt | 2 +- .../res/cardsfolder/s/silverwing_squadron.txt | 4 ++-- forge-gui/res/cardsfolder/s/simic_ascendancy.txt | 2 +- forge-gui/res/cardsfolder/s/simic_basilisk.txt | 2 +- forge-gui/res/cardsfolder/s/simulacrum.txt | 4 ++-- forge-gui/res/cardsfolder/s/sin_prodder.txt | 2 +- forge-gui/res/cardsfolder/s/singe_mind_ogre.txt | 2 +- forge-gui/res/cardsfolder/s/sink_into_takenuma.txt | 4 ++-- forge-gui/res/cardsfolder/s/sins_of_the_past.txt | 2 +- forge-gui/res/cardsfolder/s/sirens_ruse.txt | 6 +++--- .../cardsfolder/s/sisay_weatherlight_captain.txt | 4 ++-- forge-gui/res/cardsfolder/s/sivvis_valor.txt | 2 +- forge-gui/res/cardsfolder/s/skarrgan_firebird.txt | 2 +- .../res/cardsfolder/s/skarrgan_skybreaker.txt | 2 +- forge-gui/res/cardsfolder/s/skeletal_scrying.txt | 4 ++-- .../res/cardsfolder/s/skeleton_scavengers.txt | 2 +- forge-gui/res/cardsfolder/s/skemfar_shadowsage.txt | 4 ++-- .../res/cardsfolder/s/skirsdag_high_priest.txt | 2 +- forge-gui/res/cardsfolder/s/skitterskin.txt | 2 +- forge-gui/res/cardsfolder/s/skred.txt | 2 +- forge-gui/res/cardsfolder/s/skull_raid.txt | 2 +- forge-gui/res/cardsfolder/s/skull_storm.txt | 4 ++-- forge-gui/res/cardsfolder/s/skullcage.txt | 4 ++-- forge-gui/res/cardsfolder/s/skullmane_baku.txt | 2 +- forge-gui/res/cardsfolder/s/skullmulcher.txt | 2 +- forge-gui/res/cardsfolder/s/skybreen.txt | 2 +- .../res/cardsfolder/s/skyclave_apparition.txt | 2 +- forge-gui/res/cardsfolder/s/skyclave_plunder.txt | 2 +- forge-gui/res/cardsfolder/s/skyfire_kirin.txt | 2 +- forge-gui/res/cardsfolder/s/skyreaping.txt | 2 +- forge-gui/res/cardsfolder/s/skyscribing.txt | 2 +- .../res/cardsfolder/s/skyship_weatherlight.txt | 2 +- .../res/cardsfolder/s/skyshroud_war_beast.txt | 2 +- forge-gui/res/cardsfolder/s/slag_fiend.txt | 2 +- forge-gui/res/cardsfolder/s/slate_of_ancestry.txt | 2 +- forge-gui/res/cardsfolder/s/slaying_fire.txt | 2 +- forge-gui/res/cardsfolder/s/slime_molding.txt | 2 +- forge-gui/res/cardsfolder/s/slithermuse.txt | 2 +- forge-gui/res/cardsfolder/s/slumbering_dragon.txt | 2 +- .../s/smitten_swordmaster_curry_favor.txt | 4 ++-- forge-gui/res/cardsfolder/s/smokestack.txt | 2 +- forge-gui/res/cardsfolder/s/smoldering_marsh.txt | 2 +- forge-gui/res/cardsfolder/s/snake_basket.txt | 2 +- forge-gui/res/cardsfolder/s/snowblind.txt | 4 ++-- forge-gui/res/cardsfolder/s/so_tiny.txt | 2 +- .../res/cardsfolder/s/sokenzan_spellblade.txt | 2 +- forge-gui/res/cardsfolder/s/solar_blaze.txt | 2 +- .../res/cardsfolder/s/soldevi_excavations.txt | 4 ++-- forge-gui/res/cardsfolder/s/soldevi_sentry.txt | 2 +- .../res/cardsfolder/s/solidarity_of_heroes.txt | 2 +- forge-gui/res/cardsfolder/s/soltari_guerrillas.txt | 4 ++-- forge-gui/res/cardsfolder/s/song_of_blood.txt | 4 ++-- .../res/cardsfolder/s/songs_of_the_damned.txt | 2 +- forge-gui/res/cardsfolder/s/soothsaying.txt | 2 +- forge-gui/res/cardsfolder/s/sophic_centaur.txt | 2 +- .../res/cardsfolder/s/soramaro_first_to_dream.txt | 2 +- forge-gui/res/cardsfolder/s/sorin_grim_nemesis.txt | 8 ++++---- .../res/cardsfolder/s/sorin_vengeful_bloodlord.txt | 2 +- forge-gui/res/cardsfolder/s/soul_burn.txt | 6 +++--- forge-gui/res/cardsfolder/s/soul_echo.txt | 2 +- forge-gui/res/cardsfolder/s/soul_foundry.txt | 2 +- forge-gui/res/cardsfolder/s/soul_link.txt | 2 +- forge-gui/res/cardsfolder/s/soul_of_eternity.txt | 2 +- forge-gui/res/cardsfolder/s/soul_of_ravnica.txt | 4 ++-- forge-gui/res/cardsfolder/s/soul_reap.txt | 2 +- forge-gui/res/cardsfolder/s/soul_scar_mage.txt | 2 +- forge-gui/res/cardsfolder/s/soul_separator.txt | 2 +- forge-gui/res/cardsfolder/s/soul_shatter.txt | 6 +++--- forge-gui/res/cardsfolder/s/soul_strings.txt | 2 +- forge-gui/res/cardsfolder/s/soul_tithe.txt | 2 +- forge-gui/res/cardsfolder/s/soulfire_eruption.txt | 4 ++-- forge-gui/res/cardsfolder/s/soulgorger_orgg.txt | 2 +- forge-gui/res/cardsfolder/s/soulless_one.txt | 2 +- forge-gui/res/cardsfolder/s/souls_fire.txt | 2 +- forge-gui/res/cardsfolder/s/souls_might.txt | 2 +- .../res/cardsfolder/s/souls_of_the_faultless.txt | 4 ++-- forge-gui/res/cardsfolder/s/soulshriek.txt | 2 +- forge-gui/res/cardsfolder/s/soulstinger.txt | 2 +- forge-gui/res/cardsfolder/s/sower_of_discord.txt | 4 ++-- forge-gui/res/cardsfolder/s/sowing_salt.txt | 4 ++-- forge-gui/res/cardsfolder/s/spark_double.txt | 2 +- .../res/cardsfolder/s/spark_of_creativity.txt | 2 +- forge-gui/res/cardsfolder/s/sparksmith.txt | 4 ++-- forge-gui/res/cardsfolder/s/sparring_golem.txt | 2 +- forge-gui/res/cardsfolder/s/spawn_of_mayhem.txt | 2 +- forge-gui/res/cardsfolder/s/spawn_of_thraxes.txt | 2 +- .../res/cardsfolder/s/spawnsire_of_ulamog.txt | 2 +- .../res/cardsfolder/s/speaker_of_the_heavens.txt | 2 +- forge-gui/res/cardsfolder/s/spectator_seating.txt | 2 +- forge-gui/res/cardsfolder/s/spectral_deluge.txt | 2 +- forge-gui/res/cardsfolder/s/spell_blast.txt | 2 +- forge-gui/res/cardsfolder/s/spell_burst.txt | 2 +- forge-gui/res/cardsfolder/s/spell_contortion.txt | 2 +- forge-gui/res/cardsfolder/s/spell_queller.txt | 2 +- forge-gui/res/cardsfolder/s/spell_rupture.txt | 2 +- forge-gui/res/cardsfolder/s/spell_snuff.txt | 2 +- forge-gui/res/cardsfolder/s/spell_swindle.txt | 2 +- forge-gui/res/cardsfolder/s/spell_syphon.txt | 2 +- .../res/cardsfolder/s/spellstutter_sprite.txt | 2 +- forge-gui/res/cardsfolder/s/spellweaver_volute.txt | 4 ++-- forge-gui/res/cardsfolder/s/sphinx_ambassador.txt | 2 +- forge-gui/res/cardsfolder/s/sphinx_bone_wand.txt | 2 +- forge-gui/res/cardsfolder/s/sphinxs_revelation.txt | 4 ++-- forge-gui/res/cardsfolder/s/sphinxs_tutelage.txt | 2 +- forge-gui/res/cardsfolder/s/spider_spawning.txt | 2 +- forge-gui/res/cardsfolder/s/spikeshot_elder.txt | 2 +- forge-gui/res/cardsfolder/s/spikeshot_goblin.txt | 2 +- forge-gui/res/cardsfolder/s/spinal_embrace.txt | 2 +- forge-gui/res/cardsfolder/s/spined_sliver.txt | 2 +- forge-gui/res/cardsfolder/s/spinerock_knoll.txt | 2 +- forge-gui/res/cardsfolder/s/spiny_starfish.txt | 2 +- forge-gui/res/cardsfolder/s/spiraling_embers.txt | 2 +- forge-gui/res/cardsfolder/s/spire_barrage.txt | 2 +- forge-gui/res/cardsfolder/s/spire_garden.txt | 2 +- forge-gui/res/cardsfolder/s/spire_of_industry.txt | 2 +- forge-gui/res/cardsfolder/s/spirebluff_canal.txt | 2 +- forge-gui/res/cardsfolder/s/spirit_en_kor.txt | 2 +- forge-gui/res/cardsfolder/s/spirit_flare.txt | 2 +- forge-gui/res/cardsfolder/s/spirit_link.txt | 2 +- forge-gui/res/cardsfolder/s/spirit_loop.txt | 2 +- forge-gui/res/cardsfolder/s/spiritualize.txt | 4 ++-- forge-gui/res/cardsfolder/s/spite_of_mogis.txt | 2 +- forge-gui/res/cardsfolder/s/spiteful_shadows.txt | 2 +- forge-gui/res/cardsfolder/s/spiteful_sliver.txt | 2 +- forge-gui/res/cardsfolder/s/spitemare.txt | 2 +- forge-gui/res/cardsfolder/s/spitting_earth.txt | 2 +- forge-gui/res/cardsfolder/s/spitting_slug.txt | 2 +- forge-gui/res/cardsfolder/s/splinter.txt | 4 ++-- forge-gui/res/cardsfolder/s/splinterfright.txt | 2 +- .../res/cardsfolder/s/spoils_of_adventure.txt | 2 +- forge-gui/res/cardsfolder/s/spoils_of_blood.txt | 2 +- forge-gui/res/cardsfolder/s/spoils_of_evil.txt | 4 ++-- .../res/cardsfolder/s/spoils_of_the_vault.txt | 2 +- .../res/cardsfolder/s/spontaneous_generation.txt | 2 +- forge-gui/res/cardsfolder/s/spore_burst.txt | 2 +- forge-gui/res/cardsfolder/s/sporogenesis.txt | 2 +- forge-gui/res/cardsfolder/s/springjack_pasture.txt | 2 +- .../res/cardsfolder/s/springjack_shepherd.txt | 2 +- forge-gui/res/cardsfolder/s/squad_commander.txt | 4 ++-- forge-gui/res/cardsfolder/s/squall_line.txt | 2 +- forge-gui/res/cardsfolder/s/squealing_devil.txt | 2 +- forge-gui/res/cardsfolder/s/squelching_leeches.txt | 2 +- forge-gui/res/cardsfolder/s/stalking_yeti.txt | 4 ++-- forge-gui/res/cardsfolder/s/standstill.txt | 2 +- forge-gui/res/cardsfolder/s/starfall.txt | 2 +- forge-gui/res/cardsfolder/s/starfield_of_nyx.txt | 2 +- forge-gui/res/cardsfolder/s/starlight.txt | 2 +- forge-gui/res/cardsfolder/s/starlit_sanctum.txt | 4 ++-- .../res/cardsfolder/s/starnheim_unleashed.txt | 2 +- forge-gui/res/cardsfolder/s/starstorm.txt | 2 +- forge-gui/res/cardsfolder/s/steadfast_armasaur.txt | 2 +- forge-gui/res/cardsfolder/s/steel_hellkite.txt | 2 +- forge-gui/res/cardsfolder/s/stensia_banquet.txt | 2 +- forge-gui/res/cardsfolder/s/stern_judge.txt | 2 +- forge-gui/res/cardsfolder/s/stir_the_grave.txt | 2 +- forge-gui/res/cardsfolder/s/stir_the_pride.txt | 4 ++-- forge-gui/res/cardsfolder/s/stitch_together.txt | 4 ++-- forge-gui/res/cardsfolder/s/stitcher_geralf.txt | 2 +- forge-gui/res/cardsfolder/s/stoic_farmer.txt | 2 +- forge-gui/res/cardsfolder/s/stolen_by_the_fae.txt | 4 ++-- forge-gui/res/cardsfolder/s/stone_giant.txt | 2 +- forge-gui/res/cardsfolder/s/stone_idol_trap.txt | 2 +- .../res/cardsfolder/s/stoneforge_masterwork.txt | 2 +- forge-gui/res/cardsfolder/s/stonefury.txt | 2 +- forge-gui/res/cardsfolder/s/stonehewer_giant.txt | 4 ++-- .../res/cardsfolder/s/stonehewer_giant_avatar.txt | 2 +- forge-gui/res/cardsfolder/s/storm_elemental.txt | 2 +- forge-gui/res/cardsfolder/s/storm_herald.txt | 2 +- forge-gui/res/cardsfolder/s/storm_herd.txt | 2 +- forge-gui/res/cardsfolder/s/storm_seeker.txt | 2 +- .../s/storm_the_vault_vault_of_catlacan.txt | 2 +- forge-gui/res/cardsfolder/s/storm_world.txt | 2 +- forge-gui/res/cardsfolder/s/stormbreath_dragon.txt | 2 +- .../res/cardsfolder/s/stormchaser_chimera.txt | 2 +- forge-gui/res/cardsfolder/s/stormwild_capridor.txt | 2 +- forge-gui/res/cardsfolder/s/stormwing_entity.txt | 4 ++-- forge-gui/res/cardsfolder/s/strata_scythe.txt | 2 +- forge-gui/res/cardsfolder/s/stratadon.txt | 2 +- forge-gui/res/cardsfolder/s/stream_of_life.txt | 2 +- forge-gui/res/cardsfolder/s/street_spasm.txt | 4 ++-- .../res/cardsfolder/s/strength_from_the_fallen.txt | 2 +- .../res/cardsfolder/s/strength_in_numbers.txt | 2 +- forge-gui/res/cardsfolder/s/strength_of_cedars.txt | 2 +- .../res/cardsfolder/s/strength_of_solidarity.txt | 2 +- .../res/cardsfolder/s/strength_of_the_tajuru.txt | 2 +- forge-gui/res/cardsfolder/s/stroke_of_genius.txt | 2 +- forge-gui/res/cardsfolder/s/strongarm_tactics.txt | 2 +- .../res/cardsfolder/s/stronghold_discipline.txt | 2 +- forge-gui/res/cardsfolder/s/stronghold_furnace.txt | 2 +- forge-gui/res/cardsfolder/s/struggle_survive.txt | 2 +- forge-gui/res/cardsfolder/s/stuffy_doll.txt | 2 +- forge-gui/res/cardsfolder/s/stumpsquall_hydra.txt | 2 +- forge-gui/res/cardsfolder/s/sturmgeist.txt | 2 +- .../res/cardsfolder/s/subterranean_hangar.txt | 2 +- .../res/cardsfolder/s/subterranean_tremors.txt | 6 +++--- forge-gui/res/cardsfolder/s/sudden_demise.txt | 2 +- forge-gui/res/cardsfolder/s/sudden_impact.txt | 2 +- forge-gui/res/cardsfolder/s/suffer_the_past.txt | 8 ++++---- forge-gui/res/cardsfolder/s/suffocation.txt | 2 +- forge-gui/res/cardsfolder/s/sulfuric_vapors.txt | 2 +- forge-gui/res/cardsfolder/s/sulfurous_blast.txt | 2 +- forge-gui/res/cardsfolder/s/summary_judgment.txt | 2 +- forge-gui/res/cardsfolder/s/sun_droplet.txt | 2 +- .../res/cardsfolder/s/sunbirds_invocation.txt | 4 ++-- forge-gui/res/cardsfolder/s/sunblade_elf.txt | 2 +- forge-gui/res/cardsfolder/s/sunbond.txt | 2 +- forge-gui/res/cardsfolder/s/sunbringers_touch.txt | 2 +- forge-gui/res/cardsfolder/s/suncleanser.txt | 4 ++-- forge-gui/res/cardsfolder/s/sundering_stroke.txt | 4 ++-- forge-gui/res/cardsfolder/s/sunflare_shaman.txt | 4 ++-- forge-gui/res/cardsfolder/s/sunhome_enforcer.txt | 2 +- forge-gui/res/cardsfolder/s/sunken_hollow.txt | 2 +- .../res/cardsfolder/s/sunscourge_champion.txt | 2 +- forge-gui/res/cardsfolder/s/superior_numbers.txt | 2 +- forge-gui/res/cardsfolder/s/supply_demand.txt | 2 +- forge-gui/res/cardsfolder/s/surestrike_trident.txt | 2 +- .../res/cardsfolder/s/surrakar_spellblade.txt | 2 +- forge-gui/res/cardsfolder/s/surtland_flinger.txt | 4 ++-- forge-gui/res/cardsfolder/s/surveyors_scope.txt | 2 +- forge-gui/res/cardsfolder/s/survival_cache.txt | 2 +- forge-gui/res/cardsfolder/s/sutured_ghoul.txt | 4 ++-- .../cardsfolder/s/svogthos_the_restless_tomb.txt | 4 ++-- forge-gui/res/cardsfolder/s/swallowing_plague.txt | 4 ++-- .../res/cardsfolder/s/swans_of_bryn_argoll.txt | 2 +- forge-gui/res/cardsfolder/s/sway_of_illusion.txt | 2 +- forge-gui/res/cardsfolder/s/sweet_gum_recluse.txt | 2 +- forge-gui/res/cardsfolder/s/swift_silence.txt | 2 +- forge-gui/res/cardsfolder/s/swirling_sandstorm.txt | 2 +- forge-gui/res/cardsfolder/s/sword_of_the_ages.txt | 2 +- .../res/cardsfolder/s/sword_of_war_and_peace.txt | 4 ++-- .../res/cardsfolder/s/swords_to_plowshares.txt | 2 +- .../res/cardsfolder/s/sydri_galvanic_genius.txt | 2 +- forge-gui/res/cardsfolder/s/sylvan_offering.txt | 4 ++-- forge-gui/res/cardsfolder/s/sylvan_paradise.txt | 2 +- forge-gui/res/cardsfolder/s/sylvan_primordial.txt | 4 ++-- .../res/cardsfolder/s/synchronized_spellcraft.txt | 2 +- forge-gui/res/cardsfolder/s/syncopate.txt | 2 +- forge-gui/res/cardsfolder/s/synod_artificer.txt | 4 ++-- forge-gui/res/cardsfolder/s/synthetic_destiny.txt | 4 ++-- forge-gui/res/cardsfolder/s/syphon_flesh.txt | 2 +- forge-gui/res/cardsfolder/s/syphon_mind.txt | 2 +- forge-gui/res/cardsfolder/s/syphon_soul.txt | 2 +- .../cardsfolder/s/syr_faren_the_hengehammer.txt | 2 +- .../res/cardsfolder/s/szadek_lord_of_secrets.txt | 4 ++-- forge-gui/res/cardsfolder/s/szats_will.txt | 4 ++-- .../res/cardsfolder/t/tablet_of_the_guilds.txt | 2 +- .../res/cardsfolder/t/tahngarth_talruum_hero.txt | 4 ++-- .../res/cardsfolder/t/taigam_sidisis_hand.txt | 2 +- forge-gui/res/cardsfolder/t/tail_slash.txt | 2 +- forge-gui/res/cardsfolder/t/tainted_pact.txt | 6 +++--- forge-gui/res/cardsfolder/t/tainted_remedy.txt | 2 +- forge-gui/res/cardsfolder/t/tainted_sigil.txt | 2 +- forge-gui/res/cardsfolder/t/taj_nar_swordsmith.txt | 2 +- forge-gui/res/cardsfolder/t/tajuru_archer.txt | 2 +- forge-gui/res/cardsfolder/t/take_heart.txt | 2 +- forge-gui/res/cardsfolder/t/take_inventory.txt | 2 +- forge-gui/res/cardsfolder/t/talaras_bane.txt | 2 +- .../res/cardsfolder/t/talent_of_the_telepath.txt | 2 +- .../res/cardsfolder/t/tales_of_the_ancestors.txt | 4 ++-- forge-gui/res/cardsfolder/t/talon_gates.txt | 2 +- forge-gui/res/cardsfolder/t/talon_of_pain.txt | 2 +- forge-gui/res/cardsfolder/t/tamanoa.txt | 2 +- .../res/cardsfolder/t/tamiyo_field_researcher.txt | 2 +- .../res/cardsfolder/t/tamiyo_the_moon_sage.txt | 2 +- .../res/cardsfolder/t/tana_the_bloodsower.txt | 2 +- forge-gui/res/cardsfolder/t/tangle_wire.txt | 2 +- .../res/cardsfolder/t/tapestry_of_the_ages.txt | 2 +- forge-gui/res/cardsfolder/t/tar_fiend.txt | 2 +- forge-gui/res/cardsfolder/t/tarmogoyf.txt | 2 +- forge-gui/res/cardsfolder/t/tarox_bladewing.txt | 2 +- forge-gui/res/cardsfolder/t/taste_of_paradise.txt | 2 +- .../res/cardsfolder/t/tazri_beacon_of_unity.txt | 2 +- forge-gui/res/cardsfolder/t/tears_of_rage.txt | 2 +- forge-gui/res/cardsfolder/t/tectonic_break.txt | 2 +- forge-gui/res/cardsfolder/t/tectonic_edge.txt | 2 +- forge-gui/res/cardsfolder/t/teferis_puzzle_box.txt | 2 +- forge-gui/res/cardsfolder/t/temper.txt | 2 +- forge-gui/res/cardsfolder/t/tempest_efreet.txt | 4 ++-- forge-gui/res/cardsfolder/t/temporary_insanity.txt | 2 +- forge-gui/res/cardsfolder/t/temporary_truce.txt | 2 +- .../res/cardsfolder/t/tempt_with_discovery.txt | 6 +++--- forge-gui/res/cardsfolder/t/tempt_with_glory.txt | 6 +++--- .../res/cardsfolder/t/tempt_with_immortality.txt | 2 +- .../res/cardsfolder/t/tempt_with_reflections.txt | 6 +++--- .../res/cardsfolder/t/tempt_with_vengeance.txt | 10 +++++----- forge-gui/res/cardsfolder/t/tempting_wurm.txt | 2 +- .../res/cardsfolder/t/tendrils_of_corruption.txt | 4 ++-- forge-gui/res/cardsfolder/t/tephraderm.txt | 4 ++-- forge-gui/res/cardsfolder/t/terra_ravager.txt | 2 +- forge-gui/res/cardsfolder/t/terravore.txt | 2 +- .../res/cardsfolder/t/terror_of_the_peaks.txt | 2 +- forge-gui/res/cardsfolder/t/testament_of_faith.txt | 2 +- forge-gui/res/cardsfolder/t/tetravus.txt | 4 ++-- .../res/cardsfolder/t/tezzeret_agent_of_bolas.txt | 4 ++-- .../res/cardsfolder/t/tezzeret_artifice_master.txt | 2 +- .../res/cardsfolder/t/tezzeret_cruel_machinist.txt | 2 +- .../res/cardsfolder/t/tezzeret_master_of_metal.txt | 2 +- .../t/tezzeret_master_of_the_bridge.txt | 4 ++-- .../res/cardsfolder/t/tezzeret_the_schemer.txt | 2 +- .../res/cardsfolder/t/tezzeret_the_seeker.txt | 2 +- .../res/cardsfolder/t/tezzerets_simulacrum.txt | 2 +- .../res/cardsfolder/t/thalisse_reverent_medium.txt | 2 +- .../res/cardsfolder/t/thassa_deep_dwelling.txt | 2 +- .../res/cardsfolder/t/thassa_god_of_the_sea.txt | 2 +- .../res/cardsfolder/t/thassas_intervention.txt | 6 +++--- forge-gui/res/cardsfolder/t/thassas_oracle.txt | 4 ++-- forge-gui/res/cardsfolder/t/thassas_rebuff.txt | 2 +- forge-gui/res/cardsfolder/t/the_akroan_war.txt | 2 +- .../res/cardsfolder/t/the_bears_of_littjara.txt | 2 +- .../cardsfolder/t/the_binding_of_the_titans.txt | 2 +- .../res/cardsfolder/t/the_bloodsky_massacre.txt | 2 +- .../res/cardsfolder/t/the_cauldron_of_eternity.txt | 2 +- .../res/cardsfolder/t/the_circle_of_loyalty.txt | 2 +- .../res/cardsfolder/t/the_countdown_is_at_one.txt | 2 +- .../res/cardsfolder/t/the_dead_shall_serve.txt | 2 +- forge-gui/res/cardsfolder/t/the_elderspell.txt | 4 ++-- forge-gui/res/cardsfolder/t/the_first_eruption.txt | 2 +- forge-gui/res/cardsfolder/t/the_flame_of_keld.txt | 2 +- forge-gui/res/cardsfolder/t/the_great_aurora.txt | 4 ++-- forge-gui/res/cardsfolder/t/the_great_henge.txt | 2 +- .../res/cardsfolder/t/the_legend_of_arena.txt | 4 ++-- forge-gui/res/cardsfolder/t/the_magic_mirror.txt | 4 ++-- .../res/cardsfolder/t/the_mighty_will_fall.txt | 2 +- forge-gui/res/cardsfolder/t/the_mimeoplasm.txt | 10 +++++----- forge-gui/res/cardsfolder/t/the_rack.txt | 2 +- forge-gui/res/cardsfolder/t/the_royal_scions.txt | 2 +- forge-gui/res/cardsfolder/t/the_scarab_god.txt | 4 ++-- .../res/cardsfolder/t/the_triumph_of_anax.txt | 2 +- forge-gui/res/cardsfolder/t/the_ur_dragon.txt | 2 +- forge-gui/res/cardsfolder/t/the_world_tree.txt | 2 +- forge-gui/res/cardsfolder/t/theater_of_horrors.txt | 2 +- forge-gui/res/cardsfolder/t/theft_of_dreams.txt | 2 +- forge-gui/res/cardsfolder/t/thelons_curse.txt | 2 +- forge-gui/res/cardsfolder/t/thermal_blast.txt | 2 +- forge-gui/res/cardsfolder/t/thief_of_blood.txt | 2 +- .../res/cardsfolder/t/thieves_guild_enforcer.txt | 2 +- forge-gui/res/cardsfolder/t/thieving_skydiver.txt | 2 +- forge-gui/res/cardsfolder/t/thieving_sprite.txt | 2 +- .../res/cardsfolder/t/thornmantle_striker.txt | 4 ++-- forge-gui/res/cardsfolder/t/thought_dissector.txt | 4 ++-- forge-gui/res/cardsfolder/t/thought_gorger.txt | 4 ++-- forge-gui/res/cardsfolder/t/thought_hemorrhage.txt | 4 ++-- forge-gui/res/cardsfolder/t/thought_sponge.txt | 2 +- forge-gui/res/cardsfolder/t/thoughts_of_ruin.txt | 2 +- .../res/cardsfolder/t/thousand_year_storm.txt | 2 +- forge-gui/res/cardsfolder/t/thrash_threat.txt | 2 +- forge-gui/res/cardsfolder/t/thrashing_mudspawn.txt | 2 +- forge-gui/res/cardsfolder/t/threnody_singer.txt | 2 +- forge-gui/res/cardsfolder/t/thrive.txt | 2 +- forge-gui/res/cardsfolder/t/throne_of_empires.txt | 2 +- .../cardsfolder/t/throne_of_the_god_pharaoh.txt | 2 +- forge-gui/res/cardsfolder/t/thud.txt | 2 +- forge-gui/res/cardsfolder/t/thunder_of_hooves.txt | 2 +- .../res/cardsfolder/t/thundercloud_shaman.txt | 2 +- forge-gui/res/cardsfolder/t/thundering_djinn.txt | 2 +- .../res/cardsfolder/t/thundering_sparkmage.txt | 2 +- .../res/cardsfolder/t/thunderkin_awakener.txt | 2 +- forge-gui/res/cardsfolder/t/thunderous_might.txt | 2 +- forge-gui/res/cardsfolder/t/thwart_the_grave.txt | 2 +- .../res/cardsfolder/t/tibalt_the_fiend_blooded.txt | 2 +- forge-gui/res/cardsfolder/t/tibalts_trickery.txt | 2 +- forge-gui/res/cardsfolder/t/tidal_influence.txt | 2 +- forge-gui/res/cardsfolder/t/tidy_conclusion.txt | 2 +- .../res/cardsfolder/t/tilonallis_summoner.txt | 2 +- forge-gui/res/cardsfolder/t/timbermaw_larva.txt | 2 +- forge-gui/res/cardsfolder/t/timberpack_wolf.txt | 2 +- forge-gui/res/cardsfolder/t/timberwatch_elf.txt | 2 +- forge-gui/res/cardsfolder/t/time_bomb.txt | 2 +- forge-gui/res/cardsfolder/t/timecrafting.txt | 6 +++--- .../res/cardsfolder/t/timely_reinforcements.txt | 4 ++-- forge-gui/res/cardsfolder/t/timesifter.txt | 2 +- .../res/cardsfolder/t/tishana_voice_of_thunder.txt | 4 ++-- forge-gui/res/cardsfolder/t/titan_hunter.txt | 2 +- forge-gui/res/cardsfolder/t/titanias_song.txt | 2 +- forge-gui/res/cardsfolder/t/titanic_brawl.txt | 4 ++-- forge-gui/res/cardsfolder/t/titans_presence.txt | 2 +- forge-gui/res/cardsfolder/t/titans_revenge.txt | 2 +- forge-gui/res/cardsfolder/t/tithe.txt | 2 +- forge-gui/res/cardsfolder/t/to_the_slaughter.txt | 6 +++--- forge-gui/res/cardsfolder/t/toil_to_renown.txt | 2 +- forge-gui/res/cardsfolder/t/toil_trouble.txt | 2 +- forge-gui/res/cardsfolder/t/tolarian_academy.txt | 2 +- forge-gui/res/cardsfolder/t/tolarian_winds.txt | 2 +- forge-gui/res/cardsfolder/t/tomb_hex.txt | 2 +- .../cardsfolder/t/tomb_of_the_spirit_dragon.txt | 2 +- .../res/cardsfolder/t/tombstone_stairwell.txt | 2 +- .../res/cardsfolder/t/toothy_imaginary_friend.txt | 2 +- forge-gui/res/cardsfolder/t/topsy_turvy.txt | 2 +- .../t/toralf_god_of_fury_toralfs_hammer.txt | 2 +- .../cardsfolder/t/torbran_thane_of_red_fell.txt | 2 +- forge-gui/res/cardsfolder/t/torch_song.txt | 2 +- .../res/cardsfolder/t/torgaar_famine_incarnate.txt | 6 +++--- .../res/cardsfolder/t/torment_of_hailfire.txt | 2 +- forge-gui/res/cardsfolder/t/tormented_thoughts.txt | 2 +- forge-gui/res/cardsfolder/t/tornado.txt | 2 +- forge-gui/res/cardsfolder/t/torrent_of_fire.txt | 2 +- forge-gui/res/cardsfolder/t/torrent_of_lava.txt | 2 +- forge-gui/res/cardsfolder/t/torture_chamber.txt | 4 ++-- forge-gui/res/cardsfolder/t/touch_of_darkness.txt | 2 +- .../res/cardsfolder/t/towering_wave_mystic.txt | 2 +- forge-gui/res/cardsfolder/t/toxic_deluge.txt | 2 +- forge-gui/res/cardsfolder/t/toxic_stench.txt | 4 ++-- forge-gui/res/cardsfolder/t/track_down.txt | 2 +- forge-gui/res/cardsfolder/t/tracker.txt | 4 ++-- forge-gui/res/cardsfolder/t/trade_secrets.txt | 2 +- forge-gui/res/cardsfolder/t/tragic_slip.txt | 2 +- forge-gui/res/cardsfolder/t/training_center.txt | 2 +- forge-gui/res/cardsfolder/t/traitors_roar.txt | 2 +- forge-gui/res/cardsfolder/t/transcendence.txt | 2 +- forge-gui/res/cardsfolder/t/transmute_artifact.txt | 6 +++--- forge-gui/res/cardsfolder/t/traumatize.txt | 2 +- forge-gui/res/cardsfolder/t/traveling_plague.txt | 2 +- .../res/cardsfolder/t/traverse_the_outlands.txt | 2 +- .../res/cardsfolder/t/traverse_the_ulvenwald.txt | 4 ++-- .../res/cardsfolder/t/treacherous_terrain.txt | 2 +- .../cardsfolder/t/treasure_map_treasure_cove.txt | 2 +- forge-gui/res/cardsfolder/t/treetop_defense.txt | 2 +- forge-gui/res/cardsfolder/t/trench_gorger.txt | 4 ++-- forge-gui/res/cardsfolder/t/trepanation_blade.txt | 2 +- forge-gui/res/cardsfolder/t/tribal_flames.txt | 2 +- forge-gui/res/cardsfolder/t/tribal_unity.txt | 4 ++-- forge-gui/res/cardsfolder/t/tribute_to_hunger.txt | 2 +- forge-gui/res/cardsfolder/t/triumph_of_cruelty.txt | 2 +- .../res/cardsfolder/t/triumph_of_ferocity.txt | 2 +- forge-gui/res/cardsfolder/t/tromokratis.txt | 2 +- forge-gui/res/cardsfolder/t/tromp_the_domains.txt | 2 +- forge-gui/res/cardsfolder/t/tropical_storm.txt | 2 +- .../res/cardsfolder/t/trostani_selesnyas_voice.txt | 2 +- forge-gui/res/cardsfolder/t/truce.txt | 2 +- forge-gui/res/cardsfolder/t/truefire_captain.txt | 2 +- .../cardsfolder/t/trynn_champion_of_freedom.txt | 2 +- forge-gui/res/cardsfolder/t/tuktuk_scrapper.txt | 2 +- forge-gui/res/cardsfolder/t/tundra_fumarole.txt | 2 +- forge-gui/res/cardsfolder/t/turbulent_dreams.txt | 2 +- .../res/cardsfolder/t/turn_into_a_pumpkin.txt | 2 +- forge-gui/res/cardsfolder/t/turn_the_tables.txt | 2 +- forge-gui/res/cardsfolder/t/tuvasa_the_sunlit.txt | 2 +- forge-gui/res/cardsfolder/t/tuya_bearclaw.txt | 2 +- forge-gui/res/cardsfolder/t/twilight_prophet.txt | 4 ++-- forge-gui/res/cardsfolder/t/twinflame.txt | 2 +- forge-gui/res/cardsfolder/t/twinning_staff.txt | 2 +- forge-gui/res/cardsfolder/t/twinstrike.txt | 2 +- forge-gui/res/cardsfolder/t/twisted_justice.txt | 2 +- .../res/cardsfolder/t/tymaret_calls_the_dead.txt | 4 ++-- .../cardsfolder/t/tymaret_chosen_from_death.txt | 2 +- forge-gui/res/cardsfolder/t/tymna_the_weaver.txt | 2 +- forge-gui/res/cardsfolder/t/typhoon.txt | 2 +- .../res/cardsfolder/u/ugin_the_spirit_dragon.txt | 2 +- forge-gui/res/cardsfolder/u/ugins_conjurant.txt | 2 +- forge-gui/res/cardsfolder/u/ugins_insight.txt | 2 +- .../res/cardsfolder/u/ukkima_stalking_shadow.txt | 4 ++-- forge-gui/res/cardsfolder/u/uktabi_wildcats.txt | 2 +- forge-gui/res/cardsfolder/u/ulvenwald_hydra.txt | 2 +- forge-gui/res/cardsfolder/u/umbra_stalker.txt | 2 +- forge-gui/res/cardsfolder/u/undead_alchemist.txt | 2 +- forge-gui/res/cardsfolder/u/undead_servant.txt | 2 +- forge-gui/res/cardsfolder/u/underdark_beholder.txt | 6 +++--- .../res/cardsfolder/u/undergrowth_stadium.txt | 2 +- .../res/cardsfolder/u/underhanded_designs.txt | 2 +- forge-gui/res/cardsfolder/u/undying_flames.txt | 2 +- .../res/cardsfolder/u/unexpectedly_absent.txt | 2 +- forge-gui/res/cardsfolder/u/unexplained_vision.txt | 2 +- forge-gui/res/cardsfolder/u/unholy_hunger.txt | 2 +- forge-gui/res/cardsfolder/u/unified_front.txt | 2 +- forge-gui/res/cardsfolder/u/unified_strike.txt | 2 +- forge-gui/res/cardsfolder/u/unified_will.txt | 2 +- forge-gui/res/cardsfolder/u/unleash_fury.txt | 2 +- .../res/cardsfolder/u/unliving_psychopath.txt | 2 +- forge-gui/res/cardsfolder/u/unmoored_ego.txt | 6 +++--- forge-gui/res/cardsfolder/u/unnatural_hunger.txt | 2 +- forge-gui/res/cardsfolder/u/untamed_might.txt | 2 +- forge-gui/res/cardsfolder/u/unwilling_recruit.txt | 2 +- forge-gui/res/cardsfolder/u/urborg_justice.txt | 2 +- forge-gui/res/cardsfolder/u/urge_to_feed.txt | 2 +- forge-gui/res/cardsfolder/u/urzas_mine.txt | 2 +- forge-gui/res/cardsfolder/u/urzas_power_plant.txt | 2 +- forge-gui/res/cardsfolder/u/urzas_rage.txt | 4 ++-- forge-gui/res/cardsfolder/u/urzas_tower.txt | 2 +- .../cardsfolder/v/vaevictis_asmadi_the_dire.txt | 2 +- .../v/valakut_awakening_valakut_stoneforge.txt | 4 ++-- .../res/cardsfolder/v/valakut_exploration.txt | 4 ++-- .../cardsfolder/v/valduk_keeper_of_the_flame.txt | 2 +- forge-gui/res/cardsfolder/v/valiant_changeling.txt | 2 +- .../v/valki_god_of_lies_tibalt_cosmic_impostor.txt | 2 +- forge-gui/res/cardsfolder/v/vampiric_link.txt | 2 +- forge-gui/res/cardsfolder/v/vanish_into_memory.txt | 4 ++-- .../cardsfolder/v/varchild_betrayer_of_kjeldor.txt | 2 +- .../res/cardsfolder/v/varchilds_war_riders.txt | 2 +- forge-gui/res/cardsfolder/v/varina_lich_queen.txt | 6 +++--- forge-gui/res/cardsfolder/v/vassals_duty.txt | 2 +- forge-gui/res/cardsfolder/v/vastwood_animist.txt | 2 +- forge-gui/res/cardsfolder/v/vastwood_hydra.txt | 2 +- forge-gui/res/cardsfolder/v/vault_of_champions.txt | 2 +- forge-gui/res/cardsfolder/v/vedalken_shackles.txt | 2 +- forge-gui/res/cardsfolder/v/veil_of_summer.txt | 2 +- forge-gui/res/cardsfolder/v/vein_drinker.txt | 4 ++-- forge-gui/res/cardsfolder/v/venarian_glimmer.txt | 2 +- forge-gui/res/cardsfolder/v/venarian_gold.txt | 2 +- forge-gui/res/cardsfolder/v/vendetta.txt | 2 +- forge-gui/res/cardsfolder/v/vengeful_archon.txt | 4 ++-- forge-gui/res/cardsfolder/v/vengeful_devil.txt | 2 +- forge-gui/res/cardsfolder/v/vengeful_dreams.txt | 2 +- forge-gui/res/cardsfolder/v/vengeful_rebirth.txt | 2 +- forge-gui/res/cardsfolder/v/vensers_journal.txt | 2 +- forge-gui/res/cardsfolder/v/vent_sentinel.txt | 2 +- forge-gui/res/cardsfolder/v/ventifact_bottle.txt | 4 ++-- .../cardsfolder/v/verazol_the_split_current.txt | 2 +- .../res/cardsfolder/v/verdant_suns_avatar.txt | 2 +- .../res/cardsfolder/v/verdeloth_the_ancient.txt | 2 +- forge-gui/res/cardsfolder/v/verge_rangers.txt | 2 +- forge-gui/res/cardsfolder/v/veteran_adventurer.txt | 2 +- forge-gui/res/cardsfolder/v/veteran_warleader.txt | 2 +- forge-gui/res/cardsfolder/v/veterans_armaments.txt | 2 +- forge-gui/res/cardsfolder/v/vexing_sphinx.txt | 2 +- .../res/cardsfolder/v/vial_smasher_the_fierce.txt | 2 +- forge-gui/res/cardsfolder/v/viashino_racketeer.txt | 2 +- forge-gui/res/cardsfolder/v/vicious_offering.txt | 2 +- forge-gui/res/cardsfolder/v/victimize.txt | 2 +- forge-gui/res/cardsfolder/v/vigil_for_the_lost.txt | 2 +- forge-gui/res/cardsfolder/v/vigor.txt | 2 +- forge-gui/res/cardsfolder/v/vigorous_charge.txt | 2 +- forge-gui/res/cardsfolder/v/vigorspore_wurm.txt | 2 +- forge-gui/res/cardsfolder/v/vile_deacon.txt | 2 +- forge-gui/res/cardsfolder/v/vile_manifestation.txt | 2 +- forge-gui/res/cardsfolder/v/vile_redeemer.txt | 2 +- forge-gui/res/cardsfolder/v/vile_requiem.txt | 2 +- .../res/cardsfolder/v/vilis_broker_of_blood.txt | 2 +- forge-gui/res/cardsfolder/v/villainous_wealth.txt | 4 ++-- forge-gui/res/cardsfolder/v/vindictive_lich.txt | 2 +- forge-gui/res/cardsfolder/v/vines_of_vastwood.txt | 2 +- forge-gui/res/cardsfolder/v/viridian_joiner.txt | 2 +- .../res/cardsfolder/v/viridian_lorebearers.txt | 2 +- forge-gui/res/cardsfolder/v/virtus_the_veiled.txt | 2 +- forge-gui/res/cardsfolder/v/viseling.txt | 2 +- .../res/cardsfolder/v/vish_kal_blood_arbiter.txt | 4 ++-- forge-gui/res/cardsfolder/v/visions_of_beyond.txt | 2 +- .../res/cardsfolder/v/visions_of_brutality.txt | 2 +- forge-gui/res/cardsfolder/v/vitality_hunter.txt | 2 +- forge-gui/res/cardsfolder/v/vitalizing_cascade.txt | 2 +- .../cardsfolder/v/vito_thorn_of_the_dusk_rose.txt | 2 +- .../res/cardsfolder/v/vivien_arkbow_ranger.txt | 2 +- .../res/cardsfolder/v/vivien_monsters_advocate.txt | 2 +- .../res/cardsfolder/v/vivien_of_the_arkbow.txt | 2 +- forge-gui/res/cardsfolder/v/viviens_arkbow.txt | 2 +- forge-gui/res/cardsfolder/v/viviens_invocation.txt | 2 +- forge-gui/res/cardsfolder/v/vizier_of_remedies.txt | 2 +- forge-gui/res/cardsfolder/v/vizkopa_confessor.txt | 2 +- forge-gui/res/cardsfolder/v/vizkopa_guildmage.txt | 4 ++-- forge-gui/res/cardsfolder/v/voice_of_many.txt | 2 +- .../res/cardsfolder/v/voices_from_the_void.txt | 2 +- forge-gui/res/cardsfolder/v/volatile_chimera.txt | 4 ++-- forge-gui/res/cardsfolder/v/volcanic_eruption.txt | 4 ++-- forge-gui/res/cardsfolder/v/volcanic_geyser.txt | 2 +- forge-gui/res/cardsfolder/v/volcanic_salvo.txt | 2 +- forge-gui/res/cardsfolder/v/volcanic_torrent.txt | 2 +- forge-gui/res/cardsfolder/v/volcanic_vision.txt | 2 +- forge-gui/res/cardsfolder/v/volcano_hellion.txt | 4 ++-- forge-gui/res/cardsfolder/v/vonas_hunger.txt | 6 +++--- forge-gui/res/cardsfolder/v/voodoo_doll.txt | 4 ++-- forge-gui/res/cardsfolder/v/voracious_dragon.txt | 2 +- .../cardsfolder/v/vorinclex_monstrous_raider.txt | 4 ++-- forge-gui/res/cardsfolder/v/voyager_drake.txt | 2 +- .../res/cardsfolder/v/vraska_golgari_queen.txt | 2 +- forge-gui/res/cardsfolder/v/vraskas_stoneglare.txt | 2 +- .../res/cardsfolder/w/waiting_in_the_weeds.txt | 2 +- forge-gui/res/cardsfolder/w/wake_the_dead.txt | 2 +- forge-gui/res/cardsfolder/w/waker_of_the_wilds.txt | 2 +- forge-gui/res/cardsfolder/w/waking_the_trolls.txt | 2 +- .../res/cardsfolder/w/walker_of_the_wastes.txt | 2 +- forge-gui/res/cardsfolder/w/walking_archive.txt | 2 +- forge-gui/res/cardsfolder/w/wall_of_essence.txt | 2 +- forge-gui/res/cardsfolder/w/wall_of_hope.txt | 2 +- forge-gui/res/cardsfolder/w/wall_of_limbs.txt | 2 +- forge-gui/res/cardsfolder/w/wall_of_reverence.txt | 2 +- forge-gui/res/cardsfolder/w/wall_of_souls.txt | 2 +- forge-gui/res/cardsfolder/w/wall_of_tombstones.txt | 2 +- forge-gui/res/cardsfolder/w/wand_of_ith.txt | 2 +- forge-gui/res/cardsfolder/w/wandering_goblins.txt | 2 +- forge-gui/res/cardsfolder/w/wandering_stream.txt | 2 +- forge-gui/res/cardsfolder/w/war_cadence.txt | 2 +- forge-gui/res/cardsfolder/w/war_dance.txt | 2 +- forge-gui/res/cardsfolder/w/war_elemental.txt | 4 ++-- forge-gui/res/cardsfolder/w/war_report.txt | 2 +- forge-gui/res/cardsfolder/w/war_room.txt | 2 +- forge-gui/res/cardsfolder/w/warbreak_trumpeter.txt | 2 +- forge-gui/res/cardsfolder/w/ward_of_piety.txt | 2 +- .../res/cardsfolder/w/warden_of_the_beyond.txt | 2 +- forge-gui/res/cardsfolder/w/warfire_javelineer.txt | 2 +- forge-gui/res/cardsfolder/w/wargate.txt | 2 +- forge-gui/res/cardsfolder/w/warp_world.txt | 2 +- forge-gui/res/cardsfolder/w/warped_physique.txt | 2 +- forge-gui/res/cardsfolder/w/warrior_angel.txt | 2 +- forge-gui/res/cardsfolder/w/warrior_en_kor.txt | 2 +- forge-gui/res/cardsfolder/w/warriors_oath.txt | 2 +- .../res/cardsfolder/w/wasitora_nekoru_queen.txt | 2 +- .../res/cardsfolder/w/wave_of_indifference.txt | 2 +- forge-gui/res/cardsfolder/w/wave_of_reckoning.txt | 2 +- forge-gui/res/cardsfolder/w/wave_of_terror.txt | 2 +- forge-gui/res/cardsfolder/w/wave_of_vitriol.txt | 2 +- forge-gui/res/cardsfolder/w/waxmane_baku.txt | 2 +- forge-gui/res/cardsfolder/w/wayfaring_temple.txt | 2 +- forge-gui/res/cardsfolder/w/wayward_swordtooth.txt | 2 +- forge-gui/res/cardsfolder/w/weathered_wayfarer.txt | 2 +- forge-gui/res/cardsfolder/w/weaver_of_lies.txt | 2 +- forge-gui/res/cardsfolder/w/web_of_inertia.txt | 2 +- forge-gui/res/cardsfolder/w/weight_of_spires.txt | 2 +- forge-gui/res/cardsfolder/w/weird_harvest.txt | 2 +- .../res/cardsfolder/w/welcome_to_the_fold.txt | 2 +- forge-gui/res/cardsfolder/w/welding_sparks.txt | 2 +- .../res/cardsfolder/w/well_of_lost_dreams.txt | 4 ++-- forge-gui/res/cardsfolder/w/wellwisher.txt | 2 +- forge-gui/res/cardsfolder/w/wheel_and_deal.txt | 2 +- .../res/cardsfolder/w/wheel_of_misfortune.txt | 2 +- forge-gui/res/cardsfolder/w/wheel_of_torture.txt | 2 +- forge-gui/res/cardsfolder/w/whetwheel.txt | 2 +- .../cardsfolder/w/which_of_you_burns_brightest.txt | 4 ++-- .../res/cardsfolder/w/whipgrass_entangler.txt | 4 ++-- forge-gui/res/cardsfolder/w/whipkeeper.txt | 2 +- forge-gui/res/cardsfolder/w/whiplash_trap.txt | 2 +- forge-gui/res/cardsfolder/w/whiptongue_hydra.txt | 2 +- forge-gui/res/cardsfolder/w/whir_of_invention.txt | 2 +- forge-gui/res/cardsfolder/w/whirlpool_drake.txt | 2 +- forge-gui/res/cardsfolder/w/whirlpool_rider.txt | 2 +- forge-gui/res/cardsfolder/w/whirlpool_warrior.txt | 2 +- forge-gui/res/cardsfolder/w/whispering_specter.txt | 2 +- .../res/cardsfolder/w/whispers_of_emrakul.txt | 2 +- forge-gui/res/cardsfolder/w/white_suns_zenith.txt | 2 +- .../res/cardsfolder/w/widespread_brutality.txt | 2 +- forge-gui/res/cardsfolder/w/wild_beastmaster.txt | 2 +- forge-gui/res/cardsfolder/w/wild_onslaught.txt | 2 +- forge-gui/res/cardsfolder/w/wildborn_preserver.txt | 4 ++-- forge-gui/res/cardsfolder/w/wildcall.txt | 2 +- .../res/cardsfolder/w/will_of_the_all_hunter.txt | 2 +- forge-gui/res/cardsfolder/w/windbrisk_heights.txt | 2 +- forge-gui/res/cardsfolder/w/windfall.txt | 2 +- .../res/cardsfolder/w/windgraces_judgment.txt | 2 +- .../res/cardsfolder/w/winding_constrictor.txt | 2 +- forge-gui/res/cardsfolder/w/winds_of_abandon.txt | 2 +- forge-gui/res/cardsfolder/w/winds_of_change.txt | 2 +- forge-gui/res/cardsfolder/w/winds_of_qal_sisma.txt | 4 ++-- forge-gui/res/cardsfolder/w/windstorm.txt | 2 +- .../res/cardsfolder/w/wine_of_blood_and_iron.txt | 2 +- forge-gui/res/cardsfolder/w/wing_storm.txt | 2 +- forge-gui/res/cardsfolder/w/wingmate_roc.txt | 2 +- forge-gui/res/cardsfolder/w/winter_blast.txt | 2 +- .../res/cardsfolder/w/wintermoor_commander.txt | 2 +- forge-gui/res/cardsfolder/w/winters_chill.txt | 2 +- forge-gui/res/cardsfolder/w/wirecat.txt | 2 +- forge-gui/res/cardsfolder/w/wirewood_channeler.txt | 2 +- forge-gui/res/cardsfolder/w/wirewood_pride.txt | 2 +- forge-gui/res/cardsfolder/w/witchs_oven.txt | 2 +- forge-gui/res/cardsfolder/w/withering_gaze.txt | 2 +- forge-gui/res/cardsfolder/w/withering_hex.txt | 2 +- forge-gui/res/cardsfolder/w/withering_wisps.txt | 2 +- forge-gui/res/cardsfolder/w/witherscale_wurm.txt | 2 +- forge-gui/res/cardsfolder/w/wizards_lightning.txt | 4 ++-- forge-gui/res/cardsfolder/w/wizards_retort.txt | 2 +- forge-gui/res/cardsfolder/w/woebringer_demon.txt | 2 +- .../res/cardsfolder/w/wolf_of_devils_breach.txt | 2 +- .../res/cardsfolder/w/wolfbriar_elemental.txt | 2 +- forge-gui/res/cardsfolder/w/wolfcallers_howl.txt | 2 +- forge-gui/res/cardsfolder/w/wolverine_riders.txt | 2 +- forge-gui/res/cardsfolder/w/wood_elemental.txt | 4 ++-- forge-gui/res/cardsfolder/w/woodborn_behemoth.txt | 2 +- forge-gui/res/cardsfolder/w/woodland_champion.txt | 2 +- forge-gui/res/cardsfolder/w/woodvine_elemental.txt | 2 +- forge-gui/res/cardsfolder/w/word_of_binding.txt | 2 +- forge-gui/res/cardsfolder/w/worldknit.txt | 2 +- forge-gui/res/cardsfolder/w/worldly_counsel.txt | 2 +- forge-gui/res/cardsfolder/w/worm_harvest.txt | 2 +- forge-gui/res/cardsfolder/w/wound_reflection.txt | 2 +- forge-gui/res/cardsfolder/w/wrack_with_madness.txt | 2 +- forge-gui/res/cardsfolder/w/wurmcalling.txt | 2 +- .../res/cardsfolder/w/wyleth_soul_of_steel.txt | 2 +- forge-gui/res/cardsfolder/x/xathrid_demon.txt | 6 +++--- .../res/cardsfolder/x/xenagos_god_of_revels.txt | 4 ++-- .../res/cardsfolder/x/xenagos_the_reveler.txt | 4 ++-- forge-gui/res/cardsfolder/x/xenic_poltergeist.txt | 2 +- .../res/cardsfolder/x/xyris_the_writhing_storm.txt | 4 ++-- .../cardsfolder/y/yannik_scavenging_sentinel.txt | 2 +- forge-gui/res/cardsfolder/y/yasova_dragonclaw.txt | 2 +- forge-gui/res/cardsfolder/y/yavimaya_kavu.txt | 2 +- forge-gui/res/cardsfolder/y/yew_spirit.txt | 2 +- .../res/cardsfolder/y/yidaro_wandering_monster.txt | 2 +- .../res/cardsfolder/y/yisan_the_wanderer_bard.txt | 2 +- forge-gui/res/cardsfolder/y/yorion_sky_nomad.txt | 2 +- .../res/cardsfolder/y/yorvo_lord_of_garenbrig.txt | 2 +- .../res/cardsfolder/y/your_inescapable_doom.txt | 4 ++-- .../res/cardsfolder/y/yuriko_the_tigers_shadow.txt | 2 +- .../cardsfolder/z/zagras_thief_of_heartbeats.txt | 2 +- .../res/cardsfolder/z/zaxara_the_exemplary.txt | 2 +- forge-gui/res/cardsfolder/z/zealots_en_dal.txt | 2 +- forge-gui/res/cardsfolder/z/zealous_inquisitor.txt | 2 +- forge-gui/res/cardsfolder/z/zebra_unicorn.txt | 2 +- .../res/cardsfolder/z/zedruu_the_greathearted.txt | 4 ++-- forge-gui/res/cardsfolder/z/zenith_flare.txt | 4 ++-- forge-gui/res/cardsfolder/z/zhalfirin_crusader.txt | 2 +- forge-gui/res/cardsfolder/z/zhalfirin_decoy.txt | 2 +- forge-gui/res/cardsfolder/z/zombie_boa.txt | 2 +- .../b_6_6_demon_flying_trample_aristocrat.txt | 2 +- .../res/tokenscripts/g_x_x_elephant_resurgence.txt | 2 +- .../g_x_x_treefolk_warrior_total_forests.txt | 2 +- 3496 files changed, 4176 insertions(+), 4176 deletions(-) diff --git a/forge-gui/res/cardsfolder/a/abandon_hope.txt b/forge-gui/res/cardsfolder/a/abandon_hope.txt index 95a38e5789e..9d789820c30 100644 --- a/forge-gui/res/cardsfolder/a/abandon_hope.txt +++ b/forge-gui/res/cardsfolder/a/abandon_hope.txt @@ -1,7 +1,7 @@ Name:Abandon Hope ManaCost:X 1 B Types:Sorcery -A:SP$ Discard | Cost$ X 1 B Discard | ValidTgts$ Opponent | Mode$ RevealYouChoose | NumCards$ X | References$ X | SpellDescription$ Look at target opponent's hand and choose X cards from it. That player discards those cards. +A:SP$ Discard | Cost$ X 1 B Discard | ValidTgts$ Opponent | Mode$ RevealYouChoose | NumCards$ X | SpellDescription$ Look at target opponent's hand and choose X cards from it. That player discards those cards. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/abandon_hope.jpg diff --git a/forge-gui/res/cardsfolder/a/abattoir_ghoul.txt b/forge-gui/res/cardsfolder/a/abattoir_ghoul.txt index 1dcc4818681..4d3907dbe89 100644 --- a/forge-gui/res/cardsfolder/a/abattoir_ghoul.txt +++ b/forge-gui/res/cardsfolder/a/abattoir_ghoul.txt @@ -4,7 +4,7 @@ Types:Creature Zombie PT:3/2 K:First Strike T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.DamagedBy | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever a creature dealt damage by CARDNAME this turn dies, you gain life equal to that creature's toughness. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggeredCard$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/abattoir_ghoul.jpg Oracle:First strike\nWhenever a creature dealt damage by Abattoir Ghoul this turn dies, you gain life equal to that creature's toughness. diff --git a/forge-gui/res/cardsfolder/a/abhorrent_overlord.txt b/forge-gui/res/cardsfolder/a/abhorrent_overlord.txt index b81362c5e31..af721f26f90 100644 --- a/forge-gui/res/cardsfolder/a/abhorrent_overlord.txt +++ b/forge-gui/res/cardsfolder/a/abhorrent_overlord.txt @@ -4,7 +4,7 @@ Types:Creature Demon PT:6/6 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a number of 1/1 black Harpy creature tokens with flying equal to your devotion to black. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ b_1_1_harpy_flying | TokenOwner$ You | LegacyImage$ b 1 1 harpy flying ths +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ b_1_1_harpy_flying | TokenOwner$ You | LegacyImage$ b 1 1 harpy flying ths SVar:X:Count$Devotion.Black T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, sacrifice a creature. SVar:TrigSac:DB$ Sacrifice | Defined$ You | SacValid$ Creature | SacMessage$ Creature diff --git a/forge-gui/res/cardsfolder/a/abominable_treefolk.txt b/forge-gui/res/cardsfolder/a/abominable_treefolk.txt index 2a3f5b042ea..f06d2ff1e33 100644 --- a/forge-gui/res/cardsfolder/a/abominable_treefolk.txt +++ b/forge-gui/res/cardsfolder/a/abominable_treefolk.txt @@ -3,7 +3,7 @@ ManaCost:2 G U Types:Snow Creature Treefolk PT:*/* K:Trample -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of snow permanents you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of snow permanents you control. SVar:X:Count$Valid Permanent.Snow+YouCtrl SVar:BuffedBy:Permanent.Snow SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/a/abomination_of_llanowar.txt b/forge-gui/res/cardsfolder/a/abomination_of_llanowar.txt index 9f012094924..02ae9f9a829 100644 --- a/forge-gui/res/cardsfolder/a/abomination_of_llanowar.txt +++ b/forge-gui/res/cardsfolder/a/abomination_of_llanowar.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Elf Horror PT:*/* K:Vigilance K:Menace -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X,Y | Description$ CARDNAME's power and toughness are each equal to the number of Elves you control plus the number of Elf cards in your graveyard. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Elves you control plus the number of Elf cards in your graveyard. SVar:X:Count$Valid Elf.YouCtrl/Plus.Y SVar:Y:Count$TypeInYourYard.Elf SVar:NeedsToPlayVar:X GE1 diff --git a/forge-gui/res/cardsfolder/a/abyssal_hunter.txt b/forge-gui/res/cardsfolder/a/abyssal_hunter.txt index ebe92dab0ae..b41fe7c577f 100644 --- a/forge-gui/res/cardsfolder/a/abyssal_hunter.txt +++ b/forge-gui/res/cardsfolder/a/abyssal_hunter.txt @@ -2,7 +2,7 @@ Name:Abyssal Hunter ManaCost:3 B Types:Creature Human Assassin PT:1/1 -A:AB$ DealDamage | Cost$ B T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBTap | References$ X | SpellDescription$ Tap target creature. CARDNAME deals damage equal to CARDNAME's power to that creature. +A:AB$ DealDamage | Cost$ B T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBTap | SpellDescription$ Tap target creature. CARDNAME deals damage equal to CARDNAME's power to that creature. SVar:DBTap:DB$ Tap | Defined$ Targeted SVar:X:Count$CardPower SVar:NonCombatPriority:4 diff --git a/forge-gui/res/cardsfolder/a/abzan_beastmaster.txt b/forge-gui/res/cardsfolder/a/abzan_beastmaster.txt index 48bc6e357d8..4668c74a175 100644 --- a/forge-gui/res/cardsfolder/a/abzan_beastmaster.txt +++ b/forge-gui/res/cardsfolder/a/abzan_beastmaster.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Dog Shaman PT:2/1 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToughDraw | TriggerDescription$ At the beginning of your upkeep, draw a card if you control the creature with the greatest toughness or tied for the greatest toughness. -SVar:TrigToughDraw:DB$ Draw | Defined$ You | NumCards$ 1 | ConditionPresent$ Creature | ConditionCompare$ GE1 | ConditionCheckSVar$ YourTough | ConditionSVarCompare$ GEOppsTough | References$ YourTough,OppsTough +SVar:TrigToughDraw:DB$ Draw | Defined$ You | NumCards$ 1 | ConditionPresent$ Creature | ConditionCompare$ GE1 | ConditionCheckSVar$ YourTough | ConditionSVarCompare$ GEOppsTough SVar:YourTough:Count$GreatestToughness_Creature.YouCtrl SVar:OppsTough:Count$GreatestToughness_Creature.YouDontCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/abzan_beastmaster.jpg diff --git a/forge-gui/res/cardsfolder/a/academy_journeymage.txt b/forge-gui/res/cardsfolder/a/academy_journeymage.txt index 604710311da..2be88848a8a 100644 --- a/forge-gui/res/cardsfolder/a/academy_journeymage.txt +++ b/forge-gui/res/cardsfolder/a/academy_journeymage.txt @@ -2,7 +2,7 @@ Name:Academy Journeymage ManaCost:4 U Types:Creature Human Wizard PT:3/2 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 1 | EffectZone$ All | CheckSVar$ Wizard | SVarCompare$ GE1 | References$ Wizard | Description$ This spell costs {1} less to cast if you control a Wizard. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 1 | EffectZone$ All | CheckSVar$ Wizard | SVarCompare$ GE1 | Description$ This spell costs {1} less to cast if you control a Wizard. SVar:Wizard:Count$Valid Wizard.YouCtrl T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, return target creature an opponent controls to its owner's hand. SVar:TrigChangeZone:DB$ ChangeZone | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | Origin$ Battlefield | Destination$ Hand diff --git a/forge-gui/res/cardsfolder/a/accelerated_mutation.txt b/forge-gui/res/cardsfolder/a/accelerated_mutation.txt index 90ded27a267..382ab6557db 100644 --- a/forge-gui/res/cardsfolder/a/accelerated_mutation.txt +++ b/forge-gui/res/cardsfolder/a/accelerated_mutation.txt @@ -1,7 +1,7 @@ Name:Accelerated Mutation ManaCost:3 G G Types:Instant -A:SP$ Pump | Cost$ 3 G G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the highest converted mana cost among permanents you control. +A:SP$ Pump | Cost$ 3 G G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the highest converted mana cost among permanents you control. SVar:X:Count$MaxCMCYouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/accelerated_mutation.jpg Oracle:Target creature gets +X/+X until end of turn, where X is the highest converted mana cost among permanents you control. diff --git a/forge-gui/res/cardsfolder/a/accumulated_knowledge.txt b/forge-gui/res/cardsfolder/a/accumulated_knowledge.txt index e93eede8332..a46dfb02f48 100644 --- a/forge-gui/res/cardsfolder/a/accumulated_knowledge.txt +++ b/forge-gui/res/cardsfolder/a/accumulated_knowledge.txt @@ -2,7 +2,7 @@ Name:Accumulated Knowledge ManaCost:1 U Types:Instant A:SP$ Draw | Cost$ 1 U | Defined$ You | NumCards$ 1 | SubAbility$ DBDraw | SpellDescription$ Draw a card, then draw cards equal to the number of cards named Accumulated Knowledge in all graveyards. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:Count$NamedInAllYards.Accumulated Knowledge DeckNeeds:Name$Accumulated Knowledge SVar:Picture:http://www.wizards.com/global/images/magic/general/accumulated_knowledge.jpg diff --git a/forge-gui/res/cardsfolder/a/acidic_soil.txt b/forge-gui/res/cardsfolder/a/acidic_soil.txt index 4cdd1a05c19..2130e96205d 100644 --- a/forge-gui/res/cardsfolder/a/acidic_soil.txt +++ b/forge-gui/res/cardsfolder/a/acidic_soil.txt @@ -2,7 +2,7 @@ Name:Acidic Soil ManaCost:2 R Types:Sorcery A:SP$ RepeatEach | Cost$ 2 R | RepeatPlayers$ Player | RepeatSubAbility$ DBDamage | DamageMap$ True | SpellDescription$ CARDNAME deals damage to each player equal to the number of lands they control. -SVar:DBDamage:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ Remembered | NumDmg$ X SVar:X:Count$Valid Land.RememberedPlayerCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/acidic_soil.jpg diff --git a/forge-gui/res/cardsfolder/a/acolytes_reward.txt b/forge-gui/res/cardsfolder/a/acolytes_reward.txt index 9b1042489a4..a93c0de957a 100644 --- a/forge-gui/res/cardsfolder/a/acolytes_reward.txt +++ b/forge-gui/res/cardsfolder/a/acolytes_reward.txt @@ -1,8 +1,8 @@ Name:Acolyte's Reward ManaCost:1 W Types:Instant -A:SP$ Pump | Cost$ 1 W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to damage with shield effect | IsCurse$ True | References$ X | SubAbility$ AcolytesPrevention | StackDescription$ SpellDescription | AILogic$ Never | SpellDescription$ Prevent the next X damage that would be dealt to target creature this turn, where X is your devotion to white. If damage is prevented this way, CARDNAME deals that much damage to any target. -SVar:AcolytesPrevention:DB$ PreventDamage | ValidTgts$ Creature | TgtPrompt$ Select a creature to prevent damage to | Amount$ X | References$ X | PreventionSubAbility$ AcolytesRetribution | ShieldEffectTarget$ ParentTarget | StackDescription$ none +A:SP$ Pump | Cost$ 1 W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to damage with shield effect | IsCurse$ True | SubAbility$ AcolytesPrevention | StackDescription$ SpellDescription | AILogic$ Never | SpellDescription$ Prevent the next X damage that would be dealt to target creature this turn, where X is your devotion to white. If damage is prevented this way, CARDNAME deals that much damage to any target. +SVar:AcolytesPrevention:DB$ PreventDamage | ValidTgts$ Creature | TgtPrompt$ Select a creature to prevent damage to | Amount$ X | PreventionSubAbility$ AcolytesRetribution | ShieldEffectTarget$ ParentTarget | StackDescription$ none SVar:AcolytesRetribution:DB$ DealDamage | Defined$ ShieldEffectTarget | NumDmg$ PreventedDamage | SpellDescription$ CARDNAME deals damage to target creature or player for each damage prevented this way. SVar:X:Count$Devotion.White AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/a/acquisitions_expert.txt b/forge-gui/res/cardsfolder/a/acquisitions_expert.txt index fd256402de5..3f1077a7a68 100644 --- a/forge-gui/res/cardsfolder/a/acquisitions_expert.txt +++ b/forge-gui/res/cardsfolder/a/acquisitions_expert.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Creature Human Rogue PT:1/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBDiscard | TriggerDescription$ When CARDNAME enters the battlefield, target opponent reveals a number of cards from their hand equal to the number of creatures in your your party. You choose one of those cards. That player discards that card. -SVar:DBDiscard:DB$ Discard | ValidTgts$ Opponent | NumCards$ 1 | RevealNumber$ X | Mode$ RevealYouChoose | References$ X +SVar:DBDiscard:DB$ Discard | ValidTgts$ Opponent | NumCards$ 1 | RevealNumber$ X | Mode$ RevealYouChoose SVar:X:Count$Party DeckHas:Ability$Party DeckHints:Type$Cleric|Rogue|Warrior|Wizard diff --git a/forge-gui/res/cardsfolder/a/act_of_authority.txt b/forge-gui/res/cardsfolder/a/act_of_authority.txt index b960f2f7e26..65cfb4b6849 100644 --- a/forge-gui/res/cardsfolder/a/act_of_authority.txt +++ b/forge-gui/res/cardsfolder/a/act_of_authority.txt @@ -5,7 +5,7 @@ T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefi SVar:AuthorityExile:DB$ ChangeZone | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | Origin$ Battlefield | Destination$ Exile T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigExile | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may exile target artifact or enchantment. If you do, its controller gains control of CARDNAME. SVar:TrigExile:DB$ ChangeZone | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBGainControl -SVar:DBGainControl:DB$ GainControl | Defined$ Self | NewController$ RememberedController | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBCleanup +SVar:DBGainControl:DB$ GainControl | Defined$ Self | NewController$ RememberedController | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/a/ad_nauseam.txt b/forge-gui/res/cardsfolder/a/ad_nauseam.txt index 74557373e9e..6f2712799db 100644 --- a/forge-gui/res/cardsfolder/a/ad_nauseam.txt +++ b/forge-gui/res/cardsfolder/a/ad_nauseam.txt @@ -3,7 +3,7 @@ ManaCost:3 B B Types:Instant A:SP$ Repeat | Cost$ 3 B B | RepeatSubAbility$ DBDig | RepeatOptional$ True | StackDescription$ Reveal the top card of your library and put that card into your hand. You lose life equal to its converted mana cost. You may repeat this process any number of times. | SpellDescription$ Reveal the top card of your library and put that card into your hand. You lose life equal to its converted mana cost. You may repeat this process any number of times. SVar:DBDig:DB$ Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | RememberChanged$ True | SubAbility$ DBLose -SVar:DBLose:DB$ LoseLife | LifeAmount$ X | SubAbility$ DBCleanup | References$ X +SVar:DBLose:DB$ LoseLife | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/a/adamaro_first_to_desire.txt b/forge-gui/res/cardsfolder/a/adamaro_first_to_desire.txt index ddeb3d8deb0..ea930940263 100644 --- a/forge-gui/res/cardsfolder/a/adamaro_first_to_desire.txt +++ b/forge-gui/res/cardsfolder/a/adamaro_first_to_desire.txt @@ -2,7 +2,7 @@ Name:Adamaro, First to Desire ManaCost:1 R R Types:Legendary Creature Spirit PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in the hand of the opponent with the most cards in hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in the hand of the opponent with the most cards in hand. SVar:X:PlayerCountOpponents$HighestCardsInHand SVar:AntiBuffedBy:Card SVar:Picture:http://www.wizards.com/global/images/magic/general/adamaro_first_to_desire.jpg diff --git a/forge-gui/res/cardsfolder/a/adarkar_valkyrie.txt b/forge-gui/res/cardsfolder/a/adarkar_valkyrie.txt index 048a8bc80b7..96d7bdb1e10 100644 --- a/forge-gui/res/cardsfolder/a/adarkar_valkyrie.txt +++ b/forge-gui/res/cardsfolder/a/adarkar_valkyrie.txt @@ -4,7 +4,7 @@ Types:Snow Creature Angel PT:4/5 K:Flying K:Vigilance -A:AB$ Effect | Cost$ T | Name$ Adarkar Valkyrie Effect | ValidTgts$ Creature.Other | TgtPrompt$ Select target creature other than Adarkar Valkyrie | Triggers$ TrigChangesZone | SVars$ TrigChangeZone,EndEffect | References$ TrigChangesZone,TrigChangeZone,EndEffect | RememberObjects$ Targeted | SpellDescription$ When target creature other than CARDNAME dies this turn, return that card to the battlefield under your control. +A:AB$ Effect | Cost$ T | Name$ Adarkar Valkyrie Effect | ValidTgts$ Creature.Other | TgtPrompt$ Select target creature other than Adarkar Valkyrie | Triggers$ TrigChangesZone | SVars$ TrigChangeZone,EndEffect | RememberObjects$ Targeted | SpellDescription$ When target creature other than CARDNAME dies this turn, return that card to the battlefield under your control. SVar:TrigChangesZone:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.IsRemembered | Execute$ TrigChangeZone | TriggerDescription$ When creature targeted by Adarkar Valkyrie's ability dies this turn, return it to the battlefield and you gain control of it. SVar:TrigChangeZone:DB$ ChangeZone | Defined$ Remembered | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | SubAbility$ EndEffect SVar:EndEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/a/admirals_order.txt b/forge-gui/res/cardsfolder/a/admirals_order.txt index 6b173b78066..bdfef827743 100644 --- a/forge-gui/res/cardsfolder/a/admirals_order.txt +++ b/forge-gui/res/cardsfolder/a/admirals_order.txt @@ -1,7 +1,7 @@ Name:Admiral's Order ManaCost:1 U U Types:Instant -SVar:AltCost:Cost$ U | CheckSVar$ X | References$ X | Description$ Raid — If you attacked this turn, you may pay {U} rather than pay this spell's mana cost. +SVar:AltCost:Cost$ U | CheckSVar$ X | Description$ Raid — If you attacked this turn, you may pay {U} rather than pay this spell's mana cost. A:SP$ Counter | Cost$ 1 U U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SpellDescription$ Counter target spell. SVar:X:Count$AttackersDeclared Oracle:Raid — If you attacked this turn, you may pay {U} rather than pay this spell's mana cost.\nCounter target spell. diff --git a/forge-gui/res/cardsfolder/a/advice_from_the_fae.txt b/forge-gui/res/cardsfolder/a/advice_from_the_fae.txt index 8745ab9face..3e685063daa 100644 --- a/forge-gui/res/cardsfolder/a/advice_from_the_fae.txt +++ b/forge-gui/res/cardsfolder/a/advice_from_the_fae.txt @@ -1,8 +1,8 @@ Name:Advice from the Fae ManaCost:2/U 2/U 2/U Types:Sorcery -A:SP$ Dig | Cost$ 2/U 2/U 2/U | DigNum$ 5 | ChangeNum$ 1 | SubAbility$ Dig2 | ConditionCheckSVar$ X | ConditionSVarCompare$ LEY | References$ X,Y | SpellDescription$ Look at the top five cards of your library. If you control more creatures than each other player, put two of those cards into your hand. Otherwise, put one of them into your hand. Then put the rest on the bottom of your library in any order. -SVar:Dig2:DB$ Dig | DigNum$ 5 | ChangeNum$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GTY | References$ X,Y +A:SP$ Dig | Cost$ 2/U 2/U 2/U | DigNum$ 5 | ChangeNum$ 1 | SubAbility$ Dig2 | ConditionCheckSVar$ X | ConditionSVarCompare$ LEY | SpellDescription$ Look at the top five cards of your library. If you control more creatures than each other player, put two of those cards into your hand. Otherwise, put one of them into your hand. Then put the rest on the bottom of your library in any order. +SVar:Dig2:DB$ Dig | DigNum$ 5 | ChangeNum$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GTY SVar:X:Count$Valid Creature.YouCtrl SVar:Y:PlayerCountOther$HighestValid Creature.YouCtrl DeckNeeds:Color$Blue diff --git a/forge-gui/res/cardsfolder/a/aegis_of_honor.txt b/forge-gui/res/cardsfolder/a/aegis_of_honor.txt index a8cb6cdc25b..f61aa989667 100644 --- a/forge-gui/res/cardsfolder/a/aegis_of_honor.txt +++ b/forge-gui/res/cardsfolder/a/aegis_of_honor.txt @@ -1,7 +1,7 @@ Name:Aegis of Honor ManaCost:W Types:Enchantment -A:AB$ Effect | Cost$ 1 | ReplacementEffects$ SelflessDamage | SVars$ SelflessDmg,ExileEffect | References$ SelflessDamage,SelflessDmg,ExileEffect | AILogic$ RedirectSpellDamageFromPlayer | Stackable$ False | SpellDescription$ The next time an instant or sorcery spell would deal damage to you this turn, that spell deals that damage to its controller instead. +A:AB$ Effect | Cost$ 1 | ReplacementEffects$ SelflessDamage | SVars$ SelflessDmg,ExileEffect | AILogic$ RedirectSpellDamageFromPlayer | Stackable$ False | SpellDescription$ The next time an instant or sorcery spell would deal damage to you this turn, that spell deals that damage to its controller instead. SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ You | ValidSource$ Instant,Sorcery | ReplaceWith$ SelflessDmg | DamageTarget$ ReplacedSourceController | Description$ The next time a source of your choice would deal damage this turn, that damage is dealt to that source's controller instead. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ ReplacedSourceController | VarType$ Player | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/a/aeon_chronicler.txt b/forge-gui/res/cardsfolder/a/aeon_chronicler.txt index 238869f94f6..e06216ddbdc 100644 --- a/forge-gui/res/cardsfolder/a/aeon_chronicler.txt +++ b/forge-gui/res/cardsfolder/a/aeon_chronicler.txt @@ -3,7 +3,7 @@ ManaCost:3 U U Types:Creature Avatar Text:X can't be 0. PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | References$ Y | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. K:Suspend:X:XCantBe0 X 3 U T:Mode$ CounterRemoved | ValidCard$ Card.Self | TriggerZones$ Exile | CounterType$ TIME | Execute$ TrigDraw | TriggerDescription$ Whenever a time counter is removed from CARDNAME while it's exiled, draw a card. SVar:TrigDraw:DB$ Draw | NumCards$ 1 | Defined$ You diff --git a/forge-gui/res/cardsfolder/a/aerial_assault.txt b/forge-gui/res/cardsfolder/a/aerial_assault.txt index b62ca353d64..0fbc4f3e31b 100644 --- a/forge-gui/res/cardsfolder/a/aerial_assault.txt +++ b/forge-gui/res/cardsfolder/a/aerial_assault.txt @@ -2,6 +2,6 @@ Name:Aerial Assault ManaCost:2 W Types:Sorcery A:SP$ Destroy | Cost$ 2 W | ValidTgts$ Creature.tapped | TgtPrompt$ Select target tapped creature | SubAbility$ DBGainLife | SpellDescription$ Destroy target tapped creature. You gain 1 life for each creature you control with flying. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.YouCtrl+withFlying Oracle:Destroy target tapped creature. You gain 1 life for each creature you control with flying. diff --git a/forge-gui/res/cardsfolder/a/aerial_formation.txt b/forge-gui/res/cardsfolder/a/aerial_formation.txt index 891de939e24..6521df48fc3 100644 --- a/forge-gui/res/cardsfolder/a/aerial_formation.txt +++ b/forge-gui/res/cardsfolder/a/aerial_formation.txt @@ -2,7 +2,7 @@ Name:Aerial Formation ManaCost:U Types:Instant K:Strive:2 U -A:SP$ Pump | Cost$ U | ValidTgts$ Creature | KW$ Flying | NumAtt$ +1 | NumDef$ +1 | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | SpellDescription$ Any number of target creatures each get +1/+1 and gain flying until end of turn. +A:SP$ Pump | Cost$ U | ValidTgts$ Creature | KW$ Flying | NumAtt$ +1 | NumDef$ +1 | TargetMin$ 0 | TargetMax$ MaxTargets | SpellDescription$ Any number of target creatures each get +1/+1 and gain flying until end of turn. SVar:MaxTargets:Count$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/aerial_formation.jpg Oracle:Strive — This spell costs {2}{U} more to cast for each target beyond the first.\nAny number of target creatures each get +1/+1 and gain flying until end of turn. diff --git a/forge-gui/res/cardsfolder/a/aerie_ouphes.txt b/forge-gui/res/cardsfolder/a/aerie_ouphes.txt index b9944787d70..77af1218ac0 100644 --- a/forge-gui/res/cardsfolder/a/aerie_ouphes.txt +++ b/forge-gui/res/cardsfolder/a/aerie_ouphes.txt @@ -3,7 +3,7 @@ ManaCost:4 G Types:Creature Ouphe PT:3/3 K:Persist -A:AB$ DealDamage | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to its power to target creature with flying. +A:AB$ DealDamage | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to its power to target creature with flying. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/aerie_ouphes.jpg Oracle:Sacrifice Aerie Ouphes: It deals damage equal to its power to target creature with flying.\nPersist (When this creature dies, if it had no -1/-1 counters on it, return it to the battlefield under its owner's control with a -1/-1 counter on it.) diff --git a/forge-gui/res/cardsfolder/a/aether_burst.txt b/forge-gui/res/cardsfolder/a/aether_burst.txt index 3a7998af73d..bcfe700987a 100644 --- a/forge-gui/res/cardsfolder/a/aether_burst.txt +++ b/forge-gui/res/cardsfolder/a/aether_burst.txt @@ -1,7 +1,7 @@ Name:Aether Burst ManaCost:1 U Types:Instant -A:SP$ ChangeZone | Cost$ 1 U | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | References$ X | SpellDescription$ Return up to X target creatures to their owners' hands, where X is one plus the number of cards named Aether Burst in all graveyards as you cast CARDNAME. +A:SP$ ChangeZone | Cost$ 1 U | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return up to X target creatures to their owners' hands, where X is one plus the number of cards named Aether Burst in all graveyards as you cast CARDNAME. SVar:X:Count$NamedInAllYards.Aether Burst/Plus.1 DeckHints:Name$Aether Burst SVar:Picture:http://www.wizards.com/global/images/magic/general/aether_burst.jpg diff --git a/forge-gui/res/cardsfolder/a/aether_mutation.txt b/forge-gui/res/cardsfolder/a/aether_mutation.txt index 0629e69dd1f..82a13656623 100644 --- a/forge-gui/res/cardsfolder/a/aether_mutation.txt +++ b/forge-gui/res/cardsfolder/a/aether_mutation.txt @@ -3,7 +3,7 @@ ManaCost:3 G U Types:Sorcery A:SP$ ChangeZone | Cost$ 3 G U | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | SubAbility$ TrigToken | SpellDescription$ Return target creature to its owner's hand. Create X 1/1 green Saproling creature tokens, where X is that creature's converted mana cost. #X will be the Converted Mana Cost of the target of Aether Mutation -SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | References$ X | LegacyImage$ g 1 1 saproling apc +SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling apc SVar:X:Targeted$CardManaCost DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/aether_mutation.jpg diff --git a/forge-gui/res/cardsfolder/a/aether_tide.txt b/forge-gui/res/cardsfolder/a/aether_tide.txt index b7156ba70c4..b3ec69bb6ef 100644 --- a/forge-gui/res/cardsfolder/a/aether_tide.txt +++ b/forge-gui/res/cardsfolder/a/aether_tide.txt @@ -1,7 +1,7 @@ Name:Aether Tide ManaCost:X U Types:Sorcery -A:SP$ ChangeZone | Cost$ X U Discard | CostDesc$ As an additional cost to cast this spell, discard X creature cards. | TargetMin$ X | TargetMax$ X | Origin$ Battlefield | Destination$ Hand | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | References$ X | SpellDescription$ Return X target creatures to their owners' hands. +A:SP$ ChangeZone | Cost$ X U Discard | CostDesc$ As an additional cost to cast this spell, discard X creature cards. | TargetMin$ X | TargetMax$ X | Origin$ Battlefield | Destination$ Hand | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | SpellDescription$ Return X target creatures to their owners' hands. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, discard X creature cards.\nReturn X target creatures to their owners' hands. diff --git a/forge-gui/res/cardsfolder/a/aether_vial.txt b/forge-gui/res/cardsfolder/a/aether_vial.txt index 3f49a4c8dc3..d6125cb6e0d 100644 --- a/forge-gui/res/cardsfolder/a/aether_vial.txt +++ b/forge-gui/res/cardsfolder/a/aether_vial.txt @@ -1,7 +1,7 @@ Name:Aether Vial ManaCost:1 Types:Artifact -A:AB$ ChangeZone | Cost$ T | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature.cmcEQX+YouCtrl | ChangeNum$ 1 | Optional$ You | References$ X | SpellDescription$ You may put a creature card with converted mana cost equal to the number of charge counters on CARDNAME from your hand onto the battlefield. | StackDescription$ SpellDescription +A:AB$ ChangeZone | Cost$ T | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature.cmcEQX+YouCtrl | ChangeNum$ 1 | Optional$ You | SpellDescription$ You may put a creature card with converted mana cost equal to the number of charge counters on CARDNAME from your hand onto the battlefield. | StackDescription$ SpellDescription T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a charge counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1 SVar:X:Count$CardCounters.CHARGE diff --git a/forge-gui/res/cardsfolder/a/aetherflux_reservoir.txt b/forge-gui/res/cardsfolder/a/aetherflux_reservoir.txt index aa14246363c..d95e0a65915 100644 --- a/forge-gui/res/cardsfolder/a/aetherflux_reservoir.txt +++ b/forge-gui/res/cardsfolder/a/aetherflux_reservoir.txt @@ -2,7 +2,7 @@ Name:Aetherflux Reservoir ManaCost:4 Types:Artifact T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ You | Execute$ TrigGainLife | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a spell, you gain 1 life for each spell you've cast this turn. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$ThisTurnCast_Card.YouCtrl A:AB$ DealDamage | Cost$ PayLife<50> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 50 | SpellDescription$ CARDNAME deals 50 damage to any target. SVar:Picture:http://www.wizards.com/global/images/magic/general/aetherflux_reservoir.jpg diff --git a/forge-gui/res/cardsfolder/a/aetherplasm.txt b/forge-gui/res/cardsfolder/a/aetherplasm.txt index 3d0f9e56b6d..3b1b0dc480b 100644 --- a/forge-gui/res/cardsfolder/a/aetherplasm.txt +++ b/forge-gui/res/cardsfolder/a/aetherplasm.txt @@ -4,7 +4,7 @@ Types:Creature Illusion PT:1/1 T:Mode$ AttackerBlocked | ValidCard$ Creature | ValidBlocker$ Card.Self | OptionalDecider$ You | Execute$ TrigBounce | TriggerDescription$ Whenever CARDNAME blocks a creature, you may return CARDNAME to its owner's hand. If you do, you may put a creature card from your hand onto the battlefield blocking that creature. SVar:TrigBounce:DB$ ChangeZone | Origin$ Battlefield | Destination$ Hand | Defined$ Self | RememberChanged$ True | SubAbility$ DBChangeZone -SVar:DBChangeZone:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature | ChangeNum$ 1 | Blocking$ TriggeredAttacker | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBCleanup +SVar:DBChangeZone:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature | ChangeNum$ 1 | Blocking$ TriggeredAttacker | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/a/aetherwind_basker.txt b/forge-gui/res/cardsfolder/a/aetherwind_basker.txt index ab911ae1174..dedec4adf16 100644 --- a/forge-gui/res/cardsfolder/a/aetherwind_basker.txt +++ b/forge-gui/res/cardsfolder/a/aetherwind_basker.txt @@ -5,7 +5,7 @@ PT:7/7 K:Trample T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ Whenever CARDNAME enters the battlefield or attacks, you get {E} (an energy counter) for each creature you control. T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigEnergy | Secondary$ True | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME enters the battlefield or attacks, you get {E} (an energy counter) for each creature you control. -SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ X | References$ X +SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ X SVar:X:Count$TypeYouCtrl.Creature A:AB$ Pump | Cost$ PayEnergy<1> | Defined$ Self | NumAtt$ +1 | NumDef$ +1 | SpellDescription$ CARDNAME gets +1/+1 until end of turn. SVar:HasAttackEffect:TRUE diff --git a/forge-gui/res/cardsfolder/a/afflicted_deserter_werewolf_ransacker.txt b/forge-gui/res/cardsfolder/a/afflicted_deserter_werewolf_ransacker.txt index 7902ed408d7..7179618e57d 100644 --- a/forge-gui/res/cardsfolder/a/afflicted_deserter_werewolf_ransacker.txt +++ b/forge-gui/res/cardsfolder/a/afflicted_deserter_werewolf_ransacker.txt @@ -17,7 +17,7 @@ Types:Creature Werewolf PT:5/4 T:Mode$ Transformed | ValidCard$ Card.Self | Execute$ TrigDestroy | OptionalDecider$ You | TriggerDescription$ Whenever this creature transforms into CARDNAME, you may destroy target artifact. If that artifact is put into a graveyard this way, CARDNAME deals 3 damage to that artifact's controller SVar:TrigDestroy:DB$ Destroy | ValidTgts$ Artifact | TgtPrompt$ Select target artifact. | RememberTargets$ True | ForgetOtherTargets$ True | SubAbility$ DBDamage -SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ 3 | SubAbility$ DBCleanup | ConditionCheckSVar$ IsDestroyed | ConditionSVarCompare$ GE1 | References$ IsDestroyed +SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ 3 | SubAbility$ DBCleanup | ConditionCheckSVar$ IsDestroyed | ConditionSVarCompare$ GE1 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:IsDestroyed:Count$ThisTurnEntered_Graveyard_from_Battlefield_Artifact.IsRemembered T:Mode$Phase | Phase$ Upkeep | WerewolfUntransformCondition$ True | TriggerZones$ Battlefield | Execute$ TrigTransform | TriggerDescription$ At the beginning of each upkeep, if a player cast two or more spells last turn, transform CARDNAME. diff --git a/forge-gui/res/cardsfolder/a/agadeem_occultist.txt b/forge-gui/res/cardsfolder/a/agadeem_occultist.txt index 3262869fda7..f9172e80d1a 100644 --- a/forge-gui/res/cardsfolder/a/agadeem_occultist.txt +++ b/forge-gui/res/cardsfolder/a/agadeem_occultist.txt @@ -2,7 +2,7 @@ Name:Agadeem Occultist ManaCost:2 B Types:Creature Human Shaman Ally PT:0/2 -A:AB$ ChangeZone | Cost$ T | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | TgtPrompt$ Choose target creature card in your opponent's graveyard | ValidTgts$ Creature.OppCtrl | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX | ChangeNum$ 1 | References$ X,Y | SpellDescription$ Put target creature card from an opponent's graveyard onto the battlefield under your control if its converted mana cost is less than or equal to the number of Allies you control. +A:AB$ ChangeZone | Cost$ T | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | TgtPrompt$ Choose target creature card in your opponent's graveyard | ValidTgts$ Creature.OppCtrl | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX | ChangeNum$ 1 | SpellDescription$ Put target creature card from an opponent's graveyard onto the battlefield under your control if its converted mana cost is less than or equal to the number of Allies you control. SVar:X:Count$Valid Ally.YouCtrl SVar:Y:Targeted$CardManaCost SVar:BuffedBy:Ally diff --git a/forge-gui/res/cardsfolder/a/agadeems_awakening_agadeem_the_undercrypt.txt b/forge-gui/res/cardsfolder/a/agadeems_awakening_agadeem_the_undercrypt.txt index 6a608773967..e4b32797b83 100644 --- a/forge-gui/res/cardsfolder/a/agadeems_awakening_agadeem_the_undercrypt.txt +++ b/forge-gui/res/cardsfolder/a/agadeems_awakening_agadeem_the_undercrypt.txt @@ -1,7 +1,7 @@ Name:Agadeem's Awakening ManaCost:X B B B Types:Sorcery -A:SP$ ChangeZone | Cost$ X B B B | Origin$ Graveyard | Destination$ Battlefield | TargetMin$ 0 | TargetMax$ Y | ValidTgts$ Creature.YouOwn+cmcLEX | TgtPrompt$ Select any number of target creature cards in your graveyard with different converted mana costs X or less | TargetsWithDifferentCMC$ True | References$ X,Y | StackDescription$ {p:You} returns {c:Targeted} from the graveyard to the battlefield. | SpellDescription$ Return from your graveyard to the battlefield any number of target creature cards that each have a different converted mana cost X or less. +A:SP$ ChangeZone | Cost$ X B B B | Origin$ Graveyard | Destination$ Battlefield | TargetMin$ 0 | TargetMax$ Y | ValidTgts$ Creature.YouOwn+cmcLEX | TgtPrompt$ Select any number of target creature cards in your graveyard with different converted mana costs X or less | TargetsWithDifferentCMC$ True | StackDescription$ {p:You} returns {c:Targeted} from the graveyard to the battlefield. | SpellDescription$ Return from your graveyard to the battlefield any number of target creature cards that each have a different converted mana cost X or less. SVar:X:Count$xPaid SVar:Y:Count$ValidGraveyard Creature.YouOwn AlternateMode:Modal diff --git a/forge-gui/res/cardsfolder/a/ageless_entity.txt b/forge-gui/res/cardsfolder/a/ageless_entity.txt index ac5a3f2cb14..57e727a5f68 100644 --- a/forge-gui/res/cardsfolder/a/ageless_entity.txt +++ b/forge-gui/res/cardsfolder/a/ageless_entity.txt @@ -3,7 +3,7 @@ ManaCost:3 G G Types:Creature Elemental PT:4/4 T:Mode$ LifeGained | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you gain life, put that many +1/+1 counters on CARDNAME. -SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X SVar:X:TriggerCount$LifeAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/ageless_entity.jpg Oracle:Whenever you gain life, put that many +1/+1 counters on Ageless Entity. diff --git a/forge-gui/res/cardsfolder/a/aggressive_instinct.txt b/forge-gui/res/cardsfolder/a/aggressive_instinct.txt index cd0229f81cd..1320fd273c5 100644 --- a/forge-gui/res/cardsfolder/a/aggressive_instinct.txt +++ b/forge-gui/res/cardsfolder/a/aggressive_instinct.txt @@ -2,6 +2,6 @@ Name:Aggressive Instinct ManaCost:1 G Types:Sorcery A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature.YouCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you control | SubAbility$ SoulsDamage | StackDescription$ None | SpellDescription$ Target creature you control deals damage equal to its power to target creature you don't control -SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | References$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget +SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower Oracle:Target creature you control deals damage equal to its power to target creature you don't control. diff --git a/forge-gui/res/cardsfolder/a/agonizing_demise.txt b/forge-gui/res/cardsfolder/a/agonizing_demise.txt index 6e953d042d3..29e00a3d801 100644 --- a/forge-gui/res/cardsfolder/a/agonizing_demise.txt +++ b/forge-gui/res/cardsfolder/a/agonizing_demise.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Instant K:Kicker:1 R A:SP$ Destroy | Cost$ 3 B | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | NoRegen$ True | SubAbility$ DBDamage | SpellDescription$ Destroy target nonblack creature. It can't be regenerated. If CARDNAME was kicked, it deals damage equal to that creature's power to the creature's controller. -SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | References$ X | Condition$ Kicked | ConditionDescription$ If it was kicked, +SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | Condition$ Kicked | ConditionDescription$ If it was kicked, SVar:X:Targeted$CardPower DeckHints:Color$Red SVar:Picture:http://www.wizards.com/global/images/magic/general/agonizing_demise.jpg diff --git a/forge-gui/res/cardsfolder/a/airborne_aid.txt b/forge-gui/res/cardsfolder/a/airborne_aid.txt index 2348573029b..4db022fd213 100644 --- a/forge-gui/res/cardsfolder/a/airborne_aid.txt +++ b/forge-gui/res/cardsfolder/a/airborne_aid.txt @@ -1,7 +1,7 @@ Name:Airborne Aid ManaCost:3 U Types:Sorcery -A:SP$ Draw | Cost$ 3 U | NumCards$ X | References$ X | SpellDescription$ Draw a card for each Bird on the battlefield. +A:SP$ Draw | Cost$ 3 U | NumCards$ X | SpellDescription$ Draw a card for each Bird on the battlefield. SVar:X:Count$TypeOnBattlefield.Bird AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/airborne_aid.jpg diff --git a/forge-gui/res/cardsfolder/a/airdrop_condor.txt b/forge-gui/res/cardsfolder/a/airdrop_condor.txt index 44d5a15c2e2..f2b18e9ae1c 100644 --- a/forge-gui/res/cardsfolder/a/airdrop_condor.txt +++ b/forge-gui/res/cardsfolder/a/airdrop_condor.txt @@ -3,7 +3,7 @@ ManaCost:4 R Types:Creature Bird PT:2/2 K:Flying -A:AB$ DealDamage | Cost$ 1 R Sac<1/Creature.Goblin/Goblin creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to any target. +A:AB$ DealDamage | Cost$ 1 R Sac<1/Creature.Goblin/Goblin creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to any target. SVar:X:Sacrificed$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/airdrop_condor.jpg diff --git a/forge-gui/res/cardsfolder/a/ajani_caller_of_the_pride.txt b/forge-gui/res/cardsfolder/a/ajani_caller_of_the_pride.txt index f994a200c5a..1a8fb6c96d3 100644 --- a/forge-gui/res/cardsfolder/a/ajani_caller_of_the_pride.txt +++ b/forge-gui/res/cardsfolder/a/ajani_caller_of_the_pride.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Ajani Loyalty:4 A:AB$ PutCounter | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | CounterNum$ 1 | CounterType$ P1P1 | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Put a +1/+1 counter on up to one target creature. A:AB$ Pump | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ Flying & Double Strike | SpellDescription$ Target creature gains flying and double strike until end of turn. -A:AB$ Token | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | TokenAmount$ X | References$ X | TokenScript$ w_2_2_cat | TokenOwner$ You | LegacyImage$ w 2 2 cat m13 | Ultimate$ True | SpellDescription$ Create X 2/2 white Cat creature tokens, where X is your life total. +A:AB$ Token | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | TokenAmount$ X | TokenScript$ w_2_2_cat | TokenOwner$ You | LegacyImage$ w 2 2 cat m13 | Ultimate$ True | SpellDescription$ Create X 2/2 white Cat creature tokens, where X is your life total. SVar:X:Count$YourLifeTotal SVar:Picture:http://www.wizards.com/global/images/magic/general/ajani_caller_of_the_pride.jpg Oracle:[+1]: Put a +1/+1 counter on up to one target creature.\n[−3]: Target creature gains flying and double strike until end of turn.\n[−8]: Create X 2/2 white Cat creature tokens, where X is your life total. diff --git a/forge-gui/res/cardsfolder/a/ajani_steadfast.txt b/forge-gui/res/cardsfolder/a/ajani_steadfast.txt index 241725d4a74..103ab4b7407 100644 --- a/forge-gui/res/cardsfolder/a/ajani_steadfast.txt +++ b/forge-gui/res/cardsfolder/a/ajani_steadfast.txt @@ -5,7 +5,7 @@ Loyalty:4 A:AB$ Pump | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | NumAtt$ +1 | NumDef$ +1 | KW$ First Strike & Vigilance & Lifelink | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Until end of turn, up to one target creature gets +1/+1 and gains first strike, vigilance, and lifelink. A:AB$ PutCounterAll | Cost$ SubCounter<2/LOYALTY> | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 1 | Planeswalker$ True | SubAbility$ DBPutCounterAll | SpellDescription$ Put a +1/+1 counter on each creature you control and a loyalty counter on each other planeswalker you control. SVar:DBPutCounterAll:DB$ PutCounterAll | ValidCards$ Planeswalker.YouCtrl+Other | CounterType$ LOYALTY | CounterNum$ 1 -A:AB$ Effect | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Ajani Steadfast | Image$ emblem_ajani_steadfast | ReplacementEffects$ RPreventDamage | SVars$ PreventDmg | References$ RPreventDamage,PreventDmg | Stackable$ False | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "If a source would deal damage to you or a planeswalker you control, prevent all but 1 of that damage." +A:AB$ Effect | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Ajani Steadfast | Image$ emblem_ajani_steadfast | ReplacementEffects$ RPreventDamage | SVars$ PreventDmg | Stackable$ False | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "If a source would deal damage to you or a planeswalker you control, prevent all but 1 of that damage." SVar:RPreventDamage:Event$ DamageDone | ValidTarget$ You,Planeswalker.YouCtrl | ReplaceWith$ PreventDmg | PreventionEffect$ True | Description$ If a source would deal damage to you or a planeswalker you control, prevent all but 1 of that damage. SVar:PreventDmg:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ 1 SVar:Picture:http://www.wizards.com/global/images/magic/general/ajani_steadfast.jpg diff --git a/forge-gui/res/cardsfolder/a/ajani_strength_of_the_pride.txt b/forge-gui/res/cardsfolder/a/ajani_strength_of_the_pride.txt index a6f28895388..c935ffdd6b2 100644 --- a/forge-gui/res/cardsfolder/a/ajani_strength_of_the_pride.txt +++ b/forge-gui/res/cardsfolder/a/ajani_strength_of_the_pride.txt @@ -2,12 +2,12 @@ Name:Ajani, Strength of the Pride ManaCost:2 W W Types:Legendary Planeswalker Ajani Loyalty:5 -A:AB$ GainLife | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | LifeAmount$ NumCreatures | References$ NumCreatures,NumPlaneswalkers | SpellDescription$ You gain life equal to the number of creatures you control plus the number of planeswalkers you control. +A:AB$ GainLife | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | LifeAmount$ NumCreatures | SpellDescription$ You gain life equal to the number of creatures you control plus the number of planeswalkers you control. SVar:NumCreatures:Count$Valid Creature.YouCtrl/Plus.NumPlaneswalkers SVar:NumPlaneswalkers:Count$Valid Planeswalker.YouCtrl A:AB$ Token | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | TokenScript$ ajanis_pridemate | LegacyImage$ ajanis pridemate m20 | SpellDescription$ Create a 2/2 white Cat Soldier creature token named Ajani's Pridemate with "Whenever you gain life, put a +1/+1 counter on Ajani's Pridemate." DeckHas:Ability$Token & Ability$Counters & Ability$LifeGain -A:AB$ ChangeZoneAll | Cost$ SubCounter<0/LOYALTY> | ConditionCheckSVar$ CurLife | ConditionSVarCompare$ GEInitLife | References$ CurLife,InitLife | Planeswalker$ True | Ultimate$ True | ChangeType$ Card.Self,Creature.OppCtrl,Artifact.OppCtrl | Origin$ Battlefield | Destination$ Exile | SpellDescription$ If you have at least 15 life more than your starting life total, exile CARDNAME and each artifact and creature your opponents control. +A:AB$ ChangeZoneAll | Cost$ SubCounter<0/LOYALTY> | ConditionCheckSVar$ CurLife | ConditionSVarCompare$ GEInitLife | Planeswalker$ True | Ultimate$ True | ChangeType$ Card.Self,Creature.OppCtrl,Artifact.OppCtrl | Origin$ Battlefield | Destination$ Exile | SpellDescription$ If you have at least 15 life more than your starting life total, exile CARDNAME and each artifact and creature your opponents control. SVar:CurLife:Count$YourLifeTotal SVar:InitLife:Count$YourStartingLife/Plus.15 Oracle:[+1]: You gain life equal to the number of creatures you control plus the number of planeswalkers you control.\n[−2]: Create a 2/2 white Cat Soldier creature token named Ajani's Pridemate with "Whenever you gain life, put a +1/+1 counter on Ajani's Pridemate."\n[0]: If you have at least 15 life more than your starting life total, exile Ajani, Strength of the Pride and each artifact and creature your opponents control. diff --git a/forge-gui/res/cardsfolder/a/ajani_unyielding.txt b/forge-gui/res/cardsfolder/a/ajani_unyielding.txt index 7bb569149b4..e79da1e7801 100644 --- a/forge-gui/res/cardsfolder/a/ajani_unyielding.txt +++ b/forge-gui/res/cardsfolder/a/ajani_unyielding.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Ajani Loyalty:4 A:AB$ Dig | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | DigNum$ 3 | Reveal$ True | ChangeNum$ All | ChangeValid$ Permanent.nonLand | SpellDescription$ Reveal the top three cards of your library. Put all nonland permanent cards revealed this way into your hand and the rest on the bottom of your library in any order. A:AB$ ChangeZone | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Exile | RememberLKI$ True | SpellDescription$ Exile target creature. Its controller gains life equal to its power. | StackDescription$ SpellDescription | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ RememberedController | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | Defined$ RememberedController | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardPower A:AB$ PutCounterAll | Cost$ SubCounter<9/LOYALTY> | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 5 | Planeswalker$ True | Ultimate$ True | SubAbility$ DBPutCounterAll | SpellDescription$ Put five +1/+1 counters on each creature you control and five loyalty counters on each other planeswalker you control. diff --git a/forge-gui/res/cardsfolder/a/ajani_valiant_protector.txt b/forge-gui/res/cardsfolder/a/ajani_valiant_protector.txt index 1e9f4172580..349dc2c0b49 100644 --- a/forge-gui/res/cardsfolder/a/ajani_valiant_protector.txt +++ b/forge-gui/res/cardsfolder/a/ajani_valiant_protector.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Ajani Loyalty:4 A:AB$ PutCounter | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | CounterNum$ 2 | CounterType$ P1P1 | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | Planeswalker$ True | SpellDescription$ Put two +1/+1 counters on up to one target creature. A:AB$ DigUntil | Cost$ AddCounter<1/LOYALTY> | Valid$ Card.Creature | ValidDescription$ creature | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | RevealRandomOrder$ True | FoundDestination$ Hand | Planeswalker$ True | SpellDescription$ Reveal cards from the top of your library until you reveal a creature card. Put that card into your hand and the rest on the bottom of your library in a random order. -A:AB$ PutCounter | Cost$ SubCounter<11/LOYALTY> | Planeswalker$ True | Ultimate$ True | CounterNum$ X | References$ X | CounterType$ P1P1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBPump | SpellDescription$ Put X +1/+1 counters on target creature, where X is your life total. That creature gains trample until end of turn. +A:AB$ PutCounter | Cost$ SubCounter<11/LOYALTY> | Planeswalker$ True | Ultimate$ True | CounterNum$ X | CounterType$ P1P1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBPump | SpellDescription$ Put X +1/+1 counters on target creature, where X is your life total. That creature gains trample until end of turn. SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ Trample SVar:X:Count$YourLifeTotal DeckHints:Name$Ajani's Aid diff --git a/forge-gui/res/cardsfolder/a/ajani_wise_counselor.txt b/forge-gui/res/cardsfolder/a/ajani_wise_counselor.txt index 29b7b4dc470..b1d7d05fdb5 100644 --- a/forge-gui/res/cardsfolder/a/ajani_wise_counselor.txt +++ b/forge-gui/res/cardsfolder/a/ajani_wise_counselor.txt @@ -1,7 +1,7 @@ Name:Ajani, Wise Counselor Types:Legendary Planeswalker Ajani ManaCost:3 W W -A:AB$ GainLife | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | Defined$ You | References$ Y | LifeAmount$ Y | SpellDescription$ You gain 1 life for each creature you control. +A:AB$ GainLife | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | Defined$ You | LifeAmount$ Y | SpellDescription$ You gain 1 life for each creature you control. SVar:Y:Count$Valid Creature.YouCtrl A:AB$ PumpAll | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidCards$ Creature.YouCtrl | NumAtt$ +2 | NumDef$ +2 | SpellDescription$ Creatures you control get +2/+2 until end of turn. SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/a/ajanis_presence.txt b/forge-gui/res/cardsfolder/a/ajanis_presence.txt index 369e87682dd..4e04f0c50db 100644 --- a/forge-gui/res/cardsfolder/a/ajanis_presence.txt +++ b/forge-gui/res/cardsfolder/a/ajanis_presence.txt @@ -2,7 +2,7 @@ Name:Ajani's Presence ManaCost:W Types:Instant K:Strive:2 W -A:SP$ Pump | Cost$ W | ValidTgts$ Creature | KW$ Indestructible | NumAtt$ +1 | NumDef$ +1 | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | SpellDescription$ Any number of target creatures each get +1/+1 and gain indestructible until end of turn. +A:SP$ Pump | Cost$ W | ValidTgts$ Creature | KW$ Indestructible | NumAtt$ +1 | NumDef$ +1 | TargetMin$ 0 | TargetMax$ MaxTargets | SpellDescription$ Any number of target creatures each get +1/+1 and gain indestructible until end of turn. SVar:MaxTargets:Count$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/ajanis_presence.jpg Oracle:Strive — This spell costs {2}{W} more to cast for each target beyond the first.\nAny number of target creatures each get +1/+1 and gain indestructible until end of turn. (Damage and effects that say "destroy" don't destroy them.) diff --git a/forge-gui/res/cardsfolder/a/akiri_line_slinger.txt b/forge-gui/res/cardsfolder/a/akiri_line_slinger.txt index 4aa351a52f0..bdd919ae02c 100644 --- a/forge-gui/res/cardsfolder/a/akiri_line_slinger.txt +++ b/forge-gui/res/cardsfolder/a/akiri_line_slinger.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Kor Soldier Ally PT:0/3 K:First Strike K:Vigilance -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | References$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. SVar:X:Count$Valid Artifact.YouCtrl K:Partner SVar:BuffedBy:Artifact diff --git a/forge-gui/res/cardsfolder/a/akki_lavarunner_tok_tok_volcano_born.txt b/forge-gui/res/cardsfolder/a/akki_lavarunner_tok_tok_volcano_born.txt index ce03e716f00..57aff4110aa 100644 --- a/forge-gui/res/cardsfolder/a/akki_lavarunner_tok_tok_volcano_born.txt +++ b/forge-gui/res/cardsfolder/a/akki_lavarunner_tok_tok_volcano_born.txt @@ -18,7 +18,7 @@ Types:Legendary Creature Goblin Shaman PT:2/2 K:Protection from red R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.RedSource | ValidTarget$ Player | ReplaceWith$ DmgPlus1 | Description$ If a red source would deal damage to a player, it deals that much damage plus 1 to that player instead. -SVar:DmgPlus1:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgPlus1:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Plus.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/tok_tok_volcano_born.jpg Oracle:Protection from red\nIf a red source would deal damage to a player, it deals that much damage plus 1 to that player instead. diff --git a/forge-gui/res/cardsfolder/a/akoum_hellkite.txt b/forge-gui/res/cardsfolder/a/akoum_hellkite.txt index f61e169d573..9a454d8fa48 100644 --- a/forge-gui/res/cardsfolder/a/akoum_hellkite.txt +++ b/forge-gui/res/cardsfolder/a/akoum_hellkite.txt @@ -4,7 +4,7 @@ Types:Creature Dragon PT:4/4 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ Landfall — Whenever a land enters the battlefield under your control, CARDNAME deals 1 damage to any target. If that land was a mountain, CARDNAME deals 2 damage instead. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | TgtPrompt$ Select any target | NumDmg$ X SVar:X:TriggeredCard$Valid Mountain/Plus.1 SVar:BuffedBy:Land Oracle:Flying\nLandfall — Whenever a land enters the battlefield under your control, Akoum Hellkite deals 1 damage to any target. If that land is a Mountain, Akoum Hellkite deals 2 damage instead. diff --git a/forge-gui/res/cardsfolder/a/akroan_hoplite.txt b/forge-gui/res/cardsfolder/a/akroan_hoplite.txt index 6bf689ae272..5237004f925 100644 --- a/forge-gui/res/cardsfolder/a/akroan_hoplite.txt +++ b/forge-gui/res/cardsfolder/a/akroan_hoplite.txt @@ -3,7 +3,7 @@ ManaCost:R W Types:Creature Human Soldier PT:1/2 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +X/+0 until end of turn, where X is the number of attacking creatures you control. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$Valid Creature.YouCtrl+attacking SVar:Picture:http://www.wizards.com/global/images/magic/general/akroan_hoplite.jpg Oracle:Whenever Akroan Hoplite attacks, it gets +X/+0 until end of turn, where X is the number of attacking creatures you control. diff --git a/forge-gui/res/cardsfolder/a/akromas_will.txt b/forge-gui/res/cardsfolder/a/akromas_will.txt index c808ad75375..e29e6a2cea7 100644 --- a/forge-gui/res/cardsfolder/a/akromas_will.txt +++ b/forge-gui/res/cardsfolder/a/akromas_will.txt @@ -1,7 +1,7 @@ Name:Akroma's Will ManaCost:3 W Types:Instant -A:SP$ Charm | Cost$ 3 W | MinCharmNum$ 1 | CharmNum$ X | References$ X,Y | Choices$ DBFly,DBLife | AdditionalDescription$ . If you control a commander as you cast this spell, you may choose both. +A:SP$ Charm | Cost$ 3 W | MinCharmNum$ 1 | CharmNum$ X | Choices$ DBFly,DBLife | AdditionalDescription$ . If you control a commander as you cast this spell, you may choose both. SVar:DBFly:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Flying & Vigilance & Double Strike | SpellDescription$ Creatures you control gain flying, vigilance, and double strike until end of turn. SVar:DBLife:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Lifelink & Indestructible & Protection from all colors | SpellDescription$ Creatures you control gain lifelink, indestructible, and protection from all colors until end of turn. SVar:X:Count$Compare Y GE1.2.1 diff --git a/forge-gui/res/cardsfolder/a/akuta_born_of_ash.txt b/forge-gui/res/cardsfolder/a/akuta_born_of_ash.txt index 44f0e653452..ba744f807a1 100644 --- a/forge-gui/res/cardsfolder/a/akuta_born_of_ash.txt +++ b/forge-gui/res/cardsfolder/a/akuta_born_of_ash.txt @@ -3,7 +3,7 @@ ManaCost:2 B B Types:Legendary Creature Spirit PT:3/2 K:Haste -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ GTY | References$ X,Y | TriggerZones$ Graveyard | Execute$ TrigReturn | TriggerDescription$ At the beginning of your upkeep, if you have more cards in hand than each opponent, you may sacrifice a Swamp. If you do, return CARDNAME from your graveyard to the battlefield. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ GTY | TriggerZones$ Graveyard | Execute$ TrigReturn | TriggerDescription$ At the beginning of your upkeep, if you have more cards in hand than each opponent, you may sacrifice a Swamp. If you do, return CARDNAME from your graveyard to the battlefield. SVar:TrigReturn:AB$ ChangeZone | Cost$ Sac<1/Swamp> | Defined$ Self | Origin$ Graveyard | Destination$ Battlefield SVar:X:Count$InYourHand SVar:Y:PlayerCountOpponents$HighestCardsInHand diff --git a/forge-gui/res/cardsfolder/a/alabaster_potion.txt b/forge-gui/res/cardsfolder/a/alabaster_potion.txt index 72114b687f8..bb1b876d3d8 100644 --- a/forge-gui/res/cardsfolder/a/alabaster_potion.txt +++ b/forge-gui/res/cardsfolder/a/alabaster_potion.txt @@ -2,8 +2,8 @@ Name:Alabaster Potion ManaCost:X W W Types:Instant A:SP$ Charm | Cost$ X W W | Choices$ DBGainLife,DBPreventDamage -SVar:DBGainLife:DB$ GainLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | References$ X | SpellDescription$ Target player gains X life. -SVar:DBPreventDamage:DB$ PreventDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | Amount$ X | References$ X | SpellDescription$ Prevent the next X damage that would be dealt to any target this turn. +SVar:DBGainLife:DB$ GainLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | SpellDescription$ Target player gains X life. +SVar:DBPreventDamage:DB$ PreventDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | Amount$ X | SpellDescription$ Prevent the next X damage that would be dealt to any target this turn. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/alabaster_potion.jpg Oracle:Choose one —\n• Target player gains X life.\n• Prevent the next X damage that would be dealt to any target this turn. diff --git a/forge-gui/res/cardsfolder/a/aladdins_lamp.txt b/forge-gui/res/cardsfolder/a/aladdins_lamp.txt index 0e8684e4288..949f2cae9d7 100644 --- a/forge-gui/res/cardsfolder/a/aladdins_lamp.txt +++ b/forge-gui/res/cardsfolder/a/aladdins_lamp.txt @@ -4,7 +4,7 @@ Types:Artifact A:AB$ StoreSVar | Cost$ XCantBe0 X T | SVar$ DigNum | Type$ Count | Expression$ xPaid | SubAbility$ TheMagic | SpellDescription$ The next time you would draw a card this turn, instead look at the top X cards of your library, put all but one of them on the bottom of your library in a random order, then draw a card. X can't be 0. SVar:TheMagic:DB$ Effect | Name$ Aladdin's Wish | ReplacementEffects$ DrawReplace | SVars$ ExileEffect,AladdinDraw,DBDraw,DigNum,AllButOne SVar:DrawReplace:Event$ Draw | ValidPlayer$ You | ReplaceWith$ AladdinDraw | Description$ The next time you would draw a card this turn, instead look at the top X cards of your library, put all but one of them on the bottom of your library in a random order, then draw a card. -SVar:AladdinDraw:DB$ Dig | DigNum$ DigNum | References$ DigNum | ChangeNum$ AllButOne | RandomOrder$ True | DestinationZone$ Library | LibraryPosition$ -1 | DestinationZone2$ Library | LibraryPosition2$ 0 | SubAbility$ DBDraw +SVar:AladdinDraw:DB$ Dig | DigNum$ DigNum | ChangeNum$ AllButOne | RandomOrder$ True | DestinationZone$ Library | LibraryPosition$ -1 | DestinationZone2$ Library | LibraryPosition2$ 0 | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | NumCards$ 1 | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/a/alena_kessig_trapper.txt b/forge-gui/res/cardsfolder/a/alena_kessig_trapper.txt index a8e0c107d45..3b079ef112a 100644 --- a/forge-gui/res/cardsfolder/a/alena_kessig_trapper.txt +++ b/forge-gui/res/cardsfolder/a/alena_kessig_trapper.txt @@ -4,6 +4,6 @@ Types:Legendary Creature Human Scout PT:4/3 K:First Strike K:Partner -A:AB$ Mana | Cost$ T | Produced$ R | Amount$ X | References$ X | SpellDescription$ Add an amount of {R} equal to the greatest power among creatures you control that entered the battlefield this turn. +A:AB$ Mana | Cost$ T | Produced$ R | Amount$ X | SpellDescription$ Add an amount of {R} equal to the greatest power among creatures you control that entered the battlefield this turn. SVar:X:Count$GreatestPower_Creature.YouCtrl+enteredBattlefieldThisTurn Oracle:First strike\n{T}: Add an amount of {R} equal to the greatest power among creatures you control that entered the battlefield this turn.\nPartner (You can have two commanders if both have partner.) diff --git a/forge-gui/res/cardsfolder/a/alert_heedbonder.txt b/forge-gui/res/cardsfolder/a/alert_heedbonder.txt index 02100d5a57e..43b2657bd62 100755 --- a/forge-gui/res/cardsfolder/a/alert_heedbonder.txt +++ b/forge-gui/res/cardsfolder/a/alert_heedbonder.txt @@ -4,7 +4,7 @@ Types:Creature Human Scout PT:2/4 K:Vigilance T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ At the beginning of your end step, you gain 1 life for each creature you control with vigilance. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.YouCtrl+withVigilance DeckHas:Ability$LifeGain Oracle:Vigilance\nAt the beginning of your end step, you gain 1 life for each creature you control with vigilance. diff --git a/forge-gui/res/cardsfolder/a/alexi_zephyr_mage.txt b/forge-gui/res/cardsfolder/a/alexi_zephyr_mage.txt index b98eee9ad0a..03254c29148 100644 --- a/forge-gui/res/cardsfolder/a/alexi_zephyr_mage.txt +++ b/forge-gui/res/cardsfolder/a/alexi_zephyr_mage.txt @@ -2,7 +2,7 @@ Name:Alexi, Zephyr Mage ManaCost:3 U U Types:Legendary Creature Human Spellshaper PT:3/3 -A:AB$ ChangeZone | Cost$ X U T Discard<2/Card/cards> | Origin$ Battlefield | Destination$ Hand | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | References$ X | SpellDescription$ Return X target creatures to their owners' hands. +A:AB$ ChangeZone | Cost$ X U T Discard<2/Card/cards> | Origin$ Battlefield | Destination$ Hand | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | SpellDescription$ Return X target creatures to their owners' hands. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{X}{U}, {T}, Discard two cards: Return X target creatures to their owners' hands. diff --git a/forge-gui/res/cardsfolder/a/alhammarrets_archive.txt b/forge-gui/res/cardsfolder/a/alhammarrets_archive.txt index 3ac865a10c9..4d726102a91 100644 --- a/forge-gui/res/cardsfolder/a/alhammarrets_archive.txt +++ b/forge-gui/res/cardsfolder/a/alhammarrets_archive.txt @@ -2,7 +2,7 @@ Name:Alhammarret's Archive ManaCost:5 Types:Legendary Artifact R:Event$ GainLife | ActiveZones$ Battlefield | ValidPlayer$ You | ReplaceWith$ GainDouble | AiLogic$ DoubleLife | Description$ If you would gain life, you gain twice that much life instead. -SVar:GainDouble:DB$ ReplaceEffect | VarName$ LifeGained | VarValue$ X | References$ X +SVar:GainDouble:DB$ ReplaceEffect | VarName$ LifeGained | VarValue$ X SVar:X:ReplaceCount$LifeGained/Twice R:Event$ Draw | ActiveZones$ Battlefield | ValidPlayer$ You | NotFirstCardInDrawStep$ True | ReplaceWith$ DrawTwo | Description$ If you would draw a card except the first one you draw in each of your draw steps, draw two cards instead. SVar:DrawTwo:DB$Draw | Defined$ You | NumCards$ 2 diff --git a/forge-gui/res/cardsfolder/a/alive_well.txt b/forge-gui/res/cardsfolder/a/alive_well.txt index 690f89a8581..eea9d23d112 100644 --- a/forge-gui/res/cardsfolder/a/alive_well.txt +++ b/forge-gui/res/cardsfolder/a/alive_well.txt @@ -13,6 +13,6 @@ ALTERNATE Name:Well ManaCost:W Types:Sorcery -A:SP$ GainLife | Cost$ W | LifeAmount$ X | References$ X | SpellDescription$ You gain 2 life for each creature you control. +A:SP$ GainLife | Cost$ W | LifeAmount$ X | SpellDescription$ You gain 2 life for each creature you control. SVar:X:Count$TypeYouCtrl.Creature/Times.2 Oracle:You gain 2 life for each creature you control.\nFuse (You may cast one or both halves of this card from your hand.) diff --git a/forge-gui/res/cardsfolder/a/all_that_glitters.txt b/forge-gui/res/cardsfolder/a/all_that_glitters.txt index c010c289fc2..9ed2482196f 100644 --- a/forge-gui/res/cardsfolder/a/all_that_glitters.txt +++ b/forge-gui/res/cardsfolder/a/all_that_glitters.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 W | ValidTgts$ Creature | AILogic$ Pump -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ Enchanted creature gets +1/+1 for each artifact and/or enchantment you control. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ X | AddToughness$ X | Description$ Enchanted creature gets +1/+1 for each artifact and/or enchantment you control. SVar:X:Count$Valid Artifact.YouCtrl,Enchantment.YouCtrl SVar:BuffedBy:Artifact,Enchantment DeckHints:Type$Artifact|Enchantment diff --git a/forge-gui/res/cardsfolder/a/alliance_of_arms.txt b/forge-gui/res/cardsfolder/a/alliance_of_arms.txt index 38bc29c4af4..65ea7b81347 100644 --- a/forge-gui/res/cardsfolder/a/alliance_of_arms.txt +++ b/forge-gui/res/cardsfolder/a/alliance_of_arms.txt @@ -3,9 +3,9 @@ ManaCost:W Types:Sorcery A:SP$ RepeatEach | Cost$ W | RepeatPlayers$ Player | StartingWithActivator$ True | RepeatSubAbility$ DBPay | SubAbility$ DBToken | StackDescription$ SpellDescription | SpellDescription$ Join forces — Starting with you, each player may pay any amount of mana. Each player creates X 1/1 white Soldier creature tokens, where X is the total amount of mana paid this way. SVar:DBPay:DB$ ChooseNumber | Defined$ Player.IsRemembered | ChooseAnyNumber$ True | ListTitle$ Pay Any Mana | SubAbility$ DBStore -SVar:DBStore:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ CountSVar | Expression$ JoinForcesAmount/Plus.X | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | UnlessAI$ OnlyOwn | References$ X,JoinForcesAmount -SVar:DBToken:DB$ Token | TokenAmount$ JoinForcesAmount | TokenScript$ w_1_1_soldier | TokenOwner$ Player | References$ JoinForcesAmount | StackDescription$ None | LegacyImage$ w 1 1 soldier cmd -SVar:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 | References$ JoinForcesAmount +SVar:DBStore:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ CountSVar | Expression$ JoinForcesAmount/Plus.X | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | UnlessAI$ OnlyOwn +SVar:DBToken:DB$ Token | TokenAmount$ JoinForcesAmount | TokenScript$ w_1_1_soldier | TokenOwner$ Player | StackDescription$ None | LegacyImage$ w 1 1 soldier cmd +SVar:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 SVar:X:Count$ChosenNumber SVar:JoinForcesAmount:Number$0 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/a/allied_assault.txt b/forge-gui/res/cardsfolder/a/allied_assault.txt index 33573be7823..a45b746ae5e 100644 --- a/forge-gui/res/cardsfolder/a/allied_assault.txt +++ b/forge-gui/res/cardsfolder/a/allied_assault.txt @@ -1,7 +1,7 @@ Name:Allied Assault ManaCost:2 W Types:Instant -A:SP$ Pump | Cost$ 2 W | TargetMin$ 0 | TargetMax$ 2 | NumAtt$ X | NumDef$ X | References$ X | ValidTgts$ Creature | TgtPrompt$ Select up to two target creatures | SpellDescription$ Up to two target creatures each get +X/+X until end of turn, where X is the number of creatures in your party. +A:SP$ Pump | Cost$ 2 W | TargetMin$ 0 | TargetMax$ 2 | NumAtt$ X | NumDef$ X | ValidTgts$ Creature | TgtPrompt$ Select up to two target creatures | SpellDescription$ Up to two target creatures each get +X/+X until end of turn, where X is the number of creatures in your party. SVar:X:Count$Party DeckHas:Ability$Party DeckHints:Type$Cleric|Rogue|Warrior|Wizard diff --git a/forge-gui/res/cardsfolder/a/allied_strategies.txt b/forge-gui/res/cardsfolder/a/allied_strategies.txt index e229205e51c..7072884500c 100644 --- a/forge-gui/res/cardsfolder/a/allied_strategies.txt +++ b/forge-gui/res/cardsfolder/a/allied_strategies.txt @@ -1,7 +1,7 @@ Name:Allied Strategies ManaCost:4 U Types:Sorcery -A:SP$ Draw | Cost$ 4 U | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player | References$ X | SpellDescription$ Domain — Target player draws a card for each basic land type among lands they control. +A:SP$ Draw | Cost$ 4 U | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player | SpellDescription$ Domain — Target player draws a card for each basic land type among lands they control. SVar:X:TargetedPlayer$DomainPlayer AI:RemoveDeck:Random SVar:Picture:http://resources.wizards.com/magic/cards/ps/en-us/card26383.jpg diff --git a/forge-gui/res/cardsfolder/a/allosaurus_rider.txt b/forge-gui/res/cardsfolder/a/allosaurus_rider.txt index 158fc59518c..6eccb310d0e 100644 --- a/forge-gui/res/cardsfolder/a/allosaurus_rider.txt +++ b/forge-gui/res/cardsfolder/a/allosaurus_rider.txt @@ -2,7 +2,7 @@ Name:Allosaurus Rider ManaCost:5 G G Types:Creature Elf Warrior PT:1+*/1+* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to 1 plus the number of lands you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to 1 plus the number of lands you control. SVar:X:Count$Valid Land.YouCtrl/Plus.1 SVar:AltCost:Cost$ ExileFromHand<2/Card.Green> | Description$ You may exile two green cards from your hand rather than pay this spell's mana cost. Oracle:You may exile two green cards from your hand rather than pay this spell's mana cost.\nAllosaurus Rider's power and toughness are each equal to 1 plus the number of lands you control. diff --git a/forge-gui/res/cardsfolder/a/alpha_brawl.txt b/forge-gui/res/cardsfolder/a/alpha_brawl.txt index 257eb8de773..3881c972ae9 100644 --- a/forge-gui/res/cardsfolder/a/alpha_brawl.txt +++ b/forge-gui/res/cardsfolder/a/alpha_brawl.txt @@ -2,8 +2,8 @@ Name:Alpha Brawl ManaCost:6 R R Types:Sorcery A:SP$ Pump | Cost$ 6 R R | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | RememberTargets$ True | StackDescription$ None | SubAbility$ AlphaAttack | SpellDescription$ Target creature an opponent controls deals damage equal to its power to each other creature that player controls, then each of those creatures deals damage equal to its power to that creature. -SVar:AlphaAttack:DB$ DamageAll | ValidCards$ Creature.OppCtrl+IsNotRemembered | DamageSource$ Targeted | NumDmg$ Y | SubAbility$ SucksToBeAlpha | References$ Y | StackDescription$ Targeted creature deals damage equal to its power to each other creature that player controls, -SVar:SucksToBeAlpha:DB$ EachDamage | ValidCards$ Creature.OppCtrl+IsNotRemembered | ValidDescription$ of those creatures | NumDmg$ X | DamageDesc$ damage equal to its power | DefinedCards$ Remembered | SubAbility$ DBCleanup | References$ X | StackDescription$ then each of those creatures deals damage equal to its power to that creature +SVar:AlphaAttack:DB$ DamageAll | ValidCards$ Creature.OppCtrl+IsNotRemembered | DamageSource$ Targeted | NumDmg$ Y | SubAbility$ SucksToBeAlpha | StackDescription$ Targeted creature deals damage equal to its power to each other creature that player controls, +SVar:SucksToBeAlpha:DB$ EachDamage | ValidCards$ Creature.OppCtrl+IsNotRemembered | ValidDescription$ of those creatures | NumDmg$ X | DamageDesc$ damage equal to its power | DefinedCards$ Remembered | SubAbility$ DBCleanup | StackDescription$ then each of those creatures deals damage equal to its power to that creature #NumDmg isn't really used here. It is left for clarity. The AF pulls Damage straight from "X" hardcoded. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$CardPower diff --git a/forge-gui/res/cardsfolder/a/alpha_status.txt b/forge-gui/res/cardsfolder/a/alpha_status.txt index ce21c5d8478..1be28757435 100644 --- a/forge-gui/res/cardsfolder/a/alpha_status.txt +++ b/forge-gui/res/cardsfolder/a/alpha_status.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Enchantment Aura K:Enchant Creature A:SP$ Attach | Cost$ 2 G | ValidTgts$ Creature | AILogic$ Pump -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ AffectedX | AddToughness$ AffectedX | References$ AffectedX | EffectZone$ Battlefield | Description$ Enchanted creature gets +2/+2 for each other creature on the battlefield that shares a creature type with it. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ AffectedX | AddToughness$ AffectedX | EffectZone$ Battlefield | Description$ Enchanted creature gets +2/+2 for each other creature on the battlefield that shares a creature type with it. SVar:AffectedX:Count$Valid Creature.sharesCreatureTypeWith+Other/Times.2 SVar:PlayMain1:TRUE AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/a/alpine_houndmaster.txt b/forge-gui/res/cardsfolder/a/alpine_houndmaster.txt index a78447cbcee..daf78c21b93 100755 --- a/forge-gui/res/cardsfolder/a/alpine_houndmaster.txt +++ b/forge-gui/res/cardsfolder/a/alpine_houndmaster.txt @@ -6,6 +6,6 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigSearch:DB$ ChangeZone | Origin$ Library | Destination$ Hand | DifferentNames$ True | ChangeType$ Card.namedAlpine Watchdog,Card.namedIgneous Cur | ChangeNum$ 2 | ShuffleNonMandatory$ True DeckHints:Name$Alpine Watchdog|Igneous Cur T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +X/+0 until end of turn, where X is the number of other attacking creatures. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$Valid Creature.attacking+Other Oracle:When Alpine Houndmaster enters the battlefield, you may search your library for a card named Alpine Watchdog and/or a card named Igneous Cur, reveal them, put them into your hand, then shuffle your library.\nWhenever Alpine Houndmaster attacks, it gets +X/+0 until end of turn, where X is the number of other attacking creatures. diff --git a/forge-gui/res/cardsfolder/a/alrund_god_of_the_cosmos_hakka_whispering_raven.txt b/forge-gui/res/cardsfolder/a/alrund_god_of_the_cosmos_hakka_whispering_raven.txt index 91fbb77dd4f..622c0a9ade9 100644 --- a/forge-gui/res/cardsfolder/a/alrund_god_of_the_cosmos_hakka_whispering_raven.txt +++ b/forge-gui/res/cardsfolder/a/alrund_god_of_the_cosmos_hakka_whispering_raven.txt @@ -2,7 +2,7 @@ Name:Alrund, God of the Cosmos ManaCost:3 U U Types:Legendary Creature God PT:1/1 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ Z | AddToughness$ Z | References$ X,Y,Z | Description$ NICKNAME gets +1/+1 for each card in your hand and each foretold card you own in exile. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ Z | AddToughness$ Z | Description$ NICKNAME gets +1/+1 for each card in your hand and each foretold card you own in exile. SVar:X:Count$InYourHand SVar:Y:Count$ValidExile Card.foretold+YouOwn SVar:Z:SVar$X/Plus.Y diff --git a/forge-gui/res/cardsfolder/a/altar_golem.txt b/forge-gui/res/cardsfolder/a/altar_golem.txt index 1bcfa8f3807..cdabda619f4 100644 --- a/forge-gui/res/cardsfolder/a/altar_golem.txt +++ b/forge-gui/res/cardsfolder/a/altar_golem.txt @@ -4,7 +4,7 @@ Types:Artifact Creature Golem PT:*/* K:Trample K:CARDNAME doesn't untap during your untap step. -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures on the battlefield. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures on the battlefield. SVar:X:Count$Valid Creature A:AB$ Untap | Cost$ tapXType<5/Creature> | SpellDescription$ Untap CARDNAME. SVar:BuffedBy:Creature diff --git a/forge-gui/res/cardsfolder/a/altar_of_dementia.txt b/forge-gui/res/cardsfolder/a/altar_of_dementia.txt index 9fa563b73de..606f9ebb922 100644 --- a/forge-gui/res/cardsfolder/a/altar_of_dementia.txt +++ b/forge-gui/res/cardsfolder/a/altar_of_dementia.txt @@ -1,7 +1,7 @@ Name:Altar of Dementia ManaCost:2 Types:Artifact -A:AB$ Mill | Cost$ Sac<1/Creature> | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | References$ X | SpellDescription$ Target player puts a number of cards equal to the sacrificed creature's power from the top of their library into their graveyard. +A:AB$ Mill | Cost$ Sac<1/Creature> | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | SpellDescription$ Target player puts a number of cards equal to the sacrificed creature's power from the top of their library into their graveyard. SVar:X:Sacrificed$CardPower SVar:NonStackingEffect:True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/a/altar_of_shadows.txt b/forge-gui/res/cardsfolder/a/altar_of_shadows.txt index af52568a331..dc9b6224b74 100644 --- a/forge-gui/res/cardsfolder/a/altar_of_shadows.txt +++ b/forge-gui/res/cardsfolder/a/altar_of_shadows.txt @@ -2,7 +2,7 @@ Name:Altar of Shadows ManaCost:7 Types:Artifact T:Mode$ Phase | PreCombatMain$ True | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGetMana | TriggerDescription$ At the beginning of your precombat main phase, add {B} for each charge counter on CARDNAME. -SVar:TrigGetMana:DB$ Mana | Produced$ B | Amount$ X | References$ X | SpellDescription$ Add {B} for each charge counter on CARDNAME. +SVar:TrigGetMana:DB$ Mana | Produced$ B | Amount$ X | SpellDescription$ Add {B} for each charge counter on CARDNAME. A:AB$ Destroy | Cost$ 7 T | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBPutCounter | SpellDescription$ Destroy target creature. Then put a charge counter on CARDNAME. SVar:DBPutCounter:DB$PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1 SVar:X:Count$CardCounters.CHARGE diff --git a/forge-gui/res/cardsfolder/a/altered_ego.txt b/forge-gui/res/cardsfolder/a/altered_ego.txt index 2abb7970b14..b9d960fbc27 100644 --- a/forge-gui/res/cardsfolder/a/altered_ego.txt +++ b/forge-gui/res/cardsfolder/a/altered_ego.txt @@ -5,7 +5,7 @@ PT:0/0 K:CARDNAME can't be countered. K:ETBReplacement:Copy:DBCopy:Optional SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | SubAbility$ DBAddCounter | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield, except it enters with X additional +1/+1 counters on it. -SVar:DBAddCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | ETB$ True | CounterNum$ X | References$ X +SVar:DBAddCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | ETB$ True | CounterNum$ X SVar:X:Count$xPaid DeckHas:Ability$Counter SVar:Picture:http://www.wizards.com/global/images/magic/general/altered_ego.jpg diff --git a/forge-gui/res/cardsfolder/a/ambuscade.txt b/forge-gui/res/cardsfolder/a/ambuscade.txt index d5a29a2a228..a81da7a413d 100644 --- a/forge-gui/res/cardsfolder/a/ambuscade.txt +++ b/forge-gui/res/cardsfolder/a/ambuscade.txt @@ -2,7 +2,7 @@ Name:Ambuscade ManaCost:2 G Types:Instant A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ +1 | SubAbility$ DBDealDamage | AILogic$ Fight | SpellDescription$ Target creature you control gets +1/+0 until end of turn. It deals damage equal to its power to target creature an opponent controls. -SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature.OppCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X | References$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget +SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature.OppCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/ambuscade.jpg Oracle:Target creature you control gets +1/+0 until end of turn. It deals damage equal to its power to target creature an opponent controls. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/a/ammit_eternal.txt b/forge-gui/res/cardsfolder/a/ammit_eternal.txt index 4dcc40269e2..98ab7d2c3bb 100644 --- a/forge-gui/res/cardsfolder/a/ammit_eternal.txt +++ b/forge-gui/res/cardsfolder/a/ammit_eternal.txt @@ -6,7 +6,7 @@ K:Afflict:3 T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever an opponent casts a spell, put a -1/-1 counter on CARDNAME. T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigRemoveCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, remove all -1/-1 counters from it. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ M1M1 | CounterNum$ 1 -SVar:TrigRemoveCounter:DB$ RemoveCounter | CounterType$ M1M1 | CounterNum$ All | References$ All +SVar:TrigRemoveCounter:DB$ RemoveCounter | CounterType$ M1M1 | CounterNum$ All SVar:All:Count$CardCounters.M1M1 SVar:Picture:http://www.wizards.com/global/images/magic/general/ammit_eternal.jpg Oracle:Afflict 3 (Whenever this creature becomes blocked, defending player loses 3 life.)\nWhenever an opponent casts a spell, put a -1/-1 counter on Ammit Eternal.\nWhenever Ammit Eternal deals combat damage to a player, remove all -1/-1 counters from it. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/a/amplifire.txt b/forge-gui/res/cardsfolder/a/amplifire.txt index c660f954f5b..c0a3cc4187c 100644 --- a/forge-gui/res/cardsfolder/a/amplifire.txt +++ b/forge-gui/res/cardsfolder/a/amplifire.txt @@ -4,7 +4,7 @@ Types:Creature Elemental PT:1/1 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ At the beginning of your upkeep, reveal cards from the top of your library until you reveal a creature card. Until your next turn, CARDNAME's base power becomes twice that card's power and its toughness. Put the revealed cards on the bottom of your library in a random order. SVar:TrigDig:DB$ DigUntil | Reveal$ True | Valid$ Creature | ValidDescription$ creature card | FoundDestination$ Exile | RevealedDestination$ Exile | RememberFound$ True | ImprintRevealed$ True | SubAbility$ DBAnimate -SVar:DBAnimate:DB$ Animate | Power$ X | Toughness$ Y | UntilYourNextTurn$ True | SubAbility$ DBMovetoLib | References$ X,Y +SVar:DBAnimate:DB$ Animate | Power$ X | Toughness$ Y | UntilYourNextTurn$ True | SubAbility$ DBMovetoLib SVar:DBMovetoLib:DB$ ChangeZoneAll | ChangeType$ Card.IsRemembered,Card.IsImprinted | Origin$ Exile | Destination$ Library | RandomOrder$ True | LibraryPosition$ -1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True SVar:X:Remembered$CardPower/Times.2 diff --git a/forge-gui/res/cardsfolder/a/an_havva_inn.txt b/forge-gui/res/cardsfolder/a/an_havva_inn.txt index 7a8c588e3fe..434d86e0e06 100644 --- a/forge-gui/res/cardsfolder/a/an_havva_inn.txt +++ b/forge-gui/res/cardsfolder/a/an_havva_inn.txt @@ -1,7 +1,7 @@ Name:An-Havva Inn ManaCost:1 G G Types:Sorcery -A:SP$ GainLife | Cost$ 1 G G | LifeAmount$ X | References$ X | SpellDescription$ You gain X plus 1 life, where X is the number of green creatures on the battlefield. +A:SP$ GainLife | Cost$ 1 G G | LifeAmount$ X | SpellDescription$ You gain X plus 1 life, where X is the number of green creatures on the battlefield. SVar:X:Count$Valid Creature.Green/Plus.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/an_havva_inn.jpg Oracle:You gain X plus 1 life, where X is the number of green creatures on the battlefield. diff --git a/forge-gui/res/cardsfolder/a/ana_battlemage.txt b/forge-gui/res/cardsfolder/a/ana_battlemage.txt index eefae96c219..86ff8032e03 100644 --- a/forge-gui/res/cardsfolder/a/ana_battlemage.txt +++ b/forge-gui/res/cardsfolder/a/ana_battlemage.txt @@ -7,7 +7,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigKicker:DB$ Discard | ValidTgts$ Player | NumCards$ 3 | Mode$ TgtChoose T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self+kicked 2 | Execute$ TrigKicker2 | TriggerDescription$ When CARDNAME enters the battlefield, if it was kicked with its {1}{B} kicker, tap target untapped creature and that creature deals damage equal to its power to its controller. SVar:TrigKicker2:DB$ Tap | ValidTgts$ Creature.untapped | TgtPrompt$ Select target untapped creature | SubAbility$ DBDamage | SpellDescription$ Tap target untapped creature. That creature deals damage equal to its power to its controller. -SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | DamageSource$ Targeted | NumDmg$ X | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | DamageSource$ Targeted | NumDmg$ X SVar:X:Targeted$CardPower SVar:PlayMain1:TRUE DeckHints:Color$Blue|Black diff --git a/forge-gui/res/cardsfolder/a/ana_sanctuary.txt b/forge-gui/res/cardsfolder/a/ana_sanctuary.txt index 203e9529b3c..21e5d53f410 100644 --- a/forge-gui/res/cardsfolder/a/ana_sanctuary.txt +++ b/forge-gui/res/cardsfolder/a/ana_sanctuary.txt @@ -2,8 +2,8 @@ Name:Ana Sanctuary ManaCost:2 G Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE1 | Execute$ TrigPump | TriggerDescription$ At the beginning of your upkeep, if you control a blue or black permanent, target creature gets +1/+1 until end of turn. If you control a blue permanent and a black permanent, that creature gets +5/+5 until end of turn instead. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature to pump | NumAtt$ 1 | NumDef$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBPump | References$ X,Y,Z -SVar:DBPump:DB$ Pump | Defined$ Targeted | NumAtt$ 5 | NumDef$ 5 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X,Y,Z +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature to pump | NumAtt$ 1 | NumDef$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBPump +SVar:DBPump:DB$ Pump | Defined$ Targeted | NumAtt$ 5 | NumDef$ 5 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 SVar:Y:Count$Valid Permanent.Blue+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.Black+YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z diff --git a/forge-gui/res/cardsfolder/a/anathemancer.txt b/forge-gui/res/cardsfolder/a/anathemancer.txt index 1eaaced737d..faceb1cb0ef 100644 --- a/forge-gui/res/cardsfolder/a/anathemancer.txt +++ b/forge-gui/res/cardsfolder/a/anathemancer.txt @@ -4,7 +4,7 @@ Types:Creature Zombie Wizard PT:2/2 K:Unearth:5 B R T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals damage to target player equal to the number of nonbasic lands that player controls. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Player | TgtPrompt$ Select target player | NumDmg$ X | RememberTargets$ True | SubAbility$ DBCleanup | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Player | TgtPrompt$ Select target player | NumDmg$ X | RememberTargets$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Land.nonBasic+RememberedPlayerCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/anathemancer.jpg diff --git a/forge-gui/res/cardsfolder/a/anax_hardened_in_the_forge.txt b/forge-gui/res/cardsfolder/a/anax_hardened_in_the_forge.txt index 5f391160859..26bfb689cf5 100755 --- a/forge-gui/res/cardsfolder/a/anax_hardened_in_the_forge.txt +++ b/forge-gui/res/cardsfolder/a/anax_hardened_in_the_forge.txt @@ -6,7 +6,7 @@ S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ SVar:X:Count$Devotion.Red SVar:BuffedBy:Permanent.Red T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self,Creature.Other+nonToken+YouCtrl | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME or another nontoken creature you control dies, create a 1/1 red Satyr creature token with "This creature can't block." If the creature had power 4 or greater, create two of those tokens instead. -SVar:TrigToken:DB$ Token | TokenAmount$ Y | TokenScript$ r_1_1_satyr_noblock | TokenOwner$ You | LegacyImage$ r 1 1 satyr noblock thb | References$ Y,Z +SVar:TrigToken:DB$ Token | TokenAmount$ Y | TokenScript$ r_1_1_satyr_noblock | TokenOwner$ You | LegacyImage$ r 1 1 satyr noblock thb SVar:Y:Count$Compare Z GE4.2.1 SVar:Z:TriggeredCard$CardPower DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/a/ancestor_dragon.txt b/forge-gui/res/cardsfolder/a/ancestor_dragon.txt index 13219856cea..7e729b93452 100644 --- a/forge-gui/res/cardsfolder/a/ancestor_dragon.txt +++ b/forge-gui/res/cardsfolder/a/ancestor_dragon.txt @@ -3,7 +3,7 @@ ManaCost:4 W W Types:Creature Dragon K:Flying T:Mode$ AttackersDeclared | AttackingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever one or more creatures you control attack, you gain 1 life for each attacking creature. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.attacking SVar:HasAttackEffect:TRUE Oracle:Flying\nWhenever one or more creatures you control attack, you gain 1 life for each attacking creature. diff --git a/forge-gui/res/cardsfolder/a/ancestors_chosen.txt b/forge-gui/res/cardsfolder/a/ancestors_chosen.txt index cda04fdb6ad..10f060d8cb8 100644 --- a/forge-gui/res/cardsfolder/a/ancestors_chosen.txt +++ b/forge-gui/res/cardsfolder/a/ancestors_chosen.txt @@ -4,7 +4,7 @@ Types:Creature Human Cleric PT:4/4 K:First Strike T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 1 life for each card in your graveyard. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$InYourYard SVar:Picture:http://www.wizards.com/global/images/magic/general/ancestors_chosen.jpg Oracle:First strike (This creature deals combat damage before creatures without first strike.)\nWhen Ancestor's Chosen enters the battlefield, you gain 1 life for each card in your graveyard. diff --git a/forge-gui/res/cardsfolder/a/ancestral_tribute.txt b/forge-gui/res/cardsfolder/a/ancestral_tribute.txt index ca146393e8b..ce1531fd1ed 100644 --- a/forge-gui/res/cardsfolder/a/ancestral_tribute.txt +++ b/forge-gui/res/cardsfolder/a/ancestral_tribute.txt @@ -2,7 +2,7 @@ Name:Ancestral Tribute ManaCost:5 W W Types:Sorcery K:Flashback:9 W W W -A:SP$ GainLife | Cost$ 5 W W | LifeAmount$ X | References$ X | SpellDescription$ You gain 2 life for each card in your graveyard. +A:SP$ GainLife | Cost$ 5 W W | LifeAmount$ X | SpellDescription$ You gain 2 life for each card in your graveyard. SVar:X:Count$InYourYard/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/ancestral_tribute.jpg Oracle:You gain 2 life for each card in your graveyard.\nFlashback {9}{W}{W}{W} (You may cast this card from your graveyard for its flashback cost. Then exile it.) diff --git a/forge-gui/res/cardsfolder/a/ancient_animus.txt b/forge-gui/res/cardsfolder/a/ancient_animus.txt index 577d1e72839..3f6e4826c64 100644 --- a/forge-gui/res/cardsfolder/a/ancient_animus.txt +++ b/forge-gui/res/cardsfolder/a/ancient_animus.txt @@ -1,7 +1,7 @@ Name:Ancient Animus ManaCost:1 G Types:Instant -A:SP$ PutCounter | Cost$ 1 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Choose target creature you control | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | AILogic$ Fight | SubAbility$ DBFight | SpellDescription$ Put a +1/+1 counter on target creature you control if it's legendary. Then it fights target creature an opponent controls. (Each deals damage equal to its power to the other.) +A:SP$ PutCounter | Cost$ 1 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Choose target creature you control | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | AILogic$ Fight | SubAbility$ DBFight | SpellDescription$ Put a +1/+1 counter on target creature you control if it's legendary. Then it fights target creature an opponent controls. (Each deals damage equal to its power to the other.) SVar:X:Targeted$Valid Legendary SVar:DBFight:DB$ Fight | Defined$ ParentTarget | ValidTgts$ Creature.OppCtrl | AILogic$ Always | TgtPrompt$ Choose target creature an opponent controls DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/a/ancient_excavation.txt b/forge-gui/res/cardsfolder/a/ancient_excavation.txt index 85546ebaa0d..dcc907f6dba 100644 --- a/forge-gui/res/cardsfolder/a/ancient_excavation.txt +++ b/forge-gui/res/cardsfolder/a/ancient_excavation.txt @@ -1,8 +1,8 @@ Name:Ancient Excavation ManaCost:2 U B Types:Instant -A:SP$ Draw | Cost$ 2 U B | NumCards$ X | SubAbility$ DBDiscard | References$ X | RememberDrawn$ True | SpellDescription$ Draw cards equal to the number of cards in your hand, then discard a card for each card drawn this way. -SVar:DBDiscard:DB$ Discard | Defined$ You | Mode$ TgtChoose | NumCards$ Y | References$ Y | SubAbility$ DBCleanup +A:SP$ Draw | Cost$ 2 U B | NumCards$ X | SubAbility$ DBDiscard | RememberDrawn$ True | SpellDescription$ Draw cards equal to the number of cards in your hand, then discard a card for each card drawn this way. +SVar:DBDiscard:DB$ Discard | Defined$ You | Mode$ TgtChoose | NumCards$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$InYourHand SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/a/ancient_ooze.txt b/forge-gui/res/cardsfolder/a/ancient_ooze.txt index 347f9a82cf2..34e6e456252 100644 --- a/forge-gui/res/cardsfolder/a/ancient_ooze.txt +++ b/forge-gui/res/cardsfolder/a/ancient_ooze.txt @@ -2,7 +2,7 @@ Name:Ancient Ooze ManaCost:5 G G Types:Creature Ooze PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the total converted mana cost of other creatures you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the total converted mana cost of other creatures you control. SVar:X:Count$SumCMC_Creature.Other+YouCtrl SVar:NeedsToPlayVar:X GE4 SVar:Picture:http://www.wizards.com/global/images/magic/general/ancient_ooze.jpg diff --git a/forge-gui/res/cardsfolder/a/ancient_runes.txt b/forge-gui/res/cardsfolder/a/ancient_runes.txt index c14039fcac4..167a5bdb383 100644 --- a/forge-gui/res/cardsfolder/a/ancient_runes.txt +++ b/forge-gui/res/cardsfolder/a/ancient_runes.txt @@ -2,7 +2,7 @@ Name:Ancient Runes ManaCost:2 R Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's upkeep, CARDNAME deals damage to that player equal to the number of artifacts they control. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:Count$Valid Artifact.ActivePlayerCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/ancient_runes.jpg diff --git a/forge-gui/res/cardsfolder/a/ancient_stone_idol.txt b/forge-gui/res/cardsfolder/a/ancient_stone_idol.txt index 0408628ba85..870c8de990c 100644 --- a/forge-gui/res/cardsfolder/a/ancient_stone_idol.txt +++ b/forge-gui/res/cardsfolder/a/ancient_stone_idol.txt @@ -3,7 +3,7 @@ ManaCost:10 Types:Artifact Creature Golem PT:12/12 K:Flash -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each attacking creature. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each attacking creature. SVar:X:Count$Valid Creature.attacking K:Trample T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigToken | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, create a 6/12 colorless Construct artifact creature token with trample. diff --git a/forge-gui/res/cardsfolder/a/angel_of_destiny.txt b/forge-gui/res/cardsfolder/a/angel_of_destiny.txt index 4bbce304030..136e81a5f62 100755 --- a/forge-gui/res/cardsfolder/a/angel_of_destiny.txt +++ b/forge-gui/res/cardsfolder/a/angel_of_destiny.txt @@ -8,12 +8,12 @@ T:Mode$ TurnBegin | ValidPlayer$ Player | Static$ True | Execute$ AttackReset T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Static$ True | Execute$ AttackReset SVar:AttackReset:DB$ Cleanup | ClearRemembered$ True T:Mode$ DamageDone | ValidSource$ Creature.YouCtrl | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature you control deals combat damage to a player, you and that player each gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBGain -SVar:DBGain:DB$ GainLife | Defined$ TriggeredTarget | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBGain +SVar:DBGain:DB$ GainLife | Defined$ TriggeredTarget | LifeAmount$ X SVar:X:TriggerCount$DamageAmount T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ RememberPlayer | TriggerZones$ Battlefield | Static$ True SVar:RememberPlayer:DB$ Pump | RememberObjects$ TriggeredDefendingPlayer -T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ Z | SVarCompare$ GEY | References$ Z,Y | Execute$ TrigLose | TriggerDescription$ At the beginning of your end step, if you have at least 15 life more than your starting life total, each player CARDNAME attacked this turn loses the game. +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ Z | SVarCompare$ GEY | Execute$ TrigLose | TriggerDescription$ At the beginning of your end step, if you have at least 15 life more than your starting life total, each player CARDNAME attacked this turn loses the game. SVar:TrigLose:DB$ LosesGame | Defined$ Player.IsRemembered SVar:Z:Count$YourLifeTotal SVar:Y:Count$YourStartingLife/Plus.15 diff --git a/forge-gui/res/cardsfolder/a/angel_of_renewal.txt b/forge-gui/res/cardsfolder/a/angel_of_renewal.txt index 1d680513101..111b7ed3127 100644 --- a/forge-gui/res/cardsfolder/a/angel_of_renewal.txt +++ b/forge-gui/res/cardsfolder/a/angel_of_renewal.txt @@ -4,7 +4,7 @@ Types:Creature Angel Ally PT:4/4 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 1 life for each creature you control. -SVar:TrigGainLife:DB$GainLife | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | LifeAmount$ X SVar:X:Count$Valid Creature.YouCtrl DeckHas:Ability$LifeGain SVar:Picture:http://www.wizards.com/global/images/magic/general/angel_of_renewal.jpg diff --git a/forge-gui/res/cardsfolder/a/angel_of_vitality.txt b/forge-gui/res/cardsfolder/a/angel_of_vitality.txt index c042fd204ba..2c5167616a3 100644 --- a/forge-gui/res/cardsfolder/a/angel_of_vitality.txt +++ b/forge-gui/res/cardsfolder/a/angel_of_vitality.txt @@ -4,7 +4,7 @@ Types:Creature Angel PT:2/2 K:Flying R:Event$ GainLife | ActiveZones$ Battlefield | ValidPlayer$ You | ReplaceWith$ GainLife | AiLogic$ DoubleLife | Description$ If you would gain life, you gain that much life plus 1 instead. -SVar:GainLife:DB$ ReplaceEffect | VarName$ LifeGained | VarValue$ X | References$ X +SVar:GainLife:DB$ ReplaceEffect | VarName$ LifeGained | VarValue$ X SVar:X:ReplaceCount$LifeGained/Plus.1 SVar:PlayMain1:True DeckHints:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/a/angelheart_vial.txt b/forge-gui/res/cardsfolder/a/angelheart_vial.txt index 07b420bb185..19e8fc2bd7c 100644 --- a/forge-gui/res/cardsfolder/a/angelheart_vial.txt +++ b/forge-gui/res/cardsfolder/a/angelheart_vial.txt @@ -4,7 +4,7 @@ Types:Artifact A:AB$ GainLife | Cost$ 2 T SubCounter<4/CHARGE> | Defined$ You | LifeAmount$ 2 | SubAbility$ DBDraw | SpellDescription$ You gain 2 life and draw a card. T:Mode$ DamageDoneOnce | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerDescription$ Whenever you're dealt damage, you may put that many charge counters on CARDNAME. SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1 -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/angelheart_vial.jpg Oracle:Whenever you're dealt damage, you may put that many charge counters on Angelheart Vial.\n{2}, {T}, Remove four charge counters from Angelheart Vial: You gain 2 life and draw a card. diff --git a/forge-gui/res/cardsfolder/a/angelic_captain.txt b/forge-gui/res/cardsfolder/a/angelic_captain.txt index 9892cad3fa9..82a6755ed36 100644 --- a/forge-gui/res/cardsfolder/a/angelic_captain.txt +++ b/forge-gui/res/cardsfolder/a/angelic_captain.txt @@ -4,7 +4,7 @@ Types:Creature Angel Ally PT:4/3 K:Flying T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+1 until end of turn for each other attacking Ally. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X SVar:X:Count$Valid Ally.attacking+Other DeckHints:Type$Ally SVar:Picture:http://www.wizards.com/global/images/magic/general/angelic_captain.jpg diff --git a/forge-gui/res/cardsfolder/a/angelic_chorus.txt b/forge-gui/res/cardsfolder/a/angelic_chorus.txt index ddf32254ee5..9bfa947741c 100644 --- a/forge-gui/res/cardsfolder/a/angelic_chorus.txt +++ b/forge-gui/res/cardsfolder/a/angelic_chorus.txt @@ -2,7 +2,7 @@ Name:Angelic Chorus ManaCost:3 W W Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever a creature enters the battlefield under your control, you gain life equal to its toughness. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggeredCard$CardToughness SVar:PlayMain1:TRUE SVar:AIPriorityModifier:9 diff --git a/forge-gui/res/cardsfolder/a/angelic_exaltation.txt b/forge-gui/res/cardsfolder/a/angelic_exaltation.txt index dd2bc189b42..bf08a8026bd 100644 --- a/forge-gui/res/cardsfolder/a/angelic_exaltation.txt +++ b/forge-gui/res/cardsfolder/a/angelic_exaltation.txt @@ -2,7 +2,7 @@ Name:Angelic Exaltation ManaCost:3 W Types:Enchantment T:Mode$ Attacks | ValidCard$ Creature.YouCtrl | Alone$ True | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever a creature you control attacks alone, it gets +X/+X until end of turn, where X is the number of creatures you control. -SVar:TrigPump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ +X | NumDef$ +X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ +X | NumDef$ +X SVar:X:Count$Valid Creature.YouCtrl SVar:PlayMain1:TRUE Oracle:Whenever a creature you control attacks alone, it gets +X/+X until end of turn, where X is the number of creatures you control. diff --git a/forge-gui/res/cardsfolder/a/angels_trumpet.txt b/forge-gui/res/cardsfolder/a/angels_trumpet.txt index 4e4483321fe..a45cb45a076 100644 --- a/forge-gui/res/cardsfolder/a/angels_trumpet.txt +++ b/forge-gui/res/cardsfolder/a/angels_trumpet.txt @@ -4,7 +4,7 @@ Types:Artifact S:Mode$ Continuous | Affected$ Creature | AddKeyword$ Vigilance | Description$ All creatures have vigilance. T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Player | Execute$ TrigTapAll | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's end step, tap all untapped creatures that player controls that didn't attack this turn. CARDNAME deals damage to the player equal to the number of creatures tapped this way. SVar:TrigTapAll:DB$ TapAll | ValidCards$ Creature.untapped+notAttackedThisTurn+ActivePlayerCtrl | RememberTapped$ True | SubAbility$ DBDamage -SVar:DBDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ AngelDamage | SubAbility$ DBCleanup | References$ AngelDamage +SVar:DBDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ AngelDamage | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:AngelDamage:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/a/angrath_minotaur_pirate.txt b/forge-gui/res/cardsfolder/a/angrath_minotaur_pirate.txt index 5837ad31d9d..7ff56f6fb75 100644 --- a/forge-gui/res/cardsfolder/a/angrath_minotaur_pirate.txt +++ b/forge-gui/res/cardsfolder/a/angrath_minotaur_pirate.txt @@ -7,7 +7,7 @@ SVar:DmgAll:DB$ DamageAll | NumDmg$ 1 | ValidCards$ Creature.ControlledBy Target SVar:DBDamageResolve:DB$ DamageResolve A:AB$ ChangeZone | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Card.Pirate+YouCtrl | TgtPrompt$ Select target Pirate card in your graveyard. | SpellDescription$ Return target Pirate card from your graveyard to the battlefield. A:AB$ DestroyAll | Cost$ SubCounter<11/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | ValidCards$ Creature | ValidDescription$ all creatures targeted opponent controls | RememberAllObjects$ True | SubAbility$ DBDealDamage | SpellDescription$ Destroy all creatures target opponent controls. CARDNAME deals damage to that player equal to their total power. -SVar:DBDealDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | References$ X +SVar:DBDealDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X SVar:X:RememberedLKI$ CardPower SVar:Animate:DB$Animate | Defined$ Targeted | Types$ Zombie | Colors$ Black | Permanent$ True Oracle:[+2]: Angrath, Minotaur Pirate deals 1 damage to target opponent or planeswalker and each creature that player or that planeswalker's controller controls.\n[−3]: Return target Pirate card from your graveyard to the battlefield.\n[−11]: Destroy all creatures target opponent controls. Angrath, Minotaur Pirate deals damage to that player equal to their total power. diff --git a/forge-gui/res/cardsfolder/a/angrath_the_flame_chained.txt b/forge-gui/res/cardsfolder/a/angrath_the_flame_chained.txt index b344ac2ff6c..0991f1815b5 100644 --- a/forge-gui/res/cardsfolder/a/angrath_the_flame_chained.txt +++ b/forge-gui/res/cardsfolder/a/angrath_the_flame_chained.txt @@ -8,7 +8,7 @@ A:AB$ GainControl | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Player | Execute$ TrigSac | RememberObjects$ Targeted | TriggerDescription$ Sacrifice that creature at the beginning of the next end step if it has converted mana cost 3 or less. SVar:TrigSac:DB$ SacrificeAll | Defined$ DelayTriggerRemembered | Controller$ You | ConditionDefined$ DelayTriggerRemembered | ConditionPresent$ Card.cmcLE3 A:AB$ RepeatEach | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBLoseLife2 | SpellDescription$ Each opponent loses life equal to the number of cards in their graveyard. -SVar:DBLoseLife2:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBLoseLife2:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ValidGraveyard Card.RememberedPlayerCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/angrath_the_flame_chained.jpg diff --git a/forge-gui/res/cardsfolder/a/angraths_marauders.txt b/forge-gui/res/cardsfolder/a/angraths_marauders.txt index 3d1c6e173af..e8b897e390e 100644 --- a/forge-gui/res/cardsfolder/a/angraths_marauders.txt +++ b/forge-gui/res/cardsfolder/a/angraths_marauders.txt @@ -3,7 +3,7 @@ ManaCost:5 R R Types:Creature Human Pirate PT:4/4 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.YouCtrl,Emblem.YouCtrl | ValidTarget$ Permanent,Player | ReplaceWith$ DmgTwice | Description$ If a source you control would deal damage to a permanent or player, it deals double that damage to that permanent or player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:PlayMain1:TRUE AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/a/animar_soul_of_elements.txt b/forge-gui/res/cardsfolder/a/animar_soul_of_elements.txt index 3eaa05b56cf..536ceda24f4 100644 --- a/forge-gui/res/cardsfolder/a/animar_soul_of_elements.txt +++ b/forge-gui/res/cardsfolder/a/animar_soul_of_elements.txt @@ -6,7 +6,7 @@ K:Protection from white K:Protection from black T:Mode$ SpellCast | ValidCard$ Creature | ValidActivatingPlayer$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a creature spell, put a +1/+1 counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 -S:Mode$ ReduceCost | ValidCard$ Creature | Type$ Spell | Activator$ You | Amount$ X | References$ X | Description$ Creature spells you cast cost 1 less to cast for each +1/+1 counter on CARDNAME. +S:Mode$ ReduceCost | ValidCard$ Creature | Type$ Spell | Activator$ You | Amount$ X | Description$ Creature spells you cast cost 1 less to cast for each +1/+1 counter on CARDNAME. SVar:X:Count$CardCounters.P1P1 SVar:BuffedBy:Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/animar_soul_of_elements.jpg diff --git a/forge-gui/res/cardsfolder/a/animists_awakening.txt b/forge-gui/res/cardsfolder/a/animists_awakening.txt index b07533d9557..35af5902584 100644 --- a/forge-gui/res/cardsfolder/a/animists_awakening.txt +++ b/forge-gui/res/cardsfolder/a/animists_awakening.txt @@ -1,8 +1,8 @@ Name:Animist's Awakening ManaCost:X G Types:Sorcery -A:SP$ Dig | Cost$ X G | DigNum$ X | Reveal$ True | ChangeNum$ All | ChangeValid$ Land | DestinationZone$ Battlefield | Tapped$ True | RememberChanged$ True | RestRandomOrder$ True | SubAbility$ DBUntap | References$ X | SpellDescription$ Reveal the top X cards of your library. Put all land cards from among them onto the battlefield tapped and the rest on the bottom of your library in a random order. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, untap those lands. -SVar:DBUntap:DB$ Untap | Defined$ Remembered | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE2 | References$ Y +A:SP$ Dig | Cost$ X G | DigNum$ X | Reveal$ True | ChangeNum$ All | ChangeValid$ Land | DestinationZone$ Battlefield | Tapped$ True | RememberChanged$ True | RestRandomOrder$ True | SubAbility$ DBUntap | SpellDescription$ Reveal the top X cards of your library. Put all land cards from among them onto the battlefield tapped and the rest on the bottom of your library in a random order. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, untap those lands. +SVar:DBUntap:DB$ Untap | Defined$ Remembered | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE2 SVar:X:Count$xPaid SVar:Y:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/animists_awakening.jpg diff --git a/forge-gui/res/cardsfolder/a/anointed_procession.txt b/forge-gui/res/cardsfolder/a/anointed_procession.txt index 9db58107e40..bb7a722e807 100644 --- a/forge-gui/res/cardsfolder/a/anointed_procession.txt +++ b/forge-gui/res/cardsfolder/a/anointed_procession.txt @@ -2,7 +2,7 @@ Name:Anointed Procession ManaCost:3 W Types:Enchantment R:Event$ CreateToken | ActiveZones$ Battlefield | ValidPlayer$ You | ReplaceWith$ DoubleToken | EffectOnly$ True | Description$ If an effect would create one or more tokens under your control, it creates twice that many of those tokens instead. -SVar:DoubleToken:DB$ ReplaceEffect | VarName$ TokenNum | VarValue$ X | References$ X +SVar:DoubleToken:DB$ ReplaceEffect | VarName$ TokenNum | VarValue$ X SVar:X:ReplaceCount$TokenNum/Twice DeckNeeds:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/anointed_procession.jpg diff --git a/forge-gui/res/cardsfolder/a/anowon_the_ruin_thief.txt b/forge-gui/res/cardsfolder/a/anowon_the_ruin_thief.txt index 28f04968100..e5df43e0403 100644 --- a/forge-gui/res/cardsfolder/a/anowon_the_ruin_thief.txt +++ b/forge-gui/res/cardsfolder/a/anowon_the_ruin_thief.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Vampire Rogue PT:2/4 S:Mode$ Continuous | Affected$ Rogue.Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other Rogues you control get +1/+1. T:Mode$ DamageDoneOnce | CombatDamage$ True | ValidSource$ Rogue.YouCtrl | ValidTarget$ Player | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ Whenever one or more Rogues you control deal combat damage to a player, that player mills a card for each 1 damage dealt to them. If the player mills at least one creature card this way, you draw a card. (To mill a card, a player puts the top card of their library into their graveyard.) -SVar:TrigMill:DB$ Mill | Defined$ TriggeredTarget | NumCards$ X | References$ X | RememberMilled$ True | SubAbility$ DBDraw +SVar:TrigMill:DB$ Mill | Defined$ TriggeredTarget | NumCards$ X | RememberMilled$ True | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1 | ConditionDefined$ Remembered | ConditionPresent$ Creature | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:TriggerCount$DamageAmount diff --git a/forge-gui/res/cardsfolder/a/antagonism.txt b/forge-gui/res/cardsfolder/a/antagonism.txt index 320746404e0..3899ac3c692 100644 --- a/forge-gui/res/cardsfolder/a/antagonism.txt +++ b/forge-gui/res/cardsfolder/a/antagonism.txt @@ -2,7 +2,7 @@ Name:Antagonism ManaCost:3 R Types:Enchantment T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Player | Execute$ TeaseYou | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's end step, CARDNAME deals 2 damage to that player unless one of their opponents was dealt damage this turn. -SVar:TeaseYou:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ 2 | ConditionCheckSVar$ AntagonismX | ConditionSVarCompare$ LE0 | References$ AntagonismX +SVar:TeaseYou:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ 2 | ConditionCheckSVar$ AntagonismX | ConditionSVarCompare$ LE0 SVar:AntagonismX:TriggeredPlayer$DamageToOppsThisTurn SVar:Check:PlayerCountOpponents$DamageToOppsThisTurn SVar:NeedsToPlayVar:Check GE1 diff --git a/forge-gui/res/cardsfolder/a/anthem_of_rakdos.txt b/forge-gui/res/cardsfolder/a/anthem_of_rakdos.txt index 8746b4bb56d..d4b28b70626 100644 --- a/forge-gui/res/cardsfolder/a/anthem_of_rakdos.txt +++ b/forge-gui/res/cardsfolder/a/anthem_of_rakdos.txt @@ -5,7 +5,7 @@ T:Mode$ Attacks | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Exec SVar:AnthemPump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ 2 | SubAbility$ RakdosBurn SVar:RakdosBurn:DB$ DealDamage | Defined$ You | NumDmg$ 1 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.YouCtrl,Emblem.YouCtrl | ValidTarget$ Permanent,Player | Hellbent$ True | ReplaceWith$ DmgTwice | Description$ Hellbent — As long as you have no cards in hand, if a source you control would deal damage to a permanent or player, it deals double that damage to that permanent or player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:PlayMain1:TRUE SVar:BuffedBy:Card diff --git a/forge-gui/res/cardsfolder/a/anthroplasm.txt b/forge-gui/res/cardsfolder/a/anthroplasm.txt index 6041e3c11df..736ea8a97b2 100644 --- a/forge-gui/res/cardsfolder/a/anthroplasm.txt +++ b/forge-gui/res/cardsfolder/a/anthroplasm.txt @@ -4,7 +4,7 @@ Types:Creature Shapeshifter PT:0/0 K:etbCounter:P1P1:2 A:AB$ RemoveCounter | Cost$ X T | CounterType$ P1P1 | CounterNum$ All | SpellDescription$ Remove all +1/+1 counters from CARDNAME and put X +1/+1 counters on it. | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$PutCounter | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:DBPutCounter:DB$PutCounter | CounterType$ P1P1 | CounterNum$ X SVar:X:Count$xPaid SVar:All:Count$CardCounters.P1P1 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/a/anticognition.txt b/forge-gui/res/cardsfolder/a/anticognition.txt index f98c318e9b2..e5db2eda72c 100644 --- a/forge-gui/res/cardsfolder/a/anticognition.txt +++ b/forge-gui/res/cardsfolder/a/anticognition.txt @@ -2,7 +2,7 @@ Name:Anticognition ManaCost:1 U Types:Instant A:SP$ Pump | Cost$ 1 U | IsCurse$ True | TargetType$ Spell | TgtZone$ Stack | TgtPrompt$ Select target creature or planeswalker spell | ValidTgts$ Creature,Planeswalker | SubAbility$ DBBranch | StackDescription$ SpellDescription | SpellDescription$ Counter target creature or planeswalker spell unless its controller pays {2}. If an opponent has eight or more cards in their graveyard, instead counter that spell, then scry 2. -SVar:DBBranch:DB$ Branch | References$ X | BranchConditionSVar$ X | BranchConditionSVarCompare$ GE8 | TrueSubAbility$ CounterScry | FalseSubAbility$ CounterUnless | StackDescription$ None +SVar:DBBranch:DB$ Branch | BranchConditionSVar$ X | BranchConditionSVarCompare$ GE8 | TrueSubAbility$ CounterScry | FalseSubAbility$ CounterUnless | StackDescription$ None SVar:CounterUnless:DB$ Counter | Defined$ Targeted | UnlessCost$ 2 SVar:CounterScry:DB$ Counter | Defined$ Targeted | SubAbility$ DBScry SVar:DBScry:DB$ Scry | ScryNum$ 2 diff --git a/forge-gui/res/cardsfolder/a/apathy.txt b/forge-gui/res/cardsfolder/a/apathy.txt index f1925df0573..62510586fc4 100644 --- a/forge-gui/res/cardsfolder/a/apathy.txt +++ b/forge-gui/res/cardsfolder/a/apathy.txt @@ -5,8 +5,8 @@ K:Enchant creature A:SP$ Attach | Cost$ U | ValidTgts$ Creature | AILogic$ Curse S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | Description$ Enchanted creature doesn't untap during its controller's untap step. At the beginning of the upkeep of enchanted creature's controller, that player may discard a card at random. If the player does, untap that creature. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ EnchantedController | TriggerZones$ Battlefield | OptionalDecider$ EnchantedController | Execute$ ApathyDiscard | TriggerDescription$ At the beginning of the upkeep of enchanted creature's controller, that player may discard a card at random. If the player does, untap that creature. -SVar:ApathyDiscard:DB$ Discard | Defined$ TriggeredPlayer | NumCards$ 1 | Mode$ Random | RememberDiscarded$ True | SubAbility$ ApathyUntap | References$ X -SVar:ApathyUntap:DB$ Untap | Defined$ Enchanted | SpellDescription$ Untap enchanted creature | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X | SubAbility$ DBCleanup +SVar:ApathyDiscard:DB$ Discard | Defined$ TriggeredPlayer | NumCards$ 1 | Mode$ Random | RememberDiscarded$ True | SubAbility$ ApathyUntap +SVar:ApathyUntap:DB$ Untap | Defined$ Enchanted | SpellDescription$ Untap enchanted creature | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/apathy.jpg diff --git a/forge-gui/res/cardsfolder/a/apocalypse_demon.txt b/forge-gui/res/cardsfolder/a/apocalypse_demon.txt index 1f4f13c0e9f..7f99b859de1 100644 --- a/forge-gui/res/cardsfolder/a/apocalypse_demon.txt +++ b/forge-gui/res/cardsfolder/a/apocalypse_demon.txt @@ -3,7 +3,7 @@ ManaCost:4 B B Types:Creature Demon PT:*/* K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your graveyard. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your graveyard. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigTap | TriggerDescription$ At the beginning of your upkeep, tap CARDNAME unless you sacrifice another creature. SVar:TrigTap:DB$ Tap | UnlessCost$ Sac<1/Creature.Other/another creature> | UnlessPayer$ You | Defined$ Self SVar:X:Count$InYourYard diff --git a/forge-gui/res/cardsfolder/a/appeal_authority.txt b/forge-gui/res/cardsfolder/a/appeal_authority.txt index f73c72310b1..4c5abf4275c 100644 --- a/forge-gui/res/cardsfolder/a/appeal_authority.txt +++ b/forge-gui/res/cardsfolder/a/appeal_authority.txt @@ -2,7 +2,7 @@ Name:Appeal ManaCost:G AlternateMode: Split Types:Sorcery -A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | KW$ Trample | SpellDescription$ Until end of turn, target creature gains trample and gets +X/+X, where X is the number of creatures you control. +A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | KW$ Trample | SpellDescription$ Until end of turn, target creature gains trample and gets +X/+X, where X is the number of creatures you control. SVar:X:Count$TypeYouCtrl.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/appeal_authority.jpg Oracle:Until end of turn, target creature gains trample and gets +X/+X, where X is the number of creatures you control. diff --git a/forge-gui/res/cardsfolder/a/approach_my_molten_realm.txt b/forge-gui/res/cardsfolder/a/approach_my_molten_realm.txt index 3d24b64cab2..72e00c88779 100644 --- a/forge-gui/res/cardsfolder/a/approach_my_molten_realm.txt +++ b/forge-gui/res/cardsfolder/a/approach_my_molten_realm.txt @@ -4,7 +4,7 @@ Types:Scheme T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ MoltenEffect | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, until your next turn, if a source would deal damage, it deals double that damage instead. SVar:MoltenEffect:DB$ Effect | Name$ Molten Realm Effect | ReplacementEffects$ MoltenRealm | SVars$ DmgTwice,MoltenX | Duration$ UntilYourNextTurn SVar:MoltenRealm:Event$ DamageDone | ActiveZones$ Command | ValidSource$ Card,Emblem | ReplaceWith$ DmgTwice | Description$ Until your next turn, if a source would deal damage, it deals double that damage instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ MoltenX | References$ MoltenX +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ MoltenX SVar:MoltenX:ReplaceCount$DamageAmount/Twice SVar:Picture:https://downloads.cardforge.org/images/cards/ARC/Approach My Molten Realm.full.jpg Oracle:When you set this scheme in motion, until your next turn, if a source would deal damage, it deals double that damage instead. diff --git a/forge-gui/res/cardsfolder/a/approach_of_the_second_sun.txt b/forge-gui/res/cardsfolder/a/approach_of_the_second_sun.txt index 48c890acdfb..503ddde1399 100644 --- a/forge-gui/res/cardsfolder/a/approach_of_the_second_sun.txt +++ b/forge-gui/res/cardsfolder/a/approach_of_the_second_sun.txt @@ -3,7 +3,7 @@ ManaCost:6 W Types:Sorcery T:Mode$ SpellCast | ValidCard$ Card.Self | Static$ True | Execute$ ApproachingSuns SVar:ApproachingSuns:DB$ Effect | Name$ ApproachingSuns | Duration$ Permanent -A:SP$ Branch | Cost$ 6 W | References$ X,Y,Z | BranchConditionSVar$ X | BranchConditionSVarCompare$ EQ3 | TrueSubAbility$ WinGame | FalseSubAbility$ GainLife | SpellDescription$ If this spell was cast from your hand and you've cast another spell named Approach of the Second Sun this game, you win the game. Otherwise, put CARDNAME into its owner's library seventh from the top and you gain 7 life. +A:SP$ Branch | Cost$ 6 W | BranchConditionSVar$ X | BranchConditionSVarCompare$ EQ3 | TrueSubAbility$ WinGame | FalseSubAbility$ GainLife | SpellDescription$ If this spell was cast from your hand and you've cast another spell named Approach of the Second Sun this game, you win the game. Otherwise, put CARDNAME into its owner's library seventh from the top and you gain 7 life. SVar:WinGame:DB$ WinsGame | Defined$ You SVar:GainLife:DB$ GainLife | LifeAmount$ 7 | Defined$ You | SubAbility$ Reapproach SVar:Reapproach:DB$ ChangeZone | Origin$ Stack | Destination$ Library | LibraryPosition$ 6 | Defined$ Self diff --git a/forge-gui/res/cardsfolder/a/arachnogenesis.txt b/forge-gui/res/cardsfolder/a/arachnogenesis.txt index c359c3d3988..7a8cad8de06 100644 --- a/forge-gui/res/cardsfolder/a/arachnogenesis.txt +++ b/forge-gui/res/cardsfolder/a/arachnogenesis.txt @@ -1,7 +1,7 @@ Name:Arachnogenesis ManaCost:2 G Types:Instant -A:SP$ Token | Cost$ 2 G | TokenAmount$ X | TokenScript$ g_1_2_spider_reach | TokenOwner$ You | SubAbility$ DBCurseNonSpiders | References$ X | SpellDescription$ Create X 1/2 green Spider creature tokens with reach, where X is the number of creatures attacking you. Prevent all combat damage that would be dealt this turn by non-Spider creatures. | LegacyImage$ g_1_2_spider_reach_c15 +A:SP$ Token | Cost$ 2 G | TokenAmount$ X | TokenScript$ g_1_2_spider_reach | TokenOwner$ You | SubAbility$ DBCurseNonSpiders | SpellDescription$ Create X 1/2 green Spider creature tokens with reach, where X is the number of creatures attacking you. Prevent all combat damage that would be dealt this turn by non-Spider creatures. | LegacyImage$ g_1_2_spider_reach_c15 SVar:DBCurseNonSpiders:DB$ Effect | Name$ Arachnogenesis Effect | ReplacementEffects$ Curse SVar:Curse:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidSource$ Creature.nonSpider | Description$ Prevent all combat damage that would be dealt this turn by non-Spider creatures. SVar:X:Count$Valid Creature.attackingYou diff --git a/forge-gui/res/cardsfolder/a/arahbo_roar_of_the_world.txt b/forge-gui/res/cardsfolder/a/arahbo_roar_of_the_world.txt index 4eadb402d5d..29ae1f020f2 100644 --- a/forge-gui/res/cardsfolder/a/arahbo_roar_of_the_world.txt +++ b/forge-gui/res/cardsfolder/a/arahbo_roar_of_the_world.txt @@ -6,7 +6,7 @@ T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefiel T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Command | IsPresent$ Card.Self | PresentZone$ Command | Execute$ TrigPump1 | Secondary$ True SVar:TrigPump1:DB$ Pump | ValidTgts$ Creature.Cat+YouCtrl+Other | TgtPrompt$ Select another target Cat you control | NumAtt$ 3 | NumDef$ 3 T:Mode$ Attacks | ValidCard$ Creature.Cat+Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPump2 | TriggerDescription$ Whenever another Cat you control attacks, you may pay {1}{G}{W}. If you do, it gains trample and gets +X/+X until end of turn, where X is its power. -SVar:TrigPump2:AB$ Pump | Cost$ 1 G W | Defined$ TriggeredAttacker | KW$ Trample | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump2:AB$ Pump | Cost$ 1 G W | Defined$ TriggeredAttacker | KW$ Trample | NumAtt$ X | NumDef$ X SVar:X:TriggeredAttacker$CardPower SVar:BuffedBy:Cat SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/a/arashi_the_sky_asunder.txt b/forge-gui/res/cardsfolder/a/arashi_the_sky_asunder.txt index d89af16de4b..41c81b066c1 100644 --- a/forge-gui/res/cardsfolder/a/arashi_the_sky_asunder.txt +++ b/forge-gui/res/cardsfolder/a/arashi_the_sky_asunder.txt @@ -2,8 +2,8 @@ Name:Arashi, the Sky Asunder ManaCost:3 G G Types:Legendary Creature Spirit PT:5/5 -A:AB$ DealDamage | Cost$ X G T | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target flying creature. | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature with flying. -A:AB$ DamageAll | PrecostDesc$ Channel — | Cost$ X G G Discard<1/CARDNAME> | ActivationZone$ Hand | ValidCards$ Creature.withFlying | NumDmg$ X | ValidDescription$ each creature with flying. | References$ X | SpellDescription$ CARDNAME deals X damage to each creature with flying. +A:AB$ DealDamage | Cost$ X G T | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target flying creature. | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature with flying. +A:AB$ DamageAll | PrecostDesc$ Channel — | Cost$ X G G Discard<1/CARDNAME> | ActivationZone$ Hand | ValidCards$ Creature.withFlying | NumDmg$ X | ValidDescription$ each creature with flying. | SpellDescription$ CARDNAME deals X damage to each creature with flying. SVar:X:Count$xPaid SVar:Picture:http://resources.wizards.com/magic/cards/sok/en-us/card87333.jpg Oracle:{X}{G}, {T}: Arashi, the Sky Asunder deals X damage to target creature with flying.\nChannel — {X}{G}{G}, Discard Arashi: Arashi deals X damage to each creature with flying. diff --git a/forge-gui/res/cardsfolder/a/araumi_of_the_dead_tide.txt b/forge-gui/res/cardsfolder/a/araumi_of_the_dead_tide.txt index b749da66ba4..08fb25188de 100755 --- a/forge-gui/res/cardsfolder/a/araumi_of_the_dead_tide.txt +++ b/forge-gui/res/cardsfolder/a/araumi_of_the_dead_tide.txt @@ -2,7 +2,7 @@ Name:Araumi of the Dead Tide ManaCost:1 U B Types:Legendary Creature Merfolk Wizard PT:1/4 -A:AB$ Pump | Cost$ T ExileFromGrave | References$ X | CostDesc$ {T}, Exile cards from your graveyard equal to the number of opponents you have: | TgtZone$ Graveyard | ValidTgts$ Creature.YouOwn | TgtPrompt$ Select target creature card in your graveyard | PumpZone$ Graveyard | KW$ Encore:CardManaCost | StackDescription$ {c:Targeted} gains encore until end of turn. The encore cost is equal to its mana cost. | SpellDescription$ Target creature card in your graveyard gains encore until end of turn. The encore cost is equal to its mana cost. (Exile the creature card and pay its mana cost: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.) +A:AB$ Pump | Cost$ T ExileFromGrave | CostDesc$ {T}, Exile cards from your graveyard equal to the number of opponents you have: | TgtZone$ Graveyard | ValidTgts$ Creature.YouOwn | TgtPrompt$ Select target creature card in your graveyard | PumpZone$ Graveyard | KW$ Encore:CardManaCost | StackDescription$ {c:Targeted} gains encore until end of turn. The encore cost is equal to its mana cost. | SpellDescription$ Target creature card in your graveyard gains encore until end of turn. The encore cost is equal to its mana cost. (Exile the creature card and pay its mana cost: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.) SVar:X:PlayerCountOpponents$Amount AI:RemoveDeck:All Oracle:{T}, Exile cards from your graveyard equal to the number of opponents you have: Target creature card in your graveyard gains encore until end of turn. The encore cost is equal to its mana cost. (Exile the creature card and pay its mana cost: For each opponent, create a token copy that attacks that opponent this turn if able. They gain haste. Sacrifice them at the beginning of the next end step. Activate only as a sorcery.) diff --git a/forge-gui/res/cardsfolder/a/arbiter_of_knollridge.txt b/forge-gui/res/cardsfolder/a/arbiter_of_knollridge.txt index 74489a14581..a434a8834e3 100644 --- a/forge-gui/res/cardsfolder/a/arbiter_of_knollridge.txt +++ b/forge-gui/res/cardsfolder/a/arbiter_of_knollridge.txt @@ -3,8 +3,8 @@ ManaCost:6 W Types:Creature Giant Wizard PT:5/5 K:Vigilance -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | References$ X | Execute$ TrigLife | TriggerDescription$ When CARDNAME enters the battlefield, each player's life total becomes the highest life total among all players. -SVar:TrigLife:DB$SetLife | Defined$ Player | LifeAmount$ X | References$ X +T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigLife | TriggerDescription$ When CARDNAME enters the battlefield, each player's life total becomes the highest life total among all players. +SVar:TrigLife:DB$SetLife | Defined$ Player | LifeAmount$ X SVar:X:PlayerCountPlayers$HighestLifeTotal SVar:Picture:http://www.wizards.com/global/images/magic/general/arbiter_of_knollridge.jpg Oracle:Vigilance\nWhen Arbiter of Knollridge enters the battlefield, each player's life total becomes the highest life total among all players. diff --git a/forge-gui/res/cardsfolder/a/arcanis_the_omnipotent_avatar.txt b/forge-gui/res/cardsfolder/a/arcanis_the_omnipotent_avatar.txt index 2f9ce74d6cc..182d6d35de5 100644 --- a/forge-gui/res/cardsfolder/a/arcanis_the_omnipotent_avatar.txt +++ b/forge-gui/res/cardsfolder/a/arcanis_the_omnipotent_avatar.txt @@ -2,7 +2,7 @@ Name:Arcanis, the Omnipotent Avatar ManaCost:no cost Types:Vanguard HandLifeModifier:+1/-3 -A:AB$ Draw | ActivationZone$ Command | Cost$ XCantBe0 X Return<1/Creature.cmcEQX/creature you control with converted mana cost X> | NumCards$ Y | References$ X,Y | SpellDescription$ Draw a number of cards chosen at random between 0 and X. X can't be 0. | StackDescription$ SpellDescription +A:AB$ Draw | ActivationZone$ Command | Cost$ XCantBe0 X Return<1/Creature.cmcEQX/creature you control with converted mana cost X> | NumCards$ Y | SpellDescription$ Draw a number of cards chosen at random between 0 and X. X can't be 0. | StackDescription$ SpellDescription SVar:X:Count$xPaid SVar:Y:Count$Random.0.X SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Arcanis, the Omnipotent Avatar.full.jpg diff --git a/forge-gui/res/cardsfolder/a/arcbond.txt b/forge-gui/res/cardsfolder/a/arcbond.txt index 4244b9e2909..9a9126c64c9 100644 --- a/forge-gui/res/cardsfolder/a/arcbond.txt +++ b/forge-gui/res/cardsfolder/a/arcbond.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Instant A:SP$ Effect | Cost$ 2 R | Name$ Arcbond Effect | ValidTgts$ Creature | Triggers$ TrigDealtDmg,OutOfSight | SVars$ ExileSelf,DmgOther,X | RememberObjects$ Targeted | SpellDescription$ Choose target creature. Whenever that creature is dealt damage this turn, it deals that much damage to each other creature and each player. SVar:TrigDealtDmg:Mode$ DamageDoneOnce | ValidTarget$ Card.IsRemembered | Execute$ DmgOther | TriggerDescription$ Whenever that creature is dealt damage this turn, it deals that much damage to each other creature and each player. -SVar:DmgOther:DB$ DamageAll | ValidCards$ Creature.IsNotRemembered | ValidPlayers$ Player | NumDmg$ X | DamageSource$ Remembered | References$ X +SVar:DmgOther:DB$ DamageAll | ValidCards$ Creature.IsNotRemembered | ValidPlayers$ Player | NumDmg$ X | DamageSource$ Remembered SVar:OutOfSight:Mode$ ChangesZone | TriggerZones$ Command | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsRemembered | Execute$ ExileSelf | Static$ True SVar:ExileSelf:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:X:TriggerCount$DamageAmount diff --git a/forge-gui/res/cardsfolder/a/archangels_light.txt b/forge-gui/res/cardsfolder/a/archangels_light.txt index efd023d1b29..f475bb2febf 100644 --- a/forge-gui/res/cardsfolder/a/archangels_light.txt +++ b/forge-gui/res/cardsfolder/a/archangels_light.txt @@ -1,7 +1,7 @@ Name:Archangel's Light ManaCost:7 W Types:Sorcery -A:SP$ GainLife | Cost$ 7 W | LifeAmount$ X | SubAbility$ DBShuffle | References$ X | SpellDescription$ You gain 2 life for each card in your graveyard, then shuffle your graveyard into your library. +A:SP$ GainLife | Cost$ 7 W | LifeAmount$ X | SubAbility$ DBShuffle | SpellDescription$ You gain 2 life for each card in your graveyard, then shuffle your graveyard into your library. SVar:DBShuffle:DB$ChangeZoneAll | ChangeType$ Card.YouOwn | Origin$ Graveyard | Destination$ Library | Shuffle$ True SVar:X:Count$InYourYard/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/archangels_light.jpg diff --git a/forge-gui/res/cardsfolder/a/archfiend_of_despair.txt b/forge-gui/res/cardsfolder/a/archfiend_of_despair.txt index 55da4ac35fd..eba83fa0fbc 100644 --- a/forge-gui/res/cardsfolder/a/archfiend_of_despair.txt +++ b/forge-gui/res/cardsfolder/a/archfiend_of_despair.txt @@ -6,6 +6,6 @@ K:Flying S:Mode$ Continuous | Affected$ Player.Opponent | AddKeyword$ You can't gain life. | Description$ Your opponents can't gain life. T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ RepeatOpps | TriggerDescription$ At the beginning of each end step, each opponent loses life equal to the life they lost this turn. (Damage causes loss of life.) SVar:RepeatOpps:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ TrigLoseLife -SVar:TrigLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X SVar:X:PlayerCountRemembered$LifeLostThisTurn Oracle:Flying\nYour opponents can't gain life.\nAt the beginning of each end step, each opponent loses life equal to the life that player lost this turn. (Damage causes loss of life.) diff --git a/forge-gui/res/cardsfolder/a/archfiend_of_spite.txt b/forge-gui/res/cardsfolder/a/archfiend_of_spite.txt index 93e1167e05e..79970ba36ae 100644 --- a/forge-gui/res/cardsfolder/a/archfiend_of_spite.txt +++ b/forge-gui/res/cardsfolder/a/archfiend_of_spite.txt @@ -4,7 +4,7 @@ Types:Creature Demon PT:6/6 K:Flying T:Mode$ DamageDone | ValidSource$ Card.OppCtrl | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ DBLoseLife | TriggerDescription$ Whenever a source an opponent controls deals damage to CARDNAME, that source's controller loses that much life unless they sacrifice that many permanents. -SVar:DBLoseLife:DB$ LoseLife | Defined$ TriggeredSourceController | LifeAmount$ X | References$ X | UnlessCost$ Sac | UnlessPayer$ TriggeredSourceController +SVar:DBLoseLife:DB$ LoseLife | Defined$ TriggeredSourceController | LifeAmount$ X | UnlessCost$ Sac | UnlessPayer$ TriggeredSourceController SVar:X:TriggerCount$DamageAmount K:Madness:3 B B Oracle:Flying\nWhenever a source an opponent controls deals damage to Archfiend of Spite, that source's controller loses that much life unless they sacrifice that many permanents.\nMadness {3}{B}{B} (If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard.) diff --git a/forge-gui/res/cardsfolder/a/archive_trap.txt b/forge-gui/res/cardsfolder/a/archive_trap.txt index 7f848d39d51..268b33e805c 100644 --- a/forge-gui/res/cardsfolder/a/archive_trap.txt +++ b/forge-gui/res/cardsfolder/a/archive_trap.txt @@ -1,7 +1,7 @@ Name:Archive Trap ManaCost:3 U U Types:Instant Trap -SVar:AltCost:Cost$ 0 | CheckSVar$ TrapTrigger | References$ TrapTrigger | Description$ If an opponent searched their library this turn, you may pay {0} rather than pay this spell's mana cost. +SVar:AltCost:Cost$ 0 | CheckSVar$ TrapTrigger | Description$ If an opponent searched their library this turn, you may pay {0} rather than pay this spell's mana cost. A:SP$ Mill | Cost$ 3 U U | NumCards$ 13 | ValidTgts$ Opponent | TgtPrompt$ Choose an opponent | SpellDescription$ Target opponent mills thirteen cards. SVar:TrapTrigger:Count$SearchedLibrary.Opponent Oracle:If an opponent searched their library this turn, you may pay {0} rather than pay this spell's mana cost.\nTarget opponent mills thirteen cards. diff --git a/forge-gui/res/cardsfolder/a/archon_of_redemption.txt b/forge-gui/res/cardsfolder/a/archon_of_redemption.txt index 50e660102ef..58b02f90d53 100644 --- a/forge-gui/res/cardsfolder/a/archon_of_redemption.txt +++ b/forge-gui/res/cardsfolder/a/archon_of_redemption.txt @@ -5,7 +5,7 @@ PT:3/4 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | OptionalDecider$ You | Execute$ TrigGainLife | TriggerDescription$ Whenever CARDNAME or another creature with flying enters the battlefield under your control, you may gain life equal to that creature's power. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Other+YouCtrl+withFlying | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigGainLife | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another creature with flying enters the battlefield under your control, you may gain life equal to that creature's power. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggeredCard$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/archon_of_redemption.jpg Oracle:Flying\nWhenever Archon of Redemption or another creature with flying enters the battlefield under your control, you may gain life equal to that creature's power. diff --git a/forge-gui/res/cardsfolder/a/archpriest_of_iona.txt b/forge-gui/res/cardsfolder/a/archpriest_of_iona.txt index 0d9df79d19a..b5fb9f86536 100755 --- a/forge-gui/res/cardsfolder/a/archpriest_of_iona.txt +++ b/forge-gui/res/cardsfolder/a/archpriest_of_iona.txt @@ -2,7 +2,7 @@ Name:Archpriest of Iona ManaCost:W Types:Creature Human Cleric PT:*/2 -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | References$ X | Description$ CARDNAME's power is equal to the number of creatures in your party. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | Description$ CARDNAME's power is equal to the number of creatures in your party. T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ EQ4 | Execute$ TrigPump | TriggerDescription$ At the beginning of combat on your turn, if you have a full party, target creature gets +1/+1 and gains flying until end of turn. SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +1 | NumDef$ +1 | KW$ Flying SVar:X:Count$Party diff --git a/forge-gui/res/cardsfolder/a/archway_angel.txt b/forge-gui/res/cardsfolder/a/archway_angel.txt index 31341014650..8bfcc241cae 100644 --- a/forge-gui/res/cardsfolder/a/archway_angel.txt +++ b/forge-gui/res/cardsfolder/a/archway_angel.txt @@ -4,7 +4,7 @@ Types:Creature Angel PT:3/4 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 2 life for each Gate you control. -SVar:TrigGainLife:DB$GainLife | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | LifeAmount$ X SVar:X:Count$Valid Gate.YouCtrl/Times.2 DeckHas:Ability$LifeGain DeckHints:Type$Gate diff --git a/forge-gui/res/cardsfolder/a/arctic_nishoba.txt b/forge-gui/res/cardsfolder/a/arctic_nishoba.txt index 260eff66d3b..0a261ce8b38 100644 --- a/forge-gui/res/cardsfolder/a/arctic_nishoba.txt +++ b/forge-gui/res/cardsfolder/a/arctic_nishoba.txt @@ -5,7 +5,7 @@ PT:6/6 K:Trample K:Cumulative upkeep:GW T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigGain | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, you gain 2 life for each age counter on it. -SVar:TrigGain:DB$GainLife | Defined$ TriggeredCardController | LifeAmount$ X | References$ X +SVar:TrigGain:DB$GainLife | Defined$ TriggeredCardController | LifeAmount$ X SVar:X:TriggeredCard$CardCounters.AGE/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/arctic_nishoba.jpg Oracle:Trample\nCumulative upkeep {G} or {W} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.)\nWhen Arctic Nishoba dies, you gain 2 life for each age counter on it. diff --git a/forge-gui/res/cardsfolder/a/arcums_whistle.txt b/forge-gui/res/cardsfolder/a/arcums_whistle.txt index 39b99afa1a2..7346e510cb0 100644 --- a/forge-gui/res/cardsfolder/a/arcums_whistle.txt +++ b/forge-gui/res/cardsfolder/a/arcums_whistle.txt @@ -1,7 +1,7 @@ Name:Arcum's Whistle ManaCost:3 Types:Artifact -A:AB$ Pump | Cost$ 3 T | ActivationPhases$ Upkeep->BeginCombat | ValidTgts$ Creature.nonWall+ActivePlayerCtrl+notFirstTurnControlled | TgtPrompt$ Select target non-Wall creature the active player has controlled continuously since the beginning of the turn. | IsCurse$ True | KW$ HIDDEN CARDNAME attacks each combat if able. | UnlessCost$ X | UnlessPayer$ TargetedController | References$ X | UnlessResolveSubs$ WhenNotPaid | SubAbility$ DestroyPacifist | SpellDescription$ Choose target non-Wall creature the active player has controlled continuously since the beginning of the turn. That player may pay {X}, where X is that creature's converted mana cost. If they don't, the creature attacks this turn if able, and at the beginning of the next end step, destroy it if it didn't attack this turn. Activate this ability only before attackers are declared. +A:AB$ Pump | Cost$ 3 T | ActivationPhases$ Upkeep->BeginCombat | ValidTgts$ Creature.nonWall+ActivePlayerCtrl+notFirstTurnControlled | TgtPrompt$ Select target non-Wall creature the active player has controlled continuously since the beginning of the turn. | IsCurse$ True | KW$ HIDDEN CARDNAME attacks each combat if able. | UnlessCost$ X | UnlessPayer$ TargetedController | UnlessResolveSubs$ WhenNotPaid | SubAbility$ DestroyPacifist | SpellDescription$ Choose target non-Wall creature the active player has controlled continuously since the beginning of the turn. That player may pay {X}, where X is that creature's converted mana cost. If they don't, the creature attacks this turn if able, and at the beginning of the next end step, destroy it if it didn't attack this turn. Activate this ability only before attackers are declared. SVar:DestroyPacifist:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | Execute$ TrigDestroy | RememberObjects$ ParentTarget | TriggerDescription$ At the beginning of the end step, destroy that creature if it didn't attack this turn. SVar:TrigDestroy:DB$ Destroy | Defined$ DelayTriggerRemembered | ConditionDefined$ DelayTriggerRemembered | ConditionPresent$ Creature.notAttackedThisTurn | ConditionCompare$ GE1 SVar:X:Targeted$CardManaCost diff --git a/forge-gui/res/cardsfolder/a/ardent_electromancer.txt b/forge-gui/res/cardsfolder/a/ardent_electromancer.txt index e5eed2c2335..fb70a8bd81f 100755 --- a/forge-gui/res/cardsfolder/a/ardent_electromancer.txt +++ b/forge-gui/res/cardsfolder/a/ardent_electromancer.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Creature Human Wizard PT:3/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMana | TriggerDescription$ When CARDNAME enters the battlefield, add {R} for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -SVar:TrigMana:DB$ Mana | Produced$ R | Amount$ X | References$ X +SVar:TrigMana:DB$ Mana | Produced$ R | Amount$ X SVar:X:Count$Party DeckHas:Ability$Party DeckHints:Type$Cleric|Rogue|Warrior diff --git a/forge-gui/res/cardsfolder/a/aretopolis.txt b/forge-gui/res/cardsfolder/a/aretopolis.txt index d853f32db17..807d8708e0a 100644 --- a/forge-gui/res/cardsfolder/a/aretopolis.txt +++ b/forge-gui/res/cardsfolder/a/aretopolis.txt @@ -4,13 +4,13 @@ Types:Plane Kephalai T:Mode$ PlaneswalkedTo | ValidCard$ Plane.Self | Execute$ AcquireScrolls | TriggerDescription$ When you planeswalk to CARDNAME or at the beginning of your upkeep, put a scroll counter on CARDNAME, then you gain life equal to the number of scroll counters on it. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ AcquireScrolls | TriggerZones$ Command | Secondary$ True | TriggerDescription$ When you planeswalk to CARDNAME or at the beginning of your upkeep, put a scroll counter on CARDNAME, then you gain life equal to the number of scroll counters on it. SVar:AcquireScrolls:DB$ PutCounter | Defined$ Self | CounterType$ SCROLL | CounterNum$ 1 | SubAbility$ ScrollsOfLife -SVar:ScrollsOfLife:DB$ GainLife | Defined$ You | LifeAmount$ NumScrolls | References$ NumScrolls +SVar:ScrollsOfLife:DB$ GainLife | Defined$ You | LifeAmount$ NumScrolls SVar:NumScrolls:Count$CardCounters.SCROLL T:Mode$ Always | TriggerZones$ Command | CheckSVar$ NumScrolls | SVarCompare$ GE10 | Execute$ RolledWalk | TriggerDescription$ When CARDNAME has ten or more scroll counters on it, planeswalk. SVar:RolledWalk:DB$ Planeswalk T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, put a scroll counter on CARDNAME, then draw cards equal to the number of scroll counters on it. SVar:RolledChaos:DB$ PutCounter | Defined$ Self | CounterType$ SCROLL | CounterNum$ 1 | SubAbility$ ScrollsOfKnowledge -SVar:ScrollsOfKnowledge:DB$ Draw | Defined$ You | NumCards$ NumScrolls | References$ NumScrolls +SVar:ScrollsOfKnowledge:DB$ Draw | Defined$ You | NumCards$ NumScrolls SVar:Picture:http://www.wizards.com/global/images/magic/general/aretopolis.jpg SVar:AIRollPlanarDieParams:Mode$ Always | LowPriority$ True | MaxRollsPerTurn$ 9 Oracle:When you planeswalk to Aretopolis or at the beginning of your upkeep, put a scroll counter on Aretopolis, then you gain life equal to the number of scroll counters on it.\nWhen Aretopolis has ten or more scroll counters on it, planeswalk.\nWhenever you roll {CHAOS}, put a scroll counter on Aretopolis, then draw cards equal to the number of scroll counters on it. diff --git a/forge-gui/res/cardsfolder/a/arguels_blood_fast_temple_of_aclazotz.txt b/forge-gui/res/cardsfolder/a/arguels_blood_fast_temple_of_aclazotz.txt index 9ff16ef3fbc..9f76b6c381e 100644 --- a/forge-gui/res/cardsfolder/a/arguels_blood_fast_temple_of_aclazotz.txt +++ b/forge-gui/res/cardsfolder/a/arguels_blood_fast_temple_of_aclazotz.txt @@ -15,7 +15,7 @@ Name:Temple of Aclazotz ManaCost:no cost Types:Legendary Land A:AB$ Mana | Cost$ T | Produced$ B | Amount$ 1 | SpellDescription$ Add {B}. -A:AB$ GainLife | Cost$ T Sac<1/Creature> | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the sacrificed creature's toughness. +A:AB$ GainLife | Cost$ T Sac<1/Creature> | LifeAmount$ 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/temple_of_aclazotz.jpg Oracle:(Transforms from Arguel's Blood Fast.)\n{T}: Add {B}.\n{T}, Sacrifice a creature: You gain life equal to the sacrificed creature's toughness. diff --git a/forge-gui/res/cardsfolder/a/aria_of_flame.txt b/forge-gui/res/cardsfolder/a/aria_of_flame.txt index fda6c8342e4..4e84a3b4994 100644 --- a/forge-gui/res/cardsfolder/a/aria_of_flame.txt +++ b/forge-gui/res/cardsfolder/a/aria_of_flame.txt @@ -5,7 +5,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you cast an instant or sorcery spell, put a verse counter on CARDNAME, then it deals damage equal to the number of verse counters on it to target player or planeswalker. SVar:TrigGainLife:DB$ GainLife | Defined$ Player.Opponent | LifeAmount$ 10 SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ VERSE | CounterNum$ 1 | SubAbility$ DBDealDamage -SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select any player or planeswalker | NumDmg$ X | References$ X +SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select any player or planeswalker | NumDmg$ X SVar:X:Count$CardCounters.VERSE SVar:BuffedBy:Instant,Sorcery Oracle:When Aria of Flame enters the battlefield, each opponent gains 10 life.\nWhenever you cast an instant or sorcery spell, put a verse counter on Aria of Flame, then it deals damage equal to the number of verse counters on it to target player or planeswalker. diff --git a/forge-gui/res/cardsfolder/a/arjun_the_shifting_flame.txt b/forge-gui/res/cardsfolder/a/arjun_the_shifting_flame.txt index df5c34b8167..7bcf97c7ed2 100644 --- a/forge-gui/res/cardsfolder/a/arjun_the_shifting_flame.txt +++ b/forge-gui/res/cardsfolder/a/arjun_the_shifting_flame.txt @@ -5,7 +5,7 @@ PT:5/5 K:Flying T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ You | Execute$ TrigChangeZone | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a spell, put the cards in your hand on the bottom of your library in any order, then draw that many cards. SVar:TrigChangeZone:DB$ ChangeZoneAll | Origin$ Hand | Destination$ Library | ChangeType$ Card.YouOwn | RememberChanged$ True | LibraryPosition$ -1 | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ RemTossed | References$ RemTossed | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | NumCards$ RemTossed | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:RemTossed:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/arjun_the_shifting_flame.jpg diff --git a/forge-gui/res/cardsfolder/a/arlinn_kord_arlinn_embraced_by_the_moon.txt b/forge-gui/res/cardsfolder/a/arlinn_kord_arlinn_embraced_by_the_moon.txt index 1b23a45e4b7..08b028fe8c9 100644 --- a/forge-gui/res/cardsfolder/a/arlinn_kord_arlinn_embraced_by_the_moon.txt +++ b/forge-gui/res/cardsfolder/a/arlinn_kord_arlinn_embraced_by_the_moon.txt @@ -22,7 +22,7 @@ A:AB$ DealDamage | Cost$ SubCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform A:AB$ Effect | Cost$ SubCounter<6/LOYALTY> | Name$ Emblem - Arlinn, Embraced by the Moon | Image$ emblem_arlinn_embraced_by_the_moon | StaticAbilities$ STArlinn | SVars$ ArlinnX,ArlinnDealDamage | Planeswalker$ True | Ultimate$ True | Stackable$ False | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "Creatures you control have haste and '{T}: This creature deals damage equal to its power to any target.'" SVar:STArlinn:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.YouCtrl | AffectedZone$ Battlefield | AddKeyword$ Haste | AddAbility$ ArlinnDealDamage | AddSVar$ ArlinnX | Description$ Creatures you control have haste and "{T}: This creature deals damage equal to its power to any target." -SVar:ArlinnDealDamage:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ ArlinnX | References$ ArlinnX | SpellDescription$ This creature deals damage equal to its power to any target. +SVar:ArlinnDealDamage:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ ArlinnXrlinnX | SpellDescription$ This creature deals damage equal to its power to any target. SVar:ArlinnX:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/arlinn_embraced_by_the_moon.jpg Oracle:[+1]: Creatures you control get +1/+1 and gain trample until end of turn.\n[−1]: Arlinn, Embraced by the Moon deals 3 damage to any target. Transform Arlinn, Embraced by the Moon.\n[−6]: You get an emblem with "Creatures you control have haste and '{T}: This creature deals damage equal to its power to any target.'" diff --git a/forge-gui/res/cardsfolder/a/armadillo_cloak.txt b/forge-gui/res/cardsfolder/a/armadillo_cloak.txt index 5d557b67ee4..4466a233559 100644 --- a/forge-gui/res/cardsfolder/a/armadillo_cloak.txt +++ b/forge-gui/res/cardsfolder/a/armadillo_cloak.txt @@ -5,7 +5,7 @@ K:Enchant creature A:SP$ Attach | Cost$ 1 G W | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 2 | AddToughness$ 2 | AddKeyword$ Trample | Description$ Enchanted creature gets +2/+2 and has trample. T:Mode$ DamageDealtOnce | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:LikeLifeLink:True SVar:Picture:http://www.wizards.com/global/images/magic/general/armadillo_cloak.jpg diff --git a/forge-gui/res/cardsfolder/a/armageddon_clock.txt b/forge-gui/res/cardsfolder/a/armageddon_clock.txt index e2798f50f88..a0a27371934 100644 --- a/forge-gui/res/cardsfolder/a/armageddon_clock.txt +++ b/forge-gui/res/cardsfolder/a/armageddon_clock.txt @@ -4,7 +4,7 @@ Types:Artifact T:Mode$ Phase | Phase$ Draw | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ At the beginning of your draw step, CARDNAME deals damage equal to the number of doom counters on it to each player. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a doom counter on CARDNAME. A:AB$ RemoveCounter | Cost$ 4 | CounterType$ DOOM | CounterNum$ 1 | ActivationPhases$ Upkeep | Activator$ Player | SpellDescription$ Remove a doom counter from CARDNAME. Any player may activate this ability but only during any upkeep step. -SVar:TrigDealDamage:DB$DealDamage | Defined$ Player | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$DealDamage | Defined$ Player | NumDmg$ X SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ DOOM | CounterNum$ 1 SVar:X:Count$CardCounters.DOOM AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/a/armed_and_armored.txt b/forge-gui/res/cardsfolder/a/armed_and_armored.txt index be255a89fd2..28c31627381 100644 --- a/forge-gui/res/cardsfolder/a/armed_and_armored.txt +++ b/forge-gui/res/cardsfolder/a/armed_and_armored.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Instant A:SP$ AnimateAll | Cost$ 1 W | Types$ Creature,Artifact | ValidCards$ Vehicle.YouCtrl | SubAbility$ ChooseDwarf | StackDescription$ Vehicles {p:You} controls become artifact creatures until end of turn. | SpellDescription$ Vehicles you control become artifact creatures until end of turn. Choose a Dwarf you control. Attach any number of Equipment you control to it. SVar:ChooseDwarf:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Dwarf.YouCtrl | ChoiceTitle$ Choose a Dwarf you control | StackDescription$ {p:You} chooses a Dwarf they control and attaches any number of Equipment they control to it. | ImprintChosen$ True | SubAbility$ ChooseEquipment -SVar:ChooseEquipment:DB$ ChooseCard | Defined$ You | MinAmount$ 0 | Amount$ X | References$ X | Choices$ Equipment.YouCtrl | StackDescription$ None | ChoiceTitle$ Choose any number of Equipment you control | ForgetChosen$ True | SubAbility$ DeployDwarf +SVar:ChooseEquipment:DB$ ChooseCard | Defined$ You | MinAmount$ 0 | Amount$ X | Choices$ Equipment.YouCtrl | StackDescription$ None | ChoiceTitle$ Choose any number of Equipment you control | ForgetChosen$ True | SubAbility$ DeployDwarf SVar:DeployDwarf:DB$ RepeatEach | RepeatSubAbility$ ArmDwarf | RepeatCards$ Card.ChosenCard | SubAbility$ DBCleanup SVar:ArmDwarf:DB$ Attach | Object$ Remembered | Defined$ Imprinted | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True | ClearRemembered$ True | ClearImprinted$ True diff --git a/forge-gui/res/cardsfolder/a/armed_response.txt b/forge-gui/res/cardsfolder/a/armed_response.txt index 4a01878286e..ca7ba0e2887 100644 --- a/forge-gui/res/cardsfolder/a/armed_response.txt +++ b/forge-gui/res/cardsfolder/a/armed_response.txt @@ -1,7 +1,7 @@ Name:Armed Response ManaCost:2 W Types:Instant -A:SP$ DealDamage | Cost$ 2 W | ValidTgts$ Creature.attacking | TgtPrompt$ Select target Creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target attacking creature equal to the number of Equipment you control. +A:SP$ DealDamage | Cost$ 2 W | ValidTgts$ Creature.attacking | TgtPrompt$ Select target Creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target attacking creature equal to the number of Equipment you control. SVar:X:Count$Valid Equipment.YouCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/armed_response.jpg diff --git a/forge-gui/res/cardsfolder/a/armix_filigree_thrasher.txt b/forge-gui/res/cardsfolder/a/armix_filigree_thrasher.txt index eeb99538677..3c2093a6bde 100644 --- a/forge-gui/res/cardsfolder/a/armix_filigree_thrasher.txt +++ b/forge-gui/res/cardsfolder/a/armix_filigree_thrasher.txt @@ -5,7 +5,7 @@ PT:3/2 T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigDiscard | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME attacks, you may discard a card. When you do, target creature defending player controls gets -X/-X until end of turn, where X is the number of artifacts you control plus the number of artifact cards in your graveyard. SVar:TrigDiscard:DB$ Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBImmediateTriggerCheck SVar:DBImmediateTriggerCheck:DB$ ImmediateTrigger | Execute$ TrigPump | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | TriggerDescription$ When you do, target creature defending player controls gets -X/-X until end of turn, where X is the number of artifacts you control plus the number of artifact cards in your graveyard. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.DefenderCtrl | TgtPrompt$ Select target creature defending player controls | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X,Y | SubAbility$ DBCleanup +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.DefenderCtrl | TgtPrompt$ Select target creature defending player controls | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SubAbility$ DBCleanup SVar:X:Count$Valid Artifact.YouCtrl/Plus.Y SVar:Y:Count$TypeInYourYard.Artifact SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/a/armorcraft_judge.txt b/forge-gui/res/cardsfolder/a/armorcraft_judge.txt index 7752f4de2fc..0ed4c89866d 100644 --- a/forge-gui/res/cardsfolder/a/armorcraft_judge.txt +++ b/forge-gui/res/cardsfolder/a/armorcraft_judge.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Creature Elf Artificer PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card for each creature you control with a +1/+1 counter on it. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X SVar:X:Count$Valid Creature.YouCtrl+counters_GE1_P1P1 DeckHints:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/armorcraft_judge.jpg diff --git a/forge-gui/res/cardsfolder/a/arni_brokenbrow.txt b/forge-gui/res/cardsfolder/a/arni_brokenbrow.txt index 90fa03a59a0..8179dc9113e 100644 --- a/forge-gui/res/cardsfolder/a/arni_brokenbrow.txt +++ b/forge-gui/res/cardsfolder/a/arni_brokenbrow.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Legendary Creature Human Berserker PT:3/3 K:Haste -A:AB$ Animate | Cost$ 1 | Power$ Y | References$ Y | Boast$ True | StackDescription$ SpellDescription | SpellDescription$ You may change CARDNAME's base power to 1 plus the greatest power among other creatures you control until end of turn. +A:AB$ Animate | Cost$ 1 | Power$ Y | Boast$ True | StackDescription$ SpellDescription | SpellDescription$ You may change CARDNAME's base power to 1 plus the greatest power among other creatures you control until end of turn. SVar:Y:SVar$X/Plus.1 SVar:X:Count$GreatestPower_Creature.Other+YouCtrl Oracle:Haste\nBoast — {1}: You may change Arni Brokenbrow's base power to 1 plus the greatest power among other creatures you control until end of turn. (Activate this ability only if this creature attacked this turn and only once each turn.) diff --git a/forge-gui/res/cardsfolder/a/arni_slays_the_troll.txt b/forge-gui/res/cardsfolder/a/arni_slays_the_troll.txt index 573538d7cce..fb869fd317e 100644 --- a/forge-gui/res/cardsfolder/a/arni_slays_the_troll.txt +++ b/forge-gui/res/cardsfolder/a/arni_slays_the_troll.txt @@ -6,7 +6,7 @@ SVar:DBPump:DB$ Pump | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Choose target cr SVar:DBFight:DB$ Fight | Defined$ ParentTarget | ValidTgts$ Creature.YouDontCtrl | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Choose up to one target creature you don't control SVar:DBPutCounter:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ 2 | TargetMin$ 0 | TargetMax$ 1 | SubAbility$ DBRedMana | SpellDescription$ Add {R}. Put two +1/+1 counters on up to one target creature you control. SVar:DBRedMana:DB$Mana | Produced$ R -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the greatest power among creatures you control. +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SpellDescription$ You gain life equal to the greatest power among creatures you control. SVar:X:Count$GreatestPower_Creature.YouCtrl DeckHas:Ability$Counters & Ability$LifeGain Oracle:(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)\nI — Target creature you control fights up to one target creature you don't control.\nII — Add {R}. Put two +1/+1 counters on up to one target creature you control.\nIII — You gain life equal to the greatest power among creatures you control. diff --git a/forge-gui/res/cardsfolder/a/arrow_storm.txt b/forge-gui/res/cardsfolder/a/arrow_storm.txt index f72224ee197..948470dcb5b 100644 --- a/forge-gui/res/cardsfolder/a/arrow_storm.txt +++ b/forge-gui/res/cardsfolder/a/arrow_storm.txt @@ -1,7 +1,7 @@ Name:Arrow Storm ManaCost:3 R R Types:Sorcery -A:SP$ DealDamage | Cost$ 3 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 4 | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ EQ0 | References$ RaidTest | SubAbility$ DBDmg | SpellDescription$ CARDNAME deals 4 damage to any target. Raid — If you attacked this turn, instead CARDNAME deals 5 damage to that permanent or player and the damage can't be prevented. -SVar:DBDmg:DB$ DealDamage | Defined$ Targeted | NumDmg$ 5 | NoPrevention$ True | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ GE1 | References$ RaidTest | StackDescription$ Raid — If you attacked this turn, instead CARDNAME deals 5 damage to {Targeted} and the damage can't be prevented. +A:SP$ DealDamage | Cost$ 3 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 4 | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ EQ0aidTest | SubAbility$ DBDmg | SpellDescription$ CARDNAME deals 4 damage to any target. Raid — If you attacked this turn, instead CARDNAME deals 5 damage to that permanent or player and the damage can't be prevented. +SVar:DBDmg:DB$ DealDamage | Defined$ Targeted | NumDmg$ 5 | NoPrevention$ True | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ GE1aidTest | StackDescription$ Raid — If you attacked this turn, instead CARDNAME deals 5 damage to {Targeted} and the damage can't be prevented. SVar:RaidTest:Count$AttackersDeclared Oracle:Arrow Storm deals 4 damage to any target.\nRaid — If you attacked this turn, instead Arrow Storm deals 5 damage to that permanent or player and the damage can't be prevented. diff --git a/forge-gui/res/cardsfolder/a/arsenal_thresher.txt b/forge-gui/res/cardsfolder/a/arsenal_thresher.txt index eee9b140561..f5e811e1421 100644 --- a/forge-gui/res/cardsfolder/a/arsenal_thresher.txt +++ b/forge-gui/res/cardsfolder/a/arsenal_thresher.txt @@ -4,7 +4,7 @@ Types:Artifact Creature Construct PT:2/2 K:ETBReplacement:Other:DBReveal SVar:DBReveal:DB$ Reveal | RevealValid$ Card.Artifact+YouCtrl | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBPutCounters | SpellDescription$ As CARDNAME enters the battlefield, you may reveal any number of other artifact cards from your hand. CARDNAME enters the battlefield with a +1/+1 counter on it for each card revealed this way. -SVar:DBPutCounters:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBCleanup +SVar:DBPutCounters:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/a/artifact_mutation.txt b/forge-gui/res/cardsfolder/a/artifact_mutation.txt index 0b61cef9bd6..8ef3fce00d6 100644 --- a/forge-gui/res/cardsfolder/a/artifact_mutation.txt +++ b/forge-gui/res/cardsfolder/a/artifact_mutation.txt @@ -3,7 +3,7 @@ ManaCost:R G Types:Instant A:SP$ Destroy | Cost$ R G | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | NoRegen$ True | SubAbility$ TrigToken | SpellDescription$ Destroy target artifact. It can't be regenerated. Create X 1/1 green Saproling creature tokens, where X is that artifact's converted mana cost. #X will be the Converted Mana Cost of the target of Mutation -SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | References$ X | LegacyImage$ g 1 1 saproling inv +SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling inv SVar:X:Targeted$CardManaCost DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/artifact_mutation.jpg diff --git a/forge-gui/res/cardsfolder/a/aryel_knight_of_windgrace.txt b/forge-gui/res/cardsfolder/a/aryel_knight_of_windgrace.txt index 7e0b5c35b33..a988e37bb78 100644 --- a/forge-gui/res/cardsfolder/a/aryel_knight_of_windgrace.txt +++ b/forge-gui/res/cardsfolder/a/aryel_knight_of_windgrace.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Knight PT:4/4 K:Vigilance A:AB$ Token | Cost$ 2 W T | TokenAmount$ 1 | TokenScript$ w_2_2_knight_vigilance | TokenOwner$ You | LegacyImage$ w 2 2 knight vigilance dom | SpellDescription$ Create a 2/2 white Knight creature token with vigilance. -A:AB$ Destroy | Cost$ B T tapXType | References$ X | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power X or less | SpellDescription$ Destroy target creature with power X or less. +A:AB$ Destroy | Cost$ B T tapXType | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power X or less | SpellDescription$ Destroy target creature with power X or less. SVar:X:Count$xPaid DeckHas:Ability$Token DeckHints:Type$Knight diff --git a/forge-gui/res/cardsfolder/a/ascent_of_the_worthy.txt b/forge-gui/res/cardsfolder/a/ascent_of_the_worthy.txt index 9e86d9f1505..c21714bf6a4 100644 --- a/forge-gui/res/cardsfolder/a/ascent_of_the_worthy.txt +++ b/forge-gui/res/cardsfolder/a/ascent_of_the_worthy.txt @@ -3,7 +3,7 @@ ManaCost:1 W B Types:Enchantment Saga K:Saga:3:DBChoose,DBChoose,DBChangeZone SVar:DBChoose:DB$ ChooseCard | Choices$ Creature.YouCtrl | SubAbility$ DBEffect | SpellDescription$ Choose a creature you control. Until your next turn, all damage that would be dealt to creatures you control is dealt to that creature instead. -SVar:DBEffect:DB$ Effect | ReplacementEffects$ DamageEvent | SVars$ GideonSac | References$ DamageEvent,GideonSac | ExileOnMoved$ True | RememberObjects$ ChosenCard | Duration$ UntilYourNextTurn +SVar:DBEffect:DB$ Effect | ReplacementEffects$ DamageEvent | SVars$ GideonSac | ExileOnMoved$ True | RememberObjects$ ChosenCard | Duration$ UntilYourNextTurn SVar:DamageEvent:Event$ DamageDone | ActiveZones$ Command | ValidTarget$ Creature.YouCtrl | ReplaceWith$ GideonSac | DamageTarget$ Remembered | Description$ All damage that would be dealt this turn to creatures you control is dealt to the chosen creature instead (if it's still on the battlefield). SVar:DBChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouOwn | WithCounters$ Flying_1 | AnimateSubAbility$ Animate | SpellDescription$ Return target creature card from your graveyard to the battlefield with a flying counter on it. SVar:GideonSac:DB$ ReplaceEffect | VarName$ Affected | VarValue$ Remembered | VarType$ Card diff --git a/forge-gui/res/cardsfolder/a/ashaya_soul_of_the_wild.txt b/forge-gui/res/cardsfolder/a/ashaya_soul_of_the_wild.txt index 8fa24ee99de..dfd02eb91d2 100755 --- a/forge-gui/res/cardsfolder/a/ashaya_soul_of_the_wild.txt +++ b/forge-gui/res/cardsfolder/a/ashaya_soul_of_the_wild.txt @@ -2,7 +2,7 @@ Name:Ashaya, Soul of the Wild ManaCost:3 G G Types:Legendary Creature Elemental PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X, Y, Z | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. S:Mode$ Continuous | Affected$ Creature.nonToken+YouCtrl | AddType$ Forest & Land | Description$ Nontoken creatures you control are Forest lands in addition to their other types. (They're still affected by summoning sickness.) SVar:X:Count$Valid Land.YouCtrl SVar:Y:Count$Valid Creature.nonToken+YouCtrl diff --git a/forge-gui/res/cardsfolder/a/ashen_skin_zubera.txt b/forge-gui/res/cardsfolder/a/ashen_skin_zubera.txt index e3523872785..ffd0531ff55 100644 --- a/forge-gui/res/cardsfolder/a/ashen_skin_zubera.txt +++ b/forge-gui/res/cardsfolder/a/ashen_skin_zubera.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Creature Zubera Spirit PT:1/2 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDiscard | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, target opponent discards a card for each Zubera that died this turn. -SVar:TrigDiscard:DB$Discard | ValidTgts$ Opponent | NumCards$ X | Mode$ TgtChoose | References$ X +SVar:TrigDiscard:DB$Discard | ValidTgts$ Opponent | NumCards$ X | Mode$ TgtChoose SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Card.Zubera DeckHints:Type$Zubera SVar:Picture:http://resources.wizards.com/magic/cards/chk/en-us/card80509.jpg diff --git a/forge-gui/res/cardsfolder/a/ashiok_nightmare_weaver.txt b/forge-gui/res/cardsfolder/a/ashiok_nightmare_weaver.txt index 1d15d5b69f7..ad39a6a856f 100644 --- a/forge-gui/res/cardsfolder/a/ashiok_nightmare_weaver.txt +++ b/forge-gui/res/cardsfolder/a/ashiok_nightmare_weaver.txt @@ -3,7 +3,7 @@ ManaCost:1 U B Types:Legendary Planeswalker Ashiok Loyalty:3 A:AB$ Dig | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Opponent | DigNum$ 3 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SpellDescription$ Exile the top three cards of target opponent's library. -A:AB$ ChooseCard | Cost$ SubCounter | References$ X | Choices$ Creature.cmcEQX+IsRemembered+ExiledWithSource | ChoiceZone$ Exile | Planeswalker$ True | SubAbility$ DBChangeZone | AILogic$ Ashiok | SpellDescription$ Put a creature card with converted mana cost X exiled with CARDNAME onto the battlefield under your control. That creature is a Nightmare in addition to its other types. +A:AB$ ChooseCard | Cost$ SubCounter | Choices$ Creature.cmcEQX+IsRemembered+ExiledWithSource | ChoiceZone$ Exile | Planeswalker$ True | SubAbility$ DBChangeZone | AILogic$ Ashiok | SpellDescription$ Put a creature card with converted mana cost X exiled with CARDNAME onto the battlefield under your control. That creature is a Nightmare in addition to its other types. SVar:DBChangeZone:DB$ ChangeZone | Defined$ ChosenCard | Origin$ Exile | Destination$ Battlefield | ChangeType$ Creature.cmcEQX+IsRemembered+ExiledWithSource | ChangeNum$ 1 | GainControl$ True | SubAbility$ DBAnimate SVar:DBAnimate:DB$ Animate | Defined$ ChosenCard | Types$ Nightmare | Permanent$ True | SubAbility$ DBCleanMinus SVar:DBCleanMinus:DB$ Cleanup | ForgetDefined$ ChosenCard | ClearChosenCard$ True diff --git a/forge-gui/res/cardsfolder/a/ashling_the_pilgrim.txt b/forge-gui/res/cardsfolder/a/ashling_the_pilgrim.txt index 98f5b5d3863..ceb896fd866 100644 --- a/forge-gui/res/cardsfolder/a/ashling_the_pilgrim.txt +++ b/forge-gui/res/cardsfolder/a/ashling_the_pilgrim.txt @@ -5,7 +5,7 @@ PT:1/1 A:AB$ PutCounter | Cost$ 1 R | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ StoreNum | StackDescription$ SpellDescription | SpellDescription$ Put a +1/+1 counter on CARDNAME. If this is the third time this ability has resolved this turn, remove all +1/+1 counters from CARDNAME, and it deals that much damage to each creature and each player. SVar:StoreNum:DB$ StoreSVar | SVar$ AshlingNum | Type$ CountSVar | Expression$ AshlingNum/Plus.1 | SubAbility$ DBRemoveCounter SVar:DBRemoveCounter:DB$ RemoveCounter | CounterType$ P1P1 | CounterNum$ All | RememberRemoved$ True | SubAbility$ DBDmg | ConditionCheckSVar$ AshlingNum | ConditionSVarCompare$ EQ3 | StackDescription$ None -SVar:DBDmg:DB$ DamageAll | NumDmg$ X | References$ X | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SubAbility$ DBCleanup | ConditionCheckSVar$ AshlingNum | ConditionSVarCompare$ EQ3 | StackDescription$ None +SVar:DBDmg:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SubAbility$ DBCleanup | ConditionCheckSVar$ AshlingNum | ConditionSVarCompare$ EQ3 | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:AshlingNum:Number$0 SVar:X:Count$RememberedSize diff --git a/forge-gui/res/cardsfolder/a/asmira_holy_avenger.txt b/forge-gui/res/cardsfolder/a/asmira_holy_avenger.txt index f06e0b2d1cf..ffff83efda2 100644 --- a/forge-gui/res/cardsfolder/a/asmira_holy_avenger.txt +++ b/forge-gui/res/cardsfolder/a/asmira_holy_avenger.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Cleric PT:2/3 K:Flying T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of each end step, put a +1/+1 counter on Asmira, Holy Avenger for each creature put into your graveyard from the battlefield this turn. -SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/asmira_holy_avenger.jpg Oracle:Flying\nAt the beginning of each end step, put a +1/+1 counter on Asmira, Holy Avenger for each creature put into your graveyard from the battlefield this turn. diff --git a/forge-gui/res/cardsfolder/a/aspect_of_hydra.txt b/forge-gui/res/cardsfolder/a/aspect_of_hydra.txt index 564d642b3a6..fe7f1528375 100644 --- a/forge-gui/res/cardsfolder/a/aspect_of_hydra.txt +++ b/forge-gui/res/cardsfolder/a/aspect_of_hydra.txt @@ -1,7 +1,7 @@ Name:Aspect of Hydra ManaCost:G Types:Instant -A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is your devotion to green. +A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is your devotion to green. SVar:X:Count$Devotion.Green SVar:Picture:http://www.wizards.com/global/images/magic/general/aspect_of_hydra.jpg Oracle:Target creature gets +X/+X until end of turn, where X is your devotion to green. (Each {G} in the mana costs of permanents you control counts toward your devotion to green.) diff --git a/forge-gui/res/cardsfolder/a/assemble_the_legion.txt b/forge-gui/res/cardsfolder/a/assemble_the_legion.txt index a5b21a38ed7..a8d67986129 100644 --- a/forge-gui/res/cardsfolder/a/assemble_the_legion.txt +++ b/forge-gui/res/cardsfolder/a/assemble_the_legion.txt @@ -3,7 +3,7 @@ ManaCost:3 R W Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a muster counter on CARDNAME. Then create a 1/1 red and white Soldier creature token with haste for each muster counter on Assemble the Legion. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ MUSTER | CounterNum$ 1 | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ rw_1_1_soldier_haste | TokenOwner$ You | LegacyImage$ rw 1 1 soldier haste gtc | References$ X +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ rw_1_1_soldier_haste | TokenOwner$ You | LegacyImage$ rw 1 1 soldier haste gtc SVar:X:Count$CardCounters.MUSTER DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/assemble_the_legion.jpg diff --git a/forge-gui/res/cardsfolder/a/astral_cornucopia.txt b/forge-gui/res/cardsfolder/a/astral_cornucopia.txt index e1e32d0b8fe..41f92871d0d 100644 --- a/forge-gui/res/cardsfolder/a/astral_cornucopia.txt +++ b/forge-gui/res/cardsfolder/a/astral_cornucopia.txt @@ -4,7 +4,7 @@ Types:Artifact K:etbCounter:CHARGE:X SVar:X:Count$xPaid A:AB$ ChooseColor | Cost$ T | AILogic$ MostProminentInComputerDeck | SubAbility$ DBMana | SpellDescription$ Choose a color. Add one mana of that color for each charge counter on Astral Cornucopia. -SVar:DBMana:DB$ Mana | Produced$ Chosen | Amount$ Y | References$ Y +SVar:DBMana:DB$ Mana | Produced$ Chosen | Amount$ Y SVar:Y:Count$CardCounters.CHARGE SVar:Picture:http://www.wizards.com/global/images/magic/general/astral_cornucopia.jpg Oracle:Astral Cornucopia enters the battlefield with X charge counters on it.\n{T}: Choose a color. Add one mana of that color for each charge counter on Astral Cornucopia. diff --git a/forge-gui/res/cardsfolder/a/atalya_samite_master.txt b/forge-gui/res/cardsfolder/a/atalya_samite_master.txt index f192c256dfb..1e3238c7532 100644 --- a/forge-gui/res/cardsfolder/a/atalya_samite_master.txt +++ b/forge-gui/res/cardsfolder/a/atalya_samite_master.txt @@ -3,8 +3,8 @@ ManaCost:3 W W Types:Legendary Creature Human Cleric PT:2/3 A:AB$ Charm | Cost$ X T | XColor$ W | Choices$ PreventDamage,GainLife | CharmNum$ 1 -SVar:PreventDamage:DB$ PreventDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | Amount$ X | References$ X | SpellDescription$ Prevent the next X damage that would be dealt to target creature or player this turn. -SVar:GainLife:DB$ GainLife | LifeAmount$ X | Defined$ You | References$ X | SpellDescription$ You gain X life. +SVar:PreventDamage:DB$ PreventDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | Amount$ X | SpellDescription$ Prevent the next X damage that would be dealt to target creature or player this turn. +SVar:GainLife:DB$ GainLife | LifeAmount$ X | Defined$ You | SpellDescription$ You gain X life. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/atalya_samite_master.jpg diff --git a/forge-gui/res/cardsfolder/a/atarka_beastbreaker.txt b/forge-gui/res/cardsfolder/a/atarka_beastbreaker.txt index b71dc94a5fa..d955d3719c5 100644 --- a/forge-gui/res/cardsfolder/a/atarka_beastbreaker.txt +++ b/forge-gui/res/cardsfolder/a/atarka_beastbreaker.txt @@ -2,6 +2,6 @@ Name:Atarka Beastbreaker ManaCost:1 G Types:Creature Human Warrior PT:2/2 -A:AB$ Pump | Cost$ 4 G | Defined$ Self | NumAtt$ +4 | NumDef$ +4 | CheckSVar$ FormidableTest | SVarCompare$ GE8 | References$ FormidableTest | PrecostDesc$ Formidable — | SpellDescription$ CARDNAME gets +4/+4 until end of turn. Activate this ability only if creatures you control have total power 8 or greater. +A:AB$ Pump | Cost$ 4 G | Defined$ Self | NumAtt$ +4 | NumDef$ +4 | CheckSVar$ FormidableTest | SVarCompare$ GE8 | PrecostDesc$ Formidable — | SpellDescription$ CARDNAME gets +4/+4 until end of turn. Activate this ability only if creatures you control have total power 8 or greater. SVar:FormidableTest:Count$SumPower_Creature.YouCtrl Oracle:Formidable — {4}{G}: Atarka Beastbreaker gets +4/+4 until end of turn. Activate this ability only if creatures you control have total power 8 or greater. diff --git a/forge-gui/res/cardsfolder/a/atarka_pummeler.txt b/forge-gui/res/cardsfolder/a/atarka_pummeler.txt index b0bccc1c055..6cfe539dbba 100644 --- a/forge-gui/res/cardsfolder/a/atarka_pummeler.txt +++ b/forge-gui/res/cardsfolder/a/atarka_pummeler.txt @@ -2,7 +2,7 @@ Name:Atarka Pummeler ManaCost:4 R Types:Creature Ogre Warrior PT:4/5 -A:AB$ PumpAll | Cost$ 3 R R | ValidCards$ Creature.YouCtrl | KW$ Menace | CheckSVar$ FormidableTest | SVarCompare$ GE8 | References$ FormidableTest | PrecostDesc$ Formidable — | SpellDescription$ Creatures you control gain menace until end of turn. Activate this ability only if creatures you control have total power 8 or greater. +A:AB$ PumpAll | Cost$ 3 R R | ValidCards$ Creature.YouCtrl | KW$ Menace | CheckSVar$ FormidableTest | SVarCompare$ GE8 | PrecostDesc$ Formidable — | SpellDescription$ Creatures you control gain menace until end of turn. Activate this ability only if creatures you control have total power 8 or greater. SVar:FormidableTest:Count$SumPower_Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/atarka_pummeler.jpg Oracle:Formidable — {3}{R}{R}: Creatures you control gain menace until end of turn. Activate this ability only if creatures you control have total power 8 or greater. (They can't be blocked except by two or more creatures.) \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/a/atemsis_all_seeing.txt b/forge-gui/res/cardsfolder/a/atemsis_all_seeing.txt index f7124bbef43..0166c54f4fa 100644 --- a/forge-gui/res/cardsfolder/a/atemsis_all_seeing.txt +++ b/forge-gui/res/cardsfolder/a/atemsis_all_seeing.txt @@ -7,7 +7,7 @@ A:AB$ Draw | Cost$ 2 U T | NumCards$ 2 | SpellDescription$ Draw two cards, then SVar:DBDiscard:DB$Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | OptionalDecider$ You | Execute$ TrigReveal | TriggerDescription$ Whenever CARDNAME deals damage to an opponent, you may reveal your hand. If cards with at least six different converted mana costs are revealed this way, that player loses the game. SVar:TrigReveal:DB$ RevealHand | Defined$ You | RememberRevealed$ True | SubAbility$ DBLoseGame -SVar:DBLoseGame:DB$ LosesGame | Defined$ TriggeredTarget | ConditionCheckSVar$ X | ConditionSVarCompare$ GE6 | References$ X | SubAbility$ DBCleanup +SVar:DBLoseGame:DB$ LosesGame | Defined$ TriggeredTarget | ConditionCheckSVar$ X | ConditionSVarCompare$ GE6 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$DifferentCMC Oracle:Flying\n{2}{U}, {T}: Draw two cards, then discard a card.\nWhenever Atemsis, All-Seeing deals damage to an opponent, you may reveal your hand. If cards with at least six different converted mana costs are revealed this way, that player loses the game. diff --git a/forge-gui/res/cardsfolder/a/athreos_god_of_passage.txt b/forge-gui/res/cardsfolder/a/athreos_god_of_passage.txt index e99c5f3ff2a..e93fa407293 100644 --- a/forge-gui/res/cardsfolder/a/athreos_god_of_passage.txt +++ b/forge-gui/res/cardsfolder/a/athreos_god_of_passage.txt @@ -3,7 +3,7 @@ ManaCost:1 W B Types:Legendary Enchantment Creature God PT:5/4 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | References$ X | Description$ As long as your devotion to white and black is less than seven, CARDNAME isn't a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | Description$ As long as your devotion to white and black is less than seven, CARDNAME isn't a creature. SVar:X:Count$DevotionDual.White.Black T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouOwn+Other | TriggerZones$ Battlefield | Execute$ TrigReturn | TriggerDescription$ Whenever another creature you own dies, return it to your hand unless target opponent pays 3 life. SVar:TrigReturn:DB$ Pump | ValidTgts$ Opponent | IsCurse$ True | SubAbility$ DBReturn diff --git a/forge-gui/res/cardsfolder/a/athreos_shroud_veiled.txt b/forge-gui/res/cardsfolder/a/athreos_shroud_veiled.txt index 07e9e6ae235..d2eb3f4ca1e 100644 --- a/forge-gui/res/cardsfolder/a/athreos_shroud_veiled.txt +++ b/forge-gui/res/cardsfolder/a/athreos_shroud_veiled.txt @@ -3,7 +3,7 @@ ManaCost:4 W B Types:Legendary Enchantment Creature God PT:4/7 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | References$ X | Description$ As long as your devotion to white and black is less than seven, CARDNAME isn't a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | Description$ As long as your devotion to white and black is less than seven, CARDNAME isn't a creature. T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your end step, put a coin counter on another target creature. SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Creature.Other | TgtPrompt$ Select target creature | CounterType$ COIN | CounterNum$ 1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | TriggerZones$ Battlefield | ValidCard$ Creature.counters_GE1_COIN | Execute$ TrigReturn | TriggerDescription$ Whenever a creature with a coin counter on it dies or is put into exile, return that card to the battlefield under your control. diff --git a/forge-gui/res/cardsfolder/a/atogatog.txt b/forge-gui/res/cardsfolder/a/atogatog.txt index b4af7084f03..9c9634c7f23 100644 --- a/forge-gui/res/cardsfolder/a/atogatog.txt +++ b/forge-gui/res/cardsfolder/a/atogatog.txt @@ -2,7 +2,7 @@ Name:Atogatog ManaCost:W U B R G Types:Legendary Creature Atog PT:5/5 -A:AB$ Pump | Cost$ Sac<1/Creature.Atog/Atog creature> | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is the sacrificed creature's power. +A:AB$ Pump | Cost$ Sac<1/Creature.Atog/Atog creature> | Defined$ Self | NumAtt$ X | NumDef$ X | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is the sacrificed creature's power. SVar:X:Sacrificed$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/atogatog.jpg Oracle:Sacrifice an Atog creature: Atogatog gets +X/+X until end of turn, where X is the sacrificed creature's power. diff --git a/forge-gui/res/cardsfolder/a/attendant_of_vraska.txt b/forge-gui/res/cardsfolder/a/attendant_of_vraska.txt index f02fdcd7d51..e6d8a019497 100644 --- a/forge-gui/res/cardsfolder/a/attendant_of_vraska.txt +++ b/forge-gui/res/cardsfolder/a/attendant_of_vraska.txt @@ -3,7 +3,7 @@ ManaCost:1 B G Types:Creature Zombie Soldier PT:3/3 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | IsPresent$ Planeswalker.Vraska+YouCtrl | Execute$ TrigGainLife | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, if you control a Vraska planeswalker, you gain life equal to CARDNAME's power. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggeredCard$CardPower DeckNeeds:Type$Vraska Oracle:When Attendant of Vraska dies, if you control a Vraska planeswalker, you gain life equal to Attendant of Vraska's power. diff --git a/forge-gui/res/cardsfolder/a/augury_adept.txt b/forge-gui/res/cardsfolder/a/augury_adept.txt index b0aafffbc45..eac3eea5b73 100644 --- a/forge-gui/res/cardsfolder/a/augury_adept.txt +++ b/forge-gui/res/cardsfolder/a/augury_adept.txt @@ -4,7 +4,7 @@ Types:Creature Kithkin Wizard PT:2/2 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDig | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, reveal the top card of your library and put that card into your hand. You gain life equal to its converted mana cost. SVar:TrigDig:DB$Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | RememberChanged$ True | SubAbility$ DBGain -SVar:DBGain:DB$GainLife | LifeAmount$ X | SubAbility$ DBCleanup | References$ X +SVar:DBGain:DB$GainLife | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/augury_adept.jpg diff --git a/forge-gui/res/cardsfolder/a/aura_mutation.txt b/forge-gui/res/cardsfolder/a/aura_mutation.txt index 1fe993089ff..b957ddc2604 100644 --- a/forge-gui/res/cardsfolder/a/aura_mutation.txt +++ b/forge-gui/res/cardsfolder/a/aura_mutation.txt @@ -3,7 +3,7 @@ ManaCost:G W Types:Instant A:SP$ Destroy | Cost$ G W | ValidTgts$ Enchantment | TgtPrompt$ Select target enchantment | SubAbility$ TrigToken | SpellDescription$ Destroy target enchantment. Create X 1/1 green Saproling creature tokens, where X is that enchantment's converted mana cost. #X will be the Converted Mana Cost of the target of Mutation -SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | References$ X | LegacyImage$ g 1 1 saproling inv +SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling inv SVar:X:Targeted$CardManaCost DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/aura_mutation.jpg diff --git a/forge-gui/res/cardsfolder/a/aurelias_fury.txt b/forge-gui/res/cardsfolder/a/aurelias_fury.txt index ff6f394f149..6b0e3daf4be 100644 --- a/forge-gui/res/cardsfolder/a/aurelias_fury.txt +++ b/forge-gui/res/cardsfolder/a/aurelias_fury.txt @@ -1,7 +1,7 @@ Name:Aurelia's Fury ManaCost:X R W Types:Instant -A:SP$ DealDamage | Cost$ X R W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to distribute damage to | NumDmg$ X | TargetMin$ Min | TargetMax$ MaxTgts | DividedAsYouChoose$ X | References$ X,Min,MaxTgts | RememberDamaged$ True | SubAbility$ CowedByAurelia | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of any targets. Tap each creature dealt damage this way. Players dealt damage this way can't cast noncreature spells this turn. +A:SP$ DealDamage | Cost$ X R W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to distribute damage to | NumDmg$ X | TargetMin$ Min | TargetMax$ MaxTgts | DividedAsYouChoose$ X | RememberDamaged$ True | SubAbility$ CowedByAurelia | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of any targets. Tap each creature dealt damage this way. Players dealt damage this way can't cast noncreature spells this turn. SVar:CowedByAurelia:DB$ TapAll | ValidCards$ Creature.IsRemembered | SubAbility$ SpellLimitations SVar:SpellLimitations:DB$ Effect | StaticAbilities$ STCantBeCast | RememberObjects$ Player.IsRemembered | SubAbility$ DBCleanup SVar:STCantBeCast:Mode$ CantBeCast | EffectZone$ Command | ValidCard$ Card.nonCreature | Caster$ Player.IsRemembered | Description$ Players damaged by Aurelia's Fury can't cast creature spells this turn. diff --git a/forge-gui/res/cardsfolder/a/auriok_bladewarden.txt b/forge-gui/res/cardsfolder/a/auriok_bladewarden.txt index d36aec9ba61..d26fccad2be 100644 --- a/forge-gui/res/cardsfolder/a/auriok_bladewarden.txt +++ b/forge-gui/res/cardsfolder/a/auriok_bladewarden.txt @@ -2,7 +2,7 @@ Name:Auriok Bladewarden ManaCost:1 W Types:Creature Human Soldier PT:1/1 -A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is CARDNAME's power. +A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is CARDNAME's power. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/auriok_bladewarden.jpg Oracle:{T}: Target creature gets +X/+X until end of turn, where X is Auriok Bladewarden's power. diff --git a/forge-gui/res/cardsfolder/a/auriok_steelshaper.txt b/forge-gui/res/cardsfolder/a/auriok_steelshaper.txt index 1122b97a48f..89423e270b1 100644 --- a/forge-gui/res/cardsfolder/a/auriok_steelshaper.txt +++ b/forge-gui/res/cardsfolder/a/auriok_steelshaper.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Creature Human Soldier PT:1/1 S:Mode$ ReduceCost | ValidCard$ Card | ValidSpell$ Activated.Equip | Activator$ You | Amount$ 1 | Description$ Equip costs you pay cost {1} less. -S:Mode$ Continuous | Affected$ Creature.Soldier+YouCtrl,Creature.Knight+YouCtrl | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ EQ1 | References$ X | Description$ As long as CARDNAME is equipped, each creature you control that's a Soldier or a Knight gets +1/+1. +S:Mode$ Continuous | Affected$ Creature.Soldier+YouCtrl,Creature.Knight+YouCtrl | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ As long as CARDNAME is equipped, each creature you control that's a Soldier or a Knight gets +1/+1. SVar:X:Count$Valid Card.Self+equipped SVar:EquipMe:Once AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/a/aurochs.txt b/forge-gui/res/cardsfolder/a/aurochs.txt index a4be6675f82..a0f826c68e0 100644 --- a/forge-gui/res/cardsfolder/a/aurochs.txt +++ b/forge-gui/res/cardsfolder/a/aurochs.txt @@ -4,7 +4,7 @@ Types:Creature Aurochs PT:2/3 K:Trample T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+0 until end of turn for each other attacking Aurochs. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$Valid Aurochs.attacking+Other SVar:Picture:http://www.wizards.com/global/images/magic/general/aurochs.jpg Oracle:Trample\nWhenever Aurochs attacks, it gets +1/+0 until end of turn for each other attacking Aurochs. diff --git a/forge-gui/res/cardsfolder/a/aurochs_herd.txt b/forge-gui/res/cardsfolder/a/aurochs_herd.txt index a04b4471205..35d40c5a7a7 100644 --- a/forge-gui/res/cardsfolder/a/aurochs_herd.txt +++ b/forge-gui/res/cardsfolder/a/aurochs_herd.txt @@ -6,7 +6,7 @@ K:Trample T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may search your library for an Aurochs card, reveal it, and put it into your hand. If you do, shuffle your library. SVar:TrigChange:DB$ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card.Aurochs | ChangeNum$ 1 | ShuffleNonMandatory$ True T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+0 until end of turn for each other attacking Aurochs. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$Valid Aurochs.attacking+Other SVar:Picture:http://www.wizards.com/global/images/magic/general/aurochs_herd.jpg Oracle:Trample\nWhen Aurochs Herd enters the battlefield, you may search your library for an Aurochs card, reveal it, and put it into your hand. If you do, shuffle your library.\nWhenever Aurochs Herd attacks, it gets +1/+0 until end of turn for each other attacking Aurochs. diff --git a/forge-gui/res/cardsfolder/a/auspicious_starrix.txt b/forge-gui/res/cardsfolder/a/auspicious_starrix.txt index 758a1dd2fb9..a8a2aabe61f 100755 --- a/forge-gui/res/cardsfolder/a/auspicious_starrix.txt +++ b/forge-gui/res/cardsfolder/a/auspicious_starrix.txt @@ -4,6 +4,6 @@ Types:Creature Elk Beast PT:6/6 K:Mutate:5 G T:Mode$ Mutates | ValidCard$ Card.Self | Execute$ TrigDigUntil | TriggerDescription$ Whenever this creature mutates, exile cards from the top of your library until you exile X permanent cards, where X is the number of times this creature has mutated. Put those permanent cards onto the battlefield. -SVar:TrigDigUntil:DB$ DigUntil | Amount$ X | References$ X | Defined$ You | Valid$ Permanent | ValidDescription$ permanent | RevealedDestination$ Exile | FoundDestination$ Battlefield +SVar:TrigDigUntil:DB$ DigUntil | Amount$ X | Defined$ You | Valid$ Permanent | ValidDescription$ permanent | RevealedDestination$ Exile | FoundDestination$ Battlefield SVar:X:Count$TimesMutated Oracle:Mutate {5}{G} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.)\nWhenever this creature mutates, exile cards from the top of your library until you exile X permanent cards, where X is the number of times this creature has mutated. Put those permanent cards onto the battlefield. diff --git a/forge-gui/res/cardsfolder/a/avacyns_judgment.txt b/forge-gui/res/cardsfolder/a/avacyns_judgment.txt index 54e08d0bbb0..d07a29d87b7 100644 --- a/forge-gui/res/cardsfolder/a/avacyns_judgment.txt +++ b/forge-gui/res/cardsfolder/a/avacyns_judgment.txt @@ -2,7 +2,7 @@ Name:Avacyn's Judgment ManaCost:1 R Types:Sorcery K:Madness:X R -A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to distribute damage to | NumDmg$ Y | TargetMin$ 1 | TargetMax$ MaxTgts | DividedAsYouChoose$ Y | References$ X,Y,MaxTgts | SpellDescription$ CARDNAME deals 2 damage divided as you choose among any number of targets. If CARDNAME's madness cost was paid, it deals X damage instead. +A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to distribute damage to | NumDmg$ Y | TargetMin$ 1 | TargetMax$ MaxTgts | DividedAsYouChoose$ Y | SpellDescription$ CARDNAME deals 2 damage divided as you choose among any number of targets. If CARDNAME's madness cost was paid, it deals X damage instead. SVar:MaxTgts:PlayerCountPlayers$Amount/Plus.NumCreatures SVar:NumCreatures:Count$Valid Creature,Planeswalker SVar:Y:Count$Madness.X.2 diff --git a/forge-gui/res/cardsfolder/a/avalanche.txt b/forge-gui/res/cardsfolder/a/avalanche.txt index 280c58ddbce..11c1dfb51e2 100644 --- a/forge-gui/res/cardsfolder/a/avalanche.txt +++ b/forge-gui/res/cardsfolder/a/avalanche.txt @@ -1,7 +1,7 @@ Name:Avalanche ManaCost:X 2 R R Types:Sorcery -A:SP$ Destroy | Cost$ X 2 R R | TargetMin$ X | TargetMax$ X | ValidTgts$ Land.Snow | TgtPrompt$ Select X target snow lands | References$ X | SpellDescription$ Destroy X target snow lands. +A:SP$ Destroy | Cost$ X 2 R R | TargetMin$ X | TargetMax$ X | ValidTgts$ Land.Snow | TgtPrompt$ Select X target snow lands | SpellDescription$ Destroy X target snow lands. SVar:X:Count$xPaid AI:RemoveDeck:Random Oracle:Destroy X target snow lands. diff --git a/forge-gui/res/cardsfolder/a/avatar_of_growth.txt b/forge-gui/res/cardsfolder/a/avatar_of_growth.txt index 32a993ada44..148495cb4c7 100644 --- a/forge-gui/res/cardsfolder/a/avatar_of_growth.txt +++ b/forge-gui/res/cardsfolder/a/avatar_of_growth.txt @@ -3,7 +3,7 @@ ManaCost:4 G G Types:Creature Elemental Avatar PT:4/4 K:Trample -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ Trample +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ Trample T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSearch | TriggerDescription$ When CARDNAME enters the battlefield, each player searches their library for up to two basic land cards, puts them onto the battlefield, then shuffles their library. SVar:TrigSearch:DB$ ChangeZone | Optional$ True | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | DefinedPlayer$ Player | ChangeNum$ 2 | Shuffle$ True SVar:X:PlayerCountOpponents$Amount diff --git a/forge-gui/res/cardsfolder/a/aven_gagglemaster.txt b/forge-gui/res/cardsfolder/a/aven_gagglemaster.txt index 3e5d845dbca..8fb0902874a 100644 --- a/forge-gui/res/cardsfolder/a/aven_gagglemaster.txt +++ b/forge-gui/res/cardsfolder/a/aven_gagglemaster.txt @@ -4,7 +4,7 @@ Types:Creature Bird Warrior PT:4/3 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 2 life for each creature you control with flying. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.YouCtrl+withFlying/Twice DeckHas:Ability$LifeGain Oracle:Flying\nWhen Aven Gagglemaster enters the battlefield, you gain 2 life for each creature you control with flying. diff --git a/forge-gui/res/cardsfolder/a/aven_shrine.txt b/forge-gui/res/cardsfolder/a/aven_shrine.txt index 6798bac21a9..2c193da349f 100644 --- a/forge-gui/res/cardsfolder/a/aven_shrine.txt +++ b/forge-gui/res/cardsfolder/a/aven_shrine.txt @@ -3,7 +3,7 @@ ManaCost:1 W W Types:Enchantment T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigGainLifeRem | TriggerDescription$ Whenever a player casts a spell, that player gains X life, where X is the number of cards in all graveyards with the same name as that spell. SVar:TrigGainLifeRem:DB$ Pump | Defined$ TriggeredCard | PumpZone$ Stack | RememberObjects$ TriggeredCard | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ TriggeredActivator | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | Defined$ TriggeredActivator | LifeAmount$ X | SubAbility$ DBCleanup SVar:X:Count$ValidGraveyard Card.sharesNameWith Remembered SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/a/avenger_en_dal.txt b/forge-gui/res/cardsfolder/a/avenger_en_dal.txt index 73065193477..5e1e76d27fc 100644 --- a/forge-gui/res/cardsfolder/a/avenger_en_dal.txt +++ b/forge-gui/res/cardsfolder/a/avenger_en_dal.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Creature Human Spellshaper PT:1/1 A:AB$ ChangeZone | Cost$ 2 W T Discard<1/Card> | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target attacking creature. Its controller gains life equal to its toughness. | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ TargetedController | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ TargetedController | LifeAmount$ X SVar:X:TargetedLKI$CardToughness SVar:AIPreference:DiscardCost$Card AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/a/avenger_of_zendikar.txt b/forge-gui/res/cardsfolder/a/avenger_of_zendikar.txt index 45881f786c4..00827ba199c 100644 --- a/forge-gui/res/cardsfolder/a/avenger_of_zendikar.txt +++ b/forge-gui/res/cardsfolder/a/avenger_of_zendikar.txt @@ -3,7 +3,7 @@ ManaCost:5 G G Types:Creature Elemental PT:5/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a 0/1 green Plant creature token for each land you control. -SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ g_0_1_plant | TokenOwner$ You | LegacyImage$ g 0 1 plant wwk | References$ X +SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ g_0_1_plant | TokenOwner$ You | LegacyImage$ g 0 1 plant wwk SVar:X:Count$NumTypeYouCtrl.Land T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounterAll | OptionalDecider$ You | TriggerDescription$ Landfall — Whenever a land enters the battlefield under your control, you may put a +1/+1 counter on each Plant creature you control. SVar:TrigPutCounterAll:DB$PutCounterAll | ValidCards$ Creature.Plant+YouCtrl | CounterType$ P1P1 | CounterNum$ 1 | AILogic$ Always diff --git a/forge-gui/res/cardsfolder/a/awaken_the_erstwhile.txt b/forge-gui/res/cardsfolder/a/awaken_the_erstwhile.txt index ecbb8798f0d..a01c54cb532 100644 --- a/forge-gui/res/cardsfolder/a/awaken_the_erstwhile.txt +++ b/forge-gui/res/cardsfolder/a/awaken_the_erstwhile.txt @@ -3,7 +3,7 @@ ManaCost:3 B B Types:Sorcery A:SP$ RepeatEach | Cost$ 3 B B | RepeatPlayers$ Player | RepeatSubAbility$ DBDiscard | SpellDescription$ Each player discards all the cards in their hand, then creates that many 2/2 black Zombie creature tokens. SVar:DBDiscard:DB$ Discard | Defined$ Player.IsRemembered | Mode$ Hand | RememberDiscarded$ True | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenOwner$ Player.IsRemembered | LegacyImage$ b 2 2 zombie rna | References$ X | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenOwner$ Player.IsRemembered | LegacyImage$ b 2 2 zombie rna | SubAbility$ DBCleanup SVar:X:Remembered$Amount SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True DeckHas:Ability$Discard diff --git a/forge-gui/res/cardsfolder/a/awaken_the_sky_tyrant.txt b/forge-gui/res/cardsfolder/a/awaken_the_sky_tyrant.txt index 1fee4333d93..e7d2b4a872b 100644 --- a/forge-gui/res/cardsfolder/a/awaken_the_sky_tyrant.txt +++ b/forge-gui/res/cardsfolder/a/awaken_the_sky_tyrant.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Enchantment T:Mode$ DamageDone | ValidSource$ Card.OppCtrl | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ When a source an opponent controls deals damage to you, sacrifice CARDNAME. If you do, create a 5/5 red Dragon creature token with flying. SVar:TrigSac:DB$ Sacrifice | SacValid$ Self | RememberSacrificed$ True | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ r_5_5_dragon_flying | TokenOwner$ You | LegacyImage$ r 5 5 dragon flying c15 | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ r_5_5_dragon_flying | TokenOwner$ You | LegacyImage$ r 5 5 dragon flying c15 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/awaken_the_sky_tyrant.jpg diff --git a/forge-gui/res/cardsfolder/a/awakened_amalgam.txt b/forge-gui/res/cardsfolder/a/awakened_amalgam.txt index c44d12505eb..1c443b67270 100644 --- a/forge-gui/res/cardsfolder/a/awakened_amalgam.txt +++ b/forge-gui/res/cardsfolder/a/awakened_amalgam.txt @@ -2,7 +2,7 @@ Name:Awakened Amalgam ManaCost:4 Types:Artifact Creature Golem PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of differently named lands you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of differently named lands you control. SVar:X:Count$DifferentCardNames_Land.YouCtrl+inZoneBattlefield SVar:Picture:http://www.wizards.com/global/images/magic/general/awakened_amalgam.jpg Oracle:Awakened Amalgam's power and toughness are each equal to the number of differently named lands you control. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/a/awe_strike.txt b/forge-gui/res/cardsfolder/a/awe_strike.txt index bdb483a390d..3b8c2350c4b 100644 --- a/forge-gui/res/cardsfolder/a/awe_strike.txt +++ b/forge-gui/res/cardsfolder/a/awe_strike.txt @@ -3,7 +3,7 @@ ManaCost:W Types:Instant A:SP$ Effect | Cost$ W | ValidTgts$ Creature | TgtPrompt$ Select target creature to entrance | Name$ Awe Struck | ReplacementEffects$ StrikeWithAwe | Triggers$ OutOfSight | SVars$ ExileEffect,GainLifeInstead,X | RememberObjects$ Targeted | AILogic$ Fog | SpellDescription$ The next time target creature would deal damage this turn, prevent that damage. You gain life equal to the damage prevented this way. SVar:StrikeWithAwe:Event$ DamageDone | ValidSource$ Card.IsRemembered | ReplaceWith$ GainLifeInstead | PreventionEffect$ True | Description$ The next time the targeted creature would deal damage this turn, prevent that damage. You gain life equal to the damage prevented this way. -SVar:GainLifeInstead:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ ExileEffect | References$ X +SVar:GainLifeInstead:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ ExileEffect SVar:X:ReplaceCount$DamageAmount SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Creature.IsRemembered | Execute$ ExileEffect | Static$ True SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/a/axebane_guardian.txt b/forge-gui/res/cardsfolder/a/axebane_guardian.txt index de8905ecd6c..80a6ae48615 100644 --- a/forge-gui/res/cardsfolder/a/axebane_guardian.txt +++ b/forge-gui/res/cardsfolder/a/axebane_guardian.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Human Druid PT:0/3 K:Defender -A:AB$ Mana | Cost$ T | Produced$ Combo Any | Amount$ X | References$ X | SpellDescription$ Add X mana in any combination of colors, where X is the number of creatures with defender you control. +A:AB$ Mana | Cost$ T | Produced$ Combo Any | Amount$ X | SpellDescription$ Add X mana in any combination of colors, where X is the number of creatures with defender you control. SVar:X:Count$Valid Creature.withDefender+YouCtrl AI:RemoveDeck:Random DeckHints:Keyword$Defender diff --git a/forge-gui/res/cardsfolder/a/ayli_eternal_pilgrim.txt b/forge-gui/res/cardsfolder/a/ayli_eternal_pilgrim.txt index 3b81a446e3c..fc5d7253684 100644 --- a/forge-gui/res/cardsfolder/a/ayli_eternal_pilgrim.txt +++ b/forge-gui/res/cardsfolder/a/ayli_eternal_pilgrim.txt @@ -3,8 +3,8 @@ ManaCost:W B Types:Legendary Creature Kor Cleric PT:2/3 K:Deathtouch -A:AB$ GainLife | Cost$ 1 Sac<1/Creature.Other/another creature> | Defined$ You | LifeAmount$ Toughness | References$ Toughness | SpellDescription$ You gain life equal to the sacrificed creature's toughness. -A:AB$ ChangeZone | Cost$ 1 W B Sac<1/Creature.Other/another creature> | CheckSVar$ X | SVarCompare$ GEY | References$ X,Y | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select target nonland permanent | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target nonland permanent. Activate this ability only if you have at least 10 life more than your starting life total. +A:AB$ GainLife | Cost$ 1 Sac<1/Creature.Other/another creature> | Defined$ You | LifeAmount$ Toughness | SpellDescription$ You gain life equal to the sacrificed creature's toughness. +A:AB$ ChangeZone | Cost$ 1 W B Sac<1/Creature.Other/another creature> | CheckSVar$ X | SVarCompare$ GEY | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select target nonland permanent | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target nonland permanent. Activate this ability only if you have at least 10 life more than your starting life total. SVar:Toughness:Sacrificed$CardToughness SVar:X:Count$YourLifeTotal SVar:Y:Count$YourStartingLife/Plus.10 diff --git a/forge-gui/res/cardsfolder/a/aysen_crusader.txt b/forge-gui/res/cardsfolder/a/aysen_crusader.txt index 6d5ce6724bf..875003dce34 100644 --- a/forge-gui/res/cardsfolder/a/aysen_crusader.txt +++ b/forge-gui/res/cardsfolder/a/aysen_crusader.txt @@ -2,7 +2,7 @@ Name:Aysen Crusader ManaCost:2 W W Types:Creature Human Knight PT:2+*/2+* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to 2 plus the number of Soldiers and Warriors you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to 2 plus the number of Soldiers and Warriors you control. SVar:X:Count$Valid Soldier.YouCtrl,Warrior.YouCtrl/Plus.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/aysen_crusader.jpg Oracle:Aysen Crusader's power and toughness are each equal to 2 plus the number of Soldiers and Warriors you control. diff --git a/forge-gui/res/cardsfolder/a/azor_the_lawbringer.txt b/forge-gui/res/cardsfolder/a/azor_the_lawbringer.txt index d2e28b3a61c..4081e923058 100644 --- a/forge-gui/res/cardsfolder/a/azor_the_lawbringer.txt +++ b/forge-gui/res/cardsfolder/a/azor_the_lawbringer.txt @@ -8,8 +8,8 @@ SVar:TrigChange:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | NextTurnForEac SVar:DBEffect:DB$ Effect | Name$ Azor, the Lawbringer's Effect | StaticAbilities$ STCantBeCast | EffectOwner$ Remembered SVar:STCantBeCast:Mode$ CantBeCast | ValidCard$ Instant,Sorcery | Caster$ You | EffectZone$ Command | Description$ You can't cast instant or sorcery spells. T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ Whenever Azor attacks, you may pay {X}{W}{U}{U}. If you do, you gain X life and draw X cards. -SVar:TrigDraw:AB$ GainLife | Cost$ X W U U | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ You gain X life and draw X cards. -SVar:DBDraw:DB$Draw | NumCards$ X | References$ X +SVar:TrigDraw:AB$ GainLife | Cost$ X W U U | Defined$ You | LifeAmount$ X | SubAbility$ DBDraw | SpellDescription$ You gain X life and draw X cards. +SVar:DBDraw:DB$Draw | NumCards$ X SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/azor_the_lawbringer.jpg Oracle:Flying\nWhen Azor, the Lawbringer enters the battlefield, each opponent can't cast instant or sorcery spells during that player's next turn.\nWhenever Azor attacks, you may pay {X}{W}{U}{U}. If you do, you gain X life and draw X cards. diff --git a/forge-gui/res/cardsfolder/a/azors_gateway_sanctum_of_the_sun.txt b/forge-gui/res/cardsfolder/a/azors_gateway_sanctum_of_the_sun.txt index 7c42db9a011..edf4bb7e2cb 100644 --- a/forge-gui/res/cardsfolder/a/azors_gateway_sanctum_of_the_sun.txt +++ b/forge-gui/res/cardsfolder/a/azors_gateway_sanctum_of_the_sun.txt @@ -3,9 +3,9 @@ ManaCost:2 Types:Legendary Artifact A:AB$ Draw | Cost$ 1 T | NumCards$ 1 | SubAbility$ DBExile | SpellDescription$ Draw a card, then exile a card from your hand. If cards with five or more different converted mana costs are exiled with CARDNAME, you gain 5 life, untap CARDNAME, and transform it. SVar:DBExile:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | ChangeType$ Card | ChangeNum$ 1 | Mandatory$ True | RememberChanged$ True | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | LifeAmount$ 5 | SubAbility$ DBUntap | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE5 | References$ Y -SVar:DBUntap:DB$ Untap | Defined$ Self | SubAbility$ DBTransform | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE5 | References$ Y -SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE5 | References$ Y +SVar:DBGainLife:DB$ GainLife | LifeAmount$ 5 | SubAbility$ DBUntap | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE5 +SVar:DBUntap:DB$ Untap | Defined$ Self | SubAbility$ DBTransform | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE5 +SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE5 T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup @@ -21,7 +21,7 @@ Name:Sanctum of the Sun ManaCost:no cost Colors:colorless Types:Land -A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ X | References$ X | SpellDescription$ Add X mana of any one color, where X is your life total. +A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ X | SpellDescription$ Add X mana of any one color, where X is your life total. SVar:X:Count$YourLifeTotal SVar:Picture:http://www.wizards.com/global/images/magic/general/sanctum_of_the_sun.jpg Oracle:(Transforms from Azor's Gateway.)\n{T}: Add X mana of any one color, where X is your life total. diff --git a/forge-gui/res/cardsfolder/b/backfire.txt b/forge-gui/res/cardsfolder/b/backfire.txt index 9964a0a1183..51f60b1c6e8 100644 --- a/forge-gui/res/cardsfolder/b/backfire.txt +++ b/forge-gui/res/cardsfolder/b/backfire.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ U | ValidTgts$ Creature | AILogic$ Curse T:Mode$ DamageDone | ValidSource$ Card.AttachedBy | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever enchanted creature deals damage to you, CARDNAME deals that much damage to that creature's controller. -SVar:TrigDealDamage:DB$ DealDamage | Defined$ TriggeredSourceController | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$ DealDamage | Defined$ TriggeredSourceController | NumDmg$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/backfire.jpg Oracle:Enchant creature\nWhenever enchanted creature deals damage to you, Backfire deals that much damage to that creature's controller. diff --git a/forge-gui/res/cardsfolder/b/backlash.txt b/forge-gui/res/cardsfolder/b/backlash.txt index 8701b0e9469..f7b4b071a07 100644 --- a/forge-gui/res/cardsfolder/b/backlash.txt +++ b/forge-gui/res/cardsfolder/b/backlash.txt @@ -2,7 +2,7 @@ Name:Backlash ManaCost:1 B R Types:Instant A:SP$ Tap | Cost$ 1 B R| ValidTgts$ Creature.untapped | TgtPrompt$ Select an untapped creature | SubAbility$ DBDamage | SpellDescription$ Tap target untapped creature. That creature deals damage equal to its power to its controller. -SVar:DBDamage:DB$DealDamage | Defined$ TargetedController | DamageSource$ Targeted | NumDmg$ X | References$ X +SVar:DBDamage:DB$DealDamage | Defined$ TargetedController | DamageSource$ Targeted | NumDmg$ X SVar:X:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/backlash.jpg Oracle:Tap target untapped creature. That creature deals damage equal to its power to its controller. diff --git a/forge-gui/res/cardsfolder/b/bakis_curse.txt b/forge-gui/res/cardsfolder/b/bakis_curse.txt index 8c67779253c..39f56d7ff58 100644 --- a/forge-gui/res/cardsfolder/b/bakis_curse.txt +++ b/forge-gui/res/cardsfolder/b/bakis_curse.txt @@ -2,7 +2,7 @@ Name:Baki's Curse ManaCost:2 U U Types:Sorcery A:SP$ RepeatEach | Cost$ 2 U U | RepeatCards$ Creature | Zone$ Battlefield | RepeatSubAbility$ DBDmg | DamageMap$ True | SpellDescription$ CARDNAME deals 2 damage to each creature for each Aura attached to that creature. -SVar:DBDmg:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | References$ X +SVar:DBDmg:DB$ DealDamage | Defined$ Remembered | NumDmg$ X SVar:X:Count$Valid Aura.AttachedTo Creature.IsRemembered/Times.2 AI:RemoveDeck:Random AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/b/bala_ged_thief.txt b/forge-gui/res/cardsfolder/b/bala_ged_thief.txt index f5083f41712..a94fa661172 100644 --- a/forge-gui/res/cardsfolder/b/bala_ged_thief.txt +++ b/forge-gui/res/cardsfolder/b/bala_ged_thief.txt @@ -4,7 +4,7 @@ Types:Creature Human Rogue Ally PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBDiscard | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, target player reveals a number of cards from their hand equal to the number of Allies you control. You choose one of them. That player discards that card. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Ally.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ DBDiscard | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, target player reveals a number of cards from their hand equal to the number of Allies you control. You choose one of them. That player discards that card. -SVar:DBDiscard:DB$ Discard | ValidTgts$ Player | NumCards$ 1 | RevealNumber$ X | Mode$ RevealYouChoose | DiscardValid$ Card | References$ X +SVar:DBDiscard:DB$ Discard | ValidTgts$ Player | NumCards$ 1 | RevealNumber$ X | Mode$ RevealYouChoose | DiscardValid$ Card SVar:X:Count$TypeYouCtrl.Ally SVar:BuffedBy:Ally SVar:Picture:http://www.wizards.com/global/images/magic/general/bala_ged_thief.jpg diff --git a/forge-gui/res/cardsfolder/b/balance_of_power.txt b/forge-gui/res/cardsfolder/b/balance_of_power.txt index d965f141e5c..a4c6dd29e61 100644 --- a/forge-gui/res/cardsfolder/b/balance_of_power.txt +++ b/forge-gui/res/cardsfolder/b/balance_of_power.txt @@ -1,7 +1,7 @@ Name:Balance of Power ManaCost:3 U U Types:Sorcery -A:SP$ Draw | Cost$ 3 U U | NumCards$ Y | Defined$ You | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | References$ X,Y | SpellDescription$ If target opponent has more cards in hand than you, draw cards equal to the difference. +A:SP$ Draw | Cost$ 3 U U | NumCards$ Y | Defined$ You | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | SpellDescription$ If target opponent has more cards in hand than you, draw cards equal to the difference. SVar:X:Count$InYourHand SVar:Y:TargetedPlayer$CardsInHand/Minus.X AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/b/balduvian_fallen.txt b/forge-gui/res/cardsfolder/b/balduvian_fallen.txt index 008bbc8b7d7..788706c2e22 100644 --- a/forge-gui/res/cardsfolder/b/balduvian_fallen.txt +++ b/forge-gui/res/cardsfolder/b/balduvian_fallen.txt @@ -4,7 +4,7 @@ Types:Creature Zombie PT:3/5 K:Cumulative upkeep:1 T:Mode$ PayCumulativeUpkeep | ValidCard$ Card.Self | Paid$ True | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME's cumulative upkeep is paid, it gets +1/+0 until end of turn for each {B} or {R} spent this way. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$TriggeredPayingMana.B.R SVar:Picture:http://www.wizards.com/global/images/magic/general/balduvian_fallen.jpg Oracle:Cumulative upkeep {1} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.)\nWhenever Balduvian Fallen's cumulative upkeep is paid, it gets +1/+0 until end of turn for each {B} or {R} spent this way. diff --git a/forge-gui/res/cardsfolder/b/balduvian_horde.txt b/forge-gui/res/cardsfolder/b/balduvian_horde.txt index bf1f0768b85..ca337b8a7e5 100644 --- a/forge-gui/res/cardsfolder/b/balduvian_horde.txt +++ b/forge-gui/res/cardsfolder/b/balduvian_horde.txt @@ -4,7 +4,7 @@ Types:Creature Human Barbarian PT:5/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you discard a card at random. SVar:TrigDiscard:DB$ Discard | NumCards$ 1 | Mode$ Random | Optional$ True | RememberDiscarded$ True | SubAbility$ DBSacrifice -SVar:DBSacrifice:DB$ Sacrifice | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBCleanup +SVar:DBSacrifice:DB$ Sacrifice | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:NeedsToPlayVar:Y GE2 diff --git a/forge-gui/res/cardsfolder/b/balduvian_rage.txt b/forge-gui/res/cardsfolder/b/balduvian_rage.txt index bdcc79c7ece..40c4f870f6d 100644 --- a/forge-gui/res/cardsfolder/b/balduvian_rage.txt +++ b/forge-gui/res/cardsfolder/b/balduvian_rage.txt @@ -1,7 +1,7 @@ Name:Balduvian Rage ManaCost:X R Types:Instant -A:SP$ Pump | Cost$ X R | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | NumAtt$ X | References$ X | SpellDescription$ Target attacking creature gets +X/+0 until end of turn. Draw a card at the beginning of the next turn's upkeep. | SubAbility$ DelTrigSlowtrip +A:SP$ Pump | Cost$ X R | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | NumAtt$ X | SpellDescription$ Target attacking creature gets +X/+0 until end of turn. Draw a card at the beginning of the next turn's upkeep. | SubAbility$ DelTrigSlowtrip SVar:DelTrigSlowtrip:DB$ DelayedTrigger | Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ DrawSlowtrip | TriggerDescription$ Draw a card. SVar:DrawSlowtrip:DB$Draw | NumCards$ 1 | Defined$ You SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/b/balduvian_trading_post.txt b/forge-gui/res/cardsfolder/b/balduvian_trading_post.txt index 2725057477f..fe993dcd944 100644 --- a/forge-gui/res/cardsfolder/b/balduvian_trading_post.txt +++ b/forge-gui/res/cardsfolder/b/balduvian_trading_post.txt @@ -5,8 +5,8 @@ A:AB$ Mana | Cost$ T | Produced$ C R | SpellDescription$ Add {C}{R}. A:AB$ DealDamage | Cost$ 1 T | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target attacking creature. R:Event$ Moved | Destination$ Battlefield | ValidCard$ Card.Self | ReplaceWith$ PayBeforeETB | Description$ If CARDNAME would enter the battlefield, sacrifice an untapped Mountain instead. If you do, put CARDNAME onto the battlefield. If you don't, put it into its owner's graveyard. SVar:PayBeforeETB:DB$ Sacrifice | SacValid$ Mountain.untapped | Defined$ You | RememberSacrificed$ True | SubAbility$ MoveToGraveyard -SVar:MoveToGraveyard:DB$ ChangeZone | Origin$ All | Destination$ Graveyard | Defined$ ReplacedCard | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ EQ0 | SubAbility$ MoveToBattlefield -SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup +SVar:MoveToGraveyard:DB$ ChangeZone | Origin$ All | Destination$ Graveyard | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ MoveToBattlefield +SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:NeedsToPlay:Mountain.YouCtrl+inZoneBattlefield+untapped diff --git a/forge-gui/res/cardsfolder/b/balefire_dragon.txt b/forge-gui/res/cardsfolder/b/balefire_dragon.txt index 749fd597c8a..cbf83007cb0 100644 --- a/forge-gui/res/cardsfolder/b/balefire_dragon.txt +++ b/forge-gui/res/cardsfolder/b/balefire_dragon.txt @@ -4,7 +4,7 @@ Types:Creature Dragon PT:6/6 K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, it deals that much damage to each creature that player controls. -SVar:TrigDamage:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature.DefenderCtrl | References$ X +SVar:TrigDamage:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature.DefenderCtrl SVar:X:TriggerCount$DamageAmount SVar:MustBeBlocked:True SVar:Picture:http://www.wizards.com/global/images/magic/general/balefire_dragon.jpg diff --git a/forge-gui/res/cardsfolder/b/baleful_stare.txt b/forge-gui/res/cardsfolder/b/baleful_stare.txt index 58f6f12f8f1..57d19f9b582 100644 --- a/forge-gui/res/cardsfolder/b/baleful_stare.txt +++ b/forge-gui/res/cardsfolder/b/baleful_stare.txt @@ -2,7 +2,7 @@ Name:Baleful Stare ManaCost:2 U Types:Sorcery A:SP$ RevealHand | Cost$ 2 U | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBDraw | SpellDescription$ Target opponent reveals their hand. You draw a card for each Mountain and red card in it. -SVar:DBDraw:DB$Draw | NumCards$ X | References$ X +SVar:DBDraw:DB$Draw | NumCards$ X SVar:X:Count$ValidHand Mountain.TargetedPlayerCtrl,Card.TargetedPlayerCtrl+Red AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/baleful_stare.jpg diff --git a/forge-gui/res/cardsfolder/b/ballista_squad.txt b/forge-gui/res/cardsfolder/b/ballista_squad.txt index 06b85dd29a7..308dcd3a89f 100644 --- a/forge-gui/res/cardsfolder/b/ballista_squad.txt +++ b/forge-gui/res/cardsfolder/b/ballista_squad.txt @@ -2,7 +2,7 @@ Name:Ballista Squad ManaCost:3 W Types:Creature Human Rebel PT:2/2 -A:AB$ DealDamage | Cost$ X W T | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target attacking or blocking creature. +A:AB$ DealDamage | Cost$ X W T | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target attacking or blocking creature. SVar:X:Count$xPaid SVar:NonCombatPriority:4 SVar:Picture:http://www.wizards.com/global/images/magic/general/ballista_squad.jpg diff --git a/forge-gui/res/cardsfolder/b/baloth_cage_trap.txt b/forge-gui/res/cardsfolder/b/baloth_cage_trap.txt index 63ff090ea05..9ac393ced2c 100644 --- a/forge-gui/res/cardsfolder/b/baloth_cage_trap.txt +++ b/forge-gui/res/cardsfolder/b/baloth_cage_trap.txt @@ -1,7 +1,7 @@ Name:Baloth Cage Trap ManaCost:3 G G Types:Instant Trap -SVar:AltCost:Cost$ 1 G | CheckSVar$ ArtifactsEntered | References$ ArtifactsEntered | Description$ If an opponent had an artifact enter the battlefield under their control this turn, you may pay {1}{G} rather than pay this spell's mana cost. +SVar:AltCost:Cost$ 1 G | CheckSVar$ ArtifactsEntered | Description$ If an opponent had an artifact enter the battlefield under their control this turn, you may pay {1}{G} rather than pay this spell's mana cost. A:SP$ Token | Cost$ 3 G G | TokenAmount$ 1 | TokenScript$ g_4_4_beast | TokenOwner$ You | StackDescription$ {p:You} creates a 4/4 green Beast creature token. | SpellDescription$ Create a 4/4 green Beast creature token. SVar:ArtifactsEntered:Count$ThisTurnEntered_Battlefield_Artifact.OppCtrl Oracle:If an opponent had an artifact enter the battlefield under their control this turn, you may pay {1}{G} rather than pay this spell's mana cost.\nCreate a 4/4 green Beast creature token. diff --git a/forge-gui/res/cardsfolder/b/band_together.txt b/forge-gui/res/cardsfolder/b/band_together.txt index 4caf0595600..dc022f0f9c4 100644 --- a/forge-gui/res/cardsfolder/b/band_together.txt +++ b/forge-gui/res/cardsfolder/b/band_together.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Instant A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select up to two target creatures you control | ImprintCards$ Targeted | AILogic$ PowerDmg | SubAbility$ DBPump | TargetMin$ 0 | TargetMax$ 2 | StackDescription$ SpellDescription | SpellDescription$ Up to two target creatures you control each deal damage equal to their power to another target creature. SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature to be dealt damage | RememberObjects$ ThisTargetedCard | IsCurse$ True | SubAbility$ DBEachDamage | StackDescription$ None -SVar:DBEachDamage:DB$ EachDamage | ValidCards$ Creature.IsImprinted | NumDmg$ X | References$ X | DamageDesc$ damage equal to its power | DefinedCards$ Remembered | SubAbility$ DBCleanup | StackDescription$ None +SVar:DBEachDamage:DB$ EachDamage | ValidCards$ Creature.IsImprinted | NumDmg$ X | DamageDesc$ damage equal to its power | DefinedCards$ Remembered | SubAbility$ DBCleanup | StackDescription$ None #NumDmg isn't really used here. It is left for clarity. The AF pulls Damage straight from "X" hardcoded. SVar:X:Count$CardPower SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True diff --git a/forge-gui/res/cardsfolder/b/bane_of_progress.txt b/forge-gui/res/cardsfolder/b/bane_of_progress.txt index 4ea38398a0b..07c5f7b7f63 100644 --- a/forge-gui/res/cardsfolder/b/bane_of_progress.txt +++ b/forge-gui/res/cardsfolder/b/bane_of_progress.txt @@ -4,7 +4,7 @@ Types:Creature Elemental PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDestroy | TriggerDescription$ When CARDNAME enters the battlefield, destroy all artifacts and enchantments. Put a +1/+1 counter on CARDNAME for each permanent destroyed this way. SVar:TrigDestroy:DB$ DestroyAll | ValidCards$ Artifact,Enchantment | RememberDestroyed$ True | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBCleanup +SVar:DBPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Y:Count$Valid Artifact.OppCtrl,Enchantment.OppCtrl diff --git a/forge-gui/res/cardsfolder/b/bane_of_the_living.txt b/forge-gui/res/cardsfolder/b/bane_of_the_living.txt index 6537b6cb7c3..ed0b2fba4bf 100644 --- a/forge-gui/res/cardsfolder/b/bane_of_the_living.txt +++ b/forge-gui/res/cardsfolder/b/bane_of_the_living.txt @@ -4,7 +4,7 @@ Types:Creature Insect PT:4/3 K:Morph:X B B T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ TrigPumpAll | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME is turned face up, all creatures get -X/-X until end of turn. -SVar:TrigPumpAll:DB$ PumpAll | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X | References$ X +SVar:TrigPumpAll:DB$ PumpAll | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Morph {X}{B}{B} (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.)\nWhen Bane of the Living is turned face up, all creatures get -X/-X until end of turn. diff --git a/forge-gui/res/cardsfolder/b/banefire.txt b/forge-gui/res/cardsfolder/b/banefire.txt index 6a68fae47c0..3e5a213f9ed 100644 --- a/forge-gui/res/cardsfolder/b/banefire.txt +++ b/forge-gui/res/cardsfolder/b/banefire.txt @@ -1,8 +1,8 @@ Name:Banefire ManaCost:X R Types:Sorcery -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ LT5 | SubAbility$ BanefulDmg | References$ X | SpellDescription$ CARDNAME deals X damage to any target. -SVar:BanefulDmg:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | NoPrevention$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE5 | References$ X | StackDescription$ If X is 5 or more, CARDNAME can't be countered by spells or abilities and the damage can't be prevented. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ LT5 | SubAbility$ BanefulDmg | SpellDescription$ CARDNAME deals X damage to any target. +SVar:BanefulDmg:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | NoPrevention$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE5 | StackDescription$ If X is 5 or more, CARDNAME can't be countered by spells or abilities and the damage can't be prevented. S:Mode$ Continuous | Affected$ Self | AffectedZone$ Stack | EffectZone$ All | CharacteristicDefining$ True | AddHiddenKeyword$ CARDNAME can't be countered. | CheckSVar$ X | SVarCompare$ GE5 | Description$ If X is 5 or more, CARDNAME can't be countered by spells or abilities and the damage can't be prevented. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/banefire.jpg diff --git a/forge-gui/res/cardsfolder/b/baneful_omen.txt b/forge-gui/res/cardsfolder/b/baneful_omen.txt index c69d7411a34..b9d182b1411 100644 --- a/forge-gui/res/cardsfolder/b/baneful_omen.txt +++ b/forge-gui/res/cardsfolder/b/baneful_omen.txt @@ -3,7 +3,7 @@ ManaCost:4 B B B Types:Enchantment T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | OptionalDecider$ You | TriggerDescription$ At the beginning of your end step, you may reveal the top card of your library. If you do, each opponent loses life equal to that card's converted mana cost. SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Library | LibraryPosition$ 0 | LibraryPosition2$ 0 | RememberChanged$ True | SubAbility$ DBLose -SVar:DBLose:DB$ LoseLife | LifeAmount$ X | Defined$ Player.Opponent | SubAbility$ DBCleanup | References$ X +SVar:DBLose:DB$ LoseLife | LifeAmount$ X | Defined$ Player.Opponent | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/baneful_omen.jpg diff --git a/forge-gui/res/cardsfolder/b/banewasp_affliction.txt b/forge-gui/res/cardsfolder/b/banewasp_affliction.txt index 3c96fdc5794..eeae251e7f0 100644 --- a/forge-gui/res/cardsfolder/b/banewasp_affliction.txt +++ b/forge-gui/res/cardsfolder/b/banewasp_affliction.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Enchantment Aura A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature | AILogic$ Curse T:Mode$ ChangesZone | ValidCard$ Card.AttachedBy | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigLose | TriggerDescription$ When enchanted creature dies, that creature's controller loses life equal to its toughness. -SVar:TrigLose:DB$ LoseLife | Defined$ TriggeredCardController | LifeAmount$ X | References$ X +SVar:TrigLose:DB$ LoseLife | Defined$ TriggeredCardController | LifeAmount$ X SVar:X:TriggeredCard$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/banewasp_affliction.jpg Oracle:Enchant creature\nWhen enchanted creature dies, that creature's controller loses life equal to its toughness. diff --git a/forge-gui/res/cardsfolder/b/banshee.txt b/forge-gui/res/cardsfolder/b/banshee.txt index e9ef550f27a..9f02035d39c 100644 --- a/forge-gui/res/cardsfolder/b/banshee.txt +++ b/forge-gui/res/cardsfolder/b/banshee.txt @@ -2,8 +2,8 @@ Name:Banshee ManaCost:2 B B Types:Creature Spirit PT:0/1 -A:AB$ DealDamage | Cost$ X T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ HalfXDown | SubAbility$ DBDamage | References$ X,HalfXDown | SpellDescription$ CARDNAME deals half X damage, rounded down, to any target, and half X damage, rounded up, to you. -SVar:DBDamage:DB$ DealDamage | Defined$ You | NumDmg$ HalfXUp | References$ HalfXUp +A:AB$ DealDamage | Cost$ X T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ HalfXDown | SubAbility$ DBDamage | SpellDescription$ CARDNAME deals half X damage, rounded down, to any target, and half X damage, rounded up, to you. +SVar:DBDamage:DB$ DealDamage | Defined$ You | NumDmg$ HalfXUp SVar:X:Count$xPaid SVar:HalfXDown:Count$xPaid/HalfDown SVar:HalfXUp:Count$xPaid/HalfUp diff --git a/forge-gui/res/cardsfolder/b/barbed_shocker.txt b/forge-gui/res/cardsfolder/b/barbed_shocker.txt index 0cbf98d5e6c..eb2e0c3a41a 100644 --- a/forge-gui/res/cardsfolder/b/barbed_shocker.txt +++ b/forge-gui/res/cardsfolder/b/barbed_shocker.txt @@ -6,7 +6,7 @@ K:Trample K:Haste T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | TriggerZones$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ Whenever CARDNAME deals damage to a player, that player discards all the cards in their hand, then draws that many cards. SVar:TrigDiscard:DB$ Discard | Defined$ TriggeredTarget | Mode$ Hand | RememberDiscarded$ True | SubAbility$ DBDraw | SpellDescription$ Discard hand -SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ TriggeredTarget | SubAbility$ DBCleanup | SpellDescription$ Draw that many cards | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ TriggeredTarget | SubAbility$ DBCleanup | SpellDescription$ Draw that many cards SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/barbed_shocker.jpg diff --git a/forge-gui/res/cardsfolder/b/bargaining_table.txt b/forge-gui/res/cardsfolder/b/bargaining_table.txt index d34f0eb0e9c..17cdc13ae1c 100644 --- a/forge-gui/res/cardsfolder/b/bargaining_table.txt +++ b/forge-gui/res/cardsfolder/b/bargaining_table.txt @@ -2,7 +2,7 @@ Name:Bargaining Table ManaCost:5 Types:Artifact # The ability is untargeted (see: http://magiccards.info/mm/en/288.html), so the opponent is automaticaly chosen. This has to be modified as soon as multiplayer formats get supported. -A:AB$ Draw| Cost$ X T | NumCards$ 1 | References$ X | SpellDescription$ Draw a card. X is the number of cards in an opponent's hand. +A:AB$ Draw| Cost$ X T | NumCards$ 1 | SpellDescription$ Draw a card. X is the number of cards in an opponent's hand. SVar:X:Count$InOppHand SVar:Picture:http://www.wizards.com/global/images/magic/general/bargaining_table.jpg Oracle:{X}, {T}: Draw a card. X is the number of cards in an opponent's hand. diff --git a/forge-gui/res/cardsfolder/b/barrage_of_boulders.txt b/forge-gui/res/cardsfolder/b/barrage_of_boulders.txt index 6071a7691f1..6637b876e91 100644 --- a/forge-gui/res/cardsfolder/b/barrage_of_boulders.txt +++ b/forge-gui/res/cardsfolder/b/barrage_of_boulders.txt @@ -2,7 +2,7 @@ Name:Barrage of Boulders ManaCost:2 R Types:Sorcery A:SP$ DamageAll | Cost$ 2 R | NumDmg$ 1 | ValidCards$ Creature.YouDontCtrl | ValidDescription$ each creature you don't control. | SubAbility$ DBPumpAll | SpellDescription$ CARDNAME deals 1 damage to each creature you don't control. Ferocious — If you control a creature with power 4 or greater, creatures can't block this turn. -SVar:DBPumpAll:DB$ Effect | Name$ Barrage of Boulders Effect | StaticAbilities$ KWPump | AILogic$ Evasion | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +SVar:DBPumpAll:DB$ Effect | Name$ Barrage of Boulders Effect | StaticAbilities$ KWPump | AILogic$ Evasion | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:KWPump:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Battlefield | Affected$ Creature | AddHiddenKeyword$ CARDNAME can't block. | Description$ Creatures can't block this turn. SVar:X:Count$Valid Creature.powerGE4+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/barrage_of_boulders.jpg diff --git a/forge-gui/res/cardsfolder/b/barrage_tyrant.txt b/forge-gui/res/cardsfolder/b/barrage_tyrant.txt index 45f6ca58b39..d51afb91d82 100644 --- a/forge-gui/res/cardsfolder/b/barrage_tyrant.txt +++ b/forge-gui/res/cardsfolder/b/barrage_tyrant.txt @@ -3,7 +3,7 @@ ManaCost:4 R Types:Creature Eldrazi PT:5/3 K:Devoid -A:AB$ DealDamage | Cost$ 2 R Sac<1/Creature.Colorless+Other/another colorless creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to any target. +A:AB$ DealDamage | Cost$ 2 R Sac<1/Creature.Colorless+Other/another colorless creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to any target. SVar:X:Sacrificed$CardPower AI:RemoveDeck:All DeckHints:Color$Colorless & Keyword$Devoid diff --git a/forge-gui/res/cardsfolder/b/barrel_down_sokenzan.txt b/forge-gui/res/cardsfolder/b/barrel_down_sokenzan.txt index 8f0e802394e..99b004ad0a4 100644 --- a/forge-gui/res/cardsfolder/b/barrel_down_sokenzan.txt +++ b/forge-gui/res/cardsfolder/b/barrel_down_sokenzan.txt @@ -1,8 +1,8 @@ Name:Barrel Down Sokenzan ManaCost:2 R Types:Instant Arcane -A:SP$ ChangeZone | Cost$ 2 R | Origin$ Battlefield | Destination$ Hand | ChangeType$ Mountain.YouCtrl | ChangeNum$ X | Hidden$ True | RememberChanged$ True | SubAbility$ DBDamage | References$ X | SpellDescription$ Sweep — Return any number of Mountains you control to their owner's hand. CARDNAME deals damage to target creature equal to twice the number of Mountains returned this way. -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ Y | References$ Y +A:SP$ ChangeZone | Cost$ 2 R | Origin$ Battlefield | Destination$ Hand | ChangeType$ Mountain.YouCtrl | ChangeNum$ X | Hidden$ True | RememberChanged$ True | SubAbility$ DBDamage | SpellDescription$ Sweep — Return any number of Mountains you control to their owner's hand. CARDNAME deals damage to target creature equal to twice the number of Mountains returned this way. +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ Y SVar:X:Count$Valid Mountain.YouCtrl SVar:Y:Remembered$Amount.Twice AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/b/barreling_attack.txt b/forge-gui/res/cardsfolder/b/barreling_attack.txt index dfee6d1044d..74ed4a8ca97 100644 --- a/forge-gui/res/cardsfolder/b/barreling_attack.txt +++ b/forge-gui/res/cardsfolder/b/barreling_attack.txt @@ -4,7 +4,7 @@ Types:Instant A:SP$ Pump | Cost$ 2 R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ Trample | SubAbility$ DBEffect | SpellDescription$ Target creature gains trample until end of turn. When that creature becomes blocked this turn, it gets +1/+1 until end of turn for each creature blocking it. SVar:DBEffect:DB$ Effect | RememberObjects$ Targeted | Triggers$ TrigBounce | SVars$ ABBarrelingPump,BarrelingX | ForgetOnMoved$ Battlefield SVar:TrigBounce:Mode$ AttackerBlocked | ValidCard$ Card.IsRemembered | TriggerZones$ Command | Execute$ ABBarrelingPump | TriggerDescription$ When CARDNAME becomes blocked this turn, it gets +1/+1 until end of turn for each creature blocking it. -SVar:ABBarrelingPump:DB$ Pump | Defined$ Remembered | NumAtt$ +BarrelingX | NumDef$ +BarrelingX | References$ BarrelingX +SVar:ABBarrelingPump:DB$ Pump | Defined$ Remembered | NumAtt$ +BarrelingX | NumDef$ +BarrelingX SVar:BarrelingX:TriggerCount$NumBlockers SVar:Picture:http://www.wizards.com/global/images/magic/general/barreling_attack.jpg Oracle:Target creature gains trample until end of turn. When that creature becomes blocked this turn, it gets +1/+1 until end of turn for each creature blocking it. diff --git a/forge-gui/res/cardsfolder/b/barrins_codex.txt b/forge-gui/res/cardsfolder/b/barrins_codex.txt index 3e49d1a74d9..fe49d9b1f64 100644 --- a/forge-gui/res/cardsfolder/b/barrins_codex.txt +++ b/forge-gui/res/cardsfolder/b/barrins_codex.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may put a page counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ PAGE | CounterNum$ 1 -A:AB$ Draw | Cost$ 4 T Sac<1/CARDNAME> | NumCards$ X | References$ X | SpellDescription$ Draw X cards, where X is the number of page counters on CARDNAME. +A:AB$ Draw | Cost$ 4 T Sac<1/CARDNAME> | NumCards$ X | SpellDescription$ Draw X cards, where X is the number of page counters on CARDNAME. SVar:X:Count$CardCounters.PAGE # TODO: maybe improve the AI logic for the trigger so that the AI doesn't go too much higher than the max hand size here, # though realistically it happens very rarely, if ever (the AI would sac-draw before then). diff --git a/forge-gui/res/cardsfolder/b/baru_fist_of_krosa.txt b/forge-gui/res/cardsfolder/b/baru_fist_of_krosa.txt index afdfc0bedd0..71597dd72be 100644 --- a/forge-gui/res/cardsfolder/b/baru_fist_of_krosa.txt +++ b/forge-gui/res/cardsfolder/b/baru_fist_of_krosa.txt @@ -3,7 +3,7 @@ ManaCost:3 G G Types:Legendary Creature Human Druid PT:4/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Forest | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever a Forest enters the battlefield, green creatures you control get +1/+1 and gain trample until end of turn. -A:AB$ Token | Cost$ Discard<1/Card.namedBaru, Fist of Krosa> | TokenAmount$ 1 | TokenScript$ g_x_x_wurm | TokenOwner$ You | LegacyImage$ g x x wurm fut | TokenPower$ X | TokenToughness$ X | CostDesc$ Grandeur — Discard another card named CARDNAME: | References$ X | SpellDescription$ Create an X/X green Wurm creature token, where X is the number of lands you control. +A:AB$ Token | Cost$ Discard<1/Card.namedBaru, Fist of Krosa> | TokenAmount$ 1 | TokenScript$ g_x_x_wurm | TokenOwner$ You | LegacyImage$ g x x wurm fut | TokenPower$ X | TokenToughness$ X | CostDesc$ Grandeur — Discard another card named CARDNAME: | SpellDescription$ Create an X/X green Wurm creature token, where X is the number of lands you control. SVar:X:Count$Valid Land.YouCtrl SVar:TrigPump:DB$ PumpAll | ValidCards$ Creature.Green+YouCtrl | NumAtt$ +1 | NumDef$ +1 | KW$ Trample SVar:BuffedBy:Forest diff --git a/forge-gui/res/cardsfolder/b/basalt_ravager.txt b/forge-gui/res/cardsfolder/b/basalt_ravager.txt index f718372e084..a3e30e49a84 100644 --- a/forge-gui/res/cardsfolder/b/basalt_ravager.txt +++ b/forge-gui/res/cardsfolder/b/basalt_ravager.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Creature Giant Wizard PT:4/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals X damage to any target, where X is the greatest number of creatures you control that have a creature type in common. -SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$MostProminentCreatureType Creature.YouCtrl SVar:PlayMain1:TRUE Oracle:When Basalt Ravager enters the battlefield, it deals X damage to any target, where X is the greatest number of creatures you control that have a creature type in common. diff --git a/forge-gui/res/cardsfolder/b/basri_ket.txt b/forge-gui/res/cardsfolder/b/basri_ket.txt index 6029064beba..e1d3d5dd6b5 100644 --- a/forge-gui/res/cardsfolder/b/basri_ket.txt +++ b/forge-gui/res/cardsfolder/b/basri_ket.txt @@ -6,7 +6,7 @@ A:AB$ PutCounter | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ Indestructible A:AB$ Effect | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | Triggers$ TrigAttack | SVars$ TrigToken,BasriX | SpellDescription$ Whenever one or more nontoken creatures attack this turn, create that many 1/1 white Soldier creature tokens that are tapped and attacking. SVar:TrigAttack:Mode$ AttackersDeclared | ValidAttackers$ Creature.nonToken+YouCtrl | TriggerZones$ Command | Execute$ TrigToken | TriggerDescription$ Whenever one or more nontoken creatures attack this turn, create that many 1/1 white Soldier creature tokens that are tapped and attacking. -SVar:TrigToken:DB$ Token | TokenAmount$ BasriX | References$ BasriX | TokenScript$ w_1_1_soldier | TokenOwner$ You | TokenTapped$ True | TokenAttacking$ True +SVar:TrigToken:DB$ Token | TokenAmount$ BasriX | TokenScript$ w_1_1_soldier | TokenOwner$ You | TokenTapped$ True | TokenAttacking$ True SVar:BasriX:TriggerObjectsAttackers$Valid Creature.nonToken+YouCtrl A:AB$ Effect | Cost$ SubCounter<6/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Basri Ket | Image$ emblem_basri_ket | Triggers$ EffPhase | SVars$ EmblemTrigToken,DBPutCounterAll | Duration$ Permanent | SpellDescription$ You get an emblem with "At the beginning of combat on your turn, create a 1/1 white Soldier creature token, then put a +1/+1 counter on each creature you control." SVar:EffPhase:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ EmblemTrigToken | TriggerDescription$ At the beginning of combat on your turn, create a 1/1 white Soldier creature token, then put a +1/+1 counter on each creature you control. diff --git a/forge-gui/res/cardsfolder/b/battalion_foot_soldier.txt b/forge-gui/res/cardsfolder/b/battalion_foot_soldier.txt index 5c0c8d15c7d..a5c77d843d3 100644 --- a/forge-gui/res/cardsfolder/b/battalion_foot_soldier.txt +++ b/forge-gui/res/cardsfolder/b/battalion_foot_soldier.txt @@ -3,6 +3,6 @@ ManaCost:2 W Types:Creature Human Soldier PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may search your library for any number of cards named Battalion Foot Soldier, reveal them, put them into your hand, then shuffle your library. -SVar:TrigChange:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card.namedBattalion Foot Soldier | ChangeNum$ X | References$ X | ShuffleNonMandatory$ True +SVar:TrigChange:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card.namedBattalion Foot Soldier | ChangeNum$ X | ShuffleNonMandatory$ True SVar:X:Count$InYourLibrary Oracle:When Battalion Foot Soldier enters the battlefield, you may search your library for any number of cards named Battalion Foot Soldier, reveal them, put them into your hand, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/b/battle_at_the_bridge.txt b/forge-gui/res/cardsfolder/b/battle_at_the_bridge.txt index f032a0c839b..007b5eae197 100644 --- a/forge-gui/res/cardsfolder/b/battle_at_the_bridge.txt +++ b/forge-gui/res/cardsfolder/b/battle_at_the_bridge.txt @@ -2,8 +2,8 @@ Name:Battle at the Bridge ManaCost:X B Types:Sorcery K:Improvise -A:SP$ Pump | Cost$ X B | ValidTgts$ Creature | TgtPrompt$ Select target creature | References$ X | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SubAbility$ DBGainLife | SpellDescription$ Target creature gets -X/-X until end of turn. -SVar:DBGainLife:DB$GainLife | LifeAmount$ X | References$ X | SpellDescription$ You gain X life. +A:SP$ Pump | Cost$ X B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SubAbility$ DBGainLife | SpellDescription$ Target creature gets -X/-X until end of turn. +SVar:DBGainLife:DB$GainLife | LifeAmount$ X | SpellDescription$ You gain X life. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/battle_at_the_bridge.jpg Oracle:Improvise (Your artifacts can help cast this spell. Each artifact you tap after you're done activating mana abilities pays for {1}.)\nTarget creature gets -X/-X until end of turn. You gain X life. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/b/battle_hymn.txt b/forge-gui/res/cardsfolder/b/battle_hymn.txt index f9851a80ac3..5af18234039 100644 --- a/forge-gui/res/cardsfolder/b/battle_hymn.txt +++ b/forge-gui/res/cardsfolder/b/battle_hymn.txt @@ -1,7 +1,7 @@ Name:Battle Hymn ManaCost:1 R Types:Instant -A:SP$ Mana | Cost$ 1 R | Produced$ R | Amount$ X | References$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {R} for each creature you control. +A:SP$ Mana | Cost$ 1 R | Produced$ R | Amount$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {R} for each creature you control. SVar:X:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/battle_hymn.jpg Oracle:Add {R} for each creature you control. diff --git a/forge-gui/res/cardsfolder/b/battle_squadron.txt b/forge-gui/res/cardsfolder/b/battle_squadron.txt index 21c6249dd8b..0e4c7524e5c 100644 --- a/forge-gui/res/cardsfolder/b/battle_squadron.txt +++ b/forge-gui/res/cardsfolder/b/battle_squadron.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Creature Goblin PT:*/* K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl SVar:BuffedBy:Creature SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/b/battlefield_medic.txt b/forge-gui/res/cardsfolder/b/battlefield_medic.txt index 041a1c2e089..1eb0e0a11c9 100644 --- a/forge-gui/res/cardsfolder/b/battlefield_medic.txt +++ b/forge-gui/res/cardsfolder/b/battlefield_medic.txt @@ -2,7 +2,7 @@ Name:Battlefield Medic ManaCost:1 W Types:Creature Human Cleric PT:1/1 -A:AB$ PreventDamage | Cost$ T | ValidTgts$ Creature | Amount$ X | TgtPrompt$ Select target creature | References$ X | SpellDescription$ Prevent the next X damage that would be dealt to target creature this turn, where X is the number of Clerics on the battlefield. +A:AB$ PreventDamage | Cost$ T | ValidTgts$ Creature | Amount$ X | TgtPrompt$ Select target creature | SpellDescription$ Prevent the next X damage that would be dealt to target creature this turn, where X is the number of Clerics on the battlefield. SVar:X:Count$TypeOnBattlefield.Cleric SVar:Picture:http://www.wizards.com/global/images/magic/general/battlefield_medic.jpg Oracle:{T}: Prevent the next X damage that would be dealt to target creature this turn, where X is the number of Clerics on the battlefield. diff --git a/forge-gui/res/cardsfolder/b/battlefield_thaumaturge.txt b/forge-gui/res/cardsfolder/b/battlefield_thaumaturge.txt index 6cb972cdf9f..22ee9cc8aab 100644 --- a/forge-gui/res/cardsfolder/b/battlefield_thaumaturge.txt +++ b/forge-gui/res/cardsfolder/b/battlefield_thaumaturge.txt @@ -2,7 +2,7 @@ Name:Battlefield Thaumaturge ManaCost:1 U Types:Creature Human Wizard PT:2/1 -S:Mode$ ReduceCost | ValidCard$ Instant.YouCtrl,Sorcery.YouCtrl | Relative$ True | Type$ Spell | Amount$ ReduceCost | References$ ReduceCost | EffectZone$ All | Description$ Each instant and sorcery spell you cast costs {1} less to cast for each creature it targets. +S:Mode$ ReduceCost | ValidCard$ Instant.YouCtrl,Sorcery.YouCtrl | Relative$ True | Type$ Spell | Amount$ ReduceCost | EffectZone$ All | Description$ Each instant and sorcery spell you cast costs {1} less to cast for each creature it targets. SVar:ReduceCost:TargetedObjects$Valid Creature T:Mode$ SpellCast | ValidActivatingPlayer$ You | TargetsValid$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Heroic — Whenever you cast a spell that targets CARDNAME, CARDNAME gains hexproof until end of turn. SVar:TrigPump:DB$ Pump | Defined$ Self | KW$ Hexproof diff --git a/forge-gui/res/cardsfolder/b/batwing_brume.txt b/forge-gui/res/cardsfolder/b/batwing_brume.txt index 8681b98ad1a..6906ddd7dd5 100644 --- a/forge-gui/res/cardsfolder/b/batwing_brume.txt +++ b/forge-gui/res/cardsfolder/b/batwing_brume.txt @@ -3,7 +3,7 @@ ManaCost:1 WB Types:Instant A:SP$ Fog | Cost$ 1 WB | ConditionManaSpent$ W | SubAbility$ BatwingRepeat | SpellDescription$ Prevent all combat damage that would be dealt this turn if {W} was spent to cast this spell. Each player loses 1 life for each attacking creature they control if {B} was spent to cast this spell. (Do both if {W}{B} was spent.) | StackDescription$ SpellDescription SVar:BatwingRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ BatwingLoseLife -SVar:BatwingLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ Remembered | ConditionManaSpent$ B | References$ X +SVar:BatwingLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ Remembered | ConditionManaSpent$ B SVar:X:PlayerCountRemembered$Valid Creature.YouCtrl+attacking AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/batwing_brume.jpg diff --git a/forge-gui/res/cardsfolder/b/bazaar_of_wonders.txt b/forge-gui/res/cardsfolder/b/bazaar_of_wonders.txt index e8e4369331f..8d0514d37cf 100644 --- a/forge-gui/res/cardsfolder/b/bazaar_of_wonders.txt +++ b/forge-gui/res/cardsfolder/b/bazaar_of_wonders.txt @@ -4,8 +4,8 @@ Types:World Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ ExileAll | TriggerDescription$ When CARDNAME enters the battlefield, exile all cards from all graveyards. SVar:ExileAll:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Exile | ChangeType$ Card T:Mode$ SpellCast | ValidCard$ Card | Execute$ TrigCounterSameGrave | TriggerZones$ Battlefield | TriggerDescription$ Whenever a player casts a spell, counter it if a card with the same name is in a graveyard or a nontoken permanent with the same name is on the battlefield. -SVar:TrigCounterSameGrave:DB$ Counter | Defined$ TriggeredSpellAbility | SubAbility$ DBCounterSamePermanent | ConditionCheckSVar$ SharesNameGrave | ConditionSVarCompare$ GE1 | References$ SharesNameGrave -SVar:DBCounterSamePermanent:DB$ Counter | Defined$ TriggeredSpellAbility | ConditionCheckSVar$ SharesNameBattlefield | ConditionSVarCompare$ GE1 | References$ SharesNameBattlefield +SVar:TrigCounterSameGrave:DB$ Counter | Defined$ TriggeredSpellAbility | SubAbility$ DBCounterSamePermanent | ConditionCheckSVar$ SharesNameGrave | ConditionSVarCompare$ GE1 +SVar:DBCounterSamePermanent:DB$ Counter | Defined$ TriggeredSpellAbility | ConditionCheckSVar$ SharesNameBattlefield | ConditionSVarCompare$ GE1 SVar:SharesNameGrave:TriggeredCard$Valid Card.sharesNameWith Graveyard SVar:SharesNameBattlefield:TriggeredCard$Valid Card.sharesNameWith NonToken SVar:AICurseEffect:BazaarOfWonders diff --git a/forge-gui/res/cardsfolder/b/beacon_bolt.txt b/forge-gui/res/cardsfolder/b/beacon_bolt.txt index 52b23157897..a8ce5745624 100644 --- a/forge-gui/res/cardsfolder/b/beacon_bolt.txt +++ b/forge-gui/res/cardsfolder/b/beacon_bolt.txt @@ -2,7 +2,7 @@ Name:Beacon Bolt ManaCost:1 U R Types:Sorcery K:Jump-start -A:SP$ DealDamage | Cost$ 1 U R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X,Y | SpellDescription$ CARDNAME deals damage to target creature equal to the total number of instant and sorcery cards you own in exile and in your graveyard. +A:SP$ DealDamage | Cost$ 1 U R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the total number of instant and sorcery cards you own in exile and in your graveyard. SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn/Plus.Y SVar:Y:Count$ValidExile Instant.YouOwn,Sorcery.YouOwn DeckHints:Type$Instant|Sorcery diff --git a/forge-gui/res/cardsfolder/b/beacon_of_creation.txt b/forge-gui/res/cardsfolder/b/beacon_of_creation.txt index 7eff8b9b07e..dad96c12400 100644 --- a/forge-gui/res/cardsfolder/b/beacon_of_creation.txt +++ b/forge-gui/res/cardsfolder/b/beacon_of_creation.txt @@ -1,7 +1,7 @@ Name:Beacon of Creation ManaCost:3 G Types:Sorcery -A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenScript$ g_1_1_insect | TokenOwner$ You | SubAbility$ DBShuffle | References$ X | SpellDescription$ Create a 1/1 green Insect creature token for each Forest you control. Shuffle CARDNAME into its owner's library. | LegacyImage$ g 1 1 insect 5dn +A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenScript$ g_1_1_insect | TokenOwner$ You | SubAbility$ DBShuffle | SpellDescription$ Create a 1/1 green Insect creature token for each Forest you control. Shuffle CARDNAME into its owner's library. | LegacyImage$ g 1 1 insect 5dn SVar:DBShuffle:DB$ChangeZone | Origin$ Stack | Destination$ Library | Shuffle$ True SVar:X:Count$TypeYouCtrl.Forest SVar:Picture:http://www.wizards.com/global/images/magic/general/beacon_of_creation.jpg diff --git a/forge-gui/res/cardsfolder/b/beacon_of_destiny.txt b/forge-gui/res/cardsfolder/b/beacon_of_destiny.txt index e8bb8fc2a2a..7866d38f47d 100644 --- a/forge-gui/res/cardsfolder/b/beacon_of_destiny.txt +++ b/forge-gui/res/cardsfolder/b/beacon_of_destiny.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Creature Human Cleric PT:1/3 A:AB$ ChooseSource | Cost$ T | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice would deal damage to you this turn, that damage is dealt to CARDNAME instead. -SVar:DBEffect:DB$ Effect | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,OutOfSight | References$ SelflessDamage,OutOfSight,SelflessDmg,ExileEffect | Duration$ HostLeavesOrEOT | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 +SVar:DBEffect:DB$ Effect | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,OutOfSight | Duration$ HostLeavesOrEOT | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ You | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ SelflessDmg | DamageTarget$ EffectSource | Description$ The next time a source of your choice would deal damage to you this turn, that damage is dealt to EFFECTSOURCE instead. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ EffectSource | VarType$ Card | SubAbility$ ExileEffect #Zone Change for the source of your choice diff --git a/forge-gui/res/cardsfolder/b/beacon_of_immortality.txt b/forge-gui/res/cardsfolder/b/beacon_of_immortality.txt index bca452741f9..6311a3817fd 100644 --- a/forge-gui/res/cardsfolder/b/beacon_of_immortality.txt +++ b/forge-gui/res/cardsfolder/b/beacon_of_immortality.txt @@ -1,7 +1,7 @@ Name:Beacon of Immortality ManaCost:5 W Types:Instant -A:SP$ GainLife | Cost$ 5 W | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | SubAbility$ DBShuffle | References$ X | SpellDescription$ Double target player's life total. Shuffle CARDNAME into its owner's library. +A:SP$ GainLife | Cost$ 5 W | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | SubAbility$ DBShuffle | SpellDescription$ Double target player's life total. Shuffle CARDNAME into its owner's library. SVar:DBShuffle:DB$ChangeZone | Origin$ Stack | Destination$ Library | Shuffle$ True SVar:X:TargetedPlayer$LifeTotal SVar:Picture:http://www.wizards.com/global/images/magic/general/beacon_of_immortality.jpg diff --git a/forge-gui/res/cardsfolder/b/beanstalk_giant_fertile_footsteps.txt b/forge-gui/res/cardsfolder/b/beanstalk_giant_fertile_footsteps.txt index 74cd7b67903..c45ec44052d 100644 --- a/forge-gui/res/cardsfolder/b/beanstalk_giant_fertile_footsteps.txt +++ b/forge-gui/res/cardsfolder/b/beanstalk_giant_fertile_footsteps.txt @@ -2,7 +2,7 @@ Name:Beanstalk Giant ManaCost:6 G Types:Creature Giant PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. SVar:X:Count$Valid Land.YouCtrl Oracle:Beanstalk Giant's power and toughness are each equal to the number of lands you control. AlternateMode:Adventure diff --git a/forge-gui/res/cardsfolder/b/bearded_axe.txt b/forge-gui/res/cardsfolder/b/bearded_axe.txt index 3f53e700690..b0349e4b508 100644 --- a/forge-gui/res/cardsfolder/b/bearded_axe.txt +++ b/forge-gui/res/cardsfolder/b/bearded_axe.txt @@ -1,7 +1,7 @@ Name:Bearded Axe ManaCost:2 R Types:Artifact Equipment -S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ Equipped creature gets +1/+1 for each Dwarf, Equipment, and/or Vehicle you control. +S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ X | AddToughness$ X | Description$ Equipped creature gets +1/+1 for each Dwarf, Equipment, and/or Vehicle you control. K:Equip:2 SVar:X:Count$Valid Dwarf.YouCtrl,Equipment.YouCtrl,Vehicle.YouCtrl DeckHints:Type$Dwarf|Equipment|Vehicle diff --git a/forge-gui/res/cardsfolder/b/beast_of_burden.txt b/forge-gui/res/cardsfolder/b/beast_of_burden.txt index 5a97a5bed5b..e4e934989e6 100644 --- a/forge-gui/res/cardsfolder/b/beast_of_burden.txt +++ b/forge-gui/res/cardsfolder/b/beast_of_burden.txt @@ -2,7 +2,7 @@ Name:Beast of Burden ManaCost:6 Types:Artifact Creature Golem PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures on the battlefield. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures on the battlefield. SVar:X:Count$Valid Creature SVar:BuffedBy:Creature SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/b/beastmasters_magemark.txt b/forge-gui/res/cardsfolder/b/beastmasters_magemark.txt index 72ca173fb82..8c6bda35796 100644 --- a/forge-gui/res/cardsfolder/b/beastmasters_magemark.txt +++ b/forge-gui/res/cardsfolder/b/beastmasters_magemark.txt @@ -5,6 +5,6 @@ K:Enchant creature A:SP$ Attach | Cost$ 2 G | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.enchanted+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Creatures you control that are enchanted get +1/+1. T:Mode$ AttackerBlocked | ValidCard$ Creature.enchanted+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever a creature you control that's enchanted becomes blocked, it gets +1/+1 until end of turn for each creature blocking it. -SVar:TrigPump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ +X | NumDef$ +X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ +X | NumDef$ +X SVar:X:TriggerCount$NumBlockers Oracle:Enchant creature\nCreatures you control that are enchanted get +1/+1.\nWhenever a creature you control that's enchanted becomes blocked, it gets +1/+1 until end of turn for each creature blocking it. diff --git a/forge-gui/res/cardsfolder/b/bedlam_reveler.txt b/forge-gui/res/cardsfolder/b/bedlam_reveler.txt index e1c692836c4..f82e7483cf3 100644 --- a/forge-gui/res/cardsfolder/b/bedlam_reveler.txt +++ b/forge-gui/res/cardsfolder/b/bedlam_reveler.txt @@ -2,7 +2,7 @@ Name:Bedlam Reveler ManaCost:6 R R Types:Creature Devil Horror PT:3/4 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each instant and sorcery card in your graveyard. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each instant and sorcery card in your graveyard. K:Prowess T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, discard your hand, then draw three cards. SVar:TrigDiscard:DB$ Discard | Mode$ Hand | SubAbility$ DBDraw diff --git a/forge-gui/res/cardsfolder/b/beguiler_of_wills.txt b/forge-gui/res/cardsfolder/b/beguiler_of_wills.txt index e81b0a2fd46..cebfd919678 100644 --- a/forge-gui/res/cardsfolder/b/beguiler_of_wills.txt +++ b/forge-gui/res/cardsfolder/b/beguiler_of_wills.txt @@ -2,7 +2,7 @@ Name:Beguiler of Wills ManaCost:3 U U Types:Creature Human Wizard PT:1/1 -A:AB$ GainControl | Cost$ T | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power less than or equal to the number of creatures you control | References$ X | SpellDescription$ Gain control of target creature with power less than or equal to the number of creatures you control. +A:AB$ GainControl | Cost$ T | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power less than or equal to the number of creatures you control | SpellDescription$ Gain control of target creature with power less than or equal to the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/beguiler_of_wills.jpg Oracle:{T}: Gain control of target creature with power less than or equal to the number of creatures you control. diff --git a/forge-gui/res/cardsfolder/b/belbe_corrupted_observer.txt b/forge-gui/res/cardsfolder/b/belbe_corrupted_observer.txt index 9d3316409d6..78867b9de4c 100644 --- a/forge-gui/res/cardsfolder/b/belbe_corrupted_observer.txt +++ b/forge-gui/res/cardsfolder/b/belbe_corrupted_observer.txt @@ -3,6 +3,6 @@ ManaCost:B G Types:Legendary Creature Elf Zombie PT:2/2 T:Mode$ Phase | Phase$ Main2 | TriggerZones$ Battlefield | Execute$ TrigMana | TriggerDescription$ At the beginning of each player's postcombat main phase, that player adds {C}{C} for each of your opponents who lost life this turn. (Damage causes loss of life.) -SVar:TrigMana:DB$ Mana | Produced$ C | Amount$ X | References$ X | Defined$ TriggeredPlayer +SVar:TrigMana:DB$ Mana | Produced$ C | Amount$ X | Defined$ TriggeredPlayer SVar:X:PlayerCountOpponents$HasPropertyLostLifeThisTurn/Twice Oracle:At the beginning of each player's postcombat main phase, that player adds {C}{C} for each of your opponents who lost life this turn. (Damage causes loss of life.) diff --git a/forge-gui/res/cardsfolder/b/belbes_armor.txt b/forge-gui/res/cardsfolder/b/belbes_armor.txt index dd7f0c49604..b6984b4cf2a 100644 --- a/forge-gui/res/cardsfolder/b/belbes_armor.txt +++ b/forge-gui/res/cardsfolder/b/belbes_armor.txt @@ -1,7 +1,7 @@ Name:Belbe's Armor ManaCost:3 Types:Artifact -A:AB$ Pump | Cost$ X T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ +X | References$ X | SpellDescription$ Target creature gets -X/+X until end of turn. +A:AB$ Pump | Cost$ X T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ +X | SpellDescription$ Target creature gets -X/+X until end of turn. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/belbes_armor.jpg diff --git a/forge-gui/res/cardsfolder/b/bell_borca_spectral_sergeant.txt b/forge-gui/res/cardsfolder/b/bell_borca_spectral_sergeant.txt index 25831263def..94fab640e16 100644 --- a/forge-gui/res/cardsfolder/b/bell_borca_spectral_sergeant.txt +++ b/forge-gui/res/cardsfolder/b/bell_borca_spectral_sergeant.txt @@ -4,12 +4,12 @@ Types:Legendary Creature Spirit Soldier PT:*/5 Text:Note the converted mana cost of each card as it's put into exile. T:Mode$ ChangesZone | Destination$ Exile | ValidCard$ Card | TriggerZones$ Battlefield | Execute$ TrigNoteNum | Static$ True -SVar:TrigNoteNum:DB$ StoreSVar | SVar$ ExiledCMC | Type$ Triggered | Expression$ CardManaCost | ConditionCheckSVar$ X | ConditionSVarCompare$ GTExiledCMC | References$ X,ExiledCMC +SVar:TrigNoteNum:DB$ StoreSVar | SVar$ ExiledCMC | Type$ Triggered | Expression$ CardManaCost | ConditionCheckSVar$ X | ConditionSVarCompare$ GTExiledCMC SVar:ExiledCMC:Number$0 SVar:X:TriggeredCard$CardManaCost T:Mode$ TurnBegin | Execute$ TrigReset | Static$ True SVar:TrigReset:DB$ StoreSVar | SVar$ ExiledCMC | Type$ Number | Expression$ 0 -S:Mode$ Continuous | EffectZone$ Battlefield | Affected$ Card.Self | SetPower$ ExiledCMC | References$ ExiledCMC | Description$ CARDNAME's power is equal to the greatest number noted for it this turn. +S:Mode$ Continuous | EffectZone$ Battlefield | Affected$ Card.Self | SetPower$ ExiledCMC | Description$ CARDNAME's power is equal to the greatest number noted for it this turn. T:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | ValidPlayer$ You | Execute$ PseudoDraw | TriggerDescription$ At the beginning of your upkeep, exile the top card of your library. You may play that card this turn. SVar:PseudoDraw:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ MayPlay | SubAbility$ DBCleanup | ExileOnMoved$ Exile diff --git a/forge-gui/res/cardsfolder/b/bellowing_saddlebrute.txt b/forge-gui/res/cardsfolder/b/bellowing_saddlebrute.txt index f08c51d6c1e..827b0dc1e17 100644 --- a/forge-gui/res/cardsfolder/b/bellowing_saddlebrute.txt +++ b/forge-gui/res/cardsfolder/b/bellowing_saddlebrute.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Creature Orc Warrior PT:4/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerDescription$ Raid — When CARDNAME enters the battlefield, you lose 4 life unless you attacked this turn. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 4 | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ EQ0 | References$ RaidTest +SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 4 | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ EQ0 SVar:RaidTest:Count$AttackersDeclared SVar:NeedsToPlayVar:RaidTest GE1 Oracle:Raid — When Bellowing Saddlebrute enters the battlefield, you lose 4 life unless you attacked this turn. diff --git a/forge-gui/res/cardsfolder/b/belltower_sphinx.txt b/forge-gui/res/cardsfolder/b/belltower_sphinx.txt index 6b6c716d752..2d0e9616f4b 100644 --- a/forge-gui/res/cardsfolder/b/belltower_sphinx.txt +++ b/forge-gui/res/cardsfolder/b/belltower_sphinx.txt @@ -4,7 +4,7 @@ Types:Creature Sphinx PT:2/5 K:Flying T:Mode$ DamageDone | ValidTarget$ Card.Self | Execute$ TrigMill | TriggerDescription$ Whenever a source deals damage to CARDNAME, that source's controller mills that many cards. -SVar:TrigMill:DB$ Mill | Defined$ TriggeredSourceController | NumCards$ X | References$ X +SVar:TrigMill:DB$ Mill | Defined$ TriggeredSourceController | NumCards$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE Oracle:Flying\nWhenever a source deals damage to Belltower Sphinx, that source's controller mills that many cards. diff --git a/forge-gui/res/cardsfolder/b/ben_ben_akki_hermit.txt b/forge-gui/res/cardsfolder/b/ben_ben_akki_hermit.txt index 10deb3feeaa..83c75279da0 100644 --- a/forge-gui/res/cardsfolder/b/ben_ben_akki_hermit.txt +++ b/forge-gui/res/cardsfolder/b/ben_ben_akki_hermit.txt @@ -2,7 +2,7 @@ Name:Ben-Ben, Akki Hermit ManaCost:2 R R Types:Legendary Creature Goblin Shaman PT:1/1 -A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking Creature | NumDmg$ X | References$ X | SpellDescription$ Ben-Ben, Akki Hermit deals damage to target attacking creature equal to the number of untapped Mountains you control. +A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking Creature | NumDmg$ X | SpellDescription$ Ben-Ben, Akki Hermit deals damage to target attacking creature equal to the number of untapped Mountains you control. SVar:X:Count$Valid Mountain.untapped+YouCtrl SVar:NonCombatPriority:1 SVar:Picture:http://www.wizards.com/global/images/magic/general/ben_ben_akki_hermit.jpg diff --git a/forge-gui/res/cardsfolder/b/benalish_commander.txt b/forge-gui/res/cardsfolder/b/benalish_commander.txt index 56c9379c7f8..bcba4798633 100644 --- a/forge-gui/res/cardsfolder/b/benalish_commander.txt +++ b/forge-gui/res/cardsfolder/b/benalish_commander.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Human Soldier Text:X can't be 0. PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | References$ Y | Description$ CARDNAME's power and toughness are each equal to the number of Soldiers you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | Description$ CARDNAME's power and toughness are each equal to the number of Soldiers you control. K:Suspend:X:XCantBe0 X W W T:Mode$ CounterRemoved | ValidCard$ Card.Self | TriggerZones$ Exile | CounterType$ TIME | Execute$ TrigToken | TriggerDescription$ Whenever a time counter is removed from CARDNAME while it's exiled, create a 1/1 white Soldier creature token. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier plc diff --git a/forge-gui/res/cardsfolder/b/benalish_honor_guard.txt b/forge-gui/res/cardsfolder/b/benalish_honor_guard.txt index e1c617a3f8d..587845eeda2 100644 --- a/forge-gui/res/cardsfolder/b/benalish_honor_guard.txt +++ b/forge-gui/res/cardsfolder/b/benalish_honor_guard.txt @@ -2,7 +2,7 @@ Name:Benalish Honor Guard ManaCost:1 W Types:Creature Human Knight PT:2/2 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | References$ X | Description$ CARDNAME gets +1/+0 for each legendary creature you control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | Description$ CARDNAME gets +1/+0 for each legendary creature you control. SVar:X:Count$Valid Creature.Legendary+YouCtrl SVar:BuffedBy:Creature.Legendary Oracle:Benalish Honor Guard gets +1/+0 for each legendary creature you control. diff --git a/forge-gui/res/cardsfolder/b/benediction_of_moons.txt b/forge-gui/res/cardsfolder/b/benediction_of_moons.txt index 37d91019362..53db9fd0811 100644 --- a/forge-gui/res/cardsfolder/b/benediction_of_moons.txt +++ b/forge-gui/res/cardsfolder/b/benediction_of_moons.txt @@ -2,7 +2,7 @@ Name:Benediction of Moons ManaCost:W Types:Sorcery K:Haunt:TrigGainLife -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SpellDescription$ You gain 1 life for each player. +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SpellDescription$ You gain 1 life for each player. SVar:X:PlayerCountPlayers$Amount DeckHas:Ability$LifeGain SVar:Picture:http://www.wizards.com/global/images/magic/general/benediction_of_moons.jpg diff --git a/forge-gui/res/cardsfolder/b/benevolent_offering.txt b/forge-gui/res/cardsfolder/b/benevolent_offering.txt index a54e78646c9..1432db14ad0 100644 --- a/forge-gui/res/cardsfolder/b/benevolent_offering.txt +++ b/forge-gui/res/cardsfolder/b/benevolent_offering.txt @@ -4,8 +4,8 @@ Types:Instant A:SP$ ChoosePlayer | Cost$ 3 W | Defined$ You | Choices$ Player.Opponent | SubAbility$ DBToken | SpellDescription$ Choose an opponent. You and that player each create three 1/1 white Spirit creature tokens with flying. Choose an opponent. You gain 2 life for each creature you control and that player gains 2 life for each creature they control. SVar:DBToken:DB$ Token | TokenAmount$ 3 | TokenScript$ w_1_1_spirit_flying | TokenOwner$ ChosenAndYou | LegacyImage$ w 1 1 spirit flying c14 | SubAbility$ DBChoose SVar:DBChoose:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | SubAbility$ DBGainLifeYou -SVar:DBGainLifeYou:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBGainLifeOpp -SVar:DBGainLifeOpp:DB$ GainLife | Defined$ ChosenPlayer | LifeAmount$ Y | References$ Y +SVar:DBGainLifeYou:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBGainLifeOpp +SVar:DBGainLifeOpp:DB$ GainLife | Defined$ ChosenPlayer | LifeAmount$ Y SVar:X:Count$Valid Creature.YouCtrl/Twice SVar:Y:Count$Valid Creature.ChosenCtrl/Twice AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/b/benevolent_unicorn.txt b/forge-gui/res/cardsfolder/b/benevolent_unicorn.txt index 7342cb72b62..32ced2e2b87 100644 --- a/forge-gui/res/cardsfolder/b/benevolent_unicorn.txt +++ b/forge-gui/res/cardsfolder/b/benevolent_unicorn.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Creature Unicorn PT:1/2 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Spell | ValidTarget$ Permanent,Player | ReplaceWith$ DmgMinus1 | Description$ If a spell would deal damage to a permanent or player, it deals that much damage minus 1 to that permanent or player instead. -SVar:DmgMinus1:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgMinus1:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Minus.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/benevolent_unicorn.jpg Oracle:If a spell would deal damage to a permanent or player, it deals that much damage minus 1 to that permanent or player instead. diff --git a/forge-gui/res/cardsfolder/b/berg_strider.txt b/forge-gui/res/cardsfolder/b/berg_strider.txt index 67b7149403e..95485eb7fc7 100644 --- a/forge-gui/res/cardsfolder/b/berg_strider.txt +++ b/forge-gui/res/cardsfolder/b/berg_strider.txt @@ -4,7 +4,7 @@ Types:Snow Creature Giant Wizard PT:4/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigTap | TriggerDescription$ When CARDNAME enters the battlefield, tap target artifact or creature an opponent controls. If {S} was spent to cast this spell, that permanent doesn't untap during its controller's next untap step. ({S} is mana from a snow source.) SVar:TrigTap:DB$ Tap | ValidTgts$ Artifact.OppCtrl,Creature.OppCtrl | TgtPrompt$ Choose target artifact or creature an opponent controls | SubAbility$ DBPump -SVar:DBPump:DB$ Pump | Defined$ Targeted | ConditionCheckSVar$ S | ConditionSVarCompare$ GE1 | KW$ HIDDEN This card doesn't untap during your next untap step. | Permanent$ True | References$ S +SVar:DBPump:DB$ Pump | Defined$ Targeted | ConditionCheckSVar$ S | ConditionSVarCompare$ GE1 | KW$ HIDDEN This card doesn't untap during your next untap step. | Permanent$ True SVar:S:Count$CastTotalSnowManaSpent DeckNeeds:Type$Snow Oracle:When Berg Strider enters the battlefield, tap target artifact or creature an opponent controls. If {S} was spent to cast this spell, that permanent doesn't untap during its controller's next untap step. ({S} is mana from a snow source.) diff --git a/forge-gui/res/cardsfolder/b/berserk.txt b/forge-gui/res/cardsfolder/b/berserk.txt index c5bd1a5f4dc..e879ab9a99f 100644 --- a/forge-gui/res/cardsfolder/b/berserk.txt +++ b/forge-gui/res/cardsfolder/b/berserk.txt @@ -1,7 +1,7 @@ Name:Berserk ManaCost:G Types:Instant -A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | KW$ Trample | ActivationPhases$ Upkeep->Declare Blockers | References$ X | SubAbility$ DelTrig | AILogic$ Berserk | SpellDescription$ Cast CARDNAME only before the combat damage step. Target creature gains trample and gets +X/+0 until end of turn, where X is its power. At the beginning of the next end step, destroy that creature if it attacked this turn. +A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | KW$ Trample | ActivationPhases$ Upkeep->Declare Blockers | SubAbility$ DelTrig | AILogic$ Berserk | SpellDescription$ Cast CARDNAME only before the combat damage step. Target creature gains trample and gets +X/+0 until end of turn, where X is its power. At the beginning of the next end step, destroy that creature if it attacked this turn. SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End Of Turn | Execute$ TrigDestroy | RememberObjects$ Targeted | TriggerDescription$ At the beginning of the next end step, destroy that creature if it attacked this turn. | AILogic$ Always SVar:TrigDestroy:DB$ Destroy | Defined$ DelayTriggerRemembered | ConditionDefined$ DelayTriggerRemembered | ConditionPresent$ Card.attackedThisTurn | ConditionCompare$ GE1 SVar:X:Targeted$CardPower diff --git a/forge-gui/res/cardsfolder/b/berserk_murlodont.txt b/forge-gui/res/cardsfolder/b/berserk_murlodont.txt index 3bcaf4d92b1..c6f771dd47d 100644 --- a/forge-gui/res/cardsfolder/b/berserk_murlodont.txt +++ b/forge-gui/res/cardsfolder/b/berserk_murlodont.txt @@ -3,7 +3,7 @@ ManaCost:4 G Types:Creature Beast PT:3/3 T:Mode$ AttackerBlocked | ValidCard$ Beast | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever a Beast becomes blocked, it gets +1/+1 until end of turn for each creature blocking it. -SVar:TrigPump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ +X | NumDef$ +X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ +X | NumDef$ +X SVar:X:TriggerCount$NumBlockers DeckHints:Type$Beast Oracle:Whenever a Beast becomes blocked, it gets +1/+1 until end of turn for each creature blocking it. diff --git a/forge-gui/res/cardsfolder/b/beseech_the_queen.txt b/forge-gui/res/cardsfolder/b/beseech_the_queen.txt index 77c47bfac22..4124b598ff5 100644 --- a/forge-gui/res/cardsfolder/b/beseech_the_queen.txt +++ b/forge-gui/res/cardsfolder/b/beseech_the_queen.txt @@ -1,7 +1,7 @@ Name:Beseech the Queen ManaCost:2/B 2/B 2/B Types:Sorcery -A:SP$ ChangeZone | Cost$ 2/B 2/B 2/B | Origin$ Library | Destination$ Hand | ChangeType$ Card.cmcLEX | ChangeNum$ 1 | References$ X | SpellDescription$ Search your library for a card with converted mana cost less than or equal to the number of lands you control, reveal it, put it into your hand, then shuffle your library. +A:SP$ ChangeZone | Cost$ 2/B 2/B 2/B | Origin$ Library | Destination$ Hand | ChangeType$ Card.cmcLEX | ChangeNum$ 1 | SpellDescription$ Search your library for a card with converted mana cost less than or equal to the number of lands you control, reveal it, put it into your hand, then shuffle your library. SVar:X:Count$Valid Land.YouCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/beseech_the_queen.jpg diff --git a/forge-gui/res/cardsfolder/b/bident_of_thassa.txt b/forge-gui/res/cardsfolder/b/bident_of_thassa.txt index ee8bedb98ed..0889fc7dd6b 100644 --- a/forge-gui/res/cardsfolder/b/bident_of_thassa.txt +++ b/forge-gui/res/cardsfolder/b/bident_of_thassa.txt @@ -3,7 +3,7 @@ ManaCost:2 U U Types:Legendary Enchantment Artifact T:Mode$ DamageDone | ValidSource$ Creature.YouCtrl | ValidTarget$ Player | CombatDamage$ True | OptionalDecider$ You | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Whenever a creature you control deals combat damage to a player, you may draw a card. SVar:TrigDraw:DB$ Draw | NumCards$ 1 -A:AB$ Effect | Cost$ 1 U T | StaticAbilities$ MustAttack | References$ MustAttack | SpellDescription$ Creatures your opponents control attack this turn if able. +A:AB$ Effect | Cost$ 1 U T | StaticAbilities$ MustAttack | SpellDescription$ Creatures your opponents control attack this turn if able. SVar:MustAttack:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.OppCtrl | AddHiddenKeyword$ CARDNAME attacks each combat if able. | Description$ Creatures your opponents control attack this turn if able. SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/bident_of_thassa.jpg diff --git a/forge-gui/res/cardsfolder/b/bind_the_monster.txt b/forge-gui/res/cardsfolder/b/bind_the_monster.txt index b58e91c3918..ffe8596a8e0 100644 --- a/forge-gui/res/cardsfolder/b/bind_the_monster.txt +++ b/forge-gui/res/cardsfolder/b/bind_the_monster.txt @@ -5,7 +5,7 @@ K:Enchant creature A:SP$ Attach | ValidTgts$ Creature | TgtPrompt$ Select target creature | AILogic$ KeepTapped T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigTap | TriggerDescription$ When CARDNAME enters the battlefield, tap enchanted creature. It deals damage to you equal to its power. SVar:TrigTap:DB$ Tap | Defined$ Enchanted | SubAbility$ DBDealDamage -SVar:DBDealDamage:DB$ DealDamage | Defined$ You | NumDmg$ X | References$ X | DamageSource$ Enchanted +SVar:DBDealDamage:DB$ DealDamage | Defined$ You | NumDmg$ X | DamageSource$ Enchanted SVar:X:Enchanted$CardPower S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | Description$ Enchanted creature doesn't untap during its controller's untap step. Oracle:Enchant creature\nWhen Bind the Monster enters the battlefield, tap enchanted creature. It deals damage to you equal to its power.\nEnchanted creature doesn't untap during its controller's untap step. diff --git a/forge-gui/res/cardsfolder/b/binding_agony.txt b/forge-gui/res/cardsfolder/b/binding_agony.txt index 45ab4ee4664..176a96885b8 100644 --- a/forge-gui/res/cardsfolder/b/binding_agony.txt +++ b/forge-gui/res/cardsfolder/b/binding_agony.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature | AILogic$ Curse T:Mode$ DamageDoneOnce | ValidTarget$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever enchanted creature is dealt damage, CARDNAME deals that much damage to that creature's controller. -SVar:TrigDealDamage:DB$ DealDamage | Defined$ TriggeredTargetController | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$ DealDamage | Defined$ TriggeredTargetController | NumDmg$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/binding_agony.jpg Oracle:Enchant creature\nWhenever enchanted creature is dealt damage, Binding Agony deals that much damage to that creature's controller. diff --git a/forge-gui/res/cardsfolder/b/bioessence_hydra.txt b/forge-gui/res/cardsfolder/b/bioessence_hydra.txt index 9579fa8fd69..7bfb4afd7ae 100644 --- a/forge-gui/res/cardsfolder/b/bioessence_hydra.txt +++ b/forge-gui/res/cardsfolder/b/bioessence_hydra.txt @@ -6,7 +6,7 @@ K:Trample K:etbCounter:P1P1:Y:no Condition:CARDNAME enters the battlefield with a +1/+1 counter on it for each loyalty counter on planeswalkers you control. SVar:Y:Count$TotalCounters_LOYALTY_Planeswalker.YouCtrl T:Mode$ CounterAddedAll | CounterType$ LOYALTY | Valid$ Planeswalker.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever one or more loyalty counters are put on planeswalkers you control, put that many +1/+1 counters on CARDNAME. -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ Z | References$ Z +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ Z SVar:Z:TriggerCount$Amount DeckHints:Type$Planeswalker DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/b/biomantic_mastery.txt b/forge-gui/res/cardsfolder/b/biomantic_mastery.txt index 6f652c6865f..16a88c0138c 100644 --- a/forge-gui/res/cardsfolder/b/biomantic_mastery.txt +++ b/forge-gui/res/cardsfolder/b/biomantic_mastery.txt @@ -1,8 +1,8 @@ Name:Biomantic Mastery ManaCost:4 GU GU GU Types:Sorcery -A:SP$ Draw | Cost$ 4 GU GU GU | Defined$ You | ValidTgts$ Player | NumCards$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ Draw a card for each creature target player controls, then draw a card for each creature another target player controls. -SVar:DBDraw:DB$ Draw | Defined$ You | ValidTgts$ Player | TargetUnique$ True | NumCards$ X | References$ X +A:SP$ Draw | Cost$ 4 GU GU GU | Defined$ You | ValidTgts$ Player | NumCards$ X | SubAbility$ DBDraw | SpellDescription$ Draw a card for each creature target player controls, then draw a card for each creature another target player controls. +SVar:DBDraw:DB$ Draw | Defined$ You | ValidTgts$ Player | TargetUnique$ True | NumCards$ X SVar:X:ThisTargetedPlayer$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/biomantic_mastery.jpg Oracle:Draw a card for each creature target player controls, then draw a card for each creature another target player controls. diff --git a/forge-gui/res/cardsfolder/b/biomass_mutation.txt b/forge-gui/res/cardsfolder/b/biomass_mutation.txt index 972399d53d0..6fe9eb5a453 100644 --- a/forge-gui/res/cardsfolder/b/biomass_mutation.txt +++ b/forge-gui/res/cardsfolder/b/biomass_mutation.txt @@ -1,7 +1,7 @@ Name:Biomass Mutation ManaCost:X GU GU Types:Instant -A:SP$ AnimateAll | Cost$ X GU GU | Power$ X | Toughness$ X | References$ X | ValidCards$ Creature.YouCtrl | SpellDescription$ Creatures you control have base power and toughness X/X until end of turn. +A:SP$ AnimateAll | Cost$ X GU GU | Power$ X | Toughness$ X | ValidCards$ Creature.YouCtrl | SpellDescription$ Creatures you control have base power and toughness X/X until end of turn. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/biomass_mutation.jpg diff --git a/forge-gui/res/cardsfolder/b/bioplasm.txt b/forge-gui/res/cardsfolder/b/bioplasm.txt index 4384371d795..199200170e1 100644 --- a/forge-gui/res/cardsfolder/b/bioplasm.txt +++ b/forge-gui/res/cardsfolder/b/bioplasm.txt @@ -4,7 +4,7 @@ Types:Creature Ooze PT:4/4 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, exile the top card of your library. If it's a creature card, CARDNAME gets +X/+Y until end of turn, where X is the exiled creature card's power and Y is its toughness. SVar:TrigExile:DB$ Dig | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBPump -SVar:DBPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ Y | ConditionCheckSVar$ Z | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup | References$ X,Y,Z +SVar:DBPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ Y | ConditionCheckSVar$ Z | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardPower SVar:Y:Remembered$CardToughness diff --git a/forge-gui/res/cardsfolder/b/biorhythm.txt b/forge-gui/res/cardsfolder/b/biorhythm.txt index 3d7d4cfbe74..2886a69de63 100644 --- a/forge-gui/res/cardsfolder/b/biorhythm.txt +++ b/forge-gui/res/cardsfolder/b/biorhythm.txt @@ -2,7 +2,7 @@ Name:Biorhythm ManaCost:6 G G Types:Sorcery A:SP$ RepeatEach | Cost$ 6 G G | RepeatPlayers$ Player | RepeatSubAbility$ DBSetLife | SpellDescription$ Each player's life total becomes the number of creatures they control. -SVar:DBSetLife:DB$ SetLife | Defined$ Player.IsRemembered | LifeAmount$ X | References$ X +SVar:DBSetLife:DB$ SetLife | Defined$ Player.IsRemembered | LifeAmount$ X SVar:X:Count$Valid Creature.RememberedPlayerCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/biorhythm.jpg diff --git a/forge-gui/res/cardsfolder/b/birthing_pod.txt b/forge-gui/res/cardsfolder/b/birthing_pod.txt index 76c7a38f6fe..33c857dc0ce 100644 --- a/forge-gui/res/cardsfolder/b/birthing_pod.txt +++ b/forge-gui/res/cardsfolder/b/birthing_pod.txt @@ -1,7 +1,7 @@ Name:Birthing Pod ManaCost:3 PG Types:Artifact -A:AB$ ChangeZone | Cost$ 1 PG T Sac<1/Creature> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcEQX | References$ X | ChangeNum$ 1 | SorcerySpeed$ True | AILogic$ SacAndUpgrade | StackDescription$ Search your library for a creature card with converted mana cost equal to 1 plus the sacrificed creature's converted mana cost, put that card onto the battlefield, then shuffle your library. | SpellDescription$ Search your library for a creature card with converted mana cost equal to 1 plus the sacrificed creature's converted mana cost, put that card onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery. +A:AB$ ChangeZone | Cost$ 1 PG T Sac<1/Creature> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcEQX | ChangeNum$ 1 | SorcerySpeed$ True | AILogic$ SacAndUpgrade | StackDescription$ Search your library for a creature card with converted mana cost equal to 1 plus the sacrificed creature's converted mana cost, put that card onto the battlefield, then shuffle your library. | SpellDescription$ Search your library for a creature card with converted mana cost equal to 1 plus the sacrificed creature's converted mana cost, put that card onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery. SVar:X:Sacrificed$CardManaCost/Plus.1 # AI Preference is needed to make the AI consider the ability. Further constraints are defined by AILogic SacAndUpgrade. SVar:AIPreference:SacCost$Creature diff --git a/forge-gui/res/cardsfolder/b/bishop_of_binding.txt b/forge-gui/res/cardsfolder/b/bishop_of_binding.txt index 4600573a8e2..c73f4836932 100644 --- a/forge-gui/res/cardsfolder/b/bishop_of_binding.txt +++ b/forge-gui/res/cardsfolder/b/bishop_of_binding.txt @@ -9,7 +9,7 @@ SVar:ComeBack:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Valid SVar:TrigReturn:DB$ ChangeZoneAll | Origin$ Exile | Destination$ Battlefield | ChangeType$ Card.IsRemembered | SubAbility$ ExileSelf SVar:ExileSelf:DB$ ChangeZone | Origin$ Command | Destination$ Exile | Defined$ Self T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, target Vampire gets +X/+X until end of turn, where X is the power of the exiled card. -SVar:TrigPump:DB$ Pump | ValidTgts$ Permanent.Vampire | TgtPrompt$ Select target Vampire | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | ValidTgts$ Permanent.Vampire | TgtPrompt$ Select target Vampire | NumAtt$ X | NumDef$ X SVar:X:Remembered$CardPower // Release notes indicate that this effect should work with Vehicle cards. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup diff --git a/forge-gui/res/cardsfolder/b/bishop_of_the_bloodstained.txt b/forge-gui/res/cardsfolder/b/bishop_of_the_bloodstained.txt index bb38bdaa3f7..90f2f2cf871 100644 --- a/forge-gui/res/cardsfolder/b/bishop_of_the_bloodstained.txt +++ b/forge-gui/res/cardsfolder/b/bishop_of_the_bloodstained.txt @@ -3,7 +3,7 @@ ManaCost:3 B B Types:Creature Vampire Cleric PT:3/3 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ When CARDNAME enters the battlefield, target opponent loses 1 life for each Vampire you control. -SVar:TrigLoseLife:DB$ LoseLife | ValidTgts$ Opponent | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | ValidTgts$ Opponent | LifeAmount$ X SVar:X:Count$Valid Creature.Vampire+YouCtrl+inZoneBattlefield DeckHints:Type$Vampire SVar:Picture:http://www.wizards.com/global/images/magic/general/bishop_of_the_bloodstained.jpg diff --git a/forge-gui/res/cardsfolder/b/bitter_feud.txt b/forge-gui/res/cardsfolder/b/bitter_feud.txt index 5b5e13202c2..8b535423a65 100644 --- a/forge-gui/res/cardsfolder/b/bitter_feud.txt +++ b/forge-gui/res/cardsfolder/b/bitter_feud.txt @@ -6,7 +6,7 @@ SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player | AILogic$ Curse SVar:ChoosePTwo:DB$ ChoosePlayer | Defined$ You | Choices$ NonChosenPlayer | AILogic$ Curse R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.RememberedPlayerCtrl | ValidTarget$ Permanent.ChosenCtrl,Player.Chosen | ReplaceWith$ DmgTwice | Description$ If a source controlled by one of the chosen players would deal damage to the other chosen player or a permanent that player controls, that source deals double that damage to that player or permanent instead. R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.ChosenCtrl | ValidTarget$ Permanent.RememberedPlayerCtrl,Player.IsRemembered | ReplaceWith$ DmgTwice | Secondary$ True | Description$ If a source controlled by one of the chosen players would deal damage to the other chosen player or a permanent that player controls, that source deals double that damage to that player or permanent instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ DBCleanup | Static$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/b/black_mana_battery.txt b/forge-gui/res/cardsfolder/b/black_mana_battery.txt index 6a12adfc3ef..fbffdb81a9a 100644 --- a/forge-gui/res/cardsfolder/b/black_mana_battery.txt +++ b/forge-gui/res/cardsfolder/b/black_mana_battery.txt @@ -2,7 +2,7 @@ Name:Black Mana Battery ManaCost:4 Types:Artifact A:AB$ PutCounter | Cost$ 2 T | CounterType$ CHARGE | CounterNum$ 1 | SpellDescription$ Put a charge counter on CARDNAME. -A:AB$ Mana | Cost$ T SubCounter | References$ X,Y | Produced$ B | Amount$ Y | CostDesc$ {T}, Remove any number of charge counters from CARDNAME: | AILogic$ ManaRitualBattery.1 | AINoRecursiveCheck$ True | SpellDescription$ Add {B}, then add an additional {B} for each charge counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ B | Amount$ Y | CostDesc$ {T}, Remove any number of charge counters from CARDNAME: | AILogic$ ManaRitualBattery.1 | AINoRecursiveCheck$ True | SpellDescription$ Add {B}, then add an additional {B} for each charge counter removed this way. SVar:Y:SVar$X/Plus.1 SVar:X:Count$xPaid AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/b/black_market.txt b/forge-gui/res/cardsfolder/b/black_market.txt index 3959515998e..201ec2e9cbe 100644 --- a/forge-gui/res/cardsfolder/b/black_market.txt +++ b/forge-gui/res/cardsfolder/b/black_market.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a creature dies, put a charge counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1 T:Mode$ Phase | PreCombatMain$ True | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGetMana | TriggerDescription$ At the beginning of your precombat main phase, add {B} for each charge counter on CARDNAME. -SVar:TrigGetMana:DB$ Mana | Produced$ B | Amount$ X | References$ X | SpellDescription$ Add {X}{B} +SVar:TrigGetMana:DB$ Mana | Produced$ B | Amount$ X | SpellDescription$ Add {X}{B} SVar:X:Count$CardCounters.CHARGE SVar:Picture:http://www.wizards.com/global/images/magic/general/black_market.jpg Oracle:Whenever a creature dies, put a charge counter on Black Market.\nAt the beginning of your precombat main phase, add {B} for each charge counter on Black Market. diff --git a/forge-gui/res/cardsfolder/b/black_suns_zenith.txt b/forge-gui/res/cardsfolder/b/black_suns_zenith.txt index e17219f258c..02ac2095672 100644 --- a/forge-gui/res/cardsfolder/b/black_suns_zenith.txt +++ b/forge-gui/res/cardsfolder/b/black_suns_zenith.txt @@ -1,7 +1,7 @@ Name:Black Sun's Zenith ManaCost:X B B Types:Sorcery -A:SP$ PutCounterAll | Cost$ X B B | ValidCards$ Creature | CounterType$ M1M1 | CounterNum$ X | SubAbility$ DBShuffle | IsCurse$ True | References$ X | SpellDescription$ Put X -1/-1 counters on each creature. Shuffle CARDNAME into its owner's library. +A:SP$ PutCounterAll | Cost$ X B B | ValidCards$ Creature | CounterType$ M1M1 | CounterNum$ X | SubAbility$ DBShuffle | IsCurse$ True | SpellDescription$ Put X -1/-1 counters on each creature. Shuffle CARDNAME into its owner's library. SVar:X:Count$xPaid SVar:DBShuffle:DB$ChangeZone | Origin$ Stack | Destination$ Library | Shuffle$ True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/b/black_vise.txt b/forge-gui/res/cardsfolder/b/black_vise.txt index 00d71ef8f95..0e6df30eb4d 100644 --- a/forge-gui/res/cardsfolder/b/black_vise.txt +++ b/forge-gui/res/cardsfolder/b/black_vise.txt @@ -4,7 +4,7 @@ Types:Artifact K:ETBReplacement:Other:ChooseP SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | ChoiceTitle$ Choose an opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.Chosen | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of the chosen player's upkeep, CARDNAME deals X damage to that player, where X is the number of cards in their hand minus 4. -SVar:TrigDamage:DB$ DealDamage | Defined$ ChosenPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ ChosenPlayer | NumDmg$ X SVar:X:Count$InChosenHand/Minus.4 SVar:Picture:http://www.wizards.com/global/images/magic/general/black_vise.jpg Oracle:As Black Vise enters the battlefield, choose an opponent.\nAt the beginning of the chosen player's upkeep, Black Vise deals X damage to that player, where X is the number of cards in their hand minus 4. diff --git a/forge-gui/res/cardsfolder/b/blackblade_reforged.txt b/forge-gui/res/cardsfolder/b/blackblade_reforged.txt index 6931ca136c1..be7687b1d03 100644 --- a/forge-gui/res/cardsfolder/b/blackblade_reforged.txt +++ b/forge-gui/res/cardsfolder/b/blackblade_reforged.txt @@ -3,6 +3,6 @@ ManaCost:2 Types:Legendary Artifact Equipment K:Equip:3:Creature.YouCtrl+Legendary:legendary creature K:Equip:7 -S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ Equipped creature gets +1/+1 for each land you control. +S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ X | AddToughness$ X | Description$ Equipped creature gets +1/+1 for each land you control. SVar:X:Count$Valid Land.YouCtrl Oracle:Equipped creature gets +1/+1 for each land you control.\nEquip legendary creature {3}\nEquip {7} diff --git a/forge-gui/res/cardsfolder/b/blackcleave_cliffs.txt b/forge-gui/res/cardsfolder/b/blackcleave_cliffs.txt index 626f063a2c4..ff3ce1de290 100644 --- a/forge-gui/res/cardsfolder/b/blackcleave_cliffs.txt +++ b/forge-gui/res/cardsfolder/b/blackcleave_cliffs.txt @@ -2,7 +2,7 @@ Name:Blackcleave Cliffs ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. SVar:ETBCheckSVar2:Count$LastStateBattlefield Land.YouCtrl A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}. A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R}. diff --git a/forge-gui/res/cardsfolder/b/blade_of_the_bloodchief.txt b/forge-gui/res/cardsfolder/b/blade_of_the_bloodchief.txt index 751c4dc23d0..a9f86328f80 100644 --- a/forge-gui/res/cardsfolder/b/blade_of_the_bloodchief.txt +++ b/forge-gui/res/cardsfolder/b/blade_of_the_bloodchief.txt @@ -3,7 +3,7 @@ ManaCost:1 Types:Artifact Equipment K:Equip:1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature | TriggerZones$ Battlefield | Execute$ TrigGainCounter | TriggerDescription$ Whenever Whenever a creature dies, put a +1/+1 counter on equipped creature. If equipped creature is a Vampire, put two +1/+1 counters on it instead. -SVar:TrigGainCounter:DB$ PutCounter | Defined$ Equipped | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigGainCounter:DB$ PutCounter | Defined$ Equipped | CounterType$ P1P1 | CounterNum$ X SVar:X:Count$Valid Creature.EquippedBy+Vampire/Plus.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/blade_of_the_bloodchief.jpg Oracle:Whenever a creature dies, put a +1/+1 counter on equipped creature. If equipped creature is a Vampire, put two +1/+1 counters on it instead.\nEquip {1} diff --git a/forge-gui/res/cardsfolder/b/blademane_baku.txt b/forge-gui/res/cardsfolder/b/blademane_baku.txt index 6a76267a5de..975eea98974 100644 --- a/forge-gui/res/cardsfolder/b/blademane_baku.txt +++ b/forge-gui/res/cardsfolder/b/blademane_baku.txt @@ -4,7 +4,7 @@ Types:Creature Spirit PT:1/1 T:Mode$ SpellCast | ValidCard$ Spirit,Arcane | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ Whenever you cast a Spirit or Arcane spell, you may put a ki counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ KI | CounterNum$ 1 -A:AB$ Pump | Cost$ 1 SubCounter | Defined$ Self | NumAtt$ +Y | References$ X,Y | SpellDescription$ For each counter removed, CARDNAME gets +2/+0 until end of turn. +A:AB$ Pump | Cost$ 1 SubCounter | Defined$ Self | NumAtt$ +Y | SpellDescription$ For each counter removed, CARDNAME gets +2/+0 until end of turn. SVar:X:Count$xPaid SVar:Y:SVar$X/Times.2 AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/b/blasphemous_act.txt b/forge-gui/res/cardsfolder/b/blasphemous_act.txt index ec302ddd440..8db0190203d 100644 --- a/forge-gui/res/cardsfolder/b/blasphemous_act.txt +++ b/forge-gui/res/cardsfolder/b/blasphemous_act.txt @@ -2,7 +2,7 @@ Name:Blasphemous Act ManaCost:8 R Types:Sorcery A:SP$ DamageAll | Cost$ 8 R | NumDmg$ 13 | ValidCards$ Creature | ValidDescription$ each creature. | SpellDescription$ CARDNAME deals 13 damage to each creature. -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each creature on the battlefield. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each creature on the battlefield. SVar:X:Count$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/blasphemous_act.jpg Oracle:This spell costs {1} less to cast for each creature on the battlefield.\nBlasphemous Act deals 13 damage to each creature. diff --git a/forge-gui/res/cardsfolder/b/blast_of_genius.txt b/forge-gui/res/cardsfolder/b/blast_of_genius.txt index f501b329f53..c76ad144548 100644 --- a/forge-gui/res/cardsfolder/b/blast_of_genius.txt +++ b/forge-gui/res/cardsfolder/b/blast_of_genius.txt @@ -3,7 +3,7 @@ ManaCost:4 U R Types:Sorcery A:SP$ Draw | Cost$ 4 U R | NumCards$ 3 | SubAbility$ DBDiscard | SpellDescription$ Choose any target. Draw three cards and discard a card. CARDNAME deals damage equal to the converted mana cost of the discard card to that permanent or player. SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBDamage -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Choose any target | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Choose any target | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/b/blast_zone.txt b/forge-gui/res/cardsfolder/b/blast_zone.txt index 2c45427cbb2..ebf501e1dd6 100644 --- a/forge-gui/res/cardsfolder/b/blast_zone.txt +++ b/forge-gui/res/cardsfolder/b/blast_zone.txt @@ -3,10 +3,10 @@ ManaCost:no cost Types:Land K:etbCounter:CHARGE:1 A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ PutCounter | Cost$ X X T | CounterType$ CHARGE | CounterNum$ X | References$ X | SpellDescription$ Put X charge counters on CARDNAME. +A:AB$ PutCounter | Cost$ X X T | CounterType$ CHARGE | CounterNum$ X | SpellDescription$ Put X charge counters on CARDNAME. SVar:X:Count$xPaid AI:RemoveDeck:All -A:AB$ DestroyAll | Cost$ 3 T Sac<1/CARDNAME> | ValidCards$ Permanent.nonLand+cmcEQY | References$ Y | SpellDescription$ Destroy each nonland permanent with converted mana cost equal to the number of charge counters on CARDNAME. +A:AB$ DestroyAll | Cost$ 3 T Sac<1/CARDNAME> | ValidCards$ Permanent.nonLand+cmcEQY | SpellDescription$ Destroy each nonland permanent with converted mana cost equal to the number of charge counters on CARDNAME. SVar:Y:Count$CardCounters.CHARGE DeckHas:Ability$Counters Oracle:Blast Zone enters the battlefield with a charge counter on it.\n{T}: Add {C}.\n{X}{X}, {T}: Put X charge counters on Blast Zone.\n{3}, {T}, Sacrifice Blast Zone: Destroy each nonland permanent with converted mana cost equal to the number of charge counters on Blast Zone. diff --git a/forge-gui/res/cardsfolder/b/blatant_thievery.txt b/forge-gui/res/cardsfolder/b/blatant_thievery.txt index be9aa6b44b1..320dcf698cb 100644 --- a/forge-gui/res/cardsfolder/b/blatant_thievery.txt +++ b/forge-gui/res/cardsfolder/b/blatant_thievery.txt @@ -1,7 +1,7 @@ Name:Blatant Thievery ManaCost:4 U U U Types:Sorcery -A:SP$ GainControl | Cost$ 4 U U U | ValidTgts$ Permanent.OppCtrl | TgtPrompt$ Select target permanent an opponent controls to gain control of. | TargetMin$ OneEach | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | SpellDescription$ For each opponent, gain control of target permanent that player controls. +A:SP$ GainControl | Cost$ 4 U U U | ValidTgts$ Permanent.OppCtrl | TgtPrompt$ Select target permanent an opponent controls to gain control of. | TargetMin$ OneEach | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | SpellDescription$ For each opponent, gain control of target permanent that player controls. SVar:OneEach:PlayerCountOpponents$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/blatant_thievery.jpg Oracle:For each opponent, gain control of target permanent that player controls. diff --git a/forge-gui/res/cardsfolder/b/blaze.txt b/forge-gui/res/cardsfolder/b/blaze.txt index 956722c52c3..72167222957 100644 --- a/forge-gui/res/cardsfolder/b/blaze.txt +++ b/forge-gui/res/cardsfolder/b/blaze.txt @@ -1,7 +1,7 @@ Name:Blaze ManaCost:X R Types:Sorcery -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/blaze.jpg Oracle:Blaze deals X damage to any target. diff --git a/forge-gui/res/cardsfolder/b/blazing_effigy.txt b/forge-gui/res/cardsfolder/b/blazing_effigy.txt index 898e8da214b..24d2a6a5818 100644 --- a/forge-gui/res/cardsfolder/b/blazing_effigy.txt +++ b/forge-gui/res/cardsfolder/b/blazing_effigy.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Elemental PT:0/3 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ BlazeDmg | TriggerDescription$ When CARDNAME dies, it deals X damage to target creature, where X is 3 plus the amount of damage dealt to CARDNAME this turn by other sources named Blazing Effigy. -SVar:BlazeDmg:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature to deal damage to | NumDmg$ BlazeSize | References$ BlazeSize,Contributions | SubAbility$ TrigReset +SVar:BlazeDmg:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature to deal damage to | NumDmg$ BlazeSize | SubAbility$ TrigReset T:Mode$ DamageDone | ValidSource$ Card.Other+namedBlazing Effigy | ValidTarget$ Card.Self | Execute$ StoreContribution | Static$ True SVar:StoreContribution:DB$ StoreSVar | SVar$ Contributions | Type$ CountSVar | Expression$ Contributions/Plus.Blazed T:Mode$ Phase | Phase$ Cleanup | Execute$ TrigReset | Static$ True diff --git a/forge-gui/res/cardsfolder/b/blazing_hope.txt b/forge-gui/res/cardsfolder/b/blazing_hope.txt index cd6e1c92fc8..f43fb0fb65b 100644 --- a/forge-gui/res/cardsfolder/b/blazing_hope.txt +++ b/forge-gui/res/cardsfolder/b/blazing_hope.txt @@ -1,7 +1,7 @@ Name:Blazing Hope ManaCost:W Types:Instant -A:SP$ ChangeZone | Cost$ W | ValidTgts$ Creature.powerGEX | References$ X | TgtPrompt$ Select target creature with power greater than or equal to your life total. | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target creature with power greater than or equal to your life total. +A:SP$ ChangeZone | Cost$ W | ValidTgts$ Creature.powerGEX | TgtPrompt$ Select target creature with power greater than or equal to your life total. | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target creature with power greater than or equal to your life total. SVar:X:Count$YourLifeTotal SVar:Picture:http://www.wizards.com/global/images/magic/general/blazing_hope.jpg Oracle:Exile target creature with power greater than or equal to your life total. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/b/blazing_shoal.txt b/forge-gui/res/cardsfolder/b/blazing_shoal.txt index edeccc760a5..037e1ccf96c 100644 --- a/forge-gui/res/cardsfolder/b/blazing_shoal.txt +++ b/forge-gui/res/cardsfolder/b/blazing_shoal.txt @@ -2,7 +2,7 @@ Name:Blazing Shoal ManaCost:X R R Types:Instant Arcane SVar:AltCost:Cost$ ExileFromHand<1/Card.Red+Other/red card> | Description$ You may exile a red card with converted mana cost X from your hand rather than pay this spell's mana cost. -A:SP$ Pump | Cost$ X R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +Z | References$ X,Y,Z | SpellDescription$ Target creature gets +X/+0 until end of turn. +A:SP$ Pump | Cost$ X R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +Z | SpellDescription$ Target creature gets +X/+0 until end of turn. SVar:X:Count$xPaid SVar:Y:Exiled$CardManaCost SVar:Z:SVar$Y/Plus.X diff --git a/forge-gui/res/cardsfolder/b/blazing_sunsteel.txt b/forge-gui/res/cardsfolder/b/blazing_sunsteel.txt index 104307a4c00..7bdc9153c9b 100644 --- a/forge-gui/res/cardsfolder/b/blazing_sunsteel.txt +++ b/forge-gui/res/cardsfolder/b/blazing_sunsteel.txt @@ -1,10 +1,10 @@ Name:Blazing Sunsteel ManaCost:1 R Types:Artifact Equipment -S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ Y | References$ Y | Description$ Equipped creature gets +1/+0 for each opponent you have. +S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ Y | Description$ Equipped creature gets +1/+0 for each opponent you have. SVar:Y:PlayerCountOpponents$Amount T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Creature.EquippedBy | TriggerZones$ Battlefield | TriggerDescription$ Whenever equipped creature is dealt damage, it deals that much damage to any target. -SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | References$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target +SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target SVar:X:TriggerCount$DamageAmount K:Equip:4 Oracle:Equipped creature gets +1/+0 for each opponent you have.\nWhenever equipped creature is dealt damage, it deals that much damage to any target.\nEquip {4} diff --git a/forge-gui/res/cardsfolder/b/blessed_reversal.txt b/forge-gui/res/cardsfolder/b/blessed_reversal.txt index 50f0ab851a8..2a3f5be3365 100644 --- a/forge-gui/res/cardsfolder/b/blessed_reversal.txt +++ b/forge-gui/res/cardsfolder/b/blessed_reversal.txt @@ -1,7 +1,7 @@ Name:Blessed Reversal ManaCost:1 W Types:Instant -A:SP$ GainLife | Cost$ 1 W | LifeAmount$ X | References$ X | SpellDescription$ You gain 3 life for each creature attacking you. +A:SP$ GainLife | Cost$ 1 W | LifeAmount$ X | SpellDescription$ You gain 3 life for each creature attacking you. SVar:X:Count$Valid Creature.attackingYou/Times.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/blessed_reversal.jpg Oracle:You gain 3 life for each creature attacking you. diff --git a/forge-gui/res/cardsfolder/b/blessing_of_belzenlok.txt b/forge-gui/res/cardsfolder/b/blessing_of_belzenlok.txt index 2187660e2e2..9d157487866 100644 --- a/forge-gui/res/cardsfolder/b/blessing_of_belzenlok.txt +++ b/forge-gui/res/cardsfolder/b/blessing_of_belzenlok.txt @@ -2,6 +2,6 @@ Name:Blessing of Belzenlok ManaCost:B Types:Instant A:SP$ Pump | Cost$ B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +2 | NumDef$ +1 | SubAbility$ DBPump | SpellDescription$ Target creature gets +2/+1 until end of turn. If it's legendary, it also gains lifelink until end of turn. -SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ Lifelink | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ Lifelink | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:Targeted$Valid Legendary Oracle:Target creature gets +2/+1 until end of turn. If it's legendary, it also gains lifelink until end of turn. diff --git a/forge-gui/res/cardsfolder/b/blessing_of_frost.txt b/forge-gui/res/cardsfolder/b/blessing_of_frost.txt index 704589da29d..d437692d7f0 100644 --- a/forge-gui/res/cardsfolder/b/blessing_of_frost.txt +++ b/forge-gui/res/cardsfolder/b/blessing_of_frost.txt @@ -1,9 +1,9 @@ Name:Blessing of Frost ManaCost:3 G Types:Snow Sorcery -A:SP$ PutCounter | Cost$ 3 G | Choices$ Creature.YouCtrl | ChoiceTitle$ Choose any number of creatures you control to distribute counters to | CounterType$ P1P1 | CounterNum$ X | ChoiceAmount$ X | MinChoiceAmount$ 1 | DividedAsYouChoose$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ Distribute X +1/+1 counters among any number of creatures you control, where X is the amount of {S} spent to cast this spell. +A:SP$ PutCounter | Cost$ 3 G | Choices$ Creature.YouCtrl | ChoiceTitle$ Choose any number of creatures you control to distribute counters to | CounterType$ P1P1 | CounterNum$ X | ChoiceAmount$ X | MinChoiceAmount$ 1 | DividedAsYouChoose$ X | SubAbility$ DBDraw | SpellDescription$ Distribute X +1/+1 counters among any number of creatures you control, where X is the amount of {S} spent to cast this spell. SVar:X:Count$CastTotalSnowManaSpent -SVar:DBDraw:DB$ Draw | NumCards$ Y | References$ Y | SpellDescription$ Then draw a card for each creature you control with power 4 or greater. +SVar:DBDraw:DB$ Draw | NumCards$ Y | SpellDescription$ Then draw a card for each creature you control with power 4 or greater. SVar:Y:Count$Valid Creature.powerGE4+YouCtrl DeckHints:Type$Snow DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/b/blight_breath_catoblepas.txt b/forge-gui/res/cardsfolder/b/blight_breath_catoblepas.txt index 2bf6e5bfdc9..96ba99b5f1c 100644 --- a/forge-gui/res/cardsfolder/b/blight_breath_catoblepas.txt +++ b/forge-gui/res/cardsfolder/b/blight_breath_catoblepas.txt @@ -3,7 +3,7 @@ ManaCost:4 B B Types:Creature Beast PT:3/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, target creature an opponent controls gets -X/-X until end of turn, where X is your devotion to black. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumAtt$ -X | NumDef$ -X | IsCurse$ True SVar:X:Count$Devotion.Black SVar:PlayMain1:TRUE Oracle:When Blight-Breath Catoblepas enters the battlefield, target creature an opponent controls gets -X/-X until end of turn, where X is your devotion to black. (Each {B} in the mana costs of permanents you control counts toward your devotion to black.) diff --git a/forge-gui/res/cardsfolder/b/blighted_steppe.txt b/forge-gui/res/cardsfolder/b/blighted_steppe.txt index 3d2d9f310a7..5eeb670baac 100644 --- a/forge-gui/res/cardsfolder/b/blighted_steppe.txt +++ b/forge-gui/res/cardsfolder/b/blighted_steppe.txt @@ -2,7 +2,7 @@ Name:Blighted Steppe ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ GainLife | Cost$ 3 W T Sac<1/CARDNAME> | Defined$ You | LifeAmount$ X | References$ X | SpellDescription$ You Gain 2 life for each creature you control. +A:AB$ GainLife | Cost$ 3 W T Sac<1/CARDNAME> | Defined$ You | LifeAmount$ X | SpellDescription$ You Gain 2 life for each creature you control. SVar:X:Count$TypeYouCtrl.Creature/Times.2 DeckHas:Ability$Mana.Colorless DeckNeeds:Color$White diff --git a/forge-gui/res/cardsfolder/b/blim_comedic_genius.txt b/forge-gui/res/cardsfolder/b/blim_comedic_genius.txt index 21f68079adb..2de1f91fd82 100644 --- a/forge-gui/res/cardsfolder/b/blim_comedic_genius.txt +++ b/forge-gui/res/cardsfolder/b/blim_comedic_genius.txt @@ -7,8 +7,8 @@ T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | CombatDama SVar:TrigPump:DB$ ChooseCard | Choices$ Permanent.YouCtrl | ChoiceTitle$ Choose a permanent you control for damaged player to gain control of | Defined$ You | SubAbility$ DBControl SVar:DBControl:DB$ GainControl | Defined$ ChosenCard | NewController$ TriggeredTarget | SubAbility$ DBRepeatEach SVar:DBRepeatEach:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBLoseLife | SubAbility$ DBCleanup -SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X | References$ X | SubAbility$ DBDiscard -SVar:DBDiscard:DB$ Discard | Defined$ Player.IsRemembered | NumCards$ X | References$ X | Mode$ TgtChoose +SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X | SubAbility$ DBDiscard +SVar:DBDiscard:DB$ Discard | Defined$ Player.IsRemembered | NumCards$ X | Mode$ TgtChoose SVar:X:Count$Valid Permanent.RememberedPlayerCtrl/Minus.Y SVar:Y:Count$Valid Permanent.RememberedPlayerCtrl+RememberedPlayerOwn SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearChosenCard$ True diff --git a/forge-gui/res/cardsfolder/b/blind_fury.txt b/forge-gui/res/cardsfolder/b/blind_fury.txt index d024158c4a9..4f5314cd0a2 100644 --- a/forge-gui/res/cardsfolder/b/blind_fury.txt +++ b/forge-gui/res/cardsfolder/b/blind_fury.txt @@ -4,7 +4,7 @@ Types:Instant A:SP$ AnimateAll | Cost$ 2 R R | ValidCards$ Creature | RemoveKeywords$ Trample | SubAbility$ BlindFuryEffect | SpellDescription$ All creatures lose trample until end of turn. If a creature would deal combat damage to a creature this turn, it deals double that damage to that creature instead. SVar:BlindFuryEffect:DB$ Effect | Name$ Blind Fury Effect | ReplacementEffects$ FuryCombatEvent | SVars$ DmgTwice,X SVar:FuryCombatEvent:Event$ DamageDone | ValidSource$ Creature | ValidTarget$ Creature | ReplaceWith$ DmgTwice | IsCombat$ True | Description$ If a creature would deal combat damage to a creature this turn, it deals double that damage instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:PlayMain1:TRUE AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/b/blinding_flare.txt b/forge-gui/res/cardsfolder/b/blinding_flare.txt index cf456b37ef8..9d64f1dc15e 100644 --- a/forge-gui/res/cardsfolder/b/blinding_flare.txt +++ b/forge-gui/res/cardsfolder/b/blinding_flare.txt @@ -2,7 +2,7 @@ Name:Blinding Flare ManaCost:R Types:Sorcery K:Strive:R -A:SP$ Pump | Cost$ R | ValidTgts$ Creature | KW$ HIDDEN CARDNAME can't block. | IsCurse$ True | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | SpellDescription$ Any number of target creatures can't block this turn. +A:SP$ Pump | Cost$ R | ValidTgts$ Creature | KW$ HIDDEN CARDNAME can't block. | IsCurse$ True | TargetMin$ 0 | TargetMax$ MaxTargets | SpellDescription$ Any number of target creatures can't block this turn. SVar:MaxTargets:Count$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/blinding_flare.jpg Oracle:Strive — This spell costs {R} more to cast for each target beyond the first.\nAny number of target creatures can't block this turn. diff --git a/forge-gui/res/cardsfolder/b/blinkmoth_urn.txt b/forge-gui/res/cardsfolder/b/blinkmoth_urn.txt index fee1b27859c..bb833a191ef 100644 --- a/forge-gui/res/cardsfolder/b/blinkmoth_urn.txt +++ b/forge-gui/res/cardsfolder/b/blinkmoth_urn.txt @@ -2,7 +2,7 @@ Name:Blinkmoth Urn ManaCost:5 Types:Artifact T:Mode$ Phase | PreCombatMain$ True | ValidPlayer$ Player | TriggerZones$ Battlefield | IsPresent$ Card.Self+untapped | Execute$ TrigGetMana | TriggerDescription$ At the beginning of each player's precombat main phase, if CARDNAME is untapped, that player adds {C} for each artifact they control. -SVar:TrigGetMana:DB$ Mana | Produced$ C | Amount$ X | References$ X | Defined$ TriggeredPlayer +SVar:TrigGetMana:DB$ Mana | Produced$ C | Amount$ X | Defined$ TriggeredPlayer SVar:X:Count$Valid Artifact.ActivePlayerCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/blinkmoth_urn.jpg diff --git a/forge-gui/res/cardsfolder/b/blitz_of_the_thunder_raptor.txt b/forge-gui/res/cardsfolder/b/blitz_of_the_thunder_raptor.txt index 6d8d43289c0..7dce82d775c 100755 --- a/forge-gui/res/cardsfolder/b/blitz_of_the_thunder_raptor.txt +++ b/forge-gui/res/cardsfolder/b/blitz_of_the_thunder_raptor.txt @@ -1,7 +1,7 @@ Name:Blitz of the Thunder-Raptor ManaCost:1 R Types:Instant -A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | References$ X | ReplaceDyingDefined$ Targeted | SpellDescription$ CARDNAME deals damage to target creature equal to the number of instant or sorcery cards in your graveyard. If that creature or planeswalker would die this turn, exile it instead. +A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | ReplaceDyingDefined$ Targeted | SpellDescription$ CARDNAME deals damage to target creature equal to the number of instant or sorcery cards in your graveyard. If that creature or planeswalker would die this turn, exile it instead. SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn DeckHints:Type$Instant|Sorcery Oracle:Blitz of the Thunder-Raptor deals damage to target creature or planeswalker equal to the number of instant and sorcery cards in your graveyard. If that creature or planeswalker would die this turn, exile it instead. diff --git a/forge-gui/res/cardsfolder/b/blood_beckoning.txt b/forge-gui/res/cardsfolder/b/blood_beckoning.txt index f82bddc10d5..7c39434eca3 100755 --- a/forge-gui/res/cardsfolder/b/blood_beckoning.txt +++ b/forge-gui/res/cardsfolder/b/blood_beckoning.txt @@ -2,7 +2,7 @@ Name:Blood Beckoning ManaCost:B Types:Sorcery K:Kicker:3 -A:SP$ ChangeZone | Cost$ B | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Select target creature card in your graveyard | ValidTgts$ Creature.YouOwn | TargetMin$ X | TargetMax$ X | References$ X | SpellDescription$ Return target creature card from your graveyard to your hand. If this spell was kicked, instead return two target creature cards from your graveyard to your hand. +A:SP$ ChangeZone | Cost$ B | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Select target creature card in your graveyard | ValidTgts$ Creature.YouOwn | TargetMin$ X | TargetMax$ X | SpellDescription$ Return target creature card from your graveyard to your hand. If this spell was kicked, instead return two target creature cards from your graveyard to your hand. SVar:X:Count$Kicked.2.1 DeckHas:Ability$Graveyard Oracle:Kicker {3} (You may pay an additional {3} as you cast this spell.)\nReturn target creature card from your graveyard to your hand. If this spell was kicked, instead return two target creature cards from your graveyard to your hand. diff --git a/forge-gui/res/cardsfolder/b/blood_chin_fanatic.txt b/forge-gui/res/cardsfolder/b/blood_chin_fanatic.txt index bdebee7b8da..547f061de12 100644 --- a/forge-gui/res/cardsfolder/b/blood_chin_fanatic.txt +++ b/forge-gui/res/cardsfolder/b/blood_chin_fanatic.txt @@ -2,8 +2,8 @@ Name:Blood-Chin Fanatic ManaCost:1 B B Types:Creature Orc Warrior PT:3/3 -A:AB$ LoseLife | Cost$ 1 B Sac<1/Creature.Other+Warrior/another Warrior creature> | ValidTgts$ Player | TgtPrompt$ Select a player | LifeAmount$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ Target player loses X life and you gain X life, where X is the sacrificed creature's power. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +A:AB$ LoseLife | Cost$ 1 B Sac<1/Creature.Other+Warrior/another Warrior creature> | ValidTgts$ Player | TgtPrompt$ Select a player | LifeAmount$ X | SubAbility$ DBGainLife | SpellDescription$ Target player loses X life and you gain X life, where X is the sacrificed creature's power. +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Sacrificed$CardPower DeckHints:Type$Warrior SVar:Picture:http://www.wizards.com/global/images/magic/general/blood_chin_fanatic.jpg diff --git a/forge-gui/res/cardsfolder/b/blood_hound.txt b/forge-gui/res/cardsfolder/b/blood_hound.txt index ae6ac35f14a..3691f3d29a0 100644 --- a/forge-gui/res/cardsfolder/b/blood_hound.txt +++ b/forge-gui/res/cardsfolder/b/blood_hound.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Creature Dog PT:1/1 T:Mode$ DamageDoneOnce | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerDescription$ Whenever you're dealt damage, you may put that many +1/+1 counters on CARDNAME. -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRemove | TriggerDescription$ At the beginning of your end step, remove all +1/+1 counters from CARDNAME. SVar:TrigRemove:DB$ RemoveCounterAll | ValidCards$ Card.Self | CounterType$ P1P1 | AllCounters$ True SVar:X:TriggerCount$DamageAmount diff --git a/forge-gui/res/cardsfolder/b/blood_lust.txt b/forge-gui/res/cardsfolder/b/blood_lust.txt index c9011da6360..4fdde5a207b 100644 --- a/forge-gui/res/cardsfolder/b/blood_lust.txt +++ b/forge-gui/res/cardsfolder/b/blood_lust.txt @@ -1,7 +1,7 @@ Name:Blood Lust ManaCost:1 R Types:Instant -A:SP$ Pump | Cost$ 1 R | NumAtt$ +4 | NumDef$ -X | ValidTgts$ Creature | TgtPrompt$ Select target creature | ConditionDefined$ Targeted | ConditionPresent$ Creature.toughnessLT5 | ConditionCompare$ EQ1 | SubAbility$ DBPump | References$ X +A:SP$ Pump | Cost$ 1 R | NumAtt$ +4 | NumDef$ -X | ValidTgts$ Creature | TgtPrompt$ Select target creature | ConditionDefined$ Targeted | ConditionPresent$ Creature.toughnessLT5 | ConditionCompare$ EQ1 | SubAbility$ DBPump SVar:DBPump:DB$ Pump | NumAtt$ +4 | NumDef$ -4 | Defined$ Targeted | ConditionDefined$ Targeted | ConditionPresent$ Creature.toughnessGE5 | ConditionCompare$ EQ1 | SpellDescription$ If target creature has toughness 5 or greater, it gets +4/-4 until end of turn. Otherwise, it gets +4/-X until end of turn, where X is its toughness minus 1. SVar:X:Targeted$CardToughness/Minus.1 Oracle:If target creature has toughness 5 or greater, it gets +4/-4 until end of turn. Otherwise, it gets +4/-X until end of turn, where X is its toughness minus 1. diff --git a/forge-gui/res/cardsfolder/b/blood_oath.txt b/forge-gui/res/cardsfolder/b/blood_oath.txt index 0dff981f40a..f8d3bdfe4d1 100644 --- a/forge-gui/res/cardsfolder/b/blood_oath.txt +++ b/forge-gui/res/cardsfolder/b/blood_oath.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Instant A:SP$ ChooseType | Cost$ 3 R | Defined$ You | Type$ Card | SubAbility$ DBReveal | SpellDescription$ Choose a card type. Target opponent reveals their hand. Blood Oath deals 3 damage to that player for each card of the chosen type revealed this way. SVar:DBReveal:DB$ RevealHand | RememberRevealed$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent to reveal their hand | SubAbility$ DBDamage -SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | References$ X,Y | SubAbility$ DBCleanup +SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:SVar$Y/Times.3 SVar:Y:Remembered$Valid Card.ChosenType diff --git a/forge-gui/res/cardsfolder/b/blood_on_the_snow.txt b/forge-gui/res/cardsfolder/b/blood_on_the_snow.txt index 14b95cbc88f..21598e5826f 100644 --- a/forge-gui/res/cardsfolder/b/blood_on_the_snow.txt +++ b/forge-gui/res/cardsfolder/b/blood_on_the_snow.txt @@ -4,7 +4,7 @@ Types:Snow Sorcery A:SP$ Charm | Cost$ 4 B B | Choices$ DestroyCtrs,DestroyPWs | CharmNum$ 1 | SpellDescription$ Then return a creature or planeswalker card with converted mana cost X or less from your graveyard to the battlefield, where X is the amount of {S} spent to cast this spell. ({S} is mana from a snow source.) SVar:DestroyCtrs:DB$ DestroyAll | ValidCards$ Creature | SubAbility$ DBReturn | SpellDescription$ Destroy all creatures. SVar:DestroyPWs:DB$ DestroyAll | ValidCards$ Planeswalker | SubAbility$ DBReturn | SpellDescription$ Destroy all planeswalkers. -SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | Hidden$ True | Mandatory$ True | ChangeType$ Creature.YouOwn+cmcLEX,Planeswalker.YouOwn+cmcLEX | References$ X | SpellDescription$ Then return a creature or planeswalker card with converted mana cost X or less from your graveyard to the battlefield, where X is the amount of {S} spent to cast this spell. ({S} is mana from a snow source.) +SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | Hidden$ True | Mandatory$ True | ChangeType$ Creature.YouOwn+cmcLEX,Planeswalker.YouOwn+cmcLEX | SpellDescription$ Then return a creature or planeswalker card with converted mana cost X or less from your graveyard to the battlefield, where X is the amount of {S} spent to cast this spell. ({S} is mana from a snow source.) SVar:X:Count$CastTotalSnowManaSpent AI:RemoveDeck:Random DeckHints:Type$Snow diff --git a/forge-gui/res/cardsfolder/b/blood_tribute.txt b/forge-gui/res/cardsfolder/b/blood_tribute.txt index d5a7867d74f..77eedb66c3e 100644 --- a/forge-gui/res/cardsfolder/b/blood_tribute.txt +++ b/forge-gui/res/cardsfolder/b/blood_tribute.txt @@ -2,7 +2,7 @@ Name:Blood Tribute ManaCost:4 B B Types:Sorcery K:Kicker:tapXType<1/Vampire> -A:SP$ LoseLife | Cost$ 4 B B | ValidTgts$ Opponent | LifeAmount$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ Target opponent loses half their life, rounded up. If this spell was kicked, you gain life equal to the life lost this way. +A:SP$ LoseLife | Cost$ 4 B B | ValidTgts$ Opponent | LifeAmount$ X | SubAbility$ DBGainLife | SpellDescription$ Target opponent loses half their life, rounded up. If this spell was kicked, you gain life equal to the life lost this way. SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ AFLifeLost | Condition$ Kicked | ConditionDescription$ If it was kicked, SVar:X:Count$TargetedLifeTotal/HalfUp #This SVar will be overridden by AF LoseLife diff --git a/forge-gui/res/cardsfolder/b/blood_tyrant.txt b/forge-gui/res/cardsfolder/b/blood_tyrant.txt index a89e1e7cec3..d3c08d022bc 100644 --- a/forge-gui/res/cardsfolder/b/blood_tyrant.txt +++ b/forge-gui/res/cardsfolder/b/blood_tyrant.txt @@ -6,7 +6,7 @@ K:Flying K:Trample T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ At the beginning of your upkeep, each player loses 1 life. Put a +1/+1 counter on CARDNAME for each 1 life lost this way. SVar:TrigLoseLife:DB$LoseLife | Defined$ Player | LifeAmount$ 1 | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$PutCounter | CounterType$ P1P1 | CounterNum$ AFLifeLost | References$ AFLifeLost +SVar:DBPutCounter:DB$PutCounter | CounterType$ P1P1 | CounterNum$ AFLifeLost T:Mode$ LosesGame | Execute$ TrigCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a player loses the game, put five +1/+1 counters on CARDNAME. SVar:TrigCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 5 SVar:AFLifeLost:Number$0 diff --git a/forge-gui/res/cardsfolder/b/bloodchiefs_thirst.txt b/forge-gui/res/cardsfolder/b/bloodchiefs_thirst.txt index 020fac587cf..a6700c904a4 100644 --- a/forge-gui/res/cardsfolder/b/bloodchiefs_thirst.txt +++ b/forge-gui/res/cardsfolder/b/bloodchiefs_thirst.txt @@ -2,8 +2,8 @@ Name:Bloodchief's Thirst ManaCost:B Types:Sorcery K:Kicker:2 B -A:SP$ Destroy | Cost$ B | ValidTgts$ Creature.cmcLE2,Planeswalker.cmcLE2 | TargetMin$ X | TargetMax$ X | References$ X | TgtPrompt$ Select target creature or planeswalker with converted mana cost 2 or less | SubAbility$ DBDestroy | AILogic$ AssumeAtLeastOneTarget | StackDescription$ SpellDescription | SpellDescription$ Destroy target creature or planeswalker with converted mana cost 2 or less. If this spell was kicked, instead destroy target creature or planeswalker. -SVar:DBDestroy:DB$ Destroy | TargetMin$ Y | TargetMax$ Y | References$ Y | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | StackDescription$ None +A:SP$ Destroy | Cost$ B | ValidTgts$ Creature.cmcLE2,Planeswalker.cmcLE2 | TargetMin$ X | TargetMax$ X | TgtPrompt$ Select target creature or planeswalker with converted mana cost 2 or less | SubAbility$ DBDestroy | AILogic$ AssumeAtLeastOneTarget | StackDescription$ SpellDescription | SpellDescription$ Destroy target creature or planeswalker with converted mana cost 2 or less. If this spell was kicked, instead destroy target creature or planeswalker. +SVar:DBDestroy:DB$ Destroy | TargetMin$ Y | TargetMax$ Y | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | StackDescription$ None SVar:X:Count$Kicked.0.1 SVar:Y:Count$Kicked.1.0 Oracle:Kicker {2}{B} (You may pay an additional {2}{B} as you cast this spell.)\nDestroy target creature or planeswalker with converted mana cost 2 or less. If this spell was kicked, instead destroy target creature or planeswalker. diff --git a/forge-gui/res/cardsfolder/b/bloodcurdling_scream.txt b/forge-gui/res/cardsfolder/b/bloodcurdling_scream.txt index a5eca5672a5..58c5af575f8 100644 --- a/forge-gui/res/cardsfolder/b/bloodcurdling_scream.txt +++ b/forge-gui/res/cardsfolder/b/bloodcurdling_scream.txt @@ -1,7 +1,7 @@ Name:Bloodcurdling Scream ManaCost:X B Types:Sorcery -A:SP$ Pump | Cost$ X B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X | SpellDescription$ Target creature gets +X/+0 until end of turn. +A:SP$ Pump | Cost$ X B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SpellDescription$ Target creature gets +X/+0 until end of turn. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/bloodcurdling_scream.jpg Oracle:Target creature gets +X/+0 until end of turn. diff --git a/forge-gui/res/cardsfolder/b/bloodfire_enforcers.txt b/forge-gui/res/cardsfolder/b/bloodfire_enforcers.txt index 34d93b4497b..bf37ed6276c 100644 --- a/forge-gui/res/cardsfolder/b/bloodfire_enforcers.txt +++ b/forge-gui/res/cardsfolder/b/bloodfire_enforcers.txt @@ -2,7 +2,7 @@ Name:Bloodfire Enforcers ManaCost:3 R Types:Creature Human Monk PT:5/2 -S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ First Strike & Trample| CheckSVar$ X | CheckSecondSVar$ Y | References$ X,Y | Description$ CARDNAME has first strike and trample as long as an instant card and a sorcery card are in your graveyard. +S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ First Strike & Trample| CheckSVar$ X | CheckSecondSVar$ Y | Description$ CARDNAME has first strike and trample as long as an instant card and a sorcery card are in your graveyard. SVar:X:Count$ValidGraveyard Instant.YouOwn SVar:Y:Count$ValidGraveyard Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/bloodfire_enforcers.jpg diff --git a/forge-gui/res/cardsfolder/b/bloodfire_infusion.txt b/forge-gui/res/cardsfolder/b/bloodfire_infusion.txt index a1d53d77d31..f6e0456177e 100644 --- a/forge-gui/res/cardsfolder/b/bloodfire_infusion.txt +++ b/forge-gui/res/cardsfolder/b/bloodfire_infusion.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Enchantment Aura K:Enchant creature you control A:SP$ Attach | Cost$ 2 R | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | AILogic$ Pump -A:AB$ DamageAll | Cost$ R Sac<1/Card.AttachedBy/enchanted creature> | ActivationZone$ Battlefield | ValidCards$ Creature | NumDmg$ X | ValidDescription$ each creature | References$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to each creature. +A:AB$ DamageAll | Cost$ R Sac<1/Card.AttachedBy/enchanted creature> | ActivationZone$ Battlefield | ValidCards$ Creature | NumDmg$ X | ValidDescription$ each creature | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to each creature. SVar:X:Sacrificed$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/bloodfire_infusion.jpg diff --git a/forge-gui/res/cardsfolder/b/bloodhusk_ritualist.txt b/forge-gui/res/cardsfolder/b/bloodhusk_ritualist.txt index a53c38d146c..8c6a4bc3e83 100644 --- a/forge-gui/res/cardsfolder/b/bloodhusk_ritualist.txt +++ b/forge-gui/res/cardsfolder/b/bloodhusk_ritualist.txt @@ -4,7 +4,7 @@ Types:Creature Vampire Shaman PT:2/2 K:Multikicker:B T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, target opponent discards a card for each time it was kicked. -SVar:TrigDiscard:DB$Discard | ValidTgts$ Opponent | NumCards$ X | Mode$ TgtChoose | References$ X +SVar:TrigDiscard:DB$Discard | ValidTgts$ Opponent | NumCards$ X | Mode$ TgtChoose SVar:X:Count$TimesKicked SVar:Picture:http://www.wizards.com/global/images/magic/general/Bloodhusk_Ritualist.jpg Oracle:Multikicker {B} (You may pay an additional {B} any number of times as you cast this spell.)\nWhen Bloodhusk Ritualist enters the battlefield, target opponent discards a card for each time it was kicked. diff --git a/forge-gui/res/cardsfolder/b/bloodletter_quill.txt b/forge-gui/res/cardsfolder/b/bloodletter_quill.txt index 94e5c497020..fa487892289 100644 --- a/forge-gui/res/cardsfolder/b/bloodletter_quill.txt +++ b/forge-gui/res/cardsfolder/b/bloodletter_quill.txt @@ -2,7 +2,7 @@ Name:Bloodletter Quill ManaCost:3 Types:Artifact A:AB$ Draw | Cost$ 2 T AddCounter<1/BLOOD> | NumCards$ 1 | SpellDescription$ Draw a card, then you lose 1 life for each blood counter on CARDNAME. | SubAbility$ DBLoseLife -SVar:DBLoseLife:DB$LoseLife | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$LoseLife | LifeAmount$ X A:AB$ RemoveCounter | Cost$ U B | CounterType$ BLOOD | CounterNum$ 1 | SpellDescription$ Remove a blood counter from CARDNAME. SVar:X:Count$CardCounters.BLOOD SVar:Picture:http://www.wizards.com/global/images/magic/general/bloodletter_quill.jpg diff --git a/forge-gui/res/cardsfolder/b/bloodshot_cyclops.txt b/forge-gui/res/cardsfolder/b/bloodshot_cyclops.txt index 0837af459c8..c0a1a40461e 100644 --- a/forge-gui/res/cardsfolder/b/bloodshot_cyclops.txt +++ b/forge-gui/res/cardsfolder/b/bloodshot_cyclops.txt @@ -2,7 +2,7 @@ Name:Bloodshot Cyclops ManaCost:5 R Types:Creature Cyclops Giant PT:4/4 -A:AB$ DealDamage | Cost$ T Sac<1/Creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to any target. +A:AB$ DealDamage | Cost$ T Sac<1/Creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to any target. SVar:X:Sacrificed$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/bloodshot_cyclops.jpg diff --git a/forge-gui/res/cardsfolder/b/bloodsoaked_champion.txt b/forge-gui/res/cardsfolder/b/bloodsoaked_champion.txt index f5dbadd2008..e2776c3ab2a 100644 --- a/forge-gui/res/cardsfolder/b/bloodsoaked_champion.txt +++ b/forge-gui/res/cardsfolder/b/bloodsoaked_champion.txt @@ -3,7 +3,7 @@ ManaCost:B Types:Creature Human Warrior PT:2/1 K:CARDNAME can't block. -A:AB$ ChangeZone | Cost$ 1 B | PrecostDesc$ Raid — | Origin$ Graveyard | Destination$ Battlefield | ActivationZone$ Graveyard | CheckSVar$ RaidTest | References$ RaidTest | SpellDescription$ Return CARDNAME from your graveyard to the battlefield. Activate this ability only if you attacked this turn. +A:AB$ ChangeZone | Cost$ 1 B | PrecostDesc$ Raid — | Origin$ Graveyard | Destination$ Battlefield | ActivationZone$ Graveyard | CheckSVar$ RaidTest | SpellDescription$ Return CARDNAME from your graveyard to the battlefield. Activate this ability only if you attacked this turn. SVar:RaidTest:Count$AttackersDeclared SVar:DiscardMe:1 SVar:SacMe:1 diff --git a/forge-gui/res/cardsfolder/b/bloodspore_thrinax.txt b/forge-gui/res/cardsfolder/b/bloodspore_thrinax.txt index 0e293948036..abe8abf55c1 100644 --- a/forge-gui/res/cardsfolder/b/bloodspore_thrinax.txt +++ b/forge-gui/res/cardsfolder/b/bloodspore_thrinax.txt @@ -4,7 +4,7 @@ Types:Creature Lizard PT:2/2 K:Devour:1 K:ETBReplacement:Other:AddExtraCounter:Mandatory:Battlefield:Creature.YouCtrl+Other -SVar:AddExtraCounter:DB$ PutCounter | ETB$ True | Defined$ ReplacedCard | CounterType$ P1P1 | CounterNum$ X | References$ X | SpellDescription$ Each other creature you control enters the battlefield with an additional X +1/+1 counters on it, where X is the number of +1/+1 counters on CARDNAME. +SVar:AddExtraCounter:DB$ PutCounter | ETB$ True | Defined$ ReplacedCard | CounterType$ P1P1 | CounterNum$ X | SpellDescription$ Each other creature you control enters the battlefield with an additional X +1/+1 counters on it, where X is the number of +1/+1 counters on CARDNAME. SVar:X:Count$CardCounters.P1P1 DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/bloodspore_thrinax.jpg diff --git a/forge-gui/res/cardsfolder/b/bloodthirsty_ogre.txt b/forge-gui/res/cardsfolder/b/bloodthirsty_ogre.txt index fa494f50acc..299a91a1022 100644 --- a/forge-gui/res/cardsfolder/b/bloodthirsty_ogre.txt +++ b/forge-gui/res/cardsfolder/b/bloodthirsty_ogre.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Creature Ogre Warrior Shaman PT:3/1 A:AB$ PutCounter | Cost$ T | CounterType$ DEVOTION | CounterNum$ 1 | SpellDescription$ Put a devotion counter on CARDNAME. -A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsPresent$ Demon.YouCtrl | References$ X | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of devotion counters on CARDNAME. Activate this ability only if you control a Demon. +A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsPresent$ Demon.YouCtrl | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of devotion counters on CARDNAME. Activate this ability only if you control a Demon. SVar:X:Count$CardCounters.DEVOTION SVar:BuffedBy:Demon DeckHints:Type$Demon diff --git a/forge-gui/res/cardsfolder/b/bloodtracker.txt b/forge-gui/res/cardsfolder/b/bloodtracker.txt index 20f4d1ab13e..4fbec12561b 100644 --- a/forge-gui/res/cardsfolder/b/bloodtracker.txt +++ b/forge-gui/res/cardsfolder/b/bloodtracker.txt @@ -5,6 +5,6 @@ PT:2/2 K:Flying A:AB$ PutCounter | Cost$ B PayLife<2> | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on CARDNAME. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, draw a card for each +1/+1 counter on it. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X SVar:X:TriggeredCard$CardCounters.P1P1 Oracle:Flying\n{B}, Pay 2 life: Put a +1/+1 counter on Bloodtracker.\nWhen Bloodtracker leaves the battlefield, draw a card for each +1/+1 counter on it. diff --git a/forge-gui/res/cardsfolder/b/blooming_marsh.txt b/forge-gui/res/cardsfolder/b/blooming_marsh.txt index 872439c2ab3..866b87c238a 100644 --- a/forge-gui/res/cardsfolder/b/blooming_marsh.txt +++ b/forge-gui/res/cardsfolder/b/blooming_marsh.txt @@ -2,7 +2,7 @@ Name:Blooming Marsh ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. SVar:ETBCheckSVar2:Count$LastStateBattlefield Land.YouCtrl A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}. A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add {G}. diff --git a/forge-gui/res/cardsfolder/b/blossoming_wreath.txt b/forge-gui/res/cardsfolder/b/blossoming_wreath.txt index 8b6e7ddf39b..e23d372e8eb 100644 --- a/forge-gui/res/cardsfolder/b/blossoming_wreath.txt +++ b/forge-gui/res/cardsfolder/b/blossoming_wreath.txt @@ -1,7 +1,7 @@ Name:Blossoming Wreath ManaCost:G Types:Instant -A:SP$ GainLife | Cost$ G | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the number of creature cards in your graveyard. +A:SP$ GainLife | Cost$ G | LifeAmount$ X | SpellDescription$ You gain life equal to the number of creature cards in your graveyard. SVar:X:Count$TypeInYourYard.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/blossoming_wreath.jpg Oracle:You gain life equal to the number of creature cards in your graveyard. diff --git a/forge-gui/res/cardsfolder/b/blue_mana_battery.txt b/forge-gui/res/cardsfolder/b/blue_mana_battery.txt index f343607b8de..305ca5117c5 100644 --- a/forge-gui/res/cardsfolder/b/blue_mana_battery.txt +++ b/forge-gui/res/cardsfolder/b/blue_mana_battery.txt @@ -2,7 +2,7 @@ Name:Blue Mana Battery ManaCost:4 Types:Artifact A:AB$ PutCounter | Cost$ 2 T | CounterType$ CHARGE | CounterNum$ 1 | SpellDescription$ Put a charge counter on CARDNAME. -A:AB$ Mana | Cost$ T SubCounter | Produced$ U | Amount$ Y | CostDesc$ {T}, Remove any number of charge counters from CARDNAME: | References$ X,Y | AILogic$ ManaRitualBattery.1 | AINoRecursiveCheck$ True | SpellDescription$ Add {U}, then add an additional {U} for each charge counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ U | Amount$ Y | CostDesc$ {T}, Remove any number of charge counters from CARDNAME: | AILogic$ ManaRitualBattery.1 | AINoRecursiveCheck$ True | SpellDescription$ Add {U}, then add an additional {U} for each charge counter removed this way. SVar:Y:SVar$X/Plus.1 SVar:X:Count$xPaid AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/b/blue_suns_zenith.txt b/forge-gui/res/cardsfolder/b/blue_suns_zenith.txt index eb1275c0e6a..1fa1ffaedc1 100644 --- a/forge-gui/res/cardsfolder/b/blue_suns_zenith.txt +++ b/forge-gui/res/cardsfolder/b/blue_suns_zenith.txt @@ -1,7 +1,7 @@ Name:Blue Sun's Zenith ManaCost:X U U U Types:Instant -A:SP$ Draw | Cost$ X U U U | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | SubAbility$ DBShuffle | References$ X | SpellDescription$ Target player draws X cards. Shuffle CARDNAME into its owner's library. +A:SP$ Draw | Cost$ X U U U | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | SubAbility$ DBShuffle | SpellDescription$ Target player draws X cards. Shuffle CARDNAME into its owner's library. SVar:X:Count$xPaid SVar:DBShuffle:DB$ChangeZone | Origin$ Stack | Destination$ Library | Shuffle$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/blue_suns_zenith.jpg diff --git a/forge-gui/res/cardsfolder/b/blunt_the_assault.txt b/forge-gui/res/cardsfolder/b/blunt_the_assault.txt index c2c1911e956..1baea596825 100644 --- a/forge-gui/res/cardsfolder/b/blunt_the_assault.txt +++ b/forge-gui/res/cardsfolder/b/blunt_the_assault.txt @@ -1,7 +1,7 @@ Name:Blunt the Assault ManaCost:3 G Types:Instant -A:SP$ GainLife | Cost$ 3 G | Defined$ You | LifeAmount$ X | SubAbility$ DBFog | References$ X | SpellDescription$ You gain 1 life for each creature on the battlefield. +A:SP$ GainLife | Cost$ 3 G | Defined$ You | LifeAmount$ X | SubAbility$ DBFog | SpellDescription$ You gain 1 life for each creature on the battlefield. SVar:DBFog:DB$Fog | SpellDescription$ Prevent all combat damage that would be dealt this turn. SVar:X:Count$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/blunt_the_assault.jpg diff --git a/forge-gui/res/cardsfolder/b/bob_bevy_of_beebles.txt b/forge-gui/res/cardsfolder/b/bob_bevy_of_beebles.txt index a4e7beffb82..ae34831dea0 100644 --- a/forge-gui/res/cardsfolder/b/bob_bevy_of_beebles.txt +++ b/forge-gui/res/cardsfolder/b/bob_bevy_of_beebles.txt @@ -4,16 +4,16 @@ Types:Legendary Planeswalker B.O.B. Loyalty:0 K:ETBReplacement:Other:TrigFour SVar:TrigFour:DB$ Token | TokenAmount$ 4 | TokenScript$ u_1_1_beeble | SpellDescription$ As CARDNAME enters the battlefield, create four 1/1 blue Beeble creature tokens. -T:Mode$ CounterRemovedOnce | ValidCard$ Card.Self | TriggerZones$ Battlefield | CounterType$ LOYALTY | CheckSVar$ Beeb | SVarCompare$ GTLoy | References$ Beeb,Loy | Execute$ TrigSac | Static$ True | TriggerDescription$ The number of loyalty counters on B.O.B. is equal to the number of Beebles you control. (Create or sacrifice Beebles whenever B.O.B. gains or loses loyalty.) -SVar:TrigSac:DB$ Sacrifice | Amount$ Amt | SacValid$ Beeble | References$ Amt +T:Mode$ CounterRemovedOnce | ValidCard$ Card.Self | TriggerZones$ Battlefield | CounterType$ LOYALTY | CheckSVar$ Beeb | SVarCompare$ GTLoy | Execute$ TrigSac | Static$ True | TriggerDescription$ The number of loyalty counters on B.O.B. is equal to the number of Beebles you control. (Create or sacrifice Beebles whenever B.O.B. gains or loses loyalty.) +SVar:TrigSac:DB$ Sacrifice | Amount$ Amt | SacValid$ Beeble SVar:Amt:TriggerCount$Amount -T:Mode$ CounterAddedOnce | ValidCard$ Card.Self | TriggerZones$ Battlefield | CounterType$ LOYALTY | CheckSVar$ Loy | SVarCompare$ GTBeeb | References$ Beeb,Loy | Execute$ TrigCreate | Static$ True | Secondary$ True -SVar:TrigCreate:DB$ Token | TokenAmount$ Amt | References$ Amt | TokenScript$ u_1_1_beeble +T:Mode$ CounterAddedOnce | ValidCard$ Card.Self | TriggerZones$ Battlefield | CounterType$ LOYALTY | CheckSVar$ Loy | SVarCompare$ GTBeeb | Execute$ TrigCreate | Static$ True | Secondary$ True +SVar:TrigCreate:DB$ Token | TokenAmount$ Amt | TokenScript$ u_1_1_beeble SVar:Loy:Count$CardCounters.LOYALTY SVar:Beeb:Count$Valid Beeble.YouCtrl K:The number of loyalty counters on CARDNAME is equal to the number of Beebles you control. SVar:NHand:Count$InYourHand -A:AB$ Pump | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Beeble | TargetMin$ 0 | TargetMax$ NHand | References$ NHand | KW$ HIDDEN Unblockable | TgtPrompt$ Select target creature | SpellDescription$ Up to X target Beebles can't be blocked this turn, where X is the number of cards in your hand. +A:AB$ Pump | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Beeble | TargetMin$ 0 | TargetMax$ NHandHand | KW$ HIDDEN Unblockable | TgtPrompt$ Select target creature | SpellDescription$ Up to X target Beebles can't be blocked this turn, where X is the number of cards in your hand. A:AB$ Draw | Cost$ SubCounter<1/LOYALTY> | Planeswalker$ True | NumCards$ 1 | Defined$ You | SpellDescription$ Draw a card. DeckHas:Ability$Token Oracle:As B.O.B. (Bevy of Beebles) enters the battlefield, create four 1/1 blue Beeble creature tokens.\nThe number of loyalty counters on B.O.B. is equal to the number of Beebles you control. (Create or sacrifice Beebles whenever B.O.B. gains or loses loyalty.)\n[+1]: Up to X target Beebles can't be blocked this turn, where X is the number of cards in your hand.\n[−1]: Draw a card. diff --git a/forge-gui/res/cardsfolder/b/body_of_knowledge.txt b/forge-gui/res/cardsfolder/b/body_of_knowledge.txt index 87173738798..4a6cd95ea2d 100644 --- a/forge-gui/res/cardsfolder/b/body_of_knowledge.txt +++ b/forge-gui/res/cardsfolder/b/body_of_knowledge.txt @@ -2,10 +2,10 @@ Name:Body of Knowledge ManaCost:3 U U Types:Creature Avatar PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. S:Mode$ Continuous | Affected$ You | SetMaxHandSize$ Unlimited | Description$ You have no maximum hand size. T:Mode$ DamageDone | ValidTarget$ Card.Self | Execute$ TrigDraw | TriggerDescription$ Whenever CARDNAME is dealt damage, draw that many cards. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ Y | References$ Y +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ Y SVar:X:Count$InYourHand SVar:Y:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/b/bog_down.txt b/forge-gui/res/cardsfolder/b/bog_down.txt index 127d1745bba..2cc602eceb4 100644 --- a/forge-gui/res/cardsfolder/b/bog_down.txt +++ b/forge-gui/res/cardsfolder/b/bog_down.txt @@ -2,7 +2,7 @@ Name:Bog Down ManaCost:2 B Types:Sorcery K:Kicker:Sac<2/Land> -A:SP$ Discard | Cost$ 2 B | ValidTgts$ Player | TgtPrompt$ Choose a player | NumCards$ WasKicked | References$ WasKicked | Mode$ TgtChoose | SpellDescription$ Target player discards two cards. If CARDNAME was kicked, that player discards three cards instead. +A:SP$ Discard | Cost$ 2 B | ValidTgts$ Player | TgtPrompt$ Choose a player | NumCards$ WasKicked | Mode$ TgtChoose | SpellDescription$ Target player discards two cards. If CARDNAME was kicked, that player discards three cards instead. SVar:WasKicked:Count$Kicked.3.2 SVar:NeedsToPlayKickedVar:Z GE3 SVar:Z:Count$ValidHand Card.OppCtrl diff --git a/forge-gui/res/cardsfolder/b/bold_defense.txt b/forge-gui/res/cardsfolder/b/bold_defense.txt index 88ad73cf54b..1f2ae857c3e 100644 --- a/forge-gui/res/cardsfolder/b/bold_defense.txt +++ b/forge-gui/res/cardsfolder/b/bold_defense.txt @@ -2,7 +2,7 @@ Name:Bold Defense ManaCost:2 W Types:Instant K:Kicker:3 W -A:SP$ PumpAll | Cost$ 2 W | ValidCards$ Creature.YouCtrl | NumAtt$ WasKicked | NumDef$ WasKicked | References$ WasKicked | SubAbility$ Kicked | SpellDescription$ Creatures you control get +1/+1 until end of turn. If CARDNAME was kicked, instead creatures you control get +2/+2 and gain first strike until end of turn. +A:SP$ PumpAll | Cost$ 2 W | ValidCards$ Creature.YouCtrl | NumAtt$ WasKicked | NumDef$ WasKicked | SubAbility$ Kicked | SpellDescription$ Creatures you control get +1/+1 until end of turn. If CARDNAME was kicked, instead creatures you control get +2/+2 and gain first strike until end of turn. SVar:Kicked:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ First Strike | Condition$ Kicked | ConditionDescription$ If it was kicked, SVar:WasKicked:Count$Kicked.2.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/bold_defense.jpg diff --git a/forge-gui/res/cardsfolder/b/bond_of_agony.txt b/forge-gui/res/cardsfolder/b/bond_of_agony.txt index f8bad23a8e5..a6cb9843dcc 100644 --- a/forge-gui/res/cardsfolder/b/bond_of_agony.txt +++ b/forge-gui/res/cardsfolder/b/bond_of_agony.txt @@ -1,7 +1,7 @@ Name:Bond of Agony ManaCost:X B Types:Sorcery -A:SP$ LoseLife | Cost$ X B PayLife | Defined$ Player.Other | LifeAmount$ X | References$ X | SpellDescription$ Each other player loses X life. +A:SP$ LoseLife | Cost$ X B PayLife | Defined$ Player.Other | LifeAmount$ X | SpellDescription$ Each other player loses X life. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/bond_of_agony.jpg diff --git a/forge-gui/res/cardsfolder/b/bonders_ornament.txt b/forge-gui/res/cardsfolder/b/bonders_ornament.txt index 83d7ea6cc03..2c41a392166 100755 --- a/forge-gui/res/cardsfolder/b/bonders_ornament.txt +++ b/forge-gui/res/cardsfolder/b/bonders_ornament.txt @@ -3,6 +3,6 @@ ManaCost:3 Types:Artifact A:AB$ Mana | Cost$ T | Produced$ Any | SpellDescription$ Add one mana of any color. A:AB$ RepeatEach | Cost$ 4 T | RepeatPlayers$ Player | RepeatSubAbility$ DBDraw | SpellDescription$ Each player who controls a permanent named Bonder's Ornament draws a card. -SVar:DBDraw:DB$ Draw | NumCards$ 1 | Defined$ Player.IsRemembered | ConditionCheckSVar$ OrnCheck | ConditionSVarCompare$ GE1 | References$ OrnCheck +SVar:DBDraw:DB$ Draw | NumCards$ 1 | Defined$ Player.IsRemembered | ConditionCheckSVar$ OrnCheck | ConditionSVarCompare$ GE1 SVar:OrnCheck:PlayerCountRemembered$Valid Permanent.namedBonder's Ornament+RememberedPlayerCtrl Oracle:{T}: Add one mana of any color.\n{4}, {T}: Each player who controls a permanent named Bonder's Ornament draws a card. diff --git a/forge-gui/res/cardsfolder/b/bone_harvest.txt b/forge-gui/res/cardsfolder/b/bone_harvest.txt index e2ea9cb13aa..6f5ab7d743d 100644 --- a/forge-gui/res/cardsfolder/b/bone_harvest.txt +++ b/forge-gui/res/cardsfolder/b/bone_harvest.txt @@ -1,7 +1,7 @@ Name:Bone Harvest ManaCost:2 B Types:Instant -A:SP$ ChangeZone | Cost$ 2 B | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | References$ X | SpellDescription$ Put any number of target creature cards from your graveyard on top of your library. Draw a card at the beginning of next turn's upkeep. | SubAbility$ DelTrigSlowtrip +A:SP$ ChangeZone | Cost$ 2 B | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | SpellDescription$ Put any number of target creature cards from your graveyard on top of your library. Draw a card at the beginning of next turn's upkeep. | SubAbility$ DelTrigSlowtrip SVar:DelTrigSlowtrip:DB$ DelayedTrigger | Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ DrawSlowtrip | TriggerDescription$ Draw a card. SVar:DrawSlowtrip:DB$Draw | NumCards$ 1 | Defined$ You SVar:X:Count$TypeInYourYard.Creature diff --git a/forge-gui/res/cardsfolder/b/bone_mask.txt b/forge-gui/res/cardsfolder/b/bone_mask.txt index 9e089f2cdd7..a5c3e089e7e 100644 --- a/forge-gui/res/cardsfolder/b/bone_mask.txt +++ b/forge-gui/res/cardsfolder/b/bone_mask.txt @@ -4,7 +4,7 @@ Types:Artifact A:AB$ ChooseSource | Cost$ 2 T | Choices$ Card | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice would deal damage to you this turn, prevent that damage. Exile cards from the top of your library equal to the damage prevented this way. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventNextFromSource | RememberObjects$ Remembered | SVars$ RPreventNextFromSource,ExileEffect,ExileFromLibInstead,X | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 SVar:RPreventNextFromSource:Event$ DamageDone | ValidSource$ Card.IsRemembered | ValidTarget$ You | ReplaceWith$ ExileFromLibInstead | PreventionEffect$ True | Description$ The next time the chosen source deals damage to you, prevent that damage. -SVar:ExileFromLibInstead:DB$ Dig | Defined$ You | DestinationZone$ Exile | DigNum$ X | References$ X | ChangeNum$ All +SVar:ExileFromLibInstead:DB$ Dig | Defined$ You | DestinationZone$ Exile | DigNum$ X | ChangeNum$ All SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:X:ReplaceCount$DamageAmount SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/b/boneyard_mycodrax.txt b/forge-gui/res/cardsfolder/b/boneyard_mycodrax.txt index 11e8e11f844..0b0073b0ed6 100755 --- a/forge-gui/res/cardsfolder/b/boneyard_mycodrax.txt +++ b/forge-gui/res/cardsfolder/b/boneyard_mycodrax.txt @@ -2,7 +2,7 @@ Name:Boneyard Mycodrax ManaCost:2 B Types:Creature Fungus PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of other creature cards in your graveyard. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of other creature cards in your graveyard. SVar:X:Count$ValidGraveyard Creature.Other+YouOwn K:Scavenge:4 B Oracle:Boneyard Mycodrax's power and toughness are each equal to the number of other creature cards in your graveyard.\nScavenge {4}{B} ({4}{B}, Exile this card from your graveyard: Put a number of +1/+1 counters equal to this card's power on target creature. Scavenge only as a sorcery.) diff --git a/forge-gui/res/cardsfolder/b/boneyard_wurm.txt b/forge-gui/res/cardsfolder/b/boneyard_wurm.txt index 52554b4d031..2d931a33f1b 100644 --- a/forge-gui/res/cardsfolder/b/boneyard_wurm.txt +++ b/forge-gui/res/cardsfolder/b/boneyard_wurm.txt @@ -2,7 +2,7 @@ Name:Boneyard Wurm ManaCost:1 G Types:Creature Wurm PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creature cards in your graveyard. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creature cards in your graveyard. SVar:X:Count$TypeInYourYard.Creature SVar:NeedsToPlayVar:X GE1 SVar:Picture:http://www.wizards.com/global/images/magic/general/boneyard_wurm.jpg diff --git a/forge-gui/res/cardsfolder/b/bonfire_of_the_damned.txt b/forge-gui/res/cardsfolder/b/bonfire_of_the_damned.txt index 2ae0744f85d..fce07fd94dc 100644 --- a/forge-gui/res/cardsfolder/b/bonfire_of_the_damned.txt +++ b/forge-gui/res/cardsfolder/b/bonfire_of_the_damned.txt @@ -1,8 +1,8 @@ Name:Bonfire of the Damned ManaCost:X X R Types:Sorcery -A:SP$ DealDamage | Cost$ X X R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select a player or planeswalker | NumDmg$ X | References$ X | SubAbility$ DmgAll | DamageMap$ True | SpellDescription$ CARDNAME deals X damage to target player or planeswalker and each creature that player or that planeswalker's controller controls. -SVar:DmgAll:DB$ DamageAll | NumDmg$ X | References$ X | ValidCards$ Creature.ControlledBy TargetedOrController | SubAbility$ DBDamageResolve +A:SP$ DealDamage | Cost$ X X R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select a player or planeswalker | NumDmg$ X | SubAbility$ DmgAll | DamageMap$ True | SpellDescription$ CARDNAME deals X damage to target player or planeswalker and each creature that player or that planeswalker's controller controls. +SVar:DmgAll:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature.ControlledBy TargetedOrController | SubAbility$ DBDamageResolve SVar:DBDamageResolve:DB$ DamageResolve K:Miracle:X R SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/b/booby_trap.txt b/forge-gui/res/cardsfolder/b/booby_trap.txt index bc906e42237..62cccad30e7 100644 --- a/forge-gui/res/cardsfolder/b/booby_trap.txt +++ b/forge-gui/res/cardsfolder/b/booby_trap.txt @@ -10,7 +10,7 @@ SVar:TrigReveal:DB$ Reveal | Defined$ Player.Chosen | RevealValid$ Card.IsRememb SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True T:Mode$ Drawn | ValidCard$ Card.NamedCard+OwnedBy Player.Chosen | TriggerZones$ Battlefield | Execute$ TrapTriggered | TriggerDescription$ When the chosen player draws a card with the chosen name, sacrifice CARDNAME. If you do, CARDNAME deals 10 damage to that player. SVar:TrapTriggered:DB$ SacrificeAll | ValidCards$ Card.Self | RememberSacrificed$ True | SubAbility$ Explosion -SVar:Explosion:DB$ DealDamage | NumDmg$ 10 | Defined$ Player.Chosen | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup | References$ X +SVar:Explosion:DB$ DealDamage | NumDmg$ 10 | Defined$ Player.Chosen | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:X:Remembered$Amount AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/booby_trap.jpg diff --git a/forge-gui/res/cardsfolder/b/book_devourer.txt b/forge-gui/res/cardsfolder/b/book_devourer.txt index 2119bd7e706..a3e61b667cf 100644 --- a/forge-gui/res/cardsfolder/b/book_devourer.txt +++ b/forge-gui/res/cardsfolder/b/book_devourer.txt @@ -5,7 +5,7 @@ PT:4/5 K:Trample T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ TrigDiscard | CombatDamage$ True | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may discard all the cards in your hand. If you do, draw that many cards. SVar:TrigDiscard:DB$ Discard | Mode$ Hand | RememberDiscarded$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount DeckHas:Ability$Discard diff --git a/forge-gui/res/cardsfolder/b/boon_reflection.txt b/forge-gui/res/cardsfolder/b/boon_reflection.txt index d15430c52ca..fc86840e58c 100644 --- a/forge-gui/res/cardsfolder/b/boon_reflection.txt +++ b/forge-gui/res/cardsfolder/b/boon_reflection.txt @@ -2,7 +2,7 @@ Name:Boon Reflection ManaCost:4 W Types:Enchantment R:Event$ GainLife | ActiveZones$ Battlefield | ValidPlayer$ You | ReplaceWith$ GainDouble | AiLogic$ DoubleLife | Description$ If you would gain life, you gain twice that much life instead. -SVar:GainDouble:DB$ ReplaceEffect | VarName$ LifeGained | VarValue$ X | References$ X +SVar:GainDouble:DB$ ReplaceEffect | VarName$ LifeGained | VarValue$ X SVar:X:ReplaceCount$LifeGained/Twice SVar:PlayMain1:True DeckHints:Keyword$Lifelink diff --git a/forge-gui/res/cardsfolder/b/boreal_outrider.txt b/forge-gui/res/cardsfolder/b/boreal_outrider.txt index 14ed760ade3..867f78e6a48 100644 --- a/forge-gui/res/cardsfolder/b/boreal_outrider.txt +++ b/forge-gui/res/cardsfolder/b/boreal_outrider.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Snow Creature Elf Warrior PT:3/2 T:Mode$ SpellCast | ValidCard$ Creature | ValidActivatingPlayer$ You | Execute$ TrigEffect | TriggerZones$ Battlefield | SnowSpentForCardsColor$ True | TriggerDescription$ Whenever you cast a creature spell, if {S} of any of that spell's colors was spent to cast it, that creature enters the battlefield with an additional +1/+1 counter on it. ({S} is mana from a snow source.) -SVar:TrigEffect:DB$ Effect | RememberObjects$ TriggeredCard | ReplacementEffects$ ETBCreat | SVars$ DBPutP1P1,ToBattlefield,DBExile | References$ ETBCreat,DBPutP1P1,ToBattlefield,DBExile +SVar:TrigEffect:DB$ Effect | RememberObjects$ TriggeredCard | ReplacementEffects$ ETBCreat | SVars$ DBPutP1P1,ToBattlefield,DBExileTBCreat,DBPutP1P1,ToBattlefield,DBExile SVar:ETBCreat:Event$ Moved | ValidCard$ Card.IsRemembered | Destination$ Battlefield | ReplaceWith$ DBPutP1P1 | Description$ That creature enters the battlefield with an additional +1/+1 counter on it. SVar:DBPutP1P1:DB$ PutCounter | Defined$ ReplacedCard | CounterType$ P1P1 | ETB$ True | CounterNum$ 1 | SubAbility$ ToBattlefield SVar:ToBattlefield:DB$ InternalEtbReplacement | SubAbility$ DBExile diff --git a/forge-gui/res/cardsfolder/b/boreas_charger.txt b/forge-gui/res/cardsfolder/b/boreas_charger.txt index 2bc19f99a2a..4d8aa398024 100644 --- a/forge-gui/res/cardsfolder/b/boreas_charger.txt +++ b/forge-gui/res/cardsfolder/b/boreas_charger.txt @@ -5,7 +5,7 @@ PT:2/1 K:Flying T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigChooseOpp | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, choose an opponent who controls more lands than you. Search your library for a number of Plains cards equal to the difference and reveal them. Put one of them onto the battlefield tapped and the rest into your hand. Then shuffle your library. SVar:TrigChooseOpp:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent+withMoreLandsThanYou | RememberChosen$ True | SubAbility$ TrigSearchHand -SVar:TrigSearchHand:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Plains.YouCtrl | ChangeNum$ Z | References$ X,Y,Z | NoShuffle$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | StackDescription$ None | SubAbility$ TrigSearchPlay +SVar:TrigSearchHand:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Plains.YouCtrl | ChangeNum$ Z | NoShuffle$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | StackDescription$ None | SubAbility$ TrigSearchPlay SVar:TrigSearchPlay:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Plains.YouCtrl | ChangeNum$ 1 | StackDescription$ None | NoLooking$ True | Tapped$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearChosen$ True SVar:X:Count$Valid Land.RememberedPlayerCtrl/Minus.Y diff --git a/forge-gui/res/cardsfolder/b/boros_fury_shield.txt b/forge-gui/res/cardsfolder/b/boros_fury_shield.txt index 3f926a16937..adcd5e85df2 100644 --- a/forge-gui/res/cardsfolder/b/boros_fury_shield.txt +++ b/forge-gui/res/cardsfolder/b/boros_fury_shield.txt @@ -2,7 +2,7 @@ Name:Boros Fury-Shield ManaCost:2 W Types:Instant A:SP$ Pump | Cost$ 2 W | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | IsCurse$ True | SubAbility$ DBDamage | KW$ Prevent all combat damage that would be dealt by CARDNAME. | SpellDescription$ Prevent all combat damage that would be dealt by target attacking or blocking creature this turn. If {R} was spent to cast this spell, CARDNAME deals damage to that creature's controller equal to the creature's power. -SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | ConditionManaSpent$ R | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | ConditionManaSpent$ R SVar:X:Targeted$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/boros_fury_shield.jpg diff --git a/forge-gui/res/cardsfolder/b/boros_reckoner.txt b/forge-gui/res/cardsfolder/b/boros_reckoner.txt index da09812dc69..c70282bd04e 100644 --- a/forge-gui/res/cardsfolder/b/boros_reckoner.txt +++ b/forge-gui/res/cardsfolder/b/boros_reckoner.txt @@ -3,7 +3,7 @@ ManaCost:RW RW RW Types:Creature Minotaur Wizard PT:3/3 T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to any target. -SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | References$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target +SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target A:AB$ Pump | Cost$ RW | KW$ First Strike | Defined$ Self | SpellDescription$ CARDNAME gains first strike until end of turn. SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/b/borrowing_100000_arrows.txt b/forge-gui/res/cardsfolder/b/borrowing_100000_arrows.txt index 2f9dcff4882..6127af162fb 100644 --- a/forge-gui/res/cardsfolder/b/borrowing_100000_arrows.txt +++ b/forge-gui/res/cardsfolder/b/borrowing_100000_arrows.txt @@ -1,7 +1,7 @@ Name:Borrowing 100,000 Arrows ManaCost:2 U Types:Sorcery -A:SP$ Draw | Cost$ 2 U | Defined$ You | ValidTgts$ Opponent | NumCards$ X | References$ X | SpellDescription$ Draw a card for each tapped creature target opponent controls. +A:SP$ Draw | Cost$ 2 U | Defined$ You | ValidTgts$ Opponent | NumCards$ X | SpellDescription$ Draw a card for each tapped creature target opponent controls. SVar:X:Count$Valid Creature.tapped+TargetedPlayerCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/borrowing_100000_arrows.jpg Oracle:Draw a card for each tapped creature target opponent controls. diff --git a/forge-gui/res/cardsfolder/b/borrowing_the_east_wind.txt b/forge-gui/res/cardsfolder/b/borrowing_the_east_wind.txt index 972b6e3fb5a..27e69eef753 100644 --- a/forge-gui/res/cardsfolder/b/borrowing_the_east_wind.txt +++ b/forge-gui/res/cardsfolder/b/borrowing_the_east_wind.txt @@ -1,7 +1,7 @@ Name:Borrowing the East Wind ManaCost:X G G Types:Sorcery -A:SP$ DamageAll | Cost$ X G G | ValidCards$ Creature.withHorsemanship | ValidPlayers$ Player | NumDmg$ X | ValidDescription$ each creature with horsemanship and each player. | References$ X | SpellDescription$ CARDNAME deals X damage to each creature with horsemanship and each player. +A:SP$ DamageAll | Cost$ X G G | ValidCards$ Creature.withHorsemanship | ValidPlayers$ Player | NumDmg$ X | ValidDescription$ each creature with horsemanship and each player. | SpellDescription$ CARDNAME deals X damage to each creature with horsemanship and each player. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://serv3.tcgimages.eu/img/cards/Portal_Three_Kingdoms/borrowing_the_east_wind.jpg diff --git a/forge-gui/res/cardsfolder/b/bosh_iron_golem.txt b/forge-gui/res/cardsfolder/b/bosh_iron_golem.txt index 23caf195f5a..5a0831356ea 100644 --- a/forge-gui/res/cardsfolder/b/bosh_iron_golem.txt +++ b/forge-gui/res/cardsfolder/b/bosh_iron_golem.txt @@ -3,7 +3,7 @@ ManaCost:8 Types:Legendary Artifact Creature Golem PT:6/7 K:Trample -A:AB$ DealDamage | Cost$ 3 R Sac<1/Artifact> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed artifact's converted mana cost to any target. +A:AB$ DealDamage | Cost$ 3 R Sac<1/Artifact> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed artifact's converted mana cost to any target. SVar:X:Sacrificed$CardManaCost DeckNeeds:Color$Red AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/b/bosh_iron_golem_avatar.txt b/forge-gui/res/cardsfolder/b/bosh_iron_golem_avatar.txt index 305f03dab35..6790fa410fe 100644 --- a/forge-gui/res/cardsfolder/b/bosh_iron_golem_avatar.txt +++ b/forge-gui/res/cardsfolder/b/bosh_iron_golem_avatar.txt @@ -2,7 +2,7 @@ Name:Bosh, Iron Golem Avatar ManaCost:no cost Types:Vanguard HandLifeModifier:+0/-2 -A:AB$ DealDamage | ActivationZone$ Command | Cost$ X Sac<1/Artifact.cmcEQX/artifact with converted mana cost X> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target. +A:AB$ DealDamage | ActivationZone$ Command | Cost$ X Sac<1/Artifact.cmcEQX/artifact with converted mana cost X> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target. SVar:X:Count$xPaid SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Bosh, Iron Golem Avatar.full.jpg AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/b/botanical_sanctum.txt b/forge-gui/res/cardsfolder/b/botanical_sanctum.txt index 2750ffc1f4a..ac9b6356919 100644 --- a/forge-gui/res/cardsfolder/b/botanical_sanctum.txt +++ b/forge-gui/res/cardsfolder/b/botanical_sanctum.txt @@ -2,7 +2,7 @@ Name:Botanical Sanctum ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. SVar:ETBCheckSVar2:Count$LastStateBattlefield Land.YouCtrl A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add {G}. A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add {U}. diff --git a/forge-gui/res/cardsfolder/b/bottomless_vault.txt b/forge-gui/res/cardsfolder/b/bottomless_vault.txt index 8578548ea47..9d137280ea7 100644 --- a/forge-gui/res/cardsfolder/b/bottomless_vault.txt +++ b/forge-gui/res/cardsfolder/b/bottomless_vault.txt @@ -5,7 +5,7 @@ K:CARDNAME enters the battlefield tapped. K:You may choose not to untap CARDNAME during your untap step. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+tapped | Execute$ TrigStore | TriggerDescription$ At the beginning of your upkeep, if CARDNAME is tapped, put a storage counter on it. SVar:TrigStore:DB$PutCounter | Defined$ Self | CounterType$ STORAGE | CounterNum$ 1 -A:AB$ Mana | Cost$ T SubCounter | Produced$ B | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | References$ X | AILogic$ ManaRitualBattery | SpellDescription$ Add {B} for each storage counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ B | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | AILogic$ ManaRitualBattery | SpellDescription$ Add {B} for each storage counter removed this way. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Bottomless Vault enters the battlefield tapped.\nYou may choose not to untap Bottomless Vault during your untap step.\nAt the beginning of your upkeep, if Bottomless Vault is tapped, put a storage counter on it.\n{T}, Remove any number of storage counters from Bottomless Vault: Add {B} for each storage counter removed this way. diff --git a/forge-gui/res/cardsfolder/b/bound_determined.txt b/forge-gui/res/cardsfolder/b/bound_determined.txt index 20d07fe23c7..54bcefe7463 100644 --- a/forge-gui/res/cardsfolder/b/bound_determined.txt +++ b/forge-gui/res/cardsfolder/b/bound_determined.txt @@ -3,7 +3,7 @@ ManaCost:3 B G AlternateMode: Split Types:Instant A:SP$ Sacrifice | Cost$ 3 B G | SacValid$ Creature | RememberSacrificed$ True | SubAbility$ DBReturnChoose | SpellDescription$ Sacrifice a creature. Return up to X cards from your graveyard to your hand, where X is the number of colors that creature was. Exile this card. -SVar:DBReturnChoose:DB$ ChooseCard | Defined$ You | Choices$ Card.YouOwn | ChoiceZone$ Graveyard | Amount$ X | References$ X | SubAbility$ DBReturn +SVar:DBReturnChoose:DB$ ChooseCard | Defined$ You | Choices$ Card.YouOwn | ChoiceZone$ Graveyard | Amount$ X | SubAbility$ DBReturn SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Defined$ ChosenCard | SubAbility$ ExileSelf SVar:ExileSelf:DB$ ChangeZone | Origin$ Stack | Destination$ Exile | Defined$ Self | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/b/boundless_realms.txt b/forge-gui/res/cardsfolder/b/boundless_realms.txt index 8cff0d4842d..af6d98d272c 100644 --- a/forge-gui/res/cardsfolder/b/boundless_realms.txt +++ b/forge-gui/res/cardsfolder/b/boundless_realms.txt @@ -1,7 +1,7 @@ Name:Boundless Realms ManaCost:6 G Types:Sorcery -A:SP$ ChangeZone | Cost$ 6 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ X | References$ X | Tapped$ True | SpellDescription$ Search your library for X basic land cards, where X is the number of lands you control, put them onto the battlefield tapped, then shuffle your library. +A:SP$ ChangeZone | Cost$ 6 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ X | Tapped$ True | SpellDescription$ Search your library for X basic land cards, where X is the number of lands you control, put them onto the battlefield tapped, then shuffle your library. SVar:X:Count$Valid Land.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/boundless_realms.jpg Oracle:Search your library for up to X basic land cards, where X is the number of lands you control, and put them onto the battlefield tapped. Then shuffle your library. diff --git a/forge-gui/res/cardsfolder/b/bounteous_kirin.txt b/forge-gui/res/cardsfolder/b/bounteous_kirin.txt index 047abc1c98a..ffcb5448237 100644 --- a/forge-gui/res/cardsfolder/b/bounteous_kirin.txt +++ b/forge-gui/res/cardsfolder/b/bounteous_kirin.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Kirin Spirit PT:4/4 K:Flying T:Mode$ SpellCast | ValidCard$ Spirit,Arcane | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigGainLife | TriggerDescription$ Whenever you cast a Spirit or Arcane spell, you may gain life equal to that spell's converted mana cost. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$CastSACMC SVar:Picture:http://www.wizards.com/global/images/magic/general/bounteous_kirin.jpg Oracle:Flying\nWhenever you cast a Spirit or Arcane spell, you may gain life equal to that spell's converted mana cost. diff --git a/forge-gui/res/cardsfolder/b/bountiful_harvest.txt b/forge-gui/res/cardsfolder/b/bountiful_harvest.txt index b60d35ca6fd..2d5c53e15b1 100644 --- a/forge-gui/res/cardsfolder/b/bountiful_harvest.txt +++ b/forge-gui/res/cardsfolder/b/bountiful_harvest.txt @@ -1,7 +1,7 @@ Name:Bountiful Harvest ManaCost:4 G Types:Sorcery -A:SP$ GainLife | Cost$ 4 G | LifeAmount$ X | References$ X | SpellDescription$ You gain 1 life for each land you control. +A:SP$ GainLife | Cost$ 4 G | LifeAmount$ X | SpellDescription$ You gain 1 life for each land you control. SVar:X:Count$TypeYouCtrl.Land SVar:Picture:http://www.wizards.com/global/images/magic/general/bountiful_harvest.jpg Oracle:You gain 1 life for each land you control. diff --git a/forge-gui/res/cardsfolder/b/bountiful_promenade.txt b/forge-gui/res/cardsfolder/b/bountiful_promenade.txt index 0d52ce0ebf6..79e78a32716 100644 --- a/forge-gui/res/cardsfolder/b/bountiful_promenade.txt +++ b/forge-gui/res/cardsfolder/b/bountiful_promenade.txt @@ -2,7 +2,7 @@ Name:Bountiful Promenade ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. SVar:ETBCheckSVar2:PlayerCountOpponents$Amount A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add {G}. A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add {W}. diff --git a/forge-gui/res/cardsfolder/b/bounty_of_skemfar.txt b/forge-gui/res/cardsfolder/b/bounty_of_skemfar.txt index 65cb3db5cfc..0cf2cad22a5 100644 --- a/forge-gui/res/cardsfolder/b/bounty_of_skemfar.txt +++ b/forge-gui/res/cardsfolder/b/bounty_of_skemfar.txt @@ -2,7 +2,7 @@ Name:Bounty of Skemfar ManaCost:2 G Types:Sorcery A:SP$ Dig | DigNum$ 6 | Reveal$ True | ChangeNum$ 1 | Optional$ True | ChangeValid$ Land | DestinationZone$ Battlefield | Tapped$ True | DestinationZone2$ Library | LibraryPosition2$ 0 | SkipReorder$ True | RememberChanged$ True | SubAbility$ DBElf | SpellDescription$ Reveal the top six cards of your library. You may put a land card from among them onto the battlefield tapped and an Elf card from among them into your hand. Put the rest on the bottom of your library in a random order. | StackDescription$ SpellDescription -SVar:DBElf:DB$ Dig | DigNum$ X | References$ X,Y | ChangeNum$ 1 | Optional$ True | ChangeValid$ Elf | RestRandomOrder$ True | SubAbility$ DBCleanup | StackDescription$ None +SVar:DBElf:DB$ Dig | DigNum$ X | ChangeNum$ 1 | Optional$ True | ChangeValid$ Elf | RestRandomOrder$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Compare Y GE1.5.6 SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/b/bounty_of_the_luxa.txt b/forge-gui/res/cardsfolder/b/bounty_of_the_luxa.txt index b2d10ff771d..f117b0775ed 100644 --- a/forge-gui/res/cardsfolder/b/bounty_of_the_luxa.txt +++ b/forge-gui/res/cardsfolder/b/bounty_of_the_luxa.txt @@ -3,9 +3,9 @@ ManaCost:2 G U Types:Enchantment T:Mode$ Phase | PreCombatMain$ True | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRemove | TriggerDescription$ At the beginning of your precombat main phase, remove all flood counters from CARDNAME. If no counters were removed this way, put a flood counter on CARDNAME and draw a card. Otherwise, add {C}{G}{U}. SVar:TrigRemove:DB$ RemoveCounter | CounterType$ FLOOD | CounterNum$ All | RememberRemoved$ True | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$PutCounter | Defined$ Self | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ EQ0 | CounterType$ FLOOD | CounterNum$ 1 | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ 1 | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBGetMana -SVar:DBGetMana:DB$ Mana | Produced$ C G U | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup +SVar:DBPutCounter:DB$PutCounter | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | CounterType$ FLOOD | CounterNum$ 1 | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBGetMana +SVar:DBGetMana:DB$ Mana | Produced$ C G U | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedSize SVar:Picture:http://www.wizards.com/global/images/magic/general/bounty_of_the_luxa.jpg diff --git a/forge-gui/res/cardsfolder/b/bow_to_my_command.txt b/forge-gui/res/cardsfolder/b/bow_to_my_command.txt index 09c0b2d96a5..444ccea082d 100644 --- a/forge-gui/res/cardsfolder/b/bow_to_my_command.txt +++ b/forge-gui/res/cardsfolder/b/bow_to_my_command.txt @@ -13,9 +13,9 @@ SVar:STCantAttack:Mode$ CantAttack | EffectZone$ Command | ValidCard$ Creature.C # to also get rid of the complex script part below and the AILogic$ BowToMyCommand hack in AiController#chooseCardsForEffect T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Opponent | TriggerZones$ Command | Execute$ RepeatOpp | TriggerDescription$ At the beginning of your opponents' end step, they may tap any number of untapped creatures they control with total power 8 or greater. If they do, abandon this scheme. SVar:RepeatOpp:DB$ RepeatEach | RepeatSubAbility$ ChooseCardsToTap | RepeatPlayers$ Opponent -SVar:ChooseCardsToTap:DB$ ChooseCard | Defined$ Opponent | MinAmount$ 0 | Amount$ NumCreatures | References$ NumCreatures | Choices$ Creature.untapped+RememberedPlayerCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | AILogic$ BowToMyCommand | SubAbility$ TapChosenCards -SVar:TapChosenCards:DB$ Tap | Defined$ Remembered | SubAbility$ AbandonSelf | ConditionCheckSVar$ TappedCreaturePower | ConditionSVarCompare$ GE8 | References$ TappedCreaturePower -SVar:AbandonSelf:DB$ Abandon | SubAbility$ DBCleanup | ConditionCheckSVar$ TappedCreaturePower | ConditionSVarCompare$ GE8 | References$ TappedCreaturePower +SVar:ChooseCardsToTap:DB$ ChooseCard | Defined$ Opponent | MinAmount$ 0 | Amount$ NumCreatures | Choices$ Creature.untapped+RememberedPlayerCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | AILogic$ BowToMyCommand | SubAbility$ TapChosenCards +SVar:TapChosenCards:DB$ Tap | Defined$ Remembered | SubAbility$ AbandonSelf | ConditionCheckSVar$ TappedCreaturePower | ConditionSVarCompare$ GE8 +SVar:AbandonSelf:DB$ Abandon | SubAbility$ DBCleanup | ConditionCheckSVar$ TappedCreaturePower | ConditionSVarCompare$ GE8 T:Mode$ Abandoned | ValidCard$ Self | Execute$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearChosenCard$ True SVar:NumCreatures:Count$Valid Creature.RememberedPlayerCtrl diff --git a/forge-gui/res/cardsfolder/b/brago_king_eternal.txt b/forge-gui/res/cardsfolder/b/brago_king_eternal.txt index 65b84ea466a..6c7fc5c04c1 100644 --- a/forge-gui/res/cardsfolder/b/brago_king_eternal.txt +++ b/forge-gui/res/cardsfolder/b/brago_king_eternal.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Spirit Noble PT:2/4 K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, exile any number of target nonland permanents you control, then return those cards to the battlefield under their owner's control. -SVar:TrigExile:DB$ ChangeZone | ValidTgts$ Permanent.YouCtrl+nonLand | TgtPrompt$ Exile any number of target nonland permanents you control | TargetMin$ 0 | TargetMax$ X | References$ X | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBReturn +SVar:TrigExile:DB$ ChangeZone | ValidTgts$ Permanent.YouCtrl+nonLand | TgtPrompt$ Exile any number of target nonland permanents you control | TargetMin$ 0 | TargetMax$ X | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBReturn SVar:DBReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ All | Destination$ Battlefield | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Permanent.YouCtrl+nonLand diff --git a/forge-gui/res/cardsfolder/b/brain_in_a_jar.txt b/forge-gui/res/cardsfolder/b/brain_in_a_jar.txt index d3dcdbf64ec..afa911c23bf 100644 --- a/forge-gui/res/cardsfolder/b/brain_in_a_jar.txt +++ b/forge-gui/res/cardsfolder/b/brain_in_a_jar.txt @@ -2,8 +2,8 @@ Name:Brain in a Jar ManaCost:2 Types:Artifact A:AB$ PutCounter | Cost$ 1 T | CounterType$ CHARGE | CounterNum$ 1 | SubAbility$ DBCast | SpellDescription$ Put a charge counter on Brain in a Jar, then you may cast an instant or sorcery card with converted mana cost equal to the number of charge counters on Brain in a Jar from your hand without paying its mana cost. -SVar:DBCast:DB$ Play | ValidZone$ Hand | Valid$ Instant.YouOwn,Sorcery.YouOwn| ValidSA$ Spell.cmcEQY | Controller$ You | WithoutManaCost$ True | Optional$ True | Amount$ 1 | References$ Y -A:AB$ Scry | Cost$ 3 T SubCounter | ScryNum$ X | References$ X | AILogic$ BrainJar | SpellDescription$ Scry X. +SVar:DBCast:DB$ Play | ValidZone$ Hand | Valid$ Instant.YouOwn,Sorcery.YouOwn| ValidSA$ Spell.cmcEQY | Controller$ You | WithoutManaCost$ True | Optional$ True | Amount$ 1 +A:AB$ Scry | Cost$ 3 T SubCounter | ScryNum$ X | AILogic$ BrainJar | SpellDescription$ Scry X. SVar:X:Count$xPaid SVar:Y:Count$CardCounters.CHARGE Oracle:{1}, {T}: Put a charge counter on Brain in a Jar, then you may cast an instant or sorcery spell with converted mana cost equal to the number of charge counters on Brain in a Jar from your hand without paying its mana cost.\n{3}, {T}, Remove X charge counters from Brain in a Jar: Scry X. diff --git a/forge-gui/res/cardsfolder/b/braingeyser.txt b/forge-gui/res/cardsfolder/b/braingeyser.txt index 54b873e0bdd..f0af4568d78 100644 --- a/forge-gui/res/cardsfolder/b/braingeyser.txt +++ b/forge-gui/res/cardsfolder/b/braingeyser.txt @@ -1,7 +1,7 @@ Name:Braingeyser ManaCost:X U U Types:Sorcery -A:SP$ Draw | Cost$ X U U | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | References$ X | SpellDescription$ Target player draws X cards. +A:SP$ Draw | Cost$ X U U | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | SpellDescription$ Target player draws X cards. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/braingeyser.jpg Oracle:Target player draws X cards. diff --git a/forge-gui/res/cardsfolder/b/branching_evolution.txt b/forge-gui/res/cardsfolder/b/branching_evolution.txt index 863889ba2f9..95944b72e64 100755 --- a/forge-gui/res/cardsfolder/b/branching_evolution.txt +++ b/forge-gui/res/cardsfolder/b/branching_evolution.txt @@ -2,6 +2,6 @@ Name:Branching Evolution ManaCost:2 G Types:Enchantment R:Event$ AddCounter | ActiveZones$ Battlefield | ValidCard$ Creature.YouCtrl | ValidCounterType$ P1P1 | ReplaceWith$ DoubleCounters | Description$ If one or more +1/+1 counters would be put a creature you control, twice that many +1/+1 counters are put on that creature instead. -SVar:DoubleCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X | References$ X +SVar:DoubleCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X SVar:X:ReplaceCount$CounterNum/Twice Oracle:If one or more +1/+1 counters would be put on a creature you control, twice that many +1/+1 counters are put on that creature instead. diff --git a/forge-gui/res/cardsfolder/b/brash_taunter.txt b/forge-gui/res/cardsfolder/b/brash_taunter.txt index 161f1b288f8..f127b6a73a1 100644 --- a/forge-gui/res/cardsfolder/b/brash_taunter.txt +++ b/forge-gui/res/cardsfolder/b/brash_taunter.txt @@ -4,7 +4,7 @@ Types:Creature Goblin PT:1/1 K:Indestructible T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to target opponent. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumDmg$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE A:AB$ Fight | Cost$ 2 R T | Defined$ Self | ValidTgts$ Creature.Other | TgtPrompt$ Select another target creature | SpellDescription$ CARDNAME fights another target creature. diff --git a/forge-gui/res/cardsfolder/b/brasss_bounty.txt b/forge-gui/res/cardsfolder/b/brasss_bounty.txt index 05751d16b96..fe60b2fd53d 100644 --- a/forge-gui/res/cardsfolder/b/brasss_bounty.txt +++ b/forge-gui/res/cardsfolder/b/brasss_bounty.txt @@ -1,7 +1,7 @@ Name:Brass's Bounty ManaCost:6 R Types:Sorcery -A:SP$ Token | Cost$ 6 R | TokenAmount$ X | References$ X | TokenScript$ c_a_treasure_sac | TokenOwner$ You | LegacyImage$ c a treasure sac rix | SpellDescription$ For each land you control, create a Treasure token. +A:SP$ Token | Cost$ 6 R | TokenAmount$ X | TokenScript$ c_a_treasure_sac | TokenOwner$ You | LegacyImage$ c a treasure sac rix | SpellDescription$ For each land you control, create a Treasure token. SVar:X:Count$TypeYouCtrl.Land DeckHas:Ability$Token Oracle:For each land you control, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") diff --git a/forge-gui/res/cardsfolder/b/brawl.txt b/forge-gui/res/cardsfolder/b/brawl.txt index 9d8d409b00d..007c6b802db 100644 --- a/forge-gui/res/cardsfolder/b/brawl.txt +++ b/forge-gui/res/cardsfolder/b/brawl.txt @@ -2,7 +2,7 @@ Name:Brawl ManaCost:3 R R Types:Instant A:SP$ AnimateAll | Cost$ 3 R R | ValidCards$ Creature | Abilities$ ThrowPunch | sVars$ BrawlX | SpellDescription$ Until end of turn, all creatures gain "{T}: This creature deals damage equal to its power to target creature." -SVar:ThrowPunch:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ BrawlX | References$ BrawlX | SpellDescription$ This creature deals damage equal to its power to target creature. +SVar:ThrowPunch:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ BrawlX | SpellDescription$ This creature deals damage equal to its power to target creature. SVar:BrawlX:Count$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/brawl.jpg diff --git a/forge-gui/res/cardsfolder/b/breakthrough.txt b/forge-gui/res/cardsfolder/b/breakthrough.txt index c098c9da709..c2831d2be5d 100644 --- a/forge-gui/res/cardsfolder/b/breakthrough.txt +++ b/forge-gui/res/cardsfolder/b/breakthrough.txt @@ -1,8 +1,8 @@ Name:Breakthrough ManaCost:X U Types:Sorcery -A:SP$ Draw | Cost$ X U | NumCards$ 4 | SubAbility$ DBBreakthroughDiscard | References$ X | SpellDescription$ Draw four cards, then choose X cards in your hand and discard the rest from it. -SVar:DBBreakthroughDiscard:DB$ Discard | Defined$ You | Mode$ TgtChoose | NumCards$ BreakthroughZ | References$ BreakthroughY,BreakthroughZ +A:SP$ Draw | Cost$ X U | NumCards$ 4 | SubAbility$ DBBreakthroughDiscard | SpellDescription$ Draw four cards, then choose X cards in your hand and discard the rest from it. +SVar:DBBreakthroughDiscard:DB$ Discard | Defined$ You | Mode$ TgtChoose | NumCards$ BreakthroughZ SVar:X:Count$xPaid SVar:BreakthroughY:Count$InYourHand SVar:BreakthroughZ:SVar$BreakthroughY/Minus.X diff --git a/forge-gui/res/cardsfolder/b/breath_of_darigaaz.txt b/forge-gui/res/cardsfolder/b/breath_of_darigaaz.txt index c711b3f598c..d967e872b25 100644 --- a/forge-gui/res/cardsfolder/b/breath_of_darigaaz.txt +++ b/forge-gui/res/cardsfolder/b/breath_of_darigaaz.txt @@ -2,7 +2,7 @@ Name:Breath of Darigaaz ManaCost:1 R Types:Sorcery K:Kicker:2 -A:SP$ DamageAll | Cost$ 1 R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ WasKicked | References$ WasKicked | SpellDescription$ CARDNAME deals 1 damage to each creature without flying and each player. If CARDNAME was kicked, it deals 4 damage instead. +A:SP$ DamageAll | Cost$ 1 R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ WasKicked | SpellDescription$ CARDNAME deals 1 damage to each creature without flying and each player. If CARDNAME was kicked, it deals 4 damage instead. SVar:WasKicked:Count$Kicked.4.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/breath_of_darigaaz.jpg Oracle:Kicker {2} (You may pay an additional {2} as you cast this spell.)\nBreath of Darigaaz deals 1 damage to each creature without flying and each player. If this spell was kicked, it deals 4 damage to each creature without flying and each player instead. diff --git a/forge-gui/res/cardsfolder/b/brightflame.txt b/forge-gui/res/cardsfolder/b/brightflame.txt index fce4da4995c..e54c3fc62b2 100644 --- a/forge-gui/res/cardsfolder/b/brightflame.txt +++ b/forge-gui/res/cardsfolder/b/brightflame.txt @@ -1,8 +1,8 @@ Name:Brightflame ManaCost:X R R W W Types:Sorcery -A:SP$DealDamage | Cost$ X R R W W | ValidTgts$ Creature | Radiance$ True | NumDmg$ X | SubAbility$ DBGainLife | References$ X | SpellDescription$ Radiance — Brightflame deals X damage to target creature and each other creature that shares a color with it. You gain life equal to the damage dealt this way. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ Y | References$ Y +A:SP$DealDamage | Cost$ X R R W W | ValidTgts$ Creature | Radiance$ True | NumDmg$ X | SubAbility$ DBGainLife | SpellDescription$ Radiance — Brightflame deals X damage to target creature and each other creature that shares a color with it. You gain life equal to the damage dealt this way. +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ Y SVar:X:Count$xPaid SVar:Y:Count$TotalDamageDoneByThisTurn AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/b/brightmare.txt b/forge-gui/res/cardsfolder/b/brightmare.txt index 435f2b9c42a..e2b89306fde 100755 --- a/forge-gui/res/cardsfolder/b/brightmare.txt +++ b/forge-gui/res/cardsfolder/b/brightmare.txt @@ -4,7 +4,7 @@ Types:Creature Unicorn PT:2/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigTap | TriggerDescription$ When CARDNAME enters the battlefield, tap up to one target creature. You gain life equal to that creature's power. SVar:TrigTap:DB$ Tap | ValidTgts$ Creature | TgtPrompt$ Select target creature | TargetMin$ 0 | TargetMax$ 1 | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Targeted$CardPower DeckHas:Ability$LifeGain Oracle:When Brightmare enters the battlefield, tap up to one target creature. You gain life equal to that creature's power. diff --git a/forge-gui/res/cardsfolder/b/brightstone_ritual.txt b/forge-gui/res/cardsfolder/b/brightstone_ritual.txt index a1db9364abf..fc69e3506d1 100644 --- a/forge-gui/res/cardsfolder/b/brightstone_ritual.txt +++ b/forge-gui/res/cardsfolder/b/brightstone_ritual.txt @@ -1,7 +1,7 @@ Name:Brightstone Ritual ManaCost:R Types:Instant -A:SP$ Mana | Cost$ R | Produced$ R | Amount$ X | References$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {R} for each Goblin on the battlefield. +A:SP$ Mana | Cost$ R | Produced$ R | Amount$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {R} for each Goblin on the battlefield. SVar:X:Count$TypeOnBattlefield.Goblin AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/brightstone_ritual.jpg diff --git a/forge-gui/res/cardsfolder/b/brilliant_spectrum.txt b/forge-gui/res/cardsfolder/b/brilliant_spectrum.txt index 492854dac3a..150aea50c77 100644 --- a/forge-gui/res/cardsfolder/b/brilliant_spectrum.txt +++ b/forge-gui/res/cardsfolder/b/brilliant_spectrum.txt @@ -1,7 +1,7 @@ Name:Brilliant Spectrum ManaCost:3 U Types:Sorcery -A:SP$ Draw | Cost$ 3 U | NumCards$ X | References$ X | SpellDescription$ Converge — Draw X cards, where X is the number of colors of mana spent to cast Brilliant Spectrum. Then discard two cards. | SubAbility$ DBDiscard +A:SP$ Draw | Cost$ 3 U | NumCards$ X | SpellDescription$ Converge — Draw X cards, where X is the number of colors of mana spent to cast Brilliant Spectrum. Then discard two cards. | SubAbility$ DBDiscard SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ 2 | Mode$ TgtChoose SVar:X:Count$Converge AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/b/brimstone_volley.txt b/forge-gui/res/cardsfolder/b/brimstone_volley.txt index 08fa7e76fdf..c8b1c492389 100644 --- a/forge-gui/res/cardsfolder/b/brimstone_volley.txt +++ b/forge-gui/res/cardsfolder/b/brimstone_volley.txt @@ -1,7 +1,7 @@ Name:Brimstone Volley ManaCost:2 R Types:Instant -A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals 3 damage to any target. Morbid — CARDNAME deals 5 damage instead if a creature died this turn. +A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals 3 damage to any target. Morbid — CARDNAME deals 5 damage instead if a creature died this turn. SVar:X:Count$Morbid.5.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/brimstone_volley.jpg Oracle:Brimstone Volley deals 3 damage to any target.\nMorbid — Brimstone Volley deals 5 damage instead if a creature died this turn. diff --git a/forge-gui/res/cardsfolder/b/brine_giant.txt b/forge-gui/res/cardsfolder/b/brine_giant.txt index 7150e7ad7fc..47b3894f772 100644 --- a/forge-gui/res/cardsfolder/b/brine_giant.txt +++ b/forge-gui/res/cardsfolder/b/brine_giant.txt @@ -2,7 +2,7 @@ Name:Brine Giant ManaCost:6 U Types:Creature Giant PT:5/6 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each enchantment you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each enchantment you control. SVar:X:Count$Valid Enchantment.YouCtrl DeckHints:Type$Enchantment Oracle:This spell costs {1} less to cast for each enchantment you control. diff --git a/forge-gui/res/cardsfolder/b/brine_seer.txt b/forge-gui/res/cardsfolder/b/brine_seer.txt index 56a9d629b38..0cbc13cc42a 100644 --- a/forge-gui/res/cardsfolder/b/brine_seer.txt +++ b/forge-gui/res/cardsfolder/b/brine_seer.txt @@ -3,7 +3,7 @@ ManaCost:3 U Types:Creature Human Wizard PT:1/1 A:AB$ Reveal | Cost$ 2 U T | Defined$ You | RevealValid$ Card.Blue | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBCounter | SpellDescription$ Reveal any number of blue cards in your hand. Counter target spell unless its controller pays {1} for each card revealed this way. -SVar:DBCounter:DB$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SubAbility$ DBCleanup | References$ X +SVar:DBCounter:DB$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/b/bring_low.txt b/forge-gui/res/cardsfolder/b/bring_low.txt index e6a31464f31..88d2a894510 100644 --- a/forge-gui/res/cardsfolder/b/bring_low.txt +++ b/forge-gui/res/cardsfolder/b/bring_low.txt @@ -1,7 +1,7 @@ Name:Bring Low ManaCost:3 R Types:Instant -A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X,Y | SpellDescription$ CARDNAME deals 3 damage to target creature. If that creature has a +1/+1 counter on it, CARDNAME deals 5 damage to it instead. +A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X,Y | SpellDescription$ CARDNAME deals 3 damage to target creature. If that creature has a +1/+1 counter on it, CARDNAME deals 5 damage to it instead. SVar:Y:Targeted$Valid Creature.counters_GE1_P1P1 SVar:X:Count$Compare Y GE1.5.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/bring_low.jpg diff --git a/forge-gui/res/cardsfolder/b/bring_to_light.txt b/forge-gui/res/cardsfolder/b/bring_to_light.txt index fa5d6e42cb2..efc56458458 100644 --- a/forge-gui/res/cardsfolder/b/bring_to_light.txt +++ b/forge-gui/res/cardsfolder/b/bring_to_light.txt @@ -1,7 +1,7 @@ Name:Bring to Light ManaCost:3 G U Types:Sorcery -A:SP$ ChangeZone | Cost$ 3 G U | Origin$ Library | Destination$ Exile | ChangeType$ Creature.cmcLEX,Instant.cmcLEX,Sorcery.cmcLEX | ChangeNum$ 1 | References$ X | RememberChanged$ True | SubAbility$ DBPlay | SpellDescription$ Converge — Search your library for a creature, instant, or sorcery card with converted mana cost less than or equal to the number of colors of mana spent to cast this spell, exile that card, then shuffle your library. You may cast that card without paying its mana cost. +A:SP$ ChangeZone | Cost$ 3 G U | Origin$ Library | Destination$ Exile | ChangeType$ Creature.cmcLEX,Instant.cmcLEX,Sorcery.cmcLEX | ChangeNum$ 1 | RememberChanged$ True | SubAbility$ DBPlay | SpellDescription$ Converge — Search your library for a creature, instant, or sorcery card with converted mana cost less than or equal to the number of colors of mana spent to cast this spell, exile that card, then shuffle your library. You may cast that card without paying its mana cost. SVar:DBPlay:DB$ Play | Defined$ Remembered | WithoutManaCost$ True | Optional$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Converge diff --git a/forge-gui/res/cardsfolder/b/brion_stoutarm.txt b/forge-gui/res/cardsfolder/b/brion_stoutarm.txt index 56ecf3f67e2..c30c5920a18 100644 --- a/forge-gui/res/cardsfolder/b/brion_stoutarm.txt +++ b/forge-gui/res/cardsfolder/b/brion_stoutarm.txt @@ -3,7 +3,7 @@ ManaCost:2 R W Types:Legendary Creature Giant Warrior PT:4/4 K:Lifelink -A:AB$ DealDamage | Cost$ R T Sac<1/Creature.Other/another creature> | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to target player or planeswalker. +A:AB$ DealDamage | Cost$ R T Sac<1/Creature.Other/another creature> | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to target player or planeswalker. SVar:X:Sacrificed$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/brion_stoutarm.jpg Oracle:Lifelink\n{R}, {T}, Sacrifice another creature: Brion Stoutarm deals damage equal to the sacrificed creature's power to target player or planeswalker. diff --git a/forge-gui/res/cardsfolder/b/broken_ambitions.txt b/forge-gui/res/cardsfolder/b/broken_ambitions.txt index 3336e35ec9e..691c04bb8a4 100644 --- a/forge-gui/res/cardsfolder/b/broken_ambitions.txt +++ b/forge-gui/res/cardsfolder/b/broken_ambitions.txt @@ -1,7 +1,7 @@ Name:Broken Ambitions ManaCost:X U Types:Instant -A:SP$ Counter | Cost$ X U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SubAbility$ DBClash | References$ X | SpellDescription$ Counter target spell unless its controller pays {X}. Clash with an opponent. If you win, that spell's controller mills four cards. +A:SP$ Counter | Cost$ X U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SubAbility$ DBClash | SpellDescription$ Counter target spell unless its controller pays {X}. Clash with an opponent. If you win, that spell's controller mills four cards. SVar:DBClash:DB$ Clash | WinSubAbility$ DBMill SVar:DBMill:DB$ Mill | Defined$ TargetedController | NumCards$ 4 SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/b/broken_visage.txt b/forge-gui/res/cardsfolder/b/broken_visage.txt index b97534f59fd..62bdc2ca774 100644 --- a/forge-gui/res/cardsfolder/b/broken_visage.txt +++ b/forge-gui/res/cardsfolder/b/broken_visage.txt @@ -2,7 +2,7 @@ Name:Broken Visage ManaCost:4 B Types:Instant A:SP$ Destroy | Cost$ 4 B | ValidTgts$ Creature.attacking+nonArtifact | TgtPrompt$ Select target nonartifact attacking creature | NoRegen$ True | SubAbility$ DBToken | SpellDescription$ Destroy target nonartifact attacking creature. It can't be regenerated. Create a black Spirit creature token. Its power is equal to that creature's power and its toughness is equal to that creature's toughness. Sacrifice the token at the beginning of the next end step. -SVar:DBToken:DB$ Token | Defined$ Targeted | TokenAmount$ 1 | TokenScript$ b_x_x_spirit | TokenOwner$ You | TokenPower$ dX | TokenToughness$ dY | References$ dX,dY | AtEOT$ Sacrifice +SVar:DBToken:DB$ Token | Defined$ Targeted | TokenAmount$ 1 | TokenScript$ b_x_x_spirit | TokenOwner$ You | TokenPower$ dX | TokenToughness$ dY | AtEOT$ Sacrifice SVar:dX:Targeted$CardPower SVar:dY:Targeted$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/broken_visage.jpg diff --git a/forge-gui/res/cardsfolder/b/bronze_bombshell.txt b/forge-gui/res/cardsfolder/b/bronze_bombshell.txt index 23ba054d891..0141c9ae592 100644 --- a/forge-gui/res/cardsfolder/b/bronze_bombshell.txt +++ b/forge-gui/res/cardsfolder/b/bronze_bombshell.txt @@ -4,7 +4,7 @@ Types:Artifact Creature Construct PT:4/1 T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Card.Self+OwnerDoesntControl | Execute$ TrigSac | TriggerDescription$ When a player other than CARDNAME's owner controls it, that player sacrifices it. If the player does, CARDNAME deals 7 damage to the player. SVar:TrigSac:DB$SacrificeAll | Defined$ Self | RememberSacrificed$ True | SubAbility$ DBDmg -SVar:DBDmg:DB$DealDamage | Defined$ You | NumDmg$ 7 | CheckSVar$ X | SVarCompare$ GE1 | References$ X +SVar:DBDmg:DB$DealDamage | Defined$ You | NumDmg$ 7 | CheckSVar$ X | SVarCompare$ GE1 SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/bronze_bombshell.jpg Oracle:When a player other than Bronze Bombshell's owner controls it, that player sacrifices it. If the player does, Bronze Bombshell deals 7 damage to the player. diff --git a/forge-gui/res/cardsfolder/b/bronze_tablet.txt b/forge-gui/res/cardsfolder/b/bronze_tablet.txt index 43673710181..8d00fc50244 100644 --- a/forge-gui/res/cardsfolder/b/bronze_tablet.txt +++ b/forge-gui/res/cardsfolder/b/bronze_tablet.txt @@ -4,8 +4,8 @@ Types:Artifact K:Remove CARDNAME from your deck before playing if you're not playing for ante. K:CARDNAME enters the battlefield tapped. A:AB$ Pump | Cost$ 4 T | ValidTgts$ Permanent.nonToken+OppOwn | TgtPrompt$ Select target nontoken permanent an opponent owns | RememberObjects$ TargetedController | SubAbility$ Choice1 | StackDescription$ SpellDescription | SpellDescription$ Exile CARDNAME and target nontoken permanent an opponent owns. That player may pay 10 life. If they do, put Bronze Tablet into its owner's graveyard. Otherwise, that player owns Bronze Tablet and you own the other exiled card. -SVar:Choice1:DB$ GenericChoice | Choices$ ExchangeOwnership,Concede | Defined$ TargetedOwner | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ LT10 | SubAbility$ Choice2 | StackDescription$ None -SVar:Choice2:DB$ GenericChoice | Choices$ PayLife,ExchangeOwnership,Concede | Defined$ TargetedOwner | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE10 | StackDescription$ None +SVar:Choice1:DB$ GenericChoice | Choices$ ExchangeOwnership,Concede | Defined$ TargetedOwner | ConditionCheckSVar$ X | ConditionSVarCompare$ LT10 | SubAbility$ Choice2 | StackDescription$ None +SVar:Choice2:DB$ GenericChoice | Choices$ PayLife,ExchangeOwnership,Concede | Defined$ TargetedOwner | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 | StackDescription$ None SVar:X:PlayerCountRemembered$LifeTotal SVar:ExchangeOwnership:DB$ GainOwnership | Defined$ Targeted | DefinedPlayer$ You | SubAbility$ TargetToExile1 | SpellDescription$ Exchange ownership of your card for Bronze Tablet (both cards remain exiled) SVar:TargetToExile1:DB$ ChangeZone | Defined$ Targeted | Origin$ All | Destination$ Exile | SubAbility$ BronzeExchange diff --git a/forge-gui/res/cardsfolder/b/brood_birthing.txt b/forge-gui/res/cardsfolder/b/brood_birthing.txt index e61c256b2a0..18243b59715 100644 --- a/forge-gui/res/cardsfolder/b/brood_birthing.txt +++ b/forge-gui/res/cardsfolder/b/brood_birthing.txt @@ -1,7 +1,7 @@ Name:Brood Birthing ManaCost:1 R Types:Sorcery -A:SP$ Token | Cost$ 1 R | TokenAmount$ X | TokenScript$ c_0_1_eldrazi_spawn_sac | TokenOwner$ You | LegacyImage$ c 0 1 eldrazi spawn sac roe | References$ X,Y | SpellDescription$ If you control an Eldrazi Spawn, create three 0/1 colorless Eldrazi Spawn creature tokens. They have "Sacrifice this creature: Add {C}." Otherwise, create one of those tokens. +A:SP$ Token | Cost$ 1 R | TokenAmount$ X | TokenScript$ c_0_1_eldrazi_spawn_sac | TokenOwner$ You | LegacyImage$ c 0 1 eldrazi spawn sac roe | SpellDescription$ If you control an Eldrazi Spawn, create three 0/1 colorless Eldrazi Spawn creature tokens. They have "Sacrifice this creature: Add {C}." Otherwise, create one of those tokens. SVar:X:Count$Compare Y GE1.3.1 SVar:Y:Count$Valid Card.YouCtrl+Eldrazi+Spawn DeckHints:Type$Eldrazi diff --git a/forge-gui/res/cardsfolder/b/broodhatch_nantuko.txt b/forge-gui/res/cardsfolder/b/broodhatch_nantuko.txt index 96eb85f16b2..8bd373a4511 100644 --- a/forge-gui/res/cardsfolder/b/broodhatch_nantuko.txt +++ b/forge-gui/res/cardsfolder/b/broodhatch_nantuko.txt @@ -4,7 +4,7 @@ Types:Creature Insect Druid PT:1/1 K:Morph:2 G T:Mode$ DamageDoneOnce | Execute$ TrigToken | ValidTarget$ Card.Self | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME is dealt damage, you may create that many 1/1 green Insect creature tokens. -SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ g_1_1_insect | TokenOwner$ You | LegacyImage$ g 1 1 insect ons | References$ X +SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ g_1_1_insect | TokenOwner$ You | LegacyImage$ g 1 1 insect ons SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/broodhatch_nantuko.jpg diff --git a/forge-gui/res/cardsfolder/b/broodstar.txt b/forge-gui/res/cardsfolder/b/broodstar.txt index 224dd0a9b1d..ddac3acfd45 100644 --- a/forge-gui/res/cardsfolder/b/broodstar.txt +++ b/forge-gui/res/cardsfolder/b/broodstar.txt @@ -4,7 +4,7 @@ Types:Creature Beast PT:*/* K:Affinity:Artifact K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of artifacts you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of artifacts you control. SVar:X:Count$Valid Artifact.YouCtrl SVar:NeedsToPlayVar:X GE3 AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/b/bruvac_the_grandiloquent.txt b/forge-gui/res/cardsfolder/b/bruvac_the_grandiloquent.txt index 3ff19e8fa9b..d38f448b88d 100644 --- a/forge-gui/res/cardsfolder/b/bruvac_the_grandiloquent.txt +++ b/forge-gui/res/cardsfolder/b/bruvac_the_grandiloquent.txt @@ -3,7 +3,7 @@ ManaCost:2 U Types:Legendary Creature Human Advisor PT:1/4 R:Event$ Mill | ActiveZones$ Battlefield | ValidPlayer$ Player.Opponent | ReplaceWith$ MillTwice | Description$ If an opponent would mill one or more cards, they mill twice that many cards instead. (To mill a card, a player puts the top card of their library into their graveyard.) -SVar:MillTwice:DB$ ReplaceEffect | VarName$ Number | VarValue$ X | References$ X +SVar:MillTwice:DB$ ReplaceEffect | VarName$ Number | VarValue$ X SVar:X:ReplaceCount$Number/Twice DeckHints:Ability$Mill Oracle:If an opponent would mill one or more cards, they mill twice that many cards instead. (To mill a card, a player puts the top card of their library into their graveyard.) diff --git a/forge-gui/res/cardsfolder/b/budoka_gardener_dokai_weaver_of_life.txt b/forge-gui/res/cardsfolder/b/budoka_gardener_dokai_weaver_of_life.txt index b4843a72e6f..a5410bdaf9a 100644 --- a/forge-gui/res/cardsfolder/b/budoka_gardener_dokai_weaver_of_life.txt +++ b/forge-gui/res/cardsfolder/b/budoka_gardener_dokai_weaver_of_life.txt @@ -15,7 +15,7 @@ ManaCost:1 G Colors:green Types:Legendary Creature Human Monk PT:3/3 -A:AB$Token | Cost$ 4 G G T | TokenAmount$ 1 | TokenScript$ g_x_x_elemental | LegacyImage$ g x x elemental chk | TokenPower$ X | TokenToughness$ X | References$ X | TokenOwner$ You | SpellDescription$ Create an X/X green Elemental creature token, where X is the number of lands you control. +A:AB$Token | Cost$ 4 G G T | TokenAmount$ 1 | TokenScript$ g_x_x_elemental | LegacyImage$ g x x elemental chk | TokenPower$ X | TokenToughness$ X | TokenOwner$ You | SpellDescription$ Create an X/X green Elemental creature token, where X is the number of lands you control. SVar:X:Count$Valid Land.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/dokai_weaver_of_life.jpg Oracle:{4}{G}{G}, {T}: Create an X/X green Elemental creature token, where X is the number of lands you control. diff --git a/forge-gui/res/cardsfolder/b/builders_bane.txt b/forge-gui/res/cardsfolder/b/builders_bane.txt index 680276a1587..a9809975b55 100644 --- a/forge-gui/res/cardsfolder/b/builders_bane.txt +++ b/forge-gui/res/cardsfolder/b/builders_bane.txt @@ -1,11 +1,11 @@ Name:Builder's Bane ManaCost:X X R Types:Sorcery -A:SP$ Destroy | Cost$ X X R | ValidTgts$ Artifact | TargetMin$ 0 | TargetMax$ Maxtgt | References$ X,Maxtgt | RememberTargets$ True | SubAbility$ DBRepeat | StackDescription$ SpellDescription | SpellDescription$ Destroy X target artifacts. CARDNAME deals damage to each player equal to the number of artifacts they controlled that were put into a graveyard this way. +A:SP$ Destroy | Cost$ X X R | ValidTgts$ Artifact | TargetMin$ 0 | TargetMax$ Maxtgt,Maxtgt | RememberTargets$ True | SubAbility$ DBRepeat | StackDescription$ SpellDescription | SpellDescription$ Destroy X target artifacts. CARDNAME deals damage to each player equal to the number of artifacts they controlled that were put into a graveyard this way. SVar:Maxtgt:Count$Valid Artifact SVar:X:TargetedObjects$Amount SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBDmg | SubAbility$ DBCleanup | DamageMap$ True -SVar:DBDmg:DB$ DealDamage | Defined$ Player.IsRemembered | NumDmg$ Y | References$ Y +SVar:DBDmg:DB$ DealDamage | Defined$ Player.IsRemembered | NumDmg$ Y SVar:Y:Count$ValidGraveyard Artifact.IsRemembered+RememberedPlayerCtrl SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/builders_bane.jpg diff --git a/forge-gui/res/cardsfolder/b/bull_aurochs.txt b/forge-gui/res/cardsfolder/b/bull_aurochs.txt index bf5c9055a77..9aedcbed716 100644 --- a/forge-gui/res/cardsfolder/b/bull_aurochs.txt +++ b/forge-gui/res/cardsfolder/b/bull_aurochs.txt @@ -4,7 +4,7 @@ Types:Creature Aurochs PT:2/1 K:Trample T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+0 until end of turn for each other attacking Aurochs. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$Valid Aurochs.attacking+Other SVar:Picture:http://www.wizards.com/global/images/magic/general/bull_aurochs.jpg Oracle:Trample\nWhenever Bull Aurochs attacks, it gets +1/+0 until end of turn for each other attacking Aurochs. diff --git a/forge-gui/res/cardsfolder/b/bull_elephant.txt b/forge-gui/res/cardsfolder/b/bull_elephant.txt index d0667435f86..bcefbed3180 100644 --- a/forge-gui/res/cardsfolder/b/bull_elephant.txt +++ b/forge-gui/res/cardsfolder/b/bull_elephant.txt @@ -4,7 +4,7 @@ Types:Creature Elephant PT:4/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you return two Forests you control to their owner's hand. SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Battlefield | Destination$ Hand | Hidden$ True | ChangeType$ Forest.YouCtrl | ChangeNum$ 2 | RememberChanged$ True | SubAbility$ DBSac -SVar:DBSac:DB$ Sacrifice | Defined$ Self | SubAbility$ DBCleanup | ConditionCheckSVar$ X | ConditionSVarCompare$ LT2 | References$ X +SVar:DBSac:DB$ Sacrifice | Defined$ Self | SubAbility$ DBCleanup | ConditionCheckSVar$ X | ConditionSVarCompare$ LT2 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:NeedsToPlayVar:Y GE2 diff --git a/forge-gui/res/cardsfolder/b/burden_of_greed.txt b/forge-gui/res/cardsfolder/b/burden_of_greed.txt index b560ebe8ad7..e93383c23b1 100644 --- a/forge-gui/res/cardsfolder/b/burden_of_greed.txt +++ b/forge-gui/res/cardsfolder/b/burden_of_greed.txt @@ -1,7 +1,7 @@ Name:Burden of Greed ManaCost:3 B Types:Instant -A:SP$ LoseLife | Cost$ 3 B | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | References$ X | SpellDescription$ Target player loses 1 life for each tapped artifact they control. +A:SP$ LoseLife | Cost$ 3 B | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | SpellDescription$ Target player loses 1 life for each tapped artifact they control. SVar:X:TargetedPlayer$Valid Artifact.tapped+YouCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/burden_of_greed.jpg diff --git a/forge-gui/res/cardsfolder/b/burn_at_the_stake.txt b/forge-gui/res/cardsfolder/b/burn_at_the_stake.txt index 217333e9133..b5c1a375919 100644 --- a/forge-gui/res/cardsfolder/b/burn_at_the_stake.txt +++ b/forge-gui/res/cardsfolder/b/burn_at_the_stake.txt @@ -1,7 +1,7 @@ Name:Burn at the Stake ManaCost:2 R R R Types:Sorcery -A:SP$ DealDamage | Cost$ 2 R R R tapXType | CostDesc$ As an additional cost to cast this spell, tap any number of untapped creatures you control. | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ Y | References$ X,Y | SpellDescription$ CARDNAME deals damage to any target equal to three times the number of creatures tapped this way. +A:SP$ DealDamage | Cost$ 2 R R R tapXType | CostDesc$ As an additional cost to cast this spell, tap any number of untapped creatures you control. | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ Y | SpellDescription$ CARDNAME deals damage to any target equal to three times the number of creatures tapped this way. # TODO use some kind of Any logic SVar:X:Count$xPaid SVar:Y:SVar$X/Times.3 diff --git a/forge-gui/res/cardsfolder/b/burn_from_within.txt b/forge-gui/res/cardsfolder/b/burn_from_within.txt index 6b82a96995b..cd169bde644 100644 --- a/forge-gui/res/cardsfolder/b/burn_from_within.txt +++ b/forge-gui/res/cardsfolder/b/burn_from_within.txt @@ -1,7 +1,7 @@ Name:Burn from Within ManaCost:X R Types:Sorcery -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | RememberDamaged$ True | ReplaceDyingDefined$ Remembered.Creature | SubAbility$ DBDebuff | SpellDescription$ CARDNAME deals X damage to any target. If a creature is dealt damage this way, it loses indestructible until end of turn. If that creature would die this turn, exile it instead. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | RememberDamaged$ True | ReplaceDyingDefined$ Remembered.Creature | SubAbility$ DBDebuff | SpellDescription$ CARDNAME deals X damage to any target. If a creature is dealt damage this way, it loses indestructible until end of turn. If that creature would die this turn, exile it instead. SVar:DBDebuff:DB$ Debuff | Defined$ Remembered.Creature | Keywords$ Indestructible | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/b/burn_the_impure.txt b/forge-gui/res/cardsfolder/b/burn_the_impure.txt index 3f47465d016..b6dd1f1c117 100644 --- a/forge-gui/res/cardsfolder/b/burn_the_impure.txt +++ b/forge-gui/res/cardsfolder/b/burn_the_impure.txt @@ -2,7 +2,7 @@ Name:Burn the Impure ManaCost:1 R Types:Instant A:SP$ DealDamage | Cost$ 1 R | NumDmg$ 3 | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBDamage | SpellDescription$ CARDNAME deals 3 damage to target creature. If that creature has infect, CARDNAME deals 3 damage to that creature's controller. -SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 SVar:X:Targeted$Valid Creature.withInfect SVar:Picture:http://www.wizards.com/global/images/magic/general/burn_the_impure.jpg Oracle:Burn the Impure deals 3 damage to target creature. If that creature has infect, Burn the Impure deals 3 damage to that creature's controller. diff --git a/forge-gui/res/cardsfolder/b/burning_anger.txt b/forge-gui/res/cardsfolder/b/burning_anger.txt index 21b2e52b43d..d16e3be5d23 100644 --- a/forge-gui/res/cardsfolder/b/burning_anger.txt +++ b/forge-gui/res/cardsfolder/b/burning_anger.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 4 R | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddAbility$ TapDmg | AddSVar$ BurningAngerDmg | Description$ Enchanted creature has "{T}: This creature deals damage equal to its power to any target." -SVar:TapDmg:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ BurningAngerDmg | References$ BurningAngerDmg | SpellDescription$ CARDNAME deals damage equal to its power to any target. +SVar:TapDmg:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ BurningAngerDmg | SpellDescription$ CARDNAME deals damage equal to its power to any target. SVar:BurningAngerDmg:Count$CardPower SVar:NonStackingAttachEffect:True SVar:Picture:http://www.wizards.com/global/images/magic/general/burning_anger.jpg diff --git a/forge-gui/res/cardsfolder/b/burnout.txt b/forge-gui/res/cardsfolder/b/burnout.txt index 954dcc52ad6..1d0ccaf44a4 100644 --- a/forge-gui/res/cardsfolder/b/burnout.txt +++ b/forge-gui/res/cardsfolder/b/burnout.txt @@ -1,7 +1,7 @@ Name:Burnout ManaCost:1 R Types:Instant -A:SP$ Counter | Cost$ 1 R | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Instant | AITgts$ Card.Blue | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SpellDescription$ Counter target instant spell if it's blue. Draw a card at the beginning of the next turn's upkeep. | SubAbility$ DelTrigSlowtrip +A:SP$ Counter | Cost$ 1 R | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Instant | AITgts$ Card.Blue | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SpellDescription$ Counter target instant spell if it's blue. Draw a card at the beginning of the next turn's upkeep. | SubAbility$ DelTrigSlowtrip SVar:DelTrigSlowtrip:DB$ DelayedTrigger | Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ DrawSlowtrip | TriggerDescription$ Draw a card. SVar:DrawSlowtrip:DB$Draw | NumCards$ 1 | Defined$ You SVar:X:Targeted$Valid Card.Blue diff --git a/forge-gui/res/cardsfolder/b/burnt_offering.txt b/forge-gui/res/cardsfolder/b/burnt_offering.txt index 5edd9b5734a..89f3553fe93 100644 --- a/forge-gui/res/cardsfolder/b/burnt_offering.txt +++ b/forge-gui/res/cardsfolder/b/burnt_offering.txt @@ -1,7 +1,7 @@ Name:Burnt Offering ManaCost:B Types:Instant -A:SP$ Mana | Cost$ B Sac<1/Creature> | Produced$ Combo B R | Amount$ X | References$ X | SpellDescription$ Add X mana in any combination of {B} and/or {R}, where X is the sacrificed creature's converted mana cost. +A:SP$ Mana | Cost$ B Sac<1/Creature> | Produced$ Combo B R | Amount$ X | SpellDescription$ Add X mana in any combination of {B} and/or {R}, where X is the sacrificed creature's converted mana cost. SVar:X:Sacrificed$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/burnt_offering.jpg diff --git a/forge-gui/res/cardsfolder/b/burst_lightning.txt b/forge-gui/res/cardsfolder/b/burst_lightning.txt index de7c85e5e80..e47f073667e 100644 --- a/forge-gui/res/cardsfolder/b/burst_lightning.txt +++ b/forge-gui/res/cardsfolder/b/burst_lightning.txt @@ -2,7 +2,7 @@ Name:Burst Lightning ManaCost:R Types:Instant K:Kicker:4 -A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ WasKicked | References$ WasKicked | SpellDescription$ CARDNAME deals 2 damage to any target. If CARDNAME was kicked, it deals 4 damage instead. +A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ WasKicked | SpellDescription$ CARDNAME deals 2 damage to any target. If CARDNAME was kicked, it deals 4 damage instead. SVar:WasKicked:Count$Kicked.4.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/burst_lightning.jpg Oracle:Kicker {4} (You may pay an additional {4} as you cast this spell.)\nBurst Lightning deals 2 damage to any target. If this spell was kicked, it deals 4 damage instead. diff --git a/forge-gui/res/cardsfolder/b/bushmeat_poacher.txt b/forge-gui/res/cardsfolder/b/bushmeat_poacher.txt index 82d1d877187..c9fd1f45c05 100755 --- a/forge-gui/res/cardsfolder/b/bushmeat_poacher.txt +++ b/forge-gui/res/cardsfolder/b/bushmeat_poacher.txt @@ -2,7 +2,7 @@ Name:Bushmeat Poacher ManaCost:3 B Types:Creature Human Soldier PT:2/4 -A:AB$ GainLife | Cost$ 1 T Sac<1/Creature.Other/another creature> | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ You gain life equal to the sacrificed creature's toughness. Draw a card. +A:AB$ GainLife | Cost$ 1 T Sac<1/Creature.Other/another creature> | Defined$ You | LifeAmount$ X | SubAbility$ DBDraw | SpellDescription$ You gain life equal to the sacrificed creature's toughness. Draw a card. SVar:DBDraw:DB$ Draw | NumCards$ 1 SVar:X:Sacrificed$CardToughness SVar:AIPreference:SacCost$Creature.Token,Creature.cmcLE3 diff --git a/forge-gui/res/cardsfolder/b/by_force.txt b/forge-gui/res/cardsfolder/b/by_force.txt index 0c6c6baf8ba..8ba32219ee2 100644 --- a/forge-gui/res/cardsfolder/b/by_force.txt +++ b/forge-gui/res/cardsfolder/b/by_force.txt @@ -1,6 +1,6 @@ Name:By Force ManaCost:X R Types:Sorcery -A:SP$ Destroy | Cost$ X R | TargetMin$ X | TargetMax$ X | ValidTgts$ Artifact | TgtPrompt$ Select X target artifacts | References$ X | SpellDescription$ Destroy X target artifacts. +A:SP$ Destroy | Cost$ X R | TargetMin$ X | TargetMax$ X | ValidTgts$ Artifact | TgtPrompt$ Select X target artifacts | SpellDescription$ Destroy X target artifacts. SVar:X:Count$xPaid Oracle:Destroy X target artifacts. diff --git a/forge-gui/res/cardsfolder/c/cabal_coffers.txt b/forge-gui/res/cardsfolder/c/cabal_coffers.txt index 31e0fdb70ec..3736bd51939 100644 --- a/forge-gui/res/cardsfolder/c/cabal_coffers.txt +++ b/forge-gui/res/cardsfolder/c/cabal_coffers.txt @@ -1,7 +1,7 @@ Name:Cabal Coffers ManaCost:no cost Types:Land -A:AB$ Mana | Cost$ 2 T | Produced$ B | Amount$ X | References$ X | SpellDescription$ Add {B} for each Swamp you control. +A:AB$ Mana | Cost$ 2 T | Produced$ B | Amount$ X | SpellDescription$ Add {B} for each Swamp you control. SVar:X:Count$Valid Swamp.YouCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/cabal_coffers.jpg diff --git a/forge-gui/res/cardsfolder/c/cabal_conditioning.txt b/forge-gui/res/cardsfolder/c/cabal_conditioning.txt index 9b9c8db7c94..2922470b489 100644 --- a/forge-gui/res/cardsfolder/c/cabal_conditioning.txt +++ b/forge-gui/res/cardsfolder/c/cabal_conditioning.txt @@ -1,7 +1,7 @@ Name:Cabal Conditioning ManaCost:6 B Types:Sorcery -A:SP$ Discard | Cost$ 6 B | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgt | References$ MaxTgt | NumCards$ X | Mode$ TgtChoose | References$ X | SpellDescription$ Any number of target players each discard a number of cards equal to the highest converted mana cost among permanents you control. +A:SP$ Discard | Cost$ 6 B | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgt | NumCards$ X | Mode$ TgtChoose | SpellDescription$ Any number of target players each discard a number of cards equal to the highest converted mana cost among permanents you control. SVar:X:Count$MaxCMCYouCtrl SVar:MaxTgt:PlayerCountPlayers$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/cabal_conditioning.jpg diff --git a/forge-gui/res/cardsfolder/c/cabal_interrogator.txt b/forge-gui/res/cardsfolder/c/cabal_interrogator.txt index cc1a92df7a5..0079bafe551 100644 --- a/forge-gui/res/cardsfolder/c/cabal_interrogator.txt +++ b/forge-gui/res/cardsfolder/c/cabal_interrogator.txt @@ -2,7 +2,7 @@ Name:Cabal Interrogator ManaCost:1 B Types:Creature Zombie Wizard PT:1/1 -A:AB$ Discard | Cost$ X B T | ValidTgts$ Player | NumCards$ 1 | RevealNumber$ X | Mode$ RevealYouChoose | DiscardValid$ Card | SorcerySpeed$ True | References$ X | SpellDescription$ Target player reveals X cards from their hand and you choose one of them. That player discards that card. Activate this ability only any time you could cast a sorcery. +A:AB$ Discard | Cost$ X B T | ValidTgts$ Player | NumCards$ 1 | RevealNumber$ X | Mode$ RevealYouChoose | DiscardValid$ Card | SorcerySpeed$ True | SpellDescription$ Target player reveals X cards from their hand and you choose one of them. That player discards that card. Activate this ability only any time you could cast a sorcery. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/cabal_interrogator.jpg diff --git a/forge-gui/res/cardsfolder/c/cabal_ritual.txt b/forge-gui/res/cardsfolder/c/cabal_ritual.txt index 536b45bb2c4..56039eb328e 100644 --- a/forge-gui/res/cardsfolder/c/cabal_ritual.txt +++ b/forge-gui/res/cardsfolder/c/cabal_ritual.txt @@ -1,7 +1,7 @@ Name:Cabal Ritual ManaCost:1 B Types:Instant -A:SP$ Mana | Cost$ 1 B | Produced$ B | Amount$ X | References$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {B}{B}{B}. Threshold — Add {B}{B}{B}{B}{B} instead if seven or more cards are in your graveyard. +A:SP$ Mana | Cost$ 1 B | Produced$ B | Amount$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {B}{B}{B}. Threshold — Add {B}{B}{B}{B}{B} instead if seven or more cards are in your graveyard. SVar:X:Count$Threshold.5.3 AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/cabal_ritual.jpg diff --git a/forge-gui/res/cardsfolder/c/cabal_shrine.txt b/forge-gui/res/cardsfolder/c/cabal_shrine.txt index 0313043a8a6..a93a685c940 100644 --- a/forge-gui/res/cardsfolder/c/cabal_shrine.txt +++ b/forge-gui/res/cardsfolder/c/cabal_shrine.txt @@ -3,7 +3,7 @@ ManaCost:1 B B Types:Enchantment T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigDiscardRem | TriggerDescription$ Whenever a player casts a spell, that player discards X cards, where X is the number of cards in all graveyards with the same name as that spell. SVar:TrigDiscardRem:DB$ Pump | Defined$ TriggeredCard | PumpZone$ Stack | RememberObjects$ TriggeredCard | SubAbility$ DBDiscard -SVar:DBDiscard:DB$ Discard | Defined$ TriggeredActivator | NumCards$ X | References$ X | Mode$ TgtChoose | SubAbility$ DBCleanup +SVar:DBDiscard:DB$ Discard | Defined$ TriggeredActivator | NumCards$ X | Mode$ TgtChoose | SubAbility$ DBCleanup SVar:X:Count$ValidGraveyard Card.sharesNameWith Remembered SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/c/cabal_stronghold.txt b/forge-gui/res/cardsfolder/c/cabal_stronghold.txt index 41370785f81..eb51fe9b059 100644 --- a/forge-gui/res/cardsfolder/c/cabal_stronghold.txt +++ b/forge-gui/res/cardsfolder/c/cabal_stronghold.txt @@ -2,6 +2,6 @@ Name:Cabal Stronghold ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ Mana | Cost$ 3 T | Produced$ B | Amount$ X | References$ X | SpellDescription$ Add {B} for each basic Swamp you control. +A:AB$ Mana | Cost$ 3 T | Produced$ B | Amount$ X | SpellDescription$ Add {B} for each basic Swamp you control. SVar:X:Count$Valid Swamp.Basic+YouCtrl Oracle:{T}: Add {C}.\n{3}, {T}: Add {B} for each basic Swamp you control. diff --git a/forge-gui/res/cardsfolder/c/cackling_flames.txt b/forge-gui/res/cardsfolder/c/cackling_flames.txt index fb2a68451a6..68d42880f8a 100644 --- a/forge-gui/res/cardsfolder/c/cackling_flames.txt +++ b/forge-gui/res/cardsfolder/c/cackling_flames.txt @@ -1,7 +1,7 @@ Name:Cackling Flames ManaCost:3 R Types:Instant -A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals 3 damage to any target. Hellbent — CARDNAME deals 5 damage to that permanent or player instead if you have no cards in hand. +A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals 3 damage to any target. Hellbent — CARDNAME deals 5 damage to that permanent or player instead if you have no cards in hand. SVar:X:Count$Hellbent.5.3 SVar:Picture:http://resources.wizards.com/magic/cards/dis/en-us/card107258.jpg Oracle:Cackling Flames deals 3 damage to any target.\nHellbent — Cackling Flames deals 5 damage instead if you have no cards in hand. diff --git a/forge-gui/res/cardsfolder/c/cackling_witch.txt b/forge-gui/res/cardsfolder/c/cackling_witch.txt index 1b7acccbc3f..d03134b3468 100644 --- a/forge-gui/res/cardsfolder/c/cackling_witch.txt +++ b/forge-gui/res/cardsfolder/c/cackling_witch.txt @@ -2,7 +2,7 @@ Name:Cackling Witch ManaCost:1 B Types:Creature Human Spellshaper PT:1/1 -A:AB$ Pump | Cost$ X B T Discard<1/Card> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X | SpellDescription$ Target creature gets +X/+0 until end of turn. +A:AB$ Pump | Cost$ X B T Discard<1/Card> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SpellDescription$ Target creature gets +X/+0 until end of turn. SVar:X:Count$xPaid SVar:AIPreference:DiscardCost$Card SVar:Picture:http://www.wizards.com/global/images/magic/general/cackling_witch.jpg diff --git a/forge-gui/res/cardsfolder/c/caged_zombie.txt b/forge-gui/res/cardsfolder/c/caged_zombie.txt index d7ce28425bb..84e1cc0dc34 100644 --- a/forge-gui/res/cardsfolder/c/caged_zombie.txt +++ b/forge-gui/res/cardsfolder/c/caged_zombie.txt @@ -2,6 +2,6 @@ Name:Caged Zombie ManaCost:2 B Types:Creature Zombie PT:2/3 -A:AB$ LoseLife | Cost$ 1 B T | Defined$ Player.Opponent | CheckSVar$ X | SVarCompare$ GE1 | References$ X | LifeAmount$ 2 | SpellDescription$ Each Opponent Loses 2 life. +A:AB$ LoseLife | Cost$ 1 B T | Defined$ Player.Opponent | CheckSVar$ X | SVarCompare$ GE1 | LifeAmount$ 2 | SpellDescription$ Each Opponent Loses 2 life. SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature Oracle:{1}{B}, {T}: Each opponent loses 2 life. Activate this ability only if a creature died this turn. diff --git a/forge-gui/res/cardsfolder/c/calamity_bearer.txt b/forge-gui/res/cardsfolder/c/calamity_bearer.txt index 0dd2f850fbe..94b8a41cf18 100644 --- a/forge-gui/res/cardsfolder/c/calamity_bearer.txt +++ b/forge-gui/res/cardsfolder/c/calamity_bearer.txt @@ -3,7 +3,7 @@ ManaCost:2 R R Types:Creature Giant Berserker PT:3/4 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Giant.YouCtrl | ValidTarget$ Permanent,Player | ReplaceWith$ DmgTwice | Description$ If a Giant source you control would deal damage to a permanent or player, it deals double that damage to that permanent or player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:PlayMain1:TRUE DeckHints:Type$Giant diff --git a/forge-gui/res/cardsfolder/c/calciform_pools.txt b/forge-gui/res/cardsfolder/c/calciform_pools.txt index 4d2af8a5eb4..3c3037f0f0c 100644 --- a/forge-gui/res/cardsfolder/c/calciform_pools.txt +++ b/forge-gui/res/cardsfolder/c/calciform_pools.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. A:AB$ PutCounter | Cost$ 1 T | CounterType$ STORAGE | CounterNum$ 1 | SpellDescription$ Put a storage counter on CARDNAME. -A:AB$ Mana | Cost$ 1 SubCounter | Produced$ Combo W U | Amount$ X | CostDesc$ {1}, Remove X storage counters from CARDNAME: | References$ X | SpellDescription$ Add X mana in any combination of {W} and/or {U}. +A:AB$ Mana | Cost$ 1 SubCounter | Produced$ Combo W U | Amount$ X | CostDesc$ {1}, Remove X storage counters from CARDNAME: | SpellDescription$ Add X mana in any combination of {W} and/or {U}. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{T}: Add {C}.\n{1}, {T}: Put a storage counter on Calciform Pools.\n{1}, Remove X storage counters from Calciform Pools: Add X mana in any combination of {W} and/or {U}. diff --git a/forge-gui/res/cardsfolder/c/calculated_dismissal.txt b/forge-gui/res/cardsfolder/c/calculated_dismissal.txt index 1aae6852ed3..407bf66ea2a 100644 --- a/forge-gui/res/cardsfolder/c/calculated_dismissal.txt +++ b/forge-gui/res/cardsfolder/c/calculated_dismissal.txt @@ -2,7 +2,7 @@ Name:Calculated Dismissal ManaCost:2 U Types:Instant A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ 3 | SubAbility$ DBScry | SpellDescription$ Counter target spell unless its controller pays {3}. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, scry 2. -SVar:DBScry:DB$ Scry | ScryNum$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X +SVar:DBScry:DB$ Scry | ScryNum$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/calculated_dismissal.jpg Oracle:Counter target spell unless its controller pays {3}.\nSpell mastery — If there are two or more instant and/or sorcery cards in your graveyard, scry 2. (To scry 2, look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.) \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/c/call_for_blood.txt b/forge-gui/res/cardsfolder/c/call_for_blood.txt index 4d853f3db9e..24e53687224 100644 --- a/forge-gui/res/cardsfolder/c/call_for_blood.txt +++ b/forge-gui/res/cardsfolder/c/call_for_blood.txt @@ -1,7 +1,7 @@ Name:Call for Blood ManaCost:4 B Types:Instant Arcane -A:SP$ Pump | Cost$ 4 B Sac<1/Creature> | ValidTgts$ Creature | TgtPrompt$ Select target creature | IsCurse$ True | NumAtt$ -X | NumDef$ -X | References$ X | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the sacrificed creature's power. +A:SP$ Pump | Cost$ 4 B Sac<1/Creature> | ValidTgts$ Creature | TgtPrompt$ Select target creature | IsCurse$ True | NumAtt$ -X | NumDef$ -X | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the sacrificed creature's power. SVar:X:Sacrificed$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/call_for_blood.jpg diff --git a/forge-gui/res/cardsfolder/c/call_the_coppercoats.txt b/forge-gui/res/cardsfolder/c/call_the_coppercoats.txt index c6912b02469..8a44c8876c2 100755 --- a/forge-gui/res/cardsfolder/c/call_the_coppercoats.txt +++ b/forge-gui/res/cardsfolder/c/call_the_coppercoats.txt @@ -2,9 +2,9 @@ Name:Call the Coppercoats ManaCost:2 W Types:Instant K:Strive:1 W -A:SP$ RepeatEach | Cost$ 2 W | ValidTgts$ Opponent | TargetMin$ 0 | TargetMax$ MaxTargets | TgtPrompt$ Choose any number of target opponents | References$ MaxTargets | RepeatPlayers$ Targeted | RepeatSubAbility$ DBToken | SpellDescription$ Choose any number of target opponents. Create X 1/1 white Human Soldier creature tokens, where X is the number of creatures those opponents control. +A:SP$ RepeatEach | Cost$ 2 W | ValidTgts$ Opponent | TargetMin$ 0 | TargetMax$ MaxTargets | TgtPrompt$ Choose any number of target opponents | RepeatPlayers$ Targeted | RepeatSubAbility$ DBToken | SpellDescription$ Choose any number of target opponents. Create X 1/1 white Human Soldier creature tokens, where X is the number of creatures those opponents control. SVar:MaxTargets:PlayerCountOpponents$Amount -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ w_1_1_human_soldier | TokenOwner$ You +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_human_soldier | TokenOwner$ You SVar:X:Count$Valid Creature.RememberedPlayerCtrl DeckHas:Ability$Token AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/c/caller_of_the_claw.txt b/forge-gui/res/cardsfolder/c/caller_of_the_claw.txt index 487e9a2951b..1360c885cf9 100644 --- a/forge-gui/res/cardsfolder/c/caller_of_the_claw.txt +++ b/forge-gui/res/cardsfolder/c/caller_of_the_claw.txt @@ -4,7 +4,7 @@ Types:Creature Elf PT:2/2 K:Flash T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a 2/2 green Bear creature token for each nontoken creature put into your graveyard from the battlefield this turn. -SVar:TrigToken:DB$Token | TokenAmount$ X | TokenOwner$ You | TokenScript$ g_2_2_bear | LegacyImage$ g 2 2 bear lgn | References$ X +SVar:TrigToken:DB$Token | TokenAmount$ X | TokenOwner$ You | TokenScript$ g_2_2_bear | LegacyImage$ g 2 2 bear lgn SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature.nonToken+YouCtrl SVar:Picture:http://resources.wizards.com/magic/cards/lgn/en-us/card42187.jpg Oracle:Flash\nWhen Caller of the Claw enters the battlefield, create a 2/2 green Bear creature token for each nontoken creature put into your graveyard from the battlefield this turn. diff --git a/forge-gui/res/cardsfolder/c/caller_of_the_hunt.txt b/forge-gui/res/cardsfolder/c/caller_of_the_hunt.txt index 14bb6bc91b9..84849bc4d9d 100644 --- a/forge-gui/res/cardsfolder/c/caller_of_the_hunt.txt +++ b/forge-gui/res/cardsfolder/c/caller_of_the_hunt.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Human PT:*/* A:SP$ PermanentCreature | Cost$ 2 G ChooseCreatureType<1> | AILogic$ MostProminentOnBattlefield -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures of the chosen type on the battlefield. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures of the chosen type on the battlefield. SVar:X:Count$Valid Creature.ChosenType SVar:Picture:http://www.wizards.com/global/images/magic/general/caller_of_the_hunt.jpg Oracle:As an additional cost to cast this spell, choose a creature type.\nCaller of the Hunt's power and toughness are each equal to the number of creatures of the chosen type on the battlefield. diff --git a/forge-gui/res/cardsfolder/c/caller_of_the_untamed.txt b/forge-gui/res/cardsfolder/c/caller_of_the_untamed.txt index f4e8ef0836d..fc11eb598a6 100644 --- a/forge-gui/res/cardsfolder/c/caller_of_the_untamed.txt +++ b/forge-gui/res/cardsfolder/c/caller_of_the_untamed.txt @@ -7,7 +7,7 @@ SVar:DBReveal:DB$ Reveal | RevealDefined$ Self | SubAbility$ DBExile | SpellDesc SVar:DBExile:DB$ ChangeZone | Origin$ Sideboard | Destination$ Exile | ChangeType$ Creature.YouOwn | ChangeNum$ 1 | Optional$ True | RememberChanged$ True | SubAbility$ DBPump | ConditionGameTypes$ Draft,QuestDraft | SelectPrompt$ Exile with Caller of the Untamed SVar:DBPump:DB$ Pump | NoteCards$ Remembered | NoteCardsFor$ CallerOfTheUntamed | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True -A:AB$ CopyPermanent | Cost$ RevealFromExile<1/Creature.YouOwn+NotedForCallerOfTheUntamed> X T | CostDesc$ {X}, {T} | Defined$ Revealed | References$ X | SpellDescription$ Create a token that's a copy of a card you exiled with cards named Caller of the Untamed. X is the converted mana cost of that card. | SubAbility$ DBCleanup +A:AB$ CopyPermanent | Cost$ RevealFromExile<1/Creature.YouOwn+NotedForCallerOfTheUntamed> X T | CostDesc$ {X}, {T} | Defined$ Revealed | SpellDescription$ Create a token that's a copy of a card you exiled with cards named Caller of the Untamed. X is the converted mana cost of that card. | SubAbility$ DBCleanup SVar:X:Revealed$CardManaCost SVar:Picture:https://img.scryfall.com/cards/large/en/cn2/62.jpg?1517813031 Oracle:Before you shuffle your deck to start the game, you may reveal this card from your deck and exile a creature card you drafted that isn't in your deck.\n{X}, {T}: Create a token that's a copy of a card you exiled with cards named Caller of the Untamed. X is the converted mana cost of that card. diff --git a/forge-gui/res/cardsfolder/c/camaraderie.txt b/forge-gui/res/cardsfolder/c/camaraderie.txt index 30a8a99d89b..fd33d467e92 100644 --- a/forge-gui/res/cardsfolder/c/camaraderie.txt +++ b/forge-gui/res/cardsfolder/c/camaraderie.txt @@ -1,8 +1,8 @@ Name:Camaraderie ManaCost:4 G W Types:Sorcery -A:SP$ GainLife | Cost$ 4 G W | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ You gain X life and draw X cards, where X is the number of creatures you control. -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X | SubAbility$ DBPumpAll +A:SP$ GainLife | Cost$ 4 G W | Defined$ You | LifeAmount$ X | SubAbility$ DBDraw | SpellDescription$ You gain X life and draw X cards, where X is the number of creatures you control. +SVar:DBDraw:DB$ Draw | NumCards$ X | SubAbility$ DBPumpAll SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | NumAtt$ +1 | NumDef$ +1 | SpellDescription$ Creatures you control get +1/+1 until end of turn. SVar:X:Count$TypeYouCtrl.Creature SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/c/candelabra_of_tawnos.txt b/forge-gui/res/cardsfolder/c/candelabra_of_tawnos.txt index cd0eafff8fa..b1ee0bb8250 100644 --- a/forge-gui/res/cardsfolder/c/candelabra_of_tawnos.txt +++ b/forge-gui/res/cardsfolder/c/candelabra_of_tawnos.txt @@ -1,7 +1,7 @@ Name:Candelabra of Tawnos ManaCost:1 Types:Artifact -A:AB$ Untap | Cost$ X T | TargetMin$ X | TargetMax$ X | ValidTgts$ Land | TgtPrompt$ Select X target lands | References$ X | SpellDescription$ Untap X target lands. +A:AB$ Untap | Cost$ X T | TargetMin$ X | TargetMax$ X | ValidTgts$ Land | TgtPrompt$ Select X target lands | SpellDescription$ Untap X target lands. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{X}, {T}: Untap X target lands. diff --git a/forge-gui/res/cardsfolder/c/candles_glow.txt b/forge-gui/res/cardsfolder/c/candles_glow.txt index 56302eba215..5e667678caf 100644 --- a/forge-gui/res/cardsfolder/c/candles_glow.txt +++ b/forge-gui/res/cardsfolder/c/candles_glow.txt @@ -2,7 +2,7 @@ Name:Candles' Glow ManaCost:1 W Types:Instant Arcane K:Splice:Arcane:1 W -A:SP$ PreventDamage | Cost$ 1 W | ValidTgts$ Creature,Player,Planeswalker | Amount$ 3 | PreventionSubAbility$ GlowOfLife | References$ GlowOfLife | ShieldEffectTarget$ You | TgtPrompt$ Select any target | SpellDescription$ Prevent the next 3 damage that would be dealt to any target this turn. You gain life equal to the damage prevented this way. +A:SP$ PreventDamage | Cost$ 1 W | ValidTgts$ Creature,Player,Planeswalker | Amount$ 3 | PreventionSubAbility$ GlowOfLife | ShieldEffectTarget$ You | TgtPrompt$ Select any target | SpellDescription$ Prevent the next 3 damage that would be dealt to any target this turn. You gain life equal to the damage prevented this way. SVar:GlowOfLife:DB$ GainLife | Defined$ ShieldEffectTarget | LifeAmount$ PreventedDamage | SpellDescription$ You gain life equal to the damage prevented this way. DeckHints:Type$Arcane SVar:Picture:http://www.wizards.com/global/images/magic/general/candles_glow.jpg diff --git a/forge-gui/res/cardsfolder/c/canker_abomination.txt b/forge-gui/res/cardsfolder/c/canker_abomination.txt index 1e02095a035..87ab8852277 100644 --- a/forge-gui/res/cardsfolder/c/canker_abomination.txt +++ b/forge-gui/res/cardsfolder/c/canker_abomination.txt @@ -4,7 +4,7 @@ Types:Creature Treefolk Horror PT:6/6 R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ ChooseP | Description$ As CARDNAME enters the battlefield, choose an opponent. CARDNAME enters the battlefield with a -1/-1 counter on it for each creature that player controls. SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ LeastCreatures | SubAbility$ DBCounters -SVar:DBCounters:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ M1M1 | CounterNum$ X | References$ X | SubAbility$ MoveToPlay +SVar:DBCounters:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ M1M1 | CounterNum$ X | SubAbility$ MoveToPlay SVar:MoveToPlay:DB$ ChangeZone | Defined$ ReplacedCard | Origin$ All | Destination$ Battlefield SVar:X:Count$Valid Creature.ChosenCtrl SVar:Y:PlayerCountOpponents$LowestValid Creature.YouCtrl diff --git a/forge-gui/res/cardsfolder/c/canopy_crawler.txt b/forge-gui/res/cardsfolder/c/canopy_crawler.txt index 0669b38b3f2..fe618ec7afe 100644 --- a/forge-gui/res/cardsfolder/c/canopy_crawler.txt +++ b/forge-gui/res/cardsfolder/c/canopy_crawler.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Creature Beast PT:2/2 K:Amplify:1:Beast -A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X | SpellDescription$ Target creature gets +1/+1 until end of turn for each +1/+1 counter on CARDNAME. +A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | SpellDescription$ Target creature gets +1/+1 until end of turn for each +1/+1 counter on CARDNAME. SVar:X:Count$CardCounters.P1P1 SVar:Picture:http://www.wizards.com/global/images/magic/general/canopy_crawler.jpg Oracle:Amplify 1 (As this creature enters the battlefield, put a +1/+1 counter on it for each Beast card you reveal in your hand.)\n{T}: Target creature gets +1/+1 until end of turn for each +1/+1 counter on Canopy Crawler. diff --git a/forge-gui/res/cardsfolder/c/canopy_stalker.txt b/forge-gui/res/cardsfolder/c/canopy_stalker.txt index 2070478f158..057a01b5540 100644 --- a/forge-gui/res/cardsfolder/c/canopy_stalker.txt +++ b/forge-gui/res/cardsfolder/c/canopy_stalker.txt @@ -4,7 +4,7 @@ Types:Creature Cat PT:4/2 K:CARDNAME must be blocked if able. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, you gain 1 life for each creature that died this turn. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature DeckHas:Ability$LifeGain Oracle:Canopy Stalker must be blocked if able.\nWhen Canopy Stalker dies, you gain 1 life for each creature that died this turn. diff --git a/forge-gui/res/cardsfolder/c/canopy_surge.txt b/forge-gui/res/cardsfolder/c/canopy_surge.txt index 082c01bbeec..298abb94d65 100644 --- a/forge-gui/res/cardsfolder/c/canopy_surge.txt +++ b/forge-gui/res/cardsfolder/c/canopy_surge.txt @@ -2,7 +2,7 @@ Name:Canopy Surge ManaCost:1 G Types:Sorcery K:Kicker:2 -A:SP$ DamageAll | Cost$ 1 G | ValidCards$ Creature.withFlying | ValidPlayers$ Player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals 1 damage to each creature with flying and each player. If CARDNAME was kicked, it deals 4 damage instead. +A:SP$ DamageAll | Cost$ 1 G | ValidCards$ Creature.withFlying | ValidPlayers$ Player | NumDmg$ X | SpellDescription$ CARDNAME deals 1 damage to each creature with flying and each player. If CARDNAME was kicked, it deals 4 damage instead. SVar:X:Count$Kicked.4.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/canopy_surge.jpg Oracle:Kicker {2} (You may pay an additional {2} as you cast this spell.)\nCanopy Surge deals 1 damage to each creature with flying and each player. If this spell was kicked, it deals 4 damage to each creature with flying and each player instead. diff --git a/forge-gui/res/cardsfolder/c/canopy_vista.txt b/forge-gui/res/cardsfolder/c/canopy_vista.txt index a330c8c43c8..f4447ad3757 100644 --- a/forge-gui/res/cardsfolder/c/canopy_vista.txt +++ b/forge-gui/res/cardsfolder/c/canopy_vista.txt @@ -2,7 +2,7 @@ Name:Canopy Vista ManaCost:no cost Types:Land Forest Plains R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ LandTapped | Description$ CARDNAME enters the battlefield tapped unless you control two or more basic lands. -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar | ConditionSVarCompare$ LE1 | References$ ETBCheckSVar | SubAbility$ MoveToPlay +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar | ConditionSVarCompare$ LE1 | SubAbility$ MoveToPlay SVar:MoveToPlay:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard SVar:ETBCheckSVar:Count$LastStateBattlefield Land.Basic+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/canopy_vista.jpg diff --git a/forge-gui/res/cardsfolder/c/cantivore.txt b/forge-gui/res/cardsfolder/c/cantivore.txt index 9fa48cebfb4..6361c72dfd0 100644 --- a/forge-gui/res/cardsfolder/c/cantivore.txt +++ b/forge-gui/res/cardsfolder/c/cantivore.txt @@ -3,7 +3,7 @@ ManaCost:1 W W Types:Creature Lhurgoyf PT:*/* K:Vigilance -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of enchantment cards in all graveyards. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of enchantment cards in all graveyards. SVar:X:Count$TypeInAllYards.Enchantment AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/cantivore.jpg diff --git a/forge-gui/res/cardsfolder/c/captain_vargus_wrath.txt b/forge-gui/res/cardsfolder/c/captain_vargus_wrath.txt index 97f0259d803..5e21a0189ea 100644 --- a/forge-gui/res/cardsfolder/c/captain_vargus_wrath.txt +++ b/forge-gui/res/cardsfolder/c/captain_vargus_wrath.txt @@ -3,7 +3,7 @@ ManaCost:U R Types:Legendary Creature Orc Pirate PT:1/1 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, Pirates you control get +1/+1 until end of turn for each time you've cast a commander from the command zone this game. -SVar:TrigPump:DB$ PumpAll | ValidCards$ Pirate.YouCtrl | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ PumpAll | ValidCards$ Pirate.YouCtrl | NumAtt$ X | NumDef$ X SVar:X:Count$TotalCommanderCastFromCommandZone SVar:HasAttackEffect:TRUE AI:RemoveDeck:NonCommander diff --git a/forge-gui/res/cardsfolder/c/captains_maneuver.txt b/forge-gui/res/cardsfolder/c/captains_maneuver.txt index 2a0b00e3323..52b0d122d59 100644 --- a/forge-gui/res/cardsfolder/c/captains_maneuver.txt +++ b/forge-gui/res/cardsfolder/c/captains_maneuver.txt @@ -5,9 +5,9 @@ Types:Instant A:SP$ ChoosePlayer | Cost$ X R W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | Choices$ TargetedPlayer | Defined$ You | SubAbility$ DBChooseCreature | StackDescription$ SpellDescription | SpellDescription$ The next X damage that would be dealt to target creature, planeswalker, or player this turn is dealt to another target creature, planeswalker, or player instead. SVar:DBChooseCreature:DB$ ChooseCard | DefinedCards$ Targeted | Mandatory$ True | Defined$ You | SubAbility$ DBSetVarBefore SVar:DBSetVarBefore:DB$ StoreSVar | SVar$ Y | Type$ CountSVar | Expression$ X | SubAbility$ DBEffect -SVar:DBEffect:DB$ Effect | ValidTgts$ Creature,Player,Planeswalker | TargetUnique$ True | TgtPrompt$ Select another target to redirect the damage to | ReplacementEffects$ ManeuverDamage | Triggers$ OutOfSight | SVars$ ManeuverDamage,ManeuverDmg,ExileEffect,OutOfSight,Y | References$ ManeuverDamage,OutOfSight,ManeuverDmg,ExileEffect,Y | RememberObjects$ ThisTargetedCard,ThisTargetedPlayer | SubAbility$ DBCleanup -SVar:ManeuverDamage:Event$ DamageDone | ValidTarget$ Card.Creature+ChosenCard,Card.Planeswalker+ChosenCard,Player.Chosen | ReplaceWith$ ManeuverDmg | DamageTarget$ Remembered | References$ Y | Description$ The next X damage that would be dealt to target creature, planeswalker, or player this turn is dealt to another target creature, planeswalker, or player instead. -SVar:ManeuverDmg:DB$ ReplaceSplitDamage | DamageTarget$ Remembered | VarName$ Y | References$ Y +SVar:DBEffect:DB$ Effect | ValidTgts$ Creature,Player,Planeswalker | TargetUnique$ True | TgtPrompt$ Select another target to redirect the damage to | ReplacementEffects$ ManeuverDamage | Triggers$ OutOfSight | SVars$ ManeuverDamage,ManeuverDmg,ExileEffect,OutOfSight,Y | RememberObjects$ ThisTargetedCard,ThisTargetedPlayer | SubAbility$ DBCleanup +SVar:ManeuverDamage:Event$ DamageDone | ValidTarget$ Card.Creature+ChosenCard,Card.Planeswalker+ChosenCard,Player.Chosen | ReplaceWith$ ManeuverDmg | DamageTarget$ Remembered | Description$ The next X damage that would be dealt to target creature, planeswalker, or player this turn is dealt to another target creature, planeswalker, or player instead. +SVar:ManeuverDmg:DB$ ReplaceSplitDamage | DamageTarget$ Remembered | VarName$ Y SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.ChosenCard,Card.IsRemembered | Execute$ ExileEffect | Static$ True SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True | ClearChosenPlayer$ True diff --git a/forge-gui/res/cardsfolder/c/caravan_vigil.txt b/forge-gui/res/cardsfolder/c/caravan_vigil.txt index cfa552066df..50488b54ec1 100644 --- a/forge-gui/res/cardsfolder/c/caravan_vigil.txt +++ b/forge-gui/res/cardsfolder/c/caravan_vigil.txt @@ -1,8 +1,8 @@ Name:Caravan Vigil ManaCost:G Types:Sorcery -A:SP$ ChangeZone | Cost$ G | Origin$ Library | Destination$ Hand | ChangeType$ Land.Basic | ChangeNum$ 1 | ConditionCheckSVar$ Morbid | ConditionSVarCompare$ EQ0 | SubAbility$ DBChangeZone | References$ Morbid | SpellDescription$ Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. Morbid — You may put that card onto the battlefield instead of putting it into your hand if a creature died this turn. -SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | DestinationAlternative$ Hand | AlternativeDestinationMessage$ Put that card onto the battlefield instead of putting it into your hand? | ChangeType$ Land.Basic | ChangeNum$ 1 | ConditionCheckSVar$ Morbid | ConditionSVarCompare$ GE1 | References$ Morbid +A:SP$ ChangeZone | Cost$ G | Origin$ Library | Destination$ Hand | ChangeType$ Land.Basic | ChangeNum$ 1 | ConditionCheckSVar$ Morbid | ConditionSVarCompare$ EQ0 | SubAbility$ DBChangeZone | SpellDescription$ Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. Morbid — You may put that card onto the battlefield instead of putting it into your hand if a creature died this turn. +SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | DestinationAlternative$ Hand | AlternativeDestinationMessage$ Put that card onto the battlefield instead of putting it into your hand? | ChangeType$ Land.Basic | ChangeNum$ 1 | ConditionCheckSVar$ Morbid | ConditionSVarCompare$ GE1 SVar:Morbid:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/caravan_vigil.jpg Oracle:Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library.\nMorbid — You may put that card onto the battlefield instead of putting it into your hand if a creature died this turn. diff --git a/forge-gui/res/cardsfolder/c/careful_consideration.txt b/forge-gui/res/cardsfolder/c/careful_consideration.txt index 78282a0c0e2..b75b13deb73 100644 --- a/forge-gui/res/cardsfolder/c/careful_consideration.txt +++ b/forge-gui/res/cardsfolder/c/careful_consideration.txt @@ -2,7 +2,7 @@ Name:Careful Consideration ManaCost:2 U U Types:Instant A:SP$ Draw | Cost$ 2 U U | NumCards$ 4 | ValidTgts$ Player | TgtPrompt$ Choose a player | SubAbility$ DBDiscard | SpellDescription$ Target player draws four cards, then discards three cards. If you cast this spell during your main phase, instead that player draws four cards, then discards two cards. -SVar:DBDiscard:DB$Discard | NumCards$ X | Mode$ TgtChoose | Defined$ Targeted | References$ X +SVar:DBDiscard:DB$Discard | NumCards$ X | Mode$ TgtChoose | Defined$ Targeted SVar:X:Count$IfCastInOwnMainPhase.2.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/careful_consideration.jpg Oracle:Target player draws four cards, then discards three cards. If you cast this spell during your main phase, instead that player draws four cards, then discards two cards. diff --git a/forge-gui/res/cardsfolder/c/carom.txt b/forge-gui/res/cardsfolder/c/carom.txt index 7b7cc513de3..28a73c05b52 100644 --- a/forge-gui/res/cardsfolder/c/carom.txt +++ b/forge-gui/res/cardsfolder/c/carom.txt @@ -2,7 +2,7 @@ Name:Carom ManaCost:1 W Types:Instant A:SP$ Pump | Cost$ 1 W | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect the damage from | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ The next 1 damage that would be dealt to target creature this turn is dealt to another target creature instead. Draw a card. -SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TargetUnique$ True | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ CaromDamage | Triggers$ OutOfSight | SVars$ CaromDamage,CaromDmg,ExileEffect,OutOfSight | References$ CaromDamage,OutOfSight,CaromDmg,ExileEffect | RememberObjects$ ParentTarget | ImprintCards$ ThisTargetedCard | ExileOnMoved$ Battlefield | ConditionDefined$ ParentTarget | ConditionPresent$ Creature | ConditionCompare$ GE1 | SubAbility$ DBDraw +SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TargetUnique$ True | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ CaromDamage | Triggers$ OutOfSight | SVars$ CaromDamage,CaromDmg,ExileEffect,OutOfSight | RememberObjects$ ParentTarget | ImprintCards$ ThisTargetedCard | ExileOnMoved$ Battlefield | ConditionDefined$ ParentTarget | ConditionPresent$ Creature | ConditionCompare$ GE1 | SubAbility$ DBDraw SVar:CaromDamage:Event$ DamageDone | ValidTarget$ Creature.IsRemembered | ReplaceWith$ CaromDmg | DamageTarget$ Imprinted | Description$ The next 1 damage that would be dealt to target creature this turn is dealt to another target creature instead. SVar:CaromDmg:DB$ ReplaceSplitDamage | DamageTarget$ Imprinted SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Defined$ Imprinted | Execute$ ExileEffect | Static$ True diff --git a/forge-gui/res/cardsfolder/c/carpet_of_flowers.txt b/forge-gui/res/cardsfolder/c/carpet_of_flowers.txt index aa6e84e23f9..fdc67f2a1b9 100644 --- a/forge-gui/res/cardsfolder/c/carpet_of_flowers.txt +++ b/forge-gui/res/cardsfolder/c/carpet_of_flowers.txt @@ -3,7 +3,7 @@ ManaCost:G Types:Enchantment T:Mode$ Phase | Phase$ Main1,Main2 | ValidPlayer$ You | CheckSVar$ CarpetX | SVarCompare$ EQ0 | OptionalDecider$ You | TriggerZones$ Battlefield | Execute$ TrigMana | TriggerDescription$ At the beginning of each of your main phases, if you haven't added mana with this ability this turn, you may add X mana of any one color, where X is the number of Islands target opponent controls. SVar:TrigMana:DB$ Pump | ValidTgts$ Opponent | TgtPrompt$ Select target opponent. You may add X mana, where X is the number of Islands target opponent controls | IsCurse$ True | RememberObjects$ Targeted | SubAbility$ DBMana -SVar:DBMana:DB$ Mana | Amount$ NumManaMax | References$ NumManaMax | Produced$ Any | SubAbility$ CheckPlus +SVar:DBMana:DB$ Mana | Amount$ NumManaMax | Produced$ Any | SubAbility$ CheckPlus SVar:CheckPlus:DB$ StoreSVar | SVar$ CarpetX | Type$ Number | Expression$ 1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True T:Mode$ Phase | Phase$ Cleanup | Execute$ TrigReset | Static$ True diff --git a/forge-gui/res/cardsfolder/c/carrion.txt b/forge-gui/res/cardsfolder/c/carrion.txt index 02296fa4b82..410102592af 100644 --- a/forge-gui/res/cardsfolder/c/carrion.txt +++ b/forge-gui/res/cardsfolder/c/carrion.txt @@ -1,7 +1,7 @@ Name:Carrion ManaCost:1 B B Types:Instant -A:SP$ Token | Cost$ 1 B B Sac<1/Creature> | TokenScript$ b_0_1_insect | TokenOwner$ You | LegacyImage$ b 0 1 insect mir | TokenAmount$ X | References$ X | SpellDescription$ Create X 0/1 black Insect creature tokens, where X is the sacrificed creature's power. +A:SP$ Token | Cost$ 1 B B Sac<1/Creature> | TokenScript$ b_0_1_insect | TokenOwner$ You | LegacyImage$ b 0 1 insect mir | TokenAmount$ X | SpellDescription$ Create X 0/1 black Insect creature tokens, where X is the sacrificed creature's power. SVar:X:Sacrificed$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/carrion.jpg diff --git a/forge-gui/res/cardsfolder/c/carrion_grub.txt b/forge-gui/res/cardsfolder/c/carrion_grub.txt index 6495bda95bb..91827f85a27 100644 --- a/forge-gui/res/cardsfolder/c/carrion_grub.txt +++ b/forge-gui/res/cardsfolder/c/carrion_grub.txt @@ -2,7 +2,7 @@ Name:Carrion Grub ManaCost:3 B Types:Creature Insect PT:0/5 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | References$ X | Description$ CARDNAME gets +X/+0, where X is the greatest power among creature cards in your graveyard. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | Description$ CARDNAME gets +X/+0, where X is the greatest power among creature cards in your graveyard. SVar:X:Count$GreatestPowerGraveyard_Creature.YouOwn T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMill | TriggerDescription$ When CARDNAME enters the battlefield, mill four cards. SVar:TrigMill:DB$ Mill | Defined$ You | NumCards$ 4 diff --git a/forge-gui/res/cardsfolder/c/carrion_imp.txt b/forge-gui/res/cardsfolder/c/carrion_imp.txt index 36b087eee06..17086de40e7 100644 --- a/forge-gui/res/cardsfolder/c/carrion_imp.txt +++ b/forge-gui/res/cardsfolder/c/carrion_imp.txt @@ -5,7 +5,7 @@ PT:2/3 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigExile | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may exile target creature card from a graveyard. If you do, you gain 2 life. SVar:TrigExile:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Creature | SubAbility$ DBGainLife | RememberChanged$ True -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount DeckHas:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/c/cartographers_hawk.txt b/forge-gui/res/cardsfolder/c/cartographers_hawk.txt index 0274387b602..f8950d4e470 100755 --- a/forge-gui/res/cardsfolder/c/cartographers_hawk.txt +++ b/forge-gui/res/cardsfolder/c/cartographers_hawk.txt @@ -5,7 +5,7 @@ PT:2/1 K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player.withMoreLandsThanYou | Execute$ ToHand | CombatDamage$ True | TriggerDescription$ When CARDNAME deals combat damage to a player who controls more lands than you, return it to its owner's hand. If you do, you may search your library for a Plains card, put it onto the battlefield tapped, then shuffle your library. SVar:ToHand:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destination$ Hand | RememberChanged$ True | SubAbility$ DBChangeZone -SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Card.Plains | Tapped$ True | ChangeNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBCleanup +SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Card.Plains | Tapped$ True | ChangeNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount Oracle:Flying\nWhen Cartographer's Hawk deals combat damage to a player who controls more lands than you, return it to its owner's hand. If you do, you may search your library for a Plains card, put it onto the battlefield tapped, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/c/cascade_seer.txt b/forge-gui/res/cardsfolder/c/cascade_seer.txt index a2c55e8014e..9b959d735c9 100644 --- a/forge-gui/res/cardsfolder/c/cascade_seer.txt +++ b/forge-gui/res/cardsfolder/c/cascade_seer.txt @@ -3,7 +3,7 @@ ManaCost:3 U Types:Creature Merfolk Wizard PT:3/3 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigScry | TriggerDescription$ When CARDNAME enters the battlefield, scry X, where X is the number of creatures in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -SVar:TrigScry:DB$ Scry | ScryNum$ X | References$ X +SVar:TrigScry:DB$ Scry | ScryNum$ X SVar:X:Count$Party DeckHas:Ability$Party DeckHints:Type$Cleric|Rogue|Warrior diff --git a/forge-gui/res/cardsfolder/c/castle_locthwain.txt b/forge-gui/res/cardsfolder/c/castle_locthwain.txt index 3112cad52ad..ed3e4ca50e1 100644 --- a/forge-gui/res/cardsfolder/c/castle_locthwain.txt +++ b/forge-gui/res/cardsfolder/c/castle_locthwain.txt @@ -5,6 +5,6 @@ K:ETBReplacement:Other:LandTapped SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionPresent$ Swamp.YouCtrl | ConditionCompare$ EQ0 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control a Swamp. A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}. A:AB$ Draw | Cost$ 1 B B T | NumCards$ 1 | SpellDescription$ Draw a card, then you lose life equal to the number of cards in your hand. | SubAbility$ DBLoseLife -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X SVar:X:Count$InYourHand Oracle:Castle Locthwain enters the battlefield tapped unless you control a Swamp.\n{T}: Add {B}.\n{1}{B}{B}, {T}: Draw a card, then you lose life equal to the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/c/catacomb_dragon.txt b/forge-gui/res/cardsfolder/c/catacomb_dragon.txt index 29290be2ef3..f6748c84595 100644 --- a/forge-gui/res/cardsfolder/c/catacomb_dragon.txt +++ b/forge-gui/res/cardsfolder/c/catacomb_dragon.txt @@ -4,6 +4,6 @@ Types:Creature Dragon PT:4/4 K:Flying T:Mode$ AttackerBlockedByCreature | ValidCard$ Card.Self | ValidBlocker$ Creature.nonArtifact+nonDragon | Execute$ TrigPumpBlocker | TriggerDescription$ Whenever CARDNAME becomes blocked by a nonartifact, non-Dragon creature, that creature gets -X/-0 until end of turn, where X is half the creature's power, rounded down. -SVar:TrigPumpBlocker:DB$ Pump | Defined$ TriggeredBlocker | NumAtt$ -X | References$ X +SVar:TrigPumpBlocker:DB$ Pump | Defined$ TriggeredBlocker | NumAtt$ -X SVar:X:TriggeredBlocker$CardPower/HalfDown Oracle:Flying\nWhenever Catacomb Dragon becomes blocked by a nonartifact, non-Dragon creature, that creature gets -X/-0 until end of turn, where X is half the creature's power, rounded down. diff --git a/forge-gui/res/cardsfolder/c/cauldron_haze.txt b/forge-gui/res/cardsfolder/c/cauldron_haze.txt index 5b8798ff645..d3ee59daf70 100644 --- a/forge-gui/res/cardsfolder/c/cauldron_haze.txt +++ b/forge-gui/res/cardsfolder/c/cauldron_haze.txt @@ -1,7 +1,7 @@ Name:Cauldron Haze ManaCost:1 WB Types:Instant -A:SP$ Pump | Cost$ 1 WB | ValidTgts$ Creature | KW$ Persist | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Select target creature | References$ X | SpellDescription$ Choose any number of target creatures. Each of those creatures gains persist until end of turn. (When it dies, if it had no -1/-1 counters on it, return it to the battlefield under its owner's control with a -1/-1 counter on it.) +A:SP$ Pump | Cost$ 1 WB | ValidTgts$ Creature | KW$ Persist | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Select target creature | SpellDescription$ Choose any number of target creatures. Each of those creatures gains persist until end of turn. (When it dies, if it had no -1/-1 counters on it, return it to the battlefield under its owner's control with a -1/-1 counter on it.) SVar:X:Count$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/cauldron_haze.jpg Oracle:Choose any number of target creatures. Each of those creatures gains persist until end of turn. (When it dies, if it had no -1/-1 counters on it, return it to the battlefield under its owner's control with a -1/-1 counter on it.) diff --git a/forge-gui/res/cardsfolder/c/cauldron_of_souls.txt b/forge-gui/res/cardsfolder/c/cauldron_of_souls.txt index 1dcf32ee122..57925e0ea18 100644 --- a/forge-gui/res/cardsfolder/c/cauldron_of_souls.txt +++ b/forge-gui/res/cardsfolder/c/cauldron_of_souls.txt @@ -1,7 +1,7 @@ Name:Cauldron of Souls ManaCost:5 Types:Artifact -A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Select target creature | KW$ Persist | References$ X | SpellDescription$ Choose any number of target creatures. Each of those creatures gains persist until end of turn. +A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Select target creature | KW$ Persist | SpellDescription$ Choose any number of target creatures. Each of those creatures gains persist until end of turn. SVar:X:Count$Valid Creature AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/cauldron_of_souls.jpg diff --git a/forge-gui/res/cardsfolder/c/cauldrons_gift.txt b/forge-gui/res/cardsfolder/c/cauldrons_gift.txt index 40cd229b771..b027992488b 100644 --- a/forge-gui/res/cardsfolder/c/cauldrons_gift.txt +++ b/forge-gui/res/cardsfolder/c/cauldrons_gift.txt @@ -1,7 +1,7 @@ Name:Cauldron's Gift ManaCost:4 B Types:Sorcery -A:SP$ Mill | Cost$ 4 B | NumCards$ 4 | Defined$ You | SubAbility$ DBChangeZone | ConditionCheckSVar$ X | References$ X | AIManaPref$ B | SpellDescription$ Adamant — If at least three black mana was spent to cast this spell, mill four cards. You may choose a creature card in your graveyard. If you do, return it to the battlefield with an additional +1/+1 counter on it. +A:SP$ Mill | Cost$ 4 B | NumCards$ 4 | Defined$ You | SubAbility$ DBChangeZone | ConditionCheckSVar$ X | AIManaPref$ B | SpellDescription$ Adamant — If at least three black mana was spent to cast this spell, mill four cards. You may choose a creature card in your graveyard. If you do, return it to the battlefield with an additional +1/+1 counter on it. SVar:DBChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.YouOwn | Hidden$ True | ChangeNum$ 1 | WithCounters$ P1P1_1 SVar:X:Count$Adamant.Black.1.0 DeckHas:Ability$Counters & Ability$Graveyard diff --git a/forge-gui/res/cardsfolder/c/cavalier_of_flame.txt b/forge-gui/res/cardsfolder/c/cavalier_of_flame.txt index 67a7e73d397..dd850507b26 100644 --- a/forge-gui/res/cardsfolder/c/cavalier_of_flame.txt +++ b/forge-gui/res/cardsfolder/c/cavalier_of_flame.txt @@ -5,10 +5,10 @@ PT:6/5 A:AB$ PumpAll | Cost$ 1 R | ValidCards$ Creature.YouCtrl | NumAtt$ +1 | KW$ Haste | SpellDescription$ Creatures you control get +1/+0 and gain haste until end of turn. T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, discard any number of cards, then draw that many cards. SVar:TrigDiscard:DB$ Discard | Cost$ 3 R | AnyNumber$ True | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBDraw | SpellDescription$ Discard any number of cards, then draw that many cards. -SVar:DBDraw:DB$Draw | Defined$ You | NumCards$ Y | References$ Y | SubAbility$ DBCleanup +SVar:DBDraw:DB$Draw | Defined$ You | NumCards$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Remembered$Amount T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDamageAll | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, it deals X damage to each opponent and each planeswalker they control, where X is the number of land cards in your graveyard. -SVar:TrigDamageAll:DB$ DamageAll | ValidPlayers$ Player.Opponent | ValidCards$ Planeswalker.OppCtrl | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each opponent and each planeswalker they control, where X is the number of land cards in your graveyard. +SVar:TrigDamageAll:DB$ DamageAll | ValidPlayers$ Player.Opponent | ValidCards$ Planeswalker.OppCtrl | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each opponent and each planeswalker they control, where X is the number of land cards in your graveyard. SVar:X:Count$TypeInYourYard.Land Oracle:{1}{R}: Creatures you control get +1/+0 and gain haste until end of turn.\nWhen Cavalier of Flame enters the battlefield, discard any number of cards, then draw that many cards.\nWhen Cavalier of Flame dies, it deals X damage to each opponent and each planeswalker they control, where X is the number of land cards in your graveyard. diff --git a/forge-gui/res/cardsfolder/c/celestial_convergence.txt b/forge-gui/res/cardsfolder/c/celestial_convergence.txt index 9457d1ba7ba..6278935f4df 100644 --- a/forge-gui/res/cardsfolder/c/celestial_convergence.txt +++ b/forge-gui/res/cardsfolder/c/celestial_convergence.txt @@ -4,8 +4,8 @@ Types:Enchantment K:etbCounter:OMEN:7 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRemoveCtr | TriggerDescription$ At the beginning of your upkeep, remove an omen counter from CARDNAME. If there are no omen counters on CARDNAME, the player with the highest life total wins the game. If two or more players are tied for highest life total, the game is a draw. SVar:TrigRemoveCtr:DB$ RemoveCounter | Defined$ Self | CounterType$ OMEN | CounterNum$ 1 | SubAbility$ WinnerDecided -SVar:WinnerDecided:DB$ WinsGame | Defined$ Player.LifeEquals_X | References$ X,NumHighestLife | ConditionPresent$ Card.Self+counters_EQ0_OMEN | ConditionCheckSVar$ NumHighestLife | ConditionSVarCompare$ LT2 | SubAbility$ GameIsADraw -SVar:GameIsADraw:DB$ GameDrawn | ConditionPresent$ Card.Self+counters_EQ0_OMEN | References$ NumHighestLife | ConditionCheckSVar$ NumHighestLife | ConditionSVarCompare$ GE2 +SVar:WinnerDecided:DB$ WinsGame | Defined$ Player.LifeEquals_X | ConditionPresent$ Card.Self+counters_EQ0_OMEN | ConditionCheckSVar$ NumHighestLife | ConditionSVarCompare$ LT2 | SubAbility$ GameIsADraw +SVar:GameIsADraw:DB$ GameDrawn | ConditionPresent$ Card.Self+counters_EQ0_OMEN | ConditionCheckSVar$ NumHighestLife | ConditionSVarCompare$ GE2 SVar:Picture:http://www.wizards.com/global/images/magic/general/celestial_convergence.jpg SVar:X:PlayerCountPlayers$HighestLifeTotal SVar:NumHighestLife:PlayerCountPlayers$TiedForHighestLife diff --git a/forge-gui/res/cardsfolder/c/celestial_kirin.txt b/forge-gui/res/cardsfolder/c/celestial_kirin.txt index 8cb0155fbe4..11e00cac3db 100644 --- a/forge-gui/res/cardsfolder/c/celestial_kirin.txt +++ b/forge-gui/res/cardsfolder/c/celestial_kirin.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Kirin Spirit PT:3/3 K:Flying T:Mode$ SpellCast | ValidCard$ Spirit,Arcane | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDestroyAll | TriggerDescription$ Whenever you cast a Spirit or Arcane spell, destroy all permanents with that spell's converted mana cost. -SVar:TrigDestroyAll:DB$ DestroyAll | ValidCards$ Permanent.cmcEQX | References$ X +SVar:TrigDestroyAll:DB$ DestroyAll | ValidCards$ Permanent.cmcEQX SVar:X:TriggerCount$CastSACMC AI:RemoveDeck:All DeckHints:Type$Spirit|Arcane diff --git a/forge-gui/res/cardsfolder/c/celestial_mantle.txt b/forge-gui/res/cardsfolder/c/celestial_mantle.txt index a1f871503e4..9f5485b5fec 100644 --- a/forge-gui/res/cardsfolder/c/celestial_mantle.txt +++ b/forge-gui/res/cardsfolder/c/celestial_mantle.txt @@ -6,7 +6,7 @@ A:SP$ Attach | Cost$ 3 W W W | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 3 | AddToughness$ 3 | Description$ Enchanted creature gets +3/+3. T:Mode$ DamageDone | ValidSource$ Card.AttachedBy | ValidTarget$ Player | Execute$ TrigSetLife | CombatDamage$ True | TriggerDescription$ Whenever enchanted creature deals combat damage to a player, double its controller's life total. SVar:TrigSetLife:DB$ Pump | RememberObjects$ TriggeredSourceController | SubAbility$ DBSet -SVar:DBSet:DB$ SetLife | Defined$ Remembered | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBSet:DB$ SetLife | Defined$ Remembered | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:PlayerCountRemembered$LifeTotal/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/celestial_mantle.jpg diff --git a/forge-gui/res/cardsfolder/c/cenns_heir.txt b/forge-gui/res/cardsfolder/c/cenns_heir.txt index fed9ac900cd..de327bbcd54 100644 --- a/forge-gui/res/cardsfolder/c/cenns_heir.txt +++ b/forge-gui/res/cardsfolder/c/cenns_heir.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Creature Kithkin Soldier PT:1/1 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+1 until end of turn for each other attacking Kithkin. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X SVar:X:Count$Valid Kithkin.attacking+Other SVar:Picture:http://www.wizards.com/global/images/magic/general/cenns_heir.jpg Oracle:Whenever Cenn's Heir attacks, it gets +1/+1 until end of turn for each other attacking Kithkin. diff --git a/forge-gui/res/cardsfolder/c/cephalid_constable.txt b/forge-gui/res/cardsfolder/c/cephalid_constable.txt index dc6cdbd9959..5ea8e2cc28b 100644 --- a/forge-gui/res/cardsfolder/c/cephalid_constable.txt +++ b/forge-gui/res/cardsfolder/c/cephalid_constable.txt @@ -3,7 +3,7 @@ ManaCost:1 U U Types:Creature Cephalid Wizard PT:1/1 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigBounce | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, return up to that many target permanents that player controls to their owner's hand. -SVar:TrigBounce:DB$ ChangeZone | ValidTgts$ Permanent.DefenderCtrl | TgtPrompt$ Select target permanent | TargetMin$ 0 | TargetMax$ X | Origin$ Battlefield | Destination$ Hand | References$ X +SVar:TrigBounce:DB$ ChangeZone | ValidTgts$ Permanent.DefenderCtrl | TgtPrompt$ Select target permanent | TargetMin$ 0 | TargetMax$ X | Origin$ Battlefield | Destination$ Hand SVar:X:TriggeredSource$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/cephalid_constable.jpg Oracle:Whenever Cephalid Constable deals combat damage to a player, return up to that many target permanents that player controls to their owner's hand. diff --git a/forge-gui/res/cardsfolder/c/cephalid_shrine.txt b/forge-gui/res/cardsfolder/c/cephalid_shrine.txt index 04e2320f6cf..d35515cad47 100644 --- a/forge-gui/res/cardsfolder/c/cephalid_shrine.txt +++ b/forge-gui/res/cardsfolder/c/cephalid_shrine.txt @@ -3,7 +3,7 @@ ManaCost:1 U U Types:Enchantment T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigCounterRem | TriggerDescription$ Whenever a player casts a spell, counter that spell unless that player pays {X}, where X is the number of cards in all graveyards with the same name as the spell. SVar:TrigCounterRem:DB$ Pump | RememberObjects$ TriggeredCard | SubAbility$ DBCounter -SVar:DBCounter:DB$ Counter | Defined$ TriggeredSpellAbility | UnlessCost$ X | UnlessPayer$ TriggeredActivator | References$ X | SubAbility$ DBCleanup +SVar:DBCounter:DB$ Counter | Defined$ TriggeredSpellAbility | UnlessCost$ X | UnlessPayer$ TriggeredActivator | SubAbility$ DBCleanup SVar:X:Count$ValidGraveyard Card.sharesNameWith Remembered SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/c/cephalid_vandal.txt b/forge-gui/res/cardsfolder/c/cephalid_vandal.txt index a08598543a0..59875db965e 100644 --- a/forge-gui/res/cardsfolder/c/cephalid_vandal.txt +++ b/forge-gui/res/cardsfolder/c/cephalid_vandal.txt @@ -4,7 +4,7 @@ Types:Creature Cephalid Rogue PT:1/1 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a shred counter on CARDNAME. Then mill a card for each shred counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ SHRED | CounterNum$ 1 | SubAbility$ DBMill -SVar:DBMill:DB$ Mill | Defined$ You | NumCards$ X | References$ X +SVar:DBMill:DB$ Mill | Defined$ You | NumCards$ X SVar:X:Count$CardCounters.SHRED AI:RemoveDeck:Random Oracle:At the beginning of your upkeep, put a shred counter on Cephalid Vandal. Then mill a card for each shred counter on Cephalid Vandal. diff --git a/forge-gui/res/cardsfolder/c/cerebral_eruption.txt b/forge-gui/res/cardsfolder/c/cerebral_eruption.txt index 5d3834a1a05..f008b0614aa 100644 --- a/forge-gui/res/cardsfolder/c/cerebral_eruption.txt +++ b/forge-gui/res/cardsfolder/c/cerebral_eruption.txt @@ -2,7 +2,7 @@ Name:Cerebral Eruption ManaCost:2 R R Types:Sorcery A:SP$ Dig | Cost$ 2 R R | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | DigNum$ 1 | Reveal$ True | NoMove$ True | RememberRevealed$ True | SubAbility$ DBDamage | SpellDescription$ Target opponent reveals the top card of their library. Cerebral Eruption deals damage equal to the revealed card's converted mana cost to that player and each creature they control. If a land card is revealed this way, return Cerebral Eruption to its owner's hand. -SVar:DBDamage:DB$ DamageAll | ValidCards$ Creature.TargetedPlayerCtrl | ValidPlayers$ Targeted | ValidDescription$ that player and each creature they control. | NumDmg$ X | SubAbility$ DBReturn | References$ X +SVar:DBDamage:DB$ DamageAll | ValidCards$ Creature.TargetedPlayerCtrl | ValidPlayers$ Targeted | ValidDescription$ that player and each creature they control. | NumDmg$ X | SubAbility$ DBReturn SVar:DBReturn:DB$ ChangeZone | Defined$ Self | Origin$ Stack | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Land | ConditionCompare$ EQ1 | ConditionDescription$ If a land card is revealed this way, | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost diff --git a/forge-gui/res/cardsfolder/c/cerebral_vortex.txt b/forge-gui/res/cardsfolder/c/cerebral_vortex.txt index e34238e561d..6ef38c039cd 100644 --- a/forge-gui/res/cardsfolder/c/cerebral_vortex.txt +++ b/forge-gui/res/cardsfolder/c/cerebral_vortex.txt @@ -2,7 +2,7 @@ Name:Cerebral Vortex ManaCost:1 U R Types:Instant A:SP$ Draw | Cost$ 1 U R | NumCards$ 2 | ValidTgts$ Player | TgtPrompt$ Choose a player | SubAbility$ DBDamage | SpellDescription$ Target player draws two cards, then CARDNAME deals damage to that player equal to the number of cards they've drawn this turn. -SVar:DBDamage:DB$DealDamage | Defined$ Targeted | NumDmg$ X | References$ X +SVar:DBDamage:DB$DealDamage | Defined$ Targeted | NumDmg$ X SVar:X:TargetedPlayer$CardsDrawn AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/cerebral_vortex.jpg diff --git a/forge-gui/res/cardsfolder/c/ceta_sanctuary.txt b/forge-gui/res/cardsfolder/c/ceta_sanctuary.txt index d7557894c01..ccb45e82e92 100644 --- a/forge-gui/res/cardsfolder/c/ceta_sanctuary.txt +++ b/forge-gui/res/cardsfolder/c/ceta_sanctuary.txt @@ -2,8 +2,8 @@ Name:Ceta Sanctuary ManaCost:2 U Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE1 | Execute$ TrigDraw | TriggerDescription$ At the beginning of your upkeep, if you control a red or green permanent, draw a card, then discard a card. If you control a red permanent and a green permanent, instead draw two cards, then discard a card. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBDraw | References$ X,Y,Z -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | SubAbility$ DBDiscard | References$ X,Y,Z +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | SubAbility$ DBDiscard SVar:DBDiscard:DB$ Discard | Defined$ You | Mode$ TgtChoose | NumCards$ 1 SVar:Y:Count$Valid Permanent.Red+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.Green+YouCtrl/LimitMax.1 diff --git a/forge-gui/res/cardsfolder/c/chain_reaction.txt b/forge-gui/res/cardsfolder/c/chain_reaction.txt index 066fd0a2747..c9f411b81e6 100644 --- a/forge-gui/res/cardsfolder/c/chain_reaction.txt +++ b/forge-gui/res/cardsfolder/c/chain_reaction.txt @@ -1,7 +1,7 @@ Name:Chain Reaction ManaCost:2 R R Types:Sorcery -A:SP$ DamageAll | Cost$ 2 R R | NumDmg$ X | ValidCards$ Creature | ValidDescription$ each creature. | References$ X | SpellDescription$ CARDNAME deals X damage to each creature, where X is the number of creatures on the battlefield. +A:SP$ DamageAll | Cost$ 2 R R | NumDmg$ X | ValidCards$ Creature | ValidDescription$ each creature. | SpellDescription$ CARDNAME deals X damage to each creature, where X is the number of creatures on the battlefield. SVar:X:Count$TypeOnBattlefield.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/chain_reaction.jpg Oracle:Chain Reaction deals X damage to each creature, where X is the number of creatures on the battlefield. diff --git a/forge-gui/res/cardsfolder/c/chainers_torment.txt b/forge-gui/res/cardsfolder/c/chainers_torment.txt index 3309f754828..996f4c3bdcc 100644 --- a/forge-gui/res/cardsfolder/c/chainers_torment.txt +++ b/forge-gui/res/cardsfolder/c/chainers_torment.txt @@ -4,8 +4,8 @@ Types:Enchantment Saga K:Saga:3:DBDealDamage,DBDealDamage,DBToken SVar:DBDealDamage:DB$ DealDamage | Defined$ Player.Opponent | NumDmg$ 2 | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals 2 damage to each opponent and you gain 2 life. SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ b_x_x_nightmare_horror | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | LegacyImage$ b x x nightmare horror dom | RememberTokens$ True | SubAbility$ DBDamageYou | SpellDescription$ Create an X/X black Nightmare Horror creature token, where X is half your life total, rounded up. It deals X damage to you. -SVar:DBDamageYou:DB$ DealDamage | Defined$ You | NumDmg$ X | References$ X | DamageSource$ Remembered | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ b_x_x_nightmare_horror | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | LegacyImage$ b x x nightmare horror dom | RememberTokens$ True | SubAbility$ DBDamageYou | SpellDescription$ Create an X/X black Nightmare Horror creature token, where X is half your life total, rounded up. It deals X damage to you. +SVar:DBDamageYou:DB$ DealDamage | Defined$ You | NumDmg$ X | DamageSource$ Remembered | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$YourLifeTotal/HalfUp Oracle:(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)\nI, II — Chainer's Torment deals 2 damage to each opponent and you gain 2 life.\nIII — Create an X/X black Nightmare Horror creature token, where X is half your life total, rounded up. It deals X damage to you. diff --git a/forge-gui/res/cardsfolder/c/chainweb_aracnir.txt b/forge-gui/res/cardsfolder/c/chainweb_aracnir.txt index 18d756a2949..c0ed846c4c3 100644 --- a/forge-gui/res/cardsfolder/c/chainweb_aracnir.txt +++ b/forge-gui/res/cardsfolder/c/chainweb_aracnir.txt @@ -4,7 +4,7 @@ Types:Creature Spider PT:1/2 K:Reach T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals damage equal to its power to target creature with flying an opponent controls. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature.OppCtrl+withFlying | TgtPrompt$ Select target creature with flying an opponent controls | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature.OppCtrl+withFlying | TgtPrompt$ Select target creature with flying an opponent controls | NumDmg$ X SVar:X:Count$CardPower K:Escape:3 G G ExileFromGrave<4/Card.Other/other> K:etbCounter:P1P1:3:ValidCard$ Card.Self+escaped:CARDNAME escapes with three +1/+1 counters on it. diff --git a/forge-gui/res/cardsfolder/c/chalice_of_life_chalice_of_death.txt b/forge-gui/res/cardsfolder/c/chalice_of_life_chalice_of_death.txt index 43ddc6b62a4..4358c113d56 100644 --- a/forge-gui/res/cardsfolder/c/chalice_of_life_chalice_of_death.txt +++ b/forge-gui/res/cardsfolder/c/chalice_of_life_chalice_of_death.txt @@ -2,7 +2,7 @@ Name:Chalice of Life ManaCost:3 Types:Artifact A:AB$ GainLife | Cost$ T | LifeAmount$ 1 | Defined$ You | SubAbility$ DBTransform | SpellDescription$ You gain 1 life. Then if you have at least 10 more life than your starting life total, transform CARDNAME. -SVar:DBTransform:DB$SetState | Defined$ Self | Mode$ Transform | ConditionCheckSVar$ X | ConditionSVarCompare$ GEY | References$ X,Y +SVar:DBTransform:DB$SetState | Defined$ Self | Mode$ Transform | ConditionCheckSVar$ X | ConditionSVarCompare$ GEY SVar:X:Count$YourLifeTotal SVar:Y:Count$YourStartingLife/Plus.10 AlternateMode:DoubleFaced diff --git a/forge-gui/res/cardsfolder/c/chamber_sentry.txt b/forge-gui/res/cardsfolder/c/chamber_sentry.txt index 877e5f46cf3..7ad8b9e7e8f 100644 --- a/forge-gui/res/cardsfolder/c/chamber_sentry.txt +++ b/forge-gui/res/cardsfolder/c/chamber_sentry.txt @@ -4,7 +4,7 @@ Types:Artifact Creature Construct PT:0/0 K:etbCounter:P1P1:Y:no Condition:CARDNAME enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it. SVar:Y:Count$Converge -A:AB$ DealDamage | Cost$ X T SubCounter | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target. +A:AB$ DealDamage | Cost$ X T SubCounter | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target. SVar:X:Count$xPaid A:AB$ ChangeZone | Cost$ W U B R G | Origin$ Graveyard | Destination$ Hand | ActivationZone$ Graveyard | SpellDescription$ Return CARDNAME from your graveyard to your hand. SVar:DiscardMe:1 diff --git a/forge-gui/res/cardsfolder/c/chameleon_colossus.txt b/forge-gui/res/cardsfolder/c/chameleon_colossus.txt index 65cc1a80fa4..4101ee5a791 100644 --- a/forge-gui/res/cardsfolder/c/chameleon_colossus.txt +++ b/forge-gui/res/cardsfolder/c/chameleon_colossus.txt @@ -4,6 +4,6 @@ Types:Creature Shapeshifter PT:4/4 K:Changeling K:Protection from black -A:AB$ Pump | Cost$ 2 G G | Defined$ Self | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is its power. +A:AB$ Pump | Cost$ 2 G G | Defined$ Self | NumAtt$ +X | NumDef$ +X | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is its power. SVar:X:Count$CardPower Oracle:Changeling (This card is every creature type.)\nProtection from black\n{2}{G}{G}: Chameleon Colossus gets +X/+X until end of turn, where X is its power. diff --git a/forge-gui/res/cardsfolder/c/chameleon_spirit.txt b/forge-gui/res/cardsfolder/c/chameleon_spirit.txt index 11f52d06c3a..b063d38ad06 100644 --- a/forge-gui/res/cardsfolder/c/chameleon_spirit.txt +++ b/forge-gui/res/cardsfolder/c/chameleon_spirit.txt @@ -4,7 +4,7 @@ Types:Creature Illusion Spirit PT:*/* K:ETBReplacement:Other:ChooseColor SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentHumanControls | SpellDescription$ As CARDNAME enters the battlefield, choose a color. -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of permanents of the chosen color your opponents control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of permanents of the chosen color your opponents control. SVar:X:Count$Valid Permanent.OppCtrl+ChosenColor SVar:NeedsToPlay:Permanent.OppCtrl+nonColorless SVar:Picture:http://www.wizards.com/global/images/magic/general/chameleon_spirit.jpg diff --git a/forge-gui/res/cardsfolder/c/champion_of_dusk.txt b/forge-gui/res/cardsfolder/c/champion_of_dusk.txt index 497127c96f7..249e382cff3 100644 --- a/forge-gui/res/cardsfolder/c/champion_of_dusk.txt +++ b/forge-gui/res/cardsfolder/c/champion_of_dusk.txt @@ -3,8 +3,8 @@ ManaCost:3 B B Types:Creature Vampire Knight PT:4/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, you draw X cards and you lose X life, where X is the number of Vampires you control. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBLoseLife -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBLoseLife +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X SVar:X:Count$Valid Vampire.YouCtrl DeckHints:Type$Vampire SVar:Picture:http://www.wizards.com/global/images/magic/general/champion_of_dusk.jpg diff --git a/forge-gui/res/cardsfolder/c/champion_of_stray_souls.txt b/forge-gui/res/cardsfolder/c/champion_of_stray_souls.txt index 297af3ee3b3..32a086988b2 100644 --- a/forge-gui/res/cardsfolder/c/champion_of_stray_souls.txt +++ b/forge-gui/res/cardsfolder/c/champion_of_stray_souls.txt @@ -2,7 +2,7 @@ Name:Champion of Stray Souls ManaCost:4 B B Types:Creature Skeleton Warrior PT:4/4 -A:AB$ ChangeZone | Cost$ 3 B B T Sac | CostDesc$ {3}{B}{B}, {T}, Sacrifice X other creatures: | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouOwn | TgtPrompt$ Select X target creature cards from your graveyard | TargetMin$ X | TargetMax$ X | References$ X | AIMinTgts$ 3 | SpellDescription$ Return X target creatures from your graveyard to the battlefield. +A:AB$ ChangeZone | Cost$ 3 B B T Sac | CostDesc$ {3}{B}{B}, {T}, Sacrifice X other creatures: | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouOwn | TgtPrompt$ Select X target creature cards from your graveyard | TargetMin$ X | TargetMax$ X | AIMinTgts$ 3 | SpellDescription$ Return X target creatures from your graveyard to the battlefield. A:AB$ ChangeZone | Cost$ 5 B B | Origin$ Graveyard | Destination$ Library | ActivationZone$ Graveyard | Defined$ Self | SpellDescription$ Put CARDNAME on top of your library from your graveyard. SVar:X:Count$xPaid SVar:AIPreference:SacCost$Creature.token,Creature.cmcLE3 diff --git a/forge-gui/res/cardsfolder/c/champion_of_the_flame.txt b/forge-gui/res/cardsfolder/c/champion_of_the_flame.txt index 758aadc4233..7478bd0ad99 100644 --- a/forge-gui/res/cardsfolder/c/champion_of_the_flame.txt +++ b/forge-gui/res/cardsfolder/c/champion_of_the_flame.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Human Warrior PT:1/1 K:Trample -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +2/+2 for each Aura and Equipment attached to it. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +2/+2 for each Aura and Equipment attached to it. SVar:X:Count$Valid Equipment.Attached,Aura.Attached/Times.2 SVar:EnchantMe:Multiple SVar:EquipMe:Multiple diff --git a/forge-gui/res/cardsfolder/c/champion_of_wits.txt b/forge-gui/res/cardsfolder/c/champion_of_wits.txt index 8169b063776..54c0058d731 100644 --- a/forge-gui/res/cardsfolder/c/champion_of_wits.txt +++ b/forge-gui/res/cardsfolder/c/champion_of_wits.txt @@ -3,7 +3,7 @@ ManaCost:2 U Types:Creature Naga Wizard PT:2/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may draw cards equal to its power. If you do, discard two cards. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBDiscard +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | SubAbility$ DBDiscard SVar:DBDiscard:DB$Discard | Defined$ You | Mode$ TgtChoose | NumCards$ 2 K:Eternalize:5 U U SVar:X:Count$CardPower diff --git a/forge-gui/res/cardsfolder/c/chance_for_glory.txt b/forge-gui/res/cardsfolder/c/chance_for_glory.txt index a141a1b4ee2..b777f82f540 100644 --- a/forge-gui/res/cardsfolder/c/chance_for_glory.txt +++ b/forge-gui/res/cardsfolder/c/chance_for_glory.txt @@ -2,7 +2,7 @@ Name:Chance for Glory ManaCost:1 R W Types:Instant A:SP$ PumpAll | Cost$ 1 R W | ValidCards$ Creature.YouCtrl | KW$ Indestructible | Permanent$ True | SubAbility$ DBAddTurn | SpellDescription$ Creatures you control gain indestructible. -SVar:DBAddTurn:DB$ AddTurn | NumTurns$ 1 | ExtraTurnDelayedTrigger$ DBDelTrig | ExtraTurnDelayedTriggerExcute$ TrigLose | References$ DBDelTrig,TrigLose | SpellDescription$ Take an extra turn after this one. At the beginning of that turn's end step, you lose the game. +SVar:DBAddTurn:DB$ AddTurn | NumTurns$ 1 | ExtraTurnDelayedTrigger$ DBDelTrig | ExtraTurnDelayedTriggerExcute$ TrigLose | SpellDescription$ Take an extra turn after this one. At the beginning of that turn's end step, you lose the game. SVar:DBDelTrig:ThisTurn$ True | Mode$ Phase | Phase$ End of Turn | TriggerDescription$ At the beginning of that turn's end step, you lose the game. SVar:TrigLose:DB$ LosesGame | Defined$ You Oracle:Creatures you control gain indestructible. Take an extra turn after this one. At the beginning of that turn's end step, you lose the game. diff --git a/forge-gui/res/cardsfolder/c/chancellor_of_the_forge.txt b/forge-gui/res/cardsfolder/c/chancellor_of_the_forge.txt index b30515ee173..772ecb52bc1 100644 --- a/forge-gui/res/cardsfolder/c/chancellor_of_the_forge.txt +++ b/forge-gui/res/cardsfolder/c/chancellor_of_the_forge.txt @@ -3,7 +3,7 @@ ManaCost:4 R R R Types:Creature Giant PT:5/5 T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ EffMassToken | TriggerDescription$ When CARDNAME enters the battlefield, create X 1/1 red Goblin creature tokens with haste, where X is the number of creatures you control. -SVar:EffMassToken:DB$ Token | TokenAmount$ X | TokenOwner$ You | TokenScript$ r_1_1_goblin_haste | LegacyImage$ r 1 1 goblin haste nph | References$ X +SVar:EffMassToken:DB$ Token | TokenAmount$ X | TokenOwner$ You | TokenScript$ r_1_1_goblin_haste | LegacyImage$ r 1 1 goblin haste nph SVar:X:Count$Valid Creature.YouCtrl K:MayEffectFromOpeningHand:RevealCard SVar:RevealCard:DB$ Reveal | RevealDefined$ Self | SubAbility$ TokenOnUpkeep | SpellDescription$ You may reveal this card from your opening hand. If you do, at the beginning of the first upkeep, create a 1/1 red Goblin creature token with haste. diff --git a/forge-gui/res/cardsfolder/c/chandra_ablaze.txt b/forge-gui/res/cardsfolder/c/chandra_ablaze.txt index 21ccb4aec6c..5defab71289 100644 --- a/forge-gui/res/cardsfolder/c/chandra_ablaze.txt +++ b/forge-gui/res/cardsfolder/c/chandra_ablaze.txt @@ -7,7 +7,7 @@ SVar:DBChandraDealDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalke SVar:DBChandraCleanup:DB$ Cleanup | ClearRemembered$ True A:AB$ Discard | Cost$ SubCounter<2/LOYALTY> | Mode$ Hand | Defined$ Player | Planeswalker$ True | SubAbility$ DBChandraDraw | SpellDescription$ Each player discards their hand, then draws three cards. SVar:DBChandraDraw:DB$ Draw | Defined$ Player | NumCards$ 3 -A:AB$ Play | Cost$ SubCounter<7/LOYALTY> | Valid$ Instant.Red+YouCtrl,Sorcery.Red+YouCtrl | ValidZone$ Graveyard | WithoutManaCost$ True | Planeswalker$ True | Ultimate$ True | Amount$ ChandraX | Controller$ You | Optional$ True | References$ ChandraX | SpellDescription$ Cast any number of red instant and/or sorcery cards from your graveyard without paying their mana costs. +A:AB$ Play | Cost$ SubCounter<7/LOYALTY> | Valid$ Instant.Red+YouCtrl,Sorcery.Red+YouCtrl | ValidZone$ Graveyard | WithoutManaCost$ True | Planeswalker$ True | Ultimate$ True | Amount$ ChandraX | Controller$ You | Optional$ True | SpellDescription$ Cast any number of red instant and/or sorcery cards from your graveyard without paying their mana costs. SVar:ChandraX:Count$ValidGraveyard Instant.Red+YouOwn,Sorcery.Red+YouOwn AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/chandra_ablaze.jpg diff --git a/forge-gui/res/cardsfolder/c/chandra_awakened_inferno.txt b/forge-gui/res/cardsfolder/c/chandra_awakened_inferno.txt index 7495e81127b..b75f43b320e 100644 --- a/forge-gui/res/cardsfolder/c/chandra_awakened_inferno.txt +++ b/forge-gui/res/cardsfolder/c/chandra_awakened_inferno.txt @@ -7,6 +7,6 @@ A:AB$ Effect | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | EffectOwner$ P SVar:BOTTrig:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Command | Execute$ ChandraDmg | TriggerDescription$ At the beginning of your upkeep, this emblem deals 1 damage to you. SVar:ChandraDmg:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ 1 A:AB$ DamageAll | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidCards$ Creature.nonElemental | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to each non-Elemental creature. -A:AB$ DealDamage | Cost$ SubCounter | Planeswalker$ True | Ultimate$ True | ValidTgts$ Creature,Planeswalker | NumDmg$ X | References$ X | ReplaceDyingDefined$ Targeted | SpellDescription$ CARDNAME deals X damage to target creature or planeswalker. If a permanent dealt damage this way would die this turn, exile it instead. +A:AB$ DealDamage | Cost$ SubCounter | Planeswalker$ True | Ultimate$ True | ValidTgts$ Creature,Planeswalker | NumDmg$ X | ReplaceDyingDefined$ Targeted | SpellDescription$ CARDNAME deals X damage to target creature or planeswalker. If a permanent dealt damage this way would die this turn, exile it instead. SVar:X:Count$xPaid Oracle:This spell can't be countered.\n[+2]: Each opponent gets an emblem with "At the beginning of your upkeep, this emblem deals 1 damage to you."\n[−3]: Chandra, Awakened Inferno deals 3 damage to each non-Elemental creature.\n[−X]: Chandra, Awakened Inferno deals X damage to target creature or planeswalker. If a permanent dealt damage this way would die this turn, exile it instead. diff --git a/forge-gui/res/cardsfolder/c/chandra_fire_artisan.txt b/forge-gui/res/cardsfolder/c/chandra_fire_artisan.txt index 8914d968e96..803f453167d 100644 --- a/forge-gui/res/cardsfolder/c/chandra_fire_artisan.txt +++ b/forge-gui/res/cardsfolder/c/chandra_fire_artisan.txt @@ -3,7 +3,7 @@ ManaCost:2 R R Types:Legendary Planeswalker Chandra Loyalty:4 T:Mode$ CounterRemovedOnce | ValidCard$ Card.Self | CounterType$ LOYALTY | TriggerZones$ Battlefield | Execute$ TrigDmg | TriggerDescription$ Whenever one or more loyalty counters are removed from CARDNAME, CARDNAME deals that much damage to target opponent or planeswalker. -SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ X | References$ X +SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ X SVar:X:TriggerCount$Amount A:AB$ Dig | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top card of your library. You may play it this turn. SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | RememberObjects$ Remembered | ForgetOnMoved$ Exile | SubAbility$ DBCleanup diff --git a/forge-gui/res/cardsfolder/c/chandra_fire_of_kaladesh_chandra_roaring_flame.txt b/forge-gui/res/cardsfolder/c/chandra_fire_of_kaladesh_chandra_roaring_flame.txt index 7b1ed64db63..5a6e0520328 100644 --- a/forge-gui/res/cardsfolder/c/chandra_fire_of_kaladesh_chandra_roaring_flame.txt +++ b/forge-gui/res/cardsfolder/c/chandra_fire_of_kaladesh_chandra_roaring_flame.txt @@ -4,8 +4,8 @@ Types:Legendary Creature Human Shaman PT:2/2 T:Mode$ SpellCast | ValidCard$ Card.Red | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigUntap | TriggerDescription$ Whenever you cast a red spell, untap CARDNAME. SVar:TrigUntap:DB$ Untap | Defined$ Self -A:AB$ DealDamage | Cost$ T | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ 1 | References$ X | SubAbility$ DBTransform | AILogic$ PingAfterAttack | SpellDescription$ CARDNAME deals 1 damage to target player or planeswalker. If CARDNAME has dealt 3 or more damage this turn, exile her, then return her to the battlefield transformed under her owner's control. -SVar:DBTransform:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBReturn | ConditionCheckSVar$ X | ConditionSVarCompare$ GE3 | References$ X | StackDescription$ If CARDNAME has dealt 3 or more damage this turn, exile her, then return her to the battlefield transformed under her owner's control. +A:AB$ DealDamage | Cost$ T | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ 1 | SubAbility$ DBTransform | AILogic$ PingAfterAttack | SpellDescription$ CARDNAME deals 1 damage to target player or planeswalker. If CARDNAME has dealt 3 or more damage this turn, exile her, then return her to the battlefield transformed under her owner's control. +SVar:DBTransform:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBReturn | ConditionCheckSVar$ X | ConditionSVarCompare$ GE3 | StackDescription$ If CARDNAME has dealt 3 or more damage this turn, exile her, then return her to the battlefield transformed under her owner's control. SVar:DBReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ Exile | Destination$ Battlefield | Transformed$ True | SubAbility$ DBCleanup | StackDescription$ SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$TotalDamageDoneByThisTurn diff --git a/forge-gui/res/cardsfolder/c/chandra_flamecaller.txt b/forge-gui/res/cardsfolder/c/chandra_flamecaller.txt index a3c310fda53..0fdec7b541f 100644 --- a/forge-gui/res/cardsfolder/c/chandra_flamecaller.txt +++ b/forge-gui/res/cardsfolder/c/chandra_flamecaller.txt @@ -4,10 +4,10 @@ Types:Legendary Planeswalker Chandra Loyalty:4 A:AB$ Token | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | TokenAmount$ 2 | TokenScript$ r_3_1_elemental_haste | LegacyImage$ r 3 1 elemental haste ogw | AtEOT$ Exile | SpellDescription$ Create two 3/1 red Elemental creature tokens with haste. Exile them at the beginning of the next end step. A:AB$ Discard | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | Defined$ You | Mode$ Hand | RememberDiscarded$ True | SubAbility$ DBDraw | SpellDescription$ Discard all the cards in your hand, then draw that many cards plus one. -SVar:DBDraw:DB$ Draw | NumCards$ Y | Defined$ You | SubAbility$ DBCleanup | References$ Y +SVar:DBDraw:DB$ Draw | NumCards$ Y | Defined$ You | SubAbility$ DBCleanup SVar:Y:Remembered$Amount.Plus.1 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -A:AB$ DamageAll | Cost$ SubCounter | NumDmg$ X | References$ X | ValidCards$ Creature | Planeswalker$ True | Ultimate$ True | ValidDescription$ each creature. | SpellDescription$ CARDNAME deals X damage to each creature. +A:AB$ DamageAll | Cost$ SubCounter | NumDmg$ X | ValidCards$ Creature | Planeswalker$ True | Ultimate$ True | ValidDescription$ each creature. | SpellDescription$ CARDNAME deals X damage to each creature. SVar:X:Count$xPaid DeckHas:Ability$Token SVar:PlayMain1:ALWAYS diff --git a/forge-gui/res/cardsfolder/c/chandra_gremlin_wrangler.txt b/forge-gui/res/cardsfolder/c/chandra_gremlin_wrangler.txt index da967fbb94a..fdb218927ef 100644 --- a/forge-gui/res/cardsfolder/c/chandra_gremlin_wrangler.txt +++ b/forge-gui/res/cardsfolder/c/chandra_gremlin_wrangler.txt @@ -3,7 +3,7 @@ ManaCost:2 R R Types:Legendary Planeswalker Chandra Loyalty:3 A:AB$ Token | Cost$ AddCounter<1/LOYALTY> | TokenAmount$ 1 | TokenScript$ r_2_2_gremlin | TokenOwner$ You | Planeswalker$ True | SpellDescription$ Create a 2/2 red Gremlin creature token. -A:AB$ DealDamage | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature or player, where X is the number of Gremlins you control. +A:AB$ DealDamage | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature or player, where X is the number of Gremlins you control. SVar:X:Count$TypeYouCtrl.Gremlin DeckHas:Ability$Token Oracle:[+1]: Create a 2/2 red Gremlin creature token.\n[−2]: Chandra, Gremlin Wrangler deals X damage to target creature or player, where X is the number of Gremlins you control. diff --git a/forge-gui/res/cardsfolder/c/chandra_heart_of_fire.txt b/forge-gui/res/cardsfolder/c/chandra_heart_of_fire.txt index 0a5b2a93251..ab92ea1f6a1 100755 --- a/forge-gui/res/cardsfolder/c/chandra_heart_of_fire.txt +++ b/forge-gui/res/cardsfolder/c/chandra_heart_of_fire.txt @@ -8,7 +8,7 @@ SVar:DBEffect:DB$ Effect | RememberObjects$ Remembered | StaticAbilities$ Play | SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ Until end of turn, you may play cards exiled this way. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True A:AB$ DealDamage | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to any target. -A:AB$ ChangeZone | Cost$ SubCounter<9/LOYALTY> | Planeswalker$ True | Ultimate$ True | Origin$ Graveyard,Library | Destination$ Exile | ChangeType$ Instant.Red,Sorcery.Red | RememberChanged$ True | ChangeNum$ Z | References$ X,Y,Z | SubAbility$ DBEffect2 | StackDescription$ SpellDescription | SpellDescription$ Search your graveyard and library for any number of red instant and/or sorcery cards, exile them, then shuffle your library. You may cast them this turn. Add six {R}. +A:AB$ ChangeZone | Cost$ SubCounter<9/LOYALTY> | Planeswalker$ True | Ultimate$ True | Origin$ Graveyard,Library | Destination$ Exile | ChangeType$ Instant.Red,Sorcery.Red | RememberChanged$ True | ChangeNum$ Z,Y,Z | SubAbility$ DBEffect2 | StackDescription$ SpellDescription | SpellDescription$ Search your graveyard and library for any number of red instant and/or sorcery cards, exile them, then shuffle your library. You may cast them this turn. Add six {R}. SVar:DBEffect2:DB$ Effect | Name$ Chandra, Heart of Fire Ultimate Effect | RememberObjects$ Remembered | StaticAbilities$ Play2 | SubAbility$ DBMana | ForgetOnMoved$ Exile SVar:Play2:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may cast the exiled red instant and/or sorcery spells this turn. SVar:DBMana:DB$ Mana | Produced$ R | Amount$ 6 | SubAbility$ DBCleanup | StackDescription$ None diff --git a/forge-gui/res/cardsfolder/c/chandra_nalaar.txt b/forge-gui/res/cardsfolder/c/chandra_nalaar.txt index 5423609af9a..f82ca9f79e5 100644 --- a/forge-gui/res/cardsfolder/c/chandra_nalaar.txt +++ b/forge-gui/res/cardsfolder/c/chandra_nalaar.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Legendary Planeswalker Chandra Loyalty:6 A:AB$ DealDamage | Cost$ AddCounter<1/LOYALTY> | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ 1 | Planeswalker$ True | SpellDescription$ CARDNAME deals 1 damage to target player or planeswalker. -A:AB$ DealDamage | Cost$ SubCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | Planeswalker$ True | References$ X | SpellDescription$ CARDNAME deals X damage to target creature. +A:AB$ DealDamage | Cost$ SubCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | Planeswalker$ True | SpellDescription$ CARDNAME deals X damage to target creature. A:AB$ DealDamage | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select a player or planeswalker | NumDmg$ 10 | SubAbility$ DmgAll | DamageMap$ True | SpellDescription$ CARDNAME deals 10 damage to target player or planeswalker and each creature that player or that planeswalker's controller controls. SVar:DmgAll:DB$ DamageAll | NumDmg$ 10 | ValidCards$ Creature.ControlledBy TargetedOrController | SubAbility$ DBDamageResolve SVar:DBDamageResolve:DB$ DamageResolve diff --git a/forge-gui/res/cardsfolder/c/chandras_ignition.txt b/forge-gui/res/cardsfolder/c/chandras_ignition.txt index ef8c39955f1..4c5586885cc 100644 --- a/forge-gui/res/cardsfolder/c/chandras_ignition.txt +++ b/forge-gui/res/cardsfolder/c/chandras_ignition.txt @@ -2,7 +2,7 @@ Name:Chandra's Ignition ManaCost:3 R R Types:Sorcery A:SP$ Pump | Cost$ 3 R R | ValidTgts$ Creature.YouCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you control | RememberObjects$ Targeted | SubAbility$ IgnitionDamage | StackDescription$ None | SpellDescription$ Target creature you control deals damage equal to its power to each other creature and each opponent. -SVar:IgnitionDamage:DB$ DamageAll | ValidCards$ Creature.IsNotRemembered | ValidPlayers$ Player.Opponent | NumDmg$ X | References$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget +SVar:IgnitionDamage:DB$ DamageAll | ValidCards$ Creature.IsNotRemembered | ValidPlayers$ Player.Opponent | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/chandras_ignition.jpg Oracle:Target creature you control deals damage equal to its power to each other creature and each opponent. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/c/chandras_incinerator.txt b/forge-gui/res/cardsfolder/c/chandras_incinerator.txt index 4686d9b1230..3b1b293a1d1 100644 --- a/forge-gui/res/cardsfolder/c/chandras_incinerator.txt +++ b/forge-gui/res/cardsfolder/c/chandras_incinerator.txt @@ -2,11 +2,11 @@ Name:Chandra's Incinerator ManaCost:5 R Types:Creature Elemental PT:6/6 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {X} less to cast, where X is the total amount of noncombat damage dealt to your opponents this turn. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {X} less to cast, where X is the total amount of noncombat damage dealt to your opponents this turn. SVar:X:PlayerCountOpponents$NonCombatDamageDealtThisTurn K:Trample T:Mode$ DamageDone | ValidSource$ Card.YouCtrl,Emblem.YouCtrl | ValidTarget$ Opponent | CombatDamage$ False | TriggerZones$ Battlefield | Execute$ TrigDmg | TriggerDescription$ Whenever a source you control deals noncombat damage to an opponent, CARDNAME deals that much damage to target creature or planeswalker that player controls. -SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker that player controls | TargetsWithDefinedController$ TriggeredTarget | NumDmg$ Y | References$ Y +SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker that player controls | TargetsWithDefinedController$ TriggeredTarget | NumDmg$ Y SVar:Y:TriggerCount$DamageAmount SVar:PlayMain1:TRUE Oracle:This spell costs {X} less to cast, where X is the total amount of noncombat damage dealt to your opponents this turn.\nTrample\nWhenever a source you control deals noncombat damage to an opponent, Chandra's Incinerator deals that much damage to target creature or planeswalker that player controls. diff --git a/forge-gui/res/cardsfolder/c/chandras_triumph.txt b/forge-gui/res/cardsfolder/c/chandras_triumph.txt index 837629f206a..9977820f9ab 100644 --- a/forge-gui/res/cardsfolder/c/chandras_triumph.txt +++ b/forge-gui/res/cardsfolder/c/chandras_triumph.txt @@ -1,7 +1,7 @@ Name:Chandra's Triumph ManaCost:1 R Types:Instant -A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature.OppCtrl,Planeswalker.OppCtrl | TgtPrompt$ Select target creature or planeswalker an opponent controls | NumDmg$ X | References$ X,Y | SpellDescription$ CARDNAME deals 3 damage to target creature or planeswalker an opponent controls. CARDNAME deals 5 damage instead if you control a Chandra planeswalker. +A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature.OppCtrl,Planeswalker.OppCtrl | TgtPrompt$ Select target creature or planeswalker an opponent controls | NumDmg$ X | SpellDescription$ CARDNAME deals 3 damage to target creature or planeswalker an opponent controls. CARDNAME deals 5 damage instead if you control a Chandra planeswalker. SVar:Y:Count$Valid Planeswalker.Chandra+YouCtrl SVar:X:Count$Compare Y GE1.5.3 Oracle:Chandra's Triumph deals 3 damage to target creature or planeswalker an opponent controls. Chandra's Triumph deals 5 damage instead if you control a Chandra planeswalker. diff --git a/forge-gui/res/cardsfolder/c/channel_harm.txt b/forge-gui/res/cardsfolder/c/channel_harm.txt index 7ad15438a92..4c882adbe72 100644 --- a/forge-gui/res/cardsfolder/c/channel_harm.txt +++ b/forge-gui/res/cardsfolder/c/channel_harm.txt @@ -3,7 +3,7 @@ ManaCost:5 W Types:Instant A:SP$ Effect | Cost$ 5 W | ValidTgts$ Creature | ReplacementEffects$ ChannelHarmRep | SVars$ DamageSourceInstead,X | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | AILogic$ Fog | SpellDescription$ Prevent all damage that would be dealt to you and permanents you control this turn by sources you don't control. If damage is prevented this way, you may have CARDNAME deal that much damage to target creature. SVar:ChannelHarmRep:Event$ DamageDone | ActiveZones$ Command | ValidTarget$ You,Permanent.YouCtrl | ValidSource$ Card.YouDontCtrl,Emblem.YouDontCtrl | ReplaceWith$ DamageSourceInstead | PreventionEffect$ True | Description$ Prevent all damage that would be dealt to you and permanents you control this turn by sources you don't control. If damage is prevented this way, you may have EFFECTHOST deal that much damage to target creature. -SVar:DamageSourceInstead:DB$ DealDamage | NumDmg$ X | Defined$ Remembered | DamageSouce$ EffectSource | References$ X | OptionalDecider$ You +SVar:DamageSourceInstead:DB$ DealDamage | NumDmg$ X | Defined$ Remembered | DamageSouce$ EffectSource | OptionalDecider$ You SVar:X:ReplaceCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/channel_harm.jpg Oracle:Prevent all damage that would be dealt to you and permanents you control this turn by sources you don't control. If damage is prevented this way, you may have Channel Harm deal that much damage to target creature. diff --git a/forge-gui/res/cardsfolder/c/channeled_force.txt b/forge-gui/res/cardsfolder/c/channeled_force.txt index 8ddc07ab7ef..ff3ad5b0a67 100755 --- a/forge-gui/res/cardsfolder/c/channeled_force.txt +++ b/forge-gui/res/cardsfolder/c/channeled_force.txt @@ -1,7 +1,7 @@ Name:Channeled Force ManaCost:2 U R Types:Instant -A:SP$ Draw | Cost$ 2 U R Discard | CostDesc$ As an additional cost to cast this spell, discard X cards. | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | References$ X | SubAbility$ DBDamage | SpellDescription$ Target player draws X cards. CARDNAME deals X damage to up to one target creature or planeswalker. -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target creature or planeswalker. | NumDmg$ X | References$ X +A:SP$ Draw | Cost$ 2 U R Discard | CostDesc$ As an additional cost to cast this spell, discard X cards. | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | SubAbility$ DBDamage | SpellDescription$ Target player draws X cards. CARDNAME deals X damage to up to one target creature or planeswalker. +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target creature or planeswalker. | NumDmg$ X SVar:X:Count$xPaid Oracle:As an additional cost to cast this spell, discard X cards.\nTarget player draws X cards. Channeled Force deals X damage to up to one target creature or planeswalker. diff --git a/forge-gui/res/cardsfolder/c/chant_of_vitu_ghazi.txt b/forge-gui/res/cardsfolder/c/chant_of_vitu_ghazi.txt index ee6fee48727..6593420ed92 100644 --- a/forge-gui/res/cardsfolder/c/chant_of_vitu_ghazi.txt +++ b/forge-gui/res/cardsfolder/c/chant_of_vitu_ghazi.txt @@ -4,7 +4,7 @@ Types:Instant K:Convoke A:SP$ Effect | Cost$ 6 W W | ReplacementEffects$ RepDmg | SVars$ GainLifeYou,RepDmg,X | SpellDescription$ Prevent all damage that would be dealt by creatures this turn. You gain life equal to the damage prevented this way. SVar:RepDmg:Event$ DamageDone | ValidSource$ Creature | ReplaceWith$ GainLifeYou | PreventionEffect$ True | Description$ Prevent all damage that would be dealt by creatures this turn. You gain life equal to the damage prevented this way. -SVar:GainLifeYou:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:GainLifeYou:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:ReplaceCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/chant_of_vitu_ghazi.jpg Oracle:Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.)\nPrevent all damage that would be dealt by creatures this turn. You gain life equal to the damage prevented this way. diff --git a/forge-gui/res/cardsfolder/c/chaos_lord.txt b/forge-gui/res/cardsfolder/c/chaos_lord.txt index 1421b0b5087..95e2b4f5f89 100644 --- a/forge-gui/res/cardsfolder/c/chaos_lord.txt +++ b/forge-gui/res/cardsfolder/c/chaos_lord.txt @@ -4,7 +4,7 @@ Types:Creature Human PT:7/7 K:First Strike T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ ChangeControl | TriggerDescription$ At the beginning of your upkeep, target opponent gains control of CARDNAME if the number of permanents is even. -SVar:ChangeControl:DB$ GainControl | Defined$ Self | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X +SVar:ChangeControl:DB$ GainControl | Defined$ Self | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 SVar:X:Count$Valid Permanent/Mod.2 S:Mode$ CanAttackIfHaste | ValidCard$ Card.Self+notEnteredBattlefieldThisTurn | Description$ CARDNAME can attack as though it had haste unless it entered the battlefield this turn. AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/c/chaotic_backlash.txt b/forge-gui/res/cardsfolder/c/chaotic_backlash.txt index 1c6dd9c0e96..8dde6b9169a 100644 --- a/forge-gui/res/cardsfolder/c/chaotic_backlash.txt +++ b/forge-gui/res/cardsfolder/c/chaotic_backlash.txt @@ -1,7 +1,7 @@ Name:Chaotic Backlash ManaCost:4 R Types:Instant -A:SP$ DealDamage | Cost$ 4 R | NumDmg$ Backlash | References$ Backlash | TgtPrompt$ Select target player to damage | ValidTgts$ Player | SpellDescription$ CARDNAME deals damage to target player equal to twice the number of white and/or blue permanents they control. +A:SP$ DealDamage | Cost$ 4 R | NumDmg$ Backlash | TgtPrompt$ Select target player to damage | ValidTgts$ Player | SpellDescription$ CARDNAME deals damage to target player equal to twice the number of white and/or blue permanents they control. SVar:Backlash:Count$Valid Permanent.Blue+TargetedPlayerCtrl,Permanent.White+TargetedPlayerCtrl/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/chaotic_backlash.jpg Oracle:Chaotic Backlash deals damage to target player equal to twice the number of white and/or blue permanents they control. diff --git a/forge-gui/res/cardsfolder/c/charge_across_the_araba.txt b/forge-gui/res/cardsfolder/c/charge_across_the_araba.txt index 0d91b39d24e..e7a9ef34457 100644 --- a/forge-gui/res/cardsfolder/c/charge_across_the_araba.txt +++ b/forge-gui/res/cardsfolder/c/charge_across_the_araba.txt @@ -1,8 +1,8 @@ Name:Charge Across the Araba ManaCost:4 W Types:Instant Arcane -A:SP$ ChangeZone | Cost$ 4 W | Origin$ Battlefield | Destination$ Hand | ChangeType$ Plains.YouCtrl | ChangeNum$ X | Hidden$ True | RememberChanged$ True | SubAbility$ DBPump | References$ X | SpellDescription$ Sweep — Return any number of Plains you control to their owner's hand. Creatures you control get +1/+1 until end of turn for each Plains returned this way. -SVar:DBPump:DB$ PumpAll | ValidCards$ Creature.YouCtrl | NumAtt$ +Y | NumDef$ +Y | References$ Y +A:SP$ ChangeZone | Cost$ 4 W | Origin$ Battlefield | Destination$ Hand | ChangeType$ Plains.YouCtrl | ChangeNum$ X | Hidden$ True | RememberChanged$ True | SubAbility$ DBPump | SpellDescription$ Sweep — Return any number of Plains you control to their owner's hand. Creatures you control get +1/+1 until end of turn for each Plains returned this way. +SVar:DBPump:DB$ PumpAll | ValidCards$ Creature.YouCtrl | NumAtt$ +Y | NumDef$ +Y SVar:X:Count$Valid Plains.YouCtrl SVar:Y:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/c/charge_of_the_forever_beast.txt b/forge-gui/res/cardsfolder/c/charge_of_the_forever_beast.txt index e72b1faf332..c3c27a2391e 100755 --- a/forge-gui/res/cardsfolder/c/charge_of_the_forever_beast.txt +++ b/forge-gui/res/cardsfolder/c/charge_of_the_forever_beast.txt @@ -1,7 +1,7 @@ Name:Charge of the Forever-Beast ManaCost:2 G Types:Sorcery -A:SP$ DealDamage | Cost$ 2 G Reveal<1/Creature> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | References$ X | SpellDescription$ As an additional cost to cast this spell, reveal a creature card from your hand. CARDNAME deals damage to target creature or planeswalker equal to the revealed card's power. +A:SP$ DealDamage | Cost$ 2 G Reveal<1/Creature> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | SpellDescription$ As an additional cost to cast this spell, reveal a creature card from your hand. CARDNAME deals damage to target creature or planeswalker equal to the revealed card's power. SVar:X:Revealed$CardPower AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, reveal a creature card from your hand.\nCharge of the Forever-Beast deals damage to target creature or planeswalker equal to the revealed card's power. diff --git a/forge-gui/res/cardsfolder/c/charging_cinderhorn.txt b/forge-gui/res/cardsfolder/c/charging_cinderhorn.txt index 73ac1e1ea65..58b762625c6 100644 --- a/forge-gui/res/cardsfolder/c/charging_cinderhorn.txt +++ b/forge-gui/res/cardsfolder/c/charging_cinderhorn.txt @@ -3,9 +3,9 @@ ManaCost:3 R Types:Creature Elemental Ox PT:4/2 K:Haste -T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigPutCounter | CheckSVar$ AttackedThisTurn | References$ AttackedThisTurn | SVarCompare$ EQ0 | TriggerDescription$ At the beginning of each player's end step, if no creatures attacked this turn, put a fury counter on CARDNAME. Then CARDNAME deals damage equal to the number of fury counters on it to that player. +T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigPutCounter | CheckSVar$ AttackedThisTurn | SVarCompare$ EQ0 | TriggerDescription$ At the beginning of each player's end step, if no creatures attacked this turn, put a fury counter on CARDNAME. Then CARDNAME deals damage equal to the number of fury counters on it to that player. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ FURY | CounterNum$ 1 | SubAbility$ DBDealDamage -SVar:DBDealDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:DBDealDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:AttackedThisTurn:PlayerCountPlayers$AttackersDeclared SVar:X:Count$CardCounters.FURY SVar:Picture:http://www.wizards.com/global/images/magic/general/charging_cinderhorn.jpg diff --git a/forge-gui/res/cardsfolder/c/charging_tuskodon.txt b/forge-gui/res/cardsfolder/c/charging_tuskodon.txt index d6ca7bb7a5f..6d91b905ec7 100644 --- a/forge-gui/res/cardsfolder/c/charging_tuskodon.txt +++ b/forge-gui/res/cardsfolder/c/charging_tuskodon.txt @@ -4,7 +4,7 @@ Types:Creature Dinosaur PT:4/4 K:Trample R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.Self | ValidTarget$ Player | IsCombat$ True | ReplaceWith$ DmgTwice | Description$ If Charging Tuskodon would deal combat damage to a player, it deals double that damage instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/charging_tuskodon.jpg Oracle:Trample\nIf Charging Tuskodon would deal combat damage to a player, it deals double that damage to that player instead. diff --git a/forge-gui/res/cardsfolder/c/charix_the_raging_isle.txt b/forge-gui/res/cardsfolder/c/charix_the_raging_isle.txt index 20d78fea38c..8def63a21ae 100644 --- a/forge-gui/res/cardsfolder/c/charix_the_raging_isle.txt +++ b/forge-gui/res/cardsfolder/c/charix_the_raging_isle.txt @@ -3,7 +3,7 @@ ManaCost:2 U U Types:Legendary Creature Leviathan Crab PT:0/17 S:Mode$ RaiseCost | ValidTarget$ Card.Self | Activator$ Opponent | Type$ Spell | Amount$ 2 | Description$ Spells your opponents cast that target CARDNAME cost {2} more to cast. -A:AB$ Pump | Cost$ 3 | NumAtt$ +X | NumDef$ -X | References$ X | SpellDescription$ CARDNAME gets +X/-X until end of turn, where X is the number of Islands you control. +A:AB$ Pump | Cost$ 3 | NumAtt$ +X | NumDef$ -X | SpellDescription$ CARDNAME gets +X/-X until end of turn, where X is the number of Islands you control. SVar:X:Count$Valid Island.YouCtrl DeckHints:Type$Island Oracle:Spells your opponents cast that target Charix, the Raging Isle cost {2} more to cast.\n{3}: Charix gets +X/-X until end of turn, where X is the number of Islands you control. diff --git a/forge-gui/res/cardsfolder/c/chart_a_course.txt b/forge-gui/res/cardsfolder/c/chart_a_course.txt index cf16c9eb5e3..028fb87d534 100644 --- a/forge-gui/res/cardsfolder/c/chart_a_course.txt +++ b/forge-gui/res/cardsfolder/c/chart_a_course.txt @@ -2,6 +2,6 @@ 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 this turn. -SVar:DBDiscard:DB$ Discard | NumCards$ 1 | Mode$ TgtChoose | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ EQ0 | References$ RaidTest +SVar:DBDiscard:DB$ Discard | NumCards$ 1 | Mode$ TgtChoose | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ EQ0 SVar:RaidTest:Count$AttackersDeclared Oracle:Draw two cards. Then discard a card unless you attacked this turn. diff --git a/forge-gui/res/cardsfolder/c/chasm_skulker.txt b/forge-gui/res/cardsfolder/c/chasm_skulker.txt index 5c826772fa8..ca3b235fd5f 100644 --- a/forge-gui/res/cardsfolder/c/chasm_skulker.txt +++ b/forge-gui/res/cardsfolder/c/chasm_skulker.txt @@ -5,7 +5,7 @@ PT:1/1 T:Mode$ Drawn | ValidCard$ Card.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you draw a card, put a +1/+1 counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigToken | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, create X 1/1 blue Squid creature tokens with islandwalk, where X is the number of +1/+1 counters on CARDNAME. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ u_1_1_squid_islandwalk | TokenOwner$ You | LegacyImage$ u 1 1 squid islandwalk m15 +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ u_1_1_squid_islandwalk | TokenOwner$ You | LegacyImage$ u 1 1 squid islandwalk m15 SVar:X:TriggeredCard$CardCounters.P1P1 SVar:Picture:http://www.wizards.com/global/images/magic/general/chasm_skulker.jpg Oracle:Whenever you draw a card, put a +1/+1 counter on Chasm Skulker.\nWhen Chasm Skulker dies, create X 1/1 blue Squid creature tokens with islandwalk, where X is the number of +1/+1 counters on Chasm Skulker. (They can't be blocked as long as defending player controls an Island.) diff --git a/forge-gui/res/cardsfolder/c/chastise.txt b/forge-gui/res/cardsfolder/c/chastise.txt index 0564d342030..bfafb475eb0 100644 --- a/forge-gui/res/cardsfolder/c/chastise.txt +++ b/forge-gui/res/cardsfolder/c/chastise.txt @@ -2,7 +2,7 @@ Name:Chastise ManaCost:3 W Types:Instant A:SP$ Destroy | Cost$ 3 W | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | SubAbility$ DBGainLife | SpellDescription$ Destroy target attacking creature. You gain life equal to its power. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TargetedLKI$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/chastise.jpg Oracle:Destroy target attacking creature. You gain life equal to its power. diff --git a/forge-gui/res/cardsfolder/c/children_of_korlis.txt b/forge-gui/res/cardsfolder/c/children_of_korlis.txt index 2ffc5c03ec3..1567a5ba1df 100644 --- a/forge-gui/res/cardsfolder/c/children_of_korlis.txt +++ b/forge-gui/res/cardsfolder/c/children_of_korlis.txt @@ -2,7 +2,7 @@ Name:Children of Korlis ManaCost:W Types:Creature Human Rebel Cleric PT:1/1 -A:AB$ GainLife | Cost$ Sac<1/CARDNAME> | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the life you've lost this turn. (Damage causes loss of life.) +A:AB$ GainLife | Cost$ Sac<1/CARDNAME> | LifeAmount$ X | SpellDescription$ You gain life equal to the life you've lost this turn. (Damage causes loss of life.) SVar:X:Count$LifeYouLostThisTurn SVar:Picture:http://www.wizards.com/global/images/magic/general/children_of_korlis.jpg Oracle:Sacrifice Children of Korlis: You gain life equal to the life you've lost this turn. (Damage causes loss of life.) diff --git a/forge-gui/res/cardsfolder/c/chill_haunting.txt b/forge-gui/res/cardsfolder/c/chill_haunting.txt index cc9b65ddbf9..f72ae17bc3e 100644 --- a/forge-gui/res/cardsfolder/c/chill_haunting.txt +++ b/forge-gui/res/cardsfolder/c/chill_haunting.txt @@ -1,7 +1,7 @@ Name:Chill Haunting ManaCost:1 B Types:Instant -A:SP$ Pump | Cost$ 1 B ExileFromGrave | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X | SpellDescription$ Target creature gets -X/-X until end of turn. +A:SP$ Pump | Cost$ 1 B ExileFromGrave | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, exile X creature cards from your graveyard.\nTarget creature gets -X/-X until end of turn. diff --git a/forge-gui/res/cardsfolder/c/chimeric_coils.txt b/forge-gui/res/cardsfolder/c/chimeric_coils.txt index 29b89658cf4..c41020c7a77 100644 --- a/forge-gui/res/cardsfolder/c/chimeric_coils.txt +++ b/forge-gui/res/cardsfolder/c/chimeric_coils.txt @@ -1,7 +1,7 @@ Name:Chimeric Coils ManaCost:1 Types:Artifact -A:AB$ Animate | Cost$ X 1 | Defined$ Self | Power$ X | Toughness$ X | Types$ Creature,Artifact,Construct | AtEOT$ Sacrifice | Permanent$ True | References$ X | SpellDescription$ CARDNAME becomes an X/X Construct artifact creature. Sacrifice it at the beginning of the next end step. +A:AB$ Animate | Cost$ X 1 | Defined$ Self | Power$ X | Toughness$ X | Types$ Creature,Artifact,Construct | AtEOT$ Sacrifice | Permanent$ True | SpellDescription$ CARDNAME becomes an X/X Construct artifact creature. Sacrifice it at the beginning of the next end step. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/chimeric_coils.jpg diff --git a/forge-gui/res/cardsfolder/c/chimeric_staff.txt b/forge-gui/res/cardsfolder/c/chimeric_staff.txt index 10267f478fd..e1286ea7a1e 100644 --- a/forge-gui/res/cardsfolder/c/chimeric_staff.txt +++ b/forge-gui/res/cardsfolder/c/chimeric_staff.txt @@ -1,7 +1,7 @@ Name:Chimeric Staff ManaCost:4 Types:Artifact -A:AB$ Animate | Cost$ X | Defined$ Self | Power$ X | Toughness$ X | Types$ Creature,Artifact,Construct | References$ X | SpellDescription$ CARDNAME becomes an X/X Construct artifact creature until end of turn. +A:AB$ Animate | Cost$ X | Defined$ Self | Power$ X | Toughness$ X | Types$ Creature,Artifact,Construct | SpellDescription$ CARDNAME becomes an X/X Construct artifact creature until end of turn. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/chimeric_staff.jpg diff --git a/forge-gui/res/cardsfolder/c/chimney_goyf.txt b/forge-gui/res/cardsfolder/c/chimney_goyf.txt index 86fad03007d..70c5babd6fa 100644 --- a/forge-gui/res/cardsfolder/c/chimney_goyf.txt +++ b/forge-gui/res/cardsfolder/c/chimney_goyf.txt @@ -3,7 +3,7 @@ ManaCost:4 B Types:Creature Lhurgoyf Imp PT:*/1+* K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ Y | References$ X, Y | Description$ CARDNAME's power is equal to the number of card types among cards in all graveyards and its toughness is equal to that number plus 1. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ Y | Description$ CARDNAME's power is equal to the number of card types among cards in all graveyards and its toughness is equal to that number plus 1. SVar:X:Count$CardTypes.Graveyard SVar:Y:SVar$X/Plus.1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, target opponent puts a card from their hand on top of their library. diff --git a/forge-gui/res/cardsfolder/c/chittering_witch.txt b/forge-gui/res/cardsfolder/c/chittering_witch.txt index 234aa152bdf..8ec2f6c7434 100644 --- a/forge-gui/res/cardsfolder/c/chittering_witch.txt +++ b/forge-gui/res/cardsfolder/c/chittering_witch.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Creature Human Warlock PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a number of 1/1 black Rat creature tokens equal to the number of opponents you have. -SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ b_1_1_rat | TokenOwner$ You | LegacyImage$ b 1 1 rat eld | References$ X +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ b_1_1_rat | TokenOwner$ You | LegacyImage$ b 1 1 rat eld SVar:X:PlayerCountOpponents$Amount A:AB$ Pump | Cost$ 1 B Sac<1/Creature> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -2 | NumDef$ -2 | IsCurse$ True | SpellDescription$ Target creature gets -2/-2 until end of turn. SVar:AIPreference:SacCost$Creature.token,Creature.cmcLE1 diff --git a/forge-gui/res/cardsfolder/c/cho_arrim_alchemist.txt b/forge-gui/res/cardsfolder/c/cho_arrim_alchemist.txt index 36876e0ff58..a26ed15acf5 100644 --- a/forge-gui/res/cardsfolder/c/cho_arrim_alchemist.txt +++ b/forge-gui/res/cardsfolder/c/cho_arrim_alchemist.txt @@ -5,7 +5,7 @@ PT:1/1 A:AB$ ChooseSource | Cost$ 1 W W T Discard<1/Card> | Choices$ Card | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice would deal damage to you this turn, prevent that damage. You gain life equal to the damage prevented this way. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventNextFromSource | RememberObjects$ Remembered | SVars$ RPreventNextFromSource,ExileEffect,GainLifeInstead,X | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 SVar:RPreventNextFromSource:Event$ DamageDone | ValidSource$ Card.IsRemembered | ValidTarget$ You | ReplaceWith$ GainLifeInstead | PreventionEffect$ True | Description$ The next time the chosen source deals damage to you, prevent that damage. You gain life equal to the damage prevented this way. -SVar:GainLifeInstead:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ ExileEffect | References$ X +SVar:GainLifeInstead:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:X:ReplaceCount$DamageAmount SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/c/choice_of_damnations.txt b/forge-gui/res/cardsfolder/c/choice_of_damnations.txt index a45230e8ef8..a16bb22230f 100644 --- a/forge-gui/res/cardsfolder/c/choice_of_damnations.txt +++ b/forge-gui/res/cardsfolder/c/choice_of_damnations.txt @@ -3,8 +3,8 @@ ManaCost:5 B Types:Sorcery Arcane A:SP$ ChooseNumber | Cost$ 5 B | ValidTgts$ Opponent | AILogic$ Damnation | Notify$ True | SubAbility$ DBChoice | SpellDescription$ Target opponent chooses a number. You may have that player lose that much life. If you don't, that player sacrifices all but that many permanents. SVar:DBChoice:DB$ GenericChoice | Choices$ DBLoseLife,DBSac -SVar:DBLoseLife:DB$ LoseLife | Defined$ ParentTarget | LifeAmount$ X | References$ X | SpellDescription$ That player lose that much life. -SVar:DBSac:DB$ Sacrifice | Defined$ ParentTarget | SacValid$ Permanent | Amount$ Y | References$ X,Y,Z,W | SpellDescription$ That player sacrifices all but that many permanents. +SVar:DBLoseLife:DB$ LoseLife | Defined$ ParentTarget | LifeAmount$ X | SpellDescription$ That player lose that much life. +SVar:DBSac:DB$ Sacrifice | Defined$ ParentTarget | SacValid$ Permanent | Amount$ Y | SpellDescription$ That player sacrifices all but that many permanents. SVar:X:Count$ChosenNumber SVar:Y:SVar$W/LimitMin.0 SVar:W:SVar$Z/Minus.X diff --git a/forge-gui/res/cardsfolder/c/choking_vines.txt b/forge-gui/res/cardsfolder/c/choking_vines.txt index 0a245935b6b..1b7942b30fd 100644 --- a/forge-gui/res/cardsfolder/c/choking_vines.txt +++ b/forge-gui/res/cardsfolder/c/choking_vines.txt @@ -2,7 +2,7 @@ Name:Choking Vines ManaCost:X G Types:Instant Text:Cast CARDNAME only during the declare blockers step. -A:SP$ BecomesBlocked | Cost$ X G | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | TargetMin$ 0 | TargetMax$ Maxtgt | References$ X,Maxtgt | ActivationPhases$ Declare Blockers | RememberTargets$ True | SubAbility$ DBDamage | SpellDescription$ X target attacking creatures become blocked. CARDNAME deals 1 damage to each of those creatures. (This spell works on creatures that can't be blocked.) +A:SP$ BecomesBlocked | Cost$ X G | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | TargetMin$ 0 | TargetMax$ Maxtgt | ActivationPhases$ Declare Blockers | RememberTargets$ True | SubAbility$ DBDamage | SpellDescription$ X target attacking creatures become blocked. CARDNAME deals 1 damage to each of those creatures. (This spell works on creatures that can't be blocked.) SVar:DBDamage:DB$ DamageAll | ValidCards$ Creature.IsRemembered | NumDmg$ 1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:TargetedObjects$Amount diff --git a/forge-gui/res/cardsfolder/c/chord_of_calling.txt b/forge-gui/res/cardsfolder/c/chord_of_calling.txt index 8f1922c369f..32cfe134be5 100644 --- a/forge-gui/res/cardsfolder/c/chord_of_calling.txt +++ b/forge-gui/res/cardsfolder/c/chord_of_calling.txt @@ -2,7 +2,7 @@ Name:Chord of Calling ManaCost:X G G G Types:Instant K:Convoke -A:SP$ ChangeZone | Cost$ X G G G | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcLEX | ChangeNum$ 1 | References$ X | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library. +A:SP$ ChangeZone | Cost$ X G G G | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcLEX | ChangeNum$ 1 | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/chord_of_calling.jpg Oracle:Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.)\nSearch your library for a creature card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library. diff --git a/forge-gui/res/cardsfolder/c/chorus_of_might.txt b/forge-gui/res/cardsfolder/c/chorus_of_might.txt index 91f645178f1..59e32b7a8c7 100644 --- a/forge-gui/res/cardsfolder/c/chorus_of_might.txt +++ b/forge-gui/res/cardsfolder/c/chorus_of_might.txt @@ -1,7 +1,7 @@ Name:Chorus of Might ManaCost:3 G Types:Instant -A:SP$ Pump | Cost$ 3 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X | KW$ Trample | SpellDescription$ Until end of turn, target creature gets +1/+1 for each creature you control and gains trample. +A:SP$ Pump | Cost$ 3 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | KW$ Trample | SpellDescription$ Until end of turn, target creature gets +1/+1 for each creature you control and gains trample. SVar:X:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/chorus_of_might.jpg Oracle:Until end of turn, target creature gets +1/+1 for each creature you control and gains trample. diff --git a/forge-gui/res/cardsfolder/c/chromatic_armor.txt b/forge-gui/res/cardsfolder/c/chromatic_armor.txt index c02f62830cd..a50d215f0fb 100644 --- a/forge-gui/res/cardsfolder/c/chromatic_armor.txt +++ b/forge-gui/res/cardsfolder/c/chromatic_armor.txt @@ -7,7 +7,7 @@ K:ETBReplacement:Other:ChooseColor SVar:ChooseColor:DB$ ChooseColor | Defined$ You | AILogic$ MostProminentInHumanDeck | SpellDescription$ As CARDNAME enters the battlefield, choose a color. K:etbCounter:SLEIGHT:1 R:Event$ DamageDone | ActiveZones$ Battlefield | Prevent$ True | ValidTarget$ Creature.EnchantedBy | ValidSource$ Card.ChosenColor | Description$ Prevent all damage that would be dealt to enchanted creature by sources of the chosen color. -A:AB$ PutCounter | Cost$ X | Defined$ Self | CounterType$ SLEIGHT | CounterNum$ 1 | SubAbility$ ChooseColor | References$ X | SpellDescription$ Put a sleight counter on CARDNAME and choose a color. X is the number of sleight counters on CARDNAME. +A:AB$ PutCounter | Cost$ X | Defined$ Self | CounterType$ SLEIGHT | CounterNum$ 1 | SubAbility$ ChooseColor | SpellDescription$ Put a sleight counter on CARDNAME and choose a color. X is the number of sleight counters on CARDNAME. SVar:X:Count$CardCounters.SLEIGHT AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/chromatic_armor.jpg diff --git a/forge-gui/res/cardsfolder/c/chromatic_orrery.txt b/forge-gui/res/cardsfolder/c/chromatic_orrery.txt index d364c3cb044..4dd331d7a08 100755 --- a/forge-gui/res/cardsfolder/c/chromatic_orrery.txt +++ b/forge-gui/res/cardsfolder/c/chromatic_orrery.txt @@ -4,6 +4,6 @@ Types:Legendary Artifact S:Mode$ Continuous | Affected$ You | ManaColorConversion$ Additive | WhiteConversion$ Color | BlueConversion$ Color | BlackConversion$ Color | RedConversion$ Color | GreenConversion$ Color | ColorlessConversion$ Color | Description$ You may spend mana as though it were mana of any color. SVar:NonStackingEffect:True A:AB$ Mana | Cost$ T | Produced$ C | Amount$ 5 | SpellDescription$ Add {C}{C}{C}{C}{C}. -A:AB$ Draw | Cost$ 5 T | NumCards$ X | References$ X | SpellDescription$ Draw a card for each color among permanents you control. +A:AB$ Draw | Cost$ 5 T | NumCards$ X | SpellDescription$ Draw a card for each color among permanents you control. SVar:X:Count$ColorsCtrl Permanent Oracle:You may spend mana as though it were mana of any color.\n{T}: Add {C}{C}{C}{C}{C}.\n{5}, {T}: Draw a card for each color among permanents you control. diff --git a/forge-gui/res/cardsfolder/c/chrome_replicator.txt b/forge-gui/res/cardsfolder/c/chrome_replicator.txt index 0ad57a8d5aa..62b8bef3a47 100755 --- a/forge-gui/res/cardsfolder/c/chrome_replicator.txt +++ b/forge-gui/res/cardsfolder/c/chrome_replicator.txt @@ -2,7 +2,7 @@ Name:Chrome Replicator ManaCost:5 Types:Artifact Creature Construct PT:4/4 -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | CheckSVar$ X | SVarCompare$ GE2 | References$ X | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, if you control two or more nonland, nontoken permanents with the same name as one another, create a 4/4 colorless Construct artifact creature token. +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | CheckSVar$ X | SVarCompare$ GE2 | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, if you control two or more nonland, nontoken permanents with the same name as one another, create a 4/4 colorless Construct artifact creature token. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ c_4_4_a_construct | TokenOwner$ You SVar:X:Count$MostCardName Permanent.nonLand+nonToken+YouCtrl DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/c/chronozoa.txt b/forge-gui/res/cardsfolder/c/chronozoa.txt index fa8cf6601da..fb966aad63f 100644 --- a/forge-gui/res/cardsfolder/c/chronozoa.txt +++ b/forge-gui/res/cardsfolder/c/chronozoa.txt @@ -5,7 +5,7 @@ PT:3/3 K:Flying K:Vanishing:3 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigCopyPermanent | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, if it had no time counters on it, create two tokens that are copies of it. -SVar:TrigCopyPermanent:DB$ CopyPermanent | Defined$ TriggeredCard | NumCopies$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X +SVar:TrigCopyPermanent:DB$ CopyPermanent | Defined$ TriggeredCard | NumCopies$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 SVar:X:TriggeredCard$CardCounters.TIME SVar:Picture:http://www.wizards.com/global/images/magic/general/chronozoa.jpg Oracle:Flying\nVanishing 3 (This creature enters the battlefield with three time counters on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it.)\nWhen Chronozoa dies, if it had no time counters on it, create two tokens that are copies of it. diff --git a/forge-gui/res/cardsfolder/c/cinder_cloud.txt b/forge-gui/res/cardsfolder/c/cinder_cloud.txt index f0d280b4d84..dd4f4ce5344 100644 --- a/forge-gui/res/cardsfolder/c/cinder_cloud.txt +++ b/forge-gui/res/cardsfolder/c/cinder_cloud.txt @@ -2,7 +2,7 @@ Name:Cinder Cloud ManaCost:3 R R Types:Instant A:SP$ Destroy | Cost$ 3 R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberLKI$ True | SubAbility$ DBDamage | SpellDescription$ Destroy target creature. If a white creature dies this way, Cinder Cloud deals damage to that creature's controller equal to the creature's power. -SVar:DBDamage:DB$ DealDamage | Defined$ RememberedController | NumDmg$ Z | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | References$ Y,Z +SVar:DBDamage:DB$ DealDamage | Defined$ RememberedController | NumDmg$ Z | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 SVar:Y:RememberedLKI$Valid Creature.White SVar:Z:RememberedLKI$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/cinder_cloud.jpg diff --git a/forge-gui/res/cardsfolder/c/cinder_elemental.txt b/forge-gui/res/cardsfolder/c/cinder_elemental.txt index 6afec5dc54c..f367915a387 100644 --- a/forge-gui/res/cardsfolder/c/cinder_elemental.txt +++ b/forge-gui/res/cardsfolder/c/cinder_elemental.txt @@ -2,7 +2,7 @@ Name:Cinder Elemental ManaCost:3 R Types:Creature Elemental PT:2/2 -A:AB$ DealDamage | Cost$ X R T Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | AITgts$ BetterThanSource | SpellDescription$ CARDNAME deals X damage to any target. +A:AB$ DealDamage | Cost$ X R T Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | AITgts$ BetterThanSource | SpellDescription$ CARDNAME deals X damage to any target. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/cinder_elemental.jpg Oracle:{X}{R}, {T}, Sacrifice Cinder Elemental: It deals X damage to any target. diff --git a/forge-gui/res/cardsfolder/c/cinder_glade.txt b/forge-gui/res/cardsfolder/c/cinder_glade.txt index fe36fe35f1d..45e63dfe572 100644 --- a/forge-gui/res/cardsfolder/c/cinder_glade.txt +++ b/forge-gui/res/cardsfolder/c/cinder_glade.txt @@ -2,7 +2,7 @@ Name:Cinder Glade ManaCost:no cost Types:Land Mountain Forest R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ LandTapped | Description$ CARDNAME enters the battlefield tapped unless you control two or more basic lands. -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar | ConditionSVarCompare$ LE1 | References$ ETBCheckSVar | SubAbility$ MoveToPlay +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar | ConditionSVarCompare$ LE1 | SubAbility$ MoveToPlay SVar:MoveToPlay:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard SVar:ETBCheckSVar:Count$LastStateBattlefield Land.Basic+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/cinder_glade.jpg diff --git a/forge-gui/res/cardsfolder/c/cinder_seer.txt b/forge-gui/res/cardsfolder/c/cinder_seer.txt index e1bdba01ee7..bcf2e71a22d 100644 --- a/forge-gui/res/cardsfolder/c/cinder_seer.txt +++ b/forge-gui/res/cardsfolder/c/cinder_seer.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Creature Human Wizard PT:1/1 A:AB$ Reveal | Cost$ 2 R T | Defined$ You | RevealValid$ Card.Red | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBCinderDamage | SpellDescription$ Reveal any number of red cards in your hand. CARDNAME deals X damage to any target, where X is the number of cards revealed this way. -SVar:DBCinderDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBCinderCleanup | References$ X +SVar:DBCinderDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBCinderCleanup SVar:X:Remembered$Amount SVar:DBCinderCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/c/cinder_shade.txt b/forge-gui/res/cardsfolder/c/cinder_shade.txt index d871973ee24..51d4df47610 100644 --- a/forge-gui/res/cardsfolder/c/cinder_shade.txt +++ b/forge-gui/res/cardsfolder/c/cinder_shade.txt @@ -3,7 +3,7 @@ ManaCost:1 B R Types:Creature Shade PT:1/1 A:AB$ Pump | Cost$ B | Defined$ Self | NumAtt$ +1 | NumDef$ +1 | SpellDescription$ CARDNAME gets +1/+1 until end of turn. -A:AB$ DealDamage | Cost$ R Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to its power to target creature. +A:AB$ DealDamage | Cost$ R Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to its power to target creature. SVar:X:Count$CardPower DeckHas:Ability$Sacrifice Oracle:{B}: Cinder Shade gets +1/+1 until end of turn.\n{R}, Sacrifice Cinder Shade: It deals damage equal to its power to target creature. diff --git a/forge-gui/res/cardsfolder/c/cinderclasm.txt b/forge-gui/res/cardsfolder/c/cinderclasm.txt index c83ade0b05d..d12c144ff31 100755 --- a/forge-gui/res/cardsfolder/c/cinderclasm.txt +++ b/forge-gui/res/cardsfolder/c/cinderclasm.txt @@ -2,6 +2,6 @@ Name:Cinderclasm ManaCost:1 R Types:Instant K:Kicker:R -A:SP$ DamageAll | Cost$ 1 R | NumDmg$ X | References$ X | ValidCards$ Creature | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals 1 damage to each creature. If it was kicked, it deals 2 damage to each creature instead. +A:SP$ DamageAll | Cost$ 1 R | NumDmg$ X | ValidCards$ Creature | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals 1 damage to each creature. If it was kicked, it deals 2 damage to each creature instead. SVar:X:Count$Kicked.2.1 Oracle:Kicker {R} (You may pay an additional {R} as you cast this spell.)\nCinderclasm deals 1 damage to each creature. If it was kicked, it deals 2 damage to each creature instead. diff --git a/forge-gui/res/cardsfolder/c/circle_of_elders.txt b/forge-gui/res/cardsfolder/c/circle_of_elders.txt index 3251a3313d7..cd411231669 100644 --- a/forge-gui/res/cardsfolder/c/circle_of_elders.txt +++ b/forge-gui/res/cardsfolder/c/circle_of_elders.txt @@ -3,7 +3,7 @@ ManaCost:2 G G Types:Creature Human Shaman PT:2/4 K:Vigilance -A:AB$ Mana | Cost$ T | Produced$ C | Amount$ 3 | CheckSVar$ FormidableTest | SVarCompare$ GE8 | References$ FormidableTest | PrecostDesc$ Formidable — | SpellDescription$ Add {C}{C}{C}. Activate this ability only if creatures you control have total power 8 or greater. +A:AB$ Mana | Cost$ T | Produced$ C | Amount$ 3 | CheckSVar$ FormidableTest | SVarCompare$ GE8 | PrecostDesc$ Formidable — | SpellDescription$ Add {C}{C}{C}. Activate this ability only if creatures you control have total power 8 or greater. SVar:FormidableTest:Count$SumPower_Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/circle_of_elders.jpg Oracle:Vigilance\nFormidable — {T}: Add {C}{C}{C}. Activate this ability only if creatures you control have total power 8 or greater. diff --git a/forge-gui/res/cardsfolder/c/circular_logic.txt b/forge-gui/res/cardsfolder/c/circular_logic.txt index 0d04a7ce9ae..7cd23825dfb 100644 --- a/forge-gui/res/cardsfolder/c/circular_logic.txt +++ b/forge-gui/res/cardsfolder/c/circular_logic.txt @@ -1,7 +1,7 @@ Name:Circular Logic ManaCost:2 U Types:Instant -A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X | SpellDescription$ Counter target spell unless its controller pays {1} for each card in your graveyard. +A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {1} for each card in your graveyard. K:Madness:U SVar:X:Count$InYourYard SVar:Picture:http://www.wizards.com/global/images/magic/general/circular_logic.jpg diff --git a/forge-gui/res/cardsfolder/c/citadel_of_pain.txt b/forge-gui/res/cardsfolder/c/citadel_of_pain.txt index d5ed8f79b8d..1a05432c4d1 100644 --- a/forge-gui/res/cardsfolder/c/citadel_of_pain.txt +++ b/forge-gui/res/cardsfolder/c/citadel_of_pain.txt @@ -2,7 +2,7 @@ Name:Citadel of Pain ManaCost:2 R Types:Enchantment T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of each player's end step, CARDNAME deals X damage to that player, where X is the number of untapped lands they control. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:Count$Valid Land.untapped+ActivePlayerCtrl S:Mode$ Continuous | Affected$ Land | AddSVar$ AITap SVar:AITap:SVar:AITapDown:True diff --git a/forge-gui/res/cardsfolder/c/citanul_flute.txt b/forge-gui/res/cardsfolder/c/citanul_flute.txt index a007267f1fc..cdd79e43ba2 100644 --- a/forge-gui/res/cardsfolder/c/citanul_flute.txt +++ b/forge-gui/res/cardsfolder/c/citanul_flute.txt @@ -1,7 +1,7 @@ Name:Citanul Flute ManaCost:5 Types:Artifact -A:AB$ ChangeZone | Cost$ X T | Origin$ Library | Destination$ Hand | ChangeType$ Creature.cmcLEX | ChangeNum$ 1 | References$ X | SpellDescription$ Search your library for a creature card with converted mana cost X or less, reveal it, and put it into your hand. Then shuffle your library. +A:AB$ ChangeZone | Cost$ X T | Origin$ Library | Destination$ Hand | ChangeType$ Creature.cmcLEX | ChangeNum$ 1 | SpellDescription$ Search your library for a creature card with converted mana cost X or less, reveal it, and put it into your hand. Then shuffle your library. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/citanul_flute.jpg diff --git a/forge-gui/res/cardsfolder/c/city_of_shadows.txt b/forge-gui/res/cardsfolder/c/city_of_shadows.txt index 45c5fc32b61..8d0b19668b5 100644 --- a/forge-gui/res/cardsfolder/c/city_of_shadows.txt +++ b/forge-gui/res/cardsfolder/c/city_of_shadows.txt @@ -2,7 +2,7 @@ Name:City of Shadows ManaCost:no cost Types:Land A:AB$ PutCounter | Cost$ T Exile<1/Creature> | CounterType$ STORAGE | CounterNum$ 1 | SpellDescription$ Put a storage counter on CARDNAME. -A:AB$ Mana | Cost$ T | Produced$ C | Amount$ X | References$ X | SpellDescription$ Add {C} for each storage counter on City of Shadows. +A:AB$ Mana | Cost$ T | Produced$ C | Amount$ X | SpellDescription$ Add {C} for each storage counter on City of Shadows. SVar:X:Count$CardCounters.STORAGE AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/city_of_shadows.jpg diff --git a/forge-gui/res/cardsfolder/c/clan_defiance.txt b/forge-gui/res/cardsfolder/c/clan_defiance.txt index 5d30ad72c1a..971bc35e832 100644 --- a/forge-gui/res/cardsfolder/c/clan_defiance.txt +++ b/forge-gui/res/cardsfolder/c/clan_defiance.txt @@ -2,8 +2,8 @@ Name:Clan Defiance ManaCost:X R G Types:Sorcery A:SP$ Charm | Cost$ X R G | MinCharmNum$ 1 | CharmNum$ 3 | Choices$ DamageFlyingCreature,DamageNonFlyingCreature,DamagePlayer -SVar:DamageFlyingCreature:DB$ DealDamage | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature with flying. -SVar:DamageNonFlyingCreature:DB$ DealDamage | ValidTgts$ Creature.withoutFlying | TgtPrompt$ Select target creature without flying | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature without flying. -SVar:DamagePlayer:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target Player or Planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target player or planeswalker. +SVar:DamageFlyingCreature:DB$ DealDamage | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature with flying. +SVar:DamageNonFlyingCreature:DB$ DealDamage | ValidTgts$ Creature.withoutFlying | TgtPrompt$ Select target creature without flying | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature without flying. +SVar:DamagePlayer:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target Player or Planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target player or planeswalker. SVar:X:Count$xPaid Oracle:Choose one or more —\n• Clan Defiance deals X damage to target creature with flying.\n• Clan Defiance deals X damage to target creature without flying.\n• Clan Defiance deals X damage to target player or planeswalker. diff --git a/forge-gui/res/cardsfolder/c/clash_of_wills.txt b/forge-gui/res/cardsfolder/c/clash_of_wills.txt index 4339d67b83e..5478c0b3e11 100644 --- a/forge-gui/res/cardsfolder/c/clash_of_wills.txt +++ b/forge-gui/res/cardsfolder/c/clash_of_wills.txt @@ -1,7 +1,7 @@ Name:Clash of Wills ManaCost:X U Types:Instant -A:SP$ Counter | Cost$ X U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X | SpellDescription$ Counter target spell unless its controller pays {X}. +A:SP$ Counter | Cost$ X U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {X}. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/clash_of_wills.jpg Oracle:Counter target spell unless its controller pays {X}. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/c/clear_shot.txt b/forge-gui/res/cardsfolder/c/clear_shot.txt index 71a5024c1ab..d133e2a3c78 100644 --- a/forge-gui/res/cardsfolder/c/clear_shot.txt +++ b/forge-gui/res/cardsfolder/c/clear_shot.txt @@ -2,7 +2,7 @@ Name:Clear Shot ManaCost:2 G Types:Instant A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature.YouCtrl | AILogic$ PowerDmg | NumAtt$ +1 | NumDef$ +1 | TgtPrompt$ Select target creature you control | SubAbility$ SoulsDamage | StackDescription$ None | SpellDescription$ Target creature you control gets +1/+1 until end of turn. It deals damage equal to its power to target creature you don't control. -SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | References$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget +SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/clear_shot.jpg Oracle:Target creature you control gets +1/+1 until end of turn. It deals damage equal to its power to target creature you don't control. diff --git a/forge-gui/res/cardsfolder/c/clearwater_goblet.txt b/forge-gui/res/cardsfolder/c/clearwater_goblet.txt index 28c1dc5a36e..dfe3e345741 100644 --- a/forge-gui/res/cardsfolder/c/clearwater_goblet.txt +++ b/forge-gui/res/cardsfolder/c/clearwater_goblet.txt @@ -3,7 +3,7 @@ ManaCost:5 Types:Artifact K:Sunburst T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigGainLife | TriggerDescription$ At the beginning of your upkeep, you may gain life equal to the number of charge counters on CARDNAME. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$CardCounters.CHARGE SVar:NeedsToPlayVar:Z GE2 SVar:Z:Count$UniqueManaColorsProduced.ByUntappedSources diff --git a/forge-gui/res/cardsfolder/c/cleaving_reaper.txt b/forge-gui/res/cardsfolder/c/cleaving_reaper.txt index bebe4535923..35637fbeadb 100644 --- a/forge-gui/res/cardsfolder/c/cleaving_reaper.txt +++ b/forge-gui/res/cardsfolder/c/cleaving_reaper.txt @@ -4,7 +4,7 @@ Types:Creature Angel Berserker PT:5/3 K:Flying K:Trample -A:AB$ ChangeZone | Cost$ PayLife<3> | Origin$ Graveyard | Destination$ Hand | ActivationZone$ Graveyard | CheckSVar$ X | References$ X | SpellDescription$ Return CARDNAME from your graveyard to your hand. Activate this ability only if you had an Angel or Berserker enter the battlefield under your control this turn. +A:AB$ ChangeZone | Cost$ PayLife<3> | Origin$ Graveyard | Destination$ Hand | ActivationZone$ Graveyard | CheckSVar$ X | SpellDescription$ Return CARDNAME from your graveyard to your hand. Activate this ability only if you had an Angel or Berserker enter the battlefield under your control this turn. SVar:X:Count$ThisTurnEntered_Battlefield_Angel.YouCtrl,Berserker.YouCtrl DeckHints:Type$Angel|Berserker DeckHas:Ability$Graveyard diff --git a/forge-gui/res/cardsfolder/c/cleric_of_the_forward_order.txt b/forge-gui/res/cardsfolder/c/cleric_of_the_forward_order.txt index cb01e98f20e..078a78b4cfe 100644 --- a/forge-gui/res/cardsfolder/c/cleric_of_the_forward_order.txt +++ b/forge-gui/res/cardsfolder/c/cleric_of_the_forward_order.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Creature Human Cleric PT:2/2 T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 2 life for each creature you control named Cleric of the Forward Order. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.YouCtrl+namedCleric of the Forward Order/Times.2 DeckHints:Name$Cleric of the Forward Order SVar:Picture:http://www.wizards.com/global/images/magic/general/cleric_of_the_forward_order.jpg diff --git a/forge-gui/res/cardsfolder/c/clockwork_avian.txt b/forge-gui/res/cardsfolder/c/clockwork_avian.txt index 087bc1da417..4709cfec48b 100644 --- a/forge-gui/res/cardsfolder/c/clockwork_avian.txt +++ b/forge-gui/res/cardsfolder/c/clockwork_avian.txt @@ -6,7 +6,7 @@ K:Flying K:etbCounter:P1P0:4 T:Mode$ Phase | Phase$ EndCombat | ValidPlayer$ Player | IsPresent$ Card.Self+attackedThisCombat,Card.Self+blockedThisCombat | TriggerZones$ Battlefield | Execute$ TrigSubCounter | TriggerDescription$ At end of combat, if CARDNAME attacked or blocked this combat, remove a +1/+0 counter from it. SVar:TrigSubCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P0 | CounterNum$ 1 -A:AB$ PutCounter | Cost$ X T | Defined$ Self | UpTo$ True | MaxFromEffect$ 4 | CounterType$ P1P0 | CounterNum$ X | ActivationPhases$ Upkeep | PlayerTurn$ True | References$ X | SpellDescription$ Put up to X +1/+0 counters on CARDNAME. This ability can't cause the total number of +1/+0 counters on CARDNAME to be greater than four. Activate this ability only during your upkeep. +A:AB$ PutCounter | Cost$ X T | Defined$ Self | UpTo$ True | MaxFromEffect$ 4 | CounterType$ P1P0 | CounterNum$ X | ActivationPhases$ Upkeep | PlayerTurn$ True | SpellDescription$ Put up to X +1/+0 counters on CARDNAME. This ability can't cause the total number of +1/+0 counters on CARDNAME to be greater than four. Activate this ability only during your upkeep. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/clockwork_avian.jpg Oracle:Flying\nClockwork Avian enters the battlefield with four +1/+0 counters on it.\nAt end of combat, if Clockwork Avian attacked or blocked this combat, remove a +1/+0 counter from it.\n{X}, {T}: Put up to X +1/+0 counters on Clockwork Avian. This ability can't cause the total number of +1/+0 counters on Clockwork Avian to be greater than four. Activate this ability only during your upkeep. diff --git a/forge-gui/res/cardsfolder/c/clockwork_beast.txt b/forge-gui/res/cardsfolder/c/clockwork_beast.txt index a38dfb83fb5..847443763d5 100644 --- a/forge-gui/res/cardsfolder/c/clockwork_beast.txt +++ b/forge-gui/res/cardsfolder/c/clockwork_beast.txt @@ -5,7 +5,7 @@ PT:0/4 K:etbCounter:P1P0:7 T:Mode$ Phase | Phase$ EndCombat | ValidPlayer$ Player | IsPresent$ Card.Self+attackedThisCombat,Card.Self+blockedThisCombat | TriggerZones$ Battlefield | Execute$ TrigSubCounter | TriggerDescription$ At end of combat, if CARDNAME attacked or blocked this combat, remove a +1/+0 counter from it. SVar:TrigSubCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P0 | CounterNum$ 1 -A:AB$ PutCounter | Cost$ X T | Defined$ Self | UpTo$ True | MaxFromEffect$ 7 | CounterType$ P1P0 | CounterNum$ X | ActivationPhases$ Upkeep | PlayerTurn$ True | References$ X | SpellDescription$ Put up to X +1/+0 counters on CARDNAME. This ability can't cause the total number of +1/+0 counters on CARDNAME to be greater than seven. Activate this ability only during your upkeep. +A:AB$ PutCounter | Cost$ X T | Defined$ Self | UpTo$ True | MaxFromEffect$ 7 | CounterType$ P1P0 | CounterNum$ X | ActivationPhases$ Upkeep | PlayerTurn$ True | SpellDescription$ Put up to X +1/+0 counters on CARDNAME. This ability can't cause the total number of +1/+0 counters on CARDNAME to be greater than seven. Activate this ability only during your upkeep. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/clockwork_beast.jpg Oracle:Clockwork Beast enters the battlefield with seven +1/+0 counters on it.\nAt end of combat, if Clockwork Beast attacked or blocked this combat, remove a +1/+0 counter from it.\n{X}, {T}: Put up to X +1/+0 counters on Clockwork Beast. This ability can't cause the total number of +1/+0 counters on Clockwork Beast to be greater than seven. Activate this ability only during your upkeep. diff --git a/forge-gui/res/cardsfolder/c/clockwork_hydra.txt b/forge-gui/res/cardsfolder/c/clockwork_hydra.txt index 860cee5c3fa..475b6ce646c 100644 --- a/forge-gui/res/cardsfolder/c/clockwork_hydra.txt +++ b/forge-gui/res/cardsfolder/c/clockwork_hydra.txt @@ -6,7 +6,7 @@ K:etbCounter:P1P1:4 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigClockworkRemoveCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks or blocks, remove a +1/+1 counter from it. If you do, CARDNAME deals 1 damage to any target. T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ TrigClockworkRemoveCounter | TriggerZones$ Battlefield | Secondary$ True | TriggerDescription$ Whenever CARDNAME attacks or blocks, remove a +1/+1 counter from it. If you do, CARDNAME deals 1 damage to any target. SVar:TrigClockworkRemoveCounter:DB$ RemoveCounter | CounterType$ P1P1 | CounterNum$ 1 | RememberRemoved$ True | SubAbility$ DBClockworkDamage -SVar:DBClockworkDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 1 | References$ ClockworkX | ConditionCheckSVar$ ClockworkX | ConditionSVarCompare$ GE1 | SubAbility$ DBClockworkCleanup +SVar:DBClockworkDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 1 | ConditionCheckSVar$ ClockworkX | ConditionSVarCompare$ GE1 | SubAbility$ DBClockworkCleanup A:AB$ PutCounter | Cost$ T | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on CARDNAME. SVar:DBClockworkCleanup:DB$ Cleanup | ClearRemembered$ True SVar:ClockworkX:Count$RememberedSize diff --git a/forge-gui/res/cardsfolder/c/clockwork_steed.txt b/forge-gui/res/cardsfolder/c/clockwork_steed.txt index baa3e77ee58..ab8b4a6ef4a 100644 --- a/forge-gui/res/cardsfolder/c/clockwork_steed.txt +++ b/forge-gui/res/cardsfolder/c/clockwork_steed.txt @@ -6,7 +6,7 @@ K:etbCounter:P1P0:4 K:CantBeBlockedBy Artifact.Creature T:Mode$ Phase | Phase$ EndCombat | ValidPlayer$ Player | IsPresent$ Card.Self+attackedThisCombat,Card.Self+blockedThisCombat | TriggerZones$ Battlefield | Execute$ TrigSubCounter | TriggerDescription$ At end of combat, if CARDNAME attacked or blocked this combat, remove a +1/+0 counter from it. SVar:TrigSubCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P0 | CounterNum$ 1 -A:AB$ PutCounter | Cost$ X T | Defined$ Self | UpTo$ True | MaxFromEffect$ 4 | CounterType$ P1P0 | CounterNum$ X | ActivationPhases$ Upkeep | PlayerTurn$ True | References$ X | SpellDescription$ Put up to X +1/+0 counters on CARDNAME. This ability can't cause the total number of +1/+0 counters on CARDNAME to be greater than four. Activate this ability only during your upkeep. +A:AB$ PutCounter | Cost$ X T | Defined$ Self | UpTo$ True | MaxFromEffect$ 4 | CounterType$ P1P0 | CounterNum$ X | ActivationPhases$ Upkeep | PlayerTurn$ True | SpellDescription$ Put up to X +1/+0 counters on CARDNAME. This ability can't cause the total number of +1/+0 counters on CARDNAME to be greater than four. Activate this ability only during your upkeep. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/clockwork_steed.jpg Oracle:Clockwork Steed enters the battlefield with four +1/+0 counters on it.\nClockwork Steed can't be blocked by artifact creatures.\nAt end of combat, if Clockwork Steed attacked or blocked this combat, remove a +1/+0 counter from it.\n{X}, {T}: Put up to X +1/+0 counters on Clockwork Steed. This ability can't cause the total number of +1/+0 counters on Clockwork Steed to be greater than four. Activate this ability only during your upkeep. diff --git a/forge-gui/res/cardsfolder/c/clockwork_swarm.txt b/forge-gui/res/cardsfolder/c/clockwork_swarm.txt index 6f074011e82..e3295437980 100644 --- a/forge-gui/res/cardsfolder/c/clockwork_swarm.txt +++ b/forge-gui/res/cardsfolder/c/clockwork_swarm.txt @@ -6,7 +6,7 @@ K:etbCounter:P1P0:4 K:CantBeBlockedBy Creature.Wall T:Mode$ Phase | Phase$ EndCombat | ValidPlayer$ Player | IsPresent$ Card.Self+attackedThisCombat,Card.Self+blockedThisCombat | TriggerZones$ Battlefield | Execute$ TrigSubCounter | TriggerDescription$ At end of combat, if CARDNAME attacked or blocked this combat, remove a +1/+0 counter from it. SVar:TrigSubCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P0 | CounterNum$ 1 -A:AB$ PutCounter | Cost$ X T | Defined$ Self | UpTo$ True | MaxFromEffect$ 4 | CounterType$ P1P0 | CounterNum$ X | ActivationPhases$ Upkeep | PlayerTurn$ True | References$ X | SpellDescription$ Put up to X +1/+0 counters on CARDNAME. This ability can't cause the total number of +1/+0 counters on CARDNAME to be greater than four. Activate this ability only during your upkeep. +A:AB$ PutCounter | Cost$ X T | Defined$ Self | UpTo$ True | MaxFromEffect$ 4 | CounterType$ P1P0 | CounterNum$ X | ActivationPhases$ Upkeep | PlayerTurn$ True | SpellDescription$ Put up to X +1/+0 counters on CARDNAME. This ability can't cause the total number of +1/+0 counters on CARDNAME to be greater than four. Activate this ability only during your upkeep. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/clockwork_swarm.jpg Oracle:Clockwork Swarm enters the battlefield with four +1/+0 counters on it.\nClockwork Swarm can't be blocked by Walls.\nAt end of combat, if Clockwork Swarm attacked or blocked this combat, remove a +1/+0 counter from it.\n{X}, {T}: Put up to X +1/+0 counters on Clockwork Swarm. This ability can't cause the total number of +1/+0 counters on Clockwork Swarm to be greater than four. Activate this ability only during your upkeep. diff --git a/forge-gui/res/cardsfolder/c/cloudhoof_kirin.txt b/forge-gui/res/cardsfolder/c/cloudhoof_kirin.txt index 63d9e46771a..d39b8a9c53e 100644 --- a/forge-gui/res/cardsfolder/c/cloudhoof_kirin.txt +++ b/forge-gui/res/cardsfolder/c/cloudhoof_kirin.txt @@ -4,6 +4,6 @@ Types:Legendary Creature Kirin Spirit PT:4/4 K:Flying T:Mode$ SpellCast | ValidCard$ Spirit,Arcane | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigMill | TriggerDescription$ Whenever you cast a Spirit or Arcane spell, you may have target player mill X cards, where X is that spell's converted mana cost. -SVar:TrigMill:DB$ Mill | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X | References$ X +SVar:TrigMill:DB$ Mill | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X SVar:X:TriggerCount$CastSACMC Oracle:Flying\nWhenever you cast a Spirit or Arcane spell, you may have target player mill X cards, where X is that spell's converted mana cost. diff --git a/forge-gui/res/cardsfolder/c/cloudpost.txt b/forge-gui/res/cardsfolder/c/cloudpost.txt index 2ae7eb9a86f..ce0a59f0535 100644 --- a/forge-gui/res/cardsfolder/c/cloudpost.txt +++ b/forge-gui/res/cardsfolder/c/cloudpost.txt @@ -2,7 +2,7 @@ Name:Cloudpost ManaCost:no cost Types:Land Locus K:CARDNAME enters the battlefield tapped. -A:AB$ Mana | Cost$ T | Produced$ C | Amount$ X | References$ X | SpellDescription$ Add {C} for each Locus on the battlefield. +A:AB$ Mana | Cost$ T | Produced$ C | Amount$ X | SpellDescription$ Add {C} for each Locus on the battlefield. SVar:X:Count$Valid Locus AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/cloudpost.jpg diff --git a/forge-gui/res/cardsfolder/c/coalhauler_swine.txt b/forge-gui/res/cardsfolder/c/coalhauler_swine.txt index 19272f29572..c0708c8c37b 100644 --- a/forge-gui/res/cardsfolder/c/coalhauler_swine.txt +++ b/forge-gui/res/cardsfolder/c/coalhauler_swine.txt @@ -3,7 +3,7 @@ ManaCost:4 R R Types:Creature Boar Beast PT:4/4 T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to each player. -SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ Player | References$ X +SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ Player SVar:X:TriggerCount$DamageAmount AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/coalhauler_swine.jpg diff --git a/forge-gui/res/cardsfolder/c/coalition_relic.txt b/forge-gui/res/cardsfolder/c/coalition_relic.txt index e44f99c758d..34cf11b5a52 100644 --- a/forge-gui/res/cardsfolder/c/coalition_relic.txt +++ b/forge-gui/res/cardsfolder/c/coalition_relic.txt @@ -5,7 +5,7 @@ A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 1 | SpellDescription$ Add one man A:AB$ PutCounter | Cost$ T | CounterType$ CHARGE | CounterNum$ 1 | SpellDescription$ Put a charge counter on CARDNAME. T:Mode$ Phase | PreCombatMain$ True | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRemove | TriggerDescription$ At the beginning of your precombat main phase, remove all charge counters from CARDNAME. Add one mana of any color for each charge counter removed this way. SVar:TrigRemove:DB$ RemoveCounter | CounterType$ CHARGE | CounterNum$ All | RememberRemoved$ True | SubAbility$ TrigGetMana -SVar:TrigGetMana:DB$ Mana | Produced$ Combo Any | Amount$ NumRemoved | References$ NumRemoved | AILogic$ MostProminentInComputerHand | SubAbility$ DBCleanup +SVar:TrigGetMana:DB$ Mana | Produced$ Combo Any | Amount$ NumRemoved | AILogic$ MostProminentInComputerHand | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:NumRemoved:Count$RememberedSize SVar:Picture:http://www.wizards.com/global/images/magic/general/coalition_relic.jpg diff --git a/forge-gui/res/cardsfolder/c/coalition_victory.txt b/forge-gui/res/cardsfolder/c/coalition_victory.txt index 8b038c972bf..f9f54663d42 100644 --- a/forge-gui/res/cardsfolder/c/coalition_victory.txt +++ b/forge-gui/res/cardsfolder/c/coalition_victory.txt @@ -1,7 +1,7 @@ Name:Coalition Victory ManaCost:3 W U B R G Types:Sorcery -A:SP$ WinsGame | Cost$ 3 W U B R G | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ10 | References$ X,Y,Z | SpellDescription$ You win the game if you control a land of each basic land type and a creature of each color. +A:SP$ WinsGame | Cost$ 3 W U B R G | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ10 | SpellDescription$ You win the game if you control a land of each basic land type and a creature of each color. SVar:Z:Count$ColorsCtrl Creature SVar:Y:Count$Domain SVar:X:SVar$Y/Plus.Z diff --git a/forge-gui/res/cardsfolder/c/coastline_marauders.txt b/forge-gui/res/cardsfolder/c/coastline_marauders.txt index 8a73cb34bf0..c8e843d5e15 100644 --- a/forge-gui/res/cardsfolder/c/coastline_marauders.txt +++ b/forge-gui/res/cardsfolder/c/coastline_marauders.txt @@ -5,7 +5,7 @@ PT:0/3 K:Trample K:Encore:4 R R T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+0 until end of turn for each land defending player controls. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$Valid Land.DefenderCtrl SVar:HasAttackEffect:TRUE DeckHas:Ablity$Token diff --git a/forge-gui/res/cardsfolder/c/cobra_trap.txt b/forge-gui/res/cardsfolder/c/cobra_trap.txt index 71ca5b4997a..9ba734b3a39 100644 --- a/forge-gui/res/cardsfolder/c/cobra_trap.txt +++ b/forge-gui/res/cardsfolder/c/cobra_trap.txt @@ -6,6 +6,6 @@ SVar:TrackValidDestroy:DB$ Pump | RememberObjects$ TriggeredCard T:Mode$ TurnBegin | Execute$ TrigReset | Static$ True SVar:TrigReset:DB$ Cleanup | ClearRemembered$ True SVar:SetTrap:Remembered$Amount -SVar:AltCost:Cost$ G | CheckSVar$ SetTrap | References$ SetTrap | Description$ If a noncreature permanent under your control was destroyed this turn by a spell or ability an opponent controlled, you may pay {G} rather than pay this spell's mana cost. +SVar:AltCost:Cost$ G | CheckSVar$ SetTrap | Description$ If a noncreature permanent under your control was destroyed this turn by a spell or ability an opponent controlled, you may pay {G} rather than pay this spell's mana cost. A:SP$ Token | Cost$ 4 G G | TokenAmount$ 4 | TokenScript$ g_1_1_snake | TokenOwner$ You | StackDescription$ {p:You} creates four 1/1 green Snake creature tokens. | SpellDescription$ Create four 1/1 green Snake creature tokens. Oracle:If a noncreature permanent under your control was destroyed this turn by a spell or ability an opponent controlled, you may pay {G} rather than pay this spell's mana cost.\nCreate four 1/1 green Snake creature tokens. diff --git a/forge-gui/res/cardsfolder/c/cocoon.txt b/forge-gui/res/cardsfolder/c/cocoon.txt index 43c589798db..8022b901a2c 100644 --- a/forge-gui/res/cardsfolder/c/cocoon.txt +++ b/forge-gui/res/cardsfolder/c/cocoon.txt @@ -10,9 +10,9 @@ S:Mode$ Continuous | Affected$ Creature.AttachedBy | AddHiddenKeyword$ CARDNAME T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRemoveCounter | TriggerDescription$ At the beginning of your upkeep, remove a pupa counter from CARDNAME. If you can't, sacrifice it, put a +1/+1 counter on enchanted creature, and that creature gains flying. (This effect lasts indefinitely.) SVar:TrigRemoveCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ PUPA | CounterNum$ 1 | RememberRemoved$ True | SubAbility$ TrigPutCounter # TODO need EnchantedLKI because it isn't enchanted anymore if this is sacrificed -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Enchanted | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ LE0 | References$ X | SubAbility$ TrigPump -SVar:TrigPump:DB$ Pump | Defined$ Enchanted | KW$ Flying | Permanent$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ LE0 | References$ X | SubAbility$ TrigSac -SVar:TrigSac:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ LE0 | References$ X | SubAbility$ DBCleanup +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Enchanted | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ LE0 | SubAbility$ TrigPump +SVar:TrigPump:DB$ Pump | Defined$ Enchanted | KW$ Flying | Permanent$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ LE0 | SubAbility$ TrigSac +SVar:TrigSac:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ LE0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedSize AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/c/coerced_confession.txt b/forge-gui/res/cardsfolder/c/coerced_confession.txt index 9706680c4d7..b22b5f7da8f 100644 --- a/forge-gui/res/cardsfolder/c/coerced_confession.txt +++ b/forge-gui/res/cardsfolder/c/coerced_confession.txt @@ -2,7 +2,7 @@ Name:Coerced Confession ManaCost:4 UB Types:Sorcery A:SP$ Mill | Cost$ 4 UB | NumCards$ 4 | ValidTgts$ Player | TgtPrompt$ Choose a player | RememberMilled$ True | SubAbility$ DBDraw | SpellDescription$ Target player mills four cards. You draw a card for each creature card put into a graveyard this way. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Creature Oracle:Target player mills four cards. You draw a card for each creature card put into their graveyard this way. diff --git a/forge-gui/res/cardsfolder/c/cognivore.txt b/forge-gui/res/cardsfolder/c/cognivore.txt index 09942a5547c..1af9214fb74 100644 --- a/forge-gui/res/cardsfolder/c/cognivore.txt +++ b/forge-gui/res/cardsfolder/c/cognivore.txt @@ -3,7 +3,7 @@ ManaCost:6 U U Types:Creature Lhurgoyf PT:*/* K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of instant cards in all graveyards. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of instant cards in all graveyards. SVar:X:Count$TypeInAllYards.Instant AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/cognivore.jpg diff --git a/forge-gui/res/cardsfolder/c/cold_eyed_selkie.txt b/forge-gui/res/cardsfolder/c/cold_eyed_selkie.txt index ec1e20bb6d9..b4abfb06e9c 100644 --- a/forge-gui/res/cardsfolder/c/cold_eyed_selkie.txt +++ b/forge-gui/res/cardsfolder/c/cold_eyed_selkie.txt @@ -3,8 +3,8 @@ ManaCost:1 GU GU Types:Creature Merfolk Rogue PT:1/1 K:Islandwalk -T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ TrigDraw | References$ X | CombatDamage$ True | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may draw that many cards. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | References$ X +T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ TrigDraw | CombatDamage$ True | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may draw that many cards. +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/cold_eyed_selkie.jpg Oracle:Islandwalk (This creature can't be blocked as long as defending player controls an Island.)\nWhenever Cold-Eyed Selkie deals combat damage to a player, you may draw that many cards. diff --git a/forge-gui/res/cardsfolder/c/cold_snap.txt b/forge-gui/res/cardsfolder/c/cold_snap.txt index 710b6b88d2d..09322172edb 100644 --- a/forge-gui/res/cardsfolder/c/cold_snap.txt +++ b/forge-gui/res/cardsfolder/c/cold_snap.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Enchantment K:Cumulative upkeep:2 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's upkeep, CARDNAME deals damage to that player equal to the number of snow lands they control. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:Count$Valid Land.Snow+ActivePlayerCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/cold_snap.jpg diff --git a/forge-gui/res/cardsfolder/c/colfenor_the_last_yew.txt b/forge-gui/res/cardsfolder/c/colfenor_the_last_yew.txt index d770936d55c..da17d23a4e9 100755 --- a/forge-gui/res/cardsfolder/c/colfenor_the_last_yew.txt +++ b/forge-gui/res/cardsfolder/c/colfenor_the_last_yew.txt @@ -6,7 +6,7 @@ K:Vigilance K:Reach T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.Other+YouCtrl | RememberTriggeringCard$ True | TriggerZones$ Battlefield | Execute$ TrigChange | TriggerDescription$ Whenever CARDNAME or another creature you control dies, return up to one other target creature card with lesser toughness from your graveyard to your hand. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChange | Secondary$ True | TriggerController$ TriggeredCardController | TriggerDescription$ Whenever CARDNAME or another creature you control dies, return up to one other target creature card with lesser toughness from your graveyard to your hand. -SVar:TrigChange:DB$ ChangeZone | TargetMin$ 0 | TargetMax$ 1 | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Creature.Other+IsNotRemembered+toughnessLTX+YouOwn | TgtPrompt$ Select up to one other target creature card with lesser toughness from your graveyard to return to your hand | References$ X | SubAbility$ DBCleanup +SVar:TrigChange:DB$ ChangeZone | TargetMin$ 0 | TargetMax$ 1 | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Creature.Other+IsNotRemembered+toughnessLTX+YouOwn | TgtPrompt$ Select up to one other target creature card with lesser toughness from your graveyard to return to your hand | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:TriggeredCard$CardToughness DeckHas:Ability$Graveyard diff --git a/forge-gui/res/cardsfolder/c/collapsing_borders.txt b/forge-gui/res/cardsfolder/c/collapsing_borders.txt index bad1a730153..08a750e7690 100644 --- a/forge-gui/res/cardsfolder/c/collapsing_borders.txt +++ b/forge-gui/res/cardsfolder/c/collapsing_borders.txt @@ -2,7 +2,7 @@ Name:Collapsing Borders ManaCost:3 R Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ TrigGainLife | TriggerZones$ Battlefield | TriggerDescription$ Domain — At the beginning of each player's upkeep, that player gains 1 life for each basic land type among lands they control. Then CARDNAME deals 3 damage to that player. -SVar:TrigGainLife:DB$ GainLife | Defined$ TriggeredPlayer | LifeAmount$ DomainX | SubAbility$ DBDamage | References$ DomainX +SVar:TrigGainLife:DB$ GainLife | Defined$ TriggeredPlayer | LifeAmount$ DomainX | SubAbility$ DBDamageomainX SVar:DBDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ 3 SVar:DomainX:Count$DomainActivePlayer AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/c/collective_defiance.txt b/forge-gui/res/cardsfolder/c/collective_defiance.txt index 4b0991a3d70..adcb8e4f7ea 100644 --- a/forge-gui/res/cardsfolder/c/collective_defiance.txt +++ b/forge-gui/res/cardsfolder/c/collective_defiance.txt @@ -4,7 +4,7 @@ Types:Sorcery K:Escalate:1 A:SP$ Charm | Cost$ 1 R R | MinCharmNum$ 1 | CharmNum$ 3 | Choices$ DBWheel,DBDamage1,DBDamage2 SVar:DBWheel:DB$ Discard | ValidTgts$ Player | TgtPrompt$ Select target player (to Discard hand and draw) | Mode$ Hand | RememberDiscarded$ True | SubAbility$ DBDraw | SpellDescription$ Target player discards all cards in their hand, then draws that many cards. -SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ ParentTarget | SubAbility$ DBCleanup | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ ParentTarget | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:DBDamage1:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature (to deal 4 damage) | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to target creature. diff --git a/forge-gui/res/cardsfolder/c/collective_unconscious.txt b/forge-gui/res/cardsfolder/c/collective_unconscious.txt index 515132dcb0d..c9cf009e23f 100644 --- a/forge-gui/res/cardsfolder/c/collective_unconscious.txt +++ b/forge-gui/res/cardsfolder/c/collective_unconscious.txt @@ -1,7 +1,7 @@ Name:Collective Unconscious ManaCost:4 G G Types:Sorcery -A:SP$ Draw | Cost$ 4 G G | NumCards$ X | References$ X | SpellDescription$ Draw a card for each creature you control. +A:SP$ Draw | Cost$ 4 G G | NumCards$ X | SpellDescription$ Draw a card for each creature you control. SVar:X:Count$TypeYouCtrl.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/collective_unconscious.jpg Oracle:Draw a card for each creature you control. diff --git a/forge-gui/res/cardsfolder/c/collective_voyage.txt b/forge-gui/res/cardsfolder/c/collective_voyage.txt index 0308e03457a..c62dc09b5ef 100644 --- a/forge-gui/res/cardsfolder/c/collective_voyage.txt +++ b/forge-gui/res/cardsfolder/c/collective_voyage.txt @@ -3,9 +3,9 @@ ManaCost:G Types:Sorcery A:SP$ RepeatEach | Cost$ G | RepeatPlayers$ Player | StartingWithActivator$ True | RepeatSubAbility$ DBPay | SubAbility$ DBSearch | StackDescription$ SpellDescription | SpellDescription$ Join forces — Starting with you, each player may pay any amount of mana. Each player searches their library for up to X basic land cards, where X is the total amount of mana paid this way, puts them onto the battlefield tapped, then shuffles their library. SVar:DBPay:DB$ ChooseNumber | Defined$ Player.IsRemembered | ChooseAnyNumber$ True | ListTitle$ Pay Any Mana | SubAbility$ DBStore -SVar:DBStore:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ CountSVar | Expression$ JoinForcesAmount/Plus.X | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | UnlessAI$ OnlyOwn | References$ X,JoinForcesAmount -SVar:DBSearch:DB$ ChangeZone | DefinedPlayer$ Player | ChangeType$ Land.Basic | ChangeNum$ JoinForcesAmount | Origin$ Library | Destination$ Battlefield | Tapped$ True | SubAbility$ DBReset | References$ JoinForcesAmount | StackDescription$ None -SVar:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 | References$ JoinForcesAmount +SVar:DBStore:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ CountSVar | Expression$ JoinForcesAmount/Plus.X | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | UnlessAI$ OnlyOwn +SVar:DBSearch:DB$ ChangeZone | DefinedPlayer$ Player | ChangeType$ Land.Basic | ChangeNum$ JoinForcesAmount | Origin$ Library | Destination$ Battlefield | Tapped$ True | SubAbility$ DBReset | StackDescription$ None +SVar:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 SVar:X:Count$ChosenNumber SVar:JoinForcesAmount:Number$0 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/c/colossal_heroics.txt b/forge-gui/res/cardsfolder/c/colossal_heroics.txt index 70dd985166a..188ab1cc90f 100644 --- a/forge-gui/res/cardsfolder/c/colossal_heroics.txt +++ b/forge-gui/res/cardsfolder/c/colossal_heroics.txt @@ -2,7 +2,7 @@ Name:Colossal Heroics ManaCost:2 G Types:Instant K:Strive:1 G -A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature | NumAtt$ +2 | NumDef$ +2 | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | SubAbility$ DBUntap | SpellDescription$ Any number of target creatures each get +2/+2 until end of turn. Untap those creatures. +A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature | NumAtt$ +2 | NumDef$ +2 | TargetMin$ 0 | TargetMax$ MaxTargets | SubAbility$ DBUntap | SpellDescription$ Any number of target creatures each get +2/+2 until end of turn. Untap those creatures. SVar:DBUntap:DB$ Untap | Defined$ Targeted SVar:MaxTargets:Count$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/colossal_heroics.jpg diff --git a/forge-gui/res/cardsfolder/c/combo_attack.txt b/forge-gui/res/cardsfolder/c/combo_attack.txt index f9bcd9046bc..fcbb494d0ae 100644 --- a/forge-gui/res/cardsfolder/c/combo_attack.txt +++ b/forge-gui/res/cardsfolder/c/combo_attack.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Sorcery A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature.YourTeamCtrl | TgtPrompt$ Select two target creatures your team controls | ImprintCards$ Targeted | TargetMin$ 2 | TargetMax$ 2 | AILogic$ PowerDmg | SubAbility$ DBPump | StackDescription$ SpellDescription | SpellDescription$ Two target creatures your team controls each deal damage equal to their power to target creature. SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature to be dealt damage | RememberObjects$ ThisTargetedCard | IsCurse$ True | SubAbility$ DBEachDamage | StackDescription$ None -SVar:DBEachDamage:DB$ EachDamage | ValidCards$ Creature.IsImprinted | NumDmg$ X | References$ X | DefinedCards$ Remembered | SubAbility$ DBCleanup | StackDescription$ None +SVar:DBEachDamage:DB$ EachDamage | ValidCards$ Creature.IsImprinted | NumDmg$ X | DefinedCards$ Remembered | SubAbility$ DBCleanup | StackDescription$ None #NumDmg isn't really used here. It is left for clarity. The AF pulls Damage straight from "X" hardcoded. SVar:X:Count$CardPower SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True diff --git a/forge-gui/res/cardsfolder/c/combustible_gearhulk.txt b/forge-gui/res/cardsfolder/c/combustible_gearhulk.txt index 6067442f165..d153d1ea0e2 100644 --- a/forge-gui/res/cardsfolder/c/combustible_gearhulk.txt +++ b/forge-gui/res/cardsfolder/c/combustible_gearhulk.txt @@ -7,7 +7,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:DBChoice:DB$ GenericChoice | ValidTgts$ Opponent | Choices$ CombustDraw,CombustDamage | AILogic$ CombustibleGearhulk SVar:CombustDraw:DB$ Draw | Defined$ You | NumCards$ 3 | SpellDescription$ Controller draws three cards SVar:CombustDamage:DB$ Mill | Defined$ You | NumCards$ 3 | RememberMilled$ True | SubAbility$ DamageOpponent | SpellDescription$ Controller mills three cards, then CARDNAME deals damage to you equal to their total converted mana cost. -SVar:DamageOpponent:DB$ DealDamage | Defined$ ParentTarget | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:DamageOpponent:DB$ DealDamage | Defined$ ParentTarget | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$SumCMC Oracle:First strike\nWhen Combustible Gearhulk enters the battlefield, target opponent may have you draw three cards. If the player doesn't, you mill three cards, then Combustible Gearhulk deals damage to that player equal to the total converted mana cost of those cards. diff --git a/forge-gui/res/cardsfolder/c/comet_storm.txt b/forge-gui/res/cardsfolder/c/comet_storm.txt index 599d811ad97..88560477081 100644 --- a/forge-gui/res/cardsfolder/c/comet_storm.txt +++ b/forge-gui/res/cardsfolder/c/comet_storm.txt @@ -1,7 +1,7 @@ Name:Comet Storm ManaCost:X R R Types:Instant -A:SP$ DealDamage | Cost$ X R R | Announce$ Multikicker,X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | TargetMin$ TargetsNum | TargetMax$ TargetsNum | References$ X,TargetsNum | SpellDescription$ CARDNAME deals X damage to each targets. +A:SP$ DealDamage | Cost$ X R R | Announce$ Multikicker,X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | TargetMin$ TargetsNum | TargetMax$ TargetsNum | SpellDescription$ CARDNAME deals X damage to each targets. K:Multikicker:1 SVar:TargetsNum:Count$TimesKicked/Plus.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/comet_storm.jpg diff --git a/forge-gui/res/cardsfolder/c/comeuppance.txt b/forge-gui/res/cardsfolder/c/comeuppance.txt index b64436c8d39..34b5997e778 100644 --- a/forge-gui/res/cardsfolder/c/comeuppance.txt +++ b/forge-gui/res/cardsfolder/c/comeuppance.txt @@ -1,7 +1,7 @@ Name:Comeuppance ManaCost:3 W Types:Instant -A:SP$ Effect | Cost$ 3 W | ReplacementEffects$ RPrevent | SVars$ RPrevent,DamageCreature,DamageNonCreature,X | References$ RPrevent,DamageCreature,DamageNonCreature,X +A:SP$ Effect | Cost$ 3 W | ReplacementEffects$ RPrevent | SVars$ RPrevent,DamageCreature,DamageNonCreature,X SVar:RPrevent:Event$ DamageDone | ValidSource$ Card.YouDontCtrl,Emblem.YouDontCtrl | ValidTarget$ You,Planeswalker.YouCtrl | ReplaceWith$ DamageCreature | PreventionEffect$ True | Description$ Prevent all damage that would be dealt to you and planeswalkers you control this turn by sources you don't control. If damage from a creature source is prevented this way, CARDNAME deals that much damage to that creature. If damage from a noncreature source is prevented this way, CARDNAME deals that much damage to the source's controller. SVar:DamageCreature:DB$ DealDamage | Defined$ ReplacedSource | DamageSource$ EffectSource | NumDmg$ X | ConditionDefined$ ReplacedSource | ConditionPresent$ Card.Creature | ConditionCompare$ GE1 | SubAbility$ DamageNonCreature SVar:DamageNonCreature:DB$ DealDamage | Defined$ ReplacedSourceController | DamageSource$ EffectSource | NumDmg$ X | ConditionDefined$ ReplacedSource | ConditionPresent$ Card.nonCreature | ConditionCompare$ GE1 diff --git a/forge-gui/res/cardsfolder/c/command_the_dreadhorde.txt b/forge-gui/res/cardsfolder/c/command_the_dreadhorde.txt index 664a48a277a..16968b82f3f 100644 --- a/forge-gui/res/cardsfolder/c/command_the_dreadhorde.txt +++ b/forge-gui/res/cardsfolder/c/command_the_dreadhorde.txt @@ -1,8 +1,8 @@ Name:Command the Dreadhorde ManaCost:4 B B Types:Sorcery -A:SP$ ChooseCard | Cost$ 4 B B | MinAmount$ 0 | Amount$ NumCreatPW | References$ NumCreatPW | ChoiceZone$ Graveyard | Choices$ Creature,Planeswalker | ChoiceTitle$ Choose any number of target creature and/or planeswalker cards in graveyards | RememberChosen$ True | SubAbility$ DBDamage | SpellDescription$ Choose any number of target creature and/or planeswalker cards in graveyards. CARDNAME deals damage to you equal to the total converted mana cost of those cards. Put them onto the battlefield under your control. -SVar:DBDamage:DB$ DealDamage | Defined$ You | NumDmg$ X | References$ X | SubAbility$ DBChangeZone +A:SP$ ChooseCard | Cost$ 4 B B | MinAmount$ 0 | Amount$ NumCreatPW | ChoiceZone$ Graveyard | Choices$ Creature,Planeswalker | ChoiceTitle$ Choose any number of target creature and/or planeswalker cards in graveyards | RememberChosen$ True | SubAbility$ DBDamage | SpellDescription$ Choose any number of target creature and/or planeswalker cards in graveyards. CARDNAME deals damage to you equal to the total converted mana cost of those cards. Put them onto the battlefield under your control. +SVar:DBDamage:DB$ DealDamage | Defined$ You | NumDmg$ X | SubAbility$ DBChangeZone SVar:DBChangeZone:DB$ ChangeZone | Defined$ Remembered | GainControl$ True | Origin$ Graveyard | Destination$ Battlefield | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:NumCreatPW:Count$ValidGraveyard Creature,Planeswalker diff --git a/forge-gui/res/cardsfolder/c/commando_raid.txt b/forge-gui/res/cardsfolder/c/commando_raid.txt index 3cdf5d4d995..1f4ad9c32cc 100644 --- a/forge-gui/res/cardsfolder/c/commando_raid.txt +++ b/forge-gui/res/cardsfolder/c/commando_raid.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Instant A:SP$ Animate | Cost$ 2 R | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | Triggers$ TrigDamage | sVars$ Damage,CommandoRaidX | SpellDescription$ Until end of turn, target creature you control gains "When this creature deals combat damage to a player, you may have it deal damage equal to its power to target creature that player controls." SVar:TrigDamage:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ Damage | OptionalDecider$ You | TriggerDescription$ When this creature deals combat damage to a player, you may have it deal damage equal to its power to target creature that player controls. -SVar:Damage:DB$ DealDamage | ValidTgts$ Creature.DefenderCtrl | TgtPrompt$ Select target creature defending player controls | NumDmg$ CommandoRaidX | References$ CommandoRaidX +SVar:Damage:DB$ DealDamage | ValidTgts$ Creature.DefenderCtrl | TgtPrompt$ Select target creature defending player controls | NumDmg$ CommandoRaidX SVar:CommandoRaidX:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/commando_raid.jpg Oracle:Until end of turn, target creature you control gains "When this creature deals combat damage to a player, you may have it deal damage equal to its power to target creature that player controls." diff --git a/forge-gui/res/cardsfolder/c/commence_the_endgame.txt b/forge-gui/res/cardsfolder/c/commence_the_endgame.txt index 92aa5cb476d..42a25ff3f34 100644 --- a/forge-gui/res/cardsfolder/c/commence_the_endgame.txt +++ b/forge-gui/res/cardsfolder/c/commence_the_endgame.txt @@ -3,7 +3,7 @@ ManaCost:4 U U Types:Instant K:CARDNAME can't be countered. A:SP$ Draw | Cost$ 4 U U | NumCards$ 2 | SpellDescription$ Draw two cards, then amass X, where X is the number of cards in your hand. (Put X +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.) | SubAbility$ DBAmass -SVar:DBAmass:DB$ Amass | Num$ X | References$ X +SVar:DBAmass:DB$ Amass | Num$ X DeckHints:Ability$Amass & Type$Zombie DeckHas:Ability$Amass & Ability$Counters & Ability$Token SVar:X:Count$InYourHand diff --git a/forge-gui/res/cardsfolder/c/common_cause.txt b/forge-gui/res/cardsfolder/c/common_cause.txt index 730c035cf30..df7644ff2f8 100644 --- a/forge-gui/res/cardsfolder/c/common_cause.txt +++ b/forge-gui/res/cardsfolder/c/common_cause.txt @@ -1,7 +1,7 @@ Name:Common Cause ManaCost:2 W Types:Enchantment -S:Mode$ Continuous | AffectedZone$ Battlefield | Affected$ Creature.nonArtifact | AddPower$ 2 | AddToughness$ 2 | CheckSVar$ X | SVarCompare$ EQY | References$ X,Y | Description$ Nonartifact creatures get +2/+2 as long as they all share a color. +S:Mode$ Continuous | AffectedZone$ Battlefield | Affected$ Creature.nonArtifact | AddPower$ 2 | AddToughness$ 2 | CheckSVar$ X | SVarCompare$ EQY | Description$ Nonartifact creatures get +2/+2 as long as they all share a color. SVar:X:Count$Valid Creature.nonArtifact+SharesColorWith MostProminentColor SVar:Y:Count$Valid Creature.nonArtifact AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/c/commune_with_lava.txt b/forge-gui/res/cardsfolder/c/commune_with_lava.txt index 256327f9ebf..77be35d8f02 100644 --- a/forge-gui/res/cardsfolder/c/commune_with_lava.txt +++ b/forge-gui/res/cardsfolder/c/commune_with_lava.txt @@ -1,7 +1,7 @@ Name:Commune with Lava ManaCost:X R R Types:Instant -A:SP$ Dig | Cost$ X R R | Defined$ You | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | References$ X | SubAbility$ DBMayPlay | SpellDescription$ Exile the top X cards of your library. Until the end of your next turn, you may play those cards. +A:SP$ Dig | Cost$ X R R | Defined$ You | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBMayPlay | SpellDescription$ Exile the top X cards of your library. Until the end of your next turn, you may play those cards. SVar:DBMayPlay:DB$ Effect | StaticAbilities$ STCommuned | Duration$ UntilTheEndOfYourNextTurn | RememberObjects$ Remembered | ForgetOnMoved$ Exile | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:STCommuned:Mode$ Continuous | Affected$ Card.IsRemembered | EffectZone$ Command | AffectedZone$ Exile | MayPlay$ True | Description$ Until the end of your next turn, you may play those cards. diff --git a/forge-gui/res/cardsfolder/c/compound_fracture.txt b/forge-gui/res/cardsfolder/c/compound_fracture.txt index 3231fff209c..c2502525fd3 100644 --- a/forge-gui/res/cardsfolder/c/compound_fracture.txt +++ b/forge-gui/res/cardsfolder/c/compound_fracture.txt @@ -2,6 +2,6 @@ Name:Compound Fracture ManaCost:B Types:Instant A:SP$ Pump | Cost$ B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -1 | NumDef$ -1 | SubAbility$ DBPump | SpellDescription$ Target creature gets -1/-1 until end of turn. It gets an additional -1/-1 until end of turn for each card named Compound Fracture in your graveyard. -SVar:DBPump:DB$ Pump | Defined$ ParentTarget | NumAtt$ -X | NumDef$ -X | References$ X +SVar:DBPump:DB$ Pump | Defined$ ParentTarget | NumAtt$ -X | NumDef$ -X SVar:X:Count$ValidGraveyard Card.namedCompound Fracture Oracle:Target creature gets -1/-1 until end of turn. It gets an additional -1/-1 until end of turn for each card named Compound Fracture in your graveyard. diff --git a/forge-gui/res/cardsfolder/c/concealed_courtyard.txt b/forge-gui/res/cardsfolder/c/concealed_courtyard.txt index 10a5a2f101c..81a4d611013 100644 --- a/forge-gui/res/cardsfolder/c/concealed_courtyard.txt +++ b/forge-gui/res/cardsfolder/c/concealed_courtyard.txt @@ -2,7 +2,7 @@ Name:Concealed Courtyard ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. SVar:ETBCheckSVar2:Count$LastStateBattlefield Land.YouCtrl A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add {W}. A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}. diff --git a/forge-gui/res/cardsfolder/c/concerted_defense.txt b/forge-gui/res/cardsfolder/c/concerted_defense.txt index 4deeba75139..b34be17c8ae 100755 --- a/forge-gui/res/cardsfolder/c/concerted_defense.txt +++ b/forge-gui/res/cardsfolder/c/concerted_defense.txt @@ -1,7 +1,7 @@ Name:Concerted Defense ManaCost:U Types:Instant -A:SP$ Counter | Cost$ U | TargetType$ Spell | TgtPrompt$ Select target noncreature spell | ValidTgts$ Card.nonCreature | UnlessCost$ X | References$ X | SpellDescription$ Counter target noncreature spell unless its controller pays {1} plus an additional {1} for each creature for your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) +A:SP$ Counter | Cost$ U | TargetType$ Spell | TgtPrompt$ Select target noncreature spell | ValidTgts$ Card.nonCreature | UnlessCost$ X | SpellDescription$ Counter target noncreature spell unless its controller pays {1} plus an additional {1} for each creature for your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) SVar:X:Count$Party/Plus.1 DeckHas:Ability$Party DeckHints:Type$Cleric|Rogue|Warrior|Wizard diff --git a/forge-gui/res/cardsfolder/c/conclave_mentor.txt b/forge-gui/res/cardsfolder/c/conclave_mentor.txt index d217ad8c609..cf12fc7e22f 100644 --- a/forge-gui/res/cardsfolder/c/conclave_mentor.txt +++ b/forge-gui/res/cardsfolder/c/conclave_mentor.txt @@ -3,10 +3,10 @@ ManaCost:G W Types:Creature Centaur Cleric PT:2/2 R:Event$ AddCounter | ActiveZones$ Battlefield | ValidCard$ Creature.YouCtrl | ValidCounterType$ P1P1 | ReplaceWith$ AddOneMoreCounters | Description$ If one or more +1/+1 counters would be put on a creature you control, that many plus one +1/+1 counters are put on it instead. -SVar:AddOneMoreCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X | References$ X +SVar:AddOneMoreCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X SVar:X:ReplaceCount$CounterNum/Plus.1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigSac | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, you gain life equal to its power. -SVar:TrigSac:DB$GainLife | Defined$ TriggeredCardController | LifeAmount$ XPower | References$ XPower +SVar:TrigSac:DB$GainLife | Defined$ TriggeredCardController | LifeAmount$ XPower SVar:XPower:TriggeredCard$CardPower DeckNeeds:Ability$Counters Oracle:If one or more +1/+1 counters would be put on a creature you control, that many plus one +1/+1 counters are put on that creature instead.\nWhen Conclave Mentor dies, you gain life equal to its power. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/c/conclave_phalanx.txt b/forge-gui/res/cardsfolder/c/conclave_phalanx.txt index 08d44229e28..4de263a85b5 100644 --- a/forge-gui/res/cardsfolder/c/conclave_phalanx.txt +++ b/forge-gui/res/cardsfolder/c/conclave_phalanx.txt @@ -4,7 +4,7 @@ Types:Creature Human Soldier PT:2/4 K:Convoke T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 1 life for each creature you control. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/conclave_phalanx.jpg Oracle:Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.)\nWhen Conclave Phalanx enters the battlefield, you gain 1 life for each creature you control. diff --git a/forge-gui/res/cardsfolder/c/conclaves_blessing.txt b/forge-gui/res/cardsfolder/c/conclaves_blessing.txt index 932d423a404..133eb4e383a 100644 --- a/forge-gui/res/cardsfolder/c/conclaves_blessing.txt +++ b/forge-gui/res/cardsfolder/c/conclaves_blessing.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Enchantment Aura K:Convoke A:SP$Attach | Cost$ 3 W | ValidTgts$ Creature | AILogic$ Pump -S:Mode$ Continuous | Affected$ Card.AttachedBy | AddToughness$ X | References$ X | Description$ Enchanted creature gets +0/+2 for each other creature you control. +S:Mode$ Continuous | Affected$ Card.AttachedBy | AddToughness$ X | Description$ Enchanted creature gets +0/+2 for each other creature you control. SVar:X:Count$Valid Creature.NotEnchantedBy+YouCtrl/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/conclaves_blessing.jpg Oracle:Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.)\nEnchant creature\nEnchanted creature gets +0/+2 for each other creature you control. diff --git a/forge-gui/res/cardsfolder/c/condemn.txt b/forge-gui/res/cardsfolder/c/condemn.txt index 17b83da519e..b2fa44773f6 100644 --- a/forge-gui/res/cardsfolder/c/condemn.txt +++ b/forge-gui/res/cardsfolder/c/condemn.txt @@ -2,7 +2,7 @@ Name:Condemn ManaCost:W Types:Instant A:SP$ ChangeZone | Cost$ W | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | Origin$ Battlefield | Destination$ Library | LibraryPosition$ -1 | SubAbility$ DBGainLife | RememberLKI$ True | SpellDescription$ Put target attacking creature on the bottom of its owner's library. Its controller gains life equal to its toughness. -SVar:DBGainLife:DB$GainLife | Defined$ RememberedController | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ RememberedController | LifeAmount$ X SVar:X:RememberedLKI$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/condemn.jpg Oracle:Put target attacking creature on the bottom of its owner's library. Its controller gains life equal to its toughness. diff --git a/forge-gui/res/cardsfolder/c/condescend.txt b/forge-gui/res/cardsfolder/c/condescend.txt index ad0a959fd7f..2fb4429cdf4 100644 --- a/forge-gui/res/cardsfolder/c/condescend.txt +++ b/forge-gui/res/cardsfolder/c/condescend.txt @@ -1,7 +1,7 @@ Name:Condescend ManaCost:X U Types:Instant -A:SP$ Counter | Cost$ X U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SubAbility$ DBScry | References$ X | SpellDescription$ Counter target spell unless its controller pays {X}. Scry 2. +A:SP$ Counter | Cost$ X U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SubAbility$ DBScry | SpellDescription$ Counter target spell unless its controller pays {X}. Scry 2. SVar:DBScry:DB$Scry | ScryNum$ 2 SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/condescend.jpg diff --git a/forge-gui/res/cardsfolder/c/confiscation_coup.txt b/forge-gui/res/cardsfolder/c/confiscation_coup.txt index 974e53e9883..fad64ff7c1f 100644 --- a/forge-gui/res/cardsfolder/c/confiscation_coup.txt +++ b/forge-gui/res/cardsfolder/c/confiscation_coup.txt @@ -2,7 +2,7 @@ Name:Confiscation Coup ManaCost:3 U U Types:Sorcery A:SP$ PutCounter | Cost$ 3 U U | Defined$ You | CounterType$ ENERGY | CounterNum$ 4 | SubAbility$ DBGainControl | SpellDescription$ Choose target artifact or creature. You get {E}{E}{E}{E} (four energy counters), then you may pay an amount of {E} equal to that permanent's converted mana cost. If you do, gain control of it. -SVar:DBGainControl:DB$ GainControl | ValidTgts$ Artifact,Creature | TgtPrompt$ Select target artifact or creature | References$ X | UnlessCost$ PayEnergy | UnlessPayer$ You | UnlessSwitched$ True +SVar:DBGainControl:DB$ GainControl | ValidTgts$ Artifact,Creature | TgtPrompt$ Select target artifact or creature | UnlessCost$ PayEnergy | UnlessPayer$ You | UnlessSwitched$ True AI:RemoveDeck:All SVar:X:Targeted$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/confiscation_coup.jpg diff --git a/forge-gui/res/cardsfolder/c/conflagrate.txt b/forge-gui/res/cardsfolder/c/conflagrate.txt index 888b4b1f157..8e4d1a5a424 100644 --- a/forge-gui/res/cardsfolder/c/conflagrate.txt +++ b/forge-gui/res/cardsfolder/c/conflagrate.txt @@ -1,7 +1,7 @@ Name:Conflagrate ManaCost:X X R Types:Sorcery -A:SP$ DealDamage | Cost$ X X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to distribute damage to | NumDmg$ X | TargetMin$ Min | TargetMax$ MaxTgts | DividedAsYouChoose$ X | References$ X,Min,MaxTgts | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of targets. +A:SP$ DealDamage | Cost$ X X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to distribute damage to | NumDmg$ X | TargetMin$ Min | TargetMax$ MaxTgts | DividedAsYouChoose$ X | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of targets. SVar:MaxTgts:PlayerCountPlayers$Amount/Plus.NumCreatures SVar:NumCreatures:Count$Valid Creature,Planeswalker SVar:Min:SVar$X/LimitMax.1 diff --git a/forge-gui/res/cardsfolder/c/confront_the_unknown.txt b/forge-gui/res/cardsfolder/c/confront_the_unknown.txt index a0fdfd0b4a0..25807d9c97d 100644 --- a/forge-gui/res/cardsfolder/c/confront_the_unknown.txt +++ b/forge-gui/res/cardsfolder/c/confront_the_unknown.txt @@ -2,7 +2,7 @@ Name:Confront the Unknown ManaCost:G Types:Instant A:SP$ Investigate | Cost$ G | SubAbility$ DBPump | SpellDescription$ Investigate, then target creature gets +1/+1 until end of turn for each Clue you control. (To investigate, create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.") | StackDescription$ Investigate. -SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X +SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X SVar:X:Count$Valid Clue.YouCtrl DeckHints:Ability$Investigate DeckHas:Ability$Investigate & Ability$Token diff --git a/forge-gui/res/cardsfolder/c/congregate.txt b/forge-gui/res/cardsfolder/c/congregate.txt index de11611f3ee..f096b7f76ed 100644 --- a/forge-gui/res/cardsfolder/c/congregate.txt +++ b/forge-gui/res/cardsfolder/c/congregate.txt @@ -1,7 +1,7 @@ Name:Congregate ManaCost:3 W Types:Instant -A:SP$ GainLife | Cost$ 3 W | LifeAmount$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | References$ X | SpellDescription$ Target player gains 2 life for each creature on the battlefield. +A:SP$ GainLife | Cost$ 3 W | LifeAmount$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | SpellDescription$ Target player gains 2 life for each creature on the battlefield. SVar:X:Count$TypeOnBattlefield.Creature/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/congregate.jpg Oracle:Target player gains 2 life for each creature on the battlefield. diff --git a/forge-gui/res/cardsfolder/c/conifer_wurm.txt b/forge-gui/res/cardsfolder/c/conifer_wurm.txt index 5400cb7bbe4..3fc4d405d8a 100644 --- a/forge-gui/res/cardsfolder/c/conifer_wurm.txt +++ b/forge-gui/res/cardsfolder/c/conifer_wurm.txt @@ -3,7 +3,7 @@ ManaCost:4 G Types:Snow Creature Wurm PT:4/4 K:Trample -A:AB$ Pump | Cost$ 3 G | Defined$ Self | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is the number of snow permanents you control. +A:AB$ Pump | Cost$ 3 G | Defined$ Self | NumAtt$ +X | NumDef$ +X | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is the number of snow permanents you control. SVar:X:Count$Valid Permanent.Snow+YouCtrl DeckNeeds:Type$Snow Oracle:Trample\n{3}{G}: Conifer Wurm gets +X/+X until end of turn, where X is the number of snow permanents you control. diff --git a/forge-gui/res/cardsfolder/c/conquerors_flail.txt b/forge-gui/res/cardsfolder/c/conquerors_flail.txt index a7936dda2c6..19dcb635360 100644 --- a/forge-gui/res/cardsfolder/c/conquerors_flail.txt +++ b/forge-gui/res/cardsfolder/c/conquerors_flail.txt @@ -1,7 +1,7 @@ Name:Conqueror's Flail ManaCost:2 Types:Artifact Equipment -S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ Equipped creature gets +1/+1 for each color among permanents you control. +S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ X | AddToughness$ X | Description$ Equipped creature gets +1/+1 for each color among permanents you control. S:Mode$ CantBeCast | ValidCard$ Card | Condition$ PlayerTurn | Caster$ Opponent | IsPresent$ Card.Self+AttachedTo Creature | Description$ As long as Conqueror's Flail is attached to a creature, your opponents can't cast spells during your turn. SVar:X:Count$ColorsCtrl Permanent K:Equip:2 diff --git a/forge-gui/res/cardsfolder/c/conquerors_pledge.txt b/forge-gui/res/cardsfolder/c/conquerors_pledge.txt index cbe2349073b..233487b5eb0 100644 --- a/forge-gui/res/cardsfolder/c/conquerors_pledge.txt +++ b/forge-gui/res/cardsfolder/c/conquerors_pledge.txt @@ -2,7 +2,7 @@ Name:Conqueror's Pledge ManaCost:2 W W W Types:Sorcery K:Kicker:6 -A:SP$ Token | Cost$ 2 W W W | TokenAmount$ WasKicked | References$ WasKicked | TokenScript$ w_1_1_kor_soldier | TokenOwner$ You | LegacyImage$ w 1 1 kor soldier zen | SpellDescription$ Create six 1/1 white Kor Soldier creature tokens. If CARDNAME was kicked, create twelve of those tokens instead. +A:SP$ Token | Cost$ 2 W W W | TokenAmount$ WasKicked | TokenScript$ w_1_1_kor_soldier | TokenOwner$ You | LegacyImage$ w 1 1 kor soldier zen | SpellDescription$ Create six 1/1 white Kor Soldier creature tokens. If CARDNAME was kicked, create twelve of those tokens instead. SVar:WasKicked:Count$Kicked.12.6 SVar:Picture:http://www.wizards.com/global/images/magic/general/conquerors_pledge.jpg Oracle:Kicker {6} (You may pay an additional {6} as you cast this spell.)\nCreate six 1/1 white Kor Soldier creature tokens. If this spell was kicked, create twelve of those tokens instead. diff --git a/forge-gui/res/cardsfolder/c/consecrate_consume.txt b/forge-gui/res/cardsfolder/c/consecrate_consume.txt index 96b10635174..37a9b56407d 100644 --- a/forge-gui/res/cardsfolder/c/consecrate_consume.txt +++ b/forge-gui/res/cardsfolder/c/consecrate_consume.txt @@ -14,7 +14,7 @@ Types:Sorcery A:SP$ Pump | Cost$ 2 W B | ValidTgts$ Player | IsCurse$ True | RememberTargets$ True | SubAbility$ DBChooseCard | SpellDescription$ Target player sacrifices a creature with the greatest power among creatures they control. You gain life equal to its power. SVar:DBChooseCard:DB$ ChooseCard | Defined$ Player.IsRemembered | Choices$ Creature.greatestPowerControlledByRemembered | Mandatory$ True | SubAbility$ DBSac SVar:DBSac:DB$ Sacrifice | Defined$ Player.IsRemembered | SacValid$ Card.ChosenCard | RememberSacrificed$ True | SubAbility$ DBGainLife | SacMessage$ the creature with the highest power -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardPower SVar:SplitNeedsToPlay:Creature.OppCtrl diff --git a/forge-gui/res/cardsfolder/c/consign_to_dust.txt b/forge-gui/res/cardsfolder/c/consign_to_dust.txt index 788107a95d3..9098a9b0d72 100644 --- a/forge-gui/res/cardsfolder/c/consign_to_dust.txt +++ b/forge-gui/res/cardsfolder/c/consign_to_dust.txt @@ -2,7 +2,7 @@ Name:Consign to Dust ManaCost:2 G Types:Instant K:Strive:2 G -A:SP$ Destroy | Cost$ 2 G | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | SpellDescription$ Destroy any number of target artifacts and/or enchantments. +A:SP$ Destroy | Cost$ 2 G | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | TargetMin$ 0 | TargetMax$ MaxTargets | SpellDescription$ Destroy any number of target artifacts and/or enchantments. SVar:MaxTargets:Count$Valid Artifact,Enchantment SVar:Picture:http://www.wizards.com/global/images/magic/general/consign_to_dust.jpg Oracle:Strive — This spell costs {2}{G} more to cast for each target beyond the first.\nDestroy any number of target artifacts and/or enchantments. diff --git a/forge-gui/res/cardsfolder/c/consume_spirit.txt b/forge-gui/res/cardsfolder/c/consume_spirit.txt index 475cb9d45ea..0fc849746ea 100644 --- a/forge-gui/res/cardsfolder/c/consume_spirit.txt +++ b/forge-gui/res/cardsfolder/c/consume_spirit.txt @@ -1,8 +1,8 @@ Name:Consume Spirit ManaCost:X 1 B Types:Sorcery -A:SP$DealDamage | Cost$ X 1 B | XColor$ B | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBGainLife | References$ X | SpellDescription$ Spend only black mana on X. Consume Spirit deals X damage to any target and you gain X life. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +A:SP$DealDamage | Cost$ X 1 B | XColor$ B | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBGainLife | SpellDescription$ Spend only black mana on X. Consume Spirit deals X damage to any target and you gain X life. +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/consume_spirit.jpg Oracle:Spend only black mana on X.\nConsume Spirit deals X damage to any target and you gain X life. diff --git a/forge-gui/res/cardsfolder/c/consuming_ferocity.txt b/forge-gui/res/cardsfolder/c/consuming_ferocity.txt index 24b8f63775e..42ebad1dc0c 100644 --- a/forge-gui/res/cardsfolder/c/consuming_ferocity.txt +++ b/forge-gui/res/cardsfolder/c/consuming_ferocity.txt @@ -6,7 +6,7 @@ A:SP$ Attach | Cost$ 1 R | ValidTgts$ Creature.nonWall | TgtPrompt$ Select targe S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 1 | Description$ Enchanted creature gets +1/+0. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a +1/+0 counter on enchanted creature. If that creature has three or more +1/+0 counters on it, it deals damage equal to its power to its controller, then destroy that creature and it can't be regenerated. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Enchanted | CounterType$ P1P0 | CounterNum$ 1 | SubAbility$ DBDmg -SVar:DBDmg:DB$ DealDamage | Defined$ TriggeredPlayer | DamageSource$ Enchanted | NumDmg$ X | References$ X | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE3 | SubAbility$ DBDes +SVar:DBDmg:DB$ DealDamage | Defined$ TriggeredPlayer | DamageSource$ Enchanted | NumDmg$ X | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE3 | SubAbility$ DBDes SVar:DBDes:DB$ Destroy | Defined$ Enchanted | NoRegen$ True | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE3 SVar:Y:Count$TotalCounters_P1P0_Creature.EnchantedBy SVar:X:Enchanted$CardPower diff --git a/forge-gui/res/cardsfolder/c/consuming_vapors.txt b/forge-gui/res/cardsfolder/c/consuming_vapors.txt index 8dfaed67d4a..a0aae6c3a41 100644 --- a/forge-gui/res/cardsfolder/c/consuming_vapors.txt +++ b/forge-gui/res/cardsfolder/c/consuming_vapors.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Sorcery K:Rebound A:SP$ Sacrifice | Cost$ 3 B | SacValid$ Creature | ValidTgts$ Player | TgtPrompt$ Select target player | Amount$ 1 | RememberSacrificed$ True | SubAbility$ DBGainLife | SpellDescription$ Target player sacrifices a creature. You gain life equal to that creature's toughness. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/consuming_vapors.jpg diff --git a/forge-gui/res/cardsfolder/c/control_win_condition.txt b/forge-gui/res/cardsfolder/c/control_win_condition.txt index 4005c089ce8..1862e973bf0 100644 --- a/forge-gui/res/cardsfolder/c/control_win_condition.txt +++ b/forge-gui/res/cardsfolder/c/control_win_condition.txt @@ -4,6 +4,6 @@ Types:Creature Whale PT:*/* K:CARDNAME can't be countered. K:Shroud -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of turns you’ve taken this game. (If this is in your deck, please keep track of your turns. This means you, Mark.) +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of turns you’ve taken this game. (If this is in your deck, please keep track of your turns. This means you, Mark.) SVar:X:Count$YourTurns Oracle:This spell can't be countered.\nShroud\nControl Win Condition's power and toughness are each equal to the number of turns you've taken this game. (If this is in your deck, please keep track of your turns. This means you, Mark.) diff --git a/forge-gui/res/cardsfolder/c/coordinated_barrage.txt b/forge-gui/res/cardsfolder/c/coordinated_barrage.txt index fc1d8e023c2..5f1af0dd47a 100644 --- a/forge-gui/res/cardsfolder/c/coordinated_barrage.txt +++ b/forge-gui/res/cardsfolder/c/coordinated_barrage.txt @@ -2,7 +2,7 @@ Name:Coordinated Barrage ManaCost:W Types:Instant A:SP$ ChooseType | Cost$ W | Defined$ You | Type$ Creature | SubAbility$ DBDealDamage | SpellDescription$ Choose a creature type. CARDNAME deals damage to target attacking or blocking creature equal to the number of permanents you control of the chosen type. -SVar:DBDealDamage:DB$DealDamage | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | NumDmg$ X | References$ X +SVar:DBDealDamage:DB$DealDamage | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | NumDmg$ X SVar:X:Count$Valid Permanent.ChosenType+YouCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/coordinated_barrage.jpg diff --git a/forge-gui/res/cardsfolder/c/copper_leaf_angel.txt b/forge-gui/res/cardsfolder/c/copper_leaf_angel.txt index 3147c580e47..b7f5f80586a 100644 --- a/forge-gui/res/cardsfolder/c/copper_leaf_angel.txt +++ b/forge-gui/res/cardsfolder/c/copper_leaf_angel.txt @@ -3,7 +3,7 @@ ManaCost:5 Types:Artifact Creature Angel PT:2/2 K:Flying -A:AB$PutCounter | Cost$ T Sac | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X | SpellDescription$ Put X +1/+1 counters on CARDNAME. +A:AB$PutCounter | Cost$ T Sac | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | SpellDescription$ Put X +1/+1 counters on CARDNAME. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Flying\n{T}, Sacrifice X lands: Put X +1/+1 counters on Copper-Leaf Angel. diff --git a/forge-gui/res/cardsfolder/c/copperline_gorge.txt b/forge-gui/res/cardsfolder/c/copperline_gorge.txt index aa668485a8a..f814d26c5b3 100644 --- a/forge-gui/res/cardsfolder/c/copperline_gorge.txt +++ b/forge-gui/res/cardsfolder/c/copperline_gorge.txt @@ -2,7 +2,7 @@ Name:Copperline Gorge ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. SVar:ETBCheckSVar2:Count$LastStateBattlefield Land.YouCtrl A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R}. A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add {G}. diff --git a/forge-gui/res/cardsfolder/c/corpse_augur.txt b/forge-gui/res/cardsfolder/c/corpse_augur.txt index d96b6464933..7e1858adde9 100644 --- a/forge-gui/res/cardsfolder/c/corpse_augur.txt +++ b/forge-gui/res/cardsfolder/c/corpse_augur.txt @@ -3,8 +3,8 @@ ManaCost:3 B Types:Creature Zombie Wizard PT:4/2 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, you draw X cards and you lose X life, where X is the number of creature cards in target player's graveyard. -SVar:TrigDraw:DB$ Draw | Defined$ TriggeredCardController | ValidTgts$ Player | TgtPrompt$ Choose target player | NumCards$ X | SubAbility$ DBLoseLife | References$ X -SVar:DBLoseLife:DB$ LoseLife | Defined$ TriggeredCardController | LifeAmount$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ TriggeredCardController | ValidTgts$ Player | TgtPrompt$ Choose target player | NumCards$ X | SubAbility$ DBLoseLife +SVar:DBLoseLife:DB$ LoseLife | Defined$ TriggeredCardController | LifeAmount$ X SVar:X:TargetedPlayer$ValidGraveyard Creature.YouOwn AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/corpse_augur.jpg diff --git a/forge-gui/res/cardsfolder/c/corpse_lunge.txt b/forge-gui/res/cardsfolder/c/corpse_lunge.txt index 8f60694924b..a3014b60ecf 100644 --- a/forge-gui/res/cardsfolder/c/corpse_lunge.txt +++ b/forge-gui/res/cardsfolder/c/corpse_lunge.txt @@ -1,7 +1,7 @@ Name:Corpse Lunge ManaCost:2 B Types:Instant -A:SP$ DealDamage | Cost$ 2 B ExileFromGrave<1/Card.Creature/creature card> | NumDmg$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | CostDesc$ As an additional cost to cast this spell, exile a creature card from your graveyard. | References$ X | SpellDescription$ CARDNAME deals damage equal to the exiled card's power to target creature. +A:SP$ DealDamage | Cost$ 2 B ExileFromGrave<1/Card.Creature/creature card> | NumDmg$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | CostDesc$ As an additional cost to cast this spell, exile a creature card from your graveyard. | SpellDescription$ CARDNAME deals damage equal to the exiled card's power to target creature. SVar:X:Exiled$CardPower AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, exile a creature card from your graveyard.\nCorpse Lunge deals damage equal to the exiled card's power to target creature. diff --git a/forge-gui/res/cardsfolder/c/corpsejack_menace.txt b/forge-gui/res/cardsfolder/c/corpsejack_menace.txt index 21d08375b9d..c59489b6ce4 100644 --- a/forge-gui/res/cardsfolder/c/corpsejack_menace.txt +++ b/forge-gui/res/cardsfolder/c/corpsejack_menace.txt @@ -3,7 +3,7 @@ ManaCost:2 B G Types:Creature Fungus PT:4/4 R:Event$ AddCounter | ActiveZones$ Battlefield | ValidCard$ Creature.YouCtrl | ValidCounterType$ P1P1 | ReplaceWith$ DoubleCounters | Description$ If one or more +1/+1 counters would be put on a creature you control, twice that many +1/+1 counters are put on it instead. -SVar:DoubleCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X | References$ X +SVar:DoubleCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X SVar:X:ReplaceCount$CounterNum/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/corpsejack_menace.jpg Oracle:If one or more +1/+1 counters would be put on a creature you control, twice that many +1/+1 counters are put on it instead. diff --git a/forge-gui/res/cardsfolder/c/corpseweft.txt b/forge-gui/res/cardsfolder/c/corpseweft.txt index c3ba70a3624..029af1f2ef6 100644 --- a/forge-gui/res/cardsfolder/c/corpseweft.txt +++ b/forge-gui/res/cardsfolder/c/corpseweft.txt @@ -1,7 +1,7 @@ Name:Corpseweft ManaCost:2 B Types:Enchantment -A:AB$ Token | XCantBe0$ True | Cost$ 1 B ExileFromGrave | TokenAmount$ 1 | TokenScript$ b_x_x_zombie_horror | TokenOwner$ You | TokenPower$ Y | TokenToughness$ Y | References$ Y | TokenTapped$ True | LegacyImage$ b x x zombie horror dtk | SpellDescription$ Create a tapped X/X black Zombie Horror creature token, where X is twice the number of cards exiled this way. +A:AB$ Token | XCantBe0$ True | Cost$ 1 B ExileFromGrave | TokenAmount$ 1 | TokenScript$ b_x_x_zombie_horror | TokenOwner$ You | TokenPower$ Y | TokenToughness$ Y | TokenTapped$ True | LegacyImage$ b x x zombie horror dtk | SpellDescription$ Create a tapped X/X black Zombie Horror creature token, where X is twice the number of cards exiled this way. SVar:X:Count$xPaid SVar:Y:ExiledCards$Amount.Twice AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/c/corrosion.txt b/forge-gui/res/cardsfolder/c/corrosion.txt index 083e1c18830..baa5b3c6f08 100644 --- a/forge-gui/res/cardsfolder/c/corrosion.txt +++ b/forge-gui/res/cardsfolder/c/corrosion.txt @@ -5,7 +5,7 @@ K:Cumulative upkeep:1 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigCorrode | TriggerDescription$ At the beginning of your upkeep, put a rust counter on each artifact target opponent controls. Then destroy each artifact with converted mana cost less than or equal to the number of rust counters on it. Artifacts destroyed this way can't be regenerated. SVar:TrigCorrode:DB$ PutCounterAll | ValidCards$ Artifact | CounterType$ RUST | CounterNum$ 1 | ValidTgts$ Opponent | SubAbility$ DBDestroyAllRusted SVar:DBDestroyAllRusted:DB$ RepeatEach | RepeatCards$ Artifact | RepeatSubAbility$ DBDestroyRusted -SVar:DBDestroyRusted:DB$ Destroy | References$ RememberedCMC,X | Defined$ Remembered | ConditionCheckSVar$ RememberedCMC | ConditionSVarCompare$ GEX | NoRegen$ True +SVar:DBDestroyRusted:DB$ Destroy | Defined$ Remembered | ConditionCheckSVar$ RememberedCMC | ConditionSVarCompare$ GEX | NoRegen$ True SVar:RememberedCMC:Remembered$CardCounters.RUST SVar:X:Remembered$CardManaCost T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigWipeCounters | TriggerDescription$ When CARDNAME leaves the battlefield, remove all rust counters from all permanents. diff --git a/forge-gui/res/cardsfolder/c/corrosive_gale.txt b/forge-gui/res/cardsfolder/c/corrosive_gale.txt index 06bd5cb19e0..5dd119b5878 100644 --- a/forge-gui/res/cardsfolder/c/corrosive_gale.txt +++ b/forge-gui/res/cardsfolder/c/corrosive_gale.txt @@ -1,7 +1,7 @@ Name:Corrosive Gale ManaCost:X PG Types:Sorcery -A:SP$ DamageAll | Cost$ X PG | ValidCards$ Creature.withFlying | ValidDescription$ each creature with flying. | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature with flying. +A:SP$ DamageAll | Cost$ X PG | ValidCards$ Creature.withFlying | ValidDescription$ each creature with flying. | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature with flying. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/corrosive_gale.jpg Oracle:({G/P} can be paid with either {G} or 2 life.)\nCorrosive Gale deals X damage to each creature with flying. diff --git a/forge-gui/res/cardsfolder/c/corrupt.txt b/forge-gui/res/cardsfolder/c/corrupt.txt index 93d92bf9fa7..4e97391a598 100644 --- a/forge-gui/res/cardsfolder/c/corrupt.txt +++ b/forge-gui/res/cardsfolder/c/corrupt.txt @@ -1,8 +1,8 @@ Name:Corrupt ManaCost:5 B Types:Sorcery -A:SP$ DealDamage | Cost$ 5 B | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBGainLife | References$ X | SpellDescription$ CARDNAME deals damage to any target equal to the number of Swamps you control. You gain life equal to the damage dealt this way. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ Y | References$ Y | StackDescription$ You gain life equal to the damage dealt this way. +A:SP$ DealDamage | Cost$ 5 B | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals damage to any target equal to the number of Swamps you control. You gain life equal to the damage dealt this way. +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ Y | StackDescription$ You gain life equal to the damage dealt this way. SVar:X:Count$TypeYouCtrl.Swamp SVar:Y:Count$TotalDamageDoneByThisTurn SVar:Picture:http://www.wizards.com/global/images/magic/general/corrupt.jpg diff --git a/forge-gui/res/cardsfolder/c/corrupted_resolve.txt b/forge-gui/res/cardsfolder/c/corrupted_resolve.txt index 69abf1c8025..50824e36d4c 100644 --- a/forge-gui/res/cardsfolder/c/corrupted_resolve.txt +++ b/forge-gui/res/cardsfolder/c/corrupted_resolve.txt @@ -1,7 +1,7 @@ Name:Corrupted Resolve ManaCost:1 U Types:Instant -A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SpellDescription$ Counter target spell if its controller is poisoned. +A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SpellDescription$ Counter target spell if its controller is poisoned. SVar:X:TargetedController$PoisonCounters SVar:NeedsToPlayVar:X GE1 AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/c/cosima_god_of_the_voyage_the_omenkeel.txt b/forge-gui/res/cardsfolder/c/cosima_god_of_the_voyage_the_omenkeel.txt index 7b6c46f213d..726f70bc991 100644 --- a/forge-gui/res/cardsfolder/c/cosima_god_of_the_voyage_the_omenkeel.txt +++ b/forge-gui/res/cardsfolder/c/cosima_god_of_the_voyage_the_omenkeel.txt @@ -8,8 +8,8 @@ SVar:DBAnimate:DB$ Animate | Defined$ Remembered | Triggers$ LandEnter | Permane SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:LandEnter:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | TriggerZones$ Exile | ValidCard$ Land.YouCtrl | Execute$ TrigAddCounter | TriggerDescription$ Whenever a land enters the battlefield under your control, if NICKNAME is exiled, you may put a voyage counter on it. If you don't, return NICKNAME to the battlefield with X +1/+1 counters on it and draw X cards, where X is the number of voyage counters on it. SVar:TrigAddCounter:DB$ PutCounter | Optional$ True | Defined$ Self | CounterType$ VOYAGE | CounterNum$ 1 | RememberAmount$ True | SubAbility$ DBReturn -SVar:DBReturn:DB$ ChangeZone | ConditionCheckSVar$ Y | ConditionSVarCompare$ LT1 | Defined$ Self | Origin$ Exile | Destination$ Battlefield | RememberLKI$ True | WithCountersType$ P1P1 | WithCountersAmount$ X | References$ X,Y | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | ConditionCheckSVar$ Y | ConditionSVarCompare$ LT1 | NumCards$ X | Defined$ You | References$ X,Y | SubAbility$ DBCleanup +SVar:DBReturn:DB$ ChangeZone | ConditionCheckSVar$ Y | ConditionSVarCompare$ LT1 | Defined$ Self | Origin$ Exile | Destination$ Battlefield | RememberLKI$ True | WithCountersType$ P1P1 | WithCountersAmount$ X | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | ConditionCheckSVar$ Y | ConditionSVarCompare$ LT1 | NumCards$ X | Defined$ You | SubAbility$ DBCleanup SVar:X:RememberedLKI$CardCounters.VOYAGE SVar:Y:Count$RememberedNumber DeckHas:Ability$Counters @@ -23,7 +23,7 @@ ManaCost:1 U Types:Legendary Artifact Vehicle PT:3/3 T:Mode$ DamageDone | ValidSource$ Vehicle.YouCtrl | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever a Vehicle you control deals combat damage to a player, that player exiles that many cards from the top of their library. You may play lands from among those cards for as long as they remain exiled. -SVar:TrigExile:DB$ Dig | Defined$ TriggeredTarget | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | References$ X | RememberChanged$ True | SubAbility$ DBMayPlayLand +SVar:TrigExile:DB$ Dig | Defined$ TriggeredTarget | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBMayPlayLand SVar:X:TriggerCount$DamageAmount SVar:DBMayPlayLand:DB$ Effect | StaticAbilities$ SMayPlayLand | RememberObjects$ Remembered | Duration$ Permanent | ForgetOnMoved$ Exile | SubAbility$ DBCleanup SVar:SMayPlayLand:Mode$ Continuous | MayPlay$ True | Affected$ Land.IsRemembered | AffectedZone$ Exile | Secondary$ True | EffectZone$ Command | MayLookAt$ You | Duration$ Permanent | Description$ You may play lands from among those cards for as long as they remain exiled. diff --git a/forge-gui/res/cardsfolder/c/cosmos_elixir.txt b/forge-gui/res/cardsfolder/c/cosmos_elixir.txt index 8720cf4d0eb..4bcd42d8543 100644 --- a/forge-gui/res/cardsfolder/c/cosmos_elixir.txt +++ b/forge-gui/res/cardsfolder/c/cosmos_elixir.txt @@ -2,7 +2,7 @@ Name:Cosmos Elixir ManaCost:4 Types:Artifact T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigBranch | TriggerDescription$ At the beginning of your end step, draw a card if your life total is greater than your starting life total. Otherwise, you gain 2 life. -SVar:TrigBranch:DB$ Branch | BranchConditionSVar$ X | BranchConditionSVarCompare$ GTY | TrueSubAbility$ DBDraw | FalseSubAbility$ DBGainLife | References$ X,Y +SVar:TrigBranch:DB$ Branch | BranchConditionSVar$ X | BranchConditionSVarCompare$ GTY | TrueSubAbility$ DBDraw | FalseSubAbility$ DBGainLife SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1 SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 SVar:X:Count$YourLifeTotal diff --git a/forge-gui/res/cardsfolder/c/counterbalance.txt b/forge-gui/res/cardsfolder/c/counterbalance.txt index 34d0c8dada0..928b09657cc 100644 --- a/forge-gui/res/cardsfolder/c/counterbalance.txt +++ b/forge-gui/res/cardsfolder/c/counterbalance.txt @@ -3,7 +3,7 @@ ManaCost:U U Types:Enchantment T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ Opponent | OptionalDecider$ You | TriggerZones$ Battlefield | Execute$ TrigReveal | TriggerDescription$ Whenever an opponent casts a spell, you may reveal the top card of your library. If you do, counter that spell if it has the same converted mana cost as the revealed card. SVar:TrigReveal:DB$Dig | DigNum$ 1 | Reveal$ True | DestinationZone$ Library | LibraryPosition$ 0 | LibraryPosition2$ 0 | SubAbility$ DBCounter -SVar:DBCounter:DB$Counter | Defined$ TriggeredSpellAbility | ConditionPresent$ Card.cmcEQX | ConditionDefined$ TriggeredCard | ConditionCompare$ GE1 | References$ X +SVar:DBCounter:DB$Counter | Defined$ TriggeredSpellAbility | ConditionPresent$ Card.cmcEQX | ConditionDefined$ TriggeredCard | ConditionCompare$ GE1 SVar:X:Count$TopOfLibraryCMC SVar:Picture:http://www.wizards.com/global/images/magic/general/counterbalance.jpg Oracle:Whenever an opponent casts a spell, you may reveal the top card of your library. If you do, counter that spell if it has the same converted mana cost as the revealed card. diff --git a/forge-gui/res/cardsfolder/c/counterbore.txt b/forge-gui/res/cardsfolder/c/counterbore.txt index 41cb5fabdf5..0d00209f352 100644 --- a/forge-gui/res/cardsfolder/c/counterbore.txt +++ b/forge-gui/res/cardsfolder/c/counterbore.txt @@ -3,8 +3,8 @@ ManaCost:3 U U Types:Instant A:SP$ Counter | Cost$ 3 U U | TargetType$ Spell | ValidTgts$ Card | RememberCountered$ True | ForgetOtherTargets$ True | SubAbility$ ExileYard | SpellDescription$ Counter target spell. Search its controller's graveyard, hand, and library for all cards with the same name as that spell and exile them. Then that player shuffles their library. SVar:ExileYard:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Exile | Defined$ TargetedController | ChangeType$ Remembered.sameName | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | References$ NumInHand | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | References$ NumInLib | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:NumInHand:TargetedController$CardsInHand SVar:NumInLib:TargetedController$CardsInLibrary SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/c/countervailing_winds.txt b/forge-gui/res/cardsfolder/c/countervailing_winds.txt index ad027f3d3fb..a4b020964f9 100644 --- a/forge-gui/res/cardsfolder/c/countervailing_winds.txt +++ b/forge-gui/res/cardsfolder/c/countervailing_winds.txt @@ -1,7 +1,7 @@ Name:Countervailing Winds ManaCost:2 U Types:Instant -A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X | SpellDescription$ Counter target spell unless its controller pays {1} for each card in your graveyard. +A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {1} for each card in your graveyard. K:Cycling:2 SVar:X:Count$InYourYard SVar:Picture:http://www.wizards.com/global/images/magic/general/countervailing_winds.jpg diff --git a/forge-gui/res/cardsfolder/c/court_of_ambition.txt b/forge-gui/res/cardsfolder/c/court_of_ambition.txt index bb4c4d38238..bf5706f295f 100644 --- a/forge-gui/res/cardsfolder/c/court_of_ambition.txt +++ b/forge-gui/res/cardsfolder/c/court_of_ambition.txt @@ -5,7 +5,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigMonarch:DB$ BecomeMonarch | Defined$ You T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRepeat | TriggerDescription$At the beginning of your upkeep, each opponent loses 3 life unless they discard a card. If you're the monarch, instead each opponent loses 6 life unless they discard two cards. SVar:TrigRepeat:DB$ RepeatEach | RepeatPlayers$ Opponent | RepeatSubAbility$ DBDrain -SVar:DBDrain:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X | References$ X,Y | UnlessCost$ Discard | UnlessPayer$ Player.IsRemembered +SVar:DBDrain:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X | UnlessCost$ Discard | UnlessPayer$ Player.IsRemembered SVar:X:Count$Monarch.6.3 SVar:Y:Count$Monarch.2.1 Oracle:When Court of Ambition enters the battlefield, you become the monarch.\nAt the beginning of your upkeep, each opponent loses 3 life unless they discard a card. If you're the monarch, instead each opponent loses 6 life unless they discard two cards. diff --git a/forge-gui/res/cardsfolder/c/court_of_bounty.txt b/forge-gui/res/cardsfolder/c/court_of_bounty.txt index e646975c682..20f4ddb84db 100644 --- a/forge-gui/res/cardsfolder/c/court_of_bounty.txt +++ b/forge-gui/res/cardsfolder/c/court_of_bounty.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMonarch | TriggerDescription$ When CARDNAME enters the battlefield, you become the monarch. SVar:TrigMonarch:DB$ BecomeMonarch | Defined$ You T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigBranch | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may put a land card from your hand onto the battlefield. If you're the monarch, instead you may put a creature or land card from your hand onto the battlefield. -SVar:TrigBranch:DB$ Branch | BranchConditionSVar$ X | BranchConditionSVarCompare$ GE1 | References$ X | TrueSubAbility$ PutCreatureLand | FalseSubAbility$ PutLand +SVar:TrigBranch:DB$ Branch | BranchConditionSVar$ X | BranchConditionSVarCompare$ GE1 | TrueSubAbility$ PutCreatureLand | FalseSubAbility$ PutLand SVar:PutLand:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Land.YouOwn SVar:PutCreatureLand:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature.YouOwn,Land.YouOwn SVar:X:Count$Monarch.1.0 diff --git a/forge-gui/res/cardsfolder/c/court_of_cunning.txt b/forge-gui/res/cardsfolder/c/court_of_cunning.txt index 0538da519c0..d97823e2f84 100644 --- a/forge-gui/res/cardsfolder/c/court_of_cunning.txt +++ b/forge-gui/res/cardsfolder/c/court_of_cunning.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMonarch | TriggerDescription$ When CARDNAME enters the battlefield, you become the monarch. SVar:TrigMonarch:DB$ BecomeMonarch | Defined$ You T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ At the beginning of your upkeep, any number of target players each mill two cards. If you're the monarch, each of those players mills ten cards instead. (To mill a card, a player puts the top card of their library into their graveyard.) -SVar:TrigMill:DB$ Mill | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgt | NumCards$ X | References$ X,MaxTgt +SVar:TrigMill:DB$ Mill | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgt | NumCards$ X SVar:X:Count$Monarch.10.2 SVar:MaxTgt:PlayerCountPlayers$Amount Oracle:When Court of Cunning enters the battlefield, you become the monarch.\nAt the beginning of your upkeep, any number of target players each mill two cards. If you're the monarch, each of those players mills ten cards instead. (To mill a card, a player puts the top card of their library into their graveyard.) \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/c/court_of_grace.txt b/forge-gui/res/cardsfolder/c/court_of_grace.txt index d09c7c0dc74..b126b8d6d9d 100644 --- a/forge-gui/res/cardsfolder/c/court_of_grace.txt +++ b/forge-gui/res/cardsfolder/c/court_of_grace.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMonarch | TriggerDescription$ When CARDNAME enters the battlefield, you become the monarch. SVar:TrigMonarch:DB$ BecomeMonarch | Defined$ You T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigBranch | TriggerDescription$ At the beginning of your upkeep, create a 1/1 white Spirit creature token with flying. If you're the monarch, create a 4/4 white Angel creature token with flying instead. -SVar:TrigBranch:DB$ Branch | BranchConditionSVar$ X | References$ X | TrueSubAbility$ DBAngel | FalseSubAbility$ DBSpirit +SVar:TrigBranch:DB$ Branch | BranchConditionSVar$ X | TrueSubAbility$ DBAngel | FalseSubAbility$ DBSpirit SVar:DBSpirit:DB$ Token | TokenAmount$ 1 | TokenScript$ w_1_1_spirit_flying | TokenOwner$ You SVar:DBAngel:DB$ Token | TokenAmount$ 1 | TokenScript$ w_4_4_angel_flying | TokenOwner$ You SVar:X:Count$Monarch.1.0 diff --git a/forge-gui/res/cardsfolder/c/court_of_ire.txt b/forge-gui/res/cardsfolder/c/court_of_ire.txt index e525f8e61a8..bcbeeeb7905 100644 --- a/forge-gui/res/cardsfolder/c/court_of_ire.txt +++ b/forge-gui/res/cardsfolder/c/court_of_ire.txt @@ -4,6 +4,6 @@ Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMonarch | TriggerDescription$ When CARDNAME enters the battlefield, you become the monarch. SVar:TrigMonarch:DB$ BecomeMonarch | Defined$ You T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, CARDNAME deals 2 damage to any target. If you're the monarch, it deals 7 damage instead. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$Monarch.7.2 Oracle:When Court of Ire enters the battlefield, you become the monarch.\nAt the beginning of your upkeep, Court of Ire deals 2 damage to any target. If you're the monarch, it deals 7 damage instead. diff --git a/forge-gui/res/cardsfolder/c/covenant_of_minds.txt b/forge-gui/res/cardsfolder/c/covenant_of_minds.txt index f7dfd691fb3..bf6a78167da 100644 --- a/forge-gui/res/cardsfolder/c/covenant_of_minds.txt +++ b/forge-gui/res/cardsfolder/c/covenant_of_minds.txt @@ -4,7 +4,7 @@ Types:Sorcery A:SP$ Dig | Cost$ 4 U | DigNum$ 3 | NoMove$ True | Reveal$ True | DestinationZone$ Library | LibraryPosition$ 0 | LibraryPosition2$ 0 | SubAbility$ DBChoice | RememberRevealed$ True | SpellDescription$ Reveal the top three cards of your library. Target opponent may choose to put those cards into your hand. If they don't, put those cards into your graveyard and draw five cards. SVar:DBChoice:DB$ GenericChoice | ValidTgts$ Opponent | Choices$ CovenantPutIntoHand,CovenantMillDraw | SubAbility$ DBCleanup SVar:CovenantPutIntoHand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | SpellDescription$ You may choose to put those cards into that player's hand. -SVar:CovenantMillDraw:DB$ Mill | Defined$ SourceController | NumCards$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ If you don't, put those cards into that player's graveyard and that player draws five cards. +SVar:CovenantMillDraw:DB$ Mill | Defined$ SourceController | NumCards$ X | SubAbility$ DBDraw | SpellDescription$ If you don't, put those cards into that player's graveyard and that player draws five cards. SVar:DBDraw:DB$ Draw | Defined$ SourceController | NumCards$ 5 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedSize diff --git a/forge-gui/res/cardsfolder/c/cover_of_winter.txt b/forge-gui/res/cardsfolder/c/cover_of_winter.txt index 214c2b6af41..ad956758d46 100644 --- a/forge-gui/res/cardsfolder/c/cover_of_winter.txt +++ b/forge-gui/res/cardsfolder/c/cover_of_winter.txt @@ -2,7 +2,7 @@ Name:Cover of Winter ManaCost:2 W Types:Snow Enchantment K:Cumulative upkeep:S -S:Mode$ PreventDamage | Target$ You,Creature.YouCtrl | Source$ Creature | CombatDamage$ True | Amount$ X | References$ X | Description$ If a creature would deal combat damage to you and/or one or more creatures you control, prevent X of that damage, where X is the number of age counters on CARDNAME. +S:Mode$ PreventDamage | Target$ You,Creature.YouCtrl | Source$ Creature | CombatDamage$ True | Amount$ X | Description$ If a creature would deal combat damage to you and/or one or more creatures you control, prevent X of that damage, where X is the number of age counters on CARDNAME. A:AB$ PutCounter | Cost$ S | CounterType$ AGE | CounterNum$ 1 | SpellDescription$ Put a age counter on CARDNAME. SVar:X:Count$CardCounters.AGE SVar:Picture:http://www.wizards.com/global/images/magic/general/cover_of_winter.jpg diff --git a/forge-gui/res/cardsfolder/c/coveted_prize.txt b/forge-gui/res/cardsfolder/c/coveted_prize.txt index 2ce756671cf..02044a1dc40 100755 --- a/forge-gui/res/cardsfolder/c/coveted_prize.txt +++ b/forge-gui/res/cardsfolder/c/coveted_prize.txt @@ -1,10 +1,10 @@ Name:Coveted Prize ManaCost:4 B Types:Sorcery -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | References$ X | Description$ This spell costs {1} less to cast for each creature in your party. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature in your party. SVar:X:Count$Party A:SP$ ChangeZone | Cost$ 4 B | Origin$ Library | Destination$ Hand | ChangeType$ Card | ChangeNum$ 1 | Mandatory$ True | SubAbility$ DBPlay | StackDescription$ SpellDescription | SpellDescription$ Search your library for a card, put it into your hand, then shuffle your library. If you have a full party, you may cast a spell with converted mana cost 4 or less from your hand without paying its mana cost. -SVar:DBPlay:DB$ Play | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ4 | References$ X | Optional$ True | Valid$ Card.nonLand+YouOwn | ValidSA$ Spell.cmcLE4 | ValidZone$ Hand | WithoutManaCost$ True | Amount$ 1 | StackDescription$ None +SVar:DBPlay:DB$ Play | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ4 | Optional$ True | Valid$ Card.nonLand+YouOwn | ValidSA$ Spell.cmcLE4 | ValidZone$ Hand | WithoutManaCost$ True | Amount$ 1 | StackDescription$ None DeckHas:Ability$Party DeckHints:Type$Cleric|Rogue|Warrior|Wizard Oracle:This spell costs {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.)\nSearch your library for a card, put it into your hand, then shuffle your library. If you have a full party, you may cast a spell with converted mana cost 4 or less from your hand without paying its mana cost. diff --git a/forge-gui/res/cardsfolder/c/crackling_drake.txt b/forge-gui/res/cardsfolder/c/crackling_drake.txt index 9cdd75848e4..aff7d0d1a23 100644 --- a/forge-gui/res/cardsfolder/c/crackling_drake.txt +++ b/forge-gui/res/cardsfolder/c/crackling_drake.txt @@ -3,7 +3,7 @@ ManaCost:U U R R Types:Creature Drake PT:*/4 K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | References$ X,GraveCount,ExileCount | Description$ CARDNAME's power is equal to the total number of instant and sorcery cards you own in exile and in your graveyard. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | Description$ CARDNAME's power is equal to the total number of instant and sorcery cards you own in exile and in your graveyard. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card. SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 SVar:GraveCount:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn diff --git a/forge-gui/res/cardsfolder/c/cradle_of_vitality.txt b/forge-gui/res/cardsfolder/c/cradle_of_vitality.txt index 5cd4c8f76c9..74417ea7304 100644 --- a/forge-gui/res/cardsfolder/c/cradle_of_vitality.txt +++ b/forge-gui/res/cardsfolder/c/cradle_of_vitality.txt @@ -2,7 +2,7 @@ Name:Cradle of Vitality ManaCost:3 W Types:Enchantment T:Mode$ LifeGained | ValidPlayer$ You | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever you gain life, you may pay {1}{W}. If you do, put a +1/+1 counter on target creature for each 1 life you gained. -SVar:TrigPutCounter:AB$PutCounter | Cost$ 1 W | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:AB$PutCounter | Cost$ 1 W | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X SVar:X:TriggerCount$LifeAmount AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/cradle_of_vitality.jpg diff --git a/forge-gui/res/cardsfolder/c/cragganwick_cremator.txt b/forge-gui/res/cardsfolder/c/cragganwick_cremator.txt index 643ff8cc324..cfe66547879 100644 --- a/forge-gui/res/cardsfolder/c/cragganwick_cremator.txt +++ b/forge-gui/res/cardsfolder/c/cragganwick_cremator.txt @@ -4,7 +4,7 @@ Types:Creature Giant Shaman PT:5/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, discard a card at random. If you discard a creature card this way, CARDNAME deals damage equal to that card's power to target player or planeswalker. SVar:TrigDiscard:DB$ Discard | Defined$ You | NumCards$ 1 | Mode$ Random | RememberDiscarded$ True | SubAbility$ DBDmg -SVar:DBDmg:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | ConditionDefined$ Remembered | ConditionPresent$ Card.Creature | ConditionCompare$ EQ1 | NumDmg$ X | SubAbility$ DBCleanup | References$ X +SVar:DBDmg:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | ConditionDefined$ Remembered | ConditionPresent$ Card.Creature | ConditionCompare$ EQ1 | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/cragganwick_cremator.jpg diff --git a/forge-gui/res/cardsfolder/c/cranial_extraction.txt b/forge-gui/res/cardsfolder/c/cranial_extraction.txt index 55178a87802..9b4f7af5d82 100644 --- a/forge-gui/res/cardsfolder/c/cranial_extraction.txt +++ b/forge-gui/res/cardsfolder/c/cranial_extraction.txt @@ -3,8 +3,8 @@ ManaCost:3 B Types:Sorcery Arcane A:SP$ NameCard | Cost$ 3 B | Defined$ You | ValidCards$ Card.nonLand | ValidDesc$ nonland | SubAbility$ ExileYard | SpellDescription$ Choose a nonland card name. Search target player's graveyard, hand, and library for all cards with that name and exile them. Then that player shuffles their library. SVar:ExileYard:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Player | TgtPrompt$ Select target player | ChangeType$ Card.NamedCard | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | References$ NumInHand | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | References$ NumInLib | SubAbility$ DBCleanup | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:NumInLib:TargetedPlayer$CardsInLibrary SVar:NumInHand:TargetedPlayer$CardsInHand SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/c/cranial_plating.txt b/forge-gui/res/cardsfolder/c/cranial_plating.txt index be91f977967..c7ae80efadf 100644 --- a/forge-gui/res/cardsfolder/c/cranial_plating.txt +++ b/forge-gui/res/cardsfolder/c/cranial_plating.txt @@ -2,7 +2,7 @@ Name:Cranial Plating ManaCost:2 Types:Artifact Equipment K:Equip:1 -S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | References$ X | Description$ Equipped creature gets +1/+0 for each artifact you control. +S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | Description$ Equipped creature gets +1/+0 for each artifact you control. A:AB$ Attach | Cost$ B B | AILogic$ InstantReequipPowerBuff | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | SpellDescription$ Attach CARDNAME to target creature you control. SVar:X:Count$Valid Artifact.YouCtrl SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/c/crash_landing.txt b/forge-gui/res/cardsfolder/c/crash_landing.txt index ef24b6aa065..a55a7c0ec84 100644 --- a/forge-gui/res/cardsfolder/c/crash_landing.txt +++ b/forge-gui/res/cardsfolder/c/crash_landing.txt @@ -2,7 +2,7 @@ Name:Crash Landing ManaCost:2 G Types:Instant A:SP$ Debuff | Cost$ 2 G | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying | Keywords$ Flying | SubAbility$ DBDamage | SpellDescription$ Target creature with flying loses flying until end of turn. CARDNAME deals damage to that creature equal to the number of Forests you control. -SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X SVar:X:Count$Valid Forest.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/crash_landing.jpg Oracle:Target creature with flying loses flying until end of turn. Crash Landing deals damage to that creature equal to the number of Forests you control. diff --git a/forge-gui/res/cardsfolder/c/crater_elemental.txt b/forge-gui/res/cardsfolder/c/crater_elemental.txt index fa66a2f481b..f4f9940089d 100644 --- a/forge-gui/res/cardsfolder/c/crater_elemental.txt +++ b/forge-gui/res/cardsfolder/c/crater_elemental.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Creature Elemental PT:0/6 A:AB$ DealDamage | Cost$ R T Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to target creature. -A:AB$ Animate | Cost$ 2 R | Defined$ Self | Power$ 8 | CheckSVar$ FormidableTest | SVarCompare$ GE8 | References$ FormidableTest | PrecostDesc$ Formidable — | SpellDescription$ CARDNAME has base power 8 until end of turn. Activate this ability only if creatures you control have total power 8 or greater. +A:AB$ Animate | Cost$ 2 R | Defined$ Self | Power$ 8 | CheckSVar$ FormidableTest | SVarCompare$ GE8 | PrecostDesc$ Formidable — | SpellDescription$ CARDNAME has base power 8 until end of turn. Activate this ability only if creatures you control have total power 8 or greater. SVar:FormidableTest:Count$SumPower_Creature.YouCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/crater_elemental.jpg diff --git a/forge-gui/res/cardsfolder/c/craterhoof_behemoth.txt b/forge-gui/res/cardsfolder/c/craterhoof_behemoth.txt index 8e160e933cb..59399254e4f 100644 --- a/forge-gui/res/cardsfolder/c/craterhoof_behemoth.txt +++ b/forge-gui/res/cardsfolder/c/craterhoof_behemoth.txt @@ -4,7 +4,7 @@ Types:Creature Beast PT:5/5 K:Haste T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ BehemothPump | TriggerDescription$ When CARDNAME enters the battlefield, creatures you control gain trample and get +X/+X until end of turn, where X is the number of creatures you control. -SVar:BehemothPump:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Trample | NumAtt$ X | NumDef$ X | References$ X +SVar:BehemothPump:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Trample | NumAtt$ X | NumDef$ X SVar:X:Count$Valid Creature.YouCtrl SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/craterhoof_behemoth.jpg diff --git a/forge-gui/res/cardsfolder/c/craters_claws.txt b/forge-gui/res/cardsfolder/c/craters_claws.txt index 2706a6d9b59..52266d1cf9a 100644 --- a/forge-gui/res/cardsfolder/c/craters_claws.txt +++ b/forge-gui/res/cardsfolder/c/craters_claws.txt @@ -1,7 +1,7 @@ Name:Crater's Claws ManaCost:X R Types:Sorcery -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ Y | References$ X,Y,Z,W | SpellDescription$ CARDNAME deals X damage to any target. Ferocious — CARDNAME deals X plus 2 damage instead if you control a creature with power 4 or greater. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ Y | SpellDescription$ CARDNAME deals X damage to any target. Ferocious — CARDNAME deals X plus 2 damage instead if you control a creature with power 4 or greater. SVar:X:Count$xPaid SVar:W:Count$xPaid/Plus.2 SVar:Y:Count$Compare Z GE1.W.X diff --git a/forge-gui/res/cardsfolder/c/crazed_firecat.txt b/forge-gui/res/cardsfolder/c/crazed_firecat.txt index b7f1aa0f2bd..2c04e95b3d6 100644 --- a/forge-gui/res/cardsfolder/c/crazed_firecat.txt +++ b/forge-gui/res/cardsfolder/c/crazed_firecat.txt @@ -4,7 +4,7 @@ Types:Creature Elemental Cat PT:4/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigFlip | TriggerDescription$ When CARDNAME enters the battlefield, flip a coin until you lose a flip. Put a +1/+1 counter on CARDNAME for each flip you won. SVar:TrigFlip:DB$ FlipACoin | FlipUntilYouLose$ True | SaveNumFlipsToSVar$ X | LoseSubAbility$ DBPutCounter -SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X SVar:X:Number$0 SVar:Picture:http://www.wizards.com/global/images/magic/general/crazed_firecat.jpg Oracle:When Crazed Firecat enters the battlefield, flip a coin until you lose a flip. Put a +1/+1 counter on Crazed Firecat for each flip you won. diff --git a/forge-gui/res/cardsfolder/c/cream_of_the_crop.txt b/forge-gui/res/cardsfolder/c/cream_of_the_crop.txt index 0613b5ab9cd..afc0adfcb68 100644 --- a/forge-gui/res/cardsfolder/c/cream_of_the_crop.txt +++ b/forge-gui/res/cardsfolder/c/cream_of_the_crop.txt @@ -2,7 +2,7 @@ Name:Cream of the Crop ManaCost:1 G Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigDig | TriggerDescription$ Whenever a creature enters the battlefield under your control, you may look at the top X cards of your library, where X is that creature's power. If you do, put one of those cards on top of your library and the rest on the bottom of your library in any order. -SVar:TrigDig:DB$Dig | DigNum$ X | ChangeNum$ 1 | DestinationZone$ Library | LibraryPosition$ 0 | References$ X +SVar:TrigDig:DB$Dig | DigNum$ X | ChangeNum$ 1 | DestinationZone$ Library | LibraryPosition$ 0 SVar:X:TriggeredCard$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/cream_of_the_crop.jpg diff --git a/forge-gui/res/cardsfolder/c/creature_bond.txt b/forge-gui/res/cardsfolder/c/creature_bond.txt index 5aadfb9f5b4..b745bdb26f3 100644 --- a/forge-gui/res/cardsfolder/c/creature_bond.txt +++ b/forge-gui/res/cardsfolder/c/creature_bond.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 U | ValidTgts$ Creature | AILogic$ Curse T:Mode$ ChangesZone | ValidCard$ Card.AttachedBy | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigDamage | TriggerDescription$ When enchanted creature dies, CARDNAME deals damage equal to that creature's toughness to the creature's controller. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredCardController | NumDmg$ Y | References$ Y +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredCardController | NumDmg$ Y SVar:Y:TriggeredCard$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/creature_bond.jpg Oracle:Enchant creature\nWhen enchanted creature dies, Creature Bond deals damage equal to that creature's toughness to the creature's controller. diff --git a/forge-gui/res/cardsfolder/c/credit_voucher.txt b/forge-gui/res/cardsfolder/c/credit_voucher.txt index 6c0a4f77201..5fe0b2eb237 100644 --- a/forge-gui/res/cardsfolder/c/credit_voucher.txt +++ b/forge-gui/res/cardsfolder/c/credit_voucher.txt @@ -1,8 +1,8 @@ Name:Credit Voucher ManaCost:2 Types:Artifact -A:AB$ ChangeZone | Cost$ 2 T Sac<1/CARDNAME> | Origin$ Hand | Destination$ Library | Shuffle$ True | ChangeType$ Card | ChangeNum$ X | RememberChanged$ True | SubAbility$ DBDraw | References$ X | SpellDescription$ Shuffle any number of cards from your hand into your library, then draw that many cards. -SVar:DBDraw:DB$ Draw | NumCards$ Y | References$ Y | SubAbility$ DBCleanup +A:AB$ ChangeZone | Cost$ 2 T Sac<1/CARDNAME> | Origin$ Hand | Destination$ Library | Shuffle$ True | ChangeType$ Card | ChangeNum$ X | RememberChanged$ True | SubAbility$ DBDraw | SpellDescription$ Shuffle any number of cards from your hand into your library, then draw that many cards. +SVar:DBDraw:DB$ Draw | NumCards$ Y | SubAbility$ DBCleanup SVar:X:Count$InYourHand SVar:Y:Remembered$Amount SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/c/creeping_trailblazer.txt b/forge-gui/res/cardsfolder/c/creeping_trailblazer.txt index 63d76c89619..df37ec8da4a 100644 --- a/forge-gui/res/cardsfolder/c/creeping_trailblazer.txt +++ b/forge-gui/res/cardsfolder/c/creeping_trailblazer.txt @@ -4,7 +4,7 @@ Types:Creature Elemental PT:2/2 S:Mode$ Continuous | Affected$ Elemental.YouCtrl+Other | AddPower$ 1 | Description$ Other Elementals you control get +1/+0. SVar:PlayMain1:TRUE -A:AB$ Pump | Cost$ 2 R G | Defined$ Self | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ CARDNAME gets +1/+1 until end of turn for each Elemental you control. +A:AB$ Pump | Cost$ 2 R G | Defined$ Self | NumAtt$ +X | NumDef$ +X | SpellDescription$ CARDNAME gets +1/+1 until end of turn for each Elemental you control. SVar:X:Count$Valid Elemental.YouCtrl SVar:BuffedBy:Card.Elemental DeckHints:Type$Elemental diff --git a/forge-gui/res/cardsfolder/c/crime_punishment.txt b/forge-gui/res/cardsfolder/c/crime_punishment.txt index 8f3f8aa83b5..106e6bcc0b5 100644 --- a/forge-gui/res/cardsfolder/c/crime_punishment.txt +++ b/forge-gui/res/cardsfolder/c/crime_punishment.txt @@ -11,6 +11,6 @@ ALTERNATE Name:Punishment ManaCost:X B G Types:Sorcery -A:SP$ DestroyAll | Cost$ X B G | ValidCards$ Artifact.cmcEQX,Creature.cmcEQX,Enchantment.cmcEQX | References$ X | SpellDescription$ Destroy each artifact, creature, and enchantment with converted mana cost X. +A:SP$ DestroyAll | Cost$ X B G | ValidCards$ Artifact.cmcEQX,Creature.cmcEQX,Enchantment.cmcEQX | SpellDescription$ Destroy each artifact, creature, and enchantment with converted mana cost X. SVar:X:Count$xPaid Oracle:Destroy each artifact, creature, and enchantment with converted mana cost X. diff --git a/forge-gui/res/cardsfolder/c/crimson_hellkite.txt b/forge-gui/res/cardsfolder/c/crimson_hellkite.txt index d222eab1ee1..2c3845dd2aa 100644 --- a/forge-gui/res/cardsfolder/c/crimson_hellkite.txt +++ b/forge-gui/res/cardsfolder/c/crimson_hellkite.txt @@ -2,7 +2,7 @@ Name:Crimson Hellkite ManaCost:6 R R R Types:Creature Dragon PT:6/6 -A:AB$ DealDamage | Cost$ T X | XColor$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ Crimson Hellkite deals X damage to target creature. Spend only red mana on X. +A:AB$ DealDamage | Cost$ T X | XColor$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ Crimson Hellkite deals X damage to target creature. Spend only red mana on X. K:Flying SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/crimson_hellkite.jpg diff --git a/forge-gui/res/cardsfolder/c/crimson_honor_guard.txt b/forge-gui/res/cardsfolder/c/crimson_honor_guard.txt index bc40d17a44b..edce8e21382 100644 --- a/forge-gui/res/cardsfolder/c/crimson_honor_guard.txt +++ b/forge-gui/res/cardsfolder/c/crimson_honor_guard.txt @@ -4,7 +4,7 @@ Types:Creature Vampire Knight PT:4/5 K:Trample T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Player | Execute$ TrigDealDamage | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's end step, CARDNAME deals 4 damage to that player unless they control a commander. -SVar:TrigDealDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ 4 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X +SVar:TrigDealDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ 4 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 SVar:X:Count$Valid Permanent.IsCommander+ActivePlayerCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/crimson_honor_guard.jpg Oracle:Trample\nAt the beginning of each player's end step, Crimson Honor Guard deals 4 damage to that player unless they control a commander. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/c/crosstown_courier.txt b/forge-gui/res/cardsfolder/c/crosstown_courier.txt index faf98237ab7..55dcb7d85e5 100644 --- a/forge-gui/res/cardsfolder/c/crosstown_courier.txt +++ b/forge-gui/res/cardsfolder/c/crosstown_courier.txt @@ -3,6 +3,6 @@ ManaCost:1 U Types:Creature Vedalken PT:2/1 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player mills that many cards. -SVar:TrigMill:DB$ Mill | Defined$ TriggeredTarget | NumCards$ X | References$ X +SVar:TrigMill:DB$ Mill | Defined$ TriggeredTarget | NumCards$ X SVar:X:TriggerCount$DamageAmount Oracle:Whenever Crosstown Courier deals combat damage to a player, that player mills that many cards. diff --git a/forge-gui/res/cardsfolder/c/crowd_of_cinders.txt b/forge-gui/res/cardsfolder/c/crowd_of_cinders.txt index 3bf41eb589b..2391d7f920a 100644 --- a/forge-gui/res/cardsfolder/c/crowd_of_cinders.txt +++ b/forge-gui/res/cardsfolder/c/crowd_of_cinders.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Creature Elemental PT:*/* K:Fear -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of black permanents you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of black permanents you control. SVar:X:Count$Valid Permanent.Black+YouCtrl SVar:BuffedBy:Permanent.Black SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/c/crown_of_empires.txt b/forge-gui/res/cardsfolder/c/crown_of_empires.txt index fe20880d98b..9046ccd19ba 100644 --- a/forge-gui/res/cardsfolder/c/crown_of_empires.txt +++ b/forge-gui/res/cardsfolder/c/crown_of_empires.txt @@ -1,8 +1,8 @@ Name:Crown of Empires ManaCost:2 Types:Artifact -A:AB$ Tap | Cost$ 3 T | ValidTgts$ Creature | TgtPrompt$ Select target creature | ConditionCheckSVar$ M12Complete | ConditionSVarCompare$ EQ0 | References$ M12Complete,AllM12Empires,X,Y | SubAbility$ DBControl | SpellDescription$ Tap target creature. Gain control of that creature instead if you control artifacts named Scepter of Empires and Throne of Empires. -SVar:DBControl:DB$ GainControl | Defined$ Targeted | ConditionCheckSVar$ M12Complete | References$ M12Complete,AllM12Empires,X,Y +A:AB$ Tap | Cost$ 3 T | ValidTgts$ Creature | TgtPrompt$ Select target creature | ConditionCheckSVar$ M12Complete | ConditionSVarCompare$ EQ0 | SubAbility$ DBControl | SpellDescription$ Tap target creature. Gain control of that creature instead if you control artifacts named Scepter of Empires and Throne of Empires. +SVar:DBControl:DB$ GainControl | Defined$ Targeted | ConditionCheckSVar$ M12Complete AI:RemoveDeck:Random DeckHints:Name$Scepter of Empires|Throne of Empires SVar:M12Complete:Count$Compare AllM12Empires GT0.1.0 diff --git a/forge-gui/res/cardsfolder/c/crucible_of_the_spirit_dragon.txt b/forge-gui/res/cardsfolder/c/crucible_of_the_spirit_dragon.txt index 5dd2ff77a65..665e9fecc16 100644 --- a/forge-gui/res/cardsfolder/c/crucible_of_the_spirit_dragon.txt +++ b/forge-gui/res/cardsfolder/c/crucible_of_the_spirit_dragon.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. A:AB$ PutCounter | Cost$ 1 T | CounterType$ STORAGE | CounterNum$ 1 | SpellDescription$ Put a storage counter on CARDNAME. -A:AB$ Mana | Cost$ T SubCounter | Produced$ Combo W U B R G | Amount$ X | RestrictValid$ Card.Dragon,Activated.Dragon | CostDesc$ {T}, Remove X storage counters from CARDNAME: | References$ X | SpellDescription$ Add X mana in any combination of colors. Spend this mana only to cast Dragon spells or activate abilities of Dragons. +A:AB$ Mana | Cost$ T SubCounter | Produced$ Combo W U B R G | Amount$ X | RestrictValid$ Card.Dragon,Activated.Dragon | CostDesc$ {T}, Remove X storage counters from CARDNAME: | SpellDescription$ Add X mana in any combination of colors. Spend this mana only to cast Dragon spells or activate abilities of Dragons. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{T}: Add {C}.\n{1}, {T}: Put a storage counter on Crucible of the Spirit Dragon.\n{T}, Remove X storage counters from Crucible of the Spirit Dragon: Add X mana in any combination of colors. Spend this mana only to cast Dragon spells or activate abilities of Dragons. diff --git a/forge-gui/res/cardsfolder/c/cruel_bargain.txt b/forge-gui/res/cardsfolder/c/cruel_bargain.txt index 257974cec00..0c89bb1c2db 100644 --- a/forge-gui/res/cardsfolder/c/cruel_bargain.txt +++ b/forge-gui/res/cardsfolder/c/cruel_bargain.txt @@ -2,7 +2,7 @@ Name:Cruel Bargain ManaCost:B B B Types:Sorcery A:SP$ Draw | Cost$ B B B | NumCards$ 4 | SubAbility$ DBLoseLife | SpellDescription$ Draw four cards. You lose half your life, rounded up. -SVar:DBLoseLife:DB$LoseLife | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$LoseLife | LifeAmount$ X SVar:X:Count$YourLifeTotal/HalfUp SVar:Picture:http://resources.wizards.com/magic/cards/po/en-us/card4214.jpg Oracle:Draw four cards. You lose half your life, rounded up. diff --git a/forge-gui/res/cardsfolder/c/cruel_feeding.txt b/forge-gui/res/cardsfolder/c/cruel_feeding.txt index e9160f33467..cbfffec471b 100644 --- a/forge-gui/res/cardsfolder/c/cruel_feeding.txt +++ b/forge-gui/res/cardsfolder/c/cruel_feeding.txt @@ -2,7 +2,7 @@ Name:Cruel Feeding ManaCost:B Types:Instant K:Strive:2 B -A:SP$ Pump | Cost$ B | ValidTgts$ Creature | KW$ Lifelink | NumAtt$ +1 | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | SpellDescription$ Any number of target creatures each get +1/+0 and gain lifelink until end of turn. +A:SP$ Pump | Cost$ B | ValidTgts$ Creature | KW$ Lifelink | NumAtt$ +1 | TargetMin$ 0 | TargetMax$ MaxTargets | SpellDescription$ Any number of target creatures each get +1/+0 and gain lifelink until end of turn. SVar:MaxTargets:Count$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/cruel_feeding.jpg Oracle:Strive — This spell costs {2}{B} more to cast for each target beyond the first.\nAny number of target creatures each get +1/+0 and gain lifelink until end of turn. (Damage dealt by a creature with lifelink also causes its controller to gain that much life.) diff --git a/forge-gui/res/cardsfolder/c/cruel_reality.txt b/forge-gui/res/cardsfolder/c/cruel_reality.txt index a170b5d4e25..3cd8d5ab033 100644 --- a/forge-gui/res/cardsfolder/c/cruel_reality.txt +++ b/forge-gui/res/cardsfolder/c/cruel_reality.txt @@ -5,7 +5,7 @@ K:Enchant player A:SP$ Attach | Cost$ 5 B B | ValidTgts$ Player | AILogic$ Curse T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.EnchantedBy | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of enchanted player's upkeep, that player sacrifices a creature or planeswalker. If the player can't, they lose 5 life. SVar:TrigSac:DB$ Sacrifice | SacValid$ Creature,Planeswalker | Defined$ TriggeredPlayer | SubAbility$ DBLoseLife | RememberSacrificed$ True | SpellDescription$ Sacrifice a creature or planeswalker -SVar:DBLoseLife:DB$LoseLife | LifeAmount$ 5 | Defined$ TriggeredPlayer | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBLoseLife:DB$LoseLife | LifeAmount$ 5 | Defined$ TriggeredPlayer | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/cruel_reality.jpg diff --git a/forge-gui/res/cardsfolder/c/cruel_sadist.txt b/forge-gui/res/cardsfolder/c/cruel_sadist.txt index 61667292857..c4dd5e48d4a 100644 --- a/forge-gui/res/cardsfolder/c/cruel_sadist.txt +++ b/forge-gui/res/cardsfolder/c/cruel_sadist.txt @@ -3,7 +3,7 @@ ManaCost:B Types:Creature Human Assassin PT:1/1 A:AB$ PutCounter | Cost$ B T PayLife<1> | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on CARDNAME. -A:AB$ DealDamage | Cost$ 2 B T SubCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature. +A:AB$ DealDamage | Cost$ 2 B T SubCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{B}, {T}, Pay 1 life: Put a +1/+1 counter on Cruel Sadist.\n{2}{B}, {T}, Remove X +1/+1 counters from Cruel Sadist: It deals X damage to target creature. diff --git a/forge-gui/res/cardsfolder/c/crumble.txt b/forge-gui/res/cardsfolder/c/crumble.txt index ac365efa9bc..c66ddc04e75 100644 --- a/forge-gui/res/cardsfolder/c/crumble.txt +++ b/forge-gui/res/cardsfolder/c/crumble.txt @@ -2,7 +2,7 @@ Name:Crumble ManaCost:G Types:Instant A:SP$ Destroy | Cost$ G | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | NoRegen$ True | SubAbility$ DBGainLife | SpellDescription$ Destroy target artifact. It can't be regenerated. That artifact's controller gains life equal to its converted mana cost. -SVar:DBGainLife:DB$GainLife | Defined$ TargetedController | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ TargetedController | LifeAmount$ X SVar:X:Targeted$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/crumble.jpg Oracle:Destroy target artifact. It can't be regenerated. That artifact's controller gains life equal to its converted mana cost. diff --git a/forge-gui/res/cardsfolder/c/crumble_to_dust.txt b/forge-gui/res/cardsfolder/c/crumble_to_dust.txt index c6a79dc03a5..8daa7e5c808 100644 --- a/forge-gui/res/cardsfolder/c/crumble_to_dust.txt +++ b/forge-gui/res/cardsfolder/c/crumble_to_dust.txt @@ -3,9 +3,9 @@ ManaCost:3 R Types:Sorcery K:Devoid A:SP$ ChangeZone | Cost$ 3 R | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Land.nonBasic | TgtPrompt$ Select target nonbasic land | RememberChanged$ True | SubAbility$ ExileYard | SpellDescription$ Exile target nonbasic land. Search its controller's graveyard, hand, and library for any number of cards with the same name as that land and exile them. Then that player shuffles his or library. -SVar:ExileYard:DB$ ChangeZone | ChangeType$ Remembered.sameName | Origin$ Graveyard | DefinedPlayer$ TargetedController | Chooser$ You | Destination$ Exile | ChangeNum$ NumInYard | References$ NumInYard | Hidden$ True | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | References$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | References$ NumInLib | Chooser$ You | Shuffle$ True | StackDescription$ None | SubAbility$ DBCleanup +SVar:ExileYard:DB$ ChangeZone | ChangeType$ Remembered.sameName | Origin$ Graveyard | DefinedPlayer$ TargetedController | Chooser$ You | Destination$ Exile | ChangeNum$ NumInYard | Hidden$ True | SubAbility$ ExileHand | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Shuffle$ True | StackDescription$ None | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:NumInLib:TargetedController$CardsInLibrary SVar:NumInHand:TargetedController$CardsInHand diff --git a/forge-gui/res/cardsfolder/c/crumbling_sanctuary.txt b/forge-gui/res/cardsfolder/c/crumbling_sanctuary.txt index cf1eac61dc7..143802ee2e9 100644 --- a/forge-gui/res/cardsfolder/c/crumbling_sanctuary.txt +++ b/forge-gui/res/cardsfolder/c/crumbling_sanctuary.txt @@ -2,7 +2,7 @@ Name:Crumbling Sanctuary ManaCost:5 Types:Artifact R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Player | ReplaceWith$ ExileTop | PreventionEffect$ True | Description$ If damage would be dealt to a player, that player exiles that many cards from the top of their library instead. -SVar:ExileTop:DB$ Dig | Defined$ ReplacedTarget | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | References$ X +SVar:ExileTop:DB$ Dig | Defined$ ReplacedTarget | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile SVar:X:ReplaceCount$DamageAmount SVar:NonStackingEffect:True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/c/crusader_of_odric.txt b/forge-gui/res/cardsfolder/c/crusader_of_odric.txt index 8177dfcef3a..cdfb2d42d02 100644 --- a/forge-gui/res/cardsfolder/c/crusader_of_odric.txt +++ b/forge-gui/res/cardsfolder/c/crusader_of_odric.txt @@ -2,7 +2,7 @@ Name:Crusader of Odric ManaCost:2 W Types:Creature Human Soldier PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl SVar:BuffedBy:Creature SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/c/crush_underfoot.txt b/forge-gui/res/cardsfolder/c/crush_underfoot.txt index 5f5279d1f58..d5f048d6860 100644 --- a/forge-gui/res/cardsfolder/c/crush_underfoot.txt +++ b/forge-gui/res/cardsfolder/c/crush_underfoot.txt @@ -2,7 +2,7 @@ Name:Crush Underfoot ManaCost:1 R Types:Tribal Instant Giant A:SP$ ChooseCard | Cost$ 1 R | Defined$ You | Amount$ 1 | Choices$ Creature.Giant+YouCtrl | ChoiceTitle$ Choose a Giant creature you control | RememberChosen$ True | SubAbility$ DBDmg | SpellDescription$ Choose a Giant creature you control. It deals damage equal to its power to target creature. -SVar:DBDmg:DB$ DealDamage | NumDmg$ X | References$ X | DamageSource$ Remembered | ValidTgts$ Creature | SubAbility$ DBCleanup +SVar:DBDmg:DB$ DealDamage | NumDmg$ X | DamageSource$ Remembered | ValidTgts$ Creature | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardPower AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/c/crypt_incursion.txt b/forge-gui/res/cardsfolder/c/crypt_incursion.txt index 558c90953cc..9831fccd0b2 100644 --- a/forge-gui/res/cardsfolder/c/crypt_incursion.txt +++ b/forge-gui/res/cardsfolder/c/crypt_incursion.txt @@ -2,7 +2,7 @@ Name:Crypt Incursion ManaCost:2 B Types:Instant A:SP$ ChangeZoneAll | Cost$ 2 B | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Player | TgtPrompt$ Select target player | ChangeType$ Creature | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ DBGainLife | SpellDescription$ Exile all creature cards from target player's graveyard. You gain 3 life for each card exiled this way. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ Z | References$ X,Z +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ Z SVar:Z:SVar$X/Thrice SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/crypt_incursion.jpg diff --git a/forge-gui/res/cardsfolder/c/crypt_of_agadeem.txt b/forge-gui/res/cardsfolder/c/crypt_of_agadeem.txt index ac679369306..f7cba50b64c 100644 --- a/forge-gui/res/cardsfolder/c/crypt_of_agadeem.txt +++ b/forge-gui/res/cardsfolder/c/crypt_of_agadeem.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land K:CARDNAME enters the battlefield tapped. A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}. -A:AB$ Mana | Cost$ 2 T | Produced$ B | Amount$ X | References$ X | SpellDescription$ Add {B} for each black creature card in your graveyard. +A:AB$ Mana | Cost$ 2 T | Produced$ B | Amount$ X | SpellDescription$ Add {B} for each black creature card in your graveyard. SVar:X:Count$ValidGraveyard Creature.Black+YouCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/crypt_of_agadeem.jpg diff --git a/forge-gui/res/cardsfolder/c/crypt_rats.txt b/forge-gui/res/cardsfolder/c/crypt_rats.txt index 89b89adb90a..d77e16fbe4e 100644 --- a/forge-gui/res/cardsfolder/c/crypt_rats.txt +++ b/forge-gui/res/cardsfolder/c/crypt_rats.txt @@ -2,7 +2,7 @@ Name:Crypt Rats ManaCost:2 B Types:Creature Rat PT:1/1 -A:AB$ DamageAll | Cost$ X | XColor$ B | NumDmg$ X | ValidCards$ Creature | ValidPlayers$ Player | References$ X | ValidDescription$ each creature and each player. | SpellDescription$ Crypt Rats deals X damage to each creature and each player. Spend only black mana on X. +A:AB$ DamageAll | Cost$ X | XColor$ B | NumDmg$ X | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SpellDescription$ Crypt Rats deals X damage to each creature and each player. Spend only black mana on X. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/crypt_rats.jpg Oracle:{X}: Crypt Rats deals X damage to each creature and each player. Spend only black mana on X. diff --git a/forge-gui/res/cardsfolder/c/cryptic_serpent.txt b/forge-gui/res/cardsfolder/c/cryptic_serpent.txt index 91c7dcd9b9f..20e9be57e6b 100644 --- a/forge-gui/res/cardsfolder/c/cryptic_serpent.txt +++ b/forge-gui/res/cardsfolder/c/cryptic_serpent.txt @@ -2,7 +2,7 @@ Name:Cryptic Serpent ManaCost:5 U U Types:Creature Serpent PT:6/5 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each instant and sorcery card in your graveyard. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each instant and sorcery card in your graveyard. SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn DeckHints:Ability$Graveyard SVar:Picture:http://www.wizards.com/global/images/magic/general/cryptic_serpent.jpg diff --git a/forge-gui/res/cardsfolder/c/culling_dais.txt b/forge-gui/res/cardsfolder/c/culling_dais.txt index cf55ce14936..308d1284916 100644 --- a/forge-gui/res/cardsfolder/c/culling_dais.txt +++ b/forge-gui/res/cardsfolder/c/culling_dais.txt @@ -2,7 +2,7 @@ Name:Culling Dais ManaCost:2 Types:Artifact A:AB$ PutCounter | Cost$ T Sac<1/Creature> | CounterType$ CHARGE | CounterNum$ 1 | SpellDescription$ Put a charge counter on CARDNAME. -A:AB$ Draw | Cost$ 1 Sac<1/CARDNAME> | NumCards$ X | References$ X | SpellDescription$ Draw a card for each charge counter on Culling Dais. +A:AB$ Draw | Cost$ 1 Sac<1/CARDNAME> | NumCards$ X | SpellDescription$ Draw a card for each charge counter on Culling Dais. SVar:X:Count$CardCounters.CHARGE AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/culling_dais.jpg diff --git a/forge-gui/res/cardsfolder/c/cultivator_of_blades.txt b/forge-gui/res/cardsfolder/c/cultivator_of_blades.txt index 6120dc450d0..0d4064d7a9c 100644 --- a/forge-gui/res/cardsfolder/c/cultivator_of_blades.txt +++ b/forge-gui/res/cardsfolder/c/cultivator_of_blades.txt @@ -4,7 +4,7 @@ Types:Creature Elf Artificer PT:1/1 K:Fabricate:2 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPumpAll | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME attacks, you may have other attacking creatures get +X/+X until end of turn, where X is CARDNAME's power. -SVar:TrigPumpAll:DB$ PumpAll | ValidCards$ Creature.attacking+Other | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPumpAll:DB$ PumpAll | ValidCards$ Creature.attacking+Other | NumAtt$ X | NumDef$ X SVar:X:Count$CardPower DeckHas:Ability$Counters & Ability$Token Oracle:Fabricate 2 (When this creature enters the battlefield, put two +1/+1 counters on it or create two 1/1 colorless Servo artifact creature tokens.)\nWhenever Cultivator of Blades attacks, you may have other attacking creatures get +X/+X until end of turn, where X is Cultivator of Blades's power. diff --git a/forge-gui/res/cardsfolder/c/curious_herd.txt b/forge-gui/res/cardsfolder/c/curious_herd.txt index cd4e820631d..92f8f1680f1 100755 --- a/forge-gui/res/cardsfolder/c/curious_herd.txt +++ b/forge-gui/res/cardsfolder/c/curious_herd.txt @@ -2,7 +2,7 @@ Name:Curious Herd ManaCost:3 G Types:Instant A:SP$ Pump | Cost$ 3 G | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | Choices$ Player | SubAbility$ DBToken | StackDescription$ SpellDescription | SpellDescription$ Choose target opponent. You create X 3/3 green Beast creature tokens, where X is the number of artifacts that player controls. -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_3_3_beast | TokenOwner$ You +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ g_3_3_beast | TokenOwner$ You SVar:X:TargetedPlayer$Valid Artifact.YouCtrl DeckHas:Ability$Token Oracle:Choose target opponent. You create X 3/3 green Beast creature tokens, where X is the number of artifacts that player controls. diff --git a/forge-gui/res/cardsfolder/c/curse_of_bloodletting.txt b/forge-gui/res/cardsfolder/c/curse_of_bloodletting.txt index 60dc05aae75..199d98c91f7 100644 --- a/forge-gui/res/cardsfolder/c/curse_of_bloodletting.txt +++ b/forge-gui/res/cardsfolder/c/curse_of_bloodletting.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura Curse K:Enchant player A:SP$ Attach | Cost$ 3 R R | ValidTgts$ Player | AILogic$ Curse R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Player.EnchantedBy | ReplaceWith$ DmgTwice | Description$ If a source would deal damage to enchanted player, it deals double that damage to that player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/curse_of_bloodletting.jpg Oracle:Enchant player\nIf a source would deal damage to enchanted player, it deals double that damage to that player instead. diff --git a/forge-gui/res/cardsfolder/c/curse_of_the_cabal.txt b/forge-gui/res/cardsfolder/c/curse_of_the_cabal.txt index d2a886369b1..224a4e4fb12 100644 --- a/forge-gui/res/cardsfolder/c/curse_of_the_cabal.txt +++ b/forge-gui/res/cardsfolder/c/curse_of_the_cabal.txt @@ -3,9 +3,9 @@ ManaCost:9 B Types:Sorcery K:Suspend:2:2 B B T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ TrigCursePayUP | TriggerZones$ Exile | IsPresent$ Card.suspended+Self | PresentZone$ Exile | TriggerDescription$ At the beginning of each player's upkeep, if CARDNAME is suspended, that player may sacrifice a permanent. If the player does, put two time counters on CARDNAME. -A:SP$ Sacrifice | Cost$ 9 B | ValidTgts$ Player | TgtPrompt$ Select target player | Amount$ CurseX | SacValid$ Permanent | References$ CurseX | SpellDescription$ Target player sacrifices half the permanents they control, rounded down. +A:SP$ Sacrifice | Cost$ 9 B | ValidTgts$ Player | TgtPrompt$ Select target player | Amount$ CurseX | SacValid$ PermanenturseX | SpellDescription$ Target player sacrifices half the permanents they control, rounded down. SVar:TrigCursePayUP:DB$ Sacrifice | Amount$ 1 | SacValid$ Permanent | Defined$ TriggeredPlayer | Optional$ True | AILogic$ OpponentOnly | RememberSacrificed$ True | SubAbility$ DBCursePutCounter -SVar:DBCursePutCounter:DB$ PutCounter | CounterType$ TIME | CounterNum$ 2 | ConditionCheckSVar$ CurseY | ConditionSVarCompare$ GT0 | SubAbility$ DBCurseCleanup | References$ CurseY +SVar:DBCursePutCounter:DB$ PutCounter | CounterType$ TIME | CounterNum$ 2 | ConditionCheckSVar$ CurseY | ConditionSVarCompare$ GT0 | SubAbility$ DBCurseCleanup SVar:DBCurseCleanup:DB$ Cleanup | ClearRemembered$ True SVar:CurseX:TargetedPlayer$Valid Permanent.YouCtrl/HalfDown SVar:CurseY:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/c/curse_of_the_swine.txt b/forge-gui/res/cardsfolder/c/curse_of_the_swine.txt index 1d462f87dae..3d804dc9844 100644 --- a/forge-gui/res/cardsfolder/c/curse_of_the_swine.txt +++ b/forge-gui/res/cardsfolder/c/curse_of_the_swine.txt @@ -1,7 +1,7 @@ Name:Curse of the Swine ManaCost:X U U Types:Sorcery -A:SP$ ChangeZone | Cost$ X U U | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | TargetMin$ X | TargetMax$ X | References$ X | Origin$ Battlefield | Destination$ Exile | RememberLKI$ True | SubAbility$ DBToken | StackDescription$ Exile {c:Targeted}. For each creature exiled this way, its controller creates a 2/2 green Boar creature token. | SpellDescription$ Exile X target creatures. For each creature exiled this way, its controller creates a 2/2 green Boar creature token. +A:SP$ ChangeZone | Cost$ X U U | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | TargetMin$ X | TargetMax$ X | Origin$ Battlefield | Destination$ Exile | RememberLKI$ True | SubAbility$ DBToken | StackDescription$ Exile {c:Targeted}. For each creature exiled this way, its controller creates a 2/2 green Boar creature token. | SpellDescription$ Exile X target creatures. For each creature exiled this way, its controller creates a 2/2 green Boar creature token. SVar:DBToken:DB$ RepeatEach | UseImprinted$ True | DefinedCards$ DirectRemembered | RepeatSubAbility$ TokenBoar | SubAbility$ DBCleanup | ChangeZoneTable$ True SVar:TokenBoar:DB$ Token | TokenAmount$ 1 | TokenScript$ g_2_2_boar | TokenOwner$ ImprintedController SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/c/curse_of_thirst.txt b/forge-gui/res/cardsfolder/c/curse_of_thirst.txt index 3db0900e93c..45a24a546c3 100644 --- a/forge-gui/res/cardsfolder/c/curse_of_thirst.txt +++ b/forge-gui/res/cardsfolder/c/curse_of_thirst.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura Curse K:Enchant player A:SP$ Attach | Cost$ 4 B | ValidTgts$ Player | AILogic$ Curse T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.EnchantedBy | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of enchanted player's upkeep, CARDNAME deals damage to that player equal to the number of Curses attached to them. -SVar:TrigDamage:DB$ DealDamage | Defined$ EnchantedPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ EnchantedPlayer | NumDmg$ X SVar:X:Count$Valid Curse.AttachedTo Player.EnchantedBy SVar:Picture:http://www.wizards.com/global/images/magic/general/curse_of_thirst.jpg Oracle:Enchant player\nAt the beginning of enchanted player's upkeep, Curse of Thirst deals damage to that player equal to the number of Curses attached to them. diff --git a/forge-gui/res/cardsfolder/c/curse_of_vengeance.txt b/forge-gui/res/cardsfolder/c/curse_of_vengeance.txt index 2f800c95343..592666f2c1f 100644 --- a/forge-gui/res/cardsfolder/c/curse_of_vengeance.txt +++ b/forge-gui/res/cardsfolder/c/curse_of_vengeance.txt @@ -6,8 +6,8 @@ A:SP$ Attach | Cost$ B | ValidTgts$ Player | AILogic$ Curse T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ Player.EnchantedBy | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted player casts a spell, put a spite counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ SPITE | CounterNum$ 1 T:Mode$ LosesGame | ValidPlayer$ Player.EnchantedBy | Execute$ TrigGainLife | TriggerDescription$ When enchanted player loses the game, you gain X life and draw X cards, where X is the number of spite counters on CARDNAME. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:Count$CardCounters.SPITE DeckHas:Ability$Counters & Ability$LifeGain Oracle:Enchant player\nWhenever enchanted player casts a spell, put a spite counter on Curse of Vengeance.\nWhen enchanted player loses the game, you gain X life and draw X cards, where X is the number of spite counters on Curse of Vengeance. diff --git a/forge-gui/res/cardsfolder/c/custodi_soulcaller.txt b/forge-gui/res/cardsfolder/c/custodi_soulcaller.txt index 84746f92ced..1d8b07b3ec1 100644 --- a/forge-gui/res/cardsfolder/c/custodi_soulcaller.txt +++ b/forge-gui/res/cardsfolder/c/custodi_soulcaller.txt @@ -4,6 +4,6 @@ Types:Creature Human Cleric PT:1/2 K:Melee T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigSoulcall | TriggerDescription$ Whenever CARDNAME attacks, return target creature card with converted mana cost X or less from your graveyard to the battlefield, where X is the number of players you attacked this combat. -SVar:TrigSoulcall:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouCtrl+cmcLEX | References$ X +SVar:TrigSoulcall:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouCtrl+cmcLEX SVar:X:TriggeredPlayersDefenders$Amount Oracle:Melee (Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked this combat.)\nWhenever Custodi Soulcaller attacks, return target creature card with converted mana cost X or less from your graveyard to the battlefield, where X is the number of players you attacked this combat. diff --git a/forge-gui/res/cardsfolder/c/cut_ribbons.txt b/forge-gui/res/cardsfolder/c/cut_ribbons.txt index 364934a5ead..a1b813a7c4c 100644 --- a/forge-gui/res/cardsfolder/c/cut_ribbons.txt +++ b/forge-gui/res/cardsfolder/c/cut_ribbons.txt @@ -12,6 +12,6 @@ Name:Ribbons ManaCost:X B B Types:Sorcery K:Aftermath -A:SP$ LoseLife | Cost$ X B B | Defined$ Player.Opponent | LifeAmount$ X | References$ X | SpellDescription$ Each opponent loses X life. +A:SP$ LoseLife | Cost$ X B B | Defined$ Player.Opponent | LifeAmount$ X | SpellDescription$ Each opponent loses X life. SVar:X:Count$xPaid Oracle:Aftermath (Cast this spell only from your graveyard. Then exile it.)\nEach opponent loses X life. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/c/cyclone.txt b/forge-gui/res/cardsfolder/c/cyclone.txt index b6dc112c039..6cc92df5411 100644 --- a/forge-gui/res/cardsfolder/c/cyclone.txt +++ b/forge-gui/res/cardsfolder/c/cyclone.txt @@ -3,8 +3,8 @@ ManaCost:2 G G Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a wind counter on CARDNAME, then sacrifice CARDNAME unless you pay {G} for each wind counter on it. If you pay, CARDNAME deals damage equal to the number of wind counters on it to each creature and each player. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ WIND | CounterNum$ 1 | SubAbility$ SacSelf -SVar:SacSelf:DB$ Sacrifice | Defined$ Card.Self | UnlessCost$ X | UnlessXColor$ G | UnlessPayer$ You | UnlessResolveSubs$ WhenPaid | SubAbility$ DBDamageAll | References$ X -SVar:DBDamageAll:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature | ValidPlayers$ Player | References$ X +SVar:SacSelf:DB$ Sacrifice | Defined$ Card.Self | UnlessCost$ X | UnlessXColor$ G | UnlessPayer$ You | UnlessResolveSubs$ WhenPaid | SubAbility$ DBDamageAll +SVar:DBDamageAll:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature | ValidPlayers$ Player SVar:X:Count$CardCounters.WIND AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/cyclone.jpg diff --git a/forge-gui/res/cardsfolder/c/cyclops_electromancer.txt b/forge-gui/res/cardsfolder/c/cyclops_electromancer.txt index eaa9496868b..abe6688a4bc 100644 --- a/forge-gui/res/cardsfolder/c/cyclops_electromancer.txt +++ b/forge-gui/res/cardsfolder/c/cyclops_electromancer.txt @@ -3,6 +3,6 @@ ManaCost:4 R Types:Creature Cyclops Wizard PT:4/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals X damage to target creature an opponent controls, where X is the number of instant and sorcery cards in your graveyard. -SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn Oracle:When Cyclops Electromancer enters the battlefield, it deals X damage to target creature an opponent controls, where X is the number of instant and sorcery cards in your graveyard. diff --git a/forge-gui/res/cardsfolder/c/cyclops_gladiator.txt b/forge-gui/res/cardsfolder/c/cyclops_gladiator.txt index a8cfd8b4232..755e73d41df 100644 --- a/forge-gui/res/cardsfolder/c/cyclops_gladiator.txt +++ b/forge-gui/res/cardsfolder/c/cyclops_gladiator.txt @@ -3,8 +3,8 @@ ManaCost:1 R R R Types:Creature Cyclops Warrior PT:4/4 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigExchangeDamage | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME attacks, you may have it deal damage equal to its power to target creature defending player controls. If you do, that creature deals damage equal to its power to CARDNAME. -SVar:TrigExchangeDamage:DB$DealDamage | ValidTgts$ Creature.DefenderCtrl | TgtPrompt$ Select target creature defending player controls. | NumDmg$ MyX | SubAbility$ ReturnDmg | References$ MyX -SVar:ReturnDmg:DB$DealDamage | DamageSource$ Targeted | NumDmg$ TheirX | References$ TheirX +SVar:TrigExchangeDamage:DB$DealDamage | ValidTgts$ Creature.DefenderCtrl | TgtPrompt$ Select target creature defending player controls. | NumDmg$ MyX | SubAbility$ ReturnDmg +SVar:ReturnDmg:DB$DealDamage | DamageSource$ Targeted | NumDmg$ TheirX SVar:MyX:Count$CardPower SVar:TheirX:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/cyclops_gladiator.jpg diff --git a/forge-gui/res/cardsfolder/d/dakkon_blackblade.txt b/forge-gui/res/cardsfolder/d/dakkon_blackblade.txt index 4600da86233..b42ca473895 100644 --- a/forge-gui/res/cardsfolder/d/dakkon_blackblade.txt +++ b/forge-gui/res/cardsfolder/d/dakkon_blackblade.txt @@ -2,7 +2,7 @@ Name:Dakkon Blackblade ManaCost:2 W U U B Types:Legendary Creature Human Warrior PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. SVar:X:Count$Valid Land.YouCtrl SVar:BuffedBy:Land SVar:Picture:http://www.wizards.com/global/images/magic/general/dakkon_blackblade.jpg diff --git a/forge-gui/res/cardsfolder/d/damia_sage_of_stone.txt b/forge-gui/res/cardsfolder/d/damia_sage_of_stone.txt index c6071e72935..f068862171e 100644 --- a/forge-gui/res/cardsfolder/d/damia_sage_of_stone.txt +++ b/forge-gui/res/cardsfolder/d/damia_sage_of_stone.txt @@ -5,7 +5,7 @@ PT:4/4 K:Deathtouch S:Mode$ Continuous | Affected$ You | AddKeyword$ Skip your draw step. | Description$ Skip your draw step. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ LT7 | Execute$ TrigDraw | TriggerDescription$ At the beginning of your upkeep, if you have fewer than seven cards in hand, draw cards equal to the difference. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ Difference | References$ X,Difference +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ Difference SVar:X:Count$InYourHand SVar:Difference:Number$7/Minus.X SVar:Picture:http://www.wizards.com/global/images/magic/general/damia_sage_of_stone.jpg diff --git a/forge-gui/res/cardsfolder/d/damnable_pact.txt b/forge-gui/res/cardsfolder/d/damnable_pact.txt index 0dda630d341..8a2cd78095a 100644 --- a/forge-gui/res/cardsfolder/d/damnable_pact.txt +++ b/forge-gui/res/cardsfolder/d/damnable_pact.txt @@ -1,8 +1,8 @@ Name:Damnable Pact ManaCost:X B B Types:Sorcery -A:SP$ Draw | Cost$ X B B | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | References$ X | SubAbility$ DBLoseLife | SpellDescription$ Target player draws X cards and loses X life. -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X | Defined$ Targeted +A:SP$ Draw | Cost$ X B B | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | SubAbility$ DBLoseLife | SpellDescription$ Target player draws X cards and loses X life. +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ Targeted SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/damnable_pact.jpg Oracle:Target player draws X cards and loses X life. diff --git a/forge-gui/res/cardsfolder/d/dance_of_the_manse.txt b/forge-gui/res/cardsfolder/d/dance_of_the_manse.txt index 22e5c08f593..f14ee86f3ae 100644 --- a/forge-gui/res/cardsfolder/d/dance_of_the_manse.txt +++ b/forge-gui/res/cardsfolder/d/dance_of_the_manse.txt @@ -2,7 +2,7 @@ Name:Dance of the Manse ManaCost:X W U Types:Sorcery A:SP$ ChangeZone | Cost$ X W U | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Artifact.cmcLEX+YouOwn,Enchantment.cmcLEX+YouOwn+nonAura | TgtPrompt$ Select target artifact or non-Aura enchantment in your graveyard | TargetMin$ 0 | TargetMax$ X | AnimateSubAbility$ DBAnimate | SpellDescription$ Return up to X target artifact and/or non-Aura enchantment cards with converted mana cost X or less from your graveyard to the battlefield. If X is 6 or more, those permanents are 4/4 creatures in addition to their other types. -SVar:DBAnimate:DB$ Animate | Defined$ Remembered | Types$ Creature | Power$ 4 | Toughness$ 4 | Permanent$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE6 | References$ X +SVar:DBAnimate:DB$ Animate | Defined$ Remembered | Types$ Creature | Power$ 4 | Toughness$ 4 | Permanent$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE6 SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Return up to X target artifact and/or non-Aura enchantment cards each with converted mana cost X or less from your graveyard to the battlefield. If X is 6 or more, those permanents are 4/4 creatures in addition to their other types. diff --git a/forge-gui/res/cardsfolder/d/daretti_scrap_savant.txt b/forge-gui/res/cardsfolder/d/daretti_scrap_savant.txt index 954920305f1..de9ab4326f4 100644 --- a/forge-gui/res/cardsfolder/d/daretti_scrap_savant.txt +++ b/forge-gui/res/cardsfolder/d/daretti_scrap_savant.txt @@ -4,11 +4,11 @@ Types:Legendary Planeswalker Daretti Loyalty:3 Text:CARDNAME can be your commander. A:AB$ Discard | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | NumCards$ 2 | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBDraw | SpellDescription$ Discard up to two cards, then draw that many cards. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount A:AB$ Sacrifice | Cost$ SubCounter<2/LOYALTY> | SacValid$ Artifact | RememberSacrificed$ True | StackDescription$ SpellDescription | Planeswalker$ True | SubAbility$ DBChangeZone | SpellDescription$ Sacrifice an artifact. If you do, return target artifact card from your graveyard to the battlefield. -SVar:DBChangeZone:DB$ ChangeZone | ValidTgts$ Artifact.YouCtrl | TgtPrompt$ Select target artifact card in your graveyard | Origin$ Graveyard | Destination$ Battlefield | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | StackDescription$ None | SubAbility$ DBCleanup +SVar:DBChangeZone:DB$ ChangeZone | ValidTgts$ Artifact.YouCtrl | TgtPrompt$ Select target artifact card in your graveyard | Origin$ Graveyard | Destination$ Battlefield | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | StackDescription$ None | SubAbility$ DBCleanup A:AB$ Effect | Cost$ SubCounter<10/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Daretti, Scrap Savant | Image$ Emblem_daretti_scrap_savant | Stackable$ False | Triggers$ TrigChangesZone | SVars$ DelTrigReturn,DBReturn | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "Whenever an artifact is put into your graveyard from the battlefield, return that card to the battlefield at the beginning of the next end step." SVar:TrigChangesZone:Mode$ ChangesZone | ValidCard$ Artifact.YouOwn | Origin$ Battlefield | Destination$ Graveyard | Execute$ DelTrigReturn | TriggerZones$ Command | TriggerDescription$ Whenever an artifact is put into your graveyard from the battlefield, return that card to the battlefield at the beginning of the next end step. SVar:DelTrigReturn:DB$ DelayedTrigger | Mode$ Phase | Phase$ End Of Turn | Execute$ DBReturn | RememberObjects$ TriggeredNewCardLKICopy | TriggerDescription$ Return that card to the battlefield at the beginning of the next end step. diff --git a/forge-gui/res/cardsfolder/d/dargo_the_shipwrecker.txt b/forge-gui/res/cardsfolder/d/dargo_the_shipwrecker.txt index d343d7aba23..00ad16407d4 100755 --- a/forge-gui/res/cardsfolder/d/dargo_the_shipwrecker.txt +++ b/forge-gui/res/cardsfolder/d/dargo_the_shipwrecker.txt @@ -2,9 +2,9 @@ Name:Dargo, the Shipwrecker ManaCost:6 R Types:Legendary Creature Giant Pirate PT:7/5 -A:SP$ PermanentCreature | Cost$ 6 R Sac | AILogic$ SacToReduceCost | References$ X,Y | CostDesc$ As an additional cost to cast this spell, you may sacrifice any number of artifacts and/or creatures. | SpellDescription$ -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ Y | EffectZone$ All | References$ Y | Relative$ True | Description$ This spell costs {2} less to cast for each permanent sacrificed this way and {2} less to cast for each other artifact or creature you've sacrificed this turn. -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ Z | EffectZone$ All | References$ Z | Secondary$ True | Description$ This spell costs {2} less to cast for each permanent sacrificed this way and {2} less to cast for each other artifact or creature you've sacrificed this turn. +A:SP$ PermanentCreature | Cost$ 6 R Sac | AILogic$ SacToReduceCost | CostDesc$ As an additional cost to cast this spell, you may sacrifice any number of artifacts and/or creatures. | SpellDescription$ +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ Y | EffectZone$ All | Relative$ True | Description$ This spell costs {2} less to cast for each permanent sacrificed this way and {2} less to cast for each other artifact or creature you've sacrificed this turn. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ Z | EffectZone$ All | Secondary$ True | Description$ This spell costs {2} less to cast for each permanent sacrificed this way and {2} less to cast for each other artifact or creature you've sacrificed this turn. SVar:X:Count$xPaid SVar:Y:SVar$X/Times.2 SVar:Z:Count$SacrificedThisTurn Artifact,Creature/Times.2 diff --git a/forge-gui/res/cardsfolder/d/darien_king_of_kjeldor.txt b/forge-gui/res/cardsfolder/d/darien_king_of_kjeldor.txt index e26d03ee067..45c873bb26b 100644 --- a/forge-gui/res/cardsfolder/d/darien_king_of_kjeldor.txt +++ b/forge-gui/res/cardsfolder/d/darien_king_of_kjeldor.txt @@ -3,7 +3,7 @@ ManaCost:4 W W Types:Legendary Creature Human Soldier PT:3/3 T:Mode$ DamageDoneOnce | Execute$ TrigToken | ValidTarget$ You | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever you're dealt damage, you may create that many 1/1 white Soldier creature tokens. -SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier csp | References$ X +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier csp SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/darien_king_of_kjeldor.jpg Oracle:Whenever you're dealt damage, you may create that many 1/1 white Soldier creature tokens. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/d/darigaaz_the_igniter.txt b/forge-gui/res/cardsfolder/d/darigaaz_the_igniter.txt index 09228302b39..d254f746994 100644 --- a/forge-gui/res/cardsfolder/d/darigaaz_the_igniter.txt +++ b/forge-gui/res/cardsfolder/d/darigaaz_the_igniter.txt @@ -6,7 +6,7 @@ K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | OptionalDecider$ You | Execute$ TrigChooseColor | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may pay {2}{R}. If you do, choose a color, then that player reveals their hand and Darigaaz deals damage to the player equal to the number of cards of that color revealed this way. SVar:TrigChooseColor:AB$ ChooseColor | Cost$ 2 R | Defined$ You | AILogic$ MostProminentInHumanDeck | SubAbility$ DBRevealHand SVar:DBRevealHand:DB$ RevealHand | Defined$ TriggeredTarget | RememberRevealed$ True | SubAbility$ DBDamage -SVar:DBDamage:DB$ DealDamage | Defined$ TriggeredTarget | NumDmg$ X | SubAbility$ DBCleanup | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ TriggeredTarget | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Card.ChosenColor SVar:Picture:http://www.wizards.com/global/images/magic/general/darigaaz_the_igniter.jpg diff --git a/forge-gui/res/cardsfolder/d/dark_confidant.txt b/forge-gui/res/cardsfolder/d/dark_confidant.txt index 4d8696fd6bb..b454aaf0e79 100644 --- a/forge-gui/res/cardsfolder/d/dark_confidant.txt +++ b/forge-gui/res/cardsfolder/d/dark_confidant.txt @@ -4,7 +4,7 @@ Types:Creature Human Wizard PT:2/1 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ At the beginning of your upkeep, reveal the top card of your library and put that card into your hand. You lose life equal to its converted mana cost. SVar:TrigDig:DB$Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | RememberChanged$ True | SubAbility$ DBLose -SVar:DBLose:DB$LoseLife | LifeAmount$ X | SubAbility$ DBCleanup | References$ X +SVar:DBLose:DB$LoseLife | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/dark_confidant.jpg diff --git a/forge-gui/res/cardsfolder/d/dark_dabbling.txt b/forge-gui/res/cardsfolder/d/dark_dabbling.txt index cfd45af1915..fde0ffcac1d 100644 --- a/forge-gui/res/cardsfolder/d/dark_dabbling.txt +++ b/forge-gui/res/cardsfolder/d/dark_dabbling.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Instant A:SP$ Regenerate | Cost$ 2 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBDraw | SpellDescription$ Regenerate target creature. Draw a card. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, also regenerate each other creature you control. SVar:DBDraw:DB$ Draw | NumCards$ 1 | SubAbility$ DBRegenerate -SVar:DBRegenerate:DB$ Regenerate | Defined$ Targeted.Other+YouCtrl+Creature | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X +SVar:DBRegenerate:DB$ Regenerate | Defined$ Targeted.Other+YouCtrl+Creature | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/dark_dabbling.jpg Oracle:Regenerate target creature. Draw a card. (The next time the creature would be destroyed this turn, it isn't. Instead tap it, remove all damage from it, and remove it from combat.)\nSpell mastery — If there are two or more instant and/or sorcery cards in your graveyard, also regenerate each other creature you control. diff --git a/forge-gui/res/cardsfolder/d/dark_deal.txt b/forge-gui/res/cardsfolder/d/dark_deal.txt index 47121c4c2c0..cd94fb78af1 100644 --- a/forge-gui/res/cardsfolder/d/dark_deal.txt +++ b/forge-gui/res/cardsfolder/d/dark_deal.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Sorcery A:SP$ RepeatEach | Cost$ 2 B | RepeatPlayers$ Player | RepeatSubAbility$ DBDiscard | SpellDescription$ Each player discards all the cards in their hand, then draws that many cards minus one. SVar:DBDiscard:DB$ Discard | Defined$ Player.IsRemembered | Mode$ Hand | RememberDiscarded$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ Player.IsRemembered | References$ X | SubAbility$ CleanDrawn +SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ Player.IsRemembered | SubAbility$ CleanDrawn SVar:CleanDrawn:DB$ Cleanup | ClearRemembered$ True # This calculation isn't considering the remembered player, only the remembered cards? SVar:X:Remembered$Amount.Minus.1 diff --git a/forge-gui/res/cardsfolder/d/dark_petition.txt b/forge-gui/res/cardsfolder/d/dark_petition.txt index c9e04c820f2..43559e5a5b4 100644 --- a/forge-gui/res/cardsfolder/d/dark_petition.txt +++ b/forge-gui/res/cardsfolder/d/dark_petition.txt @@ -2,7 +2,7 @@ Name:Dark Petition ManaCost:3 B B Types:Sorcery A:SP$ ChangeZone | Cost$ 3 B B | Origin$ Library | Destination$ Hand | ChangeType$ Card | ChangeNum$ 1 | Mandatory$ True | SubAbility$ DBMana | SpellDescription$ Search your library for a card and put that card into your hand. Then shuffle your library. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, add {B}{B}{B}. -SVar:DBMana:DB$ Mana | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE2 | Produced$ B | Amount$ 3 +SVar:DBMana:DB$ Mana | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | Produced$ B | Amount$ 3 SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn #TODO: Improve the tutoring logic for the AI. Currently will generally look for the most expensive castable thing in the library (which can, of course, be used to advantage in properly constructed AI decks). AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/d/dark_salvation.txt b/forge-gui/res/cardsfolder/d/dark_salvation.txt index 34aed90988b..da344a92717 100644 --- a/forge-gui/res/cardsfolder/d/dark_salvation.txt +++ b/forge-gui/res/cardsfolder/d/dark_salvation.txt @@ -1,8 +1,8 @@ Name:Dark Salvation ManaCost:X X B Types:Sorcery -A:SP$ Token | Cost$ X X B | ValidTgts$ Player | TgtPrompt$ Select target player. | TokenAmount$ X | References$ X | TokenScript$ b_2_2_zombie | TokenOwner$ TargetedPlayer | LegacyImage$ b 2 2 zombie emn | SubAbility$ DBPump | StackDescription$ SpellDescription | SpellDescription$ Target player creates X 2/2 black Zombie creature tokens, then up to one target creature gets -1/-1 until end of turn for each Zombie that player controls. -SVar:DBPump:DB$ Pump | NumAtt$ -Y | NumDef$ -Y | References$ Y | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target creature. | IsCurse$ True +A:SP$ Token | Cost$ X X B | ValidTgts$ Player | TgtPrompt$ Select target player. | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenOwner$ TargetedPlayer | LegacyImage$ b 2 2 zombie emn | SubAbility$ DBPump | StackDescription$ SpellDescription | SpellDescription$ Target player creates X 2/2 black Zombie creature tokens, then up to one target creature gets -1/-1 until end of turn for each Zombie that player controls. +SVar:DBPump:DB$ Pump | NumAtt$ -Y | NumDef$ -Y | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target creature. | IsCurse$ True SVar:X:Count$xPaid SVar:Y:Count$Valid Zombie.TargetedPlayerCtrl DeckHints:Type$Zombie diff --git a/forge-gui/res/cardsfolder/d/dark_suspicions.txt b/forge-gui/res/cardsfolder/d/dark_suspicions.txt index 04c7a5d6a04..3dea062d0dc 100644 --- a/forge-gui/res/cardsfolder/d/dark_suspicions.txt +++ b/forge-gui/res/cardsfolder/d/dark_suspicions.txt @@ -2,7 +2,7 @@ Name:Dark Suspicions ManaCost:2 B B Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Opponent | Execute$ TrigLoseLife | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each opponent's upkeep, that player loses X life, where X is the number of cards in that player's hand minus the number of cards in your hand. -SVar:TrigLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ TriggeredPlayer | References$ A,B,X +SVar:TrigLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ TriggeredPlayer SVar:A:Count$InYourHand SVar:B:TriggeredPlayer$CardsInHand SVar:X:SVar$B/Minus.A diff --git a/forge-gui/res/cardsfolder/d/dark_tutelage.txt b/forge-gui/res/cardsfolder/d/dark_tutelage.txt index e507eca6372..b4c82e4b31e 100644 --- a/forge-gui/res/cardsfolder/d/dark_tutelage.txt +++ b/forge-gui/res/cardsfolder/d/dark_tutelage.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ At the beginning of your upkeep, reveal the top card of your library and put that card into your hand. You lose life equal to its converted mana cost. SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | RememberChanged$ True | SubAbility$ DBLose -SVar:DBLose:DB$LoseLife | LifeAmount$ X | SubAbility$ DBCleanup | References$ X +SVar:DBLose:DB$LoseLife | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/d/darkslick_shores.txt b/forge-gui/res/cardsfolder/d/darkslick_shores.txt index a3c20400891..2685a83a145 100644 --- a/forge-gui/res/cardsfolder/d/darkslick_shores.txt +++ b/forge-gui/res/cardsfolder/d/darkslick_shores.txt @@ -2,7 +2,7 @@ Name:Darkslick Shores ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. SVar:ETBCheckSVar2:Count$LastStateBattlefield Land.YouCtrl A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}. A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add {U}. diff --git a/forge-gui/res/cardsfolder/d/darksteel_juggernaut.txt b/forge-gui/res/cardsfolder/d/darksteel_juggernaut.txt index 26fbe0e80a9..760a33a6bd9 100644 --- a/forge-gui/res/cardsfolder/d/darksteel_juggernaut.txt +++ b/forge-gui/res/cardsfolder/d/darksteel_juggernaut.txt @@ -4,7 +4,7 @@ Types:Artifact Creature Juggernaut PT:*/* K:Indestructible K:CARDNAME attacks each combat if able. -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of artifacts you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of artifacts you control. SVar:X:Count$Valid Artifact.YouCtrl SVar:BuffedBy:Artifact SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/d/daru_stinger.txt b/forge-gui/res/cardsfolder/d/daru_stinger.txt index 06bb6c1fb36..ab1c7ab92f8 100644 --- a/forge-gui/res/cardsfolder/d/daru_stinger.txt +++ b/forge-gui/res/cardsfolder/d/daru_stinger.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Soldier PT:1/1 K:Amplify:1:Soldier -A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the number of +1/+1 counters on it to target attacking or blocking creature. +A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the number of +1/+1 counters on it to target attacking or blocking creature. SVar:X:Count$CardCounters.P1P1 SVar:Picture:http://www.wizards.com/global/images/magic/general/daru_stinger.jpg Oracle:Amplify 1 (As this creature enters the battlefield, put a +1/+1 counter on it for each Soldier card you reveal in your hand.)\n{T}: Daru Stinger deals damage equal to the number of +1/+1 counters on it to target attacking or blocking creature. diff --git a/forge-gui/res/cardsfolder/d/daughter_of_autumn.txt b/forge-gui/res/cardsfolder/d/daughter_of_autumn.txt index 892fba35b48..400a1015526 100644 --- a/forge-gui/res/cardsfolder/d/daughter_of_autumn.txt +++ b/forge-gui/res/cardsfolder/d/daughter_of_autumn.txt @@ -2,7 +2,7 @@ Name:Daughter of Autumn ManaCost:2 G G Types:Legendary Creature Avatar PT:2/4 -A:AB$ Effect | Cost$ W | Name$ Daughter of Autumn's Effect | ValidTgts$ Creature.White | TgtPrompt$ Select target white creature to redirect damage from | ReplacementEffects$ DamageEvent | SVars$ DamageEventDmg | References$ DamageEvent,DamageEventDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to target white creature this turn is dealt to CARDNAME instead. +A:AB$ Effect | Cost$ W | Name$ Daughter of Autumn's Effect | ValidTgts$ Creature.White | TgtPrompt$ Select target white creature to redirect damage from | ReplacementEffects$ DamageEvent | SVars$ DamageEventDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to target white creature this turn is dealt to CARDNAME instead. SVar:DamageEvent:Event$ DamageDone | ValidTarget$ Creature.IsRemembered | ReplaceWith$ DamageEventDmg | DamageTarget$ EffectSource | Description$ The next 1 damage that would be dealt to target white creature this turn is dealt to EFFECTSOURCE instead. SVar:DamageEventDmg:DB$ ReplaceSplitDamage | DamageTarget$ EffectSource AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/d/dauntless_dourbark.txt b/forge-gui/res/cardsfolder/d/dauntless_dourbark.txt index b666aeb273d..f24fa19d60a 100644 --- a/forge-gui/res/cardsfolder/d/dauntless_dourbark.txt +++ b/forge-gui/res/cardsfolder/d/dauntless_dourbark.txt @@ -2,7 +2,7 @@ Name:Dauntless Dourbark ManaCost:3 G Types:Creature Treefolk Warrior PT:*/* -S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X, FOREST, OtherTREEFOLK | Description$ CARDNAME's power and toughness are each equal to the number of Forests you control plus the number of Treefolk you control. +S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Forests you control plus the number of Treefolk you control. S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Trample | CheckSVar$ OtherTREEFOLK | SVarCompare$ GE1 | Description$ CARDNAME has trample as long as you control another Treefolk. SVar:X:Count$Valid Treefolk.YouCtrl/Plus.FOREST SVar:FOREST:Count$Valid Forest.YouCtrl diff --git a/forge-gui/res/cardsfolder/d/dauntless_unity.txt b/forge-gui/res/cardsfolder/d/dauntless_unity.txt index c8bf3c1ae5c..7abd7f43580 100755 --- a/forge-gui/res/cardsfolder/d/dauntless_unity.txt +++ b/forge-gui/res/cardsfolder/d/dauntless_unity.txt @@ -2,6 +2,6 @@ Name:Dauntless Unity ManaCost:1 W Types:Instant K:Kicker:1 W -A:SP$ PumpAll | Cost$ 1 W | ValidCards$ Creature.YouCtrl | NumAtt$ X | NumDef$ 1 | References$ X | SpellDescription$ Creatures you control get +1/+1 until end of turn. If this spell was kicked, those creatures get +2/+1 until end of turn instead. +A:SP$ PumpAll | Cost$ 1 W | ValidCards$ Creature.YouCtrl | NumAtt$ X | NumDef$ 1 | SpellDescription$ Creatures you control get +1/+1 until end of turn. If this spell was kicked, those creatures get +2/+1 until end of turn instead. SVar:X:Count$Kicked.2.1 Oracle:Kicker {1}{W} (You may pay an additional {1}{W} as you cast this spell.)\nCreatures you control get +1/+1 until end of turn. If this spell was kicked, those creatures get +2/+1 until end of turn instead. diff --git a/forge-gui/res/cardsfolder/d/dawnglow_infusion.txt b/forge-gui/res/cardsfolder/d/dawnglow_infusion.txt index 445532524f3..c41b74c1a8a 100644 --- a/forge-gui/res/cardsfolder/d/dawnglow_infusion.txt +++ b/forge-gui/res/cardsfolder/d/dawnglow_infusion.txt @@ -1,8 +1,8 @@ Name:Dawnglow Infusion ManaCost:X GW Types:Sorcery -A:SP$ GainLife | Cost$ X GW | LifeAmount$ X | References$ X | ConditionManaSpent$ G | SubAbility$ WPaid | SpellDescription$ You gain X life if {G} was spent to cast this spell and X life if {W} was spent to cast this spell. (Do both if {G}{W} was spent.) -SVar:WPaid:DB$GainLife | LifeAmount$ X | References$ X | ConditionManaSpent$ W +A:SP$ GainLife | Cost$ X GW | LifeAmount$ X | ConditionManaSpent$ G | SubAbility$ WPaid | SpellDescription$ You gain X life if {G} was spent to cast this spell and X life if {W} was spent to cast this spell. (Do both if {G}{W} was spent.) +SVar:WPaid:DB$GainLife | LifeAmount$ X | ConditionManaSpent$ W SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/dawnglow_infusion.jpg Oracle:You gain X life if {G} was spent to cast this spell and X life if {W} was spent to cast this spell. (Do both if {G}{W} was spent.) diff --git a/forge-gui/res/cardsfolder/d/daxos_of_meletis.txt b/forge-gui/res/cardsfolder/d/daxos_of_meletis.txt index a0894713088..799cc56feb3 100644 --- a/forge-gui/res/cardsfolder/d/daxos_of_meletis.txt +++ b/forge-gui/res/cardsfolder/d/daxos_of_meletis.txt @@ -5,7 +5,7 @@ PT:2/2 K:CantBeBlockedBy Creature.powerGE3 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, exile the top card of that player's library. You gain life equal to that card's converted mana cost. Until end of turn, you may cast that card and you may spend mana as though it were mana of any color to cast that spell. SVar:TrigExile:DB$ Dig | Defined$ TriggeredTarget | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBEffect +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBEffect SVar:X:Remembered$CardManaCost SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | ForgetOnMoved$ Exile | RememberObjects$ Remembered | SubAbility$ DBCleanup SVar:STPlay:Mode$ Continuous | MayPlay$ True | MayPlayIgnoreColor$ True | EffectZone$ Command | Affected$ Card.IsRemembered+nonLand | AffectedZone$ Exile | Description$ Until end of turn, you may cast that card and you may spend mana as though it were mana of any color to cast that spell. diff --git a/forge-gui/res/cardsfolder/d/day_of_the_dragons.txt b/forge-gui/res/cardsfolder/d/day_of_the_dragons.txt index d7e9d9c604a..d0de8922b9e 100644 --- a/forge-gui/res/cardsfolder/d/day_of_the_dragons.txt +++ b/forge-gui/res/cardsfolder/d/day_of_the_dragons.txt @@ -5,7 +5,7 @@ T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefi T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Any | Execute$ TrigSacrifice | Secondary$ True | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, sacrifice all Dragons you control. Then return the exiled cards to the battlefield under your control. SVar:TrigExile:DB$ChangeZoneAll | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | ForgetOtherRemembered$ True | ChangeType$ Creature.YouCtrl | SubAbility$ DBToken SVar:TrigSacrifice:DB$SacrificeAll | ValidCards$ Dragon.YouCtrl | SubAbility$ DBReturn -SVar:DBToken:DB$Token | TokenAmount$ X | TokenScript$ r_5_5_dragon_flying | TokenOwner$ You | LegacyImage$ r 5 5 dragon flying scg | References$ X +SVar:DBToken:DB$Token | TokenAmount$ X | TokenScript$ r_5_5_dragon_flying | TokenOwner$ You | LegacyImage$ r 5 5 dragon flying scg SVar:DBReturn:DB$ChangeZoneAll | Origin$ Exile | Destination$ Battlefield | ChangeType$ Card.IsRemembered SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/day_of_the_dragons.jpg diff --git a/forge-gui/res/cardsfolder/d/daybreak_chimera.txt b/forge-gui/res/cardsfolder/d/daybreak_chimera.txt index 700dd8df6cd..f2555cd7b6a 100644 --- a/forge-gui/res/cardsfolder/d/daybreak_chimera.txt +++ b/forge-gui/res/cardsfolder/d/daybreak_chimera.txt @@ -2,7 +2,7 @@ Name:Daybreak Chimera ManaCost:3 W W Types:Creature Chimera PT:3/3 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {X} less to cast, where X is your devotion to white. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {X} less to cast, where X is your devotion to white. SVar:X:Count$Devotion.White K:Flying Oracle:This spell costs {X} less to cast, where X is your devotion to white. (Each {W} in the mana costs of permanents you control counts toward your devotion to white.)\nFlying diff --git a/forge-gui/res/cardsfolder/d/dead_mans_chest.txt b/forge-gui/res/cardsfolder/d/dead_mans_chest.txt index dfa46b841b7..ef707d7c9d8 100644 --- a/forge-gui/res/cardsfolder/d/dead_mans_chest.txt +++ b/forge-gui/res/cardsfolder/d/dead_mans_chest.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature an opponent controls A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | AILogic$ Pump T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.AttachedBy | Execute$ TrigExile | TriggerDescription$ When enchanted creature dies, exile cards equal to its power from the top of its owner's library. You may cast spells from among those cards for as long as they remain exiled, and you may spend mana as though it were mana of any type to cast those spells. -SVar:TrigExile:DB$ Dig | Defined$ TriggeredCardOwner | DigNum$ X | ChangeNum$ All | References$ X | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect +SVar:TrigExile:DB$ Dig | Defined$ TriggeredCardOwner | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | RememberObjects$ Remembered | Duration$ Permanent | SubAbility$ DBCleanup | SpellDescription$ You may cast nonland cards from among them as long as they remain exiled, and you may spend mana as though it were mana of any type to cast those spells. SVar:STPlay:Mode$ Continuous | MayPlay$ True | MayPlayIgnoreType$ True | EffectZone$ Command | Affected$ Card.nonLand+IsRemembered | AffectedZone$ Exile | Description$ You may cast nonland cards from among them as long as they remain exiled, and you may spend mana as though it were mana of any type to cast those spells. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/d/dead_of_winter.txt b/forge-gui/res/cardsfolder/d/dead_of_winter.txt index 762ab799287..b954dcedeb2 100644 --- a/forge-gui/res/cardsfolder/d/dead_of_winter.txt +++ b/forge-gui/res/cardsfolder/d/dead_of_winter.txt @@ -1,7 +1,7 @@ Name:Dead of Winter ManaCost:2 B Types:Sorcery -A:SP$ PumpAll | Cost$ 2 B | ValidCards$ Creature.nonSnow | NumAtt$ -X | NumDef$ -X | References$ X | SpellDescription$ All nonsnow creatures get -X/-X until end of turn, where X is the number of snow permanents you control. +A:SP$ PumpAll | Cost$ 2 B | ValidCards$ Creature.nonSnow | NumAtt$ -X | NumDef$ -X | SpellDescription$ All nonsnow creatures get -X/-X until end of turn, where X is the number of snow permanents you control. SVar:X:Count$Valid Permanent.Snow+YouCtrl AI:RemoveDeck:Random DeckNeeds:Type$Snow diff --git a/forge-gui/res/cardsfolder/d/dead_reckoning.txt b/forge-gui/res/cardsfolder/d/dead_reckoning.txt index 546a79ec099..b2571ef7314 100644 --- a/forge-gui/res/cardsfolder/d/dead_reckoning.txt +++ b/forge-gui/res/cardsfolder/d/dead_reckoning.txt @@ -2,7 +2,7 @@ Name:Dead Reckoning ManaCost:1 B B Types:Sorcery A:SP$ ChangeZone | Cost$ 1 B B | ValidTgts$ Creature.YouCtrl | Origin$ Graveyard | Destination$ Library | RememberTargets$ True | SubAbility$ DBDamage | SpellDescription$ You may put target creature card from your graveyard on top of your library. If you do, CARDNAME deals damage equal to that card's power to target creature. -SVar:DBDamage:DB$ DealDamage | NumDmg$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | ConditionCheckSVar$ Y | ConditionSVarCompare$ GT0 | SubAbility$ DBCleanup | References$ X,Y +SVar:DBDamage:DB$ DealDamage | NumDmg$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | ConditionCheckSVar$ Y | ConditionSVarCompare$ GT0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardPower SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/d/deadeye_rig_hauler.txt b/forge-gui/res/cardsfolder/d/deadeye_rig_hauler.txt index c125b04c014..97da43eedfd 100644 --- a/forge-gui/res/cardsfolder/d/deadeye_rig_hauler.txt +++ b/forge-gui/res/cardsfolder/d/deadeye_rig_hauler.txt @@ -2,7 +2,7 @@ Name:Deadeye Rig-Hauler ManaCost:3 U Types:Creature Human Pirate PT:3/2 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | CheckSVar$ RaidTest | OptionalDecider$ You | Execute$ TrigChangeZone | References$ RaidTest | TriggerDescription$ Raid — When CARDNAME enters the battlefield, if you attacked this turn, you may return target creature to its owner's hand. +T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | CheckSVar$ RaidTest | OptionalDecider$ You | Execute$ TrigChangeZone | TriggerDescription$ Raid — When CARDNAME enters the battlefield, if you attacked this turn, you may return target creature to its owner's hand. SVar:TrigChangeZone:DB$ChangeZone | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand SVar:RaidTest:Count$AttackersDeclared Oracle:Raid — When Deadeye Rig-Hauler enters the battlefield, if you attacked this turn, you may return target creature to its owner's hand. diff --git a/forge-gui/res/cardsfolder/d/deadeye_tormentor.txt b/forge-gui/res/cardsfolder/d/deadeye_tormentor.txt index 637cccbeb96..1f9e3a18d99 100644 --- a/forge-gui/res/cardsfolder/d/deadeye_tormentor.txt +++ b/forge-gui/res/cardsfolder/d/deadeye_tormentor.txt @@ -2,7 +2,7 @@ Name:Deadeye Tormentor ManaCost:2 B Types:Creature Human Pirate PT:2/2 -T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | CheckSVar$ RaidTest | Execute$ TrigDiscard | References$ RaidTest | TriggerDescription$ Raid — When CARDNAME enters the battlefield, if you attacked this turn, target opponent discards a card. +T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | CheckSVar$ RaidTest | Execute$ TrigDiscard | TriggerDescription$ Raid — When CARDNAME enters the battlefield, if you attacked this turn, target opponent discards a card. SVar:TrigDiscard:DB$ Discard | ValidTgts$ Opponent | NumCards$ 1 | Mode$ TgtChoose SVar:RaidTest:Count$AttackersDeclared Oracle:Raid — When Deadeye Tormentor enters the battlefield, if you attacked this turn, target opponent discards a card. diff --git a/forge-gui/res/cardsfolder/d/deadly_alliance.txt b/forge-gui/res/cardsfolder/d/deadly_alliance.txt index 43028ee0754..ae66f0d531e 100755 --- a/forge-gui/res/cardsfolder/d/deadly_alliance.txt +++ b/forge-gui/res/cardsfolder/d/deadly_alliance.txt @@ -1,7 +1,7 @@ Name:Deadly Alliance ManaCost:4 B Types:Instant -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | References$ X | Description$ This spell costs {1} less to cast for each creature in your party. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature in your party. SVar:X:Count$Party A:SP$ Destroy | Cost$ 4 B | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | SpellDescription$ Destroy target creature or planeswalker. DeckHas:Ability$Party diff --git a/forge-gui/res/cardsfolder/d/deadly_tempest.txt b/forge-gui/res/cardsfolder/d/deadly_tempest.txt index 9607b9e6a79..0e4b47d6333 100644 --- a/forge-gui/res/cardsfolder/d/deadly_tempest.txt +++ b/forge-gui/res/cardsfolder/d/deadly_tempest.txt @@ -3,7 +3,7 @@ ManaCost:4 B B Types:Sorcery A:SP$ DestroyAll | Cost$ 4 B B | ValidCards$ Creature | RememberDestroyed$ True | SubAbility$ DBRepeat | SpellDescription$ Destroy all creatures. Each player loses life equal to the number of creatures they controlled that were destroyed this way. SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBLoseLife | SubAbility$ DBCleanup -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X | Defined$ Player.IsRemembered +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ Player.IsRemembered SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$FilterControlledByRemembered_Number$1 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/d/deadshot.txt b/forge-gui/res/cardsfolder/d/deadshot.txt index 01b64caf65d..6bdac7b5679 100644 --- a/forge-gui/res/cardsfolder/d/deadshot.txt +++ b/forge-gui/res/cardsfolder/d/deadshot.txt @@ -2,7 +2,7 @@ Name:Deadshot ManaCost:3 R Types:Sorcery A:SP$ Tap | Cost$ 3 R | ValidTgts$ Creature | TgtPrompt$ Select target creature to tap | SubAbility$ DBDamage | SpellDescription$ Tap target creature. It deals damage equal to its power to another target creature. -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select another target creature to be dealt damage | DamageSource$ ParentTarget | NumDmg$ X | TargetUnique$ True | References$ X +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select another target creature to be dealt damage | DamageSource$ ParentTarget | NumDmg$ X | TargetUnique$ True SVar:X:ParentTargeted$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/deadshot.jpg diff --git a/forge-gui/res/cardsfolder/d/death_cloud.txt b/forge-gui/res/cardsfolder/d/death_cloud.txt index 3160cbd6acb..0b1c949d1e2 100644 --- a/forge-gui/res/cardsfolder/d/death_cloud.txt +++ b/forge-gui/res/cardsfolder/d/death_cloud.txt @@ -1,10 +1,10 @@ Name:Death Cloud ManaCost:X B B B Types:Sorcery -A:SP$ LoseLife | Cost$ X B B B | Defined$ Player | LifeAmount$ X | References$ X | SpellDescription$ Each player loses X life, discards X cards, sacrifices X creatures, then sacrifices X lands. | SubAbility$ DBDiscard -SVar:DBDiscard:DB$Discard | NumCards$ X | Mode$ TgtChoose | Defined$ Player | SubAbility$ DBSacCreature | References$ X -SVar:DBSacCreature:DB$Sacrifice | Amount$ X | SacValid$ Creature | Defined$ Player | SubAbility$ DBSacLand | References$ X -SVar:DBSacLand:DB$Sacrifice | Amount$ X | SacValid$ Land | Defined$ Player | References$ X +A:SP$ LoseLife | Cost$ X B B B | Defined$ Player | LifeAmount$ X | SpellDescription$ Each player loses X life, discards X cards, sacrifices X creatures, then sacrifices X lands. | SubAbility$ DBDiscard +SVar:DBDiscard:DB$Discard | NumCards$ X | Mode$ TgtChoose | Defined$ Player | SubAbility$ DBSacCreature +SVar:DBSacCreature:DB$Sacrifice | Amount$ X | SacValid$ Creature | Defined$ Player | SubAbility$ DBSacLand +SVar:DBSacLand:DB$Sacrifice | Amount$ X | SacValid$ Land | Defined$ Player SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/death_cloud.jpg diff --git a/forge-gui/res/cardsfolder/d/death_denied.txt b/forge-gui/res/cardsfolder/d/death_denied.txt index cf1b86bab7f..c4ec186836a 100644 --- a/forge-gui/res/cardsfolder/d/death_denied.txt +++ b/forge-gui/res/cardsfolder/d/death_denied.txt @@ -1,7 +1,7 @@ Name:Death Denied ManaCost:X B B Types:Instant Arcane -A:SP$ ChangeZone | Cost$ X B B | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature.YouOwn | TgtPrompt$ Select X target creatures in your graveyard | Origin$ Graveyard | Destination$ Hand | References$ X | SpellDescription$ Return X target creature cards from your graveyard to your hand. +A:SP$ ChangeZone | Cost$ X B B | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature.YouOwn | TgtPrompt$ Select X target creatures in your graveyard | Origin$ Graveyard | Destination$ Hand | SpellDescription$ Return X target creature cards from your graveyard to your hand. SVar:X:Count$xPaid SVar:MaxTgts:Count$TypeInYourYard.Creature Oracle:Return X target creature cards from your graveyard to your hand. diff --git a/forge-gui/res/cardsfolder/d/death_grasp.txt b/forge-gui/res/cardsfolder/d/death_grasp.txt index 0637a6fc7c3..4a69a227495 100644 --- a/forge-gui/res/cardsfolder/d/death_grasp.txt +++ b/forge-gui/res/cardsfolder/d/death_grasp.txt @@ -1,8 +1,8 @@ Name:Death Grasp ManaCost:X W B Types:Sorcery -A:SP$ DealDamage | Cost$ X W B | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBGainLife | References$ X | SpellDescription$ CARDNAME deals X damage to any target. You gain X life. -SVar:DBGainLife:DB$GainLife | LifeAmount$ X | References$ X +A:SP$ DealDamage | Cost$ X W B | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to any target. You gain X life. +SVar:DBGainLife:DB$GainLife | LifeAmount$ X SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/death_grasp.jpg Oracle:Death Grasp deals X damage to any target. You gain X life. diff --git a/forge-gui/res/cardsfolder/d/death_mutation.txt b/forge-gui/res/cardsfolder/d/death_mutation.txt index 8ee5b0ddf9e..9673b8e3751 100644 --- a/forge-gui/res/cardsfolder/d/death_mutation.txt +++ b/forge-gui/res/cardsfolder/d/death_mutation.txt @@ -1,7 +1,7 @@ Name:Death Mutation ManaCost:6 B G Types:Sorcery -A:SP$ Destroy | Cost$ 6 B G | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | NoRegen$ True | SubAbility$ TrigToken | References$ X | SpellDescription$ Destroy target nonblack creature. It can't be regenerated. Create X 1/1 green Saproling creature tokens, where X is that creature's converted mana cost. +A:SP$ Destroy | Cost$ 6 B G | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | NoRegen$ True | SubAbility$ TrigToken | SpellDescription$ Destroy target nonblack creature. It can't be regenerated. Create X 1/1 green Saproling creature tokens, where X is that creature's converted mana cost. #X will be the Converted Mana Cost of the target of Mutation SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling apc SVar:X:Targeted$CardManaCost diff --git a/forge-gui/res/cardsfolder/d/death_of_a_thousand_stings.txt b/forge-gui/res/cardsfolder/d/death_of_a_thousand_stings.txt index 17af6dd5991..24cd9e0ba36 100644 --- a/forge-gui/res/cardsfolder/d/death_of_a_thousand_stings.txt +++ b/forge-gui/res/cardsfolder/d/death_of_a_thousand_stings.txt @@ -2,7 +2,7 @@ Name:Death of a Thousand Stings ManaCost:4 B Types:Instant Arcane A:SP$ LoseLife | Cost$ 4 B | ValidTgts$ Player | TgtPrompt$ Select a player | LifeAmount$ 1 | SubAbility$ DBGainLife | SpellDescription$ Target player loses 1 life and you gain 1 life. -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Graveyard | CheckSVar$ X | SVarCompare$ GTY | References$ X,Y | OptionalDecider$ You | Execute$ TrigReturn | TriggerDescription$ At the beginning of your upkeep, if you have more cards in hand than each opponent, you may return CARDNAME from your graveyard to your hand. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Graveyard | CheckSVar$ X | SVarCompare$ GTY | OptionalDecider$ You | Execute$ TrigReturn | TriggerDescription$ At the beginning of your upkeep, if you have more cards in hand than each opponent, you may return CARDNAME from your graveyard to your hand. SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 1 SVar:X:Count$InYourHand SVar:Y:PlayerCountOpponents$HighestCardsInHand diff --git a/forge-gui/res/cardsfolder/d/death_wind.txt b/forge-gui/res/cardsfolder/d/death_wind.txt index 704daa6ddd0..2e576c75fbc 100644 --- a/forge-gui/res/cardsfolder/d/death_wind.txt +++ b/forge-gui/res/cardsfolder/d/death_wind.txt @@ -1,7 +1,7 @@ Name:Death Wind ManaCost:X B Types:Instant -A:SP$ Pump | Cost$ X B | ValidTgts$ Creature | TgtPrompt$ Select target creature | References$ X | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn. +A:SP$ Pump | Cost$ X B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/death_wind.jpg Oracle:Target creature gets -X/-X until end of turn. diff --git a/forge-gui/res/cardsfolder/d/death_wish.txt b/forge-gui/res/cardsfolder/d/death_wish.txt index c6399d065df..6a6dba8a2f5 100644 --- a/forge-gui/res/cardsfolder/d/death_wish.txt +++ b/forge-gui/res/cardsfolder/d/death_wish.txt @@ -2,7 +2,7 @@ Name:Death Wish ManaCost:1 B B Types:Sorcery A:SP$ ChangeZone | Cost$ 1 B B | Origin$ Sideboard | Destination$ Hand | ChangeType$ Card.YouOwn | ChangeTypeDesc$ card they own | ChangeNum$ 1 | SubAbility$ DBLoseLife | Hidden$ True | SpellDescription$ You may put a card you own from outside the game into your hand. You lose half your life, rounded up. Exile CARDNAME. -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X | SubAbility$ DBChange +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | SubAbility$ DBChange SVar:DBChange:DB$ ChangeZone | Origin$ Stack | Destination$ Exile SVar:X:Count$YourLifeTotal/HalfUp AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/d/deathforge_shaman.txt b/forge-gui/res/cardsfolder/d/deathforge_shaman.txt index 0e9625286a3..b12d463ddd2 100644 --- a/forge-gui/res/cardsfolder/d/deathforge_shaman.txt +++ b/forge-gui/res/cardsfolder/d/deathforge_shaman.txt @@ -4,7 +4,7 @@ Types:Creature Ogre Shaman PT:4/3 K:Multikicker:R T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals damage to target player or planeswalker equal to twice the number of times it was kicked. -SVar:TrigDamage:DB$DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X +SVar:TrigDamage:DB$DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X SVar:X:Count$TimesKicked/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/Deathforge_Shaman.jpg Oracle:Multikicker {R} (You may pay an additional {R} any number of times as you cast this spell.)\nWhen Deathforge Shaman enters the battlefield, it deals damage to target player or planeswalker equal to twice the number of times it was kicked. diff --git a/forge-gui/res/cardsfolder/d/deathreap_ritual.txt b/forge-gui/res/cardsfolder/d/deathreap_ritual.txt index e94f006c4ff..1ab0bce24c2 100644 --- a/forge-gui/res/cardsfolder/d/deathreap_ritual.txt +++ b/forge-gui/res/cardsfolder/d/deathreap_ritual.txt @@ -1,7 +1,7 @@ Name:Deathreap Ritual ManaCost:2 B G Types:Enchantment -T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigDraw | References$ X | TriggerDescription$ Morbid — At the beginning of each end step, if a creature died this turn, you may draw a card. +T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigDraw | TriggerDescription$ Morbid — At the beginning of each end step, if a creature died this turn, you may draw a card. SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/deathreap_ritual.jpg diff --git a/forge-gui/res/cardsfolder/d/deaths_approach.txt b/forge-gui/res/cardsfolder/d/deaths_approach.txt index faa0bb27237..a869c3fccc8 100644 --- a/forge-gui/res/cardsfolder/d/deaths_approach.txt +++ b/forge-gui/res/cardsfolder/d/deaths_approach.txt @@ -3,7 +3,7 @@ ManaCost:B Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ B | ValidTgts$ Creature | AILogic$ Curse -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | AddToughness$ -X | References$ X | Description$ Enchanted creature gets -X/-X, where X is the number of creature cards in its controller's graveyard. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | AddToughness$ -X | Description$ Enchanted creature gets -X/-X, where X is the number of creature cards in its controller's graveyard. SVar:X:Count$TypeInEnchantedYard.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/deaths_approach.jpg Oracle:Enchant creature\nEnchanted creature gets -X/-X, where X is the number of creature cards in its controller's graveyard. diff --git a/forge-gui/res/cardsfolder/d/deaths_caress.txt b/forge-gui/res/cardsfolder/d/deaths_caress.txt index 8dcd44d8e1e..f5023c5db5b 100644 --- a/forge-gui/res/cardsfolder/d/deaths_caress.txt +++ b/forge-gui/res/cardsfolder/d/deaths_caress.txt @@ -2,7 +2,7 @@ Name:Death's Caress ManaCost:3 B B Types:Sorcery A:SP$ Destroy | Cost$ 3 B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBGainLife | SpellDescription$ Destroy target creature. If that creature was a Human, you gain life equal to its toughness. -SVar:DBGainLife:DB$ GainLife | LifeAmount$ Y | ConditionCheckSVar$ IsHuman | ConditionSVarCompare$ GE1 | References$ IsHuman,Y +SVar:DBGainLife:DB$ GainLife | LifeAmount$ Y | ConditionCheckSVar$ IsHuman | ConditionSVarCompare$ GE1 SVar:IsHuman:TargetedLKI$Valid Creature.Human SVar:Y:TargetedLKI$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/deaths_caress.jpg diff --git a/forge-gui/res/cardsfolder/d/deaths_oasis.txt b/forge-gui/res/cardsfolder/d/deaths_oasis.txt index 8830fa7ec9b..438d4186e0b 100755 --- a/forge-gui/res/cardsfolder/d/deaths_oasis.txt +++ b/forge-gui/res/cardsfolder/d/deaths_oasis.txt @@ -3,9 +3,9 @@ ManaCost:W B G Types:Enchantment T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouCtrl+nonToken | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ Whenever a nontoken creature you control dies, mill two cards. Then return a creature card with lesser converted mana cost than the creature that died from your graveyard to your hand. SVar:TrigMill:DB$ Mill | NumCards$ 2 | Defined$ You | SubAbility$ DBReturn -SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | ChangeType$ Creature.YouOwn+cmcLTY | References$ Y | Hidden$ True | ChangeNum$ 1 +SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | ChangeType$ Creature.YouOwn+cmcLTY | Hidden$ True | ChangeNum$ 1 SVar:Y:TriggeredCard$CardManaCost -A:AB$ GainLife | Cost$ 1 Sac<1/CARDNAME> | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the highest converted mana cost among creatures you control. +A:AB$ GainLife | Cost$ 1 Sac<1/CARDNAME> | LifeAmount$ X | SpellDescription$ You gain life equal to the highest converted mana cost among creatures you control. SVar:X:Count$HighestCMC_Creature.YouCtrl+inZoneBattlefield DeckHas:Ability$LifeGain Oracle:Whenever a nontoken creature you control dies, mill two cards. Then return a creature card with lesser converted mana cost than the creature that died from your graveyard to your hand.\n{1}, Sacrifice Death's Oasis: You gain life equal to the highest converted mana cost among creatures you control. diff --git a/forge-gui/res/cardsfolder/d/deaths_presence.txt b/forge-gui/res/cardsfolder/d/deaths_presence.txt index a8dbeed6690..f4bffee4304 100644 --- a/forge-gui/res/cardsfolder/d/deaths_presence.txt +++ b/forge-gui/res/cardsfolder/d/deaths_presence.txt @@ -2,7 +2,7 @@ Name:Death's Presence ManaCost:5 G Types:Enchantment T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouCtrl | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature you control dies, put X +1/+1 counters on target creature you control, where X is the power of the creature that died. -SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ X SVar:X:TriggeredCard$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/deaths_presence.jpg Oracle:Whenever a creature you control dies, put X +1/+1 counters on target creature you control, where X is the power of the creature that died. diff --git a/forge-gui/res/cardsfolder/d/debt_of_loyalty.txt b/forge-gui/res/cardsfolder/d/debt_of_loyalty.txt index 25821a5befd..29fd6c32d08 100644 --- a/forge-gui/res/cardsfolder/d/debt_of_loyalty.txt +++ b/forge-gui/res/cardsfolder/d/debt_of_loyalty.txt @@ -1,7 +1,7 @@ Name:Debt of Loyalty ManaCost:1 W W Types:Instant -A:SP$ Regenerate | Cost$ 1 W W | ValidTgts$ Creature | TgtPrompt$ Select target creature | RegenerationTrigger$ TrigGainControl | References$ TrigGainControl | SpellDescription$ Regenerate target creature. You gain control of that creature if it regenerates this way. +A:SP$ Regenerate | Cost$ 1 W W | ValidTgts$ Creature | TgtPrompt$ Select target creature | RegenerationTrigger$ TrigGainControl | SpellDescription$ Regenerate target creature. You gain control of that creature if it regenerates this way. SVar:TrigGainControl:ST$ GainControl | Cost$ 0 | Defined$ TriggeredCard | NewController$ You | SpellDescription$ Source controller gains control of CARDNAME if it regenerates this way. AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/debt_of_loyalty.jpg diff --git a/forge-gui/res/cardsfolder/d/debt_to_the_deathless.txt b/forge-gui/res/cardsfolder/d/debt_to_the_deathless.txt index c0f5431d609..4e56e18af1d 100644 --- a/forge-gui/res/cardsfolder/d/debt_to_the_deathless.txt +++ b/forge-gui/res/cardsfolder/d/debt_to_the_deathless.txt @@ -1,7 +1,7 @@ Name:Debt to the Deathless ManaCost:X W W B B Types:Sorcery -A:SP$ LoseLife | Cost$ X W W B B | Defined$ Player.Opponent | LifeAmount$ Y | References$ X,Y | SubAbility$ DBGainLife | SpellDescription$ Each opponent loses two times X life. You gain life equal to the life lost this way. +A:SP$ LoseLife | Cost$ X W W B B | Defined$ Player.Opponent | LifeAmount$ Y | SubAbility$ DBGainLife | SpellDescription$ Each opponent loses two times X life. You gain life equal to the life lost this way. SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ AFLifeLost SVar:AFLifeLost:Number$0 SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/d/declaration_in_stone.txt b/forge-gui/res/cardsfolder/d/declaration_in_stone.txt index 2fe0dd8796e..b99b50dc04d 100644 --- a/forge-gui/res/cardsfolder/d/declaration_in_stone.txt +++ b/forge-gui/res/cardsfolder/d/declaration_in_stone.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Sorcery A:SP$ ChangeZone | Cost$ 1 W | Origin$ Battlefield | Destination$ Exile | AILogic$ SameName | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberLKI$ True | SubAbility$ DBExile | SpellDescription$ Exile target creature and all other creatures its controller controls with the same name as that creature. That player investigates for each nontoken creature exiled this way. | StackDescription$ SpellDescription SVar:DBExile:DB$ ChangeZoneAll | Origin$ Battlefield | Destination$ Exile | Defined$ RememberedController | ChangeType$ Remembered.Creature+sameName | Shuffle$ True | RememberChanged$ True | SubAbility$ DBInvestigate -SVar:DBInvestigate:DB$ Investigate | Num$ X | References$ X | Defined$ RememberedController | SubAbility$ DBCleanup +SVar:DBInvestigate:DB$ Investigate | Num$ X | Defined$ RememberedController | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$Valid Card.nonToken Oracle:Exile target creature and all other creatures its controller controls with the same name as that creature. That player investigates for each nontoken creature exiled this way. diff --git a/forge-gui/res/cardsfolder/d/decoy_gambit.txt b/forge-gui/res/cardsfolder/d/decoy_gambit.txt index e2312d5669d..07a362a0c5b 100755 --- a/forge-gui/res/cardsfolder/d/decoy_gambit.txt +++ b/forge-gui/res/cardsfolder/d/decoy_gambit.txt @@ -1,7 +1,7 @@ Name:Decoy Gambit ManaCost:2 U Types:Instant -A:SP$ Pump | Cost$ 2 U | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Choose up to one target creature each opponent controls | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | RememberObjects$ Targeted | SubAbility$ DBRepeat | SpellDescription$ For each opponent, choose up to one target creature that player controls, then return that creature to its owner's hand unless its controller has you draw a card. +A:SP$ Pump | Cost$ 2 U | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Choose up to one target creature each opponent controls | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | RememberObjects$ Targeted | SubAbility$ DBRepeat | SpellDescription$ For each opponent, choose up to one target creature that player controls, then return that creature to its owner's hand unless its controller has you draw a card. SVar:DBRepeat:DB$ RepeatEach | RepeatCards$ Card.IsRemembered | UseImprinted$ True | RepeatSubAbility$ DBReturn | SubAbility$ DBCleanup SVar:DBReturn:DB$ ChangeZone | Defined$ Imprinted | Origin$ Battlefield | Destination$ Hand | UnlessCost$ Draw<1/Player.IsRemembered> | UnlessPayer$ ImprintedController SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/d/decree_of_justice.txt b/forge-gui/res/cardsfolder/d/decree_of_justice.txt index 7c1d6285f82..7a193872616 100644 --- a/forge-gui/res/cardsfolder/d/decree_of_justice.txt +++ b/forge-gui/res/cardsfolder/d/decree_of_justice.txt @@ -2,9 +2,9 @@ Name:Decree of Justice ManaCost:X X 2 W W Types:Sorcery K:Cycling:2 W -A:SP$ Token | Cost$ X X 2 W W | TokenAmount$ X | TokenScript$ w_4_4_angel_flying | TokenOwner$ You | LegacyImage$ w 4 4 angel flying scg | References$ X | SpellDescription$ Create X 4/4 white Angel creature tokens with flying. +A:SP$ Token | Cost$ X X 2 W W | TokenAmount$ X | TokenScript$ w_4_4_angel_flying | TokenOwner$ You | LegacyImage$ w 4 4 angel flying scg | SpellDescription$ Create X 4/4 white Angel creature tokens with flying. T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigToken | OptionalDecider$ You | TriggerDescription$ When you cycle CARDNAME, you may pay {X}. If you do, create X 1/1 white Soldier creature tokens. -SVar:TrigToken:AB$ Token | Cost$ X | TokenAmount$ X | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier scg | References$ X +SVar:TrigToken:AB$ Token | Cost$ X | TokenAmount$ X | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier scg SVar:X:Count$xPaid SVar:PlayMain1:ALWAYS AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/d/decree_of_pain.txt b/forge-gui/res/cardsfolder/d/decree_of_pain.txt index fe780236ce8..b1bb1fcda38 100644 --- a/forge-gui/res/cardsfolder/d/decree_of_pain.txt +++ b/forge-gui/res/cardsfolder/d/decree_of_pain.txt @@ -3,7 +3,7 @@ ManaCost:6 B B Types:Sorcery K:Cycling:3 B B A:SP$ DestroyAll | Cost$ 6 B B | ValidCards$ Creature | RememberDestroyed$ True | NoRegen$ True | SubAbility$ DBDraw | SpellDescription$ Destroy all creatures. They can't be regenerated. Draw a card for each creature destroyed this way. -SVar:DBDraw:DB$ Draw | NumCards$ DecreeX | SubAbility$ DBCleanup | References$ DecreeX +SVar:DBDraw:DB$ Draw | NumCards$ DecreeX | SubAbility$ DBCleanup T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigPumpAll | TriggerDescription$ When you cycle CARDNAME, all creatures get -2/-2 until end of turn. SVar:TrigPumpAll:DB$ PumpAll | NumAtt$ -2 | NumDef$ -2 | ValidCards$ Creature SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/d/decree_of_silence.txt b/forge-gui/res/cardsfolder/d/decree_of_silence.txt index 0ec6ab684c8..f587545b3b8 100644 --- a/forge-gui/res/cardsfolder/d/decree_of_silence.txt +++ b/forge-gui/res/cardsfolder/d/decree_of_silence.txt @@ -5,7 +5,7 @@ K:Cycling:4 U U T:Mode$ SpellCast | ValidCard$ Card.OppCtrl | Execute$ TrigCounterSpell | TriggerZones$ Battlefield | TriggerDescription$ Whenever an opponent casts a spell, counter that spell and put a depletion counter on CARDNAME. If there are three or more depletion counters on CARDNAME, sacrifice it. SVar:TrigCounterSpell:DB$ Counter | Defined$ TriggeredSpellAbility | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$ PutCounter | CounterType$ DEPLETION | CounterNum$ 1 | Defined$ Self | SubAbility$ DBSac -SVar:DBSac:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ DecreeX | ConditionSVarCompare$ GE1 | References$ DecreeX +SVar:DBSac:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ DecreeX | ConditionSVarCompare$ GE1 T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigCounter | OptionalDecider$ You | TriggerDescription$ When you cycle CARDNAME, you may counter target spell. SVar:TrigCounter:DB$ Counter | TargetType$ Spell | ValidTgts$ Card SVar:DecreeX:Count$Valid Card.Self+counters_GE3_DEPLETION diff --git a/forge-gui/res/cardsfolder/d/deepfire_elemental.txt b/forge-gui/res/cardsfolder/d/deepfire_elemental.txt index 4fb74851ad2..17800fe536e 100644 --- a/forge-gui/res/cardsfolder/d/deepfire_elemental.txt +++ b/forge-gui/res/cardsfolder/d/deepfire_elemental.txt @@ -2,7 +2,7 @@ Name:Deepfire Elemental ManaCost:4 B R Types:Creature Elemental PT:4/4 -A:AB$ Destroy | Cost$ X X 1 | ValidTgts$ Artifact.cmcEQX,Creature.cmcEQX | TgtPrompt$ Select target artifact or creature | References$ X | AILogic$ AtOpponentsCombatOrAfter | SpellDescription$ Destroy target artifact or creature with converted mana cost X. +A:AB$ Destroy | Cost$ X X 1 | ValidTgts$ Artifact.cmcEQX,Creature.cmcEQX | TgtPrompt$ Select target artifact or creature | AILogic$ AtOpponentsCombatOrAfter | SpellDescription$ Destroy target artifact or creature with converted mana cost X. SVar:X:Count$xPaid AI:RemoveDeck:Random Oracle:{X}{X}{1}: Destroy target artifact or creature with converted mana cost X. diff --git a/forge-gui/res/cardsfolder/d/deepglow_skate.txt b/forge-gui/res/cardsfolder/d/deepglow_skate.txt index c5a07a4d321..489e4ca2429 100644 --- a/forge-gui/res/cardsfolder/d/deepglow_skate.txt +++ b/forge-gui/res/cardsfolder/d/deepglow_skate.txt @@ -3,7 +3,7 @@ ManaCost:4 U Types:Creature Fish PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDoubleCounters | TriggerDescription$ When CARDNAME enters the battlefield, double the number of each kind of counter on any number of target permanents. -SVar:TrigDoubleCounters:DB$ MultiplyCounter | ValidTgts$ Permanent | TargetMin$ 0 | TargetMax$ X | Multiplier$ 2 | References$ X +SVar:TrigDoubleCounters:DB$ MultiplyCounter | ValidTgts$ Permanent | TargetMin$ 0 | TargetMax$ X | Multiplier$ 2 SVar:X:Count$Valid Permanent SVar:Picture:http://www.wizards.com/global/images/magic/general/deepglow_skate.jpg Oracle:When Deepglow Skate enters the battlefield, double the number of each kind of counter on any number of target permanents. diff --git a/forge-gui/res/cardsfolder/d/deepwood_elder.txt b/forge-gui/res/cardsfolder/d/deepwood_elder.txt index 5dd53de111a..3a24bf36c3a 100644 --- a/forge-gui/res/cardsfolder/d/deepwood_elder.txt +++ b/forge-gui/res/cardsfolder/d/deepwood_elder.txt @@ -2,7 +2,7 @@ Name:Deepwood Elder ManaCost:G G Types:Creature Dryad Spellshaper PT:2/2 -A:AB$ Animate | Cost$ X G G T Discard<1/Card> | TargetMin$ 0 | TargetMax$ Maxtgt | ValidTgts$ Land | TgtPrompt$ Select target land to become forest | Types$ Forest | RemoveLandTypes$ True | References$ MaxTgt | SpellDescription$ X target lands become Forests until end of turn. +A:AB$ Animate | Cost$ X G G T Discard<1/Card> | TargetMin$ 0 | TargetMax$ Maxtgt | ValidTgts$ Land | TgtPrompt$ Select target land to become forest | Types$ Forest | RemoveLandTypes$ True | SpellDescription$ X target lands become Forests until end of turn. SVar:X:TargetedObjects$Amount AI:RemoveDeck:All SVar:Maxtgt:Count$Valid Land diff --git a/forge-gui/res/cardsfolder/d/defiant_bloodlord.txt b/forge-gui/res/cardsfolder/d/defiant_bloodlord.txt index 52c8e9b02f4..423f7d94348 100644 --- a/forge-gui/res/cardsfolder/d/defiant_bloodlord.txt +++ b/forge-gui/res/cardsfolder/d/defiant_bloodlord.txt @@ -4,7 +4,7 @@ Types:Creature Vampire PT:4/5 K:Flying T:Mode$ LifeGained | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDrain | TriggerDescription$ Whenever you gain life, target opponent loses that much life. -SVar:TrigDrain:DB$ LoseLife | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | LifeAmount$ X | References$ X +SVar:TrigDrain:DB$ LoseLife | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | LifeAmount$ X SVar:X:TriggerCount$LifeAmount DeckHints:Ability$LifeGain Oracle:Flying\nWhenever you gain life, target opponent loses that much life. diff --git a/forge-gui/res/cardsfolder/d/defile.txt b/forge-gui/res/cardsfolder/d/defile.txt index 576429e8d56..d384024710e 100644 --- a/forge-gui/res/cardsfolder/d/defile.txt +++ b/forge-gui/res/cardsfolder/d/defile.txt @@ -1,6 +1,6 @@ Name:Defile ManaCost:B Types:Instant -A:SP$ Pump | Cost$ B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X | SpellDescription$ Target creature gets -1/-1 until end of turn for each Swamp you control. +A:SP$ Pump | Cost$ B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -1/-1 until end of turn for each Swamp you control. SVar:X:Count$TypeYouCtrl.Swamp Oracle:Target creature gets -1/-1 until end of turn for each Swamp you control. diff --git a/forge-gui/res/cardsfolder/d/deflecting_palm.txt b/forge-gui/res/cardsfolder/d/deflecting_palm.txt index ef858d94dc6..9a009a1dafd 100644 --- a/forge-gui/res/cardsfolder/d/deflecting_palm.txt +++ b/forge-gui/res/cardsfolder/d/deflecting_palm.txt @@ -4,7 +4,7 @@ Types:Instant A:SP$ ChooseSource | Cost$ R W | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice would deal damage to you this turn, prevent that damage. If damage is prevented this way, CARDNAME deals that much damage to that source's controller. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventNextFromSource | SVars$ RPreventNextFromSource,ExileEffect,DamageControllerInstead,X | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem SVar:RPreventNextFromSource:Event$ DamageDone | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ValidTarget$ You | ReplaceWith$ DamageControllerInstead | PreventionEffect$ True | Description$ The next time the chosen source deals damage to you, prevent that damage. -SVar:DamageControllerInstead:DB$ DealDamage | Defined$ ChosenCardController | DamageSource$ EffectSource | NumDmg$ X | References$ X | SubAbility$ ExileEffect +SVar:DamageControllerInstead:DB$ DealDamage | Defined$ ChosenCardController | DamageSource$ EffectSource | NumDmg$ X | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:X:ReplaceCount$DamageAmount SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True diff --git a/forge-gui/res/cardsfolder/d/defy_death.txt b/forge-gui/res/cardsfolder/d/defy_death.txt index 7789d1b0d00..1caf9b39689 100644 --- a/forge-gui/res/cardsfolder/d/defy_death.txt +++ b/forge-gui/res/cardsfolder/d/defy_death.txt @@ -2,7 +2,7 @@ Name:Defy Death ManaCost:3 W W Types:Sorcery A:SP$ ChangeZone | Cost$ 3 W W | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | SubAbility$ DBPutCounter | SpellDescription$ Return target creature card from your graveyard to the battlefield. If it's an Angel, put two +1/+1 counters on it. -SVar:DBPutCounter:DB$PutCounter | CounterType$ P1P1 | CounterNum$ 2 | Defined$ Targeted | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +SVar:DBPutCounter:DB$PutCounter | CounterType$ P1P1 | CounterNum$ 2 | Defined$ Targeted | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:Targeted$Valid Angel SVar:Picture:http://www.wizards.com/global/images/magic/general/defy_death.jpg Oracle:Return target creature card from your graveyard to the battlefield. If it's an Angel, put two +1/+1 counters on it. diff --git a/forge-gui/res/cardsfolder/d/dega_sanctuary.txt b/forge-gui/res/cardsfolder/d/dega_sanctuary.txt index b0801aef71c..70cd2e1e90b 100644 --- a/forge-gui/res/cardsfolder/d/dega_sanctuary.txt +++ b/forge-gui/res/cardsfolder/d/dega_sanctuary.txt @@ -2,8 +2,8 @@ Name:Dega Sanctuary ManaCost:2 W Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE1 | Execute$ TrigGainLife | TriggerDescription$ At the beginning of your upkeep, if you control a black or red permanent, you gain 2 life. If you control a black permanent and a red permanent, you gain 4 life instead. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBGainLife | References$ X,Y,Z -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 4 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X,Y,Z +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBGainLife +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 4 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 SVar:Y:Count$Valid Permanent.Black+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.Red+YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z diff --git a/forge-gui/res/cardsfolder/d/deicide.txt b/forge-gui/res/cardsfolder/d/deicide.txt index 79ac355d10c..c5344e068da 100644 --- a/forge-gui/res/cardsfolder/d/deicide.txt +++ b/forge-gui/res/cardsfolder/d/deicide.txt @@ -2,9 +2,9 @@ Name:Deicide ManaCost:1 W Types:Instant A:SP$ ChangeZone | Cost$ 1 W | ValidTgts$ Enchantment | TgtPrompt$ Select target enchantment | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ ExileYard | SpellDescription$ Exile target enchantment. If the exiled card is a God card, search its controller's graveyard, hand, and library for any number of cards with the same name as that card and exile them, then that player shuffles their library. -SVar:ExileYard:DB$ ChangeZone | ChangeType$ Remembered.sameName | Origin$ Graveyard | DefinedPlayer$ TargetedController | Chooser$ You | Destination$ Exile | ChangeNum$ NumInYard | References$ NumInYard | Hidden$ True | SubAbility$ ExileHand | StackDescription$ Search target opponent's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles their library. | ConditionDefined$ Remembered | ConditionPresent$ God | ConditionCompare$ GE1 -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | References$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None | ConditionDefined$ Remembered | ConditionPresent$ God | ConditionCompare$ GE1 -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | References$ NumInLib | Chooser$ You | Shuffle$ True | StackDescription$ None | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ God | ConditionCompare$ GE1 +SVar:ExileYard:DB$ ChangeZone | ChangeType$ Remembered.sameName | Origin$ Graveyard | DefinedPlayer$ TargetedController | Chooser$ You | Destination$ Exile | ChangeNum$ NumInYard | Hidden$ True | SubAbility$ ExileHand | StackDescription$ Search target opponent's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles their library. | ConditionDefined$ Remembered | ConditionPresent$ God | ConditionCompare$ GE1 +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None | ConditionDefined$ Remembered | ConditionPresent$ God | ConditionCompare$ GE1 +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Shuffle$ True | StackDescription$ None | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ God | ConditionCompare$ GE1 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:NumInLib:TargetedController$CardsInLibrary SVar:NumInHand:TargetedController$CardsInHand diff --git a/forge-gui/res/cardsfolder/d/delaying_shield.txt b/forge-gui/res/cardsfolder/d/delaying_shield.txt index 7be9e1dd840..14ef2c4033f 100644 --- a/forge-gui/res/cardsfolder/d/delaying_shield.txt +++ b/forge-gui/res/cardsfolder/d/delaying_shield.txt @@ -2,11 +2,11 @@ Name:Delaying Shield ManaCost:3 W Types:Enchantment R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ You | ReplaceWith$ Counters | Description$ If damage would be dealt to you, put that many delay counters on CARDNAME instead. -SVar:Counters:DB$ PutCounter | CounterType$ DELAY | CounterNum$ NumDamage | References$ NumDamage | Defined$ Self +SVar:Counters:DB$ PutCounter | CounterType$ DELAY | CounterNum$ NumDamage | Defined$ Self SVar:NumDamage:ReplaceCount$DamageAmount T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+counters_GE1_DELAY | Execute$ RemoveCounters | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, remove all delay counters from CARDNAME. For each delay counter removed this way, you lose 1 life unless you pay {1}{W}. SVar:RemoveCounters:DB$ RemoveCounter | CounterType$ DELAY | CounterNum$ All | RememberRemoved$ True | SubAbility$ RepeatOnUpkeep -SVar:RepeatOnUpkeep:DB$ Repeat | MaxRepeat$ NumRemoved | References$ NumRemoved | RepeatSubAbility$ DBLoseLife | SubAbility$ DBCleanup +SVar:RepeatOnUpkeep:DB$ Repeat | MaxRepeat$ NumRemoved | RepeatSubAbility$ DBLoseLife | SubAbility$ DBCleanup SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 1 | Defined$ You | UnlessCost$ 1 W | UnlessPayer$ You SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:NumRemoved:Count$RememberedSize diff --git a/forge-gui/res/cardsfolder/d/delifs_cone.txt b/forge-gui/res/cardsfolder/d/delifs_cone.txt index 1c35cce1e2f..e729cc9116e 100644 --- a/forge-gui/res/cardsfolder/d/delifs_cone.txt +++ b/forge-gui/res/cardsfolder/d/delifs_cone.txt @@ -3,7 +3,7 @@ ManaCost:0 Types:Artifact A:AB$ Effect | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Creature.YouCtrl | Triggers$ TrigAttackerUnblocked | SVars$ GainLife,DBPump,DelifX | RememberObjects$ Targeted | ForgetOnMoved$ Battlefield | SpellDescription$ This turn, when target creature you control attacks and isn't blocked, you may gain life equal to its power. If you do, it assigns no combat damage this turn. SVar:TrigAttackerUnblocked:Mode$ AttackerUnblocked | ValidCard$ Card.IsRemembered | Execute$ GainLife | OptionalDecider$ You | TriggerDescription$ This turn, when that creature attacks and isn't blocked, you may gain life equal to its power. If you do, it assigns no combat damage this turn. -SVar:GainLife:DB$ GainLife | Defined$ You | LifeAmount$ DelifX | SubAbility$ DBPump | References$ DelifX +SVar:GainLife:DB$ GainLife | Defined$ You | LifeAmount$ DelifX | SubAbility$ DBPump SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ HIDDEN CARDNAME assigns no combat damage | StackDescription$ {c:Remembered} assigns no combat damage this turn. SVar:DelifX:Remembered$CardPower AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/d/delirium.txt b/forge-gui/res/cardsfolder/d/delirium.txt index cc7ff711ef9..9adfd53cfdf 100644 --- a/forge-gui/res/cardsfolder/d/delirium.txt +++ b/forge-gui/res/cardsfolder/d/delirium.txt @@ -2,7 +2,7 @@ Name:Delirium ManaCost:1 B R Types:Instant A:SP$ Tap | Cost$ 1 B R | ValidTgts$ Creature.ActivePlayerCtrl | TgtPrompt$ Select target creature current opponent controls | OpponentTurn$ True | SubAbility$ DBDamage | SpellDescription$ Cast this spell only during an opponent's turn. Tap target creature that player controls. That creature deals damage equal to its power to the player. Prevent all combat damage that would be dealt to and dealt by the creature this turn. -SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | DamageSource$ Targeted | SubAbility$ DBPump | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | DamageSource$ Targeted | SubAbility$ DBPump SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ Prevent all combat damage that would be dealt to and dealt by CARDNAME. SVar:X:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/delirium.jpg diff --git a/forge-gui/res/cardsfolder/d/deliver_unto_evil.txt b/forge-gui/res/cardsfolder/d/deliver_unto_evil.txt index b60cbdec011..076e925036c 100644 --- a/forge-gui/res/cardsfolder/d/deliver_unto_evil.txt +++ b/forge-gui/res/cardsfolder/d/deliver_unto_evil.txt @@ -2,7 +2,7 @@ Name:Deliver Unto Evil ManaCost:2 B Types:Sorcery A:SP$ Pump | Cost$ 2 B | ValidTgts$ Card.YouCtrl | TgtPrompt$ Select target card | TargetMin$ 0 | TargetMax$ 4 | TgtZone$ Graveyard | RememberTargets$ True | SubAbility$ DBBranch | StackDescription$ SpellDescription | SpellDescription$ Choose up to four target cards in your graveyard. If you control a Bolas planeswalker, return those cards to your hand. Otherwise, an opponent chooses two of them. Leave the chosen cards in your graveyard and put the rest into your hand. Exile CARDNAME. -SVar:DBBranch:DB$ Branch | BranchConditionSVar$ X | References$ X | TrueSubAbility$ DBChangeZone | FalseSubAbility$ DBChooseOpp | SubAbility$ DBCleanup +SVar:DBBranch:DB$ Branch | BranchConditionSVar$ X | TrueSubAbility$ DBChangeZone | FalseSubAbility$ DBChooseOpp | SubAbility$ DBCleanup SVar:X:Count$Valid Planeswalker.Bolas+YouCtrl SVar:DBChangeZone:DB$ ChangeZone | Defined$ Remembered | Origin$ Graveyard | Destination$ Hand SVar:DBChooseOpp:DB$ ChoosePlayer | Choices$ Player.Opponent | SubAbility$ DBChoose diff --git a/forge-gui/res/cardsfolder/d/demonfire.txt b/forge-gui/res/cardsfolder/d/demonfire.txt index c8c7aba2b07..028acdb497a 100644 --- a/forge-gui/res/cardsfolder/d/demonfire.txt +++ b/forge-gui/res/cardsfolder/d/demonfire.txt @@ -1,8 +1,8 @@ Name:Demonfire ManaCost:X R Types:Sorcery -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | RememberDamaged$ True | ReplaceDyingDefined$ Remembered | SubAbility$ DBDemonfire | References$ X,Y | SpellDescription$ CARDNAME deals X damage to any target. If a creature dealt damage this way would die this turn, exile it instead. -SVar:DBDemonfire:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | NoPrevention$ True | ConditionCheckSVar$ Y | References$ X,Y | ConditionSVarCompare$ EQ0 | RememberDamaged$ True | ReplaceDyingDefined$ Remembered | SubAbility$ DBCleanup +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | RememberDamaged$ True | ReplaceDyingDefined$ Remembered | SubAbility$ DBDemonfire | SpellDescription$ CARDNAME deals X damage to any target. If a creature dealt damage this way would die this turn, exile it instead. +SVar:DBDemonfire:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | NoPrevention$ True | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ0 | RememberDamaged$ True | ReplaceDyingDefined$ Remembered | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True S:Mode$ Continuous | Affected$ Self | AffectedZone$ Stack | EffectZone$ All | CharacteristicDefining$ True | AddHiddenKeyword$ CARDNAME can't be countered. | CheckSVar$ Y | SVarCompare$ EQ0 | Description$ Hellbent — If you have no cards in hand, this spell can't be countered and the damage can't be prevented. SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/d/demonic_embrace.txt b/forge-gui/res/cardsfolder/d/demonic_embrace.txt index f7f6a587254..127cfb68e53 100755 --- a/forge-gui/res/cardsfolder/d/demonic_embrace.txt +++ b/forge-gui/res/cardsfolder/d/demonic_embrace.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 B B | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 3 | AddToughness$ 1 | AddKeyword$ Flying | AddType$ Demon | Description$ Enchanted creature gets +3/+1, has flying, and is a Demon in addition to its other types. -SVar:AltCost:Cost$ 1 B B PayLife<3> Discard<1/Card> | ActivationZone$ Graveyard | References$ X | Description$ You may cast CARDNAME from your graveyard by paying 3 life and discarding a card in addition to paying its other costs. +SVar:AltCost:Cost$ 1 B B PayLife<3> Discard<1/Card> | ActivationZone$ Graveyard | Description$ You may cast CARDNAME from your graveyard by paying 3 life and discarding a card in addition to paying its other costs. DeckHas:Ability$Discard & Ability$Graveyard SVar:DiscardMe:1 Oracle:Enchant creature\nEnchanted creature gets +3/+1, has flying, and is a Demon in addition to its other types.\nYou may cast Demonic Embrace from your graveyard by paying 3 life and discarding a card in addition to paying its other costs. diff --git a/forge-gui/res/cardsfolder/d/demonic_lore.txt b/forge-gui/res/cardsfolder/d/demonic_lore.txt index e49b4e837ea..9e879fcdd7e 100755 --- a/forge-gui/res/cardsfolder/d/demonic_lore.txt +++ b/forge-gui/res/cardsfolder/d/demonic_lore.txt @@ -4,6 +4,6 @@ Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw three cards. SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 3 T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ At the beginning of your end step, you lose 2 life for each card in your hand. -SVar:TrigLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | LifeAmount$ X SVar:X:Count$InYourHand/Times.2 Oracle:When Demonic Lore enters the battlefield, draw three cards.\nAt the beginning of your end step, you lose 2 life for each card in your hand. diff --git a/forge-gui/res/cardsfolder/d/demonspine_whip.txt b/forge-gui/res/cardsfolder/d/demonspine_whip.txt index 3de17ce8faa..b0152d0e074 100644 --- a/forge-gui/res/cardsfolder/d/demonspine_whip.txt +++ b/forge-gui/res/cardsfolder/d/demonspine_whip.txt @@ -2,7 +2,7 @@ Name:Demonspine Whip ManaCost:B R Types:Artifact Equipment K:Equip:1 -A:AB$ Pump | Cost$ X | Defined$ Equipped | NumAtt$ +X | References$ X | SpellDescription$ Equipped creature gets +X/+0 until end of turn. +A:AB$ Pump | Cost$ X | Defined$ Equipped | NumAtt$ +X | SpellDescription$ Equipped creature gets +X/+0 until end of turn. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/demonspine_whip.jpg Oracle:{X}: Equipped creature gets +X/+0 until end of turn.\nEquip {1} diff --git a/forge-gui/res/cardsfolder/d/depala_pilot_exemplar.txt b/forge-gui/res/cardsfolder/d/depala_pilot_exemplar.txt index adf3557ae36..5a787070d75 100644 --- a/forge-gui/res/cardsfolder/d/depala_pilot_exemplar.txt +++ b/forge-gui/res/cardsfolder/d/depala_pilot_exemplar.txt @@ -5,7 +5,7 @@ PT:3/3 S:Mode$ Continuous | Affected$ Permanent.Dwarf+Other+YouCtrl| AddPower$ 1 | AddToughness$ 1 | Description$ Other Dwarves you control get +1/+1. S:Mode$ Continuous | Affected$ Creature.Vehicle+YouCtrl| AddPower$ 1 | AddToughness$ 1 | Description$ Each Vehicle you control gets +1/+1 as long as it's a creature. T:Mode$ Taps | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ Whenever CARDNAME becomes tapped, you may pay {X}. If you do, reveal the top X cards of your library, put all Dwarf and Vehicle cards from among them into your hand, then put the rest on the bottom of your library in a random order. -SVar:TrigDig:AB$Dig | Cost$ X | DigNum$ X | References$ X | Reveal$ True | ChangeNum$ All | DestinationZone$ Hand | DestinationZone2$ Library | LibraryPosition$ -1 | RestRandomOrder$ True | ChangeValid$ Dwarf,Vehicle | AILogic$ PayXButSaveMana.3 +SVar:TrigDig:AB$Dig | Cost$ X | DigNum$ X | Reveal$ True | ChangeNum$ All | DestinationZone$ Hand | DestinationZone2$ Library | LibraryPosition$ -1 | RestRandomOrder$ True | ChangeValid$ Dwarf,Vehicle | AILogic$ PayXButSaveMana.3 SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/depala_pilot_exemplar.jpg Oracle:Other Dwarves you control get +1/+1.\nEach Vehicle you control gets +1/+1 as long as it's a creature.\nWhenever Depala, Pilot Exemplar becomes tapped, you may pay {X}. If you do, reveal the top X cards of your library, put all Dwarf and Vehicle cards from among them into your hand, then put the rest on the bottom of your library in a random order. diff --git a/forge-gui/res/cardsfolder/d/deploy_to_the_front.txt b/forge-gui/res/cardsfolder/d/deploy_to_the_front.txt index d48357e9c2f..bea58039069 100644 --- a/forge-gui/res/cardsfolder/d/deploy_to_the_front.txt +++ b/forge-gui/res/cardsfolder/d/deploy_to_the_front.txt @@ -1,7 +1,7 @@ Name:Deploy to the Front ManaCost:5 W W Types:Sorcery -A:SP$ Token | Cost$ 5 W W | TokenAmount$ X | TokenScript$ w_1_1_soldier | TokenOwner$ You | References$ X | LegacyImage$ w 1 1 soldier c14 | SpellDescription$ Create X 1/1 white Soldier creature tokens, where X is the number of creatures on the battlefield. +A:SP$ Token | Cost$ 5 W W | TokenAmount$ X | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier c14 | SpellDescription$ Create X 1/1 white Soldier creature tokens, where X is the number of creatures on the battlefield. SVar:X:Count$TypeOnBattlefield.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/deploy_to_the_front.jpg Oracle:Create X 1/1 white Soldier creature tokens, where X is the number of creatures on the battlefield. diff --git a/forge-gui/res/cardsfolder/d/depose_deploy.txt b/forge-gui/res/cardsfolder/d/depose_deploy.txt index e5401b5fa15..6a80b2075c6 100644 --- a/forge-gui/res/cardsfolder/d/depose_deploy.txt +++ b/forge-gui/res/cardsfolder/d/depose_deploy.txt @@ -12,7 +12,7 @@ Name:Deploy ManaCost:2 W U Types:Instant A:SP$ Token | Cost$ 2 W U | TokenAmount$ 2 | TokenOwner$ You | TokenScript$ c_1_1_a_thopter_flying | LegacyImage$ c 1 1 a thopter flying rna | SubAbility$ DBGainLife | SpellDescription$ Create two 1/1 colorless Thopter artifact creature tokens with flying, then you gain 1 life for each creature you control. -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X SVar:X:Count$TypeYouCtrl.Creature DeckHas:Ability$Token Oracle:Create two 1/1 colorless Thopter artifact creature tokens with flying, then you gain 1 life for each creature you control. diff --git a/forge-gui/res/cardsfolder/d/descendant_of_masumaro.txt b/forge-gui/res/cardsfolder/d/descendant_of_masumaro.txt index 1f89b8f5935..e65fe726f02 100644 --- a/forge-gui/res/cardsfolder/d/descendant_of_masumaro.txt +++ b/forge-gui/res/cardsfolder/d/descendant_of_masumaro.txt @@ -3,9 +3,9 @@ ManaCost:2 G Types:Creature Human Monk PT:1/1 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a +1/+1 counter on CARDNAME for each card in your hand, then remove a +1/+1 counter from CARDNAME for each card in target opponent's hand. -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | SubAbility$ SelectOpponent | References$ X +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | SubAbility$ SelectOpponent SVar:SelectOpponent:DB$ Pump | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ TrigRemoveCounter -SVar:TrigRemoveCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ Y | References$ Y +SVar:TrigRemoveCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ Y SVar:X:Count$InYourHand SVar:Y:TargetedPlayer$CardsInHand AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/d/descendant_of_soramaro.txt b/forge-gui/res/cardsfolder/d/descendant_of_soramaro.txt index db57e4a14d4..5dc9b4ce855 100644 --- a/forge-gui/res/cardsfolder/d/descendant_of_soramaro.txt +++ b/forge-gui/res/cardsfolder/d/descendant_of_soramaro.txt @@ -2,7 +2,7 @@ Name:Descendant of Soramaro ManaCost:3 U Types:Creature Human Wizard PT:2/3 -A:AB$ RearrangeTopOfLibrary | Cost$ 1 U | Defined$ You | NumCards$ X | References$ X | SpellDescription$ Look at the top X cards of your library, where X is the number of cards in your hand, then put them back in any order. +A:AB$ RearrangeTopOfLibrary | Cost$ 1 U | Defined$ You | NumCards$ X | SpellDescription$ Look at the top X cards of your library, where X is the number of cards in your hand, then put them back in any order. SVar:X:Count$InYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/descendant_of_soramaro.jpg Oracle:{1}{U}: Look at the top X cards of your library, where X is the number of cards in your hand, then put them back in any order. diff --git a/forge-gui/res/cardsfolder/d/descent_into_madness.txt b/forge-gui/res/cardsfolder/d/descent_into_madness.txt index 28b470c5142..5cf5603ec6a 100644 --- a/forge-gui/res/cardsfolder/d/descent_into_madness.txt +++ b/forge-gui/res/cardsfolder/d/descent_into_madness.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a despair counter on CARDNAME, then each player exiles X permanents they control and/or cards from their hand, where X is the number of despair counters on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ DESPAIR | CounterNum$ 1 | SubAbility$ DBExileSelf SVar:DBExileSelf:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBExile -SVar:DBExile:DB$ ChangeZone | DefinedPlayer$ Player.IsRemembered | Chooser$ Player.IsRemembered | ChangeType$ Permanent.RememberedPlayerCtrl,Card.RememberedPlayerCtrl | ChangeNum$ X | Hidden$ True | Origin$ Battlefield,Hand | Destination$ Exile | References$ X | Mandatory$ True +SVar:DBExile:DB$ ChangeZone | DefinedPlayer$ Player.IsRemembered | Chooser$ Player.IsRemembered | ChangeType$ Permanent.RememberedPlayerCtrl,Card.RememberedPlayerCtrl | ChangeNum$ X | Hidden$ True | Origin$ Battlefield,Hand | Destination$ Exile | Mandatory$ True SVar:X:Count$CardCounters.DESPAIR AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/d/descent_of_the_dragons.txt b/forge-gui/res/cardsfolder/d/descent_of_the_dragons.txt index 00e14343a98..5faf3f09252 100644 --- a/forge-gui/res/cardsfolder/d/descent_of_the_dragons.txt +++ b/forge-gui/res/cardsfolder/d/descent_of_the_dragons.txt @@ -1,7 +1,7 @@ Name:Descent of the Dragons ManaCost:4 R R Types:Sorcery -A:SP$ Destroy | Cost$ 4 R R | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxTgts | References$ MaxTgts | RememberLKI$ True | SubAbility$ DBToken | SpellDescription$ Destroy any number of target creatures. For each creature destroyed this way, its controller creates a 4/4 red Dragon creature token with flying. +A:SP$ Destroy | Cost$ 4 R R | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxTgts | RememberLKI$ True | SubAbility$ DBToken | SpellDescription$ Destroy any number of target creatures. For each creature destroyed this way, its controller creates a 4/4 red Dragon creature token with flying. SVar:DBToken:DB$ RepeatEach | UseImprinted$ True | DefinedCards$ DirectRemembered | RepeatSubAbility$ TokenDragon | ChangeZoneTable$ True | SubAbility$ DBCleanup SVar:TokenDragon:DB$ Token | TokenAmount$ 1 | TokenScript$ r_4_4_dragon_flying | TokenOwner$ ImprintedController | LegacyImage$ r 4 4 dragon flying dtk SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/d/desecration_demon.txt b/forge-gui/res/cardsfolder/d/desecration_demon.txt index 31bdc0feae5..4464eed26f4 100644 --- a/forge-gui/res/cardsfolder/d/desecration_demon.txt +++ b/forge-gui/res/cardsfolder/d/desecration_demon.txt @@ -5,8 +5,8 @@ PT:6/6 K:Flying T:Mode$ Phase | Phase$ BeginCombat | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of each combat, any opponent may sacrifice a creature. If a player does, tap CARDNAME and put a +1/+1 counter on it. SVar:TrigSac:DB$ Sacrifice | Defined$ Opponent | Amount$ 1 | SacValid$ Creature | RememberSacrificed$ True | Optional$ True | AILogic$ DesecrationDemon | SubAbility$ DBSacSelf -SVar:DBSacSelf:DB$ Tap | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBCleanup +SVar:DBSacSelf:DB$ Tap | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBPutCounter +SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/desecration_demon.jpg diff --git a/forge-gui/res/cardsfolder/d/desertion.txt b/forge-gui/res/cardsfolder/d/desertion.txt index b72d0663b80..db323882f9a 100644 --- a/forge-gui/res/cardsfolder/d/desertion.txt +++ b/forge-gui/res/cardsfolder/d/desertion.txt @@ -1,8 +1,8 @@ Name:Desertion ManaCost:3 U U Types:Instant -A:SP$ Counter | Cost$ 3 U U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCounter | References$ X | SpellDescription$ Counter target spell. If an artifact or creature spell is countered this way, put that card onto the battlefield under your control instead of into its owner's graveyard. -SVar:DBCounter:DB$ Counter | Defined$ Targeted | Destination$ Battlefield | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +A:SP$ Counter | Cost$ 3 U U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCounter | SpellDescription$ Counter target spell. If an artifact or creature spell is countered this way, put that card onto the battlefield under your control instead of into its owner's graveyard. +SVar:DBCounter:DB$ Counter | Defined$ Targeted | Destination$ Battlefield | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:Targeted$Valid Artifact,Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/desertion.jpg Oracle:Counter target spell. If an artifact or creature spell is countered this way, put that card onto the battlefield under your control instead of into its owner's graveyard. diff --git a/forge-gui/res/cardsfolder/d/desperate_gambit.txt b/forge-gui/res/cardsfolder/d/desperate_gambit.txt index 9beaed5159f..57c8eaed3c2 100644 --- a/forge-gui/res/cardsfolder/d/desperate_gambit.txt +++ b/forge-gui/res/cardsfolder/d/desperate_gambit.txt @@ -4,12 +4,12 @@ Types:Instant A:SP$ ChooseSource | Cost$ R | Choices$ Card.YouCtrl | RememberChosen$ True | SubAbility$ CoinFlip | SpellDescription$ Choose a source you control and flip a coin. If you win the flip, the next time that source would deal damage this turn, it deals double that damage instead. If you lose the flip, the next time it would deal damage this turn, prevent that damage. SVar:CoinFlip:DB$ FlipACoin | WinSubAbility$ CreateWinEffect | LoseSubAbility$ CreateLossEffect | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 # Winning Effect -SVar:CreateWinEffect:DB$ Effect | Name$ Desperate Gambit Win Effect | ReplacementEffects$ EventWinDamageDone | SVars$ DmgTwice,WinX,ExileEffect | References$ EventWinDamageDone,DGDmgTimes2,WinX | RememberObjects$ Remembered +SVar:CreateWinEffect:DB$ Effect | Name$ Desperate Gambit Win Effect | ReplacementEffects$ EventWinDamageDone | SVars$ DmgTwice,WinX,ExileEffect | RememberObjects$ Remembered SVar:EventWinDamageDone:Event$ DamageDone | ValidSource$ Card.IsRemembered | ReplaceWith$ DmgTwice | Description$ The next time source would deal damage this turn, it deals double that damage instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ WinX | References$ WinX | SubAbility$ ExileEffect +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ WinX | SubAbility$ ExileEffect SVar:WinX:ReplaceCount$DamageAmount/Twice # Losing Effect -SVar:CreateLossEffect:DB$ Effect | Name$ Desperate Gambit Loss Effect | ReplacementEffects$ EventLossDamageDone | SVars$ ExileEffect | References$ EventLossDamageDone,ExileEffect | RememberObjects$ Remembered +SVar:CreateLossEffect:DB$ Effect | Name$ Desperate Gambit Loss Effect | ReplacementEffects$ EventLossDamageDone | SVars$ ExileEffect | RememberObjects$ Remembered SVar:EventLossDamageDone:Event$ DamageDone | ValidSource$ Card.IsRemembered | ReplaceWith$ ExileEffect | PreventionEffect$ True | Description$ The next time it would deal damage this turn, prevent that damage. SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/d/desperate_stand.txt b/forge-gui/res/cardsfolder/d/desperate_stand.txt index 92892567c67..bfbeccc7f21 100644 --- a/forge-gui/res/cardsfolder/d/desperate_stand.txt +++ b/forge-gui/res/cardsfolder/d/desperate_stand.txt @@ -2,7 +2,7 @@ Name:Desperate Stand ManaCost:R W Types:Sorcery K:Strive:R W -A:SP$ Pump | Cost$ R W | ValidTgts$ Creature | NumAtt$ +2 | KW$ First Strike & Vigilance | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | SpellDescription$ Any number of target creatures each get +2/+0 and gain first strike and vigilance until end of turn. +A:SP$ Pump | Cost$ R W | ValidTgts$ Creature | NumAtt$ +2 | KW$ First Strike & Vigilance | TargetMin$ 0 | TargetMax$ MaxTargets | SpellDescription$ Any number of target creatures each get +2/+0 and gain first strike and vigilance until end of turn. SVar:MaxTargets:Count$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/desperate_stand.jpg Oracle:Strive — This spell costs {R}{W} more to cast for each target beyond the first.\nAny number of target creatures each get +2/+0 and gain first strike and vigilance until end of turn. diff --git a/forge-gui/res/cardsfolder/d/destiny_spinner.txt b/forge-gui/res/cardsfolder/d/destiny_spinner.txt index cb79fd2d306..17a642f6165 100755 --- a/forge-gui/res/cardsfolder/d/destiny_spinner.txt +++ b/forge-gui/res/cardsfolder/d/destiny_spinner.txt @@ -4,6 +4,6 @@ Types:Enchantment Creature Human PT:2/3 S:Mode$ Continuous | Affected$ Creature.YouCtrl,Enchantment.YouCtrl | AffectedZone$ Stack | AddHiddenKeyword$ CARDNAME can't be countered. | Description$ Creature and enchantment spells you control can't be countered. DeckHints:Type$Creature & Type$Enchantment -A:AB$ Animate | Cost$ 3 G | ValidTgts$ Land.YouCtrl | TgtPrompt$ Select target land you control | Power$ X | Toughness$ X | References$ X | Types$ Creature,Elemental | Keywords$ Trample & Haste | SpellDescription$ Target land you control becomes an X/X Elemental creature with trample and haste until end of turn, where X is the number of enchantments you control. It's still a land. +A:AB$ Animate | Cost$ 3 G | ValidTgts$ Land.YouCtrl | TgtPrompt$ Select target land you control | Power$ X | Toughness$ X | Types$ Creature,Elemental | Keywords$ Trample & Haste | SpellDescription$ Target land you control becomes an X/X Elemental creature with trample and haste until end of turn, where X is the number of enchantments you control. It's still a land. SVar:X:Count$Valid Enchantment.YouCtrl Oracle:Creature and enchantment spells you control can't be countered.\n{3}{G}: Target land you control becomes an X/X Elemental creature with trample and haste until end of turn, where X is the number of enchantments you control. It's still a land. diff --git a/forge-gui/res/cardsfolder/d/detonate.txt b/forge-gui/res/cardsfolder/d/detonate.txt index ce334743905..50fc23063a8 100644 --- a/forge-gui/res/cardsfolder/d/detonate.txt +++ b/forge-gui/res/cardsfolder/d/detonate.txt @@ -1,7 +1,7 @@ Name:Detonate ManaCost:X R Types:Sorcery -A:SP$ Destroy | Cost$ X R | ValidTgts$ Artifact.cmcEQX | TgtPrompt$ Select target artifact | NoRegen$ True | SubAbility$ DBDamage | References$ X | SpellDescription$ Destroy target artifact with converted mana cost X. It can't be regenerated. CARDNAME deals X damage to that artifact's controller. -SVar:DBDamage:DB$DealDamage | Defined$ TargetedController | NumDmg$ X | References$ X +A:SP$ Destroy | Cost$ X R | ValidTgts$ Artifact.cmcEQX | TgtPrompt$ Select target artifact | NoRegen$ True | SubAbility$ DBDamage | SpellDescription$ Destroy target artifact with converted mana cost X. It can't be regenerated. CARDNAME deals X damage to that artifact's controller. +SVar:DBDamage:DB$DealDamage | Defined$ TargetedController | NumDmg$ X SVar:X:Count$xPaid Oracle:Destroy target artifact with converted mana cost X. It can't be regenerated. Detonate deals X damage to that artifact's controller. diff --git a/forge-gui/res/cardsfolder/d/detritivore.txt b/forge-gui/res/cardsfolder/d/detritivore.txt index 3918fd2d08a..4a98def9788 100644 --- a/forge-gui/res/cardsfolder/d/detritivore.txt +++ b/forge-gui/res/cardsfolder/d/detritivore.txt @@ -3,7 +3,7 @@ ManaCost:2 R R Types:Creature Lhurgoyf Text:X can't be 0. PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | References$ Y | Description$ CARDNAME's power and toughness are each equal to the number of nonbasic land cards in your opponents' graveyards. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | Description$ CARDNAME's power and toughness are each equal to the number of nonbasic land cards in your opponents' graveyards. K:Suspend:X:XCantBe0 X 3 R T:Mode$ CounterRemoved | ValidCard$ Card.Self | TriggerZones$ Exile | CounterType$ TIME | Execute$ TrigDestroy | TriggerDescription$ Whenever a time counter is removed from CARDNAME while it's exiled, destroy target nonbasic land. SVar:TrigDestroy:DB$ Destroy | ValidTgts$ Land.nonBasic | TgtPrompt$ Select a nonbasic land. diff --git a/forge-gui/res/cardsfolder/d/devastating_dreams.txt b/forge-gui/res/cardsfolder/d/devastating_dreams.txt index 492aabbcbdf..64203541e65 100644 --- a/forge-gui/res/cardsfolder/d/devastating_dreams.txt +++ b/forge-gui/res/cardsfolder/d/devastating_dreams.txt @@ -1,8 +1,8 @@ Name:Devastating Dreams ManaCost:R R Types:Sorcery -A:SP$ Sacrifice | Cost$ R R Discard | Defined$ Player | SacValid$ Land | Amount$ X | SubAbility$ DBDamage | References$ X | SpellDescription$ Each player sacrifices X lands. CARDNAME deals X damage to each creature. -SVar:DBDamage:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature | References$ X +A:SP$ Sacrifice | Cost$ R R Discard | Defined$ Player | SacValid$ Land | Amount$ X | SubAbility$ DBDamage | SpellDescription$ Each player sacrifices X lands. CARDNAME deals X damage to each creature. +SVar:DBDamage:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, discard X cards at random.\nEach player sacrifices X lands. Devastating Dreams deals X damage to each creature. diff --git a/forge-gui/res/cardsfolder/d/devastating_summons.txt b/forge-gui/res/cardsfolder/d/devastating_summons.txt index ebd92d246cf..98121fd9c41 100644 --- a/forge-gui/res/cardsfolder/d/devastating_summons.txt +++ b/forge-gui/res/cardsfolder/d/devastating_summons.txt @@ -1,7 +1,7 @@ Name:Devastating Summons ManaCost:R Types:Sorcery -A:SP$ Token | Cost$ R Sac | TokenAmount$ 2 | TokenScript$ r_x_x_elemental | LegacyImage$ r x x elemental roe | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | SpellDescription$ Create two X/X red Elemental creature tokens. +A:SP$ Token | Cost$ R Sac | TokenAmount$ 2 | TokenScript$ r_x_x_elemental | LegacyImage$ r x x elemental roe | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | SpellDescription$ Create two X/X red Elemental creature tokens. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, sacrifice X lands.\nCreate two X/X red Elemental creature tokens. diff --git a/forge-gui/res/cardsfolder/d/devils_play.txt b/forge-gui/res/cardsfolder/d/devils_play.txt index b2dc5c0e25d..50b822fa4b8 100644 --- a/forge-gui/res/cardsfolder/d/devils_play.txt +++ b/forge-gui/res/cardsfolder/d/devils_play.txt @@ -2,7 +2,7 @@ Name:Devil's Play ManaCost:X R Types:Sorcery K:Flashback:X R R R -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/devils_play.jpg Oracle:Devil's Play deals X damage to any target.\nFlashback {X}{R}{R}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.) diff --git a/forge-gui/res/cardsfolder/d/devour_flesh.txt b/forge-gui/res/cardsfolder/d/devour_flesh.txt index 56a0b6049b0..bee8afb4069 100644 --- a/forge-gui/res/cardsfolder/d/devour_flesh.txt +++ b/forge-gui/res/cardsfolder/d/devour_flesh.txt @@ -2,7 +2,7 @@ Name:Devour Flesh ManaCost:1 B Types:Instant A:SP$ Sacrifice | Cost$ 1 B | ValidTgts$ Player | SacValid$ Creature | SacMessage$ Creature | RememberSacrificed$ True | SubAbility$ DBGainLife | SpellDescription$ Target player sacrifices a creature, then gains life equal to that creature's toughness. | StackDescription$ SpellDescription -SVar:DBGainLife:DB$ GainLife | Defined$ Targeted | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | Defined$ Targeted | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/devour_flesh.jpg diff --git a/forge-gui/res/cardsfolder/d/devour_in_shadow.txt b/forge-gui/res/cardsfolder/d/devour_in_shadow.txt index c38b543e826..613ddf14a2c 100644 --- a/forge-gui/res/cardsfolder/d/devour_in_shadow.txt +++ b/forge-gui/res/cardsfolder/d/devour_in_shadow.txt @@ -2,7 +2,7 @@ Name:Devour in Shadow ManaCost:B B Types:Instant A:SP$ Destroy | Cost$ B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NoRegen$ True | SubAbility$ DBLoseLife | SpellDescription$ Destroy target creature. It can't be regenerated. You lose life equal to that creature's toughness. -SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X SVar:X:TargetedLKI$CardToughness SVar:Picture:http://resources.wizards.com/magic/cards/5dn/en-us/card50210.jpg Oracle:Destroy target creature. It can't be regenerated. You lose life equal to that creature's toughness. diff --git a/forge-gui/res/cardsfolder/d/devouring_greed.txt b/forge-gui/res/cardsfolder/d/devouring_greed.txt index 067258dd02f..ef829cc1068 100644 --- a/forge-gui/res/cardsfolder/d/devouring_greed.txt +++ b/forge-gui/res/cardsfolder/d/devouring_greed.txt @@ -1,8 +1,8 @@ Name:Devouring Greed ManaCost:2 B B Types:Sorcery Arcane -A:SP$ LoseLife | Cost$ 2 B B Sac | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ C | SubAbility$ DBGainLife | References$ X,A,B,C | SpellDescription$ Target player loses 2 life plus 2 life for each Spirit sacrificed this way. You gain that much life. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ C | References$ X,A,B,C +A:SP$ LoseLife | Cost$ 2 B B Sac | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ C | SubAbility$ DBGainLife | SpellDescription$ Target player loses 2 life plus 2 life for each Spirit sacrificed this way. You gain that much life. +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ C SVar:X:Count$xPaid SVar:A:Sacrificed$Amount SVar:B:SVar$A/Times.2 diff --git a/forge-gui/res/cardsfolder/d/devouring_hellion.txt b/forge-gui/res/cardsfolder/d/devouring_hellion.txt index 138cc3236cd..f8ad013e13f 100644 --- a/forge-gui/res/cardsfolder/d/devouring_hellion.txt +++ b/forge-gui/res/cardsfolder/d/devouring_hellion.txt @@ -3,8 +3,8 @@ ManaCost:2 R Types:Creature Hellion PT:2/2 R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ DevourCreatsAndWalkers | Description$ As CARDNAME enters the battlefield, you may sacrifice any number of creatures and/or planeswalkers. If you do, it enters with twice that many +1/+1 counters on it. -SVar:DevourCreatsAndWalkers:DB$ Sacrifice | Defined$ You | Amount$ DevourSacX | References$ DevourSacX | SacValid$ Creature.Other,Planeswalker | SacMessage$ any number of creatures and/or planeswalkers | RememberSacrificed$ True | Optional$ True | SubAbility$ DevourCounters -SVar:DevourCounters:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ Devour2X | ETB$ True | References$ Devour2X,DevourSize | SubAbility$ DevourCleanup +SVar:DevourCreatsAndWalkers:DB$ Sacrifice | Defined$ You | Amount$ DevourSacX | SacValid$ Creature.Other,Planeswalker | SacMessage$ any number of creatures and/or planeswalkers | RememberSacrificed$ True | Optional$ True | SubAbility$ DevourCounters +SVar:DevourCounters:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ Devour2X | ETB$ True | SubAbility$ DevourCleanup SVar:DevourCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DevourETB SVar:DevourETB:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard SVar:DevourSacX:Count$Valid Creature.YouCtrl+Other/Plus.DevourSacY diff --git a/forge-gui/res/cardsfolder/d/devouring_rage.txt b/forge-gui/res/cardsfolder/d/devouring_rage.txt index f3d1f815684..4e3b25694e8 100644 --- a/forge-gui/res/cardsfolder/d/devouring_rage.txt +++ b/forge-gui/res/cardsfolder/d/devouring_rage.txt @@ -1,7 +1,7 @@ Name:Devouring Rage ManaCost:4 R Types:Instant Arcane -A:SP$ Pump | Cost$ 4 R Sac | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ Z | References$ X,Y,Z | SpellDescription$ Target creature gets +3/+0 until end of turn. For each Spirit sacrificed this way, that creature gets an additional +3/+0 until end of turn. +A:SP$ Pump | Cost$ 4 R Sac | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ Z | SpellDescription$ Target creature gets +3/+0 until end of turn. For each Spirit sacrificed this way, that creature gets an additional +3/+0 until end of turn. SVar:Z:SVar$Y/Thrice SVar:Y:Sacrificed$Amount.Plus.1 SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/d/devout_invocation.txt b/forge-gui/res/cardsfolder/d/devout_invocation.txt index 066b84bfeb1..1016c1e2d8d 100644 --- a/forge-gui/res/cardsfolder/d/devout_invocation.txt +++ b/forge-gui/res/cardsfolder/d/devout_invocation.txt @@ -1,9 +1,9 @@ Name:Devout Invocation ManaCost:6 W Types:Sorcery -A:SP$ ChooseCard | Cost$ 6 W | Defined$ You | MinAmount$ 0 | Amount$ X | References$ X | Choices$ Creature.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigTap | SpellDescription$ Tap any number of untapped creatures you control. Create a 4/4 white Angel creature token with flying for each creature tapped this way. | StackDescription$ SpellDescription +A:SP$ ChooseCard | Cost$ 6 W | Defined$ You | MinAmount$ 0 | Amount$ X | Choices$ Creature.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigTap | SpellDescription$ Tap any number of untapped creatures you control. Create a 4/4 white Angel creature token with flying for each creature tapped this way. | StackDescription$ SpellDescription SVar:TrigTap:DB$ Tap | Defined$ Remembered | SubAbility$ DBToken | StackDescription$ None -SVar:DBToken:DB$ Token | TokenAmount$ Y | TokenScript$ w_4_4_angel_flying | TokenOwner$ You | LegacyImage$ w 4 4 angel flying m14 | References$ Y | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ Y | TokenScript$ w_4_4_angel_flying | TokenOwner$ You | LegacyImage$ w 4 4 angel flying m14 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Creature.YouCtrl SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/d/diamond_valley.txt b/forge-gui/res/cardsfolder/d/diamond_valley.txt index 3843409c1ec..bbc357acec7 100644 --- a/forge-gui/res/cardsfolder/d/diamond_valley.txt +++ b/forge-gui/res/cardsfolder/d/diamond_valley.txt @@ -1,7 +1,7 @@ Name:Diamond Valley ManaCost:no cost Types:Land -A:AB$ GainLife | Cost$ T Sac<1/Creature> | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the sacrificed creature's toughness. +A:AB$ GainLife | Cost$ T Sac<1/Creature> | LifeAmount$ X | SpellDescription$ You gain life equal to the sacrificed creature's toughness. SVar:X:Sacrificed$CardToughness AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/diamond_valley.jpg diff --git a/forge-gui/res/cardsfolder/d/dictate_of_the_twin_gods.txt b/forge-gui/res/cardsfolder/d/dictate_of_the_twin_gods.txt index c3fd8a0fc86..25e2747eb12 100644 --- a/forge-gui/res/cardsfolder/d/dictate_of_the_twin_gods.txt +++ b/forge-gui/res/cardsfolder/d/dictate_of_the_twin_gods.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Enchantment K:Flash R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card,Emblem | ValidTarget$ Permanent,Player | ReplaceWith$ DmgTwice | Description$ If a source would deal damage to a permanent or player, it deals double that damage to that permanent or player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:PlayMain1:TRUE AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/d/die_young.txt b/forge-gui/res/cardsfolder/d/die_young.txt index f5868175ed6..d2348d4c4b4 100644 --- a/forge-gui/res/cardsfolder/d/die_young.txt +++ b/forge-gui/res/cardsfolder/d/die_young.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Sorcery A:SP$ PutCounter | Cost$ 1 B | Defined$ You | AILogic$ PayEnergy | CounterType$ ENERGY | CounterNum$ 2 | SubAbility$ DBChooseNumber | SpellDescription$ Choose target creature. You get {E}{E} (two energy counters), then you may pay any amount of {E}. The creature gets -1/-1 until end of turn for each {E} paid this way. SVar:DBChooseNumber:DB$ ChooseNumber | Max$ Max | ListTitle$ Pay Energy for -X/-X | SubAbility$ DBPump -SVar:DBPump:DB$ Pump | References$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | UnlessCost$ PayEnergy | UnlessPayer$ You | UnlessSwitched$ True +SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | UnlessCost$ PayEnergy | UnlessPayer$ You | UnlessSwitched$ True SVar:Max:Count$YourCountersEnergy SVar:X:Count$ChosenNumber Oracle:Choose target creature. You get {E}{E} (two energy counters), then you may pay any amount of {E}. The creature gets -1/-1 until end of turn for each {E} paid this way. diff --git a/forge-gui/res/cardsfolder/d/diluvian_primordial.txt b/forge-gui/res/cardsfolder/d/diluvian_primordial.txt index 5d573f2ff34..4c6ffe9671a 100644 --- a/forge-gui/res/cardsfolder/d/diluvian_primordial.txt +++ b/forge-gui/res/cardsfolder/d/diluvian_primordial.txt @@ -4,7 +4,7 @@ Types:Creature Avatar PT:5/5 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ CastEach | TriggerDescription$ When CARDNAME enters the battlefield, for each opponent, you may cast up to one target instant or sorcery card from that player's graveyard without paying its mana cost. If a spell cast this way would be put into a graveyard this turn, exile it instead. -SVar:CastEach:DB$ Play | ValidTgts$ Instant.OppCtrl,Sorcery.OppCtrl | TgtZone$ Graveyard | TgtPrompt$ Select target instant or sorcery card in each opponent's graveyard | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | Amount$ All | WithoutManaCost$ True | Optional$ True | ReplaceGraveyard$ Exile | AILogic$ ReplaySpell +SVar:CastEach:DB$ Play | ValidTgts$ Instant.OppCtrl,Sorcery.OppCtrl | TgtZone$ Graveyard | TgtPrompt$ Select target instant or sorcery card in each opponent's graveyard | TargetMin$ 0 | TargetMax$ OneEachneEach | TargetsWithDifferentControllers$ True | Amount$ All | WithoutManaCost$ True | Optional$ True | ReplaceGraveyard$ Exile | AILogic$ ReplaySpell SVar:OneEach:PlayerCountOpponents$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/diluvian_primordial.jpg Oracle:Flying\nWhen Diluvian Primordial enters the battlefield, for each opponent, you may cast up to one target instant or sorcery card from that player's graveyard without paying its mana cost. If a spell cast this way would be put into a graveyard this turn, exile it instead. diff --git a/forge-gui/res/cardsfolder/d/din_of_the_fireherd.txt b/forge-gui/res/cardsfolder/d/din_of_the_fireherd.txt index c725e97926e..1e3bde5aaa6 100644 --- a/forge-gui/res/cardsfolder/d/din_of_the_fireherd.txt +++ b/forge-gui/res/cardsfolder/d/din_of_the_fireherd.txt @@ -2,8 +2,8 @@ Name:Din of the Fireherd ManaCost:5 BR BR BR Types:Sorcery A:SP$ Token | Cost$ 5 BR BR BR | TokenOwner$ You | TokenAmount$ 1 | TokenScript$ br_5_5_elemental | LegacyImage$ br 5 5 elemental shm | SubAbility$ DBSac1 | SpellDescription$ Create a 5/5 black and red Elemental creature token. Target opponent sacrifices a creature for each black creature you control, then sacrifices a land for each red creature you control. -SVar:DBSac1:DB$ Sacrifice | SacValid$ Creature | ValidTgts$ Opponent | TgtPrompt$ Select target opponent to make sacrifices | Amount$ X | SubAbility$ DBSac2 | References$ X -SVar:DBSac2:DB$ Sacrifice | SacValid$ Land | Defined$ Targeted | Amount$ Y | References$ Y +SVar:DBSac1:DB$ Sacrifice | SacValid$ Creature | ValidTgts$ Opponent | TgtPrompt$ Select target opponent to make sacrifices | Amount$ X | SubAbility$ DBSac2 +SVar:DBSac2:DB$ Sacrifice | SacValid$ Land | Defined$ Targeted | Amount$ Y SVar:X:Count$Valid Creature.Black+YouCtrl SVar:Y:Count$Valid Creature.Red+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/din_of_the_fireherd.jpg diff --git a/forge-gui/res/cardsfolder/d/dire_fleet_captain.txt b/forge-gui/res/cardsfolder/d/dire_fleet_captain.txt index d85c02db39c..a4c1c3acd1a 100644 --- a/forge-gui/res/cardsfolder/d/dire_fleet_captain.txt +++ b/forge-gui/res/cardsfolder/d/dire_fleet_captain.txt @@ -3,7 +3,7 @@ ManaCost:B R Types:Creature Orc Pirate PT:2/2 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+1 until end of turn for each other attacking Pirate. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X SVar:X:Count$Valid Pirate.attacking+Other DeckHints:Type$Pirate SVar:Picture:http://www.wizards.com/global/images/magic/general/dire_fleet_captain.jpg diff --git a/forge-gui/res/cardsfolder/d/dire_fleet_ravager.txt b/forge-gui/res/cardsfolder/d/dire_fleet_ravager.txt index 01c26de6eca..55f3602d95c 100644 --- a/forge-gui/res/cardsfolder/d/dire_fleet_ravager.txt +++ b/forge-gui/res/cardsfolder/d/dire_fleet_ravager.txt @@ -6,7 +6,7 @@ K:Menace K:Deathtouch T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigLoseLife | TriggerDescription$ When CARDNAME enters the battlefield, each player loses a third of their life, rounded up. SVar:TrigLoseLife:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBLoseLife -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ CntLife | References$ CntLife | Defined$ Player.IsRemembered +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ CntLife | Defined$ Player.IsRemembered SVar:CntLife:PlayerCountRemembered$LifeTotal/ThirdUp SVar:NeedsToPlayVar:MyLife GT1 SVar:MyLife:Count$YourLifeTotal diff --git a/forge-gui/res/cardsfolder/d/dire_tactics.txt b/forge-gui/res/cardsfolder/d/dire_tactics.txt index e21a91cec53..fb847a4ba3d 100755 --- a/forge-gui/res/cardsfolder/d/dire_tactics.txt +++ b/forge-gui/res/cardsfolder/d/dire_tactics.txt @@ -2,7 +2,7 @@ Name:Dire Tactics ManaCost:W B Types:Instant A:SP$ ChangeZone | Cost$ W B | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Exile | RememberLKI$ True | SubAbility$ DBLoseLife | StackDescription$ SpellDescription | SpellDescription$ Exile target creature. If you don't control a Human, you lose life equal to that creature's toughness. -SVar:DBLoseLife:DB$ LoseLife | ConditionPresent$ Human.YouCtrl | ConditionCompare$ EQ0 | Defined$ You | LifeAmount$ X | References$ X | StackDescription$ None | SubAbility$ DBCleanup +SVar:DBLoseLife:DB$ LoseLife | ConditionPresent$ Human.YouCtrl | ConditionCompare$ EQ0 | Defined$ You | LifeAmount$ X | StackDescription$ None | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardToughness Oracle:Exile target creature. If you don't control a Human, you lose life equal to that creature's toughness. diff --git a/forge-gui/res/cardsfolder/d/disaster_radius.txt b/forge-gui/res/cardsfolder/d/disaster_radius.txt index 6fb0520adcc..f89f689febf 100644 --- a/forge-gui/res/cardsfolder/d/disaster_radius.txt +++ b/forge-gui/res/cardsfolder/d/disaster_radius.txt @@ -1,7 +1,7 @@ Name:Disaster Radius ManaCost:5 R R Types:Sorcery -A:SP$ DamageAll | Cost$ 5 R R Reveal<1/Creature> | NumDmg$ X | ValidCards$ Creature.OppCtrl | ValidDescription$ each creature your opponents control. | References$ X | SpellDescription$ CARDNAME deals X damage to each creature your opponents control, where X is the revealed card's converted mana cost. +A:SP$ DamageAll | Cost$ 5 R R Reveal<1/Creature> | NumDmg$ X | ValidCards$ Creature.OppCtrl | ValidDescription$ each creature your opponents control. | SpellDescription$ CARDNAME deals X damage to each creature your opponents control, where X is the revealed card's converted mana cost. SVar:X:Revealed$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/disaster_radius.jpg diff --git a/forge-gui/res/cardsfolder/d/disciple_of_bolas.txt b/forge-gui/res/cardsfolder/d/disciple_of_bolas.txt index d472853f561..d0fb8037c54 100644 --- a/forge-gui/res/cardsfolder/d/disciple_of_bolas.txt +++ b/forge-gui/res/cardsfolder/d/disciple_of_bolas.txt @@ -4,8 +4,8 @@ Types:Creature Human Wizard PT:2/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice another creature. You gain X life and draw X cards, where X is that creature's power. SVar:TrigSac:DB$ Sacrifice | Amount$ 1 | SacValid$ Creature.Other | RememberSacrificed$ True | Mandatory$ True | SubAbility$ GainLife -SVar:GainLife:DB$ GainLife | LifeAmount$ X | References$ X | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:GainLife:DB$ GainLife | LifeAmount$ X | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardPower SVar:NeedsToPlay:Creature.YouCtrl diff --git a/forge-gui/res/cardsfolder/d/disciple_of_griselbrand.txt b/forge-gui/res/cardsfolder/d/disciple_of_griselbrand.txt index 78f8d2d3f7e..454c47d9ba4 100644 --- a/forge-gui/res/cardsfolder/d/disciple_of_griselbrand.txt +++ b/forge-gui/res/cardsfolder/d/disciple_of_griselbrand.txt @@ -2,7 +2,7 @@ Name:Disciple of Griselbrand ManaCost:1 B Types:Creature Human Cleric PT:1/1 -A:AB$ GainLife | Cost$ 1 Sac<1/Creature> | Defined$ You | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the sacrificed creature's toughness. +A:AB$ GainLife | Cost$ 1 Sac<1/Creature> | Defined$ You | LifeAmount$ X | SpellDescription$ You gain life equal to the sacrificed creature's toughness. SVar:X:Sacrificed$CardToughness AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/disciple_of_griselbrand.jpg diff --git a/forge-gui/res/cardsfolder/d/disciple_of_phenax.txt b/forge-gui/res/cardsfolder/d/disciple_of_phenax.txt index 91bf32b92fb..e274b89e01b 100644 --- a/forge-gui/res/cardsfolder/d/disciple_of_phenax.txt +++ b/forge-gui/res/cardsfolder/d/disciple_of_phenax.txt @@ -3,7 +3,7 @@ ManaCost:2 B B Types:Creature Human Cleric PT:1/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBDiscard | TriggerDescription$ Whenever CARDNAME enters the battlefield, target player reveals a number of cards from their hand equal to your devotion to black. You choose one of them. That player discards that card. -SVar:DBDiscard:DB$ Discard | ValidTgts$ Player | NumCards$ 1 | RevealNumber$ X | References$ X | Mode$ RevealYouChoose | DiscardValid$ Card +SVar:DBDiscard:DB$ Discard | ValidTgts$ Player | NumCards$ 1 | RevealNumber$ X | Mode$ RevealYouChoose | DiscardValid$ Card SVar:X:Count$Devotion.Black SVar:Picture:http://www.wizards.com/global/images/magic/general/disciple_of_phenax.jpg Oracle:When Disciple of Phenax enters the battlefield, target player reveals a number of cards from their hand equal to your devotion to black. You choose one of them. That player discards that card. (Each {B} in the mana costs of permanents you control counts toward your devotion to black.) diff --git a/forge-gui/res/cardsfolder/d/discordant_dirge.txt b/forge-gui/res/cardsfolder/d/discordant_dirge.txt index d81aa0cacf9..90ef5216365 100644 --- a/forge-gui/res/cardsfolder/d/discordant_dirge.txt +++ b/forge-gui/res/cardsfolder/d/discordant_dirge.txt @@ -3,7 +3,7 @@ ManaCost:3 B B Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ VERSE | CounterNum$ 1 -A:AB$ Discard | Cost$ B Sac<1/CARDNAME> | ValidTgts$ Opponent | Mode$ RevealYouChoose | NumCards$ X | References$ X | SpellDescription$ Look at target opponent's hand and choose up to X cards from it, where X is the number of verse counters on CARDNAME. That player discards those cards. +A:AB$ Discard | Cost$ B Sac<1/CARDNAME> | ValidTgts$ Opponent | Mode$ RevealYouChoose | NumCards$ X | SpellDescription$ Look at target opponent's hand and choose up to X cards from it, where X is the number of verse counters on CARDNAME. That player discards those cards. SVar:X:Count$CardCounters.VERSE SVar:Picture:http://www.wizards.com/global/images/magic/general/discordant_dirge.jpg Oracle:At the beginning of your upkeep, you may put a verse counter on Discordant Dirge.\n{B}, Sacrifice Discordant Dirge: Look at target opponent's hand and choose up to X cards from it, where X is the number of verse counters on Discordant Dirge. That player discards those cards. diff --git a/forge-gui/res/cardsfolder/d/discordant_spirit.txt b/forge-gui/res/cardsfolder/d/discordant_spirit.txt index a34edf16a4e..e51036fba98 100644 --- a/forge-gui/res/cardsfolder/d/discordant_spirit.txt +++ b/forge-gui/res/cardsfolder/d/discordant_spirit.txt @@ -3,7 +3,7 @@ ManaCost:2 B R Types:Creature Spirit PT:2/2 T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Player.Opponent | TriggerZones$ Battlefield | Execute$ GhostCounter | TriggerDescription$ At the beginning of each end step, if it's an opponent's turn, put a +1/+1 counter on CARDNAME for each 1 damage dealt to you this turn. -SVar:GhostCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:GhostCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ GhostClear | TriggerDescription$ At the beginning of your end step, remove all +1/+1 counters from CARDNAME. SVar:GhostClear:DB$ RemoveCounter | CounterType$ P1P1 | CounterNum$ All SVar:X:Count$YourDamageThisTurn diff --git a/forge-gui/res/cardsfolder/d/diseased_vermin.txt b/forge-gui/res/cardsfolder/d/diseased_vermin.txt index 57855fb4429..2c6657c6f18 100644 --- a/forge-gui/res/cardsfolder/d/diseased_vermin.txt +++ b/forge-gui/res/cardsfolder/d/diseased_vermin.txt @@ -6,7 +6,7 @@ T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ INFECTION | CounterNum$ 1 | SubAbility$ DBRemember SVar:DBRemember:DB$ Pump | RememberObjects$ Opponent | StackDescription$ None T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ DBDisease | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, Diseased Vermin deals X damage to target opponent previously dealt damage by it, where X is the number of infection counters on it. -SVar:DBDisease:DB$ DealDamage| ValidTgts$ Opponent.IsRemembered | NumDmg$ X | References$ X +SVar:DBDisease:DB$ DealDamage| ValidTgts$ Opponent.IsRemembered | NumDmg$ X SVar:X:Count$CardCounters.INFECTION T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Defined$ Self | Execute$ DBCleanup | Static$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/d/disembowel.txt b/forge-gui/res/cardsfolder/d/disembowel.txt index 12029f6151e..669bb0afe0c 100644 --- a/forge-gui/res/cardsfolder/d/disembowel.txt +++ b/forge-gui/res/cardsfolder/d/disembowel.txt @@ -1,6 +1,6 @@ Name:Disembowel ManaCost:X B Types:Instant -A:SP$ Destroy | Cost$ X B | ValidTgts$ Creature.cmcEQX | References$ X | SpellDescription$ Destroy target creature with converted mana cost X. +A:SP$ Destroy | Cost$ X B | ValidTgts$ Creature.cmcEQX | SpellDescription$ Destroy target creature with converted mana cost X. SVar:X:Count$xPaid Oracle:Destroy target creature with converted mana cost X. diff --git a/forge-gui/res/cardsfolder/d/disintegrate.txt b/forge-gui/res/cardsfolder/d/disintegrate.txt index bd0b86d9319..78bb2666fac 100644 --- a/forge-gui/res/cardsfolder/d/disintegrate.txt +++ b/forge-gui/res/cardsfolder/d/disintegrate.txt @@ -1,7 +1,7 @@ Name:Disintegrate ManaCost:X R Types:Sorcery -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DB | References$ X | ReplaceDyingDefined$ Targeted.Creature | SpellDescription$ CARDNAME deals X damage to any target. That creature can't be regenerated this turn. If the creature would die this turn, exile it instead. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DB | ReplaceDyingDefined$ Targeted.Creature | SpellDescription$ CARDNAME deals X damage to any target. That creature can't be regenerated this turn. If the creature would die this turn, exile it instead. SVar:DB:DB$ Pump | KW$ HIDDEN CARDNAME can't be regenerated. | Defined$ Targeted.Creature SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/disintegrate.jpg diff --git a/forge-gui/res/cardsfolder/d/dismantle.txt b/forge-gui/res/cardsfolder/d/dismantle.txt index 69a7d4e4fb4..b666a24d1b0 100644 --- a/forge-gui/res/cardsfolder/d/dismantle.txt +++ b/forge-gui/res/cardsfolder/d/dismantle.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Sorcery A:SP$ Destroy | Cost$ 2 R | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | SubAbility$ DBChoice | SpellDescription$ Destroy target artifact. If that artifact had counters on it, put that many +1/+1 counters or charge counters on an artifact you control. SVar:DBChoice:DB$ GenericChoice | Choices$ DBPutP1P1,DBPutCharge | ConditionDefined$ Targeted | ConditionPresent$ Card.HasCounters | ConditionCompare$ GE1 | StackDescription$ put that many +1/+1 counters or charge counters on an artifact you control. -SVar:DBPutP1P1:DB$ PutCounter | Choices$ Artifact.YouCtrl | CounterType$ P1P1 | CounterNum$ X | References$ X | SpellDescription$ +1/+1 -SVar:DBPutCharge:DB$ PutCounter | Choices$ Artifact.YouCtrl | CounterType$ CHARGE | CounterNum$ X | References$ X | SpellDescription$ Charge +SVar:DBPutP1P1:DB$ PutCounter | Choices$ Artifact.YouCtrl | CounterType$ P1P1 | CounterNum$ X | SpellDescription$ +1/+1 +SVar:DBPutCharge:DB$ PutCounter | Choices$ Artifact.YouCtrl | CounterType$ CHARGE | CounterNum$ X | SpellDescription$ Charge SVar:X:TargetedLKI$CardCounters.ALL Oracle:Destroy target artifact. If that artifact had counters on it, put that many +1/+1 counters or charge counters on an artifact you control. diff --git a/forge-gui/res/cardsfolder/d/dismantling_wave.txt b/forge-gui/res/cardsfolder/d/dismantling_wave.txt index eae3e5ebb31..c5310d2b078 100755 --- a/forge-gui/res/cardsfolder/d/dismantling_wave.txt +++ b/forge-gui/res/cardsfolder/d/dismantling_wave.txt @@ -1,7 +1,7 @@ Name:Dismantling Wave ManaCost:2 W Types:Sorcery -A:SP$ Destroy | Cost$ 2 W | ValidTgts$ Artifact.OppCtrl,Enchantment.OppCtrl | TgtPrompt$ Select up to one target artifact or enchantment each opponent controls | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | SpellDescription$ For each opponent, destroy up to one target artifact or enchantment that player controls. +A:SP$ Destroy | Cost$ 2 W | ValidTgts$ Artifact.OppCtrl,Enchantment.OppCtrl | TgtPrompt$ Select up to one target artifact or enchantment each opponent controls | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | SpellDescription$ For each opponent, destroy up to one target artifact or enchantment that player controls. SVar:OneEach:PlayerCountOpponents$Amount K:Cycling:6 W W T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigDestroy | TriggerDescription$ When you cycle CARDNAME, destroy all artifacts and enchantments. diff --git a/forge-gui/res/cardsfolder/d/dispense_justice.txt b/forge-gui/res/cardsfolder/d/dispense_justice.txt index b6f7cc96653..b57245c2977 100644 --- a/forge-gui/res/cardsfolder/d/dispense_justice.txt +++ b/forge-gui/res/cardsfolder/d/dispense_justice.txt @@ -1,7 +1,7 @@ Name:Dispense Justice ManaCost:2 W Types:Instant -A:SP$ Sacrifice | Cost$ 2 W | ValidTgts$ Player | SacValid$ Creature.attacking | SacMessage$ Attacking Creature | Amount$ X | References$ X | SpellDescription$ Target player sacrifices an attacking creature. Metalcraft — That player sacrifices two attacking creatures instead if you control three or more artifacts. +A:SP$ Sacrifice | Cost$ 2 W | ValidTgts$ Player | SacValid$ Creature.attacking | SacMessage$ Attacking Creature | Amount$ X | SpellDescription$ Target player sacrifices an attacking creature. Metalcraft — That player sacrifices two attacking creatures instead if you control three or more artifacts. SVar:X:Count$Metalcraft.2.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/dispense_justice.jpg Oracle:Target player sacrifices an attacking creature.\nMetalcraft — That player sacrifices two attacking creatures instead if you control three or more artifacts. diff --git a/forge-gui/res/cardsfolder/d/dispersal_shield.txt b/forge-gui/res/cardsfolder/d/dispersal_shield.txt index 9c1fbf45dec..7a339e2e9d2 100644 --- a/forge-gui/res/cardsfolder/d/dispersal_shield.txt +++ b/forge-gui/res/cardsfolder/d/dispersal_shield.txt @@ -1,7 +1,7 @@ Name:Dispersal Shield ManaCost:1 U Types:Instant -A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | ConditionCheckSVar$ X | ConditionSVarCompare$ LEY | References$ X,Y | SpellDescription$ Counter target spell if its converted mana cost is less than or equal to the highest converted mana cost among permanents you control. +A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | ConditionCheckSVar$ X | ConditionSVarCompare$ LEY | SpellDescription$ Counter target spell if its converted mana cost is less than or equal to the highest converted mana cost among permanents you control. SVar:X:Targeted$CardManaCost SVar:Y:Count$MaxCMCYouCtrl AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/d/displacement_wave.txt b/forge-gui/res/cardsfolder/d/displacement_wave.txt index 3aec0b55556..27ba155ad16 100644 --- a/forge-gui/res/cardsfolder/d/displacement_wave.txt +++ b/forge-gui/res/cardsfolder/d/displacement_wave.txt @@ -1,7 +1,7 @@ Name:Displacement Wave ManaCost:X U U Types:Sorcery -A:SP$ ChangeZoneAll | Cost$ X U U | ChangeType$ Permanent.nonLand+cmcLEX | Origin$ Battlefield | Destination$ Hand | References$ X | SpellDescription$ Return all nonland permanents with converted mana cost X or less to their owners' hands. +A:SP$ ChangeZoneAll | Cost$ X U U | ChangeType$ Permanent.nonLand+cmcLEX | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return all nonland permanents with converted mana cost X or less to their owners' hands. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/displacement_wave.jpg Oracle:Return all nonland permanents with converted mana cost X or less to their owners' hands. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/d/disrupting_shoal.txt b/forge-gui/res/cardsfolder/d/disrupting_shoal.txt index c6a6f945dfb..f9423665b50 100644 --- a/forge-gui/res/cardsfolder/d/disrupting_shoal.txt +++ b/forge-gui/res/cardsfolder/d/disrupting_shoal.txt @@ -3,7 +3,7 @@ ManaCost:X U U Types:Instant Arcane SVar:AltCost:Cost$ ExileFromHand<1/Card.Blue+Other/blue card> | Description$ You may exile a blue card with converted mana cost X from your hand rather than pay this spell's mana cost. A:SP$ Pump | Cost$ X U U | IsCurse$ True | TargetType$ Spell | TgtZone$ Stack | TgtPrompt$ Select target spell | ValidTgts$ Card | SubAbility$ DBCounter -SVar:DBCounter:DB$ Counter | Defined$ Targeted | ConditionCheckSVar$ T | ConditionSVarCompare$ EQZ | References$ X,Y,Z,T | SpellDescription$ Counter target spell if its converted mana cost is X. +SVar:DBCounter:DB$ Counter | Defined$ Targeted | ConditionCheckSVar$ T | ConditionSVarCompare$ EQZ | SpellDescription$ Counter target spell if its converted mana cost is X. SVar:X:Count$xPaid SVar:Y:Exiled$CardManaCost SVar:Z:SVar$Y/Plus.X diff --git a/forge-gui/res/cardsfolder/d/distant_melody.txt b/forge-gui/res/cardsfolder/d/distant_melody.txt index 2b74c216bca..9600754dc2d 100644 --- a/forge-gui/res/cardsfolder/d/distant_melody.txt +++ b/forge-gui/res/cardsfolder/d/distant_melody.txt @@ -2,7 +2,7 @@ Name:Distant Melody ManaCost:3 U Types:Sorcery A:SP$ ChooseType | Cost$ 3 U | Defined$ You | Type$ Creature | SubAbility$ DBDraw | AILogic$ MostProminentComputerControls | SpellDescription$ Choose a creature type. Draw a card for each permanent you control of that type. -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ X SVar:X:Count$Valid Permanent.ChosenType+YouCtrl AI:RemoveDeck:Random SVar:NeedsToPlay:Creature diff --git a/forge-gui/res/cardsfolder/d/distant_memories.txt b/forge-gui/res/cardsfolder/d/distant_memories.txt index 896bf34440c..ada44f99684 100644 --- a/forge-gui/res/cardsfolder/d/distant_memories.txt +++ b/forge-gui/res/cardsfolder/d/distant_memories.txt @@ -3,7 +3,7 @@ ManaCost:2 U U Types:Sorcery A:SP$ ChangeZone | Cost$ 2 U U | Origin$ Library | Destination$ Exile | ChangeType$ Card | ChangeNum$ 1 | Mandatory$ True | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ DBReturn | SpellDescription$ Search your library for a card, exile it, then shuffle your library. Any opponent may have you put that card into your hand. If no player does, you draw three cards. SVar:DBReturn:DB$ChangeZone | Origin$ Exile | Destination$ Hand | ChangeType$ Card.IsRemembered | Hidden$ True | Chooser$ Opponent | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$Draw | NumCards$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ LE0 | References$ X +SVar:DBDraw:DB$Draw | NumCards$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ LE0 SVar:X:Remembered$Amount AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/distant_memories.jpg diff --git a/forge-gui/res/cardsfolder/d/distorting_wake.txt b/forge-gui/res/cardsfolder/d/distorting_wake.txt index 4f88b386ba9..4e02377cdcc 100644 --- a/forge-gui/res/cardsfolder/d/distorting_wake.txt +++ b/forge-gui/res/cardsfolder/d/distorting_wake.txt @@ -1,6 +1,6 @@ Name:Distorting Wake ManaCost:X U U U Types:Sorcery -A:SP$ ChangeZone | Cost$ X U U U | Origin$ Battlefield | Destination$ Hand | TargetMin$ X | TargetMax$ X | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select X target nonland permanents | References$ X | SpellDescription$ Return X target nonland permanents to their owners' hands. +A:SP$ ChangeZone | Cost$ X U U U | Origin$ Battlefield | Destination$ Hand | TargetMin$ X | TargetMax$ X | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select X target nonland permanents | SpellDescription$ Return X target nonland permanents to their owners' hands. SVar:X:Count$xPaid Oracle:Return X target nonland permanents to their owners' hands. diff --git a/forge-gui/res/cardsfolder/d/divine_congregation.txt b/forge-gui/res/cardsfolder/d/divine_congregation.txt index 67a0a5b32ec..5a1c8e2deb7 100644 --- a/forge-gui/res/cardsfolder/d/divine_congregation.txt +++ b/forge-gui/res/cardsfolder/d/divine_congregation.txt @@ -2,7 +2,7 @@ Name:Divine Congregation ManaCost:3 W Types:Sorcery K:Suspend:5:1 W -A:SP$ GainLife | Cost$ 3 W | LifeAmount$ X | ValidTgts$ Player | TgtPrompt$ Select target player | Defined$ You | References$ X | SpellDescription$ You gain 2 life for each creature target player controls. +A:SP$ GainLife | Cost$ 3 W | LifeAmount$ X | ValidTgts$ Player | TgtPrompt$ Select target player | Defined$ You | SpellDescription$ You gain 2 life for each creature target player controls. SVar:X:TargetedPlayer$CreaturesInPlay/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/divine_congregation.jpg Oracle:You gain 2 life for each creature target player controls.\nSuspend 5—{1}{W} (Rather than cast this card from your hand, you may pay {1}{W} and exile it with five time counters on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.) diff --git a/forge-gui/res/cardsfolder/d/divine_offering.txt b/forge-gui/res/cardsfolder/d/divine_offering.txt index f0c3a11eb01..1b2ab6453ba 100644 --- a/forge-gui/res/cardsfolder/d/divine_offering.txt +++ b/forge-gui/res/cardsfolder/d/divine_offering.txt @@ -2,7 +2,7 @@ Name:Divine Offering ManaCost:1 W Types:Instant A:SP$ Destroy | Cost$ 1 W | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | SubAbility$ DBGainLife | SpellDescription$ Destroy target artifact. You gain life equal to its converted mana cost. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Targeted$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/divine_offering.jpg Oracle:Destroy target artifact. You gain life equal to its converted mana cost. diff --git a/forge-gui/res/cardsfolder/d/divine_retribution.txt b/forge-gui/res/cardsfolder/d/divine_retribution.txt index 0fe53fe0821..24d734b8eef 100644 --- a/forge-gui/res/cardsfolder/d/divine_retribution.txt +++ b/forge-gui/res/cardsfolder/d/divine_retribution.txt @@ -1,7 +1,7 @@ Name:Divine Retribution ManaCost:1 W Types:Instant -A:SP$ DealDamage | Cost$ 1 W | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target attacking creature equal to the number of attacking creatures. +A:SP$ DealDamage | Cost$ 1 W | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target attacking creature equal to the number of attacking creatures. SVar:X:Count$Valid Creature.attacking SVar:Picture:http://www.wizards.com/global/images/magic/general/divine_retribution.jpg Oracle:Divine Retribution deals damage to target attacking creature equal to the number of attacking creatures. diff --git a/forge-gui/res/cardsfolder/d/diviner_spirit.txt b/forge-gui/res/cardsfolder/d/diviner_spirit.txt index 758e36d44dd..deae8fae6bc 100644 --- a/forge-gui/res/cardsfolder/d/diviner_spirit.txt +++ b/forge-gui/res/cardsfolder/d/diviner_spirit.txt @@ -3,8 +3,8 @@ ManaCost:4 U Types:Creature Spirit PT:2/4 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDraw | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you and that player each draw that many cards. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ TriggeredTarget | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | Defined$ TriggeredTarget | NumCards$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/diviner_spirit.jpg Oracle:Whenever Diviner Spirit deals combat damage to a player, you and that player each draw that many cards. diff --git a/forge-gui/res/cardsfolder/d/dockside_extortionist.txt b/forge-gui/res/cardsfolder/d/dockside_extortionist.txt index 85d7084477a..795b094749c 100644 --- a/forge-gui/res/cardsfolder/d/dockside_extortionist.txt +++ b/forge-gui/res/cardsfolder/d/dockside_extortionist.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Goblin Pirate PT:1/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBTreasureTokens | TriggerDescription$ When CARDNAME enters the battlefield, create X Treasure tokens, where X is the number of artifacts and enchantments your opponents control. -SVar:DBTreasureTokens:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ c_a_treasure_sac | TokenOwner$ You | LegacyImage$ c a treasure sac c19 +SVar:DBTreasureTokens:DB$ Token | TokenAmount$ X | TokenScript$ c_a_treasure_sac | TokenOwner$ You | LegacyImage$ c a treasure sac c19 SVar:X:Count$Valid Artifact.OppCtrl,Enchantment.OppCtrl SVar:PlayMain1:TRUE Oracle:When Dockside Extortionist enters the battlefield, create X Treasure tokens, where X is the number of artifacts and enchantments your opponents control. (Treasure tokens are artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.") diff --git a/forge-gui/res/cardsfolder/d/dogpile.txt b/forge-gui/res/cardsfolder/d/dogpile.txt index a1f2af09288..93ad38e3064 100644 --- a/forge-gui/res/cardsfolder/d/dogpile.txt +++ b/forge-gui/res/cardsfolder/d/dogpile.txt @@ -1,7 +1,7 @@ Name:Dogpile ManaCost:3 R Types:Instant -A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to any target equal to the number of attacking creatures you control. +A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage to any target equal to the number of attacking creatures you control. SVar:X:Count$Valid Creature.attacking+YouCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/dogpile.jpg diff --git a/forge-gui/res/cardsfolder/d/dominate.txt b/forge-gui/res/cardsfolder/d/dominate.txt index b34d2d1c1d3..82ecfb51be8 100644 --- a/forge-gui/res/cardsfolder/d/dominate.txt +++ b/forge-gui/res/cardsfolder/d/dominate.txt @@ -1,7 +1,7 @@ Name:Dominate ManaCost:X 1 U U Types:Instant -A:SP$ GainControl | Cost$ X 1 U U | ValidTgts$ Creature.cmcLEX | TgtPrompt$ Select target creature | References$ X | SpellDescription$ Gain control of target creature with converted mana cost X or less. +A:SP$ GainControl | Cost$ X 1 U U | ValidTgts$ Creature.cmcLEX | TgtPrompt$ Select target creature | SpellDescription$ Gain control of target creature with converted mana cost X or less. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Gain control of target creature with converted mana cost X or less. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/d/domris_ambush.txt b/forge-gui/res/cardsfolder/d/domris_ambush.txt index a08085c9314..cd856ca47ca 100644 --- a/forge-gui/res/cardsfolder/d/domris_ambush.txt +++ b/forge-gui/res/cardsfolder/d/domris_ambush.txt @@ -2,7 +2,7 @@ Name:Domri's Ambush ManaCost:R G Types:Sorcery A:SP$ PutCounter | Cost$ R G | ValidTgts$ Creature.YouCtrl | CounterType$ P1P1 | TgtPrompt$ Select target creature you control to put a +1/+1 counter | SubAbility$ DBDamage | SpellDescription$ Put a +1/+1 counter on target creature you control. Then that creature deals damage equal to its power to target creature or planeswalker you don't control. -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl,Planeswalker.YouDontCtrl | TgtPrompt$ Select target creature or planeswalker you don't control | NumDmg$ X | References$ X | DamageSource$ ParentTarget | AILogic$ DamageAfterPutCounter +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl,Planeswalker.YouDontCtrl | TgtPrompt$ Select target creature or planeswalker you don't control | NumDmg$ X | DamageSource$ ParentTarget | AILogic$ DamageAfterPutCounter SVar:X:ParentTargeted$CardPower DeckHas:Ability$Counters Oracle:Put a +1/+1 counter on target creature you control. Then that creature deals damage equal to its power to target creature or planeswalker you don't control. diff --git a/forge-gui/res/cardsfolder/d/dong_zhou_the_tyrant.txt b/forge-gui/res/cardsfolder/d/dong_zhou_the_tyrant.txt index fb04dd128c3..54268785663 100644 --- a/forge-gui/res/cardsfolder/d/dong_zhou_the_tyrant.txt +++ b/forge-gui/res/cardsfolder/d/dong_zhou_the_tyrant.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Soldier PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDmgOpp | TriggerDescription$ When CARDNAME enters the battlefield, target creature an opponent controls deals damage equal to its power to that player. SVar:TrigDmgOpp:DB$ Pump | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target target creature an opponent controls | RememberObjects$ Targeted | SubAbility$ DBDmgOpp | StackDescription$ None | IsCurse$ True | SpellDescription$ Target creature an opponent controls deals damage equal to its power to that player. -SVar:DBDmgOpp:DB$ DealDamage | DamageSource$ Remembered | Defined$ RememberedController | NumDmg$ X | SubAbility$ DBCleanup | References$ X +SVar:DBDmgOpp:DB$ DealDamage | DamageSource$ Remembered | Defined$ RememberedController | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/dong_zhou_the_tyrant.jpg diff --git a/forge-gui/res/cardsfolder/d/doomgape.txt b/forge-gui/res/cardsfolder/d/doomgape.txt index 5fae49f3e46..669bbd1fd2e 100644 --- a/forge-gui/res/cardsfolder/d/doomgape.txt +++ b/forge-gui/res/cardsfolder/d/doomgape.txt @@ -5,7 +5,7 @@ PT:10/10 K:Trample T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, sacrifice a creature. You gain life equal to that creature's toughness. SVar:TrigSac:DB$Sacrifice | Defined$ You | SacValid$ Creature | SacMessage$ Creature | RememberSacrificed$ True | SubAbility$ DBGainLife -SVar:DBGainLife:DB$GainLife | LifeAmount$ X | SubAbility$ DBCleanup | References$ X +SVar:DBGainLife:DB$GainLife | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardToughness SVar:NeedsToPlayVar:Z GE2 diff --git a/forge-gui/res/cardsfolder/d/doomsday.txt b/forge-gui/res/cardsfolder/d/doomsday.txt index 3add4ba1d0a..0af06528853 100644 --- a/forge-gui/res/cardsfolder/d/doomsday.txt +++ b/forge-gui/res/cardsfolder/d/doomsday.txt @@ -3,8 +3,8 @@ ManaCost:B B B Types:Sorcery A:SP$ ChangeZone | Cost$ B B B | Origin$ Graveyard,Library | Destination$ Library | ChangeType$ Card | ChangeNum$ 5 | SubAbility$ DBChangeZone | RememberChanged$ True | Mandatory$ True | SpellDescription$ Search your library and graveyard for five cards and exile the rest. Put the chosen cards on top of your library in any order. You lose half your life, rounded up. SVar:DBChangeZone:DB$ ChangeZoneAll | Defined$ You | Origin$ Graveyard,Library | Destination$ Exile | ChangeType$ Card.IsNotRemembered | SubAbility$ DBDig -SVar:DBDig:DB$ RearrangeTopOfLibrary | Defined$ You | NumCards$ X | SubAbility$ DBLoseLife | References$ X -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ Y | References$ Y | SubAbility$ DBCleanup +SVar:DBDig:DB$ RearrangeTopOfLibrary | Defined$ You | NumCards$ X | SubAbility$ DBLoseLife +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$InYourLibrary SVar:Y:Count$YourLifeTotal/HalfUp diff --git a/forge-gui/res/cardsfolder/d/doorkeeper.txt b/forge-gui/res/cardsfolder/d/doorkeeper.txt index 6019d6f203e..6b70c3923c6 100644 --- a/forge-gui/res/cardsfolder/d/doorkeeper.txt +++ b/forge-gui/res/cardsfolder/d/doorkeeper.txt @@ -3,6 +3,6 @@ ManaCost:1 U Types:Creature Homunculus PT:0/4 K:Defender -A:AB$ Mill | Cost$ 2 U T | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | References$ X | SpellDescription$ Target player mills X cards, where X is the number of creatures with defender you control. +A:AB$ Mill | Cost$ 2 U T | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | SpellDescription$ Target player mills X cards, where X is the number of creatures with defender you control. SVar:X:Count$Valid Creature.withDefender+YouCtrl Oracle:Defender\n{2}{U}, {T}: Target player mills X cards, where X is the number of creatures with defender you control. diff --git a/forge-gui/res/cardsfolder/d/doubling_season.txt b/forge-gui/res/cardsfolder/d/doubling_season.txt index f4123032286..8e2d5d2500b 100644 --- a/forge-gui/res/cardsfolder/d/doubling_season.txt +++ b/forge-gui/res/cardsfolder/d/doubling_season.txt @@ -2,9 +2,9 @@ Name:Doubling Season ManaCost:4 G Types:Enchantment R:Event$ CreateToken | ActiveZones$ Battlefield | ValidPlayer$ You | ReplaceWith$ DoubleToken | EffectOnly$ True | Description$ If an effect would create one or more tokens under your control, it creates twice that many of those tokens instead. -SVar:DoubleToken:DB$ ReplaceEffect | VarName$ TokenNum | VarValue$ X | References$ X +SVar:DoubleToken:DB$ ReplaceEffect | VarName$ TokenNum | VarValue$ X R:Event$ AddCounter | ActiveZones$ Battlefield | ValidCard$ Permanent.YouCtrl | EffectOnly$ True | ReplaceWith$ DoubleCounters | Description$ If an effect would put one or more counters on a permanent you control, it puts twice that many of those counters on that permanent instead. -SVar:DoubleCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ Y | References$ Y +SVar:DoubleCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ Y SVar:X:ReplaceCount$TokenNum/Twice SVar:Y:ReplaceCount$CounterNum/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/doubling_season.jpg diff --git a/forge-gui/res/cardsfolder/d/doubtless_one.txt b/forge-gui/res/cardsfolder/d/doubtless_one.txt index b3848bcab37..4fd07be194d 100644 --- a/forge-gui/res/cardsfolder/d/doubtless_one.txt +++ b/forge-gui/res/cardsfolder/d/doubtless_one.txt @@ -2,10 +2,10 @@ Name:Doubtless One ManaCost:3 W Types:Creature Cleric Avatar PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Clerics on the battlefield. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Clerics on the battlefield. SVar:X:Count$Valid Cleric T:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ Y | References$ Y +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ Y SVar:Y:TriggerCount$DamageAmount SVar:BuffedBy:Cleric SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/d/dovescape.txt b/forge-gui/res/cardsfolder/d/dovescape.txt index 5d653a1b4ac..4d51bf4609e 100644 --- a/forge-gui/res/cardsfolder/d/dovescape.txt +++ b/forge-gui/res/cardsfolder/d/dovescape.txt @@ -3,7 +3,7 @@ ManaCost:3 WU WU WU Types:Enchantment T:Mode$ SpellCast | ValidCard$ Card.nonCreature | TriggerZones$ Battlefield | Execute$ TrigCounter | TriggerDescription$ Whenever a player casts a noncreature spell, counter that spell. That player creates X 1/1 white and blue Bird creature tokens with flying, where X is the spell's converted mana cost. SVar:TrigCounter:DB$ Counter | Defined$ TriggeredSpellAbility | RememberCounteredCMC$ True | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ wu_1_1_bird_flying | TokenOwner$ TriggeredActivator | LegacyImage$ wu 1 1 bird flying dis | References$ X | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ wu_1_1_bird_flying | TokenOwner$ TriggeredActivator | LegacyImage$ wu 1 1 bird flying dis | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedNumber SVar:Picture:http://www.wizards.com/global/images/magic/general/dovescape.jpg diff --git a/forge-gui/res/cardsfolder/d/downhill_charge.txt b/forge-gui/res/cardsfolder/d/downhill_charge.txt index 69f1b0f5198..c7c5dd972e8 100644 --- a/forge-gui/res/cardsfolder/d/downhill_charge.txt +++ b/forge-gui/res/cardsfolder/d/downhill_charge.txt @@ -2,6 +2,6 @@ Name:Downhill Charge ManaCost:2 R Types:Instant SVar:AltCost:Cost$ Sac<1/Mountain> | Description$ You may sacrifice a Mountain rather than pay this spell's mana cost. -A:SP$ Pump | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X | SpellDescription$ Target creature gets +X/+0 until end of turn, where X is the number of Mountains you control. +A:SP$ Pump | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SpellDescription$ Target creature gets +X/+0 until end of turn, where X is the number of Mountains you control. SVar:X:Count$TypeYouCtrl.Mountain Oracle:You may sacrifice a Mountain rather than pay this spell's mana cost.\nTarget creature gets +X/+0 until end of turn, where X is the number of Mountains you control. diff --git a/forge-gui/res/cardsfolder/d/draco.txt b/forge-gui/res/cardsfolder/d/draco.txt index ee59f548859..49d7eb4d43c 100644 --- a/forge-gui/res/cardsfolder/d/draco.txt +++ b/forge-gui/res/cardsfolder/d/draco.txt @@ -3,9 +3,9 @@ ManaCost:16 Types:Artifact Creature Dragon PT:9/9 K:Flying -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ Domain — This spell costs {2} less to cast for each basic land type among lands you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ Domain — This spell costs {2} less to cast for each basic land type among lands you control. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ Domain — At the beginning of your upkeep, sacrifice CARDNAME unless you pay {10}. This cost is reduced by {2} for each basic land type among lands you control. -SVar:TrigSac:DB$Sacrifice | Defined$ Self | UnlessCost$ UpkeepX | UnlessPayer$ You | References$ UpkeepX +SVar:TrigSac:DB$Sacrifice | Defined$ Self | UnlessCost$ UpkeepX | UnlessPayer$ You SVar:X:Count$Domain/Twice SVar:UpkeepX:Number$10/Minus.X SVar:Picture:http://www.wizards.com/global/images/magic/general/draco.jpg diff --git a/forge-gui/res/cardsfolder/d/dracoplasm.txt b/forge-gui/res/cardsfolder/d/dracoplasm.txt index 17ad0fde3d1..f589db634ce 100644 --- a/forge-gui/res/cardsfolder/d/dracoplasm.txt +++ b/forge-gui/res/cardsfolder/d/dracoplasm.txt @@ -4,8 +4,8 @@ Types:Creature Shapeshifter PT:0/0 K:Flying K:ETBReplacement:Other:TrigSac -SVar:TrigSac:DB$ Sacrifice | Amount$ SacX | References$ SacX | SacValid$ Creature | Defined$ You | RememberSacrificed$ True | Optional$ True | SubAbility$ DBAnimate | SpellDescription$ As CARDNAME enters the battlefield, sacrifice any number of creatures. CARDNAME's power becomes the total power of those creatures and its toughness becomes their total toughness. -SVar:DBAnimate:DB$ Animate | Defined$ Self | Power$ DracoPwr | Toughness$ DracoTgn | References$ DracoPwr,DracoTgn | Permanent$ True | SubAbility$ DBCleanup +SVar:TrigSac:DB$ Sacrifice | Amount$ SacX | SacValid$ Creature | Defined$ You | RememberSacrificed$ True | Optional$ True | SubAbility$ DBAnimate | SpellDescription$ As CARDNAME enters the battlefield, sacrifice any number of creatures. CARDNAME's power becomes the total power of those creatures and its toughness becomes their total toughness. +SVar:DBAnimate:DB$ Animate | Defined$ Self | Power$ DracoPwr | Toughness$ DracoTgn | Permanent$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Creature.YouCtrl SVar:DracoPwr:RememberedLKI$CardPower diff --git a/forge-gui/res/cardsfolder/d/drafnas_restoration.txt b/forge-gui/res/cardsfolder/d/drafnas_restoration.txt index a6f600bcd53..f9f5b2240a8 100644 --- a/forge-gui/res/cardsfolder/d/drafnas_restoration.txt +++ b/forge-gui/res/cardsfolder/d/drafnas_restoration.txt @@ -2,7 +2,7 @@ Name:Drafna's Restoration ManaCost:U Types:Sorcery A:SP$ Pump | Cost$ U | ValidTgts$ Player | TgtPrompt$ Select target Player | SubAbility$ DBChangeZone | IsCurse$ True | SpellDescription$ Put any number of target artifact cards from target player's graveyard on top of their library in any order. -SVar:DBChangeZone:DB$ ChangeZone | TargetMin$ 0 | TargetMax$ X | TargetsWithDefinedController$ ParentTarget | Origin$ Graveyard | Destination$ Library | TgtPrompt$ Choose target artifact card | ValidTgts$ Artifact | References$ X +SVar:DBChangeZone:DB$ ChangeZone | TargetMin$ 0 | TargetMax$ X | TargetsWithDefinedController$ ParentTarget | Origin$ Graveyard | Destination$ Library | TgtPrompt$ Choose target artifact card | ValidTgts$ Artifact SVar:X:Count$InAllYards AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/d/drag_down.txt b/forge-gui/res/cardsfolder/d/drag_down.txt index af6275a838a..a9d6f11dbe7 100644 --- a/forge-gui/res/cardsfolder/d/drag_down.txt +++ b/forge-gui/res/cardsfolder/d/drag_down.txt @@ -1,7 +1,7 @@ Name:Drag Down ManaCost:2 B Types:Instant -A:SP$ Pump | Cost$ 2 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X | SpellDescription$ Domain — Target creature gets -1/-1 until end of turn for each basic land type among lands you control. +A:SP$ Pump | Cost$ 2 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Domain — Target creature gets -1/-1 until end of turn for each basic land type among lands you control. SVar:X:Count$Domain SVar:Picture:http://www.wizards.com/global/images/magic/general/drag_down.jpg Oracle:Domain — Target creature gets -1/-1 until end of turn for each basic land type among lands you control. diff --git a/forge-gui/res/cardsfolder/d/drag_to_the_underworld.txt b/forge-gui/res/cardsfolder/d/drag_to_the_underworld.txt index e1d07068b99..aacb010cc77 100755 --- a/forge-gui/res/cardsfolder/d/drag_to_the_underworld.txt +++ b/forge-gui/res/cardsfolder/d/drag_to_the_underworld.txt @@ -1,7 +1,7 @@ Name:Drag to the Underworld ManaCost:2 B B Types:Instant -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {X} less to cast, where X is your devotion to black. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {X} less to cast, where X is your devotion to black. SVar:X:Count$Devotion.Black SVar:BuffedBy:Permanent.Black A:SP$ Destroy | Cost$ 2 B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Destroy target creature. diff --git a/forge-gui/res/cardsfolder/d/dragon_scarred_bear.txt b/forge-gui/res/cardsfolder/d/dragon_scarred_bear.txt index dd37fc1d8ab..188bc76e84c 100644 --- a/forge-gui/res/cardsfolder/d/dragon_scarred_bear.txt +++ b/forge-gui/res/cardsfolder/d/dragon_scarred_bear.txt @@ -2,7 +2,7 @@ Name:Dragon-Scarred Bear ManaCost:2 G Types:Creature Bear PT:3/2 -A:AB$ Regenerate | Cost$ 1 G | PrecostDesc$ Formidable — | CheckSVar$ FormidableTest | SVarCompare$ GE8 | References$ FormidableTest | SpellDescription$ Regenerate CARDNAME. Activate this ability only if creatures you control have total power 8 or greater. +A:AB$ Regenerate | Cost$ 1 G | PrecostDesc$ Formidable — | CheckSVar$ FormidableTest | SVarCompare$ GE8 | SpellDescription$ Regenerate CARDNAME. Activate this ability only if creatures you control have total power 8 or greater. SVar:FormidableTest:Count$SumPower_Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/dragon_scarred_bear.jpg Oracle:Formidable — {1}{G}: Regenerate Dragon-Scarred Bear. Activate this ability only if creatures you control have total power 8 or greater. diff --git a/forge-gui/res/cardsfolder/d/dragon_tempest.txt b/forge-gui/res/cardsfolder/d/dragon_tempest.txt index 72265c74d8a..18cdd88bb1b 100644 --- a/forge-gui/res/cardsfolder/d/dragon_tempest.txt +++ b/forge-gui/res/cardsfolder/d/dragon_tempest.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ ChangesZone | ValidCard$ Creature.YouCtrl+withFlying | Origin$ Any | Destination$ Battlefield | Execute$ TrigPump | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature with flying enters the battlefield under your control, it gains haste until end of turn. SVar:TrigPump:DB$ Pump | Defined$ TriggeredCard | KW$ Haste T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Dragon.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ Whenever a Dragon enters the battlefield under your control, it deals X damage to any target, where X is the number of Dragons you control. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | NumDmg$ NumDragons | References$ NumDragons | TgtPrompt$ Select any target | DamageSource$ TriggeredCard +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | NumDmg$ NumDragons | TgtPrompt$ Select any target | DamageSource$ TriggeredCard SVar:NumDragons:Count$Valid Dragon.YouCtrl SVar:BuffedBy:Creature.withFlying DeckHints:Type$Dragon & Keyword$Flying diff --git a/forge-gui/res/cardsfolder/d/dragon_throne_of_tarkir.txt b/forge-gui/res/cardsfolder/d/dragon_throne_of_tarkir.txt index 95739686384..fec73b98c7e 100644 --- a/forge-gui/res/cardsfolder/d/dragon_throne_of_tarkir.txt +++ b/forge-gui/res/cardsfolder/d/dragon_throne_of_tarkir.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Legendary Artifact Equipment K:Equip:3 S:Mode$ Continuous | Affected$ Card.EquippedBy | AddKeyword$ Defender | AddAbility$ ThroneTarkir | AddSVar$ ThroneTarkirX | Description$ Equipped creature has defender and "{2}, {T}: Other creatures you control gain trample and get +X/+X until end of turn, where X is this creature's power." -SVar:ThroneTarkir:AB$ PumpAll | Cost$ 2 T | ValidCards$ Creature.Other+YouCtrl | NumAtt$ ThroneTarkirX | NumDef$ ThroneTarkirX | KW$ Trample | References$ ThroneTarkirX | SpellDescription$ Other creatures you control gain trample and get +X/+X until end of turn, where X is CARDNAME's power. +SVar:ThroneTarkir:AB$ PumpAll | Cost$ 2 T | ValidCards$ Creature.Other+YouCtrl | NumAtt$ ThroneTarkirX | NumDef$ ThroneTarkirX | KW$ Trample | SpellDescription$ Other creatures you control gain trample and get +X/+X until end of turn, where X is CARDNAME's power. SVar:ThroneTarkirX:Count$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/dragon_throne_of_tarkir.jpg diff --git a/forge-gui/res/cardsfolder/d/dragon_whisperer.txt b/forge-gui/res/cardsfolder/d/dragon_whisperer.txt index 8fdde4caaf4..cfc3e043e2a 100644 --- a/forge-gui/res/cardsfolder/d/dragon_whisperer.txt +++ b/forge-gui/res/cardsfolder/d/dragon_whisperer.txt @@ -4,7 +4,7 @@ Types:Creature Human Shaman PT:2/2 A:AB$ Pump | Cost$ R | KW$ Flying | Defined$ Self | SpellDescription$ CARDNAME gains flying until end of turn. A:AB$ Pump | Cost$ 1 R | Defined$ Self | NumAtt$ +1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn. -A:AB$ Token | Cost$ 4 R R | TokenOwner$ You | TokenAmount$ 1 | TokenScript$ r_4_4_dragon_flying | LegacyImage$ r 4 4 dragon flying dtk | CheckSVar$ FormidableTest | SVarCompare$ GE8 | References$ FormidableTest | PrecostDesc$ Formidable — | SpellDescription$ Create a 4/4 red Dragon creature token with flying. Activate this ability only if creatures you control have total power 8 or greater. +A:AB$ Token | Cost$ 4 R R | TokenOwner$ You | TokenAmount$ 1 | TokenScript$ r_4_4_dragon_flying | LegacyImage$ r 4 4 dragon flying dtk | CheckSVar$ FormidableTest | SVarCompare$ GE8 | PrecostDesc$ Formidable — | SpellDescription$ Create a 4/4 red Dragon creature token with flying. Activate this ability only if creatures you control have total power 8 or greater. SVar:FormidableTest:Count$SumPower_Creature.YouCtrl DeckHas:Ability$Token DeckHints:Type$Dragon diff --git a/forge-gui/res/cardsfolder/d/dragonkin_berserker.txt b/forge-gui/res/cardsfolder/d/dragonkin_berserker.txt index 667ff44de40..a7d6e307590 100644 --- a/forge-gui/res/cardsfolder/d/dragonkin_berserker.txt +++ b/forge-gui/res/cardsfolder/d/dragonkin_berserker.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Human Berserker PT:2/2 K:First strike -S:Mode$ ReduceCost | ValidCard$ Card | ValidSpell$ Activated.Boast | Activator$ You | Amount$ X | References$ X | EffectZone$ Battlefield | Description$ Boast abilities you activiate cost {1} less to activate for each Dragon you control. +S:Mode$ ReduceCost | ValidCard$ Card | ValidSpell$ Activated.Boast | Activator$ You | Amount$ X | EffectZone$ Battlefield | Description$ Boast abilities you activiate cost {1} less to activate for each Dragon you control. SVar:X:Count$Valid Dragon.YouCtrl A:AB$ Token | Cost$ 4 R | TokenOwner$ You | TokenAmount$ 1 | TokenScript$ r_5_5_dragon_flying | Boast$ True | SpellDescription$ Create a 5/5 red Dragon creature token with flying. (Activate this ability only if this creature attacked this turn and only once each turn.) Oracle:First strike\nBoast abilities you activate cost {1} less to activate for each Dragon you control.\nBoast — {4}{R}: Create a 5/5 red Dragon creature token with flying. (Activate this ability only if this creature attacked this turn and only once each turn.) diff --git a/forge-gui/res/cardsfolder/d/dragonrage.txt b/forge-gui/res/cardsfolder/d/dragonrage.txt index 057727ca1e7..ba920d17dcd 100644 --- a/forge-gui/res/cardsfolder/d/dragonrage.txt +++ b/forge-gui/res/cardsfolder/d/dragonrage.txt @@ -1,7 +1,7 @@ Name:Dragonrage ManaCost:2 R Types:Instant -A:SP$ Mana | Cost$ 2 R | Produced$ R | Amount$ X | References$ X | SubAbility$ DBAnimateAll | SpellDescription$ Add {R} for each attacking creature you control. Until end of turn, attacking creatures you control gain "{R}: This creature gets +1/+0 until end of turn." +A:SP$ Mana | Cost$ 2 R | Produced$ R | Amount$ X | SubAbility$ DBAnimateAll | SpellDescription$ Add {R} for each attacking creature you control. Until end of turn, attacking creatures you control gain "{R}: This creature gets +1/+0 until end of turn." SVar:X:Count$Valid Creature.YouCtrl+attacking SVar:DBAnimateAll:DB$ AnimateAll | ValidCards$ Creature.YouCtrl+attacking | Abilities$ DrAbs SVar:DrAbs:AB$ Pump | Cost$ R | Defined$ Self | NumAtt$ 1 | SpellDescription$ This creature gets +1/+0 until end of turn. diff --git a/forge-gui/res/cardsfolder/d/dragonscale_general.txt b/forge-gui/res/cardsfolder/d/dragonscale_general.txt index 23450817d12..43c0c6639e3 100644 --- a/forge-gui/res/cardsfolder/d/dragonscale_general.txt +++ b/forge-gui/res/cardsfolder/d/dragonscale_general.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Human Warrior PT:2/3 T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your end step, bolster X, where X is the number of tapped creatures you control. (Choose a creature with the least toughness among creatures you control and put X +1/+1 counters on it.) -SVar:TrigPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ X | References$ X | Bolster$ True +SVar:TrigPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ X | Bolster$ True SVar:X:Count$Valid Creature.YouCtrl+tapped DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/dragonscale_general.jpg diff --git a/forge-gui/res/cardsfolder/d/drain_life.txt b/forge-gui/res/cardsfolder/d/drain_life.txt index 69b7d39c30b..cd19c6cb610 100644 --- a/forge-gui/res/cardsfolder/d/drain_life.txt +++ b/forge-gui/res/cardsfolder/d/drain_life.txt @@ -2,10 +2,10 @@ Name:Drain Life ManaCost:X 1 B Types:Sorcery A:SP$ StoreSVar | Cost$ X 1 B | XColor$ B | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | SVar$ Limit | Type$ Targeted | Expression$ CardToughness | SubAbility$ StoreTgtPW | ConditionDefined$ Targeted | ConditionPresent$ Card.Creature | ConditionCompare$ GE1 | SpellDescription$ Spend only black mana on X. CARDNAME deals X damage to any target. You gain life equal to the damage dealt, but not more life than the player's life total before the damage was dealt, the planeswalker's loyalty before the damage was dealt, or the creature's toughness. -SVar:StoreTgtPW:DB$ StoreSVar | SVar$ Limit | Type$ Targeted | Expression$ CardCounters.LOYALTY | SubAbility$ StoreTgtP | ConditionDefined$ Targeted | ConditionPresent$ Card.Planeswalker | ConditionCheckSVar$ Loyalty | ConditionSVarCompare$ LTLimit | References$ Loyalty,Limit +SVar:StoreTgtPW:DB$ StoreSVar | SVar$ Limit | Type$ Targeted | Expression$ CardCounters.LOYALTY | SubAbility$ StoreTgtP | ConditionDefined$ Targeted | ConditionPresent$ Card.Planeswalker | ConditionCheckSVar$ Loyalty | ConditionSVarCompare$ LTLimit SVar:StoreTgtP:DB$ StoreSVar | SVar$ Limit | Type$ Count | Expression$ TargetedLifeTotal | SubAbility$ DBDamage | ConditionDefined$ Targeted | ConditionPresent$ Card.Creature,Card.Planeswalker | ConditionCompare$ EQ0 -SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | SubAbility$ DBGainLife | AILogic$ XLifeDrain | References$ X -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ DrainedLifeCard | References$ DrainedLifeCard +SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | SubAbility$ DBGainLife | AILogic$ XLifeDrain +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ DrainedLifeCard SVar:X:Count$xPaid SVar:Y:Count$TotalDamageDoneByThisTurn SVar:DrainedLifeCard:SVar$Y/LimitMax.Limit diff --git a/forge-gui/res/cardsfolder/d/draining_whelk.txt b/forge-gui/res/cardsfolder/d/draining_whelk.txt index d4ead853846..12ca231d453 100644 --- a/forge-gui/res/cardsfolder/d/draining_whelk.txt +++ b/forge-gui/res/cardsfolder/d/draining_whelk.txt @@ -6,7 +6,7 @@ K:Flash K:Flying T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigCounter | TriggerDescription$ When CARDNAME enters the battlefield, counter target spell. Put X +1/+1 counters on CARDNAME, where X is that spell's converted mana cost. SVar:TrigCounter:DB$ Counter | TargetType$ Spell | ValidTgts$ Card | TgtPrompt$ Select target spell | RememberCounteredCMC$ True | SubAbility$ DBPutcounter -SVar:DBPutcounter:DB$ PutCounter | CounterType$ P1P1 | Defined$ Self | CounterNum$ X | References$ X | SubAbility$ DBCleanup +SVar:DBPutcounter:DB$ PutCounter | CounterType$ P1P1 | Defined$ Self | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedNumber SVar:Picture:http://www.wizards.com/global/images/magic/general/draining_whelk.jpg diff --git a/forge-gui/res/cardsfolder/d/drake_familiar.txt b/forge-gui/res/cardsfolder/d/drake_familiar.txt index 5a95e83e904..c607db09448 100644 --- a/forge-gui/res/cardsfolder/d/drake_familiar.txt +++ b/forge-gui/res/cardsfolder/d/drake_familiar.txt @@ -5,7 +5,7 @@ PT:2/1 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you return an enchantment to its owner's hand. SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Battlefield | Destination$ Hand | Hidden$ True | ChangeType$ Enchantment | RememberChanged$ True | SubAbility$ DBSac -SVar:DBSac:DB$ Sacrifice | Defined$ Self | SubAbility$ DBCleanup | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | References$ X +SVar:DBSac:DB$ Sacrifice | Defined$ Self | SubAbility$ DBCleanup | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:NeedsToPlay:Enchantment diff --git a/forge-gui/res/cardsfolder/d/drake_stone.txt b/forge-gui/res/cardsfolder/d/drake_stone.txt index 724750495db..0914a1ef50c 100644 --- a/forge-gui/res/cardsfolder/d/drake_stone.txt +++ b/forge-gui/res/cardsfolder/d/drake_stone.txt @@ -2,7 +2,7 @@ Name:Drake Stone ManaCost:U Types:Planeswalker Stone Loyalty:4 -A:AB$ Draw | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | NumCards$ 1 | References$ DBDiscard | SubAbility$ DBDiscard | SpellDescription$ Draw a card, then each player discards a card. +A:AB$ Draw | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | NumCards$ 1 | SubAbility$ DBDiscard | SpellDescription$ Draw a card, then each player discards a card. SVar:DBDiscard: DB$ Discard | NumCards$ 1 | Mode$ TgtChoose | Defined$ Player | SpellDescription$ Each player discards a card. A:AB$ ChangeZone | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | Origin$ Battlefield | Destination$ Library | LibraryPosition$ -1 | SpellDescription$ Put target permanent on the bottom of its owner's library. A:AB$ GainControl | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | TargetMin$ 0 | TargetMax$ 10 | ValidTgts$ Permanent | SpellDescription$ Gain control up to ten target permanents. diff --git a/forge-gui/res/cardsfolder/d/dralnu_lich_lord.txt b/forge-gui/res/cardsfolder/d/dralnu_lich_lord.txt index 2bd81fbc3f0..aff1a4bca80 100644 --- a/forge-gui/res/cardsfolder/d/dralnu_lich_lord.txt +++ b/forge-gui/res/cardsfolder/d/dralnu_lich_lord.txt @@ -3,7 +3,7 @@ ManaCost:3 U B Types:Legendary Creature Zombie Wizard PT:3/3 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ Sac | Description$ If damage would be dealt to CARDNAME, sacrifice that many permanents instead. -SVar:Sac:DB$ Sacrifice | Defined$ You | SacValid$ Permanent | SacMessage$ Permanent | Amount$ X | References$ X +SVar:Sac:DB$ Sacrifice | Defined$ You | SacValid$ Permanent | SacMessage$ Permanent | Amount$ X SVar:X:ReplaceCount$DamageAmount A:AB$ Pump | Cost$ T | ValidTgts$ Instant.YouCtrl,Sorcery.YouCtrl | KW$ Flashback | TgtZone$ Graveyard | PumpZone$ Graveyard | SpellDescription$ Target instant or sorcery card in your graveyard gains flashback until end of turn. The flashback cost is equal to its mana cost. (You may cast that card from your graveyard for its flashback cost. Then exile it.) AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/d/dralnus_pet.txt b/forge-gui/res/cardsfolder/d/dralnus_pet.txt index 57ad907cc92..d3aefb2077d 100644 --- a/forge-gui/res/cardsfolder/d/dralnus_pet.txt +++ b/forge-gui/res/cardsfolder/d/dralnus_pet.txt @@ -5,7 +5,7 @@ PT:2/2 K:Kicker:2 B Discard<1/Creature> R:Event$ Moved | ValidCard$ Card.Self+kicked | Destination$ Battlefield | ReplaceWith$ DBPump | Description$ If CARDNAME was kicked, it enters the battlefield with flying and with X +1/+1 counters on it, where X is the discarded card's converted mana cost. SVar:DBPump:DB$ Animate | Defined$ Self | Keywords$ Flying | Permanent$ True | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ P1P1 | CounterNum$ KickedPet | References$ KickedPet | SubAbility$ DBMoveToPlay +SVar:DBPutCounter:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ P1P1 | CounterNum$ KickedPet | SubAbility$ DBMoveToPlay SVar:DBMoveToPlay:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard SVar:KickedPet:Discarded$CardManaCost AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/d/drana_kalastria_bloodchief.txt b/forge-gui/res/cardsfolder/d/drana_kalastria_bloodchief.txt index a93db847a32..3c3ccbced0d 100644 --- a/forge-gui/res/cardsfolder/d/drana_kalastria_bloodchief.txt +++ b/forge-gui/res/cardsfolder/d/drana_kalastria_bloodchief.txt @@ -3,7 +3,7 @@ ManaCost:3 B B Types:Legendary Creature Vampire Shaman PT:4/4 K:Flying -A:AB$ Pump | Cost$ X B B | NumDef$ -X | ValidTgts$ Creature | IsCurse$ True | TgtPrompt$ Select target creature. | SubAbility$ DBPump | References$ X | SpellDescription$ Target creature gets -0/-X until end of turn and CARDNAME gets +X/+0 until end of turn. -SVar:DBPump:DB$ Pump | NumAtt$ +X | Defined$ Self | References$ X +A:AB$ Pump | Cost$ X B B | NumDef$ -X | ValidTgts$ Creature | IsCurse$ True | TgtPrompt$ Select target creature. | SubAbility$ DBPump | SpellDescription$ Target creature gets -0/-X until end of turn and CARDNAME gets +X/+0 until end of turn. +SVar:DBPump:DB$ Pump | NumAtt$ +X | Defined$ Self SVar:X:Count$xPaid Oracle:Flying\n{X}{B}{B}: Target creature gets -0/-X until end of turn and Drana, Kalastria Bloodchief gets +X/+0 until end of turn. diff --git a/forge-gui/res/cardsfolder/d/dranas_silencer.txt b/forge-gui/res/cardsfolder/d/dranas_silencer.txt index 939b7e8b3bf..67d11307dc6 100755 --- a/forge-gui/res/cardsfolder/d/dranas_silencer.txt +++ b/forge-gui/res/cardsfolder/d/dranas_silencer.txt @@ -3,7 +3,7 @@ ManaCost:5 B Types:Creature Vampire Rogue PT:3/2 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, target creature an opponent controls gets -X/-X until end of turn, where X is the number of creatures in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | IsCurse$ True | NumAtt$ -X | NumDef$ -X | References$ X +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | IsCurse$ True | NumAtt$ -X | NumDef$ -X SVar:X:Count$Party DeckHas:Ability$Party DeckHints:Type$Cleric|Warrior|Wizard diff --git a/forge-gui/res/cardsfolder/d/dread_defiler.txt b/forge-gui/res/cardsfolder/d/dread_defiler.txt index c109f8a74e6..af5f2ec0dea 100644 --- a/forge-gui/res/cardsfolder/d/dread_defiler.txt +++ b/forge-gui/res/cardsfolder/d/dread_defiler.txt @@ -3,7 +3,7 @@ ManaCost:6 B Types:Creature Eldrazi PT:6/8 K:Devoid -A:AB$ LoseLife | Cost$ 3 C ExileFromGrave<1/Creature> | LifeAmount$ X | References$ X | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SpellDescription$ Target opponent loses life equal to the exiled card's power. +A:AB$ LoseLife | Cost$ 3 C ExileFromGrave<1/Creature> | LifeAmount$ X | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SpellDescription$ Target opponent loses life equal to the exiled card's power. SVar:X:Exiled$CardPower DeckHints:Ability$Mana.Colorless SVar:Picture:http://www.wizards.com/global/images/magic/general/dread_defiler.jpg diff --git a/forge-gui/res/cardsfolder/d/dread_summons.txt b/forge-gui/res/cardsfolder/d/dread_summons.txt index 450f3a582b3..99123619e97 100644 --- a/forge-gui/res/cardsfolder/d/dread_summons.txt +++ b/forge-gui/res/cardsfolder/d/dread_summons.txt @@ -1,8 +1,8 @@ Name:Dread Summons ManaCost:X B B Types:Sorcery -A:SP$ Mill | Cost$ X B B | NumCards$ X | References$ X | Defined$ Player | RememberMilled$ True | SubAbility$ DBToken | SpellDescription$ Each player mills X cards. For each creature card put into a graveyard this way, you create a tapped 2/2 black Zombie creature token. -SVar:DBToken:DB$ Token | TokenAmount$ Y | References$ Y | TokenScript$ b_2_2_zombie | TokenOwner$ You | TokenTapped$ True | SubAbility$ DBCleanup +A:SP$ Mill | Cost$ X B B | NumCards$ X | Defined$ Player | RememberMilled$ True | SubAbility$ DBToken | SpellDescription$ Each player mills X cards. For each creature card put into a graveyard this way, you create a tapped 2/2 black Zombie creature token. +SVar:DBToken:DB$ Token | TokenAmount$ Y | TokenScript$ b_2_2_zombie | TokenOwner$ You | TokenTapped$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid SVar:Y:Count$ValidGraveyard Creature.IsRemembered diff --git a/forge-gui/res/cardsfolder/d/dread_wanderer.txt b/forge-gui/res/cardsfolder/d/dread_wanderer.txt index 71835afcec8..894e61820b2 100644 --- a/forge-gui/res/cardsfolder/d/dread_wanderer.txt +++ b/forge-gui/res/cardsfolder/d/dread_wanderer.txt @@ -3,7 +3,7 @@ ManaCost:B Types:Creature Zombie Jackal PT:2/1 K:CARDNAME enters the battlefield tapped. -A:AB$ ChangeZone | Cost$ 2 B | Origin$ Graveyard | Destination$ Battlefield | ActivationZone$ Graveyard | SorcerySpeed$ True | CheckSVar$ X | SVarCompare$ LE1 | References$ X | SpellDescription$ Return CARDNAME from your graveyard to the battlefield. Activate this ability only any time you could cast a sorcery and only if you have one or fewer cards in hand. +A:AB$ ChangeZone | Cost$ 2 B | Origin$ Graveyard | Destination$ Battlefield | ActivationZone$ Graveyard | SorcerySpeed$ True | CheckSVar$ X | SVarCompare$ LE1 | SpellDescription$ Return CARDNAME from your graveyard to the battlefield. Activate this ability only any time you could cast a sorcery and only if you have one or fewer cards in hand. SVar:X:Count$InYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/dread_wanderer.jpg Oracle:Dread Wanderer enters the battlefield tapped.\n{2}{B}: Return Dread Wanderer from your graveyard to the battlefield. Activate this ability only any time you could cast a sorcery and only if you have one or fewer cards in hand. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/d/dreadhorde_arcanist.txt b/forge-gui/res/cardsfolder/d/dreadhorde_arcanist.txt index 895af87929a..debe80aaab5 100644 --- a/forge-gui/res/cardsfolder/d/dreadhorde_arcanist.txt +++ b/forge-gui/res/cardsfolder/d/dreadhorde_arcanist.txt @@ -4,6 +4,6 @@ Types:Creature Zombie Wizard PT:1/3 K:Trample T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPlay | TriggerDescription$ Whenever CARDNAME attacks, you may cast target instant or sorcery card with converted mana cost less than or equal to CARDNAME's power from your graveyard without paying its mana cost. If that spell would be put into your graveyard this turn, exile it instead. -SVar:TrigPlay:DB$ Play | TgtZone$ Graveyard | ValidTgts$ Instant.YouCtrl+cmcLEX,Sorcery.YouCtrl+cmcLEX | TgtPrompt$ Choose target instant or sorcery card with converted mana cost X or less from your graveyard | WithoutManaCost$ True | Optional$ True | ReplaceGraveyard$ Exile | AILogic$ ReplaySpell | References$ X +SVar:TrigPlay:DB$ Play | TgtZone$ Graveyard | ValidTgts$ Instant.YouCtrl+cmcLEX,Sorcery.YouCtrl+cmcLEX | TgtPrompt$ Choose target instant or sorcery card with converted mana cost X or less from your graveyard | WithoutManaCost$ True | Optional$ True | ReplaceGraveyard$ Exile | AILogic$ ReplaySpell SVar:X:Count$CardPower Oracle:Trample\nWhenever Dreadhorde Arcanist attacks, you may cast target instant or sorcery card with converted mana cost less than or equal to Dreadhorde Arcanist's power from your graveyard without paying its mana cost. If that spell would be put into your graveyard this turn, exile it instead. diff --git a/forge-gui/res/cardsfolder/d/dreadhorde_butcher.txt b/forge-gui/res/cardsfolder/d/dreadhorde_butcher.txt index 847b1e30b9f..838f8d71dc6 100644 --- a/forge-gui/res/cardsfolder/d/dreadhorde_butcher.txt +++ b/forge-gui/res/cardsfolder/d/dreadhorde_butcher.txt @@ -6,7 +6,7 @@ K:Haste T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player,Planeswalker | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player or planeswalker, put a +1/+1 counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, it deals damage equal to its power to any target. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:TriggeredCard$CardPower DeckHas:Ability$Counters Oracle:Haste\nWhenever Dreadhorde Butcher deals combat damage to a player or planeswalker, put a +1/+1 counter on Dreadhorde Butcher.\nWhen Dreadhorde Butcher dies, it deals damage equal to its power to any target. diff --git a/forge-gui/res/cardsfolder/d/dreadship_reef.txt b/forge-gui/res/cardsfolder/d/dreadship_reef.txt index fc488ae640c..c7c719e5d35 100644 --- a/forge-gui/res/cardsfolder/d/dreadship_reef.txt +++ b/forge-gui/res/cardsfolder/d/dreadship_reef.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. A:AB$ PutCounter | Cost$ 1 T | CounterType$ STORAGE | CounterNum$ 1 | SpellDescription$ Put a storage counter on CARDNAME. -A:AB$ Mana | Cost$ 1 SubCounter | Produced$ Combo U B | Amount$ X | CostDesc$ {1}, Remove X storage counters from CARDNAME: | References$ X | SpellDescription$ Add X mana in any combination of {U} and/or {B}. +A:AB$ Mana | Cost$ 1 SubCounter | Produced$ Combo U B | Amount$ X | CostDesc$ {1}, Remove X storage counters from CARDNAME: | SpellDescription$ Add X mana in any combination of {U} and/or {B}. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{T}: Add {C}.\n{1}, {T}: Put a storage counter on Dreadship Reef.\n{1}, Remove X storage counters from Dreadship Reef: Add X mana in any combination of {U} and/or {B}. diff --git a/forge-gui/res/cardsfolder/d/dreadwaters.txt b/forge-gui/res/cardsfolder/d/dreadwaters.txt index 1e1c347409f..da67cfaf92a 100644 --- a/forge-gui/res/cardsfolder/d/dreadwaters.txt +++ b/forge-gui/res/cardsfolder/d/dreadwaters.txt @@ -1,6 +1,6 @@ Name:Dreadwaters ManaCost:3 U Types:Sorcery -A:SP$ Mill | Cost$ 3 U | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | References$ X | SpellDescription$ Target player mills X cards, where X is the number of lands you control. +A:SP$ Mill | Cost$ 3 U | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | SpellDescription$ Target player mills X cards, where X is the number of lands you control. SVar:X:Count$Valid Land.YouCtrl Oracle:Target player mills X cards, where X is the number of lands you control. diff --git a/forge-gui/res/cardsfolder/d/dream_pillager.txt b/forge-gui/res/cardsfolder/d/dream_pillager.txt index 36d9e88dd13..136a7fa0818 100644 --- a/forge-gui/res/cardsfolder/d/dream_pillager.txt +++ b/forge-gui/res/cardsfolder/d/dream_pillager.txt @@ -4,7 +4,7 @@ Types:Creature Dragon PT:4/4 K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, exile that many cards from the top of your library. Until end of turn, you may cast spells from among those exiled cards. -SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ X | References$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect +SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | ForgetOnMoved$ Exile | RememberObjects$ RememberedCard | SubAbility$ DBCleanup SVar:STPlay:Mode$ Continuous | EffectZone$ Command | Affected$ Card.nonLand+IsRemembered | MayPlay$ True | AffectedZone$ Exile | Description$ Until end of turn, you may cast nonland cards from among those exiled cards. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/d/dream_salvage.txt b/forge-gui/res/cardsfolder/d/dream_salvage.txt index 7ef47e68816..9d46af6a33d 100644 --- a/forge-gui/res/cardsfolder/d/dream_salvage.txt +++ b/forge-gui/res/cardsfolder/d/dream_salvage.txt @@ -1,7 +1,7 @@ Name:Dream Salvage ManaCost:UB Types:Instant -A:SP$ Draw | Cost$ UB | NumCards$ X | Defined$ You | ValidTgts$ Opponent | References$ X | SpellDescription$ Draw cards equal to the number of cards target opponent discarded this turn. +A:SP$ Draw | Cost$ UB | NumCards$ X | Defined$ You | ValidTgts$ Opponent | SpellDescription$ Draw cards equal to the number of cards target opponent discarded this turn. SVar:X:TargetedPlayer$CardsDiscardedThisTurn AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/d/dream_thief.txt b/forge-gui/res/cardsfolder/d/dream_thief.txt index ae809b618ef..584a71b4568 100644 --- a/forge-gui/res/cardsfolder/d/dream_thief.txt +++ b/forge-gui/res/cardsfolder/d/dream_thief.txt @@ -4,7 +4,7 @@ Types:Creature Faerie Rogue PT:2/1 K:Flying T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card if you've cast another blue spell this turn. -SVar:TrigDraw:DB$Draw | Defined$ You | ConditionCheckSVar$ X | References$ X +SVar:TrigDraw:DB$Draw | Defined$ You | ConditionCheckSVar$ X SVar:X:Count$ThisTurnCast_Card.Other+Blue+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/dream_thief.jpg Oracle:Flying\nWhen Dream Thief enters the battlefield, draw a card if you've cast another blue spell this turn. diff --git a/forge-gui/res/cardsfolder/d/dream_tides.txt b/forge-gui/res/cardsfolder/d/dream_tides.txt index a442f42fc5f..3e44ebdd26a 100644 --- a/forge-gui/res/cardsfolder/d/dream_tides.txt +++ b/forge-gui/res/cardsfolder/d/dream_tides.txt @@ -3,7 +3,7 @@ ManaCost:2 U U Types:Enchantment S:Mode$ Continuous | Affected$ Creature | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | Description$ Creatures don't untap during their controllers' untap steps. T:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | Execute$ TrigChoose | TriggerDescription$ At the beginning of each player's upkeep, that player may choose any number of tapped nongreen creatures they control and pay {2} for each creature chosen this way. If the player does, untap those creatures. -SVar:TrigChoose:DB$ ChooseCard | Defined$ TriggeredPlayer | Amount$ X | References$ X | Choices$ Creature.tapped+nonGreen | TargetControls$ True | ChoiceTitle$ Choose any number of tapped nongreen creatures you control | ChoiceZone$ Battlefield | SubAbility$ DBUntap +SVar:TrigChoose:DB$ ChooseCard | Defined$ TriggeredPlayer | Amount$ X | Choices$ Creature.tapped+nonGreen | TargetControls$ True | ChoiceTitle$ Choose any number of tapped nongreen creatures you control | ChoiceZone$ Battlefield | SubAbility$ DBUntap SVar:DBUntap:DB$ RepeatEach | DefinedCards$ ChosenCard | RepeatSubAbility$ UntapEach SVar:UntapEach:DB$ Untap | Defined$ Remembered | UnlessCost$ 2 | UnlessPayer$ RememberedController | UnlessSwitched$ True | ShowCurrentCard$ Remembered | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True diff --git a/forge-gui/res/cardsfolder/d/dreamborn_muse.txt b/forge-gui/res/cardsfolder/d/dreamborn_muse.txt index c65b9e8f0a2..cb19d4ff49a 100644 --- a/forge-gui/res/cardsfolder/d/dreamborn_muse.txt +++ b/forge-gui/res/cardsfolder/d/dreamborn_muse.txt @@ -3,7 +3,7 @@ ManaCost:2 U U Types:Creature Spirit PT:2/2 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigMillYou | TriggerDescription$ At the beginning of each player's upkeep, that player mills X cards, where X is the number of cards in their hand. -SVar:TrigMillYou:DB$ Mill | Defined$ TriggeredPlayer | NumCards$ X | References$ X +SVar:TrigMillYou:DB$ Mill | Defined$ TriggeredPlayer | NumCards$ X SVar:X:TriggeredPlayer$CardsInHand AI:RemoveDeck:Random Oracle:At the beginning of each player's upkeep, that player mills X cards, where X is the number of cards in their hand. diff --git a/forge-gui/res/cardsfolder/d/dreamstealer.txt b/forge-gui/res/cardsfolder/d/dreamstealer.txt index dbba08a25d8..ac7e425ec6d 100644 --- a/forge-gui/res/cardsfolder/d/dreamstealer.txt +++ b/forge-gui/res/cardsfolder/d/dreamstealer.txt @@ -4,7 +4,7 @@ Types:Creature Human Wizard PT:1/2 K:Menace T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDiscard | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player discards that many cards. -SVar:TrigDiscard:DB$ Discard | Defined$ TriggeredTarget | NumCards$ X | References$ X | Mode$ TgtChoose +SVar:TrigDiscard:DB$ Discard | Defined$ TriggeredTarget | NumCards$ X | Mode$ TgtChoose SVar:X:TriggerCount$DamageAmount K:Eternalize:4 B B DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/d/dregs_of_sorrow.txt b/forge-gui/res/cardsfolder/d/dregs_of_sorrow.txt index dc2af008b79..d9514014c86 100644 --- a/forge-gui/res/cardsfolder/d/dregs_of_sorrow.txt +++ b/forge-gui/res/cardsfolder/d/dregs_of_sorrow.txt @@ -1,8 +1,8 @@ Name:Dregs of Sorrow ManaCost:X 4 B Types:Sorcery -A:SP$ Destroy | Cost$ X 4 B | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select X target nonblack creatures | References$ X | SubAbility$ DBDraw | SpellDescription$ Destroy X target nonblack creatures. Draw X cards. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +A:SP$ Destroy | Cost$ X 4 B | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select X target nonblack creatures | SubAbility$ DBDraw | SpellDescription$ Destroy X target nonblack creatures. Draw X cards. +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Destroy X target nonblack creatures. Draw X cards. diff --git a/forge-gui/res/cardsfolder/d/drift_of_the_dead.txt b/forge-gui/res/cardsfolder/d/drift_of_the_dead.txt index 8bb4dfeed97..82481f07644 100644 --- a/forge-gui/res/cardsfolder/d/drift_of_the_dead.txt +++ b/forge-gui/res/cardsfolder/d/drift_of_the_dead.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Creature Wall PT:*/* K:Defender -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of snow lands you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of snow lands you control. SVar:X:Count$Valid Land.Snow+YouCtrl SVar:NeedsToPlayVar:X GE2 AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/d/dripping_tongue_zubera.txt b/forge-gui/res/cardsfolder/d/dripping_tongue_zubera.txt index 9dfa986df1e..d14d789d4db 100644 --- a/forge-gui/res/cardsfolder/d/dripping_tongue_zubera.txt +++ b/forge-gui/res/cardsfolder/d/dripping_tongue_zubera.txt @@ -3,7 +3,7 @@ ManaCost:1 G Types:Creature Zubera Spirit PT:1/2 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigToken | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, create a 1/1 colorless Spirit creature token for each Zubera that died this turn. -SVar:TrigToken:DB$Token | TokenOwner$ You | TokenScript$ c_1_1_spirit | LegacyImage$ c 1 1 spirit chk | TokenAmount$ X | References$ X +SVar:TrigToken:DB$Token | TokenOwner$ You | TokenScript$ c_1_1_spirit | LegacyImage$ c 1 1 spirit chk | TokenAmount$ X SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Card.Zubera DeckHints:Type$Zubera SVar:Picture:http://resources.wizards.com/magic/cards/chk/en-us/card80511.jpg diff --git a/forge-gui/res/cardsfolder/d/droning_bureaucrats.txt b/forge-gui/res/cardsfolder/d/droning_bureaucrats.txt index ee8e632578b..5e75ddb7ab1 100644 --- a/forge-gui/res/cardsfolder/d/droning_bureaucrats.txt +++ b/forge-gui/res/cardsfolder/d/droning_bureaucrats.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Human Advisor PT:1/4 A:AB$ StoreSVar | Cost$ X T | SVar$ DroningX | Type$ Count | Expression$ xPaid | SubAbility$ CreateDroningEffect | SpellDescription$ Each creature with converted mana cost X can't attack or block this turn. -SVar:CreateDroningEffect:DB$ Effect | Name$ Droning Bureaucrats Effect | StaticAbilities$ NoCombat | References$ NoCombat | SVars$ DroningX +SVar:CreateDroningEffect:DB$ Effect | Name$ Droning Bureaucrats Effect | StaticAbilities$ NoCombat | SVars$ DroningX SVar:NoCombat:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.cmcEQDroningX | AddHiddenKeyword$ CARDNAME can't attack or block. | Description$ Each creature with converted mana cost X can't attack or block this turn. SVar:X:Count$xPaid SVar:DroningX:Number$0 diff --git a/forge-gui/res/cardsfolder/d/drove_of_elves.txt b/forge-gui/res/cardsfolder/d/drove_of_elves.txt index d70304a7bf7..b3d65de4a2d 100644 --- a/forge-gui/res/cardsfolder/d/drove_of_elves.txt +++ b/forge-gui/res/cardsfolder/d/drove_of_elves.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Creature Elf PT:*/* K:Hexproof -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of green permanents you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of green permanents you control. SVar:X:Count$Valid Permanent.Green+YouCtrl SVar:BuffedBy:Permanent.Green SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/d/drown_in_filth.txt b/forge-gui/res/cardsfolder/d/drown_in_filth.txt index 0539b52d6a1..f45a5b875f0 100644 --- a/forge-gui/res/cardsfolder/d/drown_in_filth.txt +++ b/forge-gui/res/cardsfolder/d/drown_in_filth.txt @@ -2,7 +2,7 @@ Name:Drown in Filth ManaCost:B G Types:Sorcery A:SP$ Mill | Cost$ B G | NumCards$ 4 | Defined$ You | SubAbility$ DBPump | SpellDescription$ Choose target creature. Mill four cards, then that creature gets -1/-1 until end of turn for each land card in your graveyard. -SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X +SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True SVar:X:Count$ValidGraveyard Land.YouOwn DeckHas:Ability$Graveyard AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/d/druids_call.txt b/forge-gui/res/cardsfolder/d/druids_call.txt index c431acf0c6d..946896041b8 100644 --- a/forge-gui/res/cardsfolder/d/druids_call.txt +++ b/forge-gui/res/cardsfolder/d/druids_call.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 G | ValidTgts$ Creature | AILogic$ Pump T:Mode$ DamageDoneOnce | ValidTarget$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever enchanted creature is dealt damage, its controller creates that many 1/1 green Squirrel creature tokens. -SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_squirrel | TokenOwner$ TriggeredTargetController | LegacyImage$ g 1 1 squirrel ody | References$ X +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_squirrel | TokenOwner$ TriggeredTargetController | LegacyImage$ g 1 1 squirrel ody SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/druids_call.jpg Oracle:Enchant creature\nWhenever enchanted creature is dealt damage, its controller creates that many 1/1 green Squirrel creature tokens. diff --git a/forge-gui/res/cardsfolder/d/dryads_caress.txt b/forge-gui/res/cardsfolder/d/dryads_caress.txt index 581e202558b..2b49cf5b4e7 100644 --- a/forge-gui/res/cardsfolder/d/dryads_caress.txt +++ b/forge-gui/res/cardsfolder/d/dryads_caress.txt @@ -1,7 +1,7 @@ Name:Dryad's Caress ManaCost:4 G G Types:Instant -A:SP$ GainLife | Cost$ 4 G G | Defined$ You | LifeAmount$ X | SubAbility$ DBUntapAll | References$ X | SpellDescription$ You gain 1 life for each creature on the battlefield. If {W} was spent to cast this spell, untap all creatures you control. +A:SP$ GainLife | Cost$ 4 G G | Defined$ You | LifeAmount$ X | SubAbility$ DBUntapAll | SpellDescription$ You gain 1 life for each creature on the battlefield. If {W} was spent to cast this spell, untap all creatures you control. SVar:DBUntapAll:DB$ UntapAll | ConditionManaSpent$ W | ValidCards$ Creature.YouCtrl SVar:X:Count$Valid Creature AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/d/dune_brood_nephilim.txt b/forge-gui/res/cardsfolder/d/dune_brood_nephilim.txt index b2e13c02c6c..11042850ed0 100644 --- a/forge-gui/res/cardsfolder/d/dune_brood_nephilim.txt +++ b/forge-gui/res/cardsfolder/d/dune_brood_nephilim.txt @@ -3,7 +3,7 @@ ManaCost:B R G W Types:Creature Nephilim PT:3/3 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, create a 1/1 colorless Sand creature token for each land you control. -SVar:TrigToken:DB$Token | LegacyImage$ c 1 1 sand gpt | TokenScript$ c_1_1_sand | TokenOwner$ You | TokenAmount$ X | References$ X +SVar:TrigToken:DB$Token | LegacyImage$ c 1 1 sand gpt | TokenScript$ c_1_1_sand | TokenOwner$ You | TokenAmount$ X SVar:X:Count$Valid Land.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/dune_brood_nephilim.jpg Oracle:Whenever Dune-Brood Nephilim deals combat damage to a player, create a 1/1 colorless Sand creature token for each land you control. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/d/dungrove_elder.txt b/forge-gui/res/cardsfolder/d/dungrove_elder.txt index e935b053e7d..9474cbf5cc6 100644 --- a/forge-gui/res/cardsfolder/d/dungrove_elder.txt +++ b/forge-gui/res/cardsfolder/d/dungrove_elder.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Treefolk PT:*/* K:Hexproof -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Forests you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Forests you control. SVar:X:Count$Valid Forest.YouCtrl SVar:NeedsToPlayVar:X GE2 SVar:BuffedBy:Forest diff --git a/forge-gui/res/cardsfolder/d/duplicant.txt b/forge-gui/res/cardsfolder/d/duplicant.txt index c15b524332a..6c710cda7be 100644 --- a/forge-gui/res/cardsfolder/d/duplicant.txt +++ b/forge-gui/res/cardsfolder/d/duplicant.txt @@ -4,7 +4,7 @@ Types:Artifact Creature Shapeshifter PT:2/4 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | OptionalDecider$ You | Execute$ TrigExile | TriggerDescription$ Imprint — When CARDNAME enters the battlefield, you may exile target nontoken creature. SVar:TrigExile:DB$ ChangeZone | Unimprint$ True | Imprint$ True | ImprintLast$ True | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Creature.nonToken | TgtPrompt$ Select target nontoken creature -S:Mode$ Continuous | Affected$ Card.Self | AddType$ ImprintedCreatureType | CheckSVar$ Z | SVarCompare$ EQ1 | SetPower$ X | SetToughness$ Y | References$ X,Y,Z | Description$ As long as a card exiled with Duplicant is a creature card, Duplicant has the power, toughness, and creature types of the last creature card exiled with Duplicant. It's still a Shapeshifter. +S:Mode$ Continuous | Affected$ Card.Self | AddType$ ImprintedCreatureType | CheckSVar$ Z | SVarCompare$ EQ1 | SetPower$ X | SetToughness$ Y | Description$ As long as a card exiled with Duplicant is a creature card, Duplicant has the power, toughness, and creature types of the last creature card exiled with Duplicant. It's still a Shapeshifter. T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsImprinted | Execute$ DBCleanup T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearImprinted$ True diff --git a/forge-gui/res/cardsfolder/d/durkwood_tracker.txt b/forge-gui/res/cardsfolder/d/durkwood_tracker.txt index 098df7318d7..09f62f85329 100644 --- a/forge-gui/res/cardsfolder/d/durkwood_tracker.txt +++ b/forge-gui/res/cardsfolder/d/durkwood_tracker.txt @@ -2,8 +2,8 @@ Name:Durkwood Tracker ManaCost:4 G Types:Creature Giant PT:4/3 -A:AB$ DealDamage | Cost$ 1 G T | IsPresent$ Card.Self | PresentZone$ Battlefield | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | NumDmg$ X | SubAbility$ DBDamage | References$ X | SpellDescription$ If CARDNAME is on the battlefield, it deals damage equal to its power to target attacking creature. That creature deals damage equal to its power to CARDNAME. -SVar:DBDamage:DB$ DealDamage | Defined$ Self | NumDmg$ Y | References$ Y +A:AB$ DealDamage | Cost$ 1 G T | IsPresent$ Card.Self | PresentZone$ Battlefield | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | NumDmg$ X | SubAbility$ DBDamage | SpellDescription$ If CARDNAME is on the battlefield, it deals damage equal to its power to target attacking creature. That creature deals damage equal to its power to CARDNAME. +SVar:DBDamage:DB$ DealDamage | Defined$ Self | NumDmg$ Y SVar:X:Count$CardPower SVar:Y:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/durkwood_tracker.jpg diff --git a/forge-gui/res/cardsfolder/d/dusk_urchins.txt b/forge-gui/res/cardsfolder/d/dusk_urchins.txt index 8bd528a77d4..bb7514d495e 100644 --- a/forge-gui/res/cardsfolder/d/dusk_urchins.txt +++ b/forge-gui/res/cardsfolder/d/dusk_urchins.txt @@ -6,7 +6,7 @@ T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerZones$ T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ TrigPutCounter | Secondary$ True | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks or blocks, put a -1/-1 counter on it. SVar:TrigPutCounter:DB$ PutCounter | CounterType$ M1M1 | CounterNum$ 1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, draw a card for each -1/-1 counter on it. -SVar:TrigDraw:DB$ Draw | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | NumCards$ X SVar:X:TriggeredCard$CardCounters.M1M1 SVar:Picture:http://www.wizards.com/global/images/magic/general/dusk_urchins.jpg Oracle:Whenever Dusk Urchins attacks or blocks, put a -1/-1 counter on it.\nWhen Dusk Urchins dies, draw a card for each -1/-1 counter on it. diff --git a/forge-gui/res/cardsfolder/d/duskmantle_seer.txt b/forge-gui/res/cardsfolder/d/duskmantle_seer.txt index d4a96f5f2f3..915e1ce9b94 100644 --- a/forge-gui/res/cardsfolder/d/duskmantle_seer.txt +++ b/forge-gui/res/cardsfolder/d/duskmantle_seer.txt @@ -6,7 +6,7 @@ K:Flying T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRepeat | TriggerDescription$ At the beginning of your upkeep, each player reveals the top card of their library, loses life equal to that card's converted mana cost, then puts it into their hand. SVar:TrigRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ EachDig SVar:EachDig:DB$ Dig | Defined$ Remembered | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | Imprint$ True | SubAbility$ EachLose -SVar:EachLose:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X | SubAbility$ DBCleanup | References$ X +SVar:EachLose:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearImprinted$ True SVar:X:Imprinted$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/duskmantle_seer.jpg diff --git a/forge-gui/res/cardsfolder/d/dwarven_catapult.txt b/forge-gui/res/cardsfolder/d/dwarven_catapult.txt index 84d2cf3028c..6f7b1007284 100644 --- a/forge-gui/res/cardsfolder/d/dwarven_catapult.txt +++ b/forge-gui/res/cardsfolder/d/dwarven_catapult.txt @@ -1,7 +1,7 @@ Name:Dwarven Catapult ManaCost:X R Types:Instant -A:SP$ DamageAll | Cost$ X R | ValidTgts$ Opponent | TgtPrompt$ Select a opponent | ValidCards$ Creature | NumDmg$ Z | References$ X,Y,Z | SpellDescription$ CARDNAME deals X damage divided evenly, rounded down, among all creatures target opponent controls. +A:SP$ DamageAll | Cost$ X R | ValidTgts$ Opponent | TgtPrompt$ Select a opponent | ValidCards$ Creature | NumDmg$ Z | SpellDescription$ CARDNAME deals X damage divided evenly, rounded down, among all creatures target opponent controls. SVar:X:Count$xPaid SVar:Y:Count$Valid Creature.TargetedPlayerCtrl SVar:Z:SVar$X/DivideEvenlyDown.Y diff --git a/forge-gui/res/cardsfolder/d/dwarven_hold.txt b/forge-gui/res/cardsfolder/d/dwarven_hold.txt index 97cd7c08edf..ef9d25d3643 100644 --- a/forge-gui/res/cardsfolder/d/dwarven_hold.txt +++ b/forge-gui/res/cardsfolder/d/dwarven_hold.txt @@ -5,7 +5,7 @@ K:CARDNAME enters the battlefield tapped. K:You may choose not to untap CARDNAME during your untap step. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+tapped | Execute$ TrigStore | TriggerDescription$ At the beginning of your upkeep, if CARDNAME is tapped, put a storage counter on it. SVar:TrigStore:DB$PutCounter | Defined$ Self | CounterType$ STORAGE | CounterNum$ 1 -A:AB$ Mana | Cost$ T SubCounter | Produced$ R | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | References$ X | AILogic$ ManaRitualBattery | SpellDescription$ Add {R} for each storage counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ R | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | AILogic$ ManaRitualBattery | SpellDescription$ Add {R} for each storage counter removed this way. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Dwarven Hold enters the battlefield tapped.\nYou may choose not to untap Dwarven Hold during your untap step.\nAt the beginning of your upkeep, if Dwarven Hold is tapped, put a storage counter on it.\n{T}, Remove any number of storage counters from Dwarven Hold: Add {R} for each storage counter removed this way. diff --git a/forge-gui/res/cardsfolder/d/dwarven_landslide.txt b/forge-gui/res/cardsfolder/d/dwarven_landslide.txt index deb8225208a..9ff0a9b4ff6 100644 --- a/forge-gui/res/cardsfolder/d/dwarven_landslide.txt +++ b/forge-gui/res/cardsfolder/d/dwarven_landslide.txt @@ -2,7 +2,7 @@ Name:Dwarven Landslide ManaCost:3 R Types:Sorcery K:Kicker:2 R Sac<1/Land> -A:SP$ Destroy | Cost$ 3 R | ValidTgts$ Land | TargetMin$ X | TargetMax$ X | References$ X | TgtPrompt$ Select target land | SpellDescription$ Destroy target land. If this spell was kicked, destroy another target land. +A:SP$ Destroy | Cost$ 3 R | ValidTgts$ Land | TargetMin$ X | TargetMax$ X | TgtPrompt$ Select target land | SpellDescription$ Destroy target land. If this spell was kicked, destroy another target land. SVar:X:Count$Kicked.2.1 SVar:NeedsToPlayKickedVar:Z GE2 SVar:Z:Count$Valid Land.OppCtrl diff --git a/forge-gui/res/cardsfolder/d/dwarven_priest.txt b/forge-gui/res/cardsfolder/d/dwarven_priest.txt index 87e3bb3e82e..7376a545297 100644 --- a/forge-gui/res/cardsfolder/d/dwarven_priest.txt +++ b/forge-gui/res/cardsfolder/d/dwarven_priest.txt @@ -2,7 +2,7 @@ Name:Dwarven Priest ManaCost:3 W Types:Creature Dwarf Cleric T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 1 life for each creature you control. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | References$ X | LifeAmount$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.YouCtrl Oracle:When Dwarven Priest enters the battlefield, you gain 1 life for each creature you control. PT:2/4 \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/d/dwarven_recruiter.txt b/forge-gui/res/cardsfolder/d/dwarven_recruiter.txt index 50088beaa1e..6cfe725ac08 100644 --- a/forge-gui/res/cardsfolder/d/dwarven_recruiter.txt +++ b/forge-gui/res/cardsfolder/d/dwarven_recruiter.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Creature Dwarf PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, search your library for any number of Dwarf cards and reveal those cards. Shuffle your library, then put them on top of it in any order. -SVar:TrigChangeZone:DB$ ChangeZone | ChangeNum$ X | ChangeType$ Dwarf | Origin$ Library | Destination$ Library | LibraryPosition$ 0 | References$ X +SVar:TrigChangeZone:DB$ ChangeZone | ChangeNum$ X | ChangeType$ Dwarf | Origin$ Library | Destination$ Library | LibraryPosition$ 0 SVar:X:Count$InYourLibrary.Dwarf AI:RemoveDeck:All DeckNeeds:Type$Dwarf diff --git a/forge-gui/res/cardsfolder/d/dwarven_shrine.txt b/forge-gui/res/cardsfolder/d/dwarven_shrine.txt index 10a768c8c25..2be8df42453 100644 --- a/forge-gui/res/cardsfolder/d/dwarven_shrine.txt +++ b/forge-gui/res/cardsfolder/d/dwarven_shrine.txt @@ -3,7 +3,7 @@ ManaCost:1 R R Types:Enchantment T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigDmgRem | TriggerDescription$ Whenever a player casts a spell, CARDNAME deals X damage to that player, where X is twice the number of cards in all graveyards with the same name as that spell. SVar:TrigDmgRem:DB$ Pump | Defined$ TriggeredCard | PumpZone$ Stack | RememberObjects$ TriggeredCard | SubAbility$ DBDmg -SVar:DBDmg:DB$ DealDamage | Defined$ TriggeredActivator | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDmg:DB$ DealDamage | Defined$ TriggeredActivator | NumDmg$ X | SubAbility$ DBCleanup SVar:X:Count$ValidGraveyard Card.sharesNameWith Remembered/Twice SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/d/dwarven_song.txt b/forge-gui/res/cardsfolder/d/dwarven_song.txt index 85ca7ceb8e8..eb5d863f437 100644 --- a/forge-gui/res/cardsfolder/d/dwarven_song.txt +++ b/forge-gui/res/cardsfolder/d/dwarven_song.txt @@ -1,7 +1,7 @@ Name:Dwarven Song ManaCost:R Types:Instant -A:SP$ Animate | Cost$ R | ValidTgts$ Creature | TargetMin$ 1 | TargetMax$ MaxTgts | TgtPrompt$ Select target creatures | Colors$ Red | OverwriteColors$ True | References$ MaxTgts | SpellDescription$ One or more target creatures become red until end of turn. +A:SP$ Animate | Cost$ R | ValidTgts$ Creature | TargetMin$ 1 | TargetMax$ MaxTgts | TgtPrompt$ Select target creatures | Colors$ Red | OverwriteColors$ True | SpellDescription$ One or more target creatures become red until end of turn. SVar:MaxTgts:Count$Valid Creature AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/d/dwarven_vigilantes.txt b/forge-gui/res/cardsfolder/d/dwarven_vigilantes.txt index de3aae485a8..3112b656c60 100644 --- a/forge-gui/res/cardsfolder/d/dwarven_vigilantes.txt +++ b/forge-gui/res/cardsfolder/d/dwarven_vigilantes.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Creature Dwarf PT:2/2 T:Mode$ AttackerUnblocked | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigDamage | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME attacks and isn't blocked, you may have it deal damage equal to its power to target creature. If you do, CARDNAME assigns no combat damage this turn. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBNoCombatDamage | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBNoCombatDamage SVar:DBNoCombatDamage:DB$ Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage SVar:X:Count$CardPower Oracle:Whenever Dwarven Vigilantes attacks and isn't blocked, you may have it deal damage equal to its power to target creature. If you do, Dwarven Vigilantes assigns no combat damage this turn. diff --git a/forge-gui/res/cardsfolder/d/dwynen_gilt_leaf_daen.txt b/forge-gui/res/cardsfolder/d/dwynen_gilt_leaf_daen.txt index 834dc981c7b..2aff468bae9 100644 --- a/forge-gui/res/cardsfolder/d/dwynen_gilt_leaf_daen.txt +++ b/forge-gui/res/cardsfolder/d/dwynen_gilt_leaf_daen.txt @@ -5,7 +5,7 @@ PT:3/4 K:Reach S:Mode$ Continuous | Affected$ Creature.Elf+Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other Elf creatures you control get +1/+1. T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ Whenever CARDNAME attacks, you gain 1 life for each attacking Elf you control. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.YouCtrl+Elf+attacking SVar:HasAttackEffect:TRUE DeckHints:Type$Elf diff --git a/forge-gui/res/cardsfolder/d/dying_wish.txt b/forge-gui/res/cardsfolder/d/dying_wish.txt index 40ee3bdf152..969d3d56dbc 100644 --- a/forge-gui/res/cardsfolder/d/dying_wish.txt +++ b/forge-gui/res/cardsfolder/d/dying_wish.txt @@ -4,8 +4,8 @@ Types:Enchantment Aura K:Enchant creature you control A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | AILogic$ Pump T:Mode$ ChangesZone | ValidCard$ Card.EnchantedBy | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigLose | TriggerDescription$ When enchanted creature dies, target player loses X life and you gain X life, where X is its power. -SVar:TrigLose:DB$ LoseLife | ValidTgts$ Player | LifeAmount$ X | References$ X | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigLose:DB$ LoseLife | ValidTgts$ Player | LifeAmount$ X | SubAbility$ DBGainLife +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggeredCard$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/dying_wish.jpg Oracle:Enchant creature you control\nWhen enchanted creature dies, target player loses X life and you gain X life, where X is its power. diff --git a/forge-gui/res/cardsfolder/e/earl_of_squirrel.txt b/forge-gui/res/cardsfolder/e/earl_of_squirrel.txt index c34d5cfa578..503fce937c2 100644 --- a/forge-gui/res/cardsfolder/e/earl_of_squirrel.txt +++ b/forge-gui/res/cardsfolder/e/earl_of_squirrel.txt @@ -4,7 +4,7 @@ Types:Creature Squirrel Advisor S:Mode$ Continuous | EffectZone$ Battlefield | Affected$ Creature.token+YouCtrl | AddType$ Squirrel | Description$ Creature tokens you control are Squirrels in addition to their other creature types. S:Mode$ Continuous | EffectZone$ Battlefield | Affected$ Squirrel.Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other Squirrels you control get +1/+1. T:Mode$ DamageDone | ValidSource$ Card.Self | Execute$ TrigToken | TriggerZones$ Battlefield | Static$ True | TriggerDescription$ Squirrellink (Damage dealt by this creature also causes you to create that many 1/1 green Squirrel creature tokens.) -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_1_1_squirrel | TokenOwner$ You +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_squirrel | TokenOwner$ You SVar:X:TriggerCount$DamageAmount DeckHas:Ability$ Token Oracle:Squirrellink (Damage dealt by this creature also causes you to create that many 1/1 green Squirrel creature tokens.)\nCreature tokens you control are Squirrels in addition to their other creature types.\nOther Squirrels you control get +1/+1. diff --git a/forge-gui/res/cardsfolder/e/earthquake.txt b/forge-gui/res/cardsfolder/e/earthquake.txt index 1dd79a4870a..8dd63118c20 100644 --- a/forge-gui/res/cardsfolder/e/earthquake.txt +++ b/forge-gui/res/cardsfolder/e/earthquake.txt @@ -1,7 +1,7 @@ Name:Earthquake ManaCost:X R Types:Sorcery -A:SP$ DamageAll | Cost$ X R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying and each player. +A:SP$ DamageAll | Cost$ X R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying and each player. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/earthquake.jpg Oracle:Earthquake deals X damage to each creature without flying and each player. diff --git a/forge-gui/res/cardsfolder/e/earthshaker_khenra.txt b/forge-gui/res/cardsfolder/e/earthshaker_khenra.txt index d2f6174b738..c6ca338e452 100644 --- a/forge-gui/res/cardsfolder/e/earthshaker_khenra.txt +++ b/forge-gui/res/cardsfolder/e/earthshaker_khenra.txt @@ -4,7 +4,7 @@ Types:Creature Jackal Warrior PT:2/1 K:Haste T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, target creature with power less than or equal to CARDNAME's power can't block this turn. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.powerLEX | References$ X | IsCurse$ True | KW$ HIDDEN CARDNAME can't block. | TgtPrompt$ Select target creature with power less than or equal to CARDNAME's power. +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.powerLEX | IsCurse$ True | KW$ HIDDEN CARDNAME can't block. | TgtPrompt$ Select target creature with power less than or equal to CARDNAME's power. K:Eternalize:4 R R SVar:X:Count$CardPower DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/e/ebon_praetor.txt b/forge-gui/res/cardsfolder/e/ebon_praetor.txt index 0be587ff69e..7f844331345 100644 --- a/forge-gui/res/cardsfolder/e/ebon_praetor.txt +++ b/forge-gui/res/cardsfolder/e/ebon_praetor.txt @@ -7,7 +7,7 @@ K:Trample T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a -2/-2 counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ M2M2 | CounterNum$ 1 A:AB$ RemoveCounter | Cost$ Sac<1/Creature> | CounterType$ M2M2 | CounterNum$ 1 | ActivationPhases$ Upkeep | PlayerTurn$ True | ActivationLimit$ 1 | SubAbility$ DBPutCounter | SpellDescription$ Remove a -2/-2 counter from CARDNAME. If the sacrificed creature was a Thrull, put a +1/+0 counter on CARDNAME. Activate this ability only during your upkeep and only once each turn. -SVar:DBPutCounter:DB$ PutCounter | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | CounterNum$ 1 | CounterType$ P1P0 | References$ X +SVar:DBPutCounter:DB$ PutCounter | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | CounterNum$ 1 | CounterType$ P1P0 SVar:X:Sacrificed$Valid Thrull SVar:AIPreference:SacCost$Creature.Thrull,Creature.token+powerLE4+toughnessLE4,Creature.cmcLE2+powerLE2+toughnessLE3 AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/e/ebonblade_reaper.txt b/forge-gui/res/cardsfolder/e/ebonblade_reaper.txt index 3b316f05cab..7faed44ba8c 100644 --- a/forge-gui/res/cardsfolder/e/ebonblade_reaper.txt +++ b/forge-gui/res/cardsfolder/e/ebonblade_reaper.txt @@ -4,9 +4,9 @@ Types:Creature Human Cleric PT:1/1 K:Morph:3 B B T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME attacks, you lose half your life, rounded up. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ EbonXYou | References$ EbonXYou +SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ EbonXYou T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigLoseLifeOpp | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player loses half their life, rounded up. -SVar:TrigLoseLifeOpp:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ EbonXOpp | References$ EbonXOpp +SVar:TrigLoseLifeOpp:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ EbonXOpp SVar:EbonXYou:Count$YourLifeTotal/HalfUp SVar:EbonXOpp:TriggeredTarget$LifeTotal/HalfUp AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/e/echo_storm.txt b/forge-gui/res/cardsfolder/e/echo_storm.txt index fbc001e8eae..674909b676d 100644 --- a/forge-gui/res/cardsfolder/e/echo_storm.txt +++ b/forge-gui/res/cardsfolder/e/echo_storm.txt @@ -2,7 +2,7 @@ Name:Echo Storm ManaCost:3 U U Types:Sorcery T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigCopy | TriggerDescription$ When you cast this spell, copy it for each time you've cast your commander from the command zone this game. -SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | Amount$ X | References$ X | MayChooseTarget$ True +SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | Amount$ X | MayChooseTarget$ True SVar:X:Count$TotalCommanderCastFromCommandZone A:SP$ CopyPermanent | Cost$ 3 U U | ValidTgts$ Artifact | TgtPrompt$ Select target artifact. | SpellDescription$ Create a token that's a copy of target artifact. DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/e/edifice_of_authority.txt b/forge-gui/res/cardsfolder/e/edifice_of_authority.txt index 3fc60464cfb..ebc22ad0a29 100644 --- a/forge-gui/res/cardsfolder/e/edifice_of_authority.txt +++ b/forge-gui/res/cardsfolder/e/edifice_of_authority.txt @@ -3,7 +3,7 @@ ManaCost:3 Types:Artifact A:AB$ Pump | Cost$ 1 T | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ HIDDEN CARDNAME can't attack. | SubAbility$ DBPutCounter | IsCurse$ True | SpellDescription$ Target creature can't attack this turn. Put a brick counter on CARDNAME. SVar:DBPutCounter:DB$PutCounter | Defined$ Self | CounterType$ BRICK | CounterNum$ 1 -A:AB$ Pump | Cost$ 1 T | ValidTgts$ Creature | TgtPrompt$ Select target creature | UntilYourNextTurn$ True | KW$ HIDDEN CARDNAME can't attack or block. & HIDDEN CARDNAME's activated abilities can't be activated. | CheckSVar$ X | SVarCompare$ GE3 | References$ X | IsCurse$ True | SpellDescription$ Until your next turn, target creature can't attack or block and its activated abilities can't be activated. Activate this ability only if there are three or more brick counters on Edifice of Authority. +A:AB$ Pump | Cost$ 1 T | ValidTgts$ Creature | TgtPrompt$ Select target creature | UntilYourNextTurn$ True | KW$ HIDDEN CARDNAME can't attack or block. & HIDDEN CARDNAME's activated abilities can't be activated. | CheckSVar$ X | SVarCompare$ GE3 | IsCurse$ True | SpellDescription$ Until your next turn, target creature can't attack or block and its activated abilities can't be activated. Activate this ability only if there are three or more brick counters on Edifice of Authority. SVar:X:Count$CardCounters.BRICK SVar:Picture:http://www.wizards.com/global/images/magic/general/edifice_of_authority.jpg Oracle:{1}, {T}: Target creature can't attack this turn. Put a brick counter on Edifice of Authority.\n{1}, {T}: Until your next turn, target creature can't attack or block and its activated abilities can't be activated. Activate this ability only if there are three or more brick counters on Edifice of Authority. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/e/eerie_ultimatum.txt b/forge-gui/res/cardsfolder/e/eerie_ultimatum.txt index 59f24d1cc9f..ce81cfc7630 100755 --- a/forge-gui/res/cardsfolder/e/eerie_ultimatum.txt +++ b/forge-gui/res/cardsfolder/e/eerie_ultimatum.txt @@ -1,7 +1,7 @@ Name:Eerie Ultimatum ManaCost:W W B B B G G Types:Sorcery -A:SP$ ChangeZone | Cost$ W W B B B G G | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Permanent.YouOwn | DifferentNames$ True | ChangeNum$ X | References$ X | Hidden$ True | StackDescription$ SpellDescription | SpellDescription$ Return any number of permanent cards with different names from your graveyard to the battlefield. +A:SP$ ChangeZone | Cost$ W W B B B G G | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Permanent.YouOwn | DifferentNames$ True | ChangeNum$ X | Hidden$ True | StackDescription$ SpellDescription | SpellDescription$ Return any number of permanent cards with different names from your graveyard to the battlefield. SVar:X:Count$DifferentCardNames_Permanent.YouOwn+inZoneGraveyard Svar:IsReanimatorCard:TRUE Oracle:Return any number of permanent cards with different names from your graveyard to the battlefield. diff --git a/forge-gui/res/cardsfolder/e/eidolon_of_countless_battles.txt b/forge-gui/res/cardsfolder/e/eidolon_of_countless_battles.txt index 6fc52085f37..9bf3defea52 100644 --- a/forge-gui/res/cardsfolder/e/eidolon_of_countless_battles.txt +++ b/forge-gui/res/cardsfolder/e/eidolon_of_countless_battles.txt @@ -3,7 +3,7 @@ ManaCost:1 W W Types:Enchantment Creature Spirit PT:0/0 K:Bestow:2 W W -S:Mode$ Continuous | Affected$ Card.Self,Card.EnchantedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME and enchanted creature get +1/+1 for each creature you control and +1/+1 for each Aura you control. +S:Mode$ Continuous | Affected$ Card.Self,Card.EnchantedBy | AddPower$ X | AddToughness$ X | Description$ CARDNAME and enchanted creature get +1/+1 for each creature you control and +1/+1 for each Aura you control. SVar:X:Count$Valid Creature.YouCtrl,Aura.YouCtrl SVar:BuffedBy:Creature,Aura SVar:Picture:http://www.wizards.com/global/images/magic/general/eidolon_of_countless_battles.jpg diff --git a/forge-gui/res/cardsfolder/e/el_hajjaj.txt b/forge-gui/res/cardsfolder/e/el_hajjaj.txt index ba9d2c78af1..c91d9c3e8a2 100644 --- a/forge-gui/res/cardsfolder/e/el_hajjaj.txt +++ b/forge-gui/res/cardsfolder/e/el_hajjaj.txt @@ -3,7 +3,7 @@ ManaCost:1 B B Types:Creature Human Wizard PT:1/1 T:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever El-Hajjâj deals damage, you gain that much life. -SVar:TrigGain:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/el_hajjaj.jpg diff --git a/forge-gui/res/cardsfolder/e/eladamri.txt b/forge-gui/res/cardsfolder/e/eladamri.txt index 5d0c7295d72..7b46772614f 100644 --- a/forge-gui/res/cardsfolder/e/eladamri.txt +++ b/forge-gui/res/cardsfolder/e/eladamri.txt @@ -2,7 +2,7 @@ Name:Eladamri ManaCost:no cost Types:Vanguard HandLifeModifier:-1/+15 -A:AB$ Effect | ActivationZone$ Command | Cost$ 0 | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature to redirect damage from | ReplacementEffects$ RedirectDamage | SVars$ RedirectDmg | References$ RedirectDamage,RedirectDmg | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | Duration$ Permanent | SpellDescription$ The next 1 damage that would be dealt to target creature you control is dealt to you instead. +A:AB$ Effect | ActivationZone$ Command | Cost$ 0 | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature to redirect damage from | ReplacementEffects$ RedirectDamage | SVars$ RedirectDmg | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | Duration$ Permanent | SpellDescription$ The next 1 damage that would be dealt to target creature you control is dealt to you instead. SVar:RedirectDamage:Event$ DamageDone | ValidTarget$ Creature.IsRemembered | ReplaceWith$ RedirectDmg | DamageTarget$ You | Description$ The next 1 damage that would be dealt to target creature you control is dealt to you instead. SVar:RedirectDmg:DB$ ReplaceSplitDamage | DamageTarget$ You SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Eladamri.full.jpg diff --git a/forge-gui/res/cardsfolder/e/elder_cathar.txt b/forge-gui/res/cardsfolder/e/elder_cathar.txt index dc5955b92a4..120ade26f9e 100644 --- a/forge-gui/res/cardsfolder/e/elder_cathar.txt +++ b/forge-gui/res/cardsfolder/e/elder_cathar.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Creature Human Soldier PT:2/2 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, put a +1/+1 counter on target creature you control. If that creature is a Human, put two +1/+1 counters on it instead. -SVar:TrigPutCounter:DB$PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ X SVar:X:Targeted$Valid Creature.Human/Plus.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/elder_cathar.jpg Oracle:When Elder Cathar dies, put a +1/+1 counter on target creature you control. If that creature is a Human, put two +1/+1 counters on it instead. diff --git a/forge-gui/res/cardsfolder/e/elder_of_laurels.txt b/forge-gui/res/cardsfolder/e/elder_of_laurels.txt index 8520d3a03d4..9af08cc3eca 100644 --- a/forge-gui/res/cardsfolder/e/elder_of_laurels.txt +++ b/forge-gui/res/cardsfolder/e/elder_of_laurels.txt @@ -2,7 +2,7 @@ Name:Elder of Laurels ManaCost:2 G Types:Creature Human Advisor PT:2/3 -A:AB$ Pump | Cost$ 3 G | NumAtt$ +X | NumDef$ +X | ValidTgts$ Creature | TgtPrompt$ Select target creature | References$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of creatures you control. +A:AB$ Pump | Cost$ 3 G | NumAtt$ +X | NumDef$ +X | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/elder_of_laurels.jpg Oracle:{3}{G}: Target creature gets +X/+X until end of turn, where X is the number of creatures you control. diff --git a/forge-gui/res/cardsfolder/e/eldrazi_mimic.txt b/forge-gui/res/cardsfolder/e/eldrazi_mimic.txt index 9a9613239dd..5d84e0140fb 100644 --- a/forge-gui/res/cardsfolder/e/eldrazi_mimic.txt +++ b/forge-gui/res/cardsfolder/e/eldrazi_mimic.txt @@ -3,7 +3,7 @@ ManaCost:2 Types:Creature Eldrazi PT:2/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Other+Colorless+YouCtrl | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigAnimate | TriggerDescription$ Whenever another colorless creature enters the battlefield under your control, you may change CARDNAME's base power and toughness to that creature's power and toughness until end of turn. -SVar:TrigAnimate:DB$ Animate | Power$ X | Toughness$ Y | References$ X,Y +SVar:TrigAnimate:DB$ Animate | Power$ X | Toughness$ Y SVar:X:TriggeredCard$CardPower SVar:Y:TriggeredCard$CardToughness SVar:BuffedBy:Creature.Colorless diff --git a/forge-gui/res/cardsfolder/e/eldrazi_monument.txt b/forge-gui/res/cardsfolder/e/eldrazi_monument.txt index c59f26f56c6..34f35d2f7a9 100644 --- a/forge-gui/res/cardsfolder/e/eldrazi_monument.txt +++ b/forge-gui/res/cardsfolder/e/eldrazi_monument.txt @@ -3,7 +3,7 @@ ManaCost:5 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, sacrifice a creature. If you can't, sacrifice CARDNAME. SVar:TrigSac:DB$Sacrifice | Defined$ You | SacValid$ Creature | SubAbility$ DBSacSelf | RememberSacrificed$ True -SVar:DBSacSelf:DB$ Sacrifice | Defined$ Self | SubAbility$ DBCleanup | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup | References$ X +SVar:DBSacSelf:DB$ Sacrifice | Defined$ Self | SubAbility$ DBCleanup | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ 1 | AddToughness$ 1 | AddKeyword$ Flying & Indestructible | Description$ Creatures you control get +1/+1 and have flying and indestructible. diff --git a/forge-gui/res/cardsfolder/e/eldritch_evolution.txt b/forge-gui/res/cardsfolder/e/eldritch_evolution.txt index 0569b648e38..5a7492c25af 100644 --- a/forge-gui/res/cardsfolder/e/eldritch_evolution.txt +++ b/forge-gui/res/cardsfolder/e/eldritch_evolution.txt @@ -1,7 +1,7 @@ Name:Eldritch Evolution ManaCost:1 G G Types:Sorcery -A:SP$ ChangeZone | Cost$ 1 G G Sac<1/Creature> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcLEX | ChangeNum$ 1 | References$ X | SubAbility$ DBChange | AILogic$ SacAndUpgrade+SacWorst | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card with converted mana cost X or less, where X is 2 plus the sacrificed creature's converted mana cost. Put that card onto the battlefield, then shuffle your library. Exile CARDNAME. +A:SP$ ChangeZone | Cost$ 1 G G Sac<1/Creature> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcLEX | ChangeNum$ 1 | SubAbility$ DBChange | AILogic$ SacAndUpgrade+SacWorst | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card with converted mana cost X or less, where X is 2 plus the sacrificed creature's converted mana cost. Put that card onto the battlefield, then shuffle your library. Exile CARDNAME. SVar:DBChange:DB$ ChangeZone | Origin$ Stack | Destination$ Exile SVar:X:Sacrificed$CardManaCost/Plus.2 SVar:AIPreference:SacCost$Creature diff --git a/forge-gui/res/cardsfolder/e/electrodominance.txt b/forge-gui/res/cardsfolder/e/electrodominance.txt index 2da42bca1b5..9187bc336da 100644 --- a/forge-gui/res/cardsfolder/e/electrodominance.txt +++ b/forge-gui/res/cardsfolder/e/electrodominance.txt @@ -1,7 +1,7 @@ Name:Electrodominance ManaCost:X R R Types:Instant -A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SubAbility$ DBPlay | SpellDescription$ CARDNAME deals X damage to any target. You may cast a spell with converted mana cost X or less from your hand without paying its mana cost. -SVar:DBPlay:DB$ Play | Valid$ Card.nonLand+YouOwn | ValidSA$ Spell.cmcLEX | ValidZone$ Hand | WithoutManaCost$ True | Amount$ 1 | Controller$ You | Optional$ True | References$ X +A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBPlay | SpellDescription$ CARDNAME deals X damage to any target. You may cast a spell with converted mana cost X or less from your hand without paying its mana cost. +SVar:DBPlay:DB$ Play | Valid$ Card.nonLand+YouOwn | ValidSA$ Spell.cmcLEX | ValidZone$ Hand | WithoutManaCost$ True | Amount$ 1 | Controller$ You | Optional$ True SVar:X:Count$xPaid Oracle:Electrodominance deals X damage to any target. You may cast a spell with converted mana cost X or less from your hand without paying its mana cost. diff --git a/forge-gui/res/cardsfolder/e/electropotence.txt b/forge-gui/res/cardsfolder/e/electropotence.txt index a2810712450..57db8bfa6f1 100644 --- a/forge-gui/res/cardsfolder/e/electropotence.txt +++ b/forge-gui/res/cardsfolder/e/electropotence.txt @@ -2,7 +2,7 @@ Name:Electropotence ManaCost:2 R Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ Whenever a creature enters the battlefield under your control, you may pay {2}{R}. If you do, that creature deals damage equal to its power to any target. -SVar:TrigDamage:AB$DealDamage | Cost$ 2 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | DamageSource$ TriggeredCard | NumDmg$ Damage | References$ Damage +SVar:TrigDamage:AB$DealDamage | Cost$ 2 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | DamageSource$ TriggeredCard | NumDmg$ Damage SVar:Damage:TriggeredCard$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/electropotence.jpg Oracle:Whenever a creature enters the battlefield under your control, you may pay {2}{R}. If you do, that creature deals damage equal to its power to any target. diff --git a/forge-gui/res/cardsfolder/e/electrostatic_bolt.txt b/forge-gui/res/cardsfolder/e/electrostatic_bolt.txt index 85b63ad6878..70e2d546879 100644 --- a/forge-gui/res/cardsfolder/e/electrostatic_bolt.txt +++ b/forge-gui/res/cardsfolder/e/electrostatic_bolt.txt @@ -2,7 +2,7 @@ Name:Electrostatic Bolt ManaCost:R Types:Instant A:SP$ DealDamage | Cost$ R | NumDmg$ 2 | ValidTgts$ Creature | TgtPrompt$ Select target creature to deal damage to | ConditionCheckSVar$ ElectrostaticCheck | ConditionSVarCompare$ EQ0 | SubAbility$ DBDamage | SpellDescription$ CARDNAME deals 2 damage to target creature. If it's an artifact creature, CARDNAME deals 4 damage to it instead. -SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ 4 | ConditionCheckSVar$ ElectrostaticCheck | ConditionSVarCompare$ EQ1 | StackDescription$ If it's an artifact creature, Electrostatic Bolt deals 4 damage instead. | References$ ElectrostaticCheck +SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ 4 | ConditionCheckSVar$ ElectrostaticCheck | ConditionSVarCompare$ EQ1 | StackDescription$ If it's an artifact creature, Electrostatic Bolt deals 4 damage instead.lectrostaticCheck SVar:ElectrostaticCheck:Targeted$Valid Creature.Artifact SVar:Picture:http://www.wizards.com/global/images/magic/general/electrostatic_bolt.jpg Oracle:Electrostatic Bolt deals 2 damage to target creature. If it's an artifact creature, Electrostatic Bolt deals 4 damage to it instead. diff --git a/forge-gui/res/cardsfolder/e/electrostatic_pummeler.txt b/forge-gui/res/cardsfolder/e/electrostatic_pummeler.txt index e01fd28851d..d2725dcb5a7 100644 --- a/forge-gui/res/cardsfolder/e/electrostatic_pummeler.txt +++ b/forge-gui/res/cardsfolder/e/electrostatic_pummeler.txt @@ -4,6 +4,6 @@ Types:Artifact Creature Construct PT:1/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get {E}{E}{E} (three energy counters). SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 3 -A:AB$ Pump | Cost$ PayEnergy<3> | Defined$ Self | NumAtt$ +X | NumDef$ +X | References$ X | AILogic$ Pummeler | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is its power. +A:AB$ Pump | Cost$ PayEnergy<3> | Defined$ Self | NumAtt$ +X | NumDef$ +X | AILogic$ Pummeler | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is its power. SVar:X:Count$CardPower Oracle:When Electrostatic Pummeler enters the battlefield, you get {E}{E}{E} (three energy counters).\nPay {E}{E}{E}: Electrostatic Pummeler gets +X/+X until end of turn, where X is its power. diff --git a/forge-gui/res/cardsfolder/e/electryte.txt b/forge-gui/res/cardsfolder/e/electryte.txt index 1854e8e5083..0f093f35974 100644 --- a/forge-gui/res/cardsfolder/e/electryte.txt +++ b/forge-gui/res/cardsfolder/e/electryte.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Creature Trilobite Beast PT:3/3 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDmgBlockers | TriggerDescription$ Whenever CARDNAME deals combat damage to defending player, it deals damage equal to its power to each blocking creature. -SVar:TrigDmgBlockers:DB$DamageAll | ValidCards$ Creature.blocking | NumDmg$ X | ValidDescription$ each blocking creature | References$ X +SVar:TrigDmgBlockers:DB$DamageAll | ValidCards$ Creature.blocking | NumDmg$ X | ValidDescription$ each blocking creature SVar:X:Count$CardPower SVar:MustBeBlocked:True SVar:Picture:http://www.wizards.com/global/images/magic/general/electryte.jpg diff --git a/forge-gui/res/cardsfolder/e/elemental_mastery.txt b/forge-gui/res/cardsfolder/e/elemental_mastery.txt index 715f5c712c8..747667b9df5 100644 --- a/forge-gui/res/cardsfolder/e/elemental_mastery.txt +++ b/forge-gui/res/cardsfolder/e/elemental_mastery.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 3 R | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddAbility$ Token | AddSVar$ ElementalMasteryCount | Description$ Enchanted creature has "{T}: Create X 1/1 red Elemental creature tokens with haste, where X is this creature's power. Exile them at the beginning of the next end step." -SVar:Token:AB$ Token | Cost$ T | TokenAmount$ ElementalMasteryCount | TokenScript$ r_1_1_elemental_haste | LegacyImage$ r 1 1 elemental haste shm | AtEOT$ Exile | References$ ElementalMasteryCount | SpellDescription$ Create X 1/1 red Elemental creature tokens with haste, where X is this creature's power. Exile them at the beginning of the next end step. +SVar:Token:AB$ Token | Cost$ T | TokenAmount$ ElementalMasteryCount | TokenScript$ r_1_1_elemental_haste | LegacyImage$ r 1 1 elemental haste shm | AtEOT$ Exile | SpellDescription$ Create X 1/1 red Elemental creature tokens with haste, where X is this creature's power. Exile them at the beginning of the next end step. SVar:ElementalMasteryCount:Count$CardPower SVar:NonStackingAttachEffect:True DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/e/elenda_the_dusk_rose.txt b/forge-gui/res/cardsfolder/e/elenda_the_dusk_rose.txt index 3da62c718e5..c27b6836950 100644 --- a/forge-gui/res/cardsfolder/e/elenda_the_dusk_rose.txt +++ b/forge-gui/res/cardsfolder/e/elenda_the_dusk_rose.txt @@ -6,7 +6,7 @@ K:Lifelink T:Mode$ ChangesZone | Origin$ Battlefield | ValidCard$ Creature.Other | Destination$ Graveyard | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever another creature dies, put a +1/+1 counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ConditionPresent$ Card.StrictlySelf T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigToken | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, create X 1/1 white Vampire creature tokens with lifelink, where X is Elenda's power. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ w_1_1_vampire_lifelink | LegacyImage$ w 1 1 vampire lifelink rix | TokenOwner$ You +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_vampire_lifelink | LegacyImage$ w 1 1 vampire lifelink rix | TokenOwner$ You SVar:X:TriggeredCard$CardPower DeckHints:Type$Vampire SVar:Picture:http://www.wizards.com/global/images/magic/general/elenda_the_dusk_rose.jpg diff --git a/forge-gui/res/cardsfolder/e/eligeth_crossroads_augur.txt b/forge-gui/res/cardsfolder/e/eligeth_crossroads_augur.txt index bc0ed7f5adb..0ed60775832 100644 --- a/forge-gui/res/cardsfolder/e/eligeth_crossroads_augur.txt +++ b/forge-gui/res/cardsfolder/e/eligeth_crossroads_augur.txt @@ -5,7 +5,7 @@ PT:5/6 K:Flying K:Partner R:Event$ Scry | ActiveZones$ Battlefield | ValidPlayer$ You | ReplaceWith$ Draw | Description$ If you would scry a number of cards, draw that many cards instead. -SVar:Draw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:Draw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:ReplaceCount$Num Oracle:Flying\nIf you would scry a number of cards, draw that many cards instead.\nPartner (You can have two commanders if both have partner.) diff --git a/forge-gui/res/cardsfolder/e/eliminate_the_competition.txt b/forge-gui/res/cardsfolder/e/eliminate_the_competition.txt index 0fa790b9ee4..6914ac6919e 100644 --- a/forge-gui/res/cardsfolder/e/eliminate_the_competition.txt +++ b/forge-gui/res/cardsfolder/e/eliminate_the_competition.txt @@ -1,7 +1,7 @@ Name:Eliminate the Competition ManaCost:4 B Types:Sorcery -A:SP$ Destroy | Cost$ 4 B Sac | CostDesc$ As an additional cost to cast this spell, sacrifice X creatures. | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature | References$ X | TgtPrompt$ Select X target creatures | AIMaxTgtsCount$ Valid Creature.YouCtrl+cmcLE2 | SpellDescription$ Destroy X target creatures. +A:SP$ Destroy | Cost$ 4 B Sac | CostDesc$ As an additional cost to cast this spell, sacrifice X creatures. | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | AIMaxTgtsCount$ Valid Creature.YouCtrl+cmcLE2 | SpellDescription$ Destroy X target creatures. SVar:X:Count$xPaid SVar:AIPreference:SacCost$Creature.token,Creature.cmcLE2 Oracle:As an additional cost to cast this spell, sacrifice X creatures.\nDestroy X target creatures. diff --git a/forge-gui/res/cardsfolder/e/elite_arcanist.txt b/forge-gui/res/cardsfolder/e/elite_arcanist.txt index 1b2ce7d98a8..3bf354d4d33 100644 --- a/forge-gui/res/cardsfolder/e/elite_arcanist.txt +++ b/forge-gui/res/cardsfolder/e/elite_arcanist.txt @@ -4,7 +4,7 @@ Types:Creature Human Wizard PT:1/1 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | OptionalDecider$ You | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, you may exile an instant card from your hand. SVar:TrigExile:DB$ ChangeZone | RememberChanged$ True | Origin$ Hand | Destination$ Exile | ChangeType$ Instant | ChangeNum$ 1 -A:AB$ Play | Cost$ X T | Valid$ Card.IsRemembered+ExiledWithSource | ValidZone$ Exile | Amount$ All | CopyOnce$ True | References$ X | WithoutManaCost$ True | Optional$ True | CopyCard$ True | SpellDescription$ Copy the exiled card. You may cast the copy without paying its mana cost. X is the converted mana cost of the exiled card. +A:AB$ Play | Cost$ X T | Valid$ Card.IsRemembered+ExiledWithSource | ValidZone$ Exile | Amount$ All | CopyOnce$ True | WithoutManaCost$ True | Optional$ True | CopyCard$ True | SpellDescription$ Copy the exiled card. You may cast the copy without paying its mana cost. X is the converted mana cost of the exiled card. SVar:X:Remembered$CardManaCost T:Mode$ ChangesZone | ValidCard$ Card.IsRemembered+ExiledWithSource | Origin$ Exile | Destination$ Any | Execute$ ForgetCard | Static$ True SVar:ForgetCard:DB$ Cleanup | ForgetDefined$ TriggeredCard diff --git a/forge-gui/res/cardsfolder/e/elspeth_tirel.txt b/forge-gui/res/cardsfolder/e/elspeth_tirel.txt index eeb7e326452..a546e252789 100644 --- a/forge-gui/res/cardsfolder/e/elspeth_tirel.txt +++ b/forge-gui/res/cardsfolder/e/elspeth_tirel.txt @@ -2,7 +2,7 @@ Name:Elspeth Tirel ManaCost:3 W W Types:Legendary Planeswalker Elspeth Loyalty:4 -A:AB$ GainLife | Cost$ AddCounter<2/LOYALTY> | LifeAmount$ XLife | Planeswalker$ True | References$ XLife | SpellDescription$ You gain 1 life for each creature you control. +A:AB$ GainLife | Cost$ AddCounter<2/LOYALTY> | LifeAmount$ XLife | Planeswalker$ True | SpellDescription$ You gain 1 life for each creature you control. A:AB$ Token | Cost$ SubCounter<2/LOYALTY> | TokenAmount$ 3 | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier som | Planeswalker$ True | SpellDescription$ Create three 1/1 white Soldier creature tokens. A:AB$ DestroyAll | Cost$ SubCounter<5/LOYALTY> | ValidCards$ Permanent.nonLand+nonToken+Other | Planeswalker$ True | Ultimate$ True | SpellDescription$ Destroy all other permanents except for lands and tokens. SVar:XLife:Count$TypeYouCtrl.Creature diff --git a/forge-gui/res/cardsfolder/e/elspeth_undaunted_hero.txt b/forge-gui/res/cardsfolder/e/elspeth_undaunted_hero.txt index e070889bf53..d3dd15af7ce 100755 --- a/forge-gui/res/cardsfolder/e/elspeth_undaunted_hero.txt +++ b/forge-gui/res/cardsfolder/e/elspeth_undaunted_hero.txt @@ -6,7 +6,7 @@ A:AB$ PutCounter | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | CounterNum DeckHas:Ability$Counters A:AB$ ChangeZone | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | Origin$ Library | OriginChoice$ True | OriginAlternative$ Graveyard | AlternativeMessage$ Would you like to search your library with this ability? If you do, your library will be shuffled. | Destination$ Battlefield | ChangeType$ Card.namedSunlit Hoplite | ChangeNum$ 1 | StackDescription$ SpellDescription | SpellDescription$ Search your library and/or graveyard for a card named Sunlit Hoplite and put it onto the battlefield. If you search your library this way, shuffle it. DeckHints:Name$Sunlit Hoplite -A:AB$ PumpAll | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidCards$ Creature.YouCtrl | NumAtt$ +X | NumDef$ +X | References$ X | KW$ Flying | SpellDescription$ Until end of turn, creatures you control gain flying and get +X/+X, where X is your devotion to white. +A:AB$ PumpAll | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidCards$ Creature.YouCtrl | NumAtt$ +X | NumDef$ +X | KW$ Flying | SpellDescription$ Until end of turn, creatures you control gain flying and get +X/+X, where X is your devotion to white. SVar:X:Count$Devotion.White DeckHas:Ability$Counters Oracle:[+2]: Put a +1/+1 counter on each of up to two target creatures.\n[−2]: Search your library and/or graveyard for a card named Sunlit Hoplite and put it onto the battlefield. If you search your library this way, shuffle it.\n[−8]: Until end of turn, creatures you control gain flying and get +X/+X, where X is your devotion to white. diff --git a/forge-gui/res/cardsfolder/e/elven_ambush.txt b/forge-gui/res/cardsfolder/e/elven_ambush.txt index 8c2c5a8b62a..0612237990b 100644 --- a/forge-gui/res/cardsfolder/e/elven_ambush.txt +++ b/forge-gui/res/cardsfolder/e/elven_ambush.txt @@ -1,7 +1,7 @@ Name:Elven Ambush ManaCost:3 G Types:Instant -A:SP$ Token | Cost$ 3 G | TokenAmount$ X | References$ X | TokenScript$ g_1_1_elf_warrior | TokenOwner$ You | SpellDescription$ Create a 1/1 green Elf Warrior creature token for each Elf you control. +A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenScript$ g_1_1_elf_warrior | TokenOwner$ You | SpellDescription$ Create a 1/1 green Elf Warrior creature token for each Elf you control. SVar:X:Count$Valid Elf.YouCtrl DeckHas:Ability$Token DeckNeeds:Type$Elf diff --git a/forge-gui/res/cardsfolder/e/elvish_archdruid.txt b/forge-gui/res/cardsfolder/e/elvish_archdruid.txt index 923a135c187..18fe3215298 100644 --- a/forge-gui/res/cardsfolder/e/elvish_archdruid.txt +++ b/forge-gui/res/cardsfolder/e/elvish_archdruid.txt @@ -3,7 +3,7 @@ ManaCost:1 G G Types:Creature Elf Druid PT:2/2 S:Mode$ Continuous | Affected$ Creature.Elf+Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other Elf creatures you control get +1/+1. -A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | References$ X | SpellDescription$ Add {G} for each Elf you control. +A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | SpellDescription$ Add {G} for each Elf you control. SVar:X:Count$Valid Elf.YouCtrl DeckHints:Type$Elf SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/e/elvish_berserker.txt b/forge-gui/res/cardsfolder/e/elvish_berserker.txt index 3fb2c5dd10e..cd2e353354a 100644 --- a/forge-gui/res/cardsfolder/e/elvish_berserker.txt +++ b/forge-gui/res/cardsfolder/e/elvish_berserker.txt @@ -3,6 +3,6 @@ ManaCost:G Types:Creature Elf Berserker PT:1/1 T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME becomes blocked, it gets +1/+1 until end of turn for each creature blocking it. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +X SVar:X:TriggerCount$NumBlockers Oracle:Whenever Elvish Berserker becomes blocked, it gets +1/+1 until end of turn for each creature blocking it. diff --git a/forge-gui/res/cardsfolder/e/elvish_branchbender.txt b/forge-gui/res/cardsfolder/e/elvish_branchbender.txt index 2c4de0c88d7..f30c618a23a 100644 --- a/forge-gui/res/cardsfolder/e/elvish_branchbender.txt +++ b/forge-gui/res/cardsfolder/e/elvish_branchbender.txt @@ -2,7 +2,7 @@ Name:Elvish Branchbender ManaCost:2 G Types:Creature Elf Druid PT:2/2 -A:AB$ Animate | Cost$ T | ValidTgts$ Forest | TgtPrompt$ Select target Forest | Power$ X | Toughness$ X | Types$ Creature,Treefolk | References$ X | SpellDescription$ Until end of turn, target Forest becomes an X/X Treefolk creature in addition to its other types, where X is the number of Elves you control. +A:AB$ Animate | Cost$ T | ValidTgts$ Forest | TgtPrompt$ Select target Forest | Power$ X | Toughness$ X | Types$ Creature,Treefolk | SpellDescription$ Until end of turn, target Forest becomes an X/X Treefolk creature in addition to its other types, where X is the number of Elves you control. SVar:X:Count$Valid Elf.YouCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/elvish_branchbender.jpg diff --git a/forge-gui/res/cardsfolder/e/elvish_eulogist.txt b/forge-gui/res/cardsfolder/e/elvish_eulogist.txt index 955871a3533..b06e22a4d1c 100644 --- a/forge-gui/res/cardsfolder/e/elvish_eulogist.txt +++ b/forge-gui/res/cardsfolder/e/elvish_eulogist.txt @@ -2,7 +2,7 @@ Name:Elvish Eulogist ManaCost:G Types:Creature Elf Shaman PT:1/1 -A:AB$ GainLife | Cost$ Sac<1/CARDNAME>| LifeAmount$ X | References$ X | SpellDescription$ You gain 1 life for each Elf card in your graveyard. +A:AB$ GainLife | Cost$ Sac<1/CARDNAME>| LifeAmount$ X | SpellDescription$ You gain 1 life for each Elf card in your graveyard. SVar:X:Count$TypeInYourYard.Elf SVar:Picture:http://www.wizards.com/global/images/magic/general/elvish_eulogist.jpg Oracle:Sacrifice Elvish Eulogist: You gain 1 life for each Elf card in your graveyard. diff --git a/forge-gui/res/cardsfolder/e/elvish_guidance.txt b/forge-gui/res/cardsfolder/e/elvish_guidance.txt index 2dc64ccc643..a0770a22d12 100644 --- a/forge-gui/res/cardsfolder/e/elvish_guidance.txt +++ b/forge-gui/res/cardsfolder/e/elvish_guidance.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant land A:SP$ Attach | Cost$ 2 G | ValidTgts$ Land | AILogic$ Pump T:Mode$ TapsForMana | ValidCard$ Card.AttachedBy | Execute$ TrigMana | Static$ True | TriggerDescription$ Whenever enchanted land is tapped for mana, its controller adds an additional {G} for each Elf on the battlefield. -SVar:TrigMana:DB$Mana | Produced$ G | Amount$ X | Defined$ TriggeredCardController | References$ X +SVar:TrigMana:DB$Mana | Produced$ G | Amount$ X | Defined$ TriggeredCardController SVar:X:Count$Valid Elf DeckNeeds:Type$Elf SVar:Picture:http://www.wizards.com/global/images/magic/general/elvish_guidance.jpg diff --git a/forge-gui/res/cardsfolder/e/elvish_healer.txt b/forge-gui/res/cardsfolder/e/elvish_healer.txt index 446cdf270d6..31f17e8ce6a 100644 --- a/forge-gui/res/cardsfolder/e/elvish_healer.txt +++ b/forge-gui/res/cardsfolder/e/elvish_healer.txt @@ -2,7 +2,7 @@ Name:Elvish Healer ManaCost:2 W Types:Creature Elf Cleric PT:1/2 -A:AB$ PreventDamage | Cost$ T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | Amount$ X | RememberTargets$ True | SubAbility$ DBCleanup | References$ X | SpellDescription$ Prevent the next 1 damage that would be dealt to any target this turn. If it's a green creature, prevent the next 2 damage instead. +A:AB$ PreventDamage | Cost$ T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | Amount$ X | RememberTargets$ True | SubAbility$ DBCleanup | SpellDescription$ Prevent the next 1 damage that would be dealt to any target this turn. If it's a green creature, prevent the next 2 damage instead. SVar:X:Remembered$Valid Creature.Green/Plus.1 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/e/elvish_promenade.txt b/forge-gui/res/cardsfolder/e/elvish_promenade.txt index 5158730f36c..20c31bfacd8 100644 --- a/forge-gui/res/cardsfolder/e/elvish_promenade.txt +++ b/forge-gui/res/cardsfolder/e/elvish_promenade.txt @@ -1,7 +1,7 @@ Name:Elvish Promenade ManaCost:3 G Types:Tribal Sorcery Elf -A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenScript$ g_1_1_elf_warrior | TokenOwner$ You | LegacyImage$ g 1 1 elf warrior lrw | References$ X | SpellDescription$ Create a 1/1 green Elf Warrior creature token for each Elf you control. +A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenScript$ g_1_1_elf_warrior | TokenOwner$ You | LegacyImage$ g 1 1 elf warrior lrw | SpellDescription$ Create a 1/1 green Elf Warrior creature token for each Elf you control. SVar:X:Count$Valid Elf.YouCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/elvish_promenade.jpg diff --git a/forge-gui/res/cardsfolder/e/embalmed_brawler.txt b/forge-gui/res/cardsfolder/e/embalmed_brawler.txt index bba05266bc3..33d32a7ac39 100644 --- a/forge-gui/res/cardsfolder/e/embalmed_brawler.txt +++ b/forge-gui/res/cardsfolder/e/embalmed_brawler.txt @@ -5,7 +5,7 @@ PT:2/2 K:Amplify:1:Zombie T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME attacks or blocks, you lose 1 life for each +1/+1 counter on it. T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ TrigLoseLife | Secondary$ True | TriggerDescription$ Whenever CARDNAME attacks or blocks, you lose 1 life for each +1/+1 counter on it. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X SVar:X:Count$CardCounters.P1P1 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/embalmed_brawler.jpg diff --git a/forge-gui/res/cardsfolder/e/ember_fist_zubera.txt b/forge-gui/res/cardsfolder/e/ember_fist_zubera.txt index ef54c48c696..1b86c3d4215 100644 --- a/forge-gui/res/cardsfolder/e/ember_fist_zubera.txt +++ b/forge-gui/res/cardsfolder/e/ember_fist_zubera.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Zubera Spirit PT:1/2 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, it deals damage to any target equal to the number of Zubera that died this turn. -SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Card.Zubera DeckHints:Type$Zubera SVar:Picture:http://resources.wizards.com/magic/cards/chk/en-us/card80508.jpg diff --git a/forge-gui/res/cardsfolder/e/embercleave.txt b/forge-gui/res/cardsfolder/e/embercleave.txt index 9b8d034f4c9..c62033dc06e 100644 --- a/forge-gui/res/cardsfolder/e/embercleave.txt +++ b/forge-gui/res/cardsfolder/e/embercleave.txt @@ -2,7 +2,7 @@ Name:Embercleave ManaCost:4 R R Types:Legendary Artifact Equipment K:Flash -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each attacking creature you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each attacking creature you control. SVar:X:Count$Valid Creature.attacking+YouCtrl SVar:BuffedBy:Creature.attacking T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigAttach | TriggerDescription$ When CARDNAME enters the battlefield, attach it to target creature you control. diff --git a/forge-gui/res/cardsfolder/e/embereth_skyblazer.txt b/forge-gui/res/cardsfolder/e/embereth_skyblazer.txt index 9d234610c0f..88e9a94a504 100644 --- a/forge-gui/res/cardsfolder/e/embereth_skyblazer.txt +++ b/forge-gui/res/cardsfolder/e/embereth_skyblazer.txt @@ -4,6 +4,6 @@ Types:Creature Human Knight PT:4/3 S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Flying | Condition$ PlayerTurn | Description$ As long as it's your turn, CARDNAME has flying. T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPumpAll | TriggerDescription$ Whenever CARDNAME attacks, you may pay {2}{R}. If you do, creatures you control get +X/+0 until end of turn, where X is the number of opponents you have. -SVar:TrigPumpAll:AB$ PumpAll | Cost$ 2 R | ValidCards$ Creature.YouCtrl | NumAtt$ +X | References$ X +SVar:TrigPumpAll:AB$ PumpAll | Cost$ 2 R | ValidCards$ Creature.YouCtrl | NumAtt$ +X SVar:X:PlayerCountOpponents$Amount Oracle:As long as it's your turn, Embereth Skyblazer has flying.\nWhenever Embereth Skyblazer attacks, you may pay {2}{R}. If you do, creatures you control get +X/+0 until end of turn, where X is the number of opponents you have. diff --git a/forge-gui/res/cardsfolder/e/embermaw_hellion.txt b/forge-gui/res/cardsfolder/e/embermaw_hellion.txt index 18cfe83f106..68fee9bcb1e 100644 --- a/forge-gui/res/cardsfolder/e/embermaw_hellion.txt +++ b/forge-gui/res/cardsfolder/e/embermaw_hellion.txt @@ -4,7 +4,7 @@ Types:Creature Hellion PT:4/5 K:Trample R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.RedSource+Other+YouCtrl | ValidTarget$ Permanent,Player | ReplaceWith$ DmgPlus1 | Description$ If another red source you control would deal damage to a permanent or player, it deals that much damage plus 1 to that permanent or player instead. -SVar:DmgPlus1:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgPlus1:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Plus.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/embermaw_hellion.jpg Oracle:Trample (This creature can deal excess combat damage to the player or planeswalker it's attacking.)\nIf another red source you control would deal damage to a permanent or player, it deals that much damage plus 1 to that permanent or player instead. diff --git a/forge-gui/res/cardsfolder/e/emberwilde_caliph.txt b/forge-gui/res/cardsfolder/e/emberwilde_caliph.txt index aae59424018..c227bb96c94 100644 --- a/forge-gui/res/cardsfolder/e/emberwilde_caliph.txt +++ b/forge-gui/res/cardsfolder/e/emberwilde_caliph.txt @@ -6,7 +6,7 @@ K:Flying K:Trample K:CARDNAME attacks each combat if able. T:Mode$ DamageDealtOnce | ValidSource$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME deals damage, you lose that much life. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/emberwilde_caliph.jpg diff --git a/forge-gui/res/cardsfolder/e/emberwilde_captain.txt b/forge-gui/res/cardsfolder/e/emberwilde_captain.txt index 4717d007655..5ad9b59621d 100644 --- a/forge-gui/res/cardsfolder/e/emberwilde_captain.txt +++ b/forge-gui/res/cardsfolder/e/emberwilde_captain.txt @@ -6,7 +6,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigMonarch:DB$ BecomeMonarch | Defined$ You T:Mode$ AttackersDeclared | AttackingPlayer$ Player.Opponent | AttackedTarget$ You | NoResolvingCheck$ True | CheckDefinedPlayer$ You.isMonarch | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever an opponent attacks you while you're the monarch, CARDNAME deals damage to that player equal to the number of cards in their hand. SVar:TrigPump:DB$ Pump | RememberObjects$ TriggeredAttackingPlayer | SubAbility$ DBDmg -SVar:DBDmg:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDmg:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ValidHand Card.RememberedPlayerCtrl Oracle:When Emberwilde Captain enters the battlefield, you become the monarch.\nWhenever an opponent attacks you while you're the monarch, Emberwilde Captain deals damage to that player equal to the number of cards in their hand. diff --git a/forge-gui/res/cardsfolder/e/emeria_captain.txt b/forge-gui/res/cardsfolder/e/emeria_captain.txt index 003a3aabae9..33010a36064 100755 --- a/forge-gui/res/cardsfolder/e/emeria_captain.txt +++ b/forge-gui/res/cardsfolder/e/emeria_captain.txt @@ -5,7 +5,7 @@ PT:1/1 K:Flying K:Vigilance T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerDescription$ When CARDNAME enters the battlefield, put a +1/+1 counter on it for each creature in your party. -SVar:TrigPutCounter:DB$ PutCounter | Defined$ TriggeredCardLKICopy | CounterNum$ X | CounterType$ P1P1 | References$ X +SVar:TrigPutCounter:DB$ PutCounter | Defined$ TriggeredCardLKICopy | CounterNum$ X | CounterType$ P1P1 SVar:X:Count$Party DeckHas:Ability$Party & Ability$Counters SVar:BuffedBy:Cleric,Rogue,Wizard diff --git a/forge-gui/res/cardsfolder/e/emiel_the_blessed.txt b/forge-gui/res/cardsfolder/e/emiel_the_blessed.txt index 0b9ee6c196e..765bafce23f 100644 --- a/forge-gui/res/cardsfolder/e/emiel_the_blessed.txt +++ b/forge-gui/res/cardsfolder/e/emiel_the_blessed.txt @@ -6,7 +6,7 @@ A:AB$ ChangeZone | Cost$ 3 | ValidTgts$ Creature.Other+YouCtrl | Origin$ Battlef SVar:DBReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ All | Destination$ Battlefield | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Other+YouCtrl | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever another creature enters the battlefield under your control, you may pay {G/W}. If you do, put a +1/+1 counter on it. If it's a Unicorn, put two +1/+1 counters on it instead. -SVar:TrigPutCounter:AB$ PutCounter | Cost$ GW | Defined$ TriggeredCardLKICopy | CounterType$ P1P1 | CounterNum$ X | References$ X,Y +SVar:TrigPutCounter:AB$ PutCounter | Cost$ GW | Defined$ TriggeredCardLKICopy | CounterType$ P1P1 | CounterNum$ X SVar:X:Count$Compare Y GE1.2.1 SVar:Y:TriggeredCard$Valid Card.Unicorn DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/e/emissary_of_despair.txt b/forge-gui/res/cardsfolder/e/emissary_of_despair.txt index dbb0de875ab..e59a53a3f57 100644 --- a/forge-gui/res/cardsfolder/e/emissary_of_despair.txt +++ b/forge-gui/res/cardsfolder/e/emissary_of_despair.txt @@ -4,7 +4,7 @@ Types:Creature Spirit PT:2/1 K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player loses 1 life for each artifact they control. -SVar:TrigLoseLife:DB$LoseLife | Defined$ TriggeredTarget | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$LoseLife | Defined$ TriggeredTarget | LifeAmount$ X SVar:X:Count$Valid Artifact.DefenderCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/emissary_of_despair.jpg Oracle:Flying\nWhenever Emissary of Despair deals combat damage to a player, that player loses 1 life for each artifact they control. diff --git a/forge-gui/res/cardsfolder/e/emissary_of_hope.txt b/forge-gui/res/cardsfolder/e/emissary_of_hope.txt index cf2c4353c98..f04ffaa5ab3 100644 --- a/forge-gui/res/cardsfolder/e/emissary_of_hope.txt +++ b/forge-gui/res/cardsfolder/e/emissary_of_hope.txt @@ -4,7 +4,7 @@ Types:Creature Spirit PT:2/1 K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you gain 1 life for each artifact that player controls. -SVar:TrigLoseLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Artifact.DefenderCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/emissary_of_hope.jpg Oracle:Flying\nWhenever Emissary of Hope deals combat damage to a player, you gain 1 life for each artifact that player controls. diff --git a/forge-gui/res/cardsfolder/e/empowered_autogenerator.txt b/forge-gui/res/cardsfolder/e/empowered_autogenerator.txt index 3709661dd4c..969c495d111 100644 --- a/forge-gui/res/cardsfolder/e/empowered_autogenerator.txt +++ b/forge-gui/res/cardsfolder/e/empowered_autogenerator.txt @@ -3,6 +3,6 @@ ManaCost:4 Types:Artifact K:CARDNAME enters the battlefield tapped. A:AB$ PutCounter | Cost$ T | CounterType$ CHARGE | CounterNum$ 1 | SubAbility$ DBMana | SpellDescription$ Put a charge counter on CARDNAME. Add X mana of any one color, where X is the number of charge counters on CARDNAME. -SVar:DBMana:DB$Mana | Produced$ Any | Amount$ X | References$ X +SVar:DBMana:DB$Mana | Produced$ Any | Amount$ X SVar:X:Count$CardCounters.CHARGE Oracle:Empowered Autogenerator enters the battlefield tapped.\n{T}: Put a charge counter on Empowered Autogenerator. Add X mana of any one color, where X is the number of charge counters on Empowered Autogenerator. diff --git a/forge-gui/res/cardsfolder/e/empty_the_pits.txt b/forge-gui/res/cardsfolder/e/empty_the_pits.txt index df1524bbc8d..07a1f096d6d 100644 --- a/forge-gui/res/cardsfolder/e/empty_the_pits.txt +++ b/forge-gui/res/cardsfolder/e/empty_the_pits.txt @@ -2,7 +2,7 @@ Name:Empty the Pits ManaCost:X X B B B B Types:Instant K:Delve -A:SP$ Token | Cost$ X X B B B B | LegacyImage$ b 2 2 zombie ktk | TokenAmount$ X | References$ X | TokenScript$ b_2_2_zombie | TokenOwner$ You | TokenTapped$ True | SpellDescription$ Create X tapped 2/2 black Zombie creature tokens. +A:SP$ Token | Cost$ X X B B B B | LegacyImage$ b 2 2 zombie ktk | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenOwner$ You | TokenTapped$ True | SpellDescription$ Create X tapped 2/2 black Zombie creature tokens. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/empty_the_pits.jpg Oracle:Delve (Each card you exile from your graveyard while casting this spell pays for {1}.)\nCreate X tapped 2/2 black Zombie creature tokens. diff --git a/forge-gui/res/cardsfolder/e/empyreal_voyager.txt b/forge-gui/res/cardsfolder/e/empyreal_voyager.txt index e47cb400513..c52fd2206d9 100644 --- a/forge-gui/res/cardsfolder/e/empyreal_voyager.txt +++ b/forge-gui/res/cardsfolder/e/empyreal_voyager.txt @@ -5,7 +5,7 @@ PT:2/3 K:Flying K:Trample T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigEnergy | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you get that many {E} (energy counters). -SVar:TrigEnergy:DB$PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ X | References$ X +SVar:TrigEnergy:DB$PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/empyreal_voyager.jpg Oracle:Flying, trample\nWhenever Empyreal Voyager deals combat damage to a player, you get that many {E} (energy counters). diff --git a/forge-gui/res/cardsfolder/e/empyrial_storm.txt b/forge-gui/res/cardsfolder/e/empyrial_storm.txt index 4fb4817b905..824631f8aa8 100644 --- a/forge-gui/res/cardsfolder/e/empyrial_storm.txt +++ b/forge-gui/res/cardsfolder/e/empyrial_storm.txt @@ -2,7 +2,7 @@ Name:Empyrial Storm ManaCost:4 W W Types:Sorcery T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigCopy | TriggerDescription$ When you cast this spell, copy it for each time you've cast your commander from the command zone this game. -SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | Amount$ X | References$ X | MayChooseTarget$ True +SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | Amount$ X | MayChooseTarget$ True SVar:X:Count$TotalCommanderCastFromCommandZone A:SP$ Token | Cost$ 4 W W | TokenAmount$ 1 | TokenScript$ w_4_4_angel_flying | TokenOwner$ You | LegacyImage$ w 4 4 angel flying c18 | SpellDescription$ Create a 4/4 white Angel creature token with flying. DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/e/emrakul_the_promised_end.txt b/forge-gui/res/cardsfolder/e/emrakul_the_promised_end.txt index 6f11de6447b..ea54bda1b76 100644 --- a/forge-gui/res/cardsfolder/e/emrakul_the_promised_end.txt +++ b/forge-gui/res/cardsfolder/e/emrakul_the_promised_end.txt @@ -5,7 +5,7 @@ PT:13/13 K:Flying K:Trample K:Protection:Instant:Protection from instants -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each card type among cards in your graveyard. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each card type among cards in your graveyard. SVar:X:Count$CardControllerTypes.Graveyard T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigControlPlayer | TriggerDescription$ When you cast CARDNAME, you gain control of target opponent during that player's next turn. After that turn, that player takes an extra turn. SVar:TrigControlPlayer:DB$ ControlPlayer | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBDelTrig | RememberTargets$ True diff --git a/forge-gui/res/cardsfolder/e/emrakuls_evangel.txt b/forge-gui/res/cardsfolder/e/emrakuls_evangel.txt index ec76823d491..95edd4ee7fb 100644 --- a/forge-gui/res/cardsfolder/e/emrakuls_evangel.txt +++ b/forge-gui/res/cardsfolder/e/emrakuls_evangel.txt @@ -2,7 +2,7 @@ Name:Emrakul's Evangel ManaCost:2 G Types:Creature Human Horror PT:3/2 -A:AB$ Token | Cost$ T Sac Sac<1/CARDNAME> | TokenAmount$ Y | TokenScript$ c_3_2_eldrazi_horror | TokenOwner$ You | LegacyImage$ c 3 2 eldrazi horror emn | References$ Y | SpellDescription$ Create a 3/2 colorless Eldrazi Horror creature token for each creature sacrificed this way. | CostDesc$ {T}, Sacrifice CARDNAME and any number of other non-Eldrazi creatures: +A:AB$ Token | Cost$ T Sac Sac<1/CARDNAME> | TokenAmount$ Y | TokenScript$ c_3_2_eldrazi_horror | TokenOwner$ You | LegacyImage$ c 3 2 eldrazi horror emn | SpellDescription$ Create a 3/2 colorless Eldrazi Horror creature token for each creature sacrificed this way. | CostDesc$ {T}, Sacrifice CARDNAME and any number of other non-Eldrazi creatures: SVar:Y:Sacrificed$Valid Creature SVar:X:Count$xPaid DeckHints:Ability$Token & Type$Eldrazi|Horror diff --git a/forge-gui/res/cardsfolder/e/emry_lurker_of_the_loch.txt b/forge-gui/res/cardsfolder/e/emry_lurker_of_the_loch.txt index ce209445c36..cfd518ff201 100644 --- a/forge-gui/res/cardsfolder/e/emry_lurker_of_the_loch.txt +++ b/forge-gui/res/cardsfolder/e/emry_lurker_of_the_loch.txt @@ -2,7 +2,7 @@ Name:Emry, Lurker of the Loch ManaCost:2 U Types:Legendary Creature Merfolk Wizard PT:1/2 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each artifact you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each artifact you control. SVar:X:Count$Valid Artifact.YouCtrl DeckNeeds:Type$Artifact DeckHas:Ability$Graveyard diff --git a/forge-gui/res/cardsfolder/e/enchanters_bane.txt b/forge-gui/res/cardsfolder/e/enchanters_bane.txt index 4ce6a84073c..37a2e51d372 100644 --- a/forge-gui/res/cardsfolder/e/enchanters_bane.txt +++ b/forge-gui/res/cardsfolder/e/enchanters_bane.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigTarget | TriggerDescription$ At the beginning of your end step, target enchantment deals damage equal to its converted mana cost to its controller unless that player sacrifices it. SVar:TrigTarget:DB$ Pump | ValidTgts$ Enchantment | TgtPrompt$ Select target enchantment | IsCurse$ True | ImprintCards$ Targeted | SubAbility$ DBSac SVar:DBSac:DB$ Sacrifice | Defined$ TargetedController | SacValid$ TargetedCard.Self | Optional$ True | RememberSacrificed$ True | SubAbility$ TrigDamage -SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ ImprintedController | DamageSource$ Imprinted | References$ X,Y | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup +SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ ImprintedController | DamageSource$ Imprinted | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True SVar:Y:Remembered$Amount SVar:X:Imprinted$CardManaCost diff --git a/forge-gui/res/cardsfolder/e/endless_atlas.txt b/forge-gui/res/cardsfolder/e/endless_atlas.txt index 84723991ea7..2a07e1b4628 100644 --- a/forge-gui/res/cardsfolder/e/endless_atlas.txt +++ b/forge-gui/res/cardsfolder/e/endless_atlas.txt @@ -1,6 +1,6 @@ Name:Endless Atlas ManaCost:2 Types:Artifact -A:AB$ Draw | Cost$ 2 T | CheckSVar$ X | SVarCompare$ GE3 | References$ X | SpellDescription$ Draw a card. Activate this ability only if you control three or more lands with the same name. +A:AB$ Draw | Cost$ 2 T | CheckSVar$ X | SVarCompare$ GE3 | SpellDescription$ Draw a card. Activate this ability only if you control three or more lands with the same name. SVar:X:Count$MostCardName Land.YouCtrl Oracle:{2}, {T}: Draw a card. Activate this ability only if you control three or more lands with the same name. diff --git a/forge-gui/res/cardsfolder/e/endless_horizons.txt b/forge-gui/res/cardsfolder/e/endless_horizons.txt index f5feb9d1ef6..567f9385d3e 100644 --- a/forge-gui/res/cardsfolder/e/endless_horizons.txt +++ b/forge-gui/res/cardsfolder/e/endless_horizons.txt @@ -2,7 +2,7 @@ Name:Endless Horizons ManaCost:3 W Types:Enchantment T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, search your library for any number of Plains cards and exile them. Then shuffle your library. -SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Exile | ChangeType$ Plains | ChangeNum$ X | RememberChanged$ True | References$ X +SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Exile | ChangeType$ Plains | ChangeNum$ X | RememberChanged$ True T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigRetrieve | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, you may put a card you own exiled with CARDNAME into your hand. SVar:TrigRetrieve:DB$ ChangeZone | ChangeType$ Card.IsRemembered+YouOwn | ChangeNum$ 1 | Origin$ Exile | Destination$ Hand | Hidden$ True SVar:X:Count$TypeInYourLibrary.Plains diff --git a/forge-gui/res/cardsfolder/e/endless_ranks_of_the_dead.txt b/forge-gui/res/cardsfolder/e/endless_ranks_of_the_dead.txt index ee13a5037e0..a5c2a32553f 100644 --- a/forge-gui/res/cardsfolder/e/endless_ranks_of_the_dead.txt +++ b/forge-gui/res/cardsfolder/e/endless_ranks_of_the_dead.txt @@ -2,7 +2,7 @@ Name:Endless Ranks of the Dead ManaCost:2 B B Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your upkeep, create X 2/2 black Zombie creature tokens, where X is half the number of Zombies you control, rounded down. -SVar:TrigToken:DB$ Token | LegacyImage$ b 2 2 zombie isd | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenOwner$ You | References$ X +SVar:TrigToken:DB$ Token | LegacyImage$ b 2 2 zombie isd | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenOwner$ You SVar:X:Count$Valid Creature.Zombie+YouCtrl/HalfDown AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/endless_ranks_of_the_dead.jpg diff --git a/forge-gui/res/cardsfolder/e/endless_scream.txt b/forge-gui/res/cardsfolder/e/endless_scream.txt index daaa5126579..7b04ff60629 100644 --- a/forge-gui/res/cardsfolder/e/endless_scream.txt +++ b/forge-gui/res/cardsfolder/e/endless_scream.txt @@ -5,7 +5,7 @@ K:Enchant creature K:etbCounter:SCREAM:X SVar:X:Count$xPaid A:SP$ Attach | Cost$ X B | ValidTgts$ Creature | AILogic$ Pump -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ Y | References$ Y | Description$ Enchanted creature gets +1/+0 for each scream counter on CARDNAME. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ Y | Description$ Enchanted creature gets +1/+0 for each scream counter on CARDNAME. SVar:Y:Count$CardCounters.SCREAM SVar:Picture:http://www.wizards.com/global/images/magic/general/endless_scream.jpg Oracle:Enchant creature\nEndless Scream enters the battlefield with X scream counters on it.\nEnchanted creature gets +1/+0 for each scream counter on Endless Scream. diff --git a/forge-gui/res/cardsfolder/e/endless_swarm.txt b/forge-gui/res/cardsfolder/e/endless_swarm.txt index 7e9cec106a6..94fdd525489 100644 --- a/forge-gui/res/cardsfolder/e/endless_swarm.txt +++ b/forge-gui/res/cardsfolder/e/endless_swarm.txt @@ -2,7 +2,7 @@ Name:Endless Swarm ManaCost:5 G G G Types:Sorcery K:Epic -A:SP$ Token | Cost$ 5 G G G | TokenAmount$ X | TokenScript$ g_1_1_snake | TokenOwner$ You | LegacyImage$ g 1 1 snake sok | References$ X | SpellDescription$ Create a 1/1 green Snake creature token for each card in your hand. +A:SP$ Token | Cost$ 5 G G G | TokenAmount$ X | TokenScript$ g_1_1_snake | TokenOwner$ You | LegacyImage$ g 1 1 snake sok | SpellDescription$ Create a 1/1 green Snake creature token for each card in your hand. SVar:X:Count$InYourHand #NOTE: The AI will not stop making land drops after casting this spell (so, random decks may also utilize manlands and other cards with activation cost already on the battlefield to the maximum effect) AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/e/endrek_sahr_master_breeder.txt b/forge-gui/res/cardsfolder/e/endrek_sahr_master_breeder.txt index a005384cf96..e60c2b5c6c6 100644 --- a/forge-gui/res/cardsfolder/e/endrek_sahr_master_breeder.txt +++ b/forge-gui/res/cardsfolder/e/endrek_sahr_master_breeder.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Wizard PT:2/2 T:Mode$ SpellCast | ValidCard$ Creature | ValidActivatingPlayer$ You | Execute$ TrigToken | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a creature spell, create X 1/1 black Thrull creature tokens, where X is that spell's converted mana cost. T:Mode$ Always | IsPresent$ Card.Thrull+YouCtrl | PresentCompare$ GE7 | Execute$ TrigSac | TriggerZones$ Battlefield | TriggerDescription$ When you control seven or more Thrulls, sacrifice CARDNAME. -SVar:TrigToken:DB$Token | TokenOwner$ You | TokenAmount$ X | TokenScript$ b_1_1_thrull | LegacyImage$ b 1 1 thrull tsp | References$ X +SVar:TrigToken:DB$Token | TokenOwner$ You | TokenAmount$ X | TokenScript$ b_1_1_thrull | LegacyImage$ b 1 1 thrull tsp SVar:X:TriggerCount$CastSACMC SVar:TrigSac:DB$Sacrifice | Defined$ Self SVar:Picture:http://www.wizards.com/global/images/magic/general/endrek_sahr_master_breeder.jpg diff --git a/forge-gui/res/cardsfolder/e/enemy_of_enlightenment.txt b/forge-gui/res/cardsfolder/e/enemy_of_enlightenment.txt index c19725e8298..c3898778791 100644 --- a/forge-gui/res/cardsfolder/e/enemy_of_enlightenment.txt +++ b/forge-gui/res/cardsfolder/e/enemy_of_enlightenment.txt @@ -3,7 +3,7 @@ ManaCost:5 B Types:Enchantment Creature Demon PT:5/5 K:Flying -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ -X | AddToughness$ -X | References$ X | Description$ CARDNAME gets -1/-1 for each card in your opponents' hands. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ -X | AddToughness$ -X | Description$ CARDNAME gets -1/-1 for each card in your opponents' hands. SVar:X:PlayerCountOpponents$CardsInHand SVar:NeedsToPlayVar:X LE3 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ At the beginning of your upkeep, each player discards a card. diff --git a/forge-gui/res/cardsfolder/e/energy_arc.txt b/forge-gui/res/cardsfolder/e/energy_arc.txt index 494903935e6..db709a161a7 100644 --- a/forge-gui/res/cardsfolder/e/energy_arc.txt +++ b/forge-gui/res/cardsfolder/e/energy_arc.txt @@ -1,7 +1,7 @@ Name:Energy Arc ManaCost:W U Types:Instant -A:SP$ Untap | Cost$ W U | TargetMin$ 0 | TargetMax$ MaxTgts | TgtPrompt$ Choose any number of target creatures | ValidTgts$ Creature | References$ MaxTgts | SpellDescription$ Untap any number of target creatures. Prevent all combat damage that would be dealt to and dealt by those creatures this turn. | SubAbility$ DBPump +A:SP$ Untap | Cost$ W U | TargetMin$ 0 | TargetMax$ MaxTgts | TgtPrompt$ Choose any number of target creatures | ValidTgts$ Creature | SpellDescription$ Untap any number of target creatures. Prevent all combat damage that would be dealt to and dealt by those creatures this turn. | SubAbility$ DBPump SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ Prevent all combat damage that would be dealt to and dealt by CARDNAME. SVar:MaxTgts:Count$Valid Creature AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/e/energy_bolt.txt b/forge-gui/res/cardsfolder/e/energy_bolt.txt index 8f76c269f08..cc3235bfb5a 100644 --- a/forge-gui/res/cardsfolder/e/energy_bolt.txt +++ b/forge-gui/res/cardsfolder/e/energy_bolt.txt @@ -2,8 +2,8 @@ Name:Energy Bolt ManaCost:X R W Types:Sorcery A:SP$ Charm | Cost$ X R W | Choices$ DBDmg,DBGainLife -SVar:DBDmg:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target player or planeswalker. -SVar:DBGainLife:DB$ GainLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | References$ X | SpellDescription$ Target player gains X life. +SVar:DBDmg:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target player or planeswalker. +SVar:DBGainLife:DB$ GainLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | SpellDescription$ Target player gains X life. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/energy_bolt.jpg Oracle:Choose one —\n• Energy Bolt deals X damage to target player or planeswalker.\n• Target player gains X life. diff --git a/forge-gui/res/cardsfolder/e/energy_tap.txt b/forge-gui/res/cardsfolder/e/energy_tap.txt index 02f4d3884a8..cf381a61453 100644 --- a/forge-gui/res/cardsfolder/e/energy_tap.txt +++ b/forge-gui/res/cardsfolder/e/energy_tap.txt @@ -2,7 +2,7 @@ Name:Energy Tap ManaCost:U Types:Sorcery A:SP$ Tap | Cost$ U | TgtPrompt$ Select target untapped creature you control | ValidTgts$ Creature.untapped+YouCtrl | SubAbility$ DBMana | SpellDescription$ Tap target untapped creature you control. If you do, add an amount of {C} equal to that creature's converted mana cost. -SVar:DBMana:DB$Mana | Produced$ C | Amount$ X | References$ X +SVar:DBMana:DB$Mana | Produced$ C | Amount$ X SVar:X:Targeted$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/energy_tap.jpg diff --git a/forge-gui/res/cardsfolder/e/energy_vortex.txt b/forge-gui/res/cardsfolder/e/energy_vortex.txt index 439f2e4db40..4b675951340 100644 --- a/forge-gui/res/cardsfolder/e/energy_vortex.txt +++ b/forge-gui/res/cardsfolder/e/energy_vortex.txt @@ -6,8 +6,8 @@ SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogi T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRemove | TriggerDescription$ At the beginning of your upkeep, remove all vortex counters from CARDNAME. SVar:TrigRemove:DB$ RemoveCounter | CounterType$ VORTEX | CounterNum$ All T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.Chosen | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of the chosen player's upkeep, CARDNAME deals 3 damage to that player unless they pay {1} for each vortex counter on CARDNAME. -SVar:TrigDamage:DB$ DealDamage | Defined$ ChosenPlayer | NumDmg$ 3 | UnlessCost$ Y | UnlessPayer$ ChosenPlayer | References$ Y -A:AB$ PutCounter | Cost$ X | CounterType$ VORTEX | CounterNum$ X | References$ X | PlayerTurn$ True | ActivationPhases$ Upkeep | SpellDescription$ Put X vortex counters on CARDNAME. Activate this ability only during your upkeep. +SVar:TrigDamage:DB$ DealDamage | Defined$ ChosenPlayer | NumDmg$ 3 | UnlessCost$ Y | UnlessPayer$ ChosenPlayer +A:AB$ PutCounter | Cost$ X | CounterType$ VORTEX | CounterNum$ X | PlayerTurn$ True | ActivationPhases$ Upkeep | SpellDescription$ Put X vortex counters on CARDNAME. Activate this ability only during your upkeep. SVar:X:Count$xPaid SVar:Y:Count$CardCounters.VORTEX AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/e/engineered_explosives.txt b/forge-gui/res/cardsfolder/e/engineered_explosives.txt index 3d109d4f6cb..1b9079bce0c 100644 --- a/forge-gui/res/cardsfolder/e/engineered_explosives.txt +++ b/forge-gui/res/cardsfolder/e/engineered_explosives.txt @@ -2,7 +2,7 @@ Name:Engineered Explosives ManaCost:X Types:Artifact K:Sunburst -A:AB$ DestroyAll | Cost$ 2 Sac<1/CARDNAME> | ValidCards$ Permanent.nonLand+cmcEQY | References$ Y | SpellDescription$ Destroy each nonland permanent with converted mana cost equal to the number of charge counters on CARDNAME. +A:AB$ DestroyAll | Cost$ 2 Sac<1/CARDNAME> | ValidCards$ Permanent.nonLand+cmcEQY | SpellDescription$ Destroy each nonland permanent with converted mana cost equal to the number of charge counters on CARDNAME. SVar:X:Count$xPaid SVar:Y:Count$CardCounters.CHARGE SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/e/engulf_the_shore.txt b/forge-gui/res/cardsfolder/e/engulf_the_shore.txt index 535e6964c54..76aa3fda759 100644 --- a/forge-gui/res/cardsfolder/e/engulf_the_shore.txt +++ b/forge-gui/res/cardsfolder/e/engulf_the_shore.txt @@ -1,7 +1,7 @@ Name:Engulf the Shore ManaCost:3 U Types:Instant -A:SP$ ChangeZoneAll | Cost$ 3 U | ChangeType$ Creature.toughnessLEX | Origin$ Battlefield | Destination$ Hand | References$ X | SpellDescription$ Return to their owners' hands all creatures with toughness less than or equal to the number of Islands you control. +A:SP$ ChangeZoneAll | Cost$ 3 U | ChangeType$ Creature.toughnessLEX | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return to their owners' hands all creatures with toughness less than or equal to the number of Islands you control. SVar:X:Count$Valid Island.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/engulf_the_shore.jpg Oracle:Return to their owners' hands all creatures with toughness less than or equal to the number of Islands you control. diff --git a/forge-gui/res/cardsfolder/e/engulfing_slagwurm.txt b/forge-gui/res/cardsfolder/e/engulfing_slagwurm.txt index 3723504483d..d97d1807251 100644 --- a/forge-gui/res/cardsfolder/e/engulfing_slagwurm.txt +++ b/forge-gui/res/cardsfolder/e/engulfing_slagwurm.txt @@ -6,8 +6,8 @@ T:Mode$ AttackerBlockedByCreature | ValidCard$ Creature | ValidBlocker$ Card.Sel T:Mode$ AttackerBlockedByCreature | ValidCard$ Card.Self | ValidBlocker$ Creature | Execute$ TrigDestroyBlocker | Secondary$ True | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked by a creature, destroy that creature. You gain life equal to that creature's toughness. SVar:TrigDestroyBlocked:DB$ Destroy | Defined$ TriggeredAttackerLKICopy | SubAbility$ DBGainLifeBlocked SVar:TrigDestroyBlocker:DB$ Destroy | Defined$ TriggeredBlockerLKICopy | SubAbility$ DBGainLifeBlocker -SVar:DBGainLifeBlocked:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X -SVar:DBGainLifeBlocker:DB$GainLife | Defined$ You | LifeAmount$ Y | References$ Y +SVar:DBGainLifeBlocked:DB$GainLife | Defined$ You | LifeAmount$ X +SVar:DBGainLifeBlocker:DB$GainLife | Defined$ You | LifeAmount$ Y SVar:X:TriggeredAttacker$CardToughness SVar:Y:TriggeredBlocker$CardToughness SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/e/enhanced_surveillance.txt b/forge-gui/res/cardsfolder/e/enhanced_surveillance.txt index fbb9d00b425..c8d187a9692 100644 --- a/forge-gui/res/cardsfolder/e/enhanced_surveillance.txt +++ b/forge-gui/res/cardsfolder/e/enhanced_surveillance.txt @@ -2,7 +2,7 @@ Name:Enhanced Surveillance ManaCost:1 U Types:Enchantment R:Event$ Surveil | ActiveZones$ Battlefield | ValidPlayer$ You | ReplaceWith$ AddTwoMore | Description$ You may look at an additional two cards each time you surveil. -SVar:AddTwoMore:DB$ ReplaceEffect | VarName$ SurveilNum | VarValue$ X | References$ X +SVar:AddTwoMore:DB$ ReplaceEffect | VarName$ SurveilNum | VarValue$ X SVar:X:ReplaceCount$SurveilNum/Plus.2 A:AB$ ChangeZoneAll | Cost$ Exile<1/CARDNAME> | ChangeType$ Card.YouOwn | Origin$ Graveyard | Destination$ Library | Shuffle$ True | SpellDescription$ Shuffle your graveyard into your library. DeckNeeds:Ability$Surveil diff --git a/forge-gui/res/cardsfolder/e/enigma_drake.txt b/forge-gui/res/cardsfolder/e/enigma_drake.txt index 77eb7ab23c3..73cfd7cff7c 100644 --- a/forge-gui/res/cardsfolder/e/enigma_drake.txt +++ b/forge-gui/res/cardsfolder/e/enigma_drake.txt @@ -3,7 +3,7 @@ ManaCost:1 U R Types:Creature Drake PT:*/4 K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | References$ X | Description$ CARDNAME's power is equal to the number of instant and sorcery cards in your graveyard. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | Description$ CARDNAME's power is equal to the number of instant and sorcery cards in your graveyard. SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/enigma_drake.jpg DeckHints:Type$Instant|Sorcery diff --git a/forge-gui/res/cardsfolder/e/enigma_sphinx_avatar.txt b/forge-gui/res/cardsfolder/e/enigma_sphinx_avatar.txt index bebbe1dde7e..7c6999fefd1 100644 --- a/forge-gui/res/cardsfolder/e/enigma_sphinx_avatar.txt +++ b/forge-gui/res/cardsfolder/e/enigma_sphinx_avatar.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Vanguard HandLifeModifier:+0/+5 T:Mode$ SpellCast | ValidCard$ Artifact.nonColorless | ValidActivatingPlayer$ You | CheckSVar$ NumColoredCast | SVarCompare$ EQ1 | Execute$ TrigSearch | NoResolvingCheck$ True | TriggerZones$ Command | TriggerDescription$ Whenever you cast a colored artifact spell for the first time each turn, search your library for a colored artifact card chosen at random whose converted mana cost is less than that spell's converted mana cost. You may play that card without paying its mana cost. If you don't, put that card on the bottom of your library. -SVar:TrigSearch:DB$ ChangeZone | AtRandom$ True | Origin$ Library | Destination$ Library | LibraryPosition$ -1 | ChangeType$ Artifact.nonColorless+cmcLTX | ChangeNum$ 1 | References$ X | RememberChanged$ True | SubAbility$ DBPlay +SVar:TrigSearch:DB$ ChangeZone | AtRandom$ True | Origin$ Library | Destination$ Library | LibraryPosition$ -1 | ChangeType$ Artifact.nonColorless+cmcLTX | ChangeNum$ 1 | RememberChanged$ True | SubAbility$ DBPlay SVar:DBPlay:DB$ Play | Defined$ Remembered | Controller$ You | WithoutManaCost$ True | Optional$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:NumColoredCast:Count$ThisTurnCast_Artifact.nonColorless+YouCtrl diff --git a/forge-gui/res/cardsfolder/e/enigma_thief.txt b/forge-gui/res/cardsfolder/e/enigma_thief.txt index 1d5877e91d0..440cd788391 100644 --- a/forge-gui/res/cardsfolder/e/enigma_thief.txt +++ b/forge-gui/res/cardsfolder/e/enigma_thief.txt @@ -5,6 +5,6 @@ PT:5/5 K:Prowl:3 U K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ ReturnOneEach | TriggerDescription$ When CARDNAME enters the battlefield, for each opponent, return up to one target nonland permanent that player controls to its owner's hand. -SVar:ReturnOneEach:DB$ ChangeZone | Origin$ Battlefield | Destination$ Hand | ValidTgts$ Permanent.nonLand+OppCtrl | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | TgtPrompt$ Select up to one target nonland permanent each opponent controls +SVar:ReturnOneEach:DB$ ChangeZone | Origin$ Battlefield | Destination$ Hand | ValidTgts$ Permanent.nonLand+OppCtrl | TargetMin$ 0 | TargetMax$ OneEachneEach | TargetsWithDifferentControllers$ True | TgtPrompt$ Select up to one target nonland permanent each opponent controls SVar:OneEach:PlayerCountOpponents$Amount Oracle:Prowl {3}{U} (You may cast this spell for its prowl cost if you dealt combat damage to a player this turn with a Sphinx or a Rogue.)\nFlying\nWhen Enigma Thief enters the battlefield, for each opponent, return up to one target nonland permanent that player controls to its owner's hand. diff --git a/forge-gui/res/cardsfolder/e/enigmatic_incarnation.txt b/forge-gui/res/cardsfolder/e/enigmatic_incarnation.txt index 92294b7dec8..ea88a81a7a6 100755 --- a/forge-gui/res/cardsfolder/e/enigmatic_incarnation.txt +++ b/forge-gui/res/cardsfolder/e/enigmatic_incarnation.txt @@ -2,7 +2,7 @@ Name:Enigmatic Incarnation ManaCost:2 G U Types:Enchantment T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSearch | TriggerDescription$ At the beginning of your end step, you may sacrifice another enchantment. If you do, search your library for a creature card with converted mana cost equal to 1 plus the sacrificed enchantment's converted mana cost, put that card onto the battlefield, then shuffle your library. -SVar:TrigSearch:AB$ ChangeZone | Cost$ Sac<1/Enchantment.Other/another enchantment> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcEQX | References$ X | ChangeNum$ 1 | AILogic$ SacAndUpgrade +SVar:TrigSearch:AB$ ChangeZone | Cost$ Sac<1/Enchantment.Other/another enchantment> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcEQX | ChangeNum$ 1 | AILogic$ SacAndUpgrade SVar:X:Sacrificed$CardManaCost/Plus.1 SVar:AIPreference:SacCost$Creature DeckNeeds:Type$Enchantment diff --git a/forge-gui/res/cardsfolder/e/enrage.txt b/forge-gui/res/cardsfolder/e/enrage.txt index 4014bc64423..8528d2a05ce 100644 --- a/forge-gui/res/cardsfolder/e/enrage.txt +++ b/forge-gui/res/cardsfolder/e/enrage.txt @@ -1,7 +1,7 @@ Name:Enrage ManaCost:X R Types:Instant -A:SP$ Pump | Cost$ X R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X | SpellDescription$ Target creature gets +X/+0 until end of turn. +A:SP$ Pump | Cost$ X R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SpellDescription$ Target creature gets +X/+0 until end of turn. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/enrage.jpg Oracle:Target creature gets +X/+0 until end of turn. diff --git a/forge-gui/res/cardsfolder/e/enshrined_memories.txt b/forge-gui/res/cardsfolder/e/enshrined_memories.txt index fc79fa0c5a1..dc428ff5bc0 100644 --- a/forge-gui/res/cardsfolder/e/enshrined_memories.txt +++ b/forge-gui/res/cardsfolder/e/enshrined_memories.txt @@ -1,7 +1,7 @@ Name:Enshrined Memories ManaCost:X G Types:Sorcery -A:SP$ Dig | Cost$ X G | DigNum$ X | Reveal$ True | ChangeNum$ All | ChangeValid$ Creature | References$ X | SpellDescription$ Reveal the top X cards of your library. Put all creature cards revealed this way into your hand and the rest on the bottom of your library in any order. +A:SP$ Dig | Cost$ X G | DigNum$ X | Reveal$ True | ChangeNum$ All | ChangeValid$ Creature | SpellDescription$ Reveal the top X cards of your library. Put all creature cards revealed this way into your hand and the rest on the bottom of your library in any order. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/enshrined_memories.jpg Oracle:Reveal the top X cards of your library. Put all creature cards revealed this way into your hand and the rest on the bottom of your library in any order. diff --git a/forge-gui/res/cardsfolder/e/enter_the_god_eternals.txt b/forge-gui/res/cardsfolder/e/enter_the_god_eternals.txt index cd258c161f3..e181d4492b0 100644 --- a/forge-gui/res/cardsfolder/e/enter_the_god_eternals.txt +++ b/forge-gui/res/cardsfolder/e/enter_the_god_eternals.txt @@ -2,7 +2,7 @@ Name:Enter the God-Eternals ManaCost:2 U U B Types:Sorcery A:SP$ DealDamage | Cost$ 2 U U B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 4 | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals 4 damage to target creature and you gain life equal to the damage dealt this way. Target player mills four cards. Amass 4. (Put four +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.) | StackDescription$ CARDNAME deals 4 damage to target creature. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBMill | StackDescription$ You gain life equal to the damage dealt this way. +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBMill | StackDescription$ You gain life equal to the damage dealt this way. SVar:X:Count$TotalDamageDoneByThisTurn SVar:DBMill:DB$ Mill | NumCards$ 4 | ValidTgts$ Player | TgtPrompt$ Choose target player | SubAbility$ DBAmass | StackDescription$ Target player mills four cards. SVar:DBAmass:DB$ Amass | Num$ 4 diff --git a/forge-gui/res/cardsfolder/e/enter_the_infinite.txt b/forge-gui/res/cardsfolder/e/enter_the_infinite.txt index 1977cc2a1d5..e360f497372 100644 --- a/forge-gui/res/cardsfolder/e/enter_the_infinite.txt +++ b/forge-gui/res/cardsfolder/e/enter_the_infinite.txt @@ -1,7 +1,7 @@ Name:Enter the Infinite ManaCost:8 U U U U Types:Sorcery -A:SP$ Draw | Cost$ 8 U U U U | NumCards$ X | References$ X | SubAbility$ DBTop | SpellDescription$ Draw cards equal to the number of cards in your library, then put a card from your hand on top of your library. You have no maximum hand size until your next turn. +A:SP$ Draw | Cost$ 8 U U U U | NumCards$ X | SubAbility$ DBTop | SpellDescription$ Draw cards equal to the number of cards in your library, then put a card from your hand on top of your library. You have no maximum hand size until your next turn. SVar:DBTop:DB$ ChangeZone | Origin$ Hand | Destination$ Library | Hidden$ True | Mandatory$ True | ChangeType$ Card | ChangeNum$ 1 | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | Name$ Enter the Infinite Effect | StaticAbilities$ STHandSize | Duration$ UntilYourNextTurn SVar:STHandSize:Mode$ Continuous | EffectZone$ Command | Affected$ You | SetMaxHandSize$ Unlimited | Description$ You have no maximum hand size. diff --git a/forge-gui/res/cardsfolder/e/enthrall.txt b/forge-gui/res/cardsfolder/e/enthrall.txt index 7405e175a15..77b118eb3db 100644 --- a/forge-gui/res/cardsfolder/e/enthrall.txt +++ b/forge-gui/res/cardsfolder/e/enthrall.txt @@ -1,6 +1,6 @@ Name:Enthrall ManaCost:1 B Types:Sorcery -A:SP$ Discard | Cost$ 1 B | ValidTgts$ Player | NumCards$ X | References$ X | Mode$ TgtChoose |SpellDescription$ Target player discards a card for each spell you've cast this turn. +A:SP$ Discard | Cost$ 1 B | ValidTgts$ Player | NumCards$ X | Mode$ TgtChoose |SpellDescription$ Target player discards a card for each spell you've cast this turn. SVar:X:Count$ThisTurnCast_Card.YouCtrl Oracle:Target player discards a card for each spell you've cast this turn. diff --git a/forge-gui/res/cardsfolder/e/entrails_feaster.txt b/forge-gui/res/cardsfolder/e/entrails_feaster.txt index fa1671b7ed5..13b8114e97d 100644 --- a/forge-gui/res/cardsfolder/e/entrails_feaster.txt +++ b/forge-gui/res/cardsfolder/e/entrails_feaster.txt @@ -4,8 +4,8 @@ Types:Creature Zombie Cat PT:1/1 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, you may exile a creature card from a graveyard. If you do, put a +1/+1 counter on CARDNAME. If you don't, tap CARDNAME. SVar:TrigExile:DB$ ChangeZone | ChangeType$ Creature | ChangeNum$ 1 | Origin$ Graveyard | Destination$ Exile | Optional$ True | IsCurse$ True | RememberChanged$ True | Hidden$ True | Chooser$ You | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBTap | References$ X -SVar:DBTap:DB$ Tap | ConditionCheckSVar$ X | ConditionSVarCompare$ LE0 | SubAbility$ DBCleanup | References$ X +SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBTap +SVar:DBTap:DB$ Tap | ConditionCheckSVar$ X | ConditionSVarCompare$ LE0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/entrails_feaster.jpg diff --git a/forge-gui/res/cardsfolder/e/entrancing_lyre.txt b/forge-gui/res/cardsfolder/e/entrancing_lyre.txt index 34e2b4c268f..7a31eb21ba0 100644 --- a/forge-gui/res/cardsfolder/e/entrancing_lyre.txt +++ b/forge-gui/res/cardsfolder/e/entrancing_lyre.txt @@ -2,7 +2,7 @@ Name:Entrancing Lyre ManaCost:3 Types:Artifact K:You may choose not to untap CARDNAME during your untap step. -A:AB$ Tap | Cost$ X T | ValidTgts$ Creature.powerLEX | References$ X | TgtPrompt$ Select target creature with power X or less | RememberTapped$ True | AlwaysRemember$ True | SpellDescription$ Tap target creature with power X or less. It doesn't untap during its controller's untap step for as long as CARDNAME remains tapped. | StackDescription$ SpellDescription +A:AB$ Tap | Cost$ X T | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power X or less | RememberTapped$ True | AlwaysRemember$ True | SpellDescription$ Tap target creature with power X or less. It doesn't untap during its controller's untap step for as long as CARDNAME remains tapped. | StackDescription$ SpellDescription SVar:X:Count$xPaid S:Mode$ Continuous | Affected$ Card.IsRemembered | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. T:Mode$ Untaps | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ ClearRemembered | Static$ True diff --git a/forge-gui/res/cardsfolder/e/entrancing_melody.txt b/forge-gui/res/cardsfolder/e/entrancing_melody.txt index 0ec806ed7ec..205a6ab2ea8 100644 --- a/forge-gui/res/cardsfolder/e/entrancing_melody.txt +++ b/forge-gui/res/cardsfolder/e/entrancing_melody.txt @@ -1,7 +1,7 @@ Name:Entrancing Melody ManaCost:X U U Types:Sorcery -A:SP$ GainControl | Cost$ X U U | ValidTgts$ Creature.cmcEQX | TgtPrompt$ Select target creature | References$ X | SpellDescription$ Gain control of target creature with converted mana cost X. +A:SP$ GainControl | Cost$ X U U | ValidTgts$ Creature.cmcEQX | TgtPrompt$ Select target creature | SpellDescription$ Gain control of target creature with converted mana cost X. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Gain control of target creature with converted mana cost X. diff --git a/forge-gui/res/cardsfolder/e/entrapment_maneuver.txt b/forge-gui/res/cardsfolder/e/entrapment_maneuver.txt index 978c6a69583..1d6f898a17f 100644 --- a/forge-gui/res/cardsfolder/e/entrapment_maneuver.txt +++ b/forge-gui/res/cardsfolder/e/entrapment_maneuver.txt @@ -2,7 +2,7 @@ Name:Entrapment Maneuver ManaCost:3 W Types:Instant A:SP$ Sacrifice | Cost$ 3 W | ValidTgts$ Player | SacValid$ Creature.attacking | SacMessage$ attacking creature | RememberSacrificed$ True | SubAbility$ DBToken | SpellDescription$ Target player sacrifices an attacking creature. You create X 1/1 white Soldier creature tokens, where X is that creature's toughness. -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier c16 | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier c16 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardToughness DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/e/entreat_the_angels.txt b/forge-gui/res/cardsfolder/e/entreat_the_angels.txt index 919509b38f9..e8af9211107 100644 --- a/forge-gui/res/cardsfolder/e/entreat_the_angels.txt +++ b/forge-gui/res/cardsfolder/e/entreat_the_angels.txt @@ -1,7 +1,7 @@ Name:Entreat the Angels ManaCost:X X W W W Types:Sorcery -A:SP$ Token | Cost$ X X W W W | TokenAmount$ X | TokenScript$ w_4_4_angel_flying | TokenOwner$ You | LegacyImage$ w 4 4 angel flying avr | References$ X | SpellDescription$ Create X 4/4 white Angel creature tokens with flying. +A:SP$ Token | Cost$ X X W W W | TokenAmount$ X | TokenScript$ w_4_4_angel_flying | TokenOwner$ You | LegacyImage$ w 4 4 angel flying avr | SpellDescription$ Create X 4/4 white Angel creature tokens with flying. K:Miracle:X W W SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/entreat_the_angels.jpg diff --git a/forge-gui/res/cardsfolder/e/entreat_the_dead.txt b/forge-gui/res/cardsfolder/e/entreat_the_dead.txt index 6751ac3a2db..9921ac161d3 100644 --- a/forge-gui/res/cardsfolder/e/entreat_the_dead.txt +++ b/forge-gui/res/cardsfolder/e/entreat_the_dead.txt @@ -1,7 +1,7 @@ Name:Entreat the Dead ManaCost:X X B B B Types:Sorcery -A:SP$ ChangeZone | Cost$ X X B B B | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature.YouOwn | TgtPrompt$ Select X target creatures in your graveyard | Origin$ Graveyard | Destination$ Battlefield | References$ X | SpellDescription$ Return X target creature cards from your graveyard to the battlefield. +A:SP$ ChangeZone | Cost$ X X B B B | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature.YouOwn | TgtPrompt$ Select X target creatures in your graveyard | Origin$ Graveyard | Destination$ Battlefield | SpellDescription$ Return X target creature cards from your graveyard to the battlefield. K:Miracle:X B B SVar:X:Count$xPaid Oracle:Return X target creature cards from your graveyard to the battlefield.\nMiracle {X}{B}{B} (You may cast this card for its miracle cost when you draw it if it's the first card you drew this turn.) diff --git a/forge-gui/res/cardsfolder/e/entropic_specter.txt b/forge-gui/res/cardsfolder/e/entropic_specter.txt index 243869ea7cf..6ffc6f9c6f7 100644 --- a/forge-gui/res/cardsfolder/e/entropic_specter.txt +++ b/forge-gui/res/cardsfolder/e/entropic_specter.txt @@ -5,7 +5,7 @@ PT:*/* K:Flying K:ETBReplacement:Other:ChooseP SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in the chosen player's hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in the chosen player's hand. SVar:X:Count$InChosenHand T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ TrigDiscard | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage to a player, that player discards a card. SVar:TrigDiscard:DB$ Discard | Defined$ TriggeredTarget | NumCards$ 1 | Mode$ TgtChoose diff --git a/forge-gui/res/cardsfolder/e/ephara_god_of_the_polis.txt b/forge-gui/res/cardsfolder/e/ephara_god_of_the_polis.txt index 0fbbe3c034b..3166fe24386 100644 --- a/forge-gui/res/cardsfolder/e/ephara_god_of_the_polis.txt +++ b/forge-gui/res/cardsfolder/e/ephara_god_of_the_polis.txt @@ -3,7 +3,7 @@ ManaCost:2 W U Types:Legendary Enchantment Creature God PT:6/5 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | References$ X | Description$ As long as your devotion to white and blue is less than seven, CARDNAME isn't a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | Description$ As long as your devotion to white and blue is less than seven, CARDNAME isn't a creature. SVar:X:Count$DevotionDual.White.Blue T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | CheckSVar$ Y | Execute$ TrigDraw | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each upkeep, if you had another creature enter the battlefield under your control last turn, draw a card. SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 diff --git a/forge-gui/res/cardsfolder/e/epic_experiment.txt b/forge-gui/res/cardsfolder/e/epic_experiment.txt index a4bf06faa17..020d5c3efd7 100644 --- a/forge-gui/res/cardsfolder/e/epic_experiment.txt +++ b/forge-gui/res/cardsfolder/e/epic_experiment.txt @@ -1,7 +1,7 @@ Name:Epic Experiment ManaCost:X U R Types:Sorcery -A:SP$ Dig | Cost$ X U R | References$ X | Defined$ You | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBPlay | SpellDescription$ Exile the top X cards of your library. You may cast instant and sorcery spells with converted mana cost X or less from among them without paying their mana costs. Then put all cards exiled this way that weren't cast into your graveyard. +A:SP$ Dig | Cost$ X U R | Defined$ You | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBPlay | SpellDescription$ Exile the top X cards of your library. You may cast instant and sorcery spells with converted mana cost X or less from among them without paying their mana costs. Then put all cards exiled this way that weren't cast into your graveyard. SVar:DBPlay:DB$ Play | Valid$ Instant.cmcLEX+IsRemembered+YouOwn,Sorcery.cmcLEX+IsRemembered+YouOwn | ValidZone$ Exile | Controller$ You | WithoutManaCost$ True | Optional$ True | Amount$ All | SubAbility$ DBGrave SVar:DBGrave:DB$ ChangeZoneAll | Origin$ Exile | Destination$ Graveyard | ChangeType$ Card.IsRemembered+YouOwn | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/e/epiphany_at_the_drownyard.txt b/forge-gui/res/cardsfolder/e/epiphany_at_the_drownyard.txt index 57f33bcf090..31fa1557570 100644 --- a/forge-gui/res/cardsfolder/e/epiphany_at_the_drownyard.txt +++ b/forge-gui/res/cardsfolder/e/epiphany_at_the_drownyard.txt @@ -1,7 +1,7 @@ Name:Epiphany at the Drownyard ManaCost:X U Types:Instant -A:SP$ Dig | Cost$ X U | DigNum$ Y | References$ Y | Reveal$ True | RememberRevealed$ True | NoMove$ True | SubAbility$ DBTwoPiles | AILogic$ PayX | SpellDescription$ Reveal the top X+1 cards of your library and separate them into two piles. An opponent chooses one of those piles. Put that pile into your hand and the other into your graveyard. +A:SP$ Dig | Cost$ X U | DigNum$ Y | Reveal$ True | RememberRevealed$ True | NoMove$ True | SubAbility$ DBTwoPiles | AILogic$ PayX | SpellDescription$ Reveal the top X+1 cards of your library and separate them into two piles. An opponent chooses one of those piles. Put that pile into your hand and the other into your graveyard. SVar:DBTwoPiles:DB$ TwoPiles | Chooser$ Opponent | DefinedCards$ Remembered | Separator$ You | ChosenPile$ DBHand | UnchosenPile$ DBGrave | AILogic$ Worst SVar:DBHand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | SubAbility$ DBCleanup SVar:DBGrave:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Graveyard | SubAbility$ DBCleanup diff --git a/forge-gui/res/cardsfolder/e/equipoise.txt b/forge-gui/res/cardsfolder/e/equipoise.txt index 6f49745d267..b76198145ac 100644 --- a/forge-gui/res/cardsfolder/e/equipoise.txt +++ b/forge-gui/res/cardsfolder/e/equipoise.txt @@ -3,11 +3,11 @@ ManaCost:2 W Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigEquipoise | TriggerDescription$ At the beginning of your upkeep, for each land target player controls in excess of the number you control, choose a land that player controls, then the chosen permanents phase out. Repeat this process for artifacts and creatures. (While they're phased out, they're treated as though they don't exist. They phase in before that player untaps during their next untap step.) SVar:TrigEquipoise:DB$ Pump | ValidTgts$ Player | IsCurse$ True | RememberTargets$ True | SubAbility$ ChooseLand -SVar:ChooseLand:DB$ ChooseCard | Choices$ Land.TargetedPlayerCtrl | Mandatory$ True | Amount$ LandX | ChoiceTitle$ Choose a land that player controls | SubAbility$ PhasesLand | References$ LandX,OppLand,YourLand,ExcessLand +SVar:ChooseLand:DB$ ChooseCard | Choices$ Land.TargetedPlayerCtrl | Mandatory$ True | Amount$ LandX | ChoiceTitle$ Choose a land that player controls | SubAbility$ PhasesLand SVar:PhasesLand:DB$ Phases | Defined$ ChosenCard | SubAbility$ ChooseArtifact -SVar:ChooseArtifact:DB$ ChooseCard | Choices$ Artifact.TargetedPlayerCtrl | Mandatory$ True | Amount$ ArtifactX | ChoiceTitle$ Choose a artifact that player controls | SubAbility$ PhasesArtifact | References$ ArtifactX,OppArtifact,YourArtifact,ExcessArtifact +SVar:ChooseArtifact:DB$ ChooseCard | Choices$ Artifact.TargetedPlayerCtrl | Mandatory$ True | Amount$ ArtifactX | ChoiceTitle$ Choose a artifact that player controls | SubAbility$ PhasesArtifact SVar:PhasesArtifact:DB$ Phases | Defined$ ChosenCard | SubAbility$ ChooseCreature -SVar:ChooseCreature:DB$ ChooseCard | Choices$ Creature.TargetedPlayerCtrl | Mandatory$ True | Amount$ CreatureX | ChoiceTitle$ Choose a creature that player controls | SubAbility$ PhasesCreature | References$ CreatureX,OppCreature,YourCreature,ExcessCreature +SVar:ChooseCreature:DB$ ChooseCard | Choices$ Creature.TargetedPlayerCtrl | Mandatory$ True | Amount$ CreatureX | ChoiceTitle$ Choose a creature that player controls | SubAbility$ PhasesCreature SVar:PhasesCreature:DB$ Phases | Defined$ ChosenCard | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True | ClearRemembered$ True SVar:LandX:SVar$ExcessLand/LimitMin.0 diff --git a/forge-gui/res/cardsfolder/e/eradicate.txt b/forge-gui/res/cardsfolder/e/eradicate.txt index 63182df1906..386633b4615 100644 --- a/forge-gui/res/cardsfolder/e/eradicate.txt +++ b/forge-gui/res/cardsfolder/e/eradicate.txt @@ -3,8 +3,8 @@ ManaCost:2 B B Types:Sorcery A:SP$ ChangeZone | Cost$ 2 B B | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | RememberLKI$ True | ForgetOtherTargets$ True | SubAbility$ ExileYard | SpellDescription$ Exile target nonblack creature. Search its controller's graveyard, hand, and library for all cards with the same name as that creature and exile them. Then that player shuffles their library. SVar:ExileYard:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Exile | Defined$ TargetedController | ChangeType$ Remembered.sameName | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | References$ NumInHand | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | References$ NumInLib | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:NumInHand:TargetedController$CardsInHand SVar:NumInLib:TargetedController$CardsInLibrary SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/e/erebos_bleak_hearted.txt b/forge-gui/res/cardsfolder/e/erebos_bleak_hearted.txt index ce7528ced08..a304df02dd3 100644 --- a/forge-gui/res/cardsfolder/e/erebos_bleak_hearted.txt +++ b/forge-gui/res/cardsfolder/e/erebos_bleak_hearted.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Legendary Enchantment Creature God PT:5/6 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | References$ X | Description$ As long as your devotion to black is less than five, CARDNAME is not a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | Description$ As long as your devotion to black is less than five, CARDNAME is not a creature. SVar:X:Count$Devotion.Black SVar:BuffedBy:Permanent.Black T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouCtrl+Other | TriggerZones$ Battlefield | Execute$ ABDraw | TriggerDescription$ Whenever another creature you control dies, you may pay 2 life. If you do, draw a card. diff --git a/forge-gui/res/cardsfolder/e/erebos_god_of_the_dead.txt b/forge-gui/res/cardsfolder/e/erebos_god_of_the_dead.txt index 3b55dd811bf..4e99c401ca2 100644 --- a/forge-gui/res/cardsfolder/e/erebos_god_of_the_dead.txt +++ b/forge-gui/res/cardsfolder/e/erebos_god_of_the_dead.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Legendary Enchantment Creature God PT:5/7 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | References$ X | Description$ As long as your devotion to black is less than 5, CARDNAME isn't a creature. (Each {B} in the mana costs of permanents you control counts towards your devotion to black.) +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | Description$ As long as your devotion to black is less than 5, CARDNAME isn't a creature. (Each {B} in the mana costs of permanents you control counts towards your devotion to black.) SVar:X:Count$Devotion.Black S:Mode$ Continuous | Affected$ Player.Opponent | AddKeyword$ You can't gain life. | Description$ Your opponents can't gain life. A:AB$ Draw | Cost$ 1 B PayLife<2> | NumCards$ 1 | SpellDescription$ Draw a card. diff --git a/forge-gui/res/cardsfolder/e/ereboss_intervention.txt b/forge-gui/res/cardsfolder/e/ereboss_intervention.txt index 13ba58b6667..b14c4c6c2ba 100644 --- a/forge-gui/res/cardsfolder/e/ereboss_intervention.txt +++ b/forge-gui/res/cardsfolder/e/ereboss_intervention.txt @@ -1,10 +1,10 @@ Name:Erebos's Intervention ManaCost:X B Types:Instant -A:SP$ Charm | Cost$ X B | Choices$ DBPump,DBChangeZone | References$ X -SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | References$ X | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SubAbility$ DBGainLife | SpellDescription$ Target creature gets -X/-X until end of turn. -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X | SpellDescription$ You gain X life. -SVar:DBChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | TargetMin$ 0 | TargetMax$ XX | References$ X,XX | TgtPrompt$ Select up to twice X target cards in graveyards | ValidTgts$ Card | SpellDescription$ Exile up to twice X target cards from graveyards. +A:SP$ Charm | Cost$ X B | Choices$ DBPump,DBChangeZone +SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SubAbility$ DBGainLife | SpellDescription$ Target creature gets -X/-X until end of turn. +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | SpellDescription$ You gain X life. +SVar:DBChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | TargetMin$ 0 | TargetMax$ XX | TgtPrompt$ Select up to twice X target cards in graveyards | ValidTgts$ Card | SpellDescription$ Exile up to twice X target cards from graveyards. SVar:X:Count$xPaid SVar:XX:SVar$X/Twice DeckHas:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/e/errant_minion.txt b/forge-gui/res/cardsfolder/e/errant_minion.txt index 638ac9e857d..f15d034c6bd 100644 --- a/forge-gui/res/cardsfolder/e/errant_minion.txt +++ b/forge-gui/res/cardsfolder/e/errant_minion.txt @@ -4,11 +4,11 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 2 U | ValidTgts$ Creature | AILogic$ Curse T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ EnchantedController | Execute$ DBPay | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of the upkeep of enchanted creature's controller, that player may pay any amount of mana. CARDNAME deals 2 damage to that player. Prevent X of that damage, where X is the amount of mana that player paid this way. -S:Mode$ PreventDamage | Target$ EnchantedController | Source$ Card.Self | Amount$ PaidAmount | References$ PaidAmount | Secondary$ True +S:Mode$ PreventDamage | Target$ EnchantedController | Source$ Card.Self | Amount$ PaidAmount | Secondary$ True SVar:DBPay:DB$ ChooseNumber | Defined$ EnchantedController | ChooseAnyNumber$ True | ListTitle$ Pay Any Mana | AILogic$ PowerLeakMaxMana.2 | SubAbility$ DBStore -SVar:DBStore:DB$ StoreSVar | SVar$ PaidAmount | Type$ CountSVar | Expression$ X | UnlessCost$ X | UnlessPayer$ EnchantedController | UnlessSwitched$ True | References$ X,PaidAmount | SubAbility$ DBDmg -SVar:DBDmg:DB$ DealDamage | Defined$ EnchantedController | NumDmg$ 2 | SubAbility$ DBReset | References$ PaidAmount | StackDescription$ None -SVar:DBReset:DB$ StoreSVar | SVar$ PaidAmount | Type$ Number | Expression$ 0 | References$ PaidAmount +SVar:DBStore:DB$ StoreSVar | SVar$ PaidAmount | Type$ CountSVar | Expression$ X | UnlessCost$ X | UnlessPayer$ EnchantedController | UnlessSwitched$ True | SubAbility$ DBDmg +SVar:DBDmg:DB$ DealDamage | Defined$ EnchantedController | NumDmg$ 2 | SubAbility$ DBReset | StackDescription$ None +SVar:DBReset:DB$ StoreSVar | SVar$ PaidAmount | Type$ Number | Expression$ 0 SVar:X:Count$ChosenNumber SVar:PaidAmount:Number$0 SVar:Picture:http://www.wizards.com/global/images/magic/general/power_leak.jpg diff --git a/forge-gui/res/cardsfolder/e/erratic_cyclops.txt b/forge-gui/res/cardsfolder/e/erratic_cyclops.txt index c4d64fe651c..f44e979dc81 100644 --- a/forge-gui/res/cardsfolder/e/erratic_cyclops.txt +++ b/forge-gui/res/cardsfolder/e/erratic_cyclops.txt @@ -4,7 +4,7 @@ Types:Creature Cyclops Shaman PT:0/8 K:Trample T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever you cast an instant or sorcery spell, CARDNAME gets +X/+0 until end of turn, where X is that spell's converted mana cost. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X SVar:X:TriggerCount$CastSACMC SVar:BuffedBy:Instant,Sorcery DeckHints:Type$Instant|Sorcery diff --git a/forge-gui/res/cardsfolder/e/erratic_explosion.txt b/forge-gui/res/cardsfolder/e/erratic_explosion.txt index cb52c63108f..8e107b093b8 100644 --- a/forge-gui/res/cardsfolder/e/erratic_explosion.txt +++ b/forge-gui/res/cardsfolder/e/erratic_explosion.txt @@ -2,7 +2,7 @@ Name:Erratic Explosion ManaCost:2 R Types:Sorcery A:SP$ DigUntil | Cost$ 2 R | Valid$ Card.nonLand | ValidDescription$ nonland | FoundDestination$ Library | RevealedDestination$ Library | FoundLibraryPosition$ -1 | RevealedLibraryPosition$ -1 | RememberFound$ True | SubAbility$ Damage | SpellDescription$ Choose any target. Reveal cards from the top of your library until you reveal a nonland card. Erratic Explosion deals damage equal to that card's converted mana cost to that permanent or player. Put the revealed cards on the bottom of your library in any order. -SVar:Damage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBCleanup | References$ X +SVar:Damage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Picture:http://resources.wizards.com/magic/cards/ons/en-us/card12484.jpg diff --git a/forge-gui/res/cardsfolder/e/erratic_mutation.txt b/forge-gui/res/cardsfolder/e/erratic_mutation.txt index 3542611b5c8..079d6274498 100644 --- a/forge-gui/res/cardsfolder/e/erratic_mutation.txt +++ b/forge-gui/res/cardsfolder/e/erratic_mutation.txt @@ -2,7 +2,7 @@ Name:Erratic Mutation ManaCost:2 U Types:Instant A:SP$ DigUntil | Cost$ 2 U | Valid$ Card.nonLand | ValidDescription$ nonland | FoundDestination$ Library | RevealedDestination$ Library | FoundLibraryPosition$ -1 | RevealedLibraryPosition$ -1 | RememberFound$ True | SubAbility$ MutantPump | SpellDescription$ Choose target creature. Reveal cards from the top of your library until you reveal a nonland card. That creature gets +X/-X until end of turn, where X is that card's converted mana cost. Put all cards revealed this way on the bottom of your library in any order. -SVar:MutantPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ -X | References$ X | SubAbility$ JitterClean +SVar:MutantPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ -X | SubAbility$ JitterClean SVar:JitterClean:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/e/ertais_trickery.txt b/forge-gui/res/cardsfolder/e/ertais_trickery.txt index 92446697932..6635a426247 100644 --- a/forge-gui/res/cardsfolder/e/ertais_trickery.txt +++ b/forge-gui/res/cardsfolder/e/ertais_trickery.txt @@ -1,7 +1,7 @@ Name:Ertai's Trickery ManaCost:U Types:Instant -A:SP$ Counter | Cost$ U | TargetType$ Spell | TgtPrompt$ Select target spell if it was kicked | ValidTgts$ Card | ConditionCheckSVar$ ConditionKicked | ConditionSVarCompare$ EQ1 | References$ ConditionKicked | SpellDescription$ Counter target spell if it was kicked. +A:SP$ Counter | Cost$ U | TargetType$ Spell | TgtPrompt$ Select target spell if it was kicked | ValidTgts$ Card | ConditionCheckSVar$ ConditionKicked | ConditionSVarCompare$ EQ1 | SpellDescription$ Counter target spell if it was kicked. SVar:ConditionKicked:Targeted$Valid Card.kicked AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/ertais_trickery.jpg diff --git a/forge-gui/res/cardsfolder/e/essence_backlash.txt b/forge-gui/res/cardsfolder/e/essence_backlash.txt index 82b12e51f41..dcf01207b37 100644 --- a/forge-gui/res/cardsfolder/e/essence_backlash.txt +++ b/forge-gui/res/cardsfolder/e/essence_backlash.txt @@ -2,7 +2,7 @@ Name:Essence Backlash ManaCost:2 U R Types:Instant A:SP$ Counter | Cost$ 2 U R | TargetType$ Spell | TgtPrompt$ Select target Creature spell | ValidTgts$ Creature | SubAbility$ DBDamage | SpellDescription$ Counter target creature spell. CARDNAME deals damage equal to that spell's power to its controller. -SVar:DBDamage:DB$ DealDamage | NumDmg$ Backlash | References$ Backlash | Defined$ TargetedController +SVar:DBDamage:DB$ DealDamage | NumDmg$ Backlash | Defined$ TargetedController SVar:Backlash:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/essence_backlash.jpg Oracle:Counter target creature spell. Essence Backlash deals damage equal to that spell's power to its controller. diff --git a/forge-gui/res/cardsfolder/e/essence_bottle.txt b/forge-gui/res/cardsfolder/e/essence_bottle.txt index b229890e1a4..2883457e1fa 100644 --- a/forge-gui/res/cardsfolder/e/essence_bottle.txt +++ b/forge-gui/res/cardsfolder/e/essence_bottle.txt @@ -2,7 +2,7 @@ Name:Essence Bottle ManaCost:2 Types:Artifact A:AB$ PutCounter | Cost$ 3 T | Defined$ Self | CounterType$ ELIXIR | CounterNum$ 1 | SpellDescription$ Put an elixir counter on CARDNAME. -A:AB$ GainLife | Cost$ T SubCounter | Defined$ You | LifeAmount$ X | References$ X | SpellDescription$ You gain 2 life for each elixir counter removed this way. +A:AB$ GainLife | Cost$ T SubCounter | Defined$ You | LifeAmount$ X | SpellDescription$ You gain 2 life for each elixir counter removed this way. SVar:X:SVar$CostCountersRemoved/Twice AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/essence_bottle.jpg diff --git a/forge-gui/res/cardsfolder/e/essence_flux.txt b/forge-gui/res/cardsfolder/e/essence_flux.txt index 7d7af3ce23f..ceea5f4561b 100644 --- a/forge-gui/res/cardsfolder/e/essence_flux.txt +++ b/forge-gui/res/cardsfolder/e/essence_flux.txt @@ -3,7 +3,7 @@ ManaCost:U Types:Instant A:SP$ ChangeZone | Cost$ U | ValidTgts$ Creature.YouCtrl | Origin$ Battlefield | Destination$ Exile | TgtPrompt$ Select target creature you control | RememberTargets$ True | SubAbility$ DBReturn | SpellDescription$ Exile target creature you control, then return that card to the battlefield under your control. SVar:DBReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ All | Destination$ Battlefield | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$PutCounter | CounterType$ P1P1 | CounterNum$ 1 | Defined$ Remembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup | References$ X +SVar:DBPutCounter:DB$PutCounter | CounterType$ P1P1 | CounterNum$ 1 | Defined$ Remembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Spirit DeckHints:Type$Spirit diff --git a/forge-gui/res/cardsfolder/e/essence_harvest.txt b/forge-gui/res/cardsfolder/e/essence_harvest.txt index adf8386429c..d6b71870e9f 100644 --- a/forge-gui/res/cardsfolder/e/essence_harvest.txt +++ b/forge-gui/res/cardsfolder/e/essence_harvest.txt @@ -1,8 +1,8 @@ Name:Essence Harvest ManaCost:2 B Types:Sorcery -A:SP$ LoseLife | Cost$ 2 B | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | SubAbility$ DBGainLife | References$ X | SpellDescription$ Target player loses X life and you gain X life, where X is the highest power amongst creatures you control. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +A:SP$ LoseLife | Cost$ 2 B | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | SubAbility$ DBGainLife | SpellDescription$ Target player loses X life and you gain X life, where X is the highest power amongst creatures you control. +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$GreatestPower_Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/essence_harvest.jpg Oracle:Target player loses X life and you gain X life, where X is the greatest power among creatures you control. diff --git a/forge-gui/res/cardsfolder/e/essence_sliver.txt b/forge-gui/res/cardsfolder/e/essence_sliver.txt index cc867f2d037..f9ccfab9c93 100644 --- a/forge-gui/res/cardsfolder/e/essence_sliver.txt +++ b/forge-gui/res/cardsfolder/e/essence_sliver.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Sliver PT:3/3 T:Mode$ DamageDealtOnce | ValidSource$ Sliver | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever a Sliver deals damage, its controller gains that much life. -SVar:TrigGain:DB$GainLife | Defined$ TriggeredSourceController | LifeAmount$ X | References$ X +SVar:TrigGain:DB$GainLife | Defined$ TriggeredSourceController | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:PlayMain1:TRUE SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/e/eternal_flame.txt b/forge-gui/res/cardsfolder/e/eternal_flame.txt index d132717356e..1e6096a1894 100644 --- a/forge-gui/res/cardsfolder/e/eternal_flame.txt +++ b/forge-gui/res/cardsfolder/e/eternal_flame.txt @@ -1,8 +1,8 @@ Name:Eternal Flame ManaCost:2 R R Types:Sorcery -A:SP$ DealDamage | Cost$ 2 R R | ValidTgts$ Opponent,Planeswalker| NumDmg$ X | SubAbility$ DBDealDamage | References$ X | SpellDescription$ CARDNAME deals X damage to target opponent or planeswalker, where X is the number of mountains you control. It deals half X damage, rounded up, to you. -SVar:DBDealDamage:DB$DealDamage | NumDmg$ Y | Defined$ You | References$ Y +A:SP$ DealDamage | Cost$ 2 R R | ValidTgts$ Opponent,Planeswalker| NumDmg$ X | SubAbility$ DBDealDamage | SpellDescription$ CARDNAME deals X damage to target opponent or planeswalker, where X is the number of mountains you control. It deals half X damage, rounded up, to you. +SVar:DBDealDamage:DB$DealDamage | NumDmg$ Y | Defined$ You SVar:X:Count$NumTypeYouCtrl.Mountain SVar:Y:Count$NumTypeYouCtrl.Mountain/HalfUp SVar:Picture:http://www.wizards.com/global/images/magic/general/eternal_flame.jpg diff --git a/forge-gui/res/cardsfolder/e/eternity_vessel.txt b/forge-gui/res/cardsfolder/e/eternity_vessel.txt index 9df5e0a51a7..acd35a359cc 100644 --- a/forge-gui/res/cardsfolder/e/eternity_vessel.txt +++ b/forge-gui/res/cardsfolder/e/eternity_vessel.txt @@ -4,7 +4,7 @@ Types:Artifact K:etbCounter:CHARGE:X SVar:X:Count$YourLifeTotal T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigLife | OptionalDecider$ You | TriggerDescription$ Landfall — Whenever a land enters the battlefield under your control, you may have your life total become the number of charge counters on CARDNAME. -SVar:TrigLife:DB$SetLife | Defined$ You | LifeAmount$ Y | References$ Y +SVar:TrigLife:DB$SetLife | Defined$ You | LifeAmount$ Y SVar:Y:Count$CardCounters.CHARGE SVar:Picture:http://www.wizards.com/global/images/magic/general/eternity_vessel.jpg Oracle:Eternity Vessel enters the battlefield with X charge counters on it, where X is your life total.\nLandfall — Whenever a land enters the battlefield under your control, you may have your life total become the number of charge counters on Eternity Vessel. diff --git a/forge-gui/res/cardsfolder/e/ethereal_armor.txt b/forge-gui/res/cardsfolder/e/ethereal_armor.txt index be9573c333f..862a2e68a7a 100644 --- a/forge-gui/res/cardsfolder/e/ethereal_armor.txt +++ b/forge-gui/res/cardsfolder/e/ethereal_armor.txt @@ -3,7 +3,7 @@ ManaCost:W Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ W | ValidTgts$ Creature | AILogic$ Pump -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ X | AddToughness$ X | References$ X | AddKeyword$ First Strike | Description$ Enchanted creature gets +1/+1 for each enchantment you control and has first strike. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ X | AddToughness$ X | AddKeyword$ First Strike | Description$ Enchanted creature gets +1/+1 for each enchantment you control and has first strike. SVar:X:Count$Valid Enchantment.YouCtrl SVar:BuffedBy:Enchantment DeckHints:Type$Enchantment diff --git a/forge-gui/res/cardsfolder/e/etrata_the_silencer.txt b/forge-gui/res/cardsfolder/e/etrata_the_silencer.txt index 40eb2f3343f..c4c14654ca4 100644 --- a/forge-gui/res/cardsfolder/e/etrata_the_silencer.txt +++ b/forge-gui/res/cardsfolder/e/etrata_the_silencer.txt @@ -7,7 +7,7 @@ T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage SVar:TrigExile:DB$ ChangeZone | ValidTgts$ Creature.DefenderCtrl | TgtPrompt$ Exile target creature that player controls | Origin$ Battlefield | Destination$ Exile | RememberTargets$ True | SubAbility$ PutCounter SVar:PutCounter:DB$ PutCounter | Defined$ Remembered | CounterType$ HIT | CounterNum$ 1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBLose -SVar:DBLose:DB$ LosesGame | Defined$ TriggeredTarget | ConditionCheckSVar$ CheckExile | ConditionSVarCompare$ GE3 | References$ CheckExile | SubAbility$ DBShuffle +SVar:DBLose:DB$ LosesGame | Defined$ TriggeredTarget | ConditionCheckSVar$ CheckExile | ConditionSVarCompare$ GE3 | SubAbility$ DBShuffle SVar:CheckExile:Count$ValidExile Card.DefendingPlayerCtrl+counters_GE1_HIT SVar:DBShuffle:DB$ ChangeZone | ConditionPresent$ Card.Self | ConditionCompare$ GE1 | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Library | Shuffle$ True Oracle:Etrata, the Silencer can't be blocked.\nWhenever Etrata deals combat damage to a player, exile target creature that player controls and put a hit counter on that card. That player loses the game if they own three or more exiled cards with hit counters on them. Etrata's owner shuffles Etrata into their library. diff --git a/forge-gui/res/cardsfolder/e/eureka.txt b/forge-gui/res/cardsfolder/e/eureka.txt index 2a744028785..66be4ea0f36 100644 --- a/forge-gui/res/cardsfolder/e/eureka.txt +++ b/forge-gui/res/cardsfolder/e/eureka.txt @@ -1,12 +1,12 @@ Name:Eureka ManaCost:2 G G Types:Sorcery -A:SP$ Repeat | Cost$ 2 G G | RepeatSubAbility$ ResetCheck | RepeatCheckSVar$ NumPlayerGiveup | RepeatSVarCompare$ LTTotalPlayer | References$ TotalPlayer | SubAbility$ DBChangeZoneAll | StackDescription$ SpellDescription | SpellDescription$ Starting with you, each player may put a permanent card from their hand onto the battlefield. Repeat this process until no one puts a card onto the battlefield. +A:SP$ Repeat | Cost$ 2 G G | RepeatSubAbility$ ResetCheck | RepeatCheckSVar$ NumPlayerGiveup | RepeatSVarCompare$ LTTotalPlayer | SubAbility$ DBChangeZoneAll | StackDescription$ SpellDescription | SpellDescription$ Starting with you, each player may put a permanent card from their hand onto the battlefield. Repeat this process until no one puts a card onto the battlefield. SVar:ResetCheck:DB$ StoreSVar | SVar$ NumPlayerGiveup | Type$ Number | Expression$ 0 | SubAbility$ DBRepeatChoice SVar:DBRepeatChoice:DB$ RepeatEach | StartingWithActivator$ True | RepeatSubAbility$ DBChoice | RepeatPlayers$ Player SVar:DBChoice:DB$ GenericChoice | Choices$ DBCheckHand,DBNoChange | Defined$ Player.IsRemembered -SVar:DBCheckHand:DB$ StoreSVar | SVar$ NumPlayerGiveup | Type$ CountSVar | Expression$ NumPlayerGiveup/Plus.1 | ConditionCheckSVar$ CheckHand | ConditionSVarCompare$ EQ0 | References$ CheckHand | SubAbility$ DBChoose | SpellDescription$ Choose a permanent to put onto the battlefield -SVar:DBChoose:DB$ ChooseCard | Defined$ Player.IsRemembered | Choices$ Permanent.IsNotRemembered+RememberedPlayerCtrl | ChoiceZone$ Hand | Amount$ 1 | RememberChosen$ True | Mandatory$ True | ConditionCheckSVar$ CheckHand | ConditionSVarCompare$ GE1 | References$ CheckHand +SVar:DBCheckHand:DB$ StoreSVar | SVar$ NumPlayerGiveup | Type$ CountSVar | Expression$ NumPlayerGiveup/Plus.1 | ConditionCheckSVar$ CheckHand | ConditionSVarCompare$ EQ0 | SubAbility$ DBChoose | SpellDescription$ Choose a permanent to put onto the battlefield +SVar:DBChoose:DB$ ChooseCard | Defined$ Player.IsRemembered | Choices$ Permanent.IsNotRemembered+RememberedPlayerCtrl | ChoiceZone$ Hand | Amount$ 1 | RememberChosen$ True | Mandatory$ True | ConditionCheckSVar$ CheckHand | ConditionSVarCompare$ GE1 SVar:DBNoChange:DB$ StoreSVar | SVar$ NumPlayerGiveup | Type$ CountSVar | Expression$ NumPlayerGiveup/Plus.1 | SpellDescription$ Do not put a permanent onto the battlefield SVar:DBChangeZoneAll:DB$ ChangeZoneAll | Origin$ Hand | Destination$ Battlefield | ChangeType$ Card.IsRemembered | SubAbility$ FinalReset SVar:FinalReset:DB$ StoreSVar | SVar$ NumPlayerGiveup | Type$ Number | Expression$ 0 | SubAbility$ DBCleanup diff --git a/forge-gui/res/cardsfolder/e/evangel_of_heliod.txt b/forge-gui/res/cardsfolder/e/evangel_of_heliod.txt index 1a9b0c128ce..89edee67720 100644 --- a/forge-gui/res/cardsfolder/e/evangel_of_heliod.txt +++ b/forge-gui/res/cardsfolder/e/evangel_of_heliod.txt @@ -3,7 +3,7 @@ ManaCost:4 W W Types:Creature Human Cleric PT:1/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a number of 1/1 white Soldier creature tokens equal to your devotion to white. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier ths +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier ths SVar:X:Count$Devotion.White SVar:Picture:http://www.wizards.com/global/images/magic/general/evangel_of_heliod.jpg Oracle:When Evangel of Heliod enters the battlefield, create a number of 1/1 white Soldier creature tokens equal to your devotion to white. (Each {W} in the mana costs of permanents you control counts toward your devotion to white.) diff --git a/forge-gui/res/cardsfolder/e/evasive_action.txt b/forge-gui/res/cardsfolder/e/evasive_action.txt index 7c9d5db9d61..64995ee5edf 100644 --- a/forge-gui/res/cardsfolder/e/evasive_action.txt +++ b/forge-gui/res/cardsfolder/e/evasive_action.txt @@ -1,7 +1,7 @@ Name:Evasive Action ManaCost:1 U Types:Instant -A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X | SpellDescription$ Domain — Counter target spell unless its controller pays {1} for each basic land type among lands you control. +A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SpellDescription$ Domain — Counter target spell unless its controller pays {1} for each basic land type among lands you control. SVar:X:Count$Domain SVar:Picture:http://www.wizards.com/global/images/magic/general/evasive_action.jpg Oracle:Domain — Counter target spell unless its controller pays {1} for each basic land type among lands you control. diff --git a/forge-gui/res/cardsfolder/e/even_the_odds.txt b/forge-gui/res/cardsfolder/e/even_the_odds.txt index 35b4531f6a7..31dabdfa473 100644 --- a/forge-gui/res/cardsfolder/e/even_the_odds.txt +++ b/forge-gui/res/cardsfolder/e/even_the_odds.txt @@ -1,7 +1,7 @@ Name:Even the Odds ManaCost:2 W Types:Instant -A:SP$ Token | Cost$ 2 W | IsPresent$ Creature.YouCtrl | PresentCompare$ LTX | TokenAmount$ 3 | TokenScript$ w_1_1_soldier | TokenOwner$ You | References$ X | LegacyImage$ w 1 1 soldier fut | SpellDescription$ Cast this spell only if you control fewer creatures than each opponent. Create three 1/1 white Soldier creature tokens. +A:SP$ Token | Cost$ 2 W | IsPresent$ Creature.YouCtrl | PresentCompare$ LTX | TokenAmount$ 3 | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier fut | SpellDescription$ Cast this spell only if you control fewer creatures than each opponent. Create three 1/1 white Soldier creature tokens. SVar:X:PlayerCountOpponents$LowestValid Creature.YouCtrl # The YouCtrl in the above count is relative to each player checked SVar:Picture:http://www.wizards.com/global/images/magic/general/even_the_odds.jpg diff --git a/forge-gui/res/cardsfolder/e/everflowing_chalice.txt b/forge-gui/res/cardsfolder/e/everflowing_chalice.txt index 501615ae8f5..e26aae29d3a 100644 --- a/forge-gui/res/cardsfolder/e/everflowing_chalice.txt +++ b/forge-gui/res/cardsfolder/e/everflowing_chalice.txt @@ -3,7 +3,7 @@ ManaCost:0 Types:Artifact K:Multikicker:2 K:etbCounter:CHARGE:XKicked:no condition:CARDNAME enters the battlefield with a charge counter on it for each time it was kicked. -A:AB$ Mana | Cost$ T | Produced$ C | Amount$ X | References$ X | SpellDescription$ Add {C} for each charge counter on CARDNAME. +A:AB$ Mana | Cost$ T | Produced$ C | Amount$ X | SpellDescription$ Add {C} for each charge counter on CARDNAME. SVar:X:Count$CardCounters.CHARGE SVar:XKicked:Count$TimesKicked DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/e/evershrike.txt b/forge-gui/res/cardsfolder/e/evershrike.txt index 45dceb7cee5..2f24d301951 100644 --- a/forge-gui/res/cardsfolder/e/evershrike.txt +++ b/forge-gui/res/cardsfolder/e/evershrike.txt @@ -3,7 +3,7 @@ ManaCost:3 WB WB Types:Creature Elemental Spirit PT:2/2 K:Flying -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ Y | AddToughness$ Y | References$ Y | Description$ CARDNAME gets +2/+2 for each Aura attached to it. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ Y | AddToughness$ Y | Description$ CARDNAME gets +2/+2 for each Aura attached to it. SVar:Y:Count$Valid Aura.Attached/Times.2 A:AB$ ChangeZone | Cost$ X WB WB | Origin$ Graveyard | Destination$ Battlefield | ActivationZone$ Graveyard | SubAbility$ AttachAura | SpellDescription$ Return CARDNAME from your graveyard to the battlefield. You may put an Aura card with converted mana cost X or less from your hand onto the battlefield attached to it. If you don't, exile CARDNAME. SVar:AttachAura:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Aura.CanEnchantSource+YouCtrl+cmcLEX | AttachedTo$ Self | RememberChanged$ True | SubAbility$ DBExile diff --git a/forge-gui/res/cardsfolder/e/every_dream_a_nightmare.txt b/forge-gui/res/cardsfolder/e/every_dream_a_nightmare.txt index c4e5b1c4edc..9bc4912c22d 100644 --- a/forge-gui/res/cardsfolder/e/every_dream_a_nightmare.txt +++ b/forge-gui/res/cardsfolder/e/every_dream_a_nightmare.txt @@ -4,7 +4,7 @@ Types:Scheme T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ DBRepeat | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, each opponent discards a card. You draw a card for each land card discarded this way. SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ Dream | SubAbility$ Nightmare SVar:Dream:DB$ Discard | Defined$ Player.IsRemembered | Mode$ TgtChoose | NumCards$ 1 | Mandatory$ True | RememberDiscarded$ True -SVar:Nightmare:DB$ Draw | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:Nightmare:DB$ Draw | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Land.RememberedPlayerCtrl SVar:Picture:https://downloads.cardforge.org/images/cards/E01/Every Dream a Nightmare.full.jpg diff --git a/forge-gui/res/cardsfolder/e/exalted_angel.txt b/forge-gui/res/cardsfolder/e/exalted_angel.txt index d3087c0f842..626662a9c13 100644 --- a/forge-gui/res/cardsfolder/e/exalted_angel.txt +++ b/forge-gui/res/cardsfolder/e/exalted_angel.txt @@ -4,7 +4,7 @@ Types:Creature Angel PT:4/5 K:Flying T:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount K:Morph:2 W W SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/e/excise.txt b/forge-gui/res/cardsfolder/e/excise.txt index 86a0dbb729d..f5a0e3b2ada 100644 --- a/forge-gui/res/cardsfolder/e/excise.txt +++ b/forge-gui/res/cardsfolder/e/excise.txt @@ -1,7 +1,7 @@ Name:Excise ManaCost:X W Types:Instant -A:SP$ ChangeZone | Cost$ X W | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | Origin$ Battlefield | Destination$ Exile | UnlessCost$ X | UnlessPayer$ TargetedController | References$ X | SpellDescription$ Exile target attacking creature unless its controller pays {X}. +A:SP$ ChangeZone | Cost$ X W | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | Origin$ Battlefield | Destination$ Exile | UnlessCost$ X | UnlessPayer$ TargetedController | SpellDescription$ Exile target attacking creature unless its controller pays {X}. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/excise.jpg Oracle:Exile target attacking creature unless its controller pays {X}. diff --git a/forge-gui/res/cardsfolder/e/exemplar_of_strength.txt b/forge-gui/res/cardsfolder/e/exemplar_of_strength.txt index 2cb6b3f441d..07f7ad639fd 100644 --- a/forge-gui/res/cardsfolder/e/exemplar_of_strength.txt +++ b/forge-gui/res/cardsfolder/e/exemplar_of_strength.txt @@ -6,7 +6,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ M1M1 | IsCurse$ True | CounterNum$ 3 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigRemoveCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, remove a -1/-1 counter from it. If you do, you gain 1 life. SVar:TrigRemoveCounter:DB$ RemoveCounter | CounterType$ M1M1 | CounterNum$ 1 | RememberRemoved$ True | SubAbility$ DBGainLife -SVar:DBGainLife:DB$GainLife | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | LifeAmount$ 1 | SubAbility$ DBCleanup +SVar:DBGainLife:DB$GainLife | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | LifeAmount$ 1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedSize SVar:Picture:http://www.wizards.com/global/images/magic/general/exemplar_of_strength.jpg diff --git a/forge-gui/res/cardsfolder/e/exert_influence.txt b/forge-gui/res/cardsfolder/e/exert_influence.txt index edd4b5fc451..273e0a2a126 100644 --- a/forge-gui/res/cardsfolder/e/exert_influence.txt +++ b/forge-gui/res/cardsfolder/e/exert_influence.txt @@ -1,7 +1,7 @@ Name:Exert Influence ManaCost:4 U Types:Sorcery -A:SP$ GainControl | Cost$ 4 U | ValidTgts$ Creature | TgtPrompt$ Select target creature | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X,Y | SpellDescription$ Converge — Gain control of target creature if its power is less than or equal to the number of colors of mana spent to cast this spell. +A:SP$ GainControl | Cost$ 4 U | ValidTgts$ Creature | TgtPrompt$ Select target creature | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1,Y | SpellDescription$ Converge — Gain control of target creature if its power is less than or equal to the number of colors of mana spent to cast this spell. SVar:Y:Count$Converge SVar:X:Targeted$Valid Creature.powerLEY AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/e/exile.txt b/forge-gui/res/cardsfolder/e/exile.txt index 53e90651491..f929810a3d7 100644 --- a/forge-gui/res/cardsfolder/e/exile.txt +++ b/forge-gui/res/cardsfolder/e/exile.txt @@ -2,7 +2,7 @@ Name:Exile ManaCost:2 W Types:Instant A:SP$ ChangeZone | Cost$ 2 W | ValidTgts$ Creature.attacking+nonWhite | TgtPrompt$ Select target nonwhite attacking creature | Origin$ Battlefield | Destination$ Exile | SubAbility$ DBGainLife | SpellDescription$ Exile target nonwhite attacking creature. You gain life equal to its toughness. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TargetedLKI$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/exile.jpg Oracle:Exile target nonwhite attacking creature. You gain life equal to its toughness. diff --git a/forge-gui/res/cardsfolder/e/exotic_curse.txt b/forge-gui/res/cardsfolder/e/exotic_curse.txt index bcf3893ebbe..9dcfdd1923f 100644 --- a/forge-gui/res/cardsfolder/e/exotic_curse.txt +++ b/forge-gui/res/cardsfolder/e/exotic_curse.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 2 B | ValidTgts$ Creature | AILogic$ Curse -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | AddToughness$ -X | References$ X | Description$ Domain — Enchanted creature gets -1/-1 for each basic land type among lands you control. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | AddToughness$ -X | Description$ Domain — Enchanted creature gets -1/-1 for each basic land type among lands you control. SVar:X:Count$Domain SVar:BuffedBy:Plains,Island,Swamp,Mountain,Forest Oracle:Enchant creature\nDomain — Enchanted creature gets -1/-1 for each basic land type among lands you control. diff --git a/forge-gui/res/cardsfolder/e/exotic_disease.txt b/forge-gui/res/cardsfolder/e/exotic_disease.txt index 201bf53cb37..452ad4acaee 100644 --- a/forge-gui/res/cardsfolder/e/exotic_disease.txt +++ b/forge-gui/res/cardsfolder/e/exotic_disease.txt @@ -1,8 +1,8 @@ Name:Exotic Disease ManaCost:4 B Types:Sorcery -A:SP$ LoseLife | Cost$ 4 B | ValidTgts$ Player | TgtPrompt$ Select a player | LifeAmount$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ Domain — Target player loses X life and you gain X life, where X is the number of basic land types among lands you control. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +A:SP$ LoseLife | Cost$ 4 B | ValidTgts$ Player | TgtPrompt$ Select a player | LifeAmount$ X | SubAbility$ DBGainLife | SpellDescription$ Domain — Target player loses X life and you gain X life, where X is the number of basic land types among lands you control. +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Domain AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/exotic_disease.jpg diff --git a/forge-gui/res/cardsfolder/e/expansion_explosion.txt b/forge-gui/res/cardsfolder/e/expansion_explosion.txt index f071098855c..e2ab75b0399 100644 --- a/forge-gui/res/cardsfolder/e/expansion_explosion.txt +++ b/forge-gui/res/cardsfolder/e/expansion_explosion.txt @@ -10,7 +10,7 @@ ALTERNATE Name:Explosion ManaCost:X U U R R Types:Instant -A:SP$ DealDamage | Cost$ X U U R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ CARDNAME deals X damage to any target. Target player draws X cards. -SVar:DBDraw:DB$Draw | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player | References$ X +A:SP$ DealDamage | Cost$ X U U R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBDraw | SpellDescription$ CARDNAME deals X damage to any target. Target player draws X cards. +SVar:DBDraw:DB$Draw | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player SVar:X:Count$xPaid Oracle:Explosion deals X damage to any target. Target player draws X cards. diff --git a/forge-gui/res/cardsfolder/e/expel_from_orazca.txt b/forge-gui/res/cardsfolder/e/expel_from_orazca.txt index 9ef61cd3d1e..58aae1a26c4 100644 --- a/forge-gui/res/cardsfolder/e/expel_from_orazca.txt +++ b/forge-gui/res/cardsfolder/e/expel_from_orazca.txt @@ -3,8 +3,8 @@ ManaCost:1 U Types:Instant K:Ascend A:SP$ Pump | Cost$ 1 U | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select target nonland permanent | RememberObjects$ Targeted | IsCurse$ True | SubAbility$ DBDefaultAction | StackDescription$ SpellDescription | SpellDescription$ Return target nonland permanent to its owner's hand. If you have the city's blessing, you may put that permanent on top of its owner's library instead. -SVar:DBDefaultAction:DB$ ChangeZone | Defined$ Remembered | Origin$ Battlefield | Destination$ Hand | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBChoose -SVar:DBChoose:DB$ GenericChoice | Choices$ DBHandChoice,DBTopLibChoice | Defined$ You | ConditionCheckSVar$ X | SubAbility$ DBCleanup | ConditionSVarCompare$ GE1 | References$ X +SVar:DBDefaultAction:DB$ ChangeZone | Defined$ Remembered | Origin$ Battlefield | Destination$ Hand | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBChoose +SVar:DBChoose:DB$ GenericChoice | Choices$ DBHandChoice,DBTopLibChoice | Defined$ You | ConditionCheckSVar$ X | SubAbility$ DBCleanup | ConditionSVarCompare$ GE1 SVar:DBHandChoice:DB$ ChangeZone | Defined$ Remembered | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Hand SVar:DBTopLibChoice:DB$ ChangeZone | Defined$ Remembered | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 0 | SpellDescription$ Top of the library SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/e/experimental_overload.txt b/forge-gui/res/cardsfolder/e/experimental_overload.txt index 17d060a126b..742f2691f0f 100755 --- a/forge-gui/res/cardsfolder/e/experimental_overload.txt +++ b/forge-gui/res/cardsfolder/e/experimental_overload.txt @@ -1,7 +1,7 @@ Name:Experimental Overload ManaCost:2 U R Types:Sorcery -A:SP$ Token | Cost$ 2 U R | TokenAmount$ 1 | TokenScript$ ur_x_x_weird | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | SubAbility$ DBReturn | StackDescription$ SpellDescription | SpellDescription$ Create an X/X blue and red Weird creature token, where X is the number of instant and sorcery cards in your graveyard. Then you may return an instant or sorcery card from your graveyard to your hand. Exile CARDNAME. +A:SP$ Token | Cost$ 2 U R | TokenAmount$ 1 | TokenScript$ ur_x_x_weird | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | SubAbility$ DBReturn | StackDescription$ SpellDescription | SpellDescription$ Create an X/X blue and red Weird creature token, where X is the number of instant and sorcery cards in your graveyard. Then you may return an instant or sorcery card from your graveyard to your hand. Exile CARDNAME. SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Hidden$ True | ChangeType$ Instant.YouOwn,Sorcery.YouOwn | ChangeNum$ 1 | SubAbility$ DBExile | StackDescription$ None SVar:DBExile:DB$ ChangeZone | Origin$ Stack | Destination$ Exile | StackDescription$ None SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn diff --git a/forge-gui/res/cardsfolder/e/exploding_borders.txt b/forge-gui/res/cardsfolder/e/exploding_borders.txt index f1f6c41360b..3bfed8a7a6f 100644 --- a/forge-gui/res/cardsfolder/e/exploding_borders.txt +++ b/forge-gui/res/cardsfolder/e/exploding_borders.txt @@ -2,7 +2,7 @@ Name:Exploding Borders ManaCost:2 R G Types:Sorcery A:SP$ ChangeZone | Cost$ 2 R G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | Tapped$ True | ChangeNum$ 1 | SubAbility$ DBDealDamage | SpellDescription$ Domain — Search your library for a basic land card and put that card onto the battlefield tapped. Then shuffle your library. -SVar:DBDealDamage:DB$DealDamage | ValidTgts$ Player,Planeswlaker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target player or planeswalker, where X is the number of basic land types among lands you control. +SVar:DBDealDamage:DB$DealDamage | ValidTgts$ Player,Planeswlaker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target player or planeswalker, where X is the number of basic land types among lands you control. SVar:X:Count$Domain SVar:Picture:http://www.wizards.com/global/images/magic/general/exploding_borders.jpg Oracle:Domain — Search your library for a basic land card, put that card onto the battlefield tapped, then shuffle your library. Exploding Borders deals X damage to target player or planeswalker, where X is the number of basic land types among lands you control. diff --git a/forge-gui/res/cardsfolder/e/explosive_growth.txt b/forge-gui/res/cardsfolder/e/explosive_growth.txt index 55ff8554e3c..317cfe8000e 100644 --- a/forge-gui/res/cardsfolder/e/explosive_growth.txt +++ b/forge-gui/res/cardsfolder/e/explosive_growth.txt @@ -2,7 +2,7 @@ Name:Explosive Growth ManaCost:G Types:Instant K:Kicker:5 -A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ WasKicked | NumDef$ WasKicked | References$ WasKicked | SpellDescription$ Target creature gets +2/+2 until end of turn. If this spell was kicked, that creature gets +5/+5 until end of turn instead. +A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ WasKicked | NumDef$ WasKickedasKicked | SpellDescription$ Target creature gets +2/+2 until end of turn. If this spell was kicked, that creature gets +5/+5 until end of turn instead. SVar:WasKicked:Count$Kicked.5.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/explosive_growth.jpg Oracle:Kicker {5} (You may pay an additional {5} as you cast this spell.)\nTarget creature gets +2/+2 until end of turn. If this spell was kicked, that creature gets +5/+5 until end of turn instead. diff --git a/forge-gui/res/cardsfolder/e/explosive_revelation.txt b/forge-gui/res/cardsfolder/e/explosive_revelation.txt index b7dfa46b226..fdbc7698d3d 100644 --- a/forge-gui/res/cardsfolder/e/explosive_revelation.txt +++ b/forge-gui/res/cardsfolder/e/explosive_revelation.txt @@ -2,7 +2,7 @@ Name:Explosive Revelation ManaCost:3 R R Types:Sorcery A:SP$ DigUntil | Cost$ 3 R R | Valid$ Card.nonLand | ValidDescription$ nonland | FoundDestination$ Hand | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | RememberFound$ True | SubAbility$ Damage | SpellDescription$ Choose any target. Reveal cards from the top of your library until you reveal a nonland card. CARDNAME deals damage equal to that card's converted mana cost to that permanent or player. Put the nonland card into your hand and the rest on the bottom of your library in any order. -SVar:Damage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBCleanup | References$ X +SVar:Damage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/explosive_revelation.jpg diff --git a/forge-gui/res/cardsfolder/e/exquisite_blood.txt b/forge-gui/res/cardsfolder/e/exquisite_blood.txt index f2370ed0687..f8cab1923e8 100644 --- a/forge-gui/res/cardsfolder/e/exquisite_blood.txt +++ b/forge-gui/res/cardsfolder/e/exquisite_blood.txt @@ -2,7 +2,7 @@ Name:Exquisite Blood ManaCost:4 B Types:Enchantment T:Mode$ LifeLost | ValidPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigLifeGain | TriggerDescription$ Whenever an opponent loses life, you gain that much life. -SVar:TrigLifeGain:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigLifeGain:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$LifeAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/exquisite_blood.jpg Oracle:Whenever an opponent loses life, you gain that much life. diff --git a/forge-gui/res/cardsfolder/e/exsanguinate.txt b/forge-gui/res/cardsfolder/e/exsanguinate.txt index 549a4cee65d..df8a7aee860 100644 --- a/forge-gui/res/cardsfolder/e/exsanguinate.txt +++ b/forge-gui/res/cardsfolder/e/exsanguinate.txt @@ -1,7 +1,7 @@ Name:Exsanguinate ManaCost:X B B Types:Sorcery -A:SP$ LoseLife | Cost$ X B B | Defined$ Player.Opponent | LifeAmount$ X | SubAbility$ DBGainLife | References$ X | SpellDescription$ Each opponent loses X life. You gain life equal to the life lost this way. +A:SP$ LoseLife | Cost$ X B B | Defined$ Player.Opponent | LifeAmount$ X | SubAbility$ DBGainLife | SpellDescription$ Each opponent loses X life. You gain life equal to the life lost this way. SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ AFLifeLost | StackDescription$ You gain life equal to the life lost this way. SVar:X:Count$xPaid SVar:AFLifeLost:Number$0 diff --git a/forge-gui/res/cardsfolder/e/extirpate.txt b/forge-gui/res/cardsfolder/e/extirpate.txt index a070e8c2721..53b1bde6f6a 100644 --- a/forge-gui/res/cardsfolder/e/extirpate.txt +++ b/forge-gui/res/cardsfolder/e/extirpate.txt @@ -4,8 +4,8 @@ Types:Instant K:Split second A:SP$ ChangeZone | Cost$ B | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Card.nonBasic | TgtPrompt$ Select target card in a graveyard other than a basic land | RememberTargets$ True | ForgetOtherTargets$ True | SubAbility$ ExileYard | SpellDescription$ Choose target card in a graveyard other than a basic land card. Search its owner's graveyard, hand, and library for all cards with the same name as that card and exile them. Then that player shuffles their library. SVar:ExileYard:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Exile | Defined$ TargetedController | ChangeType$ Remembered.sameName | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | References$ NumInHand | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | References$ NumInLib | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:NumInHand:TargetedController$CardsInHand SVar:NumInLib:TargetedController$CardsInLibrary SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/e/exuberant_wolfbear.txt b/forge-gui/res/cardsfolder/e/exuberant_wolfbear.txt index 27726fe127e..506d8c47904 100644 --- a/forge-gui/res/cardsfolder/e/exuberant_wolfbear.txt +++ b/forge-gui/res/cardsfolder/e/exuberant_wolfbear.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Creature Wolf Bear PT:4/4 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigAnimate | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME attacks, you may change the base power and toughness of target Human you control to CARDNAME's power and toughness until end of turn. -SVar:TrigAnimate:DB$ Animate | ValidTgts$ Creature.Human+YouCtrl | TgtPrompt$ Select target Human you control | Power$ X | Toughness$ Y | References$ X,Y +SVar:TrigAnimate:DB$ Animate | ValidTgts$ Creature.Human+YouCtrl | TgtPrompt$ Select target Human you control | Power$ X | Toughness$ Y SVar:X:Count$CardPower SVar:Y:Count$CardToughness SVar:HasAttackEffect:TRUE diff --git a/forge-gui/res/cardsfolder/e/eye_for_an_eye.txt b/forge-gui/res/cardsfolder/e/eye_for_an_eye.txt index 64bce2c4d4a..c863ffefd78 100644 --- a/forge-gui/res/cardsfolder/e/eye_for_an_eye.txt +++ b/forge-gui/res/cardsfolder/e/eye_for_an_eye.txt @@ -2,10 +2,10 @@ Name:Eye for an Eye ManaCost:W W Types:Instant A:SP$ ChooseSource | Cost$ W W | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice would deal damage to you this turn, instead that source deals that much damage to you and CARDNAME deals that much damage to that source's controller. -SVar:DBEffect:DB$ Effect | ReplacementEffects$ SelflessDamage | SVars$ SelflessDmg,ExileEffect,X,EyeforEye | References$ SelflessDamage,SelflessDmg,EyeforEye,ExileEffect,X | ImprintCards$ Self | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 +SVar:DBEffect:DB$ Effect | ReplacementEffects$ SelflessDamage | SVars$ SelflessDmg,ExileEffect,X,EyeforEye | ImprintCards$ Self | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ You | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ SelflessDmg | Description$ The next time a source of your choice would deal damage to you this turn, instead that source deals that much damage to you and this card deals that much damage to that source's controller. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ You | VarType$ Player | SubAbility$ EyeforEye -SVar:EyeforEye:DB$ DealDamage | Defined$ ReplacedSourceController | DamageSource$ EffectSource | NumDmg$ X | References$ X | SubAbility$ ExileEffect +SVar:EyeforEye:DB$ DealDamage | Defined$ ReplacedSourceController | DamageSource$ EffectSource | NumDmg$ X | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile | Static$ True SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True SVar:X:ReplaceCount$DamageAmount diff --git a/forge-gui/res/cardsfolder/e/eye_of_yawgmoth.txt b/forge-gui/res/cardsfolder/e/eye_of_yawgmoth.txt index 8432277e05c..6fbbbb58a18 100644 --- a/forge-gui/res/cardsfolder/e/eye_of_yawgmoth.txt +++ b/forge-gui/res/cardsfolder/e/eye_of_yawgmoth.txt @@ -1,7 +1,7 @@ Name:Eye of Yawgmoth ManaCost:3 Types:Artifact -A:AB$ Dig | Cost$ 3 T Sac<1/Creature> | RememberCostCards$ True | DigNum$ X | References$ X | ChangeNum$ 1 | DestinationZone2$ Exile | SpellDescription$ Reveal a number of cards from the top of your library equal to the sacrificed creature's power. Put one into your hand and exile the rest. | SubAbility$ DBCleanup +A:AB$ Dig | Cost$ 3 T Sac<1/Creature> | RememberCostCards$ True | DigNum$ X | ChangeNum$ 1 | DestinationZone2$ Exile | SpellDescription$ Reveal a number of cards from the top of your library equal to the sacrificed creature's power. Put one into your hand and exile the rest. | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/eye_of_yawgmoth.jpg diff --git a/forge-gui/res/cardsfolder/e/ezuri_claw_of_progress.txt b/forge-gui/res/cardsfolder/e/ezuri_claw_of_progress.txt index ac82bcfbdc7..2a764672d8b 100644 --- a/forge-gui/res/cardsfolder/e/ezuri_claw_of_progress.txt +++ b/forge-gui/res/cardsfolder/e/ezuri_claw_of_progress.txt @@ -5,7 +5,7 @@ PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.powerLE2+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a creature with power 2 or less enters the battlefield under your control, you get an experience counter. SVar:TrigPutCounter:DB$ PutCounter | Defined$ You | CounterType$ Experience | CounterNum$ 1 T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigPutCounter2 | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, put X +1/+1 counters on another target creature you control, where X is the number of experience counters you have. -SVar:TrigPutCounter2:DB$ PutCounter | ValidTgts$ Creature.Other+YouCtrl | TgtPrompt$ Select another target creature you control | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter2:DB$ PutCounter | ValidTgts$ Creature.Other+YouCtrl | TgtPrompt$ Select another target creature you control | CounterType$ P1P1 | CounterNum$ X SVar:X:Count$YourCountersExperience SVar:BuffedBy:Creature.powerLE2 SVar:Picture:http://www.wizards.com/global/images/magic/general/ezuri_claw_of_progress.jpg diff --git a/forge-gui/res/cardsfolder/f/faerie_swarm.txt b/forge-gui/res/cardsfolder/f/faerie_swarm.txt index 3d42513eba6..50c8f956aa7 100644 --- a/forge-gui/res/cardsfolder/f/faerie_swarm.txt +++ b/forge-gui/res/cardsfolder/f/faerie_swarm.txt @@ -3,7 +3,7 @@ ManaCost:3 U Types:Creature Faerie PT:*/* K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of blue permanents you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of blue permanents you control. SVar:X:Count$Valid Permanent.Blue+YouCtrl SVar:BuffedBy:Permanent.Blue SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/f/faith_healer.txt b/forge-gui/res/cardsfolder/f/faith_healer.txt index 235b780cc98..9982fccfbd6 100644 --- a/forge-gui/res/cardsfolder/f/faith_healer.txt +++ b/forge-gui/res/cardsfolder/f/faith_healer.txt @@ -2,7 +2,7 @@ Name:Faith Healer ManaCost:1 W Types:Creature Human Cleric PT:1/1 -A:AB$ GainLife | Cost$ Sac<1/Enchantment> | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the sacrificed enchantment's converted mana cost. +A:AB$ GainLife | Cost$ Sac<1/Enchantment> | LifeAmount$ X | SpellDescription$ You gain life equal to the sacrificed enchantment's converted mana cost. SVar:X:Sacrificed$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/faith_healer.jpg diff --git a/forge-gui/res/cardsfolder/f/faiths_shield.txt b/forge-gui/res/cardsfolder/f/faiths_shield.txt index cdfb4f4d2e3..1df266cd305 100644 --- a/forge-gui/res/cardsfolder/f/faiths_shield.txt +++ b/forge-gui/res/cardsfolder/f/faiths_shield.txt @@ -1,8 +1,8 @@ Name:Faith's Shield ManaCost:W Types:Instant -A:SP$ Protection | Cost$ W | CheckSVar$ FatefulHour | SVarCompare$ GT5 | ValidTgts$ Permanent.YouCtrl | TgtPrompt$ Select target permanent you control | Gains$ Choice | Choices$ AnyColor | References$ FatefulHour | SpellDescription$ Target permanent you control gains protection from the color of your choice until end of turn. -A:SP$ ChooseColor | Cost$ W | CheckSVar$ FatefulHour | SVarCompare$ LE5 | Defined$ You | AILogic$ MostProminentAttackers | SubAbility$ DBProtection | References$ FatefulHour | SpellDescription$ Fateful Hour — If you have 5 or less life, instead you and each permanent you control gain protection from the color of your choice until end of turn. +A:SP$ Protection | Cost$ W | CheckSVar$ FatefulHour | SVarCompare$ GT5 | ValidTgts$ Permanent.YouCtrl | TgtPrompt$ Select target permanent you control | Gains$ Choice | Choices$ AnyColor | SpellDescription$ Target permanent you control gains protection from the color of your choice until end of turn. +A:SP$ ChooseColor | Cost$ W | CheckSVar$ FatefulHour | SVarCompare$ LE5 | Defined$ You | AILogic$ MostProminentAttackers | SubAbility$ DBProtection | SpellDescription$ Fateful Hour — If you have 5 or less life, instead you and each permanent you control gain protection from the color of your choice until end of turn. SVar:DBProtection:DB$ ProtectionAll | ValidCards$ Permanent.YouCtrl | ValidPlayers$ You | Gains$ ChosenColor SVar:FatefulHour:Count$YourLifeTotal AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/f/falkenrath_aristocrat.txt b/forge-gui/res/cardsfolder/f/falkenrath_aristocrat.txt index 301862dcba6..b2461ae462b 100644 --- a/forge-gui/res/cardsfolder/f/falkenrath_aristocrat.txt +++ b/forge-gui/res/cardsfolder/f/falkenrath_aristocrat.txt @@ -5,7 +5,7 @@ PT:4/1 K:Flying K:Haste A:AB$ Pump | Cost$ Sac<1/Creature> | Defined$ Self | KW$ Indestructible | AILogic$ AristocratCounters.Human | SubAbility$ DBPutCounter | SpellDescription$ CARDNAME gains indestructible until end of turn. If the sacrificed creature was a Human, put a +1/+1 counter on CARDNAME. -SVar:DBPutCounter:DB$PutCounter | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | CounterNum$ 1 | CounterType$ P1P1 | References$ X +SVar:DBPutCounter:DB$PutCounter | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | CounterNum$ 1 | CounterType$ P1P1 SVar:AIPreference:SacCost$Creature.Human+token,Creature.Human,Creature.Other+token,Creature.Other SVar:X:Sacrificed$Valid Human SVar:Picture:http://www.wizards.com/global/images/magic/general/falkenrath_aristocrat.jpg diff --git a/forge-gui/res/cardsfolder/f/falkenrath_exterminator.txt b/forge-gui/res/cardsfolder/f/falkenrath_exterminator.txt index 49930fcdf7e..089a11f51b9 100644 --- a/forge-gui/res/cardsfolder/f/falkenrath_exterminator.txt +++ b/forge-gui/res/cardsfolder/f/falkenrath_exterminator.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Vampire Archer PT:1/1 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, put a +1/+1 counter on it. -A:AB$ DealDamage | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of +1/+1 counters on it. +A:AB$ DealDamage | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of +1/+1 counters on it. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 SVar:X:Count$CardCounters.P1P1 SVar:Picture:http://www.wizards.com/global/images/magic/general/falkenrath_exterminator.jpg diff --git a/forge-gui/res/cardsfolder/f/falkenrath_torturer.txt b/forge-gui/res/cardsfolder/f/falkenrath_torturer.txt index 2e4b7885124..a73e080aa81 100644 --- a/forge-gui/res/cardsfolder/f/falkenrath_torturer.txt +++ b/forge-gui/res/cardsfolder/f/falkenrath_torturer.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Creature Vampire PT:2/1 A:AB$ Pump | Cost$ Sac<1/Creature> | Defined$ Self | KW$ Flying | SubAbility$ DBPutCounter | SpellDescription$ CARDNAME gains flying until end of turn. If the sacrificed creature was a Human, put a +1/+1 counter on Falkenrath Torturer. -SVar:DBPutCounter:DB$PutCounter | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | CounterNum$ 1 | CounterType$ P1P1 | References$ X +SVar:DBPutCounter:DB$PutCounter | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | CounterNum$ 1 | CounterType$ P1P1 SVar:X:Sacrificed$Valid Human AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/falkenrath_torturer.jpg diff --git a/forge-gui/res/cardsfolder/f/fall_of_the_hammer.txt b/forge-gui/res/cardsfolder/f/fall_of_the_hammer.txt index b9bf5d13df3..ea9ab958286 100644 --- a/forge-gui/res/cardsfolder/f/fall_of_the_hammer.txt +++ b/forge-gui/res/cardsfolder/f/fall_of_the_hammer.txt @@ -2,7 +2,7 @@ Name:Fall of the Hammer ManaCost:1 R Types:Instant A:SP$ Pump | Cost$ 1 R | ValidTgts$ Creature.YouCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you control | SubAbility$ SoulsDamage | StackDescription$ None | SpellDescription$ Target creature you control deals damage equal to its power to target creature. -SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature | TargetUnique$ True | AILogic$ PowerDmg | NumDmg$ X | References$ X | DamageSource$ ParentTarget +SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature | TargetUnique$ True | AILogic$ PowerDmg | NumDmg$ X | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/fall_of_the_hammer.jpg Oracle:Target creature you control deals damage equal to its power to another target creature. diff --git a/forge-gui/res/cardsfolder/f/fall_of_the_titans.txt b/forge-gui/res/cardsfolder/f/fall_of_the_titans.txt index f80f5973f44..af4e57b96c0 100644 --- a/forge-gui/res/cardsfolder/f/fall_of_the_titans.txt +++ b/forge-gui/res/cardsfolder/f/fall_of_the_titans.txt @@ -2,7 +2,7 @@ Name:Fall of the Titans ManaCost:X X R Types:Instant K:Surge:X R -A:SP$ DealDamage | Cost$ X X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | TargetMin$ 0 | TargetMax$ 2 | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each of up to two targets. +A:SP$ DealDamage | Cost$ X X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | TargetMin$ 0 | TargetMax$ 2 | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each of up to two targets. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/fall_of_the_titans.jpg Oracle:Surge {X}{R} (You may cast this spell for its surge cost if you or a teammate has cast another spell this turn.)\nFall of the Titans deals X damage to each of up to two targets. diff --git a/forge-gui/res/cardsfolder/f/falling_timber.txt b/forge-gui/res/cardsfolder/f/falling_timber.txt index 356a22e7402..88e7d308c34 100644 --- a/forge-gui/res/cardsfolder/f/falling_timber.txt +++ b/forge-gui/res/cardsfolder/f/falling_timber.txt @@ -2,7 +2,7 @@ Name:Falling Timber ManaCost:2 G Types:Instant K:Kicker:Sac<1/Land> -A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | TargetMin$ X | TargetMax$ X | References$ X | KW$ Prevent all combat damage that would be dealt by CARDNAME. | IsCurse$ True | SpellDescription$ Prevent all combat damage target creature would deal this turn. If this spell was kicked, prevent all combat damage another target creature would deal this turn. +A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | TargetMin$ X | TargetMax$ X | KW$ Prevent all combat damage that would be dealt by CARDNAME. | IsCurse$ True | SpellDescription$ Prevent all combat damage target creature would deal this turn. If this spell was kicked, prevent all combat damage another target creature would deal this turn. SVar:X:Count$Kicked.2.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/falling_timber.jpg Oracle:Kicker—Sacrifice a land. (You may sacrifice a land in addition to any other costs as you cast this spell.)\nPrevent all combat damage target creature would deal this turn. If this spell was kicked, prevent all combat damage another target creature would deal this turn. diff --git a/forge-gui/res/cardsfolder/f/false_cure.txt b/forge-gui/res/cardsfolder/f/false_cure.txt index e57cef6ca08..515df272429 100644 --- a/forge-gui/res/cardsfolder/f/false_cure.txt +++ b/forge-gui/res/cardsfolder/f/false_cure.txt @@ -3,7 +3,7 @@ ManaCost:B B Types:Instant A:SP$ Effect | Cost$ B B | Name$ False Cure Effect | Triggers$ GainLife | SVars$ TrigLoseLife,X | SpellDescription$ Until end of turn, whenever a player gains life, that player loses 2 life for each 1 life they gained. SVar:GainLife:Mode$ LifeGained | ValidPlayer$ Player | TriggerZones$ Command | Execute$ TrigLoseLife | TriggerDescription$ Whenever a player gains life, that player loses 2 life for each 1 life they gained. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredPlayer | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredPlayer | LifeAmount$ X SVar:X:TriggerCount$LifeAmount/Times.2 AI:RemoveDeck:Random SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/f/fanatic_of_mogis.txt b/forge-gui/res/cardsfolder/f/fanatic_of_mogis.txt index cd54b097563..edce3ab6aca 100644 --- a/forge-gui/res/cardsfolder/f/fanatic_of_mogis.txt +++ b/forge-gui/res/cardsfolder/f/fanatic_of_mogis.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Creature Minotaur Shaman PT:4/2 T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamageAll | TriggerDescription$ When CARDNAME enters the battlefield, it deals damage to each opponent equal to your devotion to red. (Each {R} in the mana costs of permanents you control counts towards your devotion to red.) -SVar:TrigDamageAll:DB$ DamageAll | ValidPlayers$ Player.Opponent | NumDmg$ X | References$ X +SVar:TrigDamageAll:DB$ DamageAll | ValidPlayers$ Player.Opponent | NumDmg$ X SVar:X:Count$Devotion.Red SVar:Picture:http://www.wizards.com/global/images/magic/general/fanatic_of_mogis.jpg Oracle:When Fanatic of Mogis enters the battlefield, it deals damage to each opponent equal to your devotion to red. (Each {R} in the mana costs of permanents you control counts toward your devotion to red.) \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/f/fanning_the_flames.txt b/forge-gui/res/cardsfolder/f/fanning_the_flames.txt index 2bdc0cae0a7..ee72380f69b 100644 --- a/forge-gui/res/cardsfolder/f/fanning_the_flames.txt +++ b/forge-gui/res/cardsfolder/f/fanning_the_flames.txt @@ -1,7 +1,7 @@ Name:Fanning the Flames ManaCost:X R R Types:Sorcery -A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target. +A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target. K:Buyback:3 SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/fanning_the_flames.jpg diff --git a/forge-gui/res/cardsfolder/f/far_wanderings.txt b/forge-gui/res/cardsfolder/f/far_wanderings.txt index b5821964f18..bad9a30462d 100644 --- a/forge-gui/res/cardsfolder/f/far_wanderings.txt +++ b/forge-gui/res/cardsfolder/f/far_wanderings.txt @@ -1,7 +1,7 @@ Name:Far Wanderings ManaCost:2 G Types:Sorcery -A:SP$ ChangeZone | Cost$ 2 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | Tapped$ True | ChangeNum$ X | References$ X | SpellDescription$ Search your library for a basic land card, put that card onto the battlefield tapped, then shuffle your library. Threshold — If seven or more cards are in your graveyard, instead search your library for up to three basic land cards, put them onto the battlefield tapped, then shuffle your library. +A:SP$ ChangeZone | Cost$ 2 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | Tapped$ True | ChangeNum$ X | SpellDescription$ Search your library for a basic land card, put that card onto the battlefield tapped, then shuffle your library. Threshold — If seven or more cards are in your graveyard, instead search your library for up to three basic land cards, put them onto the battlefield tapped, then shuffle your library. SVar:X:Count$Threshold.3.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/far_wanderings.jpg Oracle:Search your library for a basic land card, put that card onto the battlefield tapped, then shuffle your library.\nThreshold — If seven or more cards are in your graveyard, instead search your library for up to three basic land cards, put them onto the battlefield tapped, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/f/farrels_mantle.txt b/forge-gui/res/cardsfolder/f/farrels_mantle.txt index 5cf508cccc1..d4124f7b917 100644 --- a/forge-gui/res/cardsfolder/f/farrels_mantle.txt +++ b/forge-gui/res/cardsfolder/f/farrels_mantle.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 2 W | ValidTgts$ Creature | TgtPrompt$ Select target creature | AILogic$ Pump T:Mode$ AttackerUnblocked | ValidCard$ Creature.EnchantedBy | Execute$ FarrelDmg | TriggerController$ EnchantedController | OptionalDecider$ EnchantedController | TriggerDescription$ Whenever enchanted creature attacks and isn't blocked, its controller may have it deal damage equal to its power plus 2 to another target creature. If that player does, the attacking creature assigns no combat damage this turn. -SVar:FarrelDmg:DB$ DealDamage | ValidTgts$ Creature.NotEnchantedBy | TgtPrompt$ Select another target creature | NumDmg$ FarrelX | DamageSource$ Enchanted | References$ FarrelX | SubAbility$ FarrelPump +SVar:FarrelDmg:DB$ DealDamage | ValidTgts$ Creature.NotEnchantedBy | TgtPrompt$ Select another target creature | NumDmg$ FarrelX | DamageSource$ Enchanted | SubAbility$ FarrelPump SVar:FarrelPump:DB$ Pump | Defined$ Enchanted | KW$ Prevent all combat damage that would be dealt by CARDNAME. SVar:FarrelX:TriggeredAttacker$CardPower/Plus.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/farrels_mantle.jpg diff --git a/forge-gui/res/cardsfolder/f/fascination.txt b/forge-gui/res/cardsfolder/f/fascination.txt index efd79816cf0..6c76aaa9131 100644 --- a/forge-gui/res/cardsfolder/f/fascination.txt +++ b/forge-gui/res/cardsfolder/f/fascination.txt @@ -2,8 +2,8 @@ Name:Fascination ManaCost:X U U Types:Sorcery A:SP$ Charm | Cost$ X U U | Choices$ DBDraw,DBMill -SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ X | References$ X | SpellDescription$ Each player draws X cards. -SVar:DBMill:DB$ Mill | Defined$ Player | NumCards$ X | References$ X | SpellDescription$ Each player mills X cards. +SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ X | SpellDescription$ Each player draws X cards. +SVar:DBMill:DB$ Mill | Defined$ Player | NumCards$ X | SpellDescription$ Each player mills X cards. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Choose one —\n• Each player draws X cards.\n• Each player mills X cards. diff --git a/forge-gui/res/cardsfolder/f/fatal_frenzy.txt b/forge-gui/res/cardsfolder/f/fatal_frenzy.txt index cbe51e9b28c..2e61e6cc8ed 100644 --- a/forge-gui/res/cardsfolder/f/fatal_frenzy.txt +++ b/forge-gui/res/cardsfolder/f/fatal_frenzy.txt @@ -1,7 +1,7 @@ Name:Fatal Frenzy ManaCost:2 R Types:Instant -A:SP$ Pump | Cost$ 2 R | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ X | KW$ Trample | References$ X | AtEOT$ Sacrifice | AILogic$ Berserk | SpellDescription$ Until end of turn, target creature you control gains trample and gets +X/+0, where X is its power. Sacrifice it at the beginning of the next end step. +A:SP$ Pump | Cost$ 2 R | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ X | KW$ Trample | AtEOT$ Sacrifice | AILogic$ Berserk | SpellDescription$ Until end of turn, target creature you control gains trample and gets +X/+0, where X is its power. Sacrifice it at the beginning of the next end step. SVar:X:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/fatal_frenzy.jpg Oracle:Until end of turn, target creature you control gains trample and gets +X/+0, where X is its power. Sacrifice it at the beginning of the next end step. diff --git a/forge-gui/res/cardsfolder/f/fatal_push.txt b/forge-gui/res/cardsfolder/f/fatal_push.txt index 512b7fe759f..24d46188353 100644 --- a/forge-gui/res/cardsfolder/f/fatal_push.txt +++ b/forge-gui/res/cardsfolder/f/fatal_push.txt @@ -1,7 +1,7 @@ Name:Fatal Push ManaCost:B Types:Instant -A:SP$ Destroy | Cost$ B | AILogic$ FatalPush | ValidTgts$ Creature | TgtPrompt$ Select target creature | ConditionDefined$ Targeted | ConditionPresent$ Creature.cmcLEX | ConditionCompare$ EQ1 | References$ X | SpellDescription$ Destroy target creature if it has converted mana cost 2 or less. Revolt — Destroy that creature if it has converted mana cost 4 or less instead if a permanent you controlled left the battlefield this turn. +A:SP$ Destroy | Cost$ B | AILogic$ FatalPush | ValidTgts$ Creature | TgtPrompt$ Select target creature | ConditionDefined$ Targeted | ConditionPresent$ Creature.cmcLEX | ConditionCompare$ EQ1 | SpellDescription$ Destroy target creature if it has converted mana cost 2 or less. Revolt — Destroy that creature if it has converted mana cost 4 or less instead if a permanent you controlled left the battlefield this turn. SVar:X:Count$Revolt.4.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/fatal_push.jpg Oracle:Destroy target creature if it has converted mana cost 2 or less.\nRevolt — Destroy that creature if it has converted mana cost 4 or less instead if a permanent you controlled left the battlefield this turn. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/f/fateful_showdown.txt b/forge-gui/res/cardsfolder/f/fateful_showdown.txt index 34a4d3277c8..1ad69939667 100644 --- a/forge-gui/res/cardsfolder/f/fateful_showdown.txt +++ b/forge-gui/res/cardsfolder/f/fateful_showdown.txt @@ -1,9 +1,9 @@ Name:Fateful Showdown ManaCost:2 R R Types:Instant -A:SP$ DealDamage | Cost$ 2 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SubAbility$ DBDiscard | SpellDescription$ CARDNAME deals damage to any target equal to the number of cards in your hand. Discard all the cards in your hand, then draw that many cards. +A:SP$ DealDamage | Cost$ 2 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBDiscard | SpellDescription$ CARDNAME deals damage to any target equal to the number of cards in your hand. Discard all the cards in your hand, then draw that many cards. SVar:DBDiscard:DB$ Discard | Defined$ You | RememberDiscarded$ True | Mode$ Hand | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ Y | SubAbility$ DBCleanup | References$ Y +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$CardsInYourHand SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/f/fathom_fleet_boarder.txt b/forge-gui/res/cardsfolder/f/fathom_fleet_boarder.txt index 401e80da1cc..961208d11af 100644 --- a/forge-gui/res/cardsfolder/f/fathom_fleet_boarder.txt +++ b/forge-gui/res/cardsfolder/f/fathom_fleet_boarder.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Creature Orc Pirate PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerDescription$ When CARDNAME enters the battlefield, you lose 2 life unless you control another Pirate. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 SVar:X:Count$Valid Pirate.Other+YouCtrl SVar:NeedsToPlay:Pirate.Other+YouCtrl DeckHints:Type$Pirate diff --git a/forge-gui/res/cardsfolder/f/fathom_fleet_swordjack.txt b/forge-gui/res/cardsfolder/f/fathom_fleet_swordjack.txt index c5da51e9e1e..8c18bbd76c7 100644 --- a/forge-gui/res/cardsfolder/f/fathom_fleet_swordjack.txt +++ b/forge-gui/res/cardsfolder/f/fathom_fleet_swordjack.txt @@ -4,7 +4,7 @@ Types:Creature Orc Pirate PT:4/3 K:Encore:5 R T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME attacks, it deals damage to the player or planeswalker it's attacking equal to the number of artifacts you control. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredDefender | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredDefender | NumDmg$ X SVar:X:Count$Valid Artifact.YouCtrl SVar:HasAttackEffect:TRUE DeckNeeds:Type$Artifact diff --git a/forge-gui/res/cardsfolder/f/fault_line.txt b/forge-gui/res/cardsfolder/f/fault_line.txt index c298333b683..c6d31191d9b 100644 --- a/forge-gui/res/cardsfolder/f/fault_line.txt +++ b/forge-gui/res/cardsfolder/f/fault_line.txt @@ -1,7 +1,7 @@ Name:Fault Line ManaCost:X R R Types:Instant -A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | ValidDescription$ each creature without flying and each player. | References$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying and each player. +A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | ValidDescription$ each creature without flying and each player. | SpellDescription$ CARDNAME deals X damage to each creature without flying and each player. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/fault_line.jpg Oracle:Fault Line deals X damage to each creature without flying and each player. diff --git a/forge-gui/res/cardsfolder/f/fearsome_awakening.txt b/forge-gui/res/cardsfolder/f/fearsome_awakening.txt index 66f5a986c0b..cae3be6674b 100644 --- a/forge-gui/res/cardsfolder/f/fearsome_awakening.txt +++ b/forge-gui/res/cardsfolder/f/fearsome_awakening.txt @@ -2,7 +2,7 @@ Name:Fearsome Awakening ManaCost:4 B Types:Sorcery A:SP$ ChangeZone | Cost$ 4 B | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | RememberChanged$ True | SubAbility$ DBPutCounter | SpellDescription$ Return target creature card from your graveyard to the battlefield. If it's a Dragon, put two +1/+1 counters on it. -SVar:DBPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ 2 | Defined$ Remembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBCleanup +SVar:DBPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ 2 | Defined$ Remembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Dragon DeckHints:Type$Dragon & Ability$Graveyard diff --git a/forge-gui/res/cardsfolder/f/feast_of_flesh.txt b/forge-gui/res/cardsfolder/f/feast_of_flesh.txt index 75ae24de9d1..dfdb09d5371 100644 --- a/forge-gui/res/cardsfolder/f/feast_of_flesh.txt +++ b/forge-gui/res/cardsfolder/f/feast_of_flesh.txt @@ -1,8 +1,8 @@ Name:Feast of Flesh ManaCost:B Types:Sorcery -A:SP$ DealDamage | Cost$ B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBGainLife | References$ X | SpellDescription$ CARDNAME deals X damage to target creature and you gain X life, where X is 1 plus the number of cards named Feast of Flesh in all graveyards. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +A:SP$ DealDamage | Cost$ B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to target creature and you gain X life, where X is 1 plus the number of cards named Feast of Flesh in all graveyards. +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$NamedInAllYards.Feast of Flesh/Plus.1 DeckHints:Name$Feast of Flesh SVar:Picture:http://www.wizards.com/global/images/magic/general/feast_of_flesh.jpg diff --git a/forge-gui/res/cardsfolder/f/feast_on_the_fallen.txt b/forge-gui/res/cardsfolder/f/feast_on_the_fallen.txt index ccbbf5007c6..8b4621f8ea8 100644 --- a/forge-gui/res/cardsfolder/f/feast_on_the_fallen.txt +++ b/forge-gui/res/cardsfolder/f/feast_on_the_fallen.txt @@ -1,7 +1,7 @@ Name:Feast on the Fallen ManaCost:2 B Types:Enchantment -T:Mode$ Phase | Phase$ Upkeep | CheckSVar$ X | References$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of each upkeep, if an opponent lost life last turn, put a +1/+1 counter on target creature you control. +T:Mode$ Phase | Phase$ Upkeep | CheckSVar$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of each upkeep, if an opponent lost life last turn, put a +1/+1 counter on target creature you control. SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ 1 SVar:X:PlayerCountOpponents$LifeLostLastTurn SVar:Picture:http://www.wizards.com/global/images/magic/general/feast_on_the_fallen.jpg diff --git a/forge-gui/res/cardsfolder/f/feed_the_clan.txt b/forge-gui/res/cardsfolder/f/feed_the_clan.txt index e3aac9a8caa..d98f6148dae 100644 --- a/forge-gui/res/cardsfolder/f/feed_the_clan.txt +++ b/forge-gui/res/cardsfolder/f/feed_the_clan.txt @@ -1,7 +1,7 @@ Name:Feed the Clan ManaCost:1 G Types:Instant -A:SP$ GainLife | Cost$ 1 G | LifeAmount$ X | References$ X,Y | SpellDescription$ You gain 5 life. Ferocious — You gain 10 life instead if you control a creature with power 4 or greater. +A:SP$ GainLife | Cost$ 1 G | LifeAmount$ X | SpellDescription$ You gain 5 life. Ferocious — You gain 10 life instead if you control a creature with power 4 or greater. SVar:Y:Count$Valid Creature.powerGE4+YouCtrl SVar:X:Count$Compare Y GE1.10.5 SVar:Picture:http://www.wizards.com/global/images/magic/general/feed_the_clan.jpg diff --git a/forge-gui/res/cardsfolder/f/feed_the_pack.txt b/forge-gui/res/cardsfolder/f/feed_the_pack.txt index 245106f561e..907a326feb5 100644 --- a/forge-gui/res/cardsfolder/f/feed_the_pack.txt +++ b/forge-gui/res/cardsfolder/f/feed_the_pack.txt @@ -2,7 +2,7 @@ Name:Feed the Pack ManaCost:5 G Types:Enchantment T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | OptionalDecider$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your end step, you may sacrifice a nontoken creature. If you do, create X 2/2 green Wolf creature tokens, where X is the sacrificed creature's toughness. -SVar:TrigToken:AB$ Token | Cost$ Sac<1/Creature.nonToken/nontoken creature> | TokenAmount$ X | TokenScript$ g_2_2_wolf | TokenOwner$ You | LegacyImage$ g 2 2 wolf dka | ConditionCheckSVar$ X | References$ X +SVar:TrigToken:AB$ Token | Cost$ Sac<1/Creature.nonToken/nontoken creature> | TokenAmount$ X | TokenScript$ g_2_2_wolf | TokenOwner$ You | LegacyImage$ g 2 2 wolf dka | ConditionCheckSVar$ X SVar:X:Sacrificed$CardToughness AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/feed_the_pack.jpg diff --git a/forge-gui/res/cardsfolder/f/feed_the_swarm.txt b/forge-gui/res/cardsfolder/f/feed_the_swarm.txt index 1794dd494ee..8a286f466f0 100755 --- a/forge-gui/res/cardsfolder/f/feed_the_swarm.txt +++ b/forge-gui/res/cardsfolder/f/feed_the_swarm.txt @@ -2,6 +2,6 @@ Name:Feed the Swarm ManaCost:1 B Types:Sorcery A:SP$ Destroy | Cost$ 1 B | ValidTgts$ Creature.OppCtrl,Enchantment.OppCtrl | TgtPrompt$ Select target creature or enchantment an opponent controls | SubAbility$ DBLoseLife | SpellDescription$ Destroy target creature or enchantment an opponent controls. You lose life equal to that permanent's converted mana cost. -SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X SVar:X:Targeted$CardManaCost Oracle:Destroy target creature or enchantment an opponent controls. You lose life equal to that permanent's converted mana cost. diff --git a/forge-gui/res/cardsfolder/f/feedback_bolt.txt b/forge-gui/res/cardsfolder/f/feedback_bolt.txt index 612109fb5cc..c4dab46086c 100644 --- a/forge-gui/res/cardsfolder/f/feedback_bolt.txt +++ b/forge-gui/res/cardsfolder/f/feedback_bolt.txt @@ -1,7 +1,7 @@ Name:Feedback Bolt ManaCost:4 R Types:Instant -A:SP$ DealDamage | Cost$ 4 R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target player or planeswalker equal to the number of artifacts you control. +A:SP$ DealDamage | Cost$ 4 R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target player or planeswalker equal to the number of artifacts you control. SVar:X:Count$TypeYouCtrl.Artifact AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/feedback_bolt.jpg diff --git a/forge-gui/res/cardsfolder/f/feeding_frenzy.txt b/forge-gui/res/cardsfolder/f/feeding_frenzy.txt index 206fb3fe4c3..09216355ae2 100644 --- a/forge-gui/res/cardsfolder/f/feeding_frenzy.txt +++ b/forge-gui/res/cardsfolder/f/feeding_frenzy.txt @@ -1,7 +1,7 @@ Name:Feeding Frenzy ManaCost:2 B Types:Instant -A:SP$ Pump | Cost$ 2 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of Zombies on the battlefield. +A:SP$ Pump | Cost$ 2 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of Zombies on the battlefield. SVar:X:Count$Valid Zombie AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/feeding_frenzy.jpg diff --git a/forge-gui/res/cardsfolder/f/felhide_brawler.txt b/forge-gui/res/cardsfolder/f/felhide_brawler.txt index a6e0913206d..f8372eb3f39 100644 --- a/forge-gui/res/cardsfolder/f/felhide_brawler.txt +++ b/forge-gui/res/cardsfolder/f/felhide_brawler.txt @@ -2,7 +2,7 @@ Name:Felhide Brawler ManaCost:1 B Types:Creature Minotaur PT:2/2 -S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can't block. | CheckSVar$ X | SVarCompare$ EQ0 | References$ X | Description$ CARDNAME can't block unless you control another Minotaur. +S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can't block. | CheckSVar$ X | SVarCompare$ EQ0 | Description$ CARDNAME can't block unless you control another Minotaur. SVar:X:Count$Valid Minotaur.Other+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/felhide_brawler.jpg Oracle:Felhide Brawler can't block unless you control another Minotaur. diff --git a/forge-gui/res/cardsfolder/f/fell_the_mighty.txt b/forge-gui/res/cardsfolder/f/fell_the_mighty.txt index 3300c852c60..8c2dd879193 100644 --- a/forge-gui/res/cardsfolder/f/fell_the_mighty.txt +++ b/forge-gui/res/cardsfolder/f/fell_the_mighty.txt @@ -2,7 +2,7 @@ Name:Fell the Mighty ManaCost:4 W Types:Sorcery A:SP$ Pump | Cost$ 4 W | ValidTgts$ Creature | StackDescription$ None | SubAbility$ DBDestroy | AILogic$ FellTheMighty | SpellDescription$ Destroy all creatures with power greater than target creature's power. -SVar:DBDestroy:DB$ DestroyAll | ValidCards$ Creature.powerGTX | References$ X +SVar:DBDestroy:DB$ DestroyAll | ValidCards$ Creature.powerGTX SVar:X:ParentTargeted$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/fell_the_mighty.jpg diff --git a/forge-gui/res/cardsfolder/f/feral_animist.txt b/forge-gui/res/cardsfolder/f/feral_animist.txt index 2b7f772bb1c..cf5a070e463 100644 --- a/forge-gui/res/cardsfolder/f/feral_animist.txt +++ b/forge-gui/res/cardsfolder/f/feral_animist.txt @@ -2,6 +2,6 @@ Name:Feral Animist ManaCost:1 R G Types:Creature Goblin Shaman PT:2/1 -A:AB$ Pump | Cost$ 3 | Defined$ Self | NumAtt$ +X | References$ X | SpellDescription$ CARDNAME gets +X/+0 until end of turn, where X is its power. +A:AB$ Pump | Cost$ 3 | Defined$ Self | NumAtt$ +X | SpellDescription$ CARDNAME gets +X/+0 until end of turn, where X is its power. SVar:X:Count$CardPower Oracle:{3}: Feral Animist gets +X/+0 until end of turn, where X is its power. diff --git a/forge-gui/res/cardsfolder/f/feral_contest.txt b/forge-gui/res/cardsfolder/f/feral_contest.txt index 1618b8affe5..8abb7961233 100644 --- a/forge-gui/res/cardsfolder/f/feral_contest.txt +++ b/forge-gui/res/cardsfolder/f/feral_contest.txt @@ -1,7 +1,7 @@ Name:Feral Contest ManaCost:3 G Types:Sorcery -A:SP$ PutCounter | Cost$ 3 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ 1 | References$ X | SubAbility$ DBMustBlock | SpellDescription$ Put a +1/+1 counter on target creature you control. Another target creature blocks it this turn if able. +A:SP$ PutCounter | Cost$ 3 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBMustBlock | SpellDescription$ Put a +1/+1 counter on target creature you control. Another target creature blocks it this turn if able. SVar:DBMustBlock:DB$ MustBlock | DefinedAttacker$ ParentTarget | ValidTgts$ Creature | TgtPrompt$ Select target creature to block AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/feral_contest.jpg diff --git a/forge-gui/res/cardsfolder/f/fertile_imagination.txt b/forge-gui/res/cardsfolder/f/fertile_imagination.txt index b870e56f74d..e33174ce4c2 100644 --- a/forge-gui/res/cardsfolder/f/fertile_imagination.txt +++ b/forge-gui/res/cardsfolder/f/fertile_imagination.txt @@ -3,7 +3,7 @@ ManaCost:2 G G Types:Sorcery A:SP$ ChooseType | Cost$ 2 G G | Defined$ You | Type$ Card | SubAbility$ DBReveal | SpellDescription$ Choose a card type. Target opponent reveals their hand. Create two 1/1 green Saproling creature tokens for each card of the chosen type revealed this way. SVar:DBReveal:DB$ RevealHand | RememberRevealed$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling dis | References$ X,Y | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling dis | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:SVar$Y/Twice SVar:Y:Remembered$Valid Card.ChosenType diff --git a/forge-gui/res/cardsfolder/f/festering_newt.txt b/forge-gui/res/cardsfolder/f/festering_newt.txt index 2226079c44e..b5bf51724e5 100644 --- a/forge-gui/res/cardsfolder/f/festering_newt.txt +++ b/forge-gui/res/cardsfolder/f/festering_newt.txt @@ -3,8 +3,8 @@ ManaCost:B Types:Creature Salamander PT:1/1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigPump | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, target creature an opponent controls gets -1/-1 until end of turn. That creature gets -4/-4 instead if you control a creature named Bogbrew Witch. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | ConditionCheckSVar$ BogbrewWitchPresent | ConditionSVarCompare$ EQ0 | References$ BogbrewWitchPresent | SubAbility$ DBPump -SVar:DBPump:DB$ Pump | Defined$ ParentTarget | NumAtt$ -4 | NumDef$ -4 | ConditionCheckSVar$ BogbrewWitchPresent | ConditionSVarCompare$ GE1 | References$ BogbrewWitchPresent +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | ConditionCheckSVar$ BogbrewWitchPresent | ConditionSVarCompare$ EQ0 | SubAbility$ DBPump +SVar:DBPump:DB$ Pump | Defined$ ParentTarget | NumAtt$ -4 | NumDef$ -4 | ConditionCheckSVar$ BogbrewWitchPresent | ConditionSVarCompare$ GE1 SVar:BogbrewWitchPresent:Count$Valid Creature.YouCtrl+namedBogbrew Witch DeckNeeds:Name$Bogbrew Witch DeckHints:Name$Bubbling Cauldron diff --git a/forge-gui/res/cardsfolder/f/festering_wound.txt b/forge-gui/res/cardsfolder/f/festering_wound.txt index 4fb69094c96..746fb1233be 100644 --- a/forge-gui/res/cardsfolder/f/festering_wound.txt +++ b/forge-gui/res/cardsfolder/f/festering_wound.txt @@ -6,7 +6,7 @@ A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature | AILogic$ Curse T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may put an infection counter on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ EnchantedController | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of the upkeep of enchanted creature's controller, CARDNAME deals X damage to that player, where X is the number of infection counters on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ INFECTION | CounterNum$ 1 -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:Count$CardCounters.INFECTION SVar:Picture:http://www.wizards.com/global/images/magic/general/festering_wound.jpg Oracle:Enchant creature\nAt the beginning of your upkeep, you may put an infection counter on Festering Wound.\nAt the beginning of the upkeep of enchanted creature's controller, Festering Wound deals X damage to that player, where X is the number of infection counters on Festering Wound. diff --git a/forge-gui/res/cardsfolder/f/festival_of_the_guildpact.txt b/forge-gui/res/cardsfolder/f/festival_of_the_guildpact.txt index 2e7f51a0777..3551160c4d3 100644 --- a/forge-gui/res/cardsfolder/f/festival_of_the_guildpact.txt +++ b/forge-gui/res/cardsfolder/f/festival_of_the_guildpact.txt @@ -1,7 +1,7 @@ Name:Festival of the Guildpact ManaCost:X W Types:Instant -A:SP$ PreventDamage | Cost$ X W | Defined$ You | Amount$ X | SubAbility$ DBDraw | References$ X | SpellDescription$ Prevent the next X damage that would be dealt to you this turn. +A:SP$ PreventDamage | Cost$ X W | Defined$ You | Amount$ X | SubAbility$ DBDraw | SpellDescription$ Prevent the next X damage that would be dealt to you this turn. SVar:X:Count$xPaid SVar:DBDraw:DB$Draw | Defined$ You | NumCards$ 1 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/f/festival_of_trokin.txt b/forge-gui/res/cardsfolder/f/festival_of_trokin.txt index b31f410621a..b3330207aba 100644 --- a/forge-gui/res/cardsfolder/f/festival_of_trokin.txt +++ b/forge-gui/res/cardsfolder/f/festival_of_trokin.txt @@ -1,7 +1,7 @@ Name:Festival of Trokin ManaCost:W Types:Sorcery -A:SP$ GainLife | Cost$ W | LifeAmount$ X | References$ X | SpellDescription$ You gain 2 life for each creature you control. +A:SP$ GainLife | Cost$ W | LifeAmount$ X | SpellDescription$ You gain 2 life for each creature you control. SVar:X:Count$TypeYouCtrl.Creature/Times.2 SVar:Picture:http://resources.wizards.com/magic/cards/p2/en-us/card6504.jpg Oracle:You gain 2 life for each creature you control. diff --git a/forge-gui/res/cardsfolder/f/festive_funeral.txt b/forge-gui/res/cardsfolder/f/festive_funeral.txt index cbf1ae394d0..d71f3263734 100644 --- a/forge-gui/res/cardsfolder/f/festive_funeral.txt +++ b/forge-gui/res/cardsfolder/f/festive_funeral.txt @@ -1,6 +1,6 @@ Name:Festive Funeral ManaCost:4 B Types:Instant -A:SP$ Pump | Cost$ 4 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of cards in your graveyard. +A:SP$ Pump | Cost$ 4 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of cards in your graveyard. SVar:X:Count$InYourYard Oracle:Target creature gets -X/-X until end of turn, where X is the number of cards in your graveyard. diff --git a/forge-gui/res/cardsfolder/f/feudkillers_verdict.txt b/forge-gui/res/cardsfolder/f/feudkillers_verdict.txt index d3a0da09f2e..e82637495c2 100644 --- a/forge-gui/res/cardsfolder/f/feudkillers_verdict.txt +++ b/forge-gui/res/cardsfolder/f/feudkillers_verdict.txt @@ -2,7 +2,7 @@ Name:Feudkiller's Verdict ManaCost:4 W W Types:Tribal Sorcery Giant A:SP$ GainLife | Cost$ 4 W W | Defined$ You | LifeAmount$ 10 | SubAbility$ Token | SpellDescription$ You gain 10 life. Then if you have more life than an opponent, create a 5/5 white Giant Warrior creature token. -SVar:Token:DB$ Token | ConditionLifeTotal$ You | ConditionLifeAmount$ GTX | TokenAmount$ 1 | TokenScript$ w_5_5_giant_warrior | TokenOwner$ You | LegacyImage$ w 5 5 giant warrior mor | References$ X +SVar:Token:DB$ Token | ConditionLifeTotal$ You | ConditionLifeAmount$ GTX | TokenAmount$ 1 | TokenScript$ w_5_5_giant_warrior | TokenOwner$ You | LegacyImage$ w 5 5 giant warrior mor SVar:X:PlayerCountOpponents$LowestLifeTotal SVar:Picture:http://www.wizards.com/global/images/magic/general/feudkillers_verdict.jpg Oracle:You gain 10 life. Then if you have more life than an opponent, create a 5/5 white Giant Warrior creature token. diff --git a/forge-gui/res/cardsfolder/f/fevered_visions.txt b/forge-gui/res/cardsfolder/f/fevered_visions.txt index a0c02f9b2f1..c5210d146b1 100644 --- a/forge-gui/res/cardsfolder/f/fevered_visions.txt +++ b/forge-gui/res/cardsfolder/f/fevered_visions.txt @@ -3,7 +3,7 @@ ManaCost:1 U R Types:Enchantment T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ At the beginning of each player's end step, that player draws a card. If the player is your opponent and has four or more cards in hand, CARDNAME deals 2 damage to that player. SVar:TrigDraw:DB$ Draw | NumCards$ 1 | Defined$ TriggeredPlayer | SubAbility$ TrigDamageOpp -SVar:TrigDamageOpp:DB$DealDamage | Defined$ TriggeredPlayer | NumDmg$ 2 | References$ TrigCount | ConditionOpponentTurn$ True | ConditionCheckSVar$ TrigCount | ConditionSVarCompare$ GE4 +SVar:TrigDamageOpp:DB$DealDamage | Defined$ TriggeredPlayer | NumDmg$ 2 | ConditionOpponentTurn$ True | ConditionCheckSVar$ TrigCount | ConditionSVarCompare$ GE4 SVar:TrigCount:Count$ValidHand Card.ActivePlayerCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/fevered_visions.jpg Oracle:At the beginning of each player's end step, that player draws a card. If the player is your opponent and has four or more cards in hand, Fevered Visions deals 2 damage to that player. diff --git a/forge-gui/res/cardsfolder/f/field_research.txt b/forge-gui/res/cardsfolder/f/field_research.txt index 2fdd352cd10..862614dbdb8 100644 --- a/forge-gui/res/cardsfolder/f/field_research.txt +++ b/forge-gui/res/cardsfolder/f/field_research.txt @@ -2,6 +2,6 @@ Name:Field Research ManaCost:2 U Types:Sorcery K:Kicker:2 U -A:SP$ Draw | Cost$ 2 U | NumCards$ X | References$ X | SpellDescription$ Draw two cards. If this spell was kicked, draw three cards instead. +A:SP$ Draw | Cost$ 2 U | NumCards$ X | SpellDescription$ Draw two cards. If this spell was kicked, draw three cards instead. SVar:X:Count$Kicked.3.2 Oracle:Kicker {2}{U} (You may pay an additional {2}{U} as you cast this spell.)\nDraw two cards. If this spell was kicked, draw three cards instead. diff --git a/forge-gui/res/cardsfolder/f/fiend_artisan.txt b/forge-gui/res/cardsfolder/f/fiend_artisan.txt index 57cf7ef2125..2fe03f58e7a 100755 --- a/forge-gui/res/cardsfolder/f/fiend_artisan.txt +++ b/forge-gui/res/cardsfolder/f/fiend_artisan.txt @@ -2,8 +2,8 @@ Name:Fiend Artisan ManaCost:B/G B/G Types:Creature Nightmare PT:1/1 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ Y | AddToughness$ Y | References$ Y | Description$ CARDNAME gets +1/+1 for each creature card in your graveyard. -A:AB$ ChangeZone | Cost$ X BG T Sac<1/Creature.Other/another creature> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcLEX | ChangeNum$ 1 | References$ X | ChangeNum$ 1 | SorcerySpeed$ True | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ Y | AddToughness$ Y | Description$ CARDNAME gets +1/+1 for each creature card in your graveyard. +A:AB$ ChangeZone | Cost$ X BG T Sac<1/Creature.Other/another creature> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcLEX | ChangeNum$ 1 | ChangeNum$ 1 | SorcerySpeed$ True | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery. SVar:Y:Count$TypeInYourYard.Creature SVar:X:Count$xPaid AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/f/fiendish_duo.txt b/forge-gui/res/cardsfolder/f/fiendish_duo.txt index cd32e383e8f..2497ea301ff 100644 --- a/forge-gui/res/cardsfolder/f/fiendish_duo.txt +++ b/forge-gui/res/cardsfolder/f/fiendish_duo.txt @@ -4,7 +4,7 @@ Types:Creature Devil PT:5/5 K:First Strike R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card,Emblem | ValidTarget$ Opponent | ReplaceWith$ DmgTwice | Description$ If a source would deal damage to an opponent, it deals double that damage to that player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:PlayMain1:TRUE AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/f/fiery_bombardment.txt b/forge-gui/res/cardsfolder/f/fiery_bombardment.txt index d63ad67aa02..7450cbfda6d 100644 --- a/forge-gui/res/cardsfolder/f/fiery_bombardment.txt +++ b/forge-gui/res/cardsfolder/f/fiery_bombardment.txt @@ -1,7 +1,7 @@ Name:Fiery Bombardment ManaCost:1 R Types:Enchantment -A:AB$ DealDamage | Cost$ 2 Sac<1/Creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | PrecostDesc$ Chroma — | SpellDescription$ CARDNAME deals damage to any target equal to the number of red mana symbols in the sacrificed creature's mana cost. +A:AB$ DealDamage | Cost$ 2 Sac<1/Creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | PrecostDesc$ Chroma — | SpellDescription$ CARDNAME deals damage to any target equal to the number of red mana symbols in the sacrificed creature's mana cost. SVar:X:Sacrificed$ChromaSource.Red SVar:NonStackingEffect:True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/f/fiery_emancipation.txt b/forge-gui/res/cardsfolder/f/fiery_emancipation.txt index dfabe6b26c8..7d1fb1710ba 100755 --- a/forge-gui/res/cardsfolder/f/fiery_emancipation.txt +++ b/forge-gui/res/cardsfolder/f/fiery_emancipation.txt @@ -2,7 +2,7 @@ Name:Fiery Emancipation ManaCost:3 R R R Types:Enchantment R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.YouCtrl,Emblem.YouCtrl | ValidTarget$ Permanent,Player | ReplaceWith$ Dmg3 | Description$ If a source you control would deal damage to a permanent or player, it deals triple that damage to that permanent or player instead. -SVar:Dmg3:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:Dmg3:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Thrice SVar:PlayMain1:TRUE Oracle:If a source you control would deal damage to a permanent or player, it deals triple that damage to that permanent or player instead. diff --git a/forge-gui/res/cardsfolder/f/fiery_impulse.txt b/forge-gui/res/cardsfolder/f/fiery_impulse.txt index 57c7d36a132..9a5609dd96e 100644 --- a/forge-gui/res/cardsfolder/f/fiery_impulse.txt +++ b/forge-gui/res/cardsfolder/f/fiery_impulse.txt @@ -1,8 +1,8 @@ Name:Fiery Impulse ManaCost:R Types:Instant -A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 2 | SubAbility$ DBDamage | ConditionCheckSVar$ X | ConditionSVarCompare$ LT2 | References$ X | SpellDescription$ CARDNAME deals 2 damage to target creature. -SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X | SpellDescription$ Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, CARDNAME deals 3 damage instead. +A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 2 | SubAbility$ DBDamage | ConditionCheckSVar$ X | ConditionSVarCompare$ LT2 | SpellDescription$ CARDNAME deals 2 damage to target creature. +SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | SpellDescription$ Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, CARDNAME deals 3 damage instead. SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/fiery_impulse.jpg Oracle:Fiery Impulse deals 2 damage to target creature.\nSpell mastery — If there are two or more instant and/or sorcery cards in your graveyard, Fiery Impulse deals 3 damage instead. diff --git a/forge-gui/res/cardsfolder/f/fight_with_fire.txt b/forge-gui/res/cardsfolder/f/fight_with_fire.txt index b4554c03165..c772011dd53 100644 --- a/forge-gui/res/cardsfolder/f/fight_with_fire.txt +++ b/forge-gui/res/cardsfolder/f/fight_with_fire.txt @@ -2,8 +2,8 @@ Name:Fight with Fire ManaCost:2 R Types:Sorcery K:Kicker:5 R -A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 5 | TargetMin$ X | TargetMax$ X | References$ X | SubAbility$ DBDealDamage | AILogic$ AssumeAtLeastOneTarget | SpellDescription$ CARDNAME deals 5 damage to target creature. If this spell was kicked, it deals 10 damage divided as you choose among any number of targets instead. -SVar:DBDealDamage:DB$ DealDamage | Condition$ Kicked | ValidTgts$ Creature,Player,Planeswalker | NumDmg$ 10 | TargetMin$ Y | TargetMax$ Z | DividedAsYouChoose$ Z | References$ Y,Z | AILogic$ AssumeAtLeastOneTarget +A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 5 | TargetMin$ X | TargetMax$ X | SubAbility$ DBDealDamage | AILogic$ AssumeAtLeastOneTarget | SpellDescription$ CARDNAME deals 5 damage to target creature. If this spell was kicked, it deals 10 damage divided as you choose among any number of targets instead. +SVar:DBDealDamage:DB$ DealDamage | Condition$ Kicked | ValidTgts$ Creature,Player,Planeswalker | NumDmg$ 10 | TargetMin$ Y | TargetMax$ Z | DividedAsYouChoose$ Z | AILogic$ AssumeAtLeastOneTarget SVar:X:Count$Kicked.0.1 SVar:Y:Count$Kicked.1.0 SVar:Z:Count$Kicked.10.0 diff --git a/forge-gui/res/cardsfolder/f/figure_of_destiny_avatar.txt b/forge-gui/res/cardsfolder/f/figure_of_destiny_avatar.txt index c0bc56e5401..b79ead27b29 100644 --- a/forge-gui/res/cardsfolder/f/figure_of_destiny_avatar.txt +++ b/forge-gui/res/cardsfolder/f/figure_of_destiny_avatar.txt @@ -2,6 +2,6 @@ Name:Figure of Destiny Avatar ManaCost:no cost Types:Vanguard HandLifeModifier:+0/+3 -A:AB$ PutCounter | ActivationZone$ Command | Cost$ X | CounterType$ P1P1 | CounterNum$ 1 | ValidTgts$ Creature.counters_LTX_P1P1 | TgtPrompt$ Select target creature with fewer than X +1/+1 counters on it | References$ X | SpellDescription$ Put a +1/+1 counter on target creature with fewer than X +1/+1 counters on it. +A:AB$ PutCounter | ActivationZone$ Command | Cost$ X | CounterType$ P1P1 | CounterNum$ 1 | ValidTgts$ Creature.counters_LTX_P1P1 | TgtPrompt$ Select target creature with fewer than X +1/+1 counters on it | SpellDescription$ Put a +1/+1 counter on target creature with fewer than X +1/+1 counters on it. SVar:X:Count$xPaid Oracle:Hand +0, life +3\n{X}: Put a +1/+1 counter on target creature with fewer than X +1/+1 counters on it. diff --git a/forge-gui/res/cardsfolder/f/filigree_angel.txt b/forge-gui/res/cardsfolder/f/filigree_angel.txt index 49dbc2b2e81..fc45b9f6695 100644 --- a/forge-gui/res/cardsfolder/f/filigree_angel.txt +++ b/forge-gui/res/cardsfolder/f/filigree_angel.txt @@ -4,7 +4,7 @@ Types:Artifact Creature Angel PT:4/4 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 3 life for each artifact you control. -SVar:TrigGainLife:DB$GainLife | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | LifeAmount$ X SVar:X:Count$Valid Artifact.YouCtrl/Times.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/filigree_angel.jpg Oracle:Flying\nWhen Filigree Angel enters the battlefield, you gain 3 life for each artifact you control. diff --git a/forge-gui/res/cardsfolder/f/filthy_cur.txt b/forge-gui/res/cardsfolder/f/filthy_cur.txt index c64bef36e6c..09fd3343b94 100644 --- a/forge-gui/res/cardsfolder/f/filthy_cur.txt +++ b/forge-gui/res/cardsfolder/f/filthy_cur.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Creature Dog PT:2/2 T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME is dealt damage, you lose that much life. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/filthy_cur.jpg Oracle:Whenever Filthy Cur is dealt damage, you lose that much life. diff --git a/forge-gui/res/cardsfolder/f/final_fortune.txt b/forge-gui/res/cardsfolder/f/final_fortune.txt index 0140307e795..a7cc3fc3815 100644 --- a/forge-gui/res/cardsfolder/f/final_fortune.txt +++ b/forge-gui/res/cardsfolder/f/final_fortune.txt @@ -1,7 +1,7 @@ Name:Final Fortune ManaCost:R R Types:Instant -A:SP$ AddTurn | Cost$ R R | NumTurns$ 1 | ExtraTurnDelayedTrigger$ DBDelTrig | ExtraTurnDelayedTriggerExcute$ TrigLose | References$ DBDelTrig,TrigLose | SpellDescription$ Take an extra turn after this one. At the beginning of that turn's end step, you lose the game. +A:SP$ AddTurn | Cost$ R R | NumTurns$ 1 | ExtraTurnDelayedTrigger$ DBDelTrig | ExtraTurnDelayedTriggerExcute$ TrigLose | SpellDescription$ Take an extra turn after this one. At the beginning of that turn's end step, you lose the game. SVar:DBDelTrig:ThisTurn$ True | Mode$ Phase | Phase$ End of Turn | TriggerDescription$ At the beginning of that turn's end step, you lose the game. SVar:TrigLose:DB$ LosesGame | Defined$ You AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/f/final_punishment.txt b/forge-gui/res/cardsfolder/f/final_punishment.txt index 652ccf9ed37..84902394370 100644 --- a/forge-gui/res/cardsfolder/f/final_punishment.txt +++ b/forge-gui/res/cardsfolder/f/final_punishment.txt @@ -1,7 +1,7 @@ Name:Final Punishment ManaCost:3 B B Types:Sorcery -A:SP$ LoseLife | Cost$ 3 B B | ValidTgts$ Player | LifeAmount$ X | References$ X | SpellDescription$ Target player loses life equal to the damage already dealt to that player this turn. +A:SP$ LoseLife | Cost$ 3 B B | ValidTgts$ Player | LifeAmount$ X | SpellDescription$ Target player loses life equal to the damage already dealt to that player this turn. SVar:X:TargetedPlayer$DamageThisTurn SVar:Picture:http://www.wizards.com/global/images/magic/general/final_punishment.jpg Oracle:Target player loses life equal to the damage already dealt to that player this turn. diff --git a/forge-gui/res/cardsfolder/f/final_strike.txt b/forge-gui/res/cardsfolder/f/final_strike.txt index a723f21f1f9..eecff9aa5aa 100644 --- a/forge-gui/res/cardsfolder/f/final_strike.txt +++ b/forge-gui/res/cardsfolder/f/final_strike.txt @@ -1,7 +1,7 @@ Name:Final Strike ManaCost:2 B B Types:Sorcery -A:SP$ DealDamage | Cost$ 2 B B Sac<1/Creature> | ValidTgts$ Opponent,Planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target opponent or planeswalker equal to the sacrificed creature's power. +A:SP$ DealDamage | Cost$ 2 B B Sac<1/Creature> | ValidTgts$ Opponent,Planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target opponent or planeswalker equal to the sacrificed creature's power. SVar:X:Sacrificed$CardPower AI:RemoveDeck:All SVar:Picture:http://serv3.tcgimages.eu/img/cards/Portal/final_strike.jpg diff --git a/forge-gui/res/cardsfolder/f/finale_of_devastation.txt b/forge-gui/res/cardsfolder/f/finale_of_devastation.txt index acf224c4426..eb0be41d776 100644 --- a/forge-gui/res/cardsfolder/f/finale_of_devastation.txt +++ b/forge-gui/res/cardsfolder/f/finale_of_devastation.txt @@ -1,7 +1,7 @@ Name:Finale of Devastation ManaCost:X G G Types:Sorcery -A:SP$ ChangeZone | Cost$ X G G | ChangeType$ Creature.YouCtrl+cmcLEX | Hidden$ True | Origin$ Library | OriginChoice$ True | OriginAlternative$ Graveyard | AlternativeMessage$ Would you like to search your library with this ability? If you do, your library will be shuffled. | Destination$ Battlefield | ShuffleNonMandatory$ True | SubAbility$ DBPump | References$ X | SpellDescription$ Search your library and/or graveyard for a creature card with converted mana cost X or less and put it onto the battlefield. If you search your library this way, shuffle it. If X is 10 or more, creatures you control get +X/+X and gain haste until end of turn. -SVar:DBPump:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Haste | NumAtt$ X | NumDef$ X | References$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 +A:SP$ ChangeZone | Cost$ X G G | ChangeType$ Creature.YouCtrl+cmcLEX | Hidden$ True | Origin$ Library | OriginChoice$ True | OriginAlternative$ Graveyard | AlternativeMessage$ Would you like to search your library with this ability? If you do, your library will be shuffled. | Destination$ Battlefield | ShuffleNonMandatory$ True | SubAbility$ DBPump | SpellDescription$ Search your library and/or graveyard for a creature card with converted mana cost X or less and put it onto the battlefield. If you search your library this way, shuffle it. If X is 10 or more, creatures you control get +X/+X and gain haste until end of turn. +SVar:DBPump:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Haste | NumAtt$ X | NumDef$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 SVar:X:Count$xPaid Oracle:Search your library and/or graveyard for a creature card with converted mana cost X or less and put it onto the battlefield. If you search your library this way, shuffle it. If X is 10 or more, creatures you control get +X/+X and gain haste until end of turn. diff --git a/forge-gui/res/cardsfolder/f/finale_of_eternity.txt b/forge-gui/res/cardsfolder/f/finale_of_eternity.txt index 3bad528c8f4..da2a124858f 100644 --- a/forge-gui/res/cardsfolder/f/finale_of_eternity.txt +++ b/forge-gui/res/cardsfolder/f/finale_of_eternity.txt @@ -1,7 +1,7 @@ Name:Finale of Eternity ManaCost:X B B Types:Sorcery -A:SP$ Destroy | Cost$ X B B | References$ X | TargetMin$ 0 | TargetMax$ 3 | ValidTgts$ Creature.toughnessLEX | SubAbility$ DBChangeZone | SpellDescription$ Destroy up to three target creatures with toughness X or less. If X is 10 or more, return all creature cards from your graveyard to the battlefield. -SVar:DBChangeZone:DB$ ChangeZoneAll | ChangeType$ Creature.YouCtrl | Origin$ Graveyard | Destination$ Battlefield | References$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 +A:SP$ Destroy | Cost$ X B B | TargetMin$ 0 | TargetMax$ 3 | ValidTgts$ Creature.toughnessLEX | SubAbility$ DBChangeZone | SpellDescription$ Destroy up to three target creatures with toughness X or less. If X is 10 or more, return all creature cards from your graveyard to the battlefield. +SVar:DBChangeZone:DB$ ChangeZoneAll | ChangeType$ Creature.YouCtrl | Origin$ Graveyard | Destination$ Battlefield | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 SVar:X:Count$xPaid Oracle:Destroy up to three target creatures with toughness X or less. If X is 10 or more, return all creature cards from your graveyard to the battlefield. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/f/finale_of_glory.txt b/forge-gui/res/cardsfolder/f/finale_of_glory.txt index 52436d8dce7..02ef7aa669f 100644 --- a/forge-gui/res/cardsfolder/f/finale_of_glory.txt +++ b/forge-gui/res/cardsfolder/f/finale_of_glory.txt @@ -1,8 +1,8 @@ Name:Finale of Glory ManaCost:X W W Types:Sorcery -A:SP$ Token | Cost$ X W W | TokenAmount$ X | References$ X | TokenScript$ w_2_2_soldier_vigilance | TokenOwner$ You | SubAbility$ DBAngels | SpellDescription$ Create X 2/2 white Soldier creature tokens with vigilance. If X is 10 or more, also create X 4/4 white Angel creature tokens with flying and vigilance. -SVar:DBAngels:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ w_4_4_angel_flying_vigilance | TokenOwner$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 +A:SP$ Token | Cost$ X W W | TokenAmount$ X | TokenScript$ w_2_2_soldier_vigilance | TokenOwner$ You | SubAbility$ DBAngels | SpellDescription$ Create X 2/2 white Soldier creature tokens with vigilance. If X is 10 or more, also create X 4/4 white Angel creature tokens with flying and vigilance. +SVar:DBAngels:DB$ Token | TokenAmount$ X | TokenScript$ w_4_4_angel_flying_vigilance | TokenOwner$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 SVar:X:Count$xPaid DeckHas:Ability$Token Oracle:Create X 2/2 white Soldier creature tokens with vigilance. If X is 10 or more, also create X 4/4 white Angel creature tokens with flying and vigilance. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/f/finale_of_promise.txt b/forge-gui/res/cardsfolder/f/finale_of_promise.txt index 04435ca4fb3..2bbab50d745 100644 --- a/forge-gui/res/cardsfolder/f/finale_of_promise.txt +++ b/forge-gui/res/cardsfolder/f/finale_of_promise.txt @@ -1,10 +1,10 @@ Name:Finale of Promise ManaCost:X R R Types:Sorcery -A:SP$ Pump | Cost$ X R R | ValidTgts$ Instant.YouOwn+cmcLEX | TgtZone$ Graveyard | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target instant card in your graveyard with converted mana cost X or less | RememberObjects$ Targeted | SubAbility$ DBPump | References$ X | SpellDescription$ You may cast up to one target instant card and/or up to one target sorcery card from your graveyard each with converted mana cost X or less without paying their mana costs. If a spell cast this way would be put into your graveyard this turn, exile it instead. If X is 10 or more, copy each of those spells twice. You may choose new targets for the copies. -SVar:DBPump:DB$ Pump | ValidTgts$ Sorcery.YouOwn+cmcLEX | TgtZone$ Graveyard | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target sorcery card in your graveyard with converted mana cost X or less | RememberObjects$ Targeted | SubAbility$ DBPlay | References$ X | StackDescription$ None +A:SP$ Pump | Cost$ X R R | ValidTgts$ Instant.YouOwn+cmcLEX | TgtZone$ Graveyard | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target instant card in your graveyard with converted mana cost X or less | RememberObjects$ Targeted | SubAbility$ DBPump | SpellDescription$ You may cast up to one target instant card and/or up to one target sorcery card from your graveyard each with converted mana cost X or less without paying their mana costs. If a spell cast this way would be put into your graveyard this turn, exile it instead. If X is 10 or more, copy each of those spells twice. You may choose new targets for the copies. +SVar:DBPump:DB$ Pump | ValidTgts$ Sorcery.YouOwn+cmcLEX | TgtZone$ Graveyard | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target sorcery card in your graveyard with converted mana cost X or less | RememberObjects$ Targeted | SubAbility$ DBPlay | StackDescription$ None SVar:DBPlay:DB$ Play | Valid$ Card.IsRemembered | ValidZone$ Graveyard | Controller$ You | WithoutManaCost$ True | Optional$ True | Amount$ All | SubAbility$ DBRepeat | ReplaceGraveyard$ Exile -SVar:DBRepeat:DB$ RepeatEach | DefinedCards$ Remembered | ClearRemembered$ True | ChooseOrder$ True | RepeatSubAbility$ DBCopy | References$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 +SVar:DBRepeat:DB$ RepeatEach | DefinedCards$ Remembered | ClearRemembered$ True | ChooseOrder$ True | RepeatSubAbility$ DBCopy | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 SVar:DBCopy:DB$ CopySpellAbility | Amount$ 2 | Defined$ Remembered | MayChooseTarget$ True SVar:X:Count$xPaid Oracle:You may cast up to one target instant card and/or up to one target sorcery card from your graveyard each with converted mana cost X or less without paying their mana costs. If a spell cast this way would be put into your graveyard this turn, exile it instead. If X is 10 or more, copy each of those spells twice. You may choose new targets for the copies. diff --git a/forge-gui/res/cardsfolder/f/finale_of_revelation.txt b/forge-gui/res/cardsfolder/f/finale_of_revelation.txt index dfc4de68b67..038425bcae3 100644 --- a/forge-gui/res/cardsfolder/f/finale_of_revelation.txt +++ b/forge-gui/res/cardsfolder/f/finale_of_revelation.txt @@ -1,10 +1,10 @@ Name:Finale of Revelation ManaCost:X U U Types:Sorcery -A:SP$ ChangeZoneAll | Cost$ X U U | ChangeType$ Card.YouOwn | Origin$ Graveyard | Destination$ Library | Shuffle$ True | Random$ True | SubAbility$ DBDraw | UseAllOriginZones$ True | References$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 | SpellDescription$ Draw X cards. If X is 10 or more, instead shuffle your graveyard into your library, draw X cards, untap up to five lands, and you have no maximum hand size for the rest of the game. -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X | SubAbility$ DBUntap | AILogic$ ConsiderPrimary -SVar:DBUntap:DB$ Untap | UntapUpTo$ True | UntapType$ Land | Amount$ 5 | SubAbility$ DBEffect | References$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 -SVar:DBEffect:DB$ Effect | Name$ Finale of Revelation Effect | StaticAbilities$ STHandSize | Duration$ Permanent | SubAbility$ DBChange | References$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 +A:SP$ ChangeZoneAll | Cost$ X U U | ChangeType$ Card.YouOwn | Origin$ Graveyard | Destination$ Library | Shuffle$ True | Random$ True | SubAbility$ DBDraw | UseAllOriginZones$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 | SpellDescription$ Draw X cards. If X is 10 or more, instead shuffle your graveyard into your library, draw X cards, untap up to five lands, and you have no maximum hand size for the rest of the game. +SVar:DBDraw:DB$ Draw | NumCards$ X | SubAbility$ DBUntap | AILogic$ ConsiderPrimary +SVar:DBUntap:DB$ Untap | UntapUpTo$ True | UntapType$ Land | Amount$ 5 | SubAbility$ DBEffect | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 +SVar:DBEffect:DB$ Effect | Name$ Finale of Revelation Effect | StaticAbilities$ STHandSize | Duration$ Permanent | SubAbility$ DBChange | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 SVar:STHandSize:Mode$ Continuous | EffectZone$ Command | Affected$ You | SetMaxHandSize$ Unlimited | Description$ You have no maximum hand size. SVar:DBChange:DB$ ChangeZone | Origin$ Stack | Destination$ Exile | StackDescription$ Exile CARDNAME SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/f/fire_dragon.txt b/forge-gui/res/cardsfolder/f/fire_dragon.txt index 1c092008d0b..daa61f99e9c 100644 --- a/forge-gui/res/cardsfolder/f/fire_dragon.txt +++ b/forge-gui/res/cardsfolder/f/fire_dragon.txt @@ -4,7 +4,7 @@ Types:Creature Dragon PT:6/6 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals damage to target creature equal to the number of Mountains you control. -SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X SVar:X:Count$TypeYouCtrl.Mountain SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/fire_dragon.jpg diff --git a/forge-gui/res/cardsfolder/f/fire_giants_fury.txt b/forge-gui/res/cardsfolder/f/fire_giants_fury.txt index ae2301eb86c..a862fab66fc 100644 --- a/forge-gui/res/cardsfolder/f/fire_giants_fury.txt +++ b/forge-gui/res/cardsfolder/f/fire_giants_fury.txt @@ -4,7 +4,7 @@ Types:Sorcery A:SP$ Pump | Cost$ 1 R | ValidTgts$ Giant.YouCtrl | TgtPrompt$ Select target Giant you control | NumAtt$ +2 | NumDef$ +2 | KW$ Trample | SubAbility$ DBCombatDamageEffect | StackDescription$ {c:Targeted} gets +2/+2 and gains trample until end of turn. Whenever it deals combat damage to a player this turn, exile that many cards from the top of your library. Until the end of your next turn, you may play those cards. | SpellDescription$ Target Giant you control gets +2/+2 and gains trample until end of turn. Whenever it deals combat damage to a player this turn, exile that many cards from the top of your library. Until the end of your next turn, you may play those cards. SVar:DBCombatDamageEffect:DB$ Effect | ImprintCards$ Targeted | Triggers$ DealCombatDamagePlayer | SVars$ TrigExile,DBEffect,X,STPlay,DBCleanup | SubAbility$ DBCleanup SVar:DealCombatDamagePlayer:Mode$ DamageDone | ValidSource$ Card.IsImprinted | ValidTarget$ Player | Execute$ TrigExile | CombatDamage$ True | TriggerDescription$ Whenever this Giant deals combat damage to a player this turn, exile that many cards from the top of your library. Until the end of your next turn, you may play those cards. -SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ X | References$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect +SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | ForgetOnMoved$ Exile | RememberObjects$ RememberedCard | Duration$ UntilTheEndOfYourNextTurn | SubAbility$ DBCleanup SVar:STPlay:Mode$ Continuous | EffectZone$ Command | Affected$ Card.IsRemembered | MayPlay$ True | AffectedZone$ Exile | Description$ Until the end of your next turn, you may play those cards. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True diff --git a/forge-gui/res/cardsfolder/f/fire_servant.txt b/forge-gui/res/cardsfolder/f/fire_servant.txt index 0743457f0b7..7e6b8bb9de0 100644 --- a/forge-gui/res/cardsfolder/f/fire_servant.txt +++ b/forge-gui/res/cardsfolder/f/fire_servant.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Creature Elemental PT:4/3 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Instant.YouCtrl,Sorcery.YouCtrl | ReplaceWith$ DmgTwice | Description$ If a red instant or sorcery spell you control would deal damage, it deals double that damage instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/fire_servant.jpg Oracle:If a red instant or sorcery spell you control would deal damage, it deals double that damage instead. diff --git a/forge-gui/res/cardsfolder/f/fireball.txt b/forge-gui/res/cardsfolder/f/fireball.txt index 297010b3f77..511723eecf0 100644 --- a/forge-gui/res/cardsfolder/f/fireball.txt +++ b/forge-gui/res/cardsfolder/f/fireball.txt @@ -1,7 +1,7 @@ Name:Fireball ManaCost:X R Types:Sorcery -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | TargetMin$ 0 | TargetMax$ MaxTargets | DivideEvenly$ RoundedDown | References$ X,MaxTargets,Maxplayer,Maxcreature,IncreaseCost | SpellDescription$ This spell costs {1} more to cast for each target beyond the first. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | TargetMin$ 0 | TargetMax$ MaxTargets | DivideEvenly$ RoundedDown,MaxTargets,Maxplayer,Maxcreature,IncreaseCost | SpellDescription$ This spell costs {1} more to cast for each target beyond the first. S:Mode$ RaiseCost | ValidCard$ Card.Self | Type$ Spell | Amount$ IncreaseCost | EffectZone$ All | Description$ CARDNAME deals X damage divided evenly, rounded down, among any number of targets. SVar:X:Count$xPaid SVar:MaxTargets:SVar$Maxplayer/Plus.Maxcreatureorplaneswalker diff --git a/forge-gui/res/cardsfolder/f/fireblade_charger.txt b/forge-gui/res/cardsfolder/f/fireblade_charger.txt index 972b17283d7..8808a48a48a 100755 --- a/forge-gui/res/cardsfolder/f/fireblade_charger.txt +++ b/forge-gui/res/cardsfolder/f/fireblade_charger.txt @@ -4,7 +4,7 @@ Types:Creature Goblin Warrior PT:1/1 S:Mode$ Continuous | Affected$ Card.Self+equipped | AddKeyword$ Haste | Description$ As long as CARDNAME is equipped, it has haste. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, it deals damage equal to its power to any target. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:TriggeredCard$CardPower SVar:EquipMe:Once DeckHints:Type$Equipment diff --git a/forge-gui/res/cardsfolder/f/firecannon_blast.txt b/forge-gui/res/cardsfolder/f/firecannon_blast.txt index ae49893e776..c47bfa70640 100644 --- a/forge-gui/res/cardsfolder/f/firecannon_blast.txt +++ b/forge-gui/res/cardsfolder/f/firecannon_blast.txt @@ -1,7 +1,7 @@ Name:Firecannon Blast ManaCost:1 R R Types:Sorcery -A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 3 | AILogic$ ProcRaid.6 | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ EQ0 | References$ RaidTest | SubAbility$ DBDealDamage | SpellDescription$ CARDNAME deals 3 damage to target creature. Raid — CARDNAME deals 6 damage instead if you attacked this turn. -SVar:DBDealDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ 6 | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ GE1 | References$ RaidTest +A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 3 | AILogic$ ProcRaid.6 | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ EQ0 | SubAbility$ DBDealDamage | SpellDescription$ CARDNAME deals 3 damage to target creature. Raid — CARDNAME deals 6 damage instead if you attacked this turn. +SVar:DBDealDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ 6 | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ GE1 SVar:RaidTest:Count$AttackersDeclared Oracle:Firecannon Blast deals 3 damage to target creature.\nRaid — Firecannon Blast deals 6 damage instead if you attacked this turn. diff --git a/forge-gui/res/cardsfolder/f/firecat_blitz.txt b/forge-gui/res/cardsfolder/f/firecat_blitz.txt index 4b19aaf779a..5f96849cb2f 100644 --- a/forge-gui/res/cardsfolder/f/firecat_blitz.txt +++ b/forge-gui/res/cardsfolder/f/firecat_blitz.txt @@ -1,7 +1,7 @@ Name:Firecat Blitz ManaCost:X R R Types:Sorcery -A:SP$ Token | Cost$ X R R | TokenAmount$ X | TokenScript$ r_1_1_elemental_cat_haste | LegacyImage$ r 1 1 elemental cat haste jud | AtEOT$ Exile | References$ X | SpellDescription$ Create X 1/1 red Elemental Cat creature tokens with haste. Exile them at the beginning of the next end step. +A:SP$ Token | Cost$ X R R | TokenAmount$ X | TokenScript$ r_1_1_elemental_cat_haste | LegacyImage$ r 1 1 elemental cat haste jud | AtEOT$ Exile | SpellDescription$ Create X 1/1 red Elemental Cat creature tokens with haste. Exile them at the beginning of the next end step. SVar:X:Count$xPaid #X Will get overwritten by Announce K:Flashback:R R Sac diff --git a/forge-gui/res/cardsfolder/f/firedrinker_satyr.txt b/forge-gui/res/cardsfolder/f/firedrinker_satyr.txt index 2a5e14a535e..0c13719f8d6 100644 --- a/forge-gui/res/cardsfolder/f/firedrinker_satyr.txt +++ b/forge-gui/res/cardsfolder/f/firedrinker_satyr.txt @@ -3,7 +3,7 @@ ManaCost:R Types:Creature Satyr Shaman PT:2/1 T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to you. -SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ You | References$ X +SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ You SVar:X:TriggerCount$DamageAmount A:AB$ Pump | Cost$ 1 R | Defined$ Self | NumAtt$ 1 | SubAbility$ DBDmg | SpellDescription$ CARDNAME gets +1/+0 until end of turn and deals 1 damage to you. SVar:DBDmg:DB$ DealDamage | NumDmg$ 1 | Defined$ You diff --git a/forge-gui/res/cardsfolder/f/firefist_adept.txt b/forge-gui/res/cardsfolder/f/firefist_adept.txt index 4a09679d5db..f2202651524 100644 --- a/forge-gui/res/cardsfolder/f/firefist_adept.txt +++ b/forge-gui/res/cardsfolder/f/firefist_adept.txt @@ -3,7 +3,7 @@ ManaCost:4 R Types:Creature Human Wizard PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals X damage to target creature an opponent controls, where X is the number of instant and sorcery cards in your graveyard. -SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X SVar:X:Count$Valid Wizard.YouCtrl DeckHints:Type$Wizard Oracle:When Firefist Adept enters the battlefield, it deals X damage to target creature an opponent controls, where X is the number of Wizards you control. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/f/fireflux_squad.txt b/forge-gui/res/cardsfolder/f/fireflux_squad.txt index 9d9e25cff9e..edf2d2d9f9c 100755 --- a/forge-gui/res/cardsfolder/f/fireflux_squad.txt +++ b/forge-gui/res/cardsfolder/f/fireflux_squad.txt @@ -5,7 +5,7 @@ PT:4/3 K:Haste T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigExile | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME attacks, you may exile another target attacking creature you control. If you do, reveal cards from the top of your library until you reveal a creature card. Put that card onto the battlefield tapped and flying and the rest on the bottom of your library in a random order. SVar:TrigExile:DB$ ChangeZone | ValidTgts$ Creature.attacking+Other+YouCtrl | TgtPrompt$ Select another target attacking creature you control | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBDigUntil -SVar:DBDigUntil:DB$ DigUntil | Valid$ Creature | ValidDescription$ Creature | FoundDestination$ Battlefield | Tapped$ True | Attacking$ True | GainControl$ True | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | RevealRandomOrder$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBCleanup +SVar:DBDigUntil:DB$ DigUntil | Valid$ Creature | ValidDescription$ Creature | FoundDestination$ Battlefield | Tapped$ True | Attacking$ True | GainControl$ True | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | RevealRandomOrder$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount Oracle:Haste\nWhenever Fireflux Squad attacks, you may exile another target attacking creature you control. If you do, reveal cards from the top of your library until you reveal a creature card. Put that card onto the battlefield tapped and attacking and the rest on the bottom of your library in a random order. diff --git a/forge-gui/res/cardsfolder/f/fires_of_invention.txt b/forge-gui/res/cardsfolder/f/fires_of_invention.txt index 95a49ba9438..4e5fd881f90 100644 --- a/forge-gui/res/cardsfolder/f/fires_of_invention.txt +++ b/forge-gui/res/cardsfolder/f/fires_of_invention.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Enchantment S:Mode$ CantBeCast | NonCasterTurn$ True | Caster$ You | Description$ You can cast spells only during your turn and you can cast no more than two spells each turn. S:Mode$ CantBeCast | NumLimitEachTurn$ 2 | Caster$ You | Secondary$ True | Description$ You can cast spells only during your turn and you can cast no more than two spells each turn. -S:Mode$ Continuous | Affected$ Card.nonLand+YouOwn+cmcLEX | References$ X | MayPlay$ True | MayPlayWithoutManaCost$ True | AffectedZone$ Hand,Graveyard,Exile,Command,Library | MayPlayDontGrantZonePermissions$ True | Description$ You may cast spells with converted mana cost less than or equal to the number of lands you control without paying their mana costs. +S:Mode$ Continuous | Affected$ Card.nonLand+YouOwn+cmcLEX | MayPlay$ True | MayPlayWithoutManaCost$ True | AffectedZone$ Hand,Graveyard,Exile,Command,Library | MayPlayDontGrantZonePermissions$ True | Description$ You may cast spells with converted mana cost less than or equal to the number of lands you control without paying their mana costs. SVar:X:Count$Valid Land.YouCtrl AI:RemoveDeck:Random SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/f/firestorm.txt b/forge-gui/res/cardsfolder/f/firestorm.txt index 9395f58d1ba..5cfc6c27178 100644 --- a/forge-gui/res/cardsfolder/f/firestorm.txt +++ b/forge-gui/res/cardsfolder/f/firestorm.txt @@ -1,7 +1,7 @@ Name:Firestorm ManaCost:R Types:Instant -A:SP$ DealDamage | Cost$ R Discard | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | TargetMin$ 0 | TargetMax$ MaxTargets | NumDmg$ X | References$ X,MaxTargets,MaxPlayers,MaxCreatures | SpellDescription$ CARDNAME deals X damage to each of X targets. +A:SP$ DealDamage | Cost$ R Discard | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | TargetMin$ 0 | TargetMax$ MaxTargets | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each of X targets. SVar:X:TargetedObjects$Amount SVar:MaxTargets:SVar$MaxPlayers/Plus.MaxCreaturesAndPlaneswalkers SVar:MaxPlayers:PlayerCountPlayers$Amount diff --git a/forge-gui/res/cardsfolder/f/firjas_retribution.txt b/forge-gui/res/cardsfolder/f/firjas_retribution.txt index 2b728944412..d7d771ae634 100644 --- a/forge-gui/res/cardsfolder/f/firjas_retribution.txt +++ b/forge-gui/res/cardsfolder/f/firjas_retribution.txt @@ -4,7 +4,7 @@ Types:Enchantment Saga K:Saga:3:TrigAngel,DBAnimateAll,TrigPump SVar:TrigAngel:DB$ Token | TokenAmount$ 1 | TokenScript$ w_4_4_angel_warrior_flying_vigilance | TokenOwner$ You | SpellDescription$ Create a 4/4 white Angel creature token with flying and vigilance. SVar:DBAnimateAll:DB$ AnimateAll | ValidCards$ Angel.YouCtrl | Abilities$ TapDestroy | SpellDescription$ Until the end of turn, Angels you control gain "{T}: Destroy target creature with power less than this creature." -SVar:TapDestroy:AB$ Destroy | Cost$ T | ValidTgts$ Creature.powerLTX | References$ X | TgtPrompt$ Select target creature with power less than this creature | SpellDescription$ Destroy target creature with power less than this creature. +SVar:TapDestroy:AB$ Destroy | Cost$ T | ValidTgts$ Creature.powerLTX | TgtPrompt$ Select target creature with power less than this creature | SpellDescription$ Destroy target creature with power less than this creature. SVar:X:Count$CardPower SVar:TrigPump:DB$ PumpAll | ValidCards$ Angel.YouCtrl | KW$ Double Strike | SpellDescription$ Angels you control gain Double Strike until end of turn. DeckHints:Type$Angel diff --git a/forge-gui/res/cardsfolder/f/first_response.txt b/forge-gui/res/cardsfolder/f/first_response.txt index 648139feea9..92ed33c8ec9 100644 --- a/forge-gui/res/cardsfolder/f/first_response.txt +++ b/forge-gui/res/cardsfolder/f/first_response.txt @@ -1,7 +1,7 @@ Name:First Response ManaCost:3 W Types:Enchantment -T:Mode$ Phase | Phase$ Upkeep | CheckSVar$ X | References$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of each upkeep, if you lost life last turn, create a 1/1 white Soldier creature token. +T:Mode$ Phase | Phase$ Upkeep | CheckSVar$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of each upkeep, if you lost life last turn, create a 1/1 white Soldier creature token. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier m15 SVar:X:Count$Controller$LifeLostLastTurn SVar:Picture:http://www.wizards.com/global/images/magic/general/first_response.jpg diff --git a/forge-gui/res/cardsfolder/f/fists_of_flame.txt b/forge-gui/res/cardsfolder/f/fists_of_flame.txt index 72482fab240..06b7a92609c 100644 --- a/forge-gui/res/cardsfolder/f/fists_of_flame.txt +++ b/forge-gui/res/cardsfolder/f/fists_of_flame.txt @@ -2,6 +2,6 @@ Name:Fists of Flame ManaCost:1 R Types:Instant A:SP$ Draw | Cost$ 1 R | NumCards$ 1 | SubAbility$ DBPump | SpellDescription$ Draw a card. Until end of turn, target creature gains trample and gets +1/+0 for each card you've drawn this turn. -SVar:DBPump:DB$ Pump | ValidTgts$ Creature | KW$ Trample | NumAtt$ +X | References$ X +SVar:DBPump:DB$ Pump | ValidTgts$ Creature | KW$ Trample | NumAtt$ +X SVar:X:Count$YouDrewThisTurn Oracle:Draw a card. Until end of turn, target creature gains trample and gets +1/+0 for each card you've drawn this turn. diff --git a/forge-gui/res/cardsfolder/f/flame_burst.txt b/forge-gui/res/cardsfolder/f/flame_burst.txt index be3d3a726d7..52834f182fd 100644 --- a/forge-gui/res/cardsfolder/f/flame_burst.txt +++ b/forge-gui/res/cardsfolder/f/flame_burst.txt @@ -1,7 +1,7 @@ Name:Flame Burst ManaCost:1 R Types:Instant -A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X,Y | SpellDescription$ CARDNAME deals X damage to any target, where X is 2 plus the number of cards named Flame Burst in all graveyards. +A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target, where X is 2 plus the number of cards named Flame Burst in all graveyards. SVar:X:Count$NamedInAllYards.Flame Burst/Plus.Y SVar:Y:Count$ValidGraveyard Card.hasKeywordCARDNAME count as Flame Burst./Plus.2 DeckHints:Name$Flame Burst|Pardic Firecat diff --git a/forge-gui/res/cardsfolder/f/flame_elemental.txt b/forge-gui/res/cardsfolder/f/flame_elemental.txt index d68f6eb267b..7fbf1d260be 100644 --- a/forge-gui/res/cardsfolder/f/flame_elemental.txt +++ b/forge-gui/res/cardsfolder/f/flame_elemental.txt @@ -2,7 +2,7 @@ Name:Flame Elemental ManaCost:2 R R Types:Creature Elemental PT:3/2 -A:AB$ DealDamage | Cost$ R T Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to its power to target creature. +A:AB$ DealDamage | Cost$ R T Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to its power to target creature. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/flame_elemental.jpg Oracle:{R}, {T}, Sacrifice Flame Elemental: It deals damage equal to its power to target creature. diff --git a/forge-gui/res/cardsfolder/f/flameblast_dragon.txt b/forge-gui/res/cardsfolder/f/flameblast_dragon.txt index 253fccceb4e..2127bcbe673 100644 --- a/forge-gui/res/cardsfolder/f/flameblast_dragon.txt +++ b/forge-gui/res/cardsfolder/f/flameblast_dragon.txt @@ -4,7 +4,7 @@ Types:Creature Dragon PT:5/5 K:Flying T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME attacks, you may pay {X}{R}. If you do, Flameblast Dragon deals X damage to any target. -SVar:TrigDamage:AB$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:AB$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/flameblast_dragon.jpg Oracle:Flying\nWhenever Flameblast Dragon attacks, you may pay {X}{R}. If you do, Flameblast Dragon deals X damage to any target. diff --git a/forge-gui/res/cardsfolder/f/flames_of_the_raze_boar.txt b/forge-gui/res/cardsfolder/f/flames_of_the_raze_boar.txt index aaed0664124..447ebb384d3 100644 --- a/forge-gui/res/cardsfolder/f/flames_of_the_raze_boar.txt +++ b/forge-gui/res/cardsfolder/f/flames_of_the_raze_boar.txt @@ -2,7 +2,7 @@ Name:Flames of the Raze-Boar ManaCost:5 R Types:Instant A:SP$ DealDamage | Cost$ 5 R | NumDmg$ 4 | ValidTgts$ Creature.OppCtrl | RememberTargets$ True | TgtPrompt$ Select target creature an opponent controls | SubAbility$ DBDealDamage | SpellDescription$ CARDNAME deals 4 damage to target creature an opponent controls. Then CARDNAME deals 2 damage to each other creature that player controls if you control a creature with power 4 or greater. -SVar:DBDealDamage:DB$ DamageAll | NumDmg$ 2 | ValidCards$ Creature.IsNotRemembered+ControlledBy TargetedOrController | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X| SubAbility$ DBCleanup +SVar:DBDealDamage:DB$ DamageAll | NumDmg$ 2 | ValidCards$ Creature.IsNotRemembered+ControlledBy TargetedOrController | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1| SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Creature.powerGE4+YouCtrl Oracle:Flames of the Raze-Boar deals 4 damage to target creature an opponent controls. Then Flames of the Raze-Boar deals 2 damage to each other creature that player controls if you control a creature with power 4 or greater. diff --git a/forge-gui/res/cardsfolder/f/flametongue_kavu_avatar.txt b/forge-gui/res/cardsfolder/f/flametongue_kavu_avatar.txt index 50b0a11b63a..1847ca3f837 100644 --- a/forge-gui/res/cardsfolder/f/flametongue_kavu_avatar.txt +++ b/forge-gui/res/cardsfolder/f/flametongue_kavu_avatar.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Vanguard HandLifeModifier:+0/-6 T:Mode$ ChangesZone | ValidCard$ Creature.nonToken+YouCtrl | Origin$ Any | Destination$ Battlefield | Execute$ TrigDealDamage | TriggerZones$ Command | TriggerDescription$ Whenever a nontoken creature enters the battlefield under your control, that creature deals X damage to target creature, where X is a number chosen at random from 0 to 4. -SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Creature | NumDmg$ X | References$ X | DamageSource$ TriggeredCard +SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Creature | NumDmg$ X | DamageSource$ TriggeredCard SVar:X:Count$Random.0.4 SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Flametongue Kavu Avatar.full.jpg Oracle:Hand +0, life -6\nWhenever a nontoken creature enters the battlefield under your control, that creature deals X damage to target creature, where X is a number chosen at random from 0 to 4. diff --git a/forge-gui/res/cardsfolder/f/flaming_gambit.txt b/forge-gui/res/cardsfolder/f/flaming_gambit.txt index b97919db2f6..fc58597a92c 100644 --- a/forge-gui/res/cardsfolder/f/flaming_gambit.txt +++ b/forge-gui/res/cardsfolder/f/flaming_gambit.txt @@ -2,10 +2,10 @@ Name:Flaming Gambit ManaCost:X R Types:Instant K:Flashback:X R R -A:SP$ Pump | Cost$ X R | IsCurse$ True | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select a player or planeswalker | References$ X | SubAbility$ DBChooseCard | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals X damage to target player. That player may choose a creature they control and have CARDNAME deal that damage to it instead. +A:SP$ Pump | Cost$ X R | IsCurse$ True | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select a player or planeswalker | SubAbility$ DBChooseCard | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals X damage to target player. That player may choose a creature they control and have CARDNAME deal that damage to it instead. SVar:DBChooseCard:DB$ ChooseCard | Choices$ Card.Creature | Defined$ TargetedOrController | MinAmount$ 0 | TargetControls$ True | AILogic$ WorstCard | SubAbility$ DBDamagePlayer -SVar:DBDamagePlayer:DB$ DealDamage | Defined$ ParentTarget | NumDmg$ X | References$ X | ConditionDefined$ ChosenCard | ConditionPresent$ Card | ConditionCompare$ EQ0 | SubAbility$ DBDamageCreature -SVar:DBDamageCreature:DB$ DealDamage | Defined$ ChosenCard | NumDmg$ X | References$ X | ConditionDefined$ ChosenCard | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup +SVar:DBDamagePlayer:DB$ DealDamage | Defined$ ParentTarget | NumDmg$ X | ConditionDefined$ ChosenCard | ConditionPresent$ Card | ConditionCompare$ EQ0 | SubAbility$ DBDamageCreature +SVar:DBDamageCreature:DB$ DealDamage | Defined$ ChosenCard | NumDmg$ X | ConditionDefined$ ChosenCard | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/flaming_gambit.jpg diff --git a/forge-gui/res/cardsfolder/f/flash_conscription.txt b/forge-gui/res/cardsfolder/f/flash_conscription.txt index a5adefc4abf..702fa96abb8 100644 --- a/forge-gui/res/cardsfolder/f/flash_conscription.txt +++ b/forge-gui/res/cardsfolder/f/flash_conscription.txt @@ -4,7 +4,7 @@ Types:Instant A:SP$ GainControl | Cost$ 5 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | AddKWs$ Haste | LoseControl$ EOT | Untap$ True | SubAbility$ DBAnimate | SpellDescription$ Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn. If {W} was spent to cast this spell, the creature gains "Whenever this creature deals combat damage, you gain that much life" until end of turn. SVar:DBAnimate:DB$ Animate | Defined$ Targeted | Triggers$ TrigDamage | sVars$ GainLife,X | ConditionManaSpent$ W SVar:TrigDamage:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Card.Self | Execute$ GainLife | TriggerZones$ Battlefield | TriggerDescription$ Whenever this creature deals combat damage, you gain that much life. -SVar:GainLife:DB$ GainLife | LifeAmount$ X | References$ X +SVar:GainLife:DB$ GainLife | LifeAmount$ X SVar:X:TriggerCount$DamageAmount DeckHints:Color$White AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/f/flash_of_insight.txt b/forge-gui/res/cardsfolder/f/flash_of_insight.txt index a53686b837d..82e35e2df7f 100644 --- a/forge-gui/res/cardsfolder/f/flash_of_insight.txt +++ b/forge-gui/res/cardsfolder/f/flash_of_insight.txt @@ -1,7 +1,7 @@ Name:Flash of Insight ManaCost:X 1 U Types:Instant -A:SP$ Dig | Cost$ X 1 U | DigNum$ X | ChangeNum$ 1 | DestinationZone$ Hand | DestinationZone2$ Library | LibraryPosition$ -1 | References$ X | SpellDescription$ Look at the top X cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. +A:SP$ Dig | Cost$ X 1 U | DigNum$ X | ChangeNum$ 1 | DestinationZone$ Hand | DestinationZone2$ Library | LibraryPosition$ -1 | SpellDescription$ Look at the top X cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. K:Flashback:1 U ExileFromGrave SVar:X:Count$xPaid AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/f/flayed_nim.txt b/forge-gui/res/cardsfolder/f/flayed_nim.txt index d9890f2a454..ddd55ab9cd5 100644 --- a/forge-gui/res/cardsfolder/f/flayed_nim.txt +++ b/forge-gui/res/cardsfolder/f/flayed_nim.txt @@ -4,7 +4,7 @@ Types:Creature Skeleton PT:2/2 A:AB$ Regenerate | Cost$ 2 B | SpellDescription$ Regenerate CARDNAME. T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Creature | CombatDamage$ True | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME deals combat damage to a creature, that creature's controller loses that much life. -SVar:TrigLoseLife:DB$LoseLife | Defined$ TriggeredTargetController | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$LoseLife | Defined$ TriggeredTargetController | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/flayed_nim.jpg diff --git a/forge-gui/res/cardsfolder/f/flayer_of_the_hatebound.txt b/forge-gui/res/cardsfolder/f/flayer_of_the_hatebound.txt index 6656666f59e..ee288615120 100644 --- a/forge-gui/res/cardsfolder/f/flayer_of_the_hatebound.txt +++ b/forge-gui/res/cardsfolder/f/flayer_of_the_hatebound.txt @@ -5,7 +5,7 @@ PT:4/2 K:Undying T:Mode$ ChangesZone | Origin$ Graveyard | Destination$ Battlefield | TriggerZones$ Battlefield | ValidCard$ Creature.YouOwn+Other | Execute$ ReanimateDmg | TriggerDescription$ Whenever CARDNAME or another creature enters the battlefield from your graveyard, that creature deals damage equal to its power to any target. T:Mode$ ChangesZone | Origin$ Graveyard | Destination$ Battlefield | ValidCard$ Creature.Self | Secondary$ True | Execute$ ReanimateDmg | TriggerDescription$ Whenever CARDNAME or another creature enters the battlefield from your graveyard, that creature deals damage equal to its power to any target. -SVar:ReanimateDmg:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | DamageSource$ TriggeredCard | NumDmg$ Damage | References$ Damage +SVar:ReanimateDmg:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | DamageSource$ TriggeredCard | NumDmg$ Damage SVar:Damage:TriggeredCard$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/flayer_of_the_hatebound.jpg Oracle:Undying (When this creature dies, if it had no +1/+1 counters on it, return it to the battlefield under its owner's control with a +1/+1 counter on it.)\nWhenever Flayer of the Hatebound or another creature enters the battlefield from your graveyard, that creature deals damage equal to its power to any target. diff --git a/forge-gui/res/cardsfolder/f/fleet_swallower.txt b/forge-gui/res/cardsfolder/f/fleet_swallower.txt index 19bca5a962d..a37427d8561 100644 --- a/forge-gui/res/cardsfolder/f/fleet_swallower.txt +++ b/forge-gui/res/cardsfolder/f/fleet_swallower.txt @@ -3,7 +3,7 @@ ManaCost:5 U U Types:Creature Fish PT:6/6 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigMill | TriggerDescription$ Whenever CARDNAME attacks, target player mills half their library, rounded up. -SVar:TrigMill:DB$ Mill | NumCards$ X | References$ X | ValidTgts$ Player | TgtPrompt$ Select target player +SVar:TrigMill:DB$ Mill | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player SVar:X:TargetedPlayer$CardsInLibrary/HalfUp SVar:HasAttackEffect:TRUE Oracle:Whenever Fleet Swallower attacks, target player mills half their library, rounded up. diff --git a/forge-gui/res/cardsfolder/f/flesh_allergy.txt b/forge-gui/res/cardsfolder/f/flesh_allergy.txt index 02d84c8f199..367e9949bf9 100644 --- a/forge-gui/res/cardsfolder/f/flesh_allergy.txt +++ b/forge-gui/res/cardsfolder/f/flesh_allergy.txt @@ -2,7 +2,7 @@ Name:Flesh Allergy ManaCost:2 B B Types:Sorcery A:SP$ Destroy | Cost$ 2 B B Sac<1/Creature> | ValidTgts$ Creature | SubAbility$ DBLoseLife | SpellDescription$ Destroy target creature. Its controller loses life equal to the number of creatures that died this turn. -SVar:DBLoseLife:DB$LoseLife | Defined$ TargetedController | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$LoseLife | Defined$ TargetedController | LifeAmount$ X SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/flesh_allergy.jpg Oracle:As an additional cost to cast this spell, sacrifice a creature.\nDestroy target creature. Its controller loses life equal to the number of creatures that died this turn. diff --git a/forge-gui/res/cardsfolder/f/flesh_blood.txt b/forge-gui/res/cardsfolder/f/flesh_blood.txt index 887a8655c58..725051ca314 100644 --- a/forge-gui/res/cardsfolder/f/flesh_blood.txt +++ b/forge-gui/res/cardsfolder/f/flesh_blood.txt @@ -4,7 +4,7 @@ AlternateMode: Split Types:Sorcery K:Fuse A:SP$ ChangeZone | Cost$ 3 B G | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Choose target creature card in a graveyard | ValidTgts$ Creature | SubAbility$ DBPutCounter | SpellDescription$ Exile target creature card from a graveyard. Put X +1/+1 counters on target creature, where X is the power of the card you exiled. -SVar:DBPutCounter:DB$ PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature to put counters | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:DBPutCounter:DB$ PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature to put counters | CounterType$ P1P1 | CounterNum$ X SVar:X:ParentTargeted$CardPower DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/flesh_blood.jpg @@ -16,6 +16,6 @@ Name:Blood ManaCost:R G Types:Sorcery A:SP$ Pump | Cost$ R G | ValidTgts$ Creature.YouCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you control | SubAbility$ BloodDamage | StackDescription$ None | SpellDescription$ Target creature you control deals damage equal to its power to any target. -SVar:BloodDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | AILogic$ PowerDmg | TgtPrompt$ Select any target | NumDmg$ Y | References$ Y | DamageSource$ ParentTarget +SVar:BloodDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | AILogic$ PowerDmg | TgtPrompt$ Select any target | NumDmg$ Y | DamageSource$ ParentTarget SVar:Y:ParentTargeted$CardPower Oracle:Target creature you control deals damage equal to its power to any target.\nFuse (You may cast one or both halves of this card from your hand.) diff --git a/forge-gui/res/cardsfolder/f/flesh_carver.txt b/forge-gui/res/cardsfolder/f/flesh_carver.txt index c0959fff190..3f6600270ae 100644 --- a/forge-gui/res/cardsfolder/f/flesh_carver.txt +++ b/forge-gui/res/cardsfolder/f/flesh_carver.txt @@ -5,7 +5,7 @@ PT:2/2 K:Intimidate A:AB$ PutCounter | Cost$ 1 B Sac<1/Creature.Other/another creature> | CounterType$ P1P1 | CounterNum$ 2 | SpellDescription$ Put two +1/+1 counters on CARDNAME. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigToken | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, create an X/X black Horror creature token, where X is CARDNAME's power. -SVar:TrigToken:DB$ Token | TokenAmount$ 1 | References$ X | TokenScript$ b_x_x_horror | TokenOwner$ You | LegacyImage$ b x x horror c14 | TokenPower$ X | TokenToughness$ X +SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ b_x_x_horror | TokenOwner$ You | LegacyImage$ b x x horror c14 | TokenPower$ X | TokenToughness$ X SVar:X:TriggeredCard$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/flesh_carver.jpg Oracle:Intimidate (This creature can't be blocked except by artifact creatures and/or creatures that share a color with it.)\n{1}{B}, Sacrifice another creature: Put two +1/+1 counters on Flesh Carver.\nWhen Flesh Carver dies, create an X/X black Horror creature token, where X is Flesh Carver's power. diff --git a/forge-gui/res/cardsfolder/f/flesh_reaver.txt b/forge-gui/res/cardsfolder/f/flesh_reaver.txt index a05be169362..2bc22eb7554 100644 --- a/forge-gui/res/cardsfolder/f/flesh_reaver.txt +++ b/forge-gui/res/cardsfolder/f/flesh_reaver.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Creature Horror PT:4/4 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Creature,Opponent | Execute$ TrigFleshReaverDamage | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage to a creature or opponent, CARDNAME deals that much damage to you. -SVar:TrigFleshReaverDamage:DB$ DealDamage | NumDmg$ FleshReaverX | Defined$ You | References$ FleshReaverX +SVar:TrigFleshReaverDamage:DB$ DealDamage | NumDmg$ FleshReaverX | Defined$ You SVar:FleshReaverX:TriggerCount$DamageAmount AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/flesh_reaver.jpg diff --git a/forge-gui/res/cardsfolder/f/fling.txt b/forge-gui/res/cardsfolder/f/fling.txt index 206cf270244..29636a3556f 100644 --- a/forge-gui/res/cardsfolder/f/fling.txt +++ b/forge-gui/res/cardsfolder/f/fling.txt @@ -1,7 +1,7 @@ Name:Fling ManaCost:1 R Types:Instant -A:SP$ DealDamage | Cost$ 1 R Sac<1/Creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to any target. +A:SP$ DealDamage | Cost$ 1 R Sac<1/Creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to any target. SVar:X:Sacrificed$CardPower AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/fling.jpg diff --git a/forge-gui/res/cardsfolder/f/floating_dream_zubera.txt b/forge-gui/res/cardsfolder/f/floating_dream_zubera.txt index a40962c8d74..a978b2756c2 100644 --- a/forge-gui/res/cardsfolder/f/floating_dream_zubera.txt +++ b/forge-gui/res/cardsfolder/f/floating_dream_zubera.txt @@ -3,7 +3,7 @@ ManaCost:1 U Types:Creature Zubera Spirit PT:1/2 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, draw a card for each Zubera that died this turn. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Card.Zubera DeckHints:Type$Zubera SVar:Picture:http://resources.wizards.com/magic/cards/chk/en-us/card80507.jpg diff --git a/forge-gui/res/cardsfolder/f/flock_of_rabid_sheep.txt b/forge-gui/res/cardsfolder/f/flock_of_rabid_sheep.txt index 4ea078bc5b7..13a9a973bca 100644 --- a/forge-gui/res/cardsfolder/f/flock_of_rabid_sheep.txt +++ b/forge-gui/res/cardsfolder/f/flock_of_rabid_sheep.txt @@ -2,7 +2,7 @@ Name:Flock of Rabid Sheep ManaCost:X G G Types:Sorcery SVar:X:Count$xPaid -A:SP$ Repeat | Cost$ X G G | MaxRepeat$ X | RepeatSubAbility$ DBFlip | References$ X | AILogic$ MaxX | StackDescription$ SpellDescription | SpellDescription$ Flip X coins. For each flip you win, create a 2/2 green Sheep creature token named Rabid Sheep. +A:SP$ Repeat | Cost$ X G G | MaxRepeat$ X | RepeatSubAbility$ DBFlip | AILogic$ MaxX | StackDescription$ SpellDescription | SpellDescription$ Flip X coins. For each flip you win, create a 2/2 green Sheep creature token named Rabid Sheep. SVar:DBFlip:DB$ FlipACoin | WinSubAbility$ DBToken SVar:DBToken:DB$ Token | TokenScript$ g_2_2_rabid_sheep | TokenOwner$ You DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/f/floodgate.txt b/forge-gui/res/cardsfolder/f/floodgate.txt index 1e9d420aca5..fdce5685e24 100644 --- a/forge-gui/res/cardsfolder/f/floodgate.txt +++ b/forge-gui/res/cardsfolder/f/floodgate.txt @@ -6,7 +6,7 @@ K:Defender T:Mode$ Always | IsPresent$ Card.Self+withFlying | Execute$ Sacrifice | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME has flying, sacrifice it. SVar:Sacrifice:AB$ Sacrifice | Cost$ 0 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Any | Execute$ TrigDamage | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, it deals damage equal to half the number of Islands you control, rounded down, to each nonblue creature without flying. -SVar:TrigDamage:DB$ DamageAll | ValidCards$ Creature.nonBlue+withoutFlying | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DamageAll | ValidCards$ Creature.nonBlue+withoutFlying | NumDmg$ X SVar:X:Count$Valid Island.YouCtrl/HalfDown SVar:Picture:http://www.wizards.com/global/images/magic/general/floodgate.jpg Oracle:Defender (This creature can't attack.)\nWhen Floodgate has flying, sacrifice it.\nWhen Floodgate leaves the battlefield, it deals damage equal to half the number of Islands you control, rounded down, to each nonblue creature without flying. diff --git a/forge-gui/res/cardsfolder/f/floodwater_dam.txt b/forge-gui/res/cardsfolder/f/floodwater_dam.txt index 28b8b245403..7f6098a5fee 100644 --- a/forge-gui/res/cardsfolder/f/floodwater_dam.txt +++ b/forge-gui/res/cardsfolder/f/floodwater_dam.txt @@ -1,7 +1,7 @@ Name:Floodwater Dam ManaCost:3 Types:Artifact -A:AB$ Tap | Cost$ X X 1 T | TargetMin$ X | TargetMax$ X | ValidTgts$ Land | TgtPrompt$ Select X target lands | References$ X | SpellDescription$ Tap X target lands. +A:AB$ Tap | Cost$ X X 1 T | TargetMin$ X | TargetMax$ X | ValidTgts$ Land | TgtPrompt$ Select X target lands | SpellDescription$ Tap X target lands. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{X}{X}{1}, {T}: Tap X target lands. diff --git a/forge-gui/res/cardsfolder/f/flow_of_ideas.txt b/forge-gui/res/cardsfolder/f/flow_of_ideas.txt index df3a7525ea9..a1c803b0ed9 100644 --- a/forge-gui/res/cardsfolder/f/flow_of_ideas.txt +++ b/forge-gui/res/cardsfolder/f/flow_of_ideas.txt @@ -1,7 +1,7 @@ Name:Flow of Ideas ManaCost:5 U Types:Sorcery -A:SP$ Draw | Cost$ 5 U | NumCards$ X | References$ X | SpellDescription$ Draw a card for each Island you control. +A:SP$ Draw | Cost$ 5 U | NumCards$ X | SpellDescription$ Draw a card for each Island you control. SVar:X:Count$TypeYouCtrl.Island AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/flow_of_ideas.jpg diff --git a/forge-gui/res/cardsfolder/f/flowstone_slide.txt b/forge-gui/res/cardsfolder/f/flowstone_slide.txt index 4818cc2c472..0fffe0aa1aa 100644 --- a/forge-gui/res/cardsfolder/f/flowstone_slide.txt +++ b/forge-gui/res/cardsfolder/f/flowstone_slide.txt @@ -1,7 +1,7 @@ Name:Flowstone Slide ManaCost:X 2 R R Types:Sorcery -A:SP$ PumpAll | Cost$ X 2 R R | ValidCards$ Creature | IsCurse$ True | NumAtt$ +X | NumDef$ -X | References$ X | SpellDescription$ All Creatures get +X/-X until end of turn. +A:SP$ PumpAll | Cost$ X 2 R R | ValidCards$ Creature | IsCurse$ True | NumAtt$ +X | NumDef$ -X | SpellDescription$ All Creatures get +X/-X until end of turn. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/flowstone_slide.jpg diff --git a/forge-gui/res/cardsfolder/f/flurry_of_wings.txt b/forge-gui/res/cardsfolder/f/flurry_of_wings.txt index a33d2a26749..d20cd1f0359 100644 --- a/forge-gui/res/cardsfolder/f/flurry_of_wings.txt +++ b/forge-gui/res/cardsfolder/f/flurry_of_wings.txt @@ -1,7 +1,7 @@ Name:Flurry of Wings ManaCost:G W U Types:Instant -A:SP$ Token | Cost$ G W U | TokenAmount$ X | TokenScript$ w_1_1_bird_soldier_flying | TokenOwner$ You | LegacyImage$ w 1 1 bird soldier flying arb | References$ X | SpellDescription$ Create X 1/1 white Bird Soldier creature tokens with flying, where X is the number of attacking creatures. +A:SP$ Token | Cost$ G W U | TokenAmount$ X | TokenScript$ w_1_1_bird_soldier_flying | TokenOwner$ You | LegacyImage$ w 1 1 bird soldier flying arb | SpellDescription$ Create X 1/1 white Bird Soldier creature tokens with flying, where X is the number of attacking creatures. SVar:X:Count$Valid Creature.attacking AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/flurry_of_wings.jpg diff --git a/forge-gui/res/cardsfolder/f/flux.txt b/forge-gui/res/cardsfolder/f/flux.txt index ea1e30d16bc..982f2ca4619 100644 --- a/forge-gui/res/cardsfolder/f/flux.txt +++ b/forge-gui/res/cardsfolder/f/flux.txt @@ -3,7 +3,7 @@ ManaCost:2 U Types:Sorcery A:SP$ RepeatEach | Cost$ 2 U | RepeatPlayers$ Player | RepeatSubAbility$ DBFluxDiscard | SubAbility$ DBDraw | SpellDescription$ Each player discards any number of cards, then draws that many cards. Draw a card. SVar:DBFluxDiscard:DB$ Discard | Defined$ Player.IsRemembered | AnyNumber$ True | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBFluxDraw -SVar:DBFluxDraw:DB$ Draw | NumCards$ X | Defined$ Player.IsRemembered | References$ X | SubAbility$ CleanTheFlux +SVar:DBFluxDraw:DB$ Draw | NumCards$ X | Defined$ Player.IsRemembered | SubAbility$ CleanTheFlux SVar:CleanTheFlux:DB$ Cleanup | ClearRemembered$ True SVar:DBDraw:DB$ Draw | NumCards$ 1 SVar:X:Remembered$Amount/Minus.1 diff --git a/forge-gui/res/cardsfolder/f/folio_of_fancies.txt b/forge-gui/res/cardsfolder/f/folio_of_fancies.txt index 894e6bcc235..a52e2f54a0b 100644 --- a/forge-gui/res/cardsfolder/f/folio_of_fancies.txt +++ b/forge-gui/res/cardsfolder/f/folio_of_fancies.txt @@ -3,10 +3,10 @@ ManaCost:1 U Types:Artifact S:Mode$ Continuous | Affected$ Player | SetMaxHandSize$ Unlimited | Description$ Players have no maximum hand size. SVar:NonStackingEffect:True -A:AB$ Draw | Cost$ X X T | NumCards$ X | References$ X | Defined$ Player | SpellDescription$ Each player draws X cards. +A:AB$ Draw | Cost$ X X T | NumCards$ X | Defined$ Player | SpellDescription$ Each player draws X cards. SVar:X:Count$xPaid A:AB$ RepeatEach | Cost$ 2 U T | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBMill | SpellDescription$ Each opponent mills cards equal to the number of cards in their hand. -SVar:DBMill:DB$ Mill | Defined$ Remembered | NumCards$ Y | References$ Y +SVar:DBMill:DB$ Mill | Defined$ Remembered | NumCards$ Y SVar:Y:Count$ValidHand Card.RememberedPlayerCtrl AI:RemoveDeck:All Oracle:Players have no maximum hand size.\n{X}{X}, {T}: Each player draws X cards.\n{2}{U}, {T}: Each opponent mills cards equal to the number of cards in their hand. diff --git a/forge-gui/res/cardsfolder/f/folk_medicine.txt b/forge-gui/res/cardsfolder/f/folk_medicine.txt index ce1ed394124..44a9e492fa3 100644 --- a/forge-gui/res/cardsfolder/f/folk_medicine.txt +++ b/forge-gui/res/cardsfolder/f/folk_medicine.txt @@ -2,7 +2,7 @@ Name:Folk Medicine ManaCost:2 G Types:Instant K:Flashback:1 W -A:SP$ GainLife | Cost$ 2 G | LifeAmount$ X | References$ X | SpellDescription$ You gain 1 life for each creature you control. +A:SP$ GainLife | Cost$ 2 G | LifeAmount$ X | SpellDescription$ You gain 1 life for each creature you control. SVar:X:Count$TypeYouCtrl.Creature AI:RemoveDeck:Random DeckNeeds:Color$white diff --git a/forge-gui/res/cardsfolder/f/font_of_agonies.txt b/forge-gui/res/cardsfolder/f/font_of_agonies.txt index b6984c78fa8..c0ab570c251 100644 --- a/forge-gui/res/cardsfolder/f/font_of_agonies.txt +++ b/forge-gui/res/cardsfolder/f/font_of_agonies.txt @@ -2,7 +2,7 @@ Name:Font of Agonies ManaCost:B Types:Enchantment T:Mode$ PayLife | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you pay life, put that many blood counters on CARDNAME. -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ BLOOD | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ BLOOD | CounterNum$ X SVar:X:TriggerCount$LifeAmount A:AB$ Destroy | Cost$ 1 B SubCounter<4/BLOOD> | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Destroy target creature. Oracle:Whenever you pay life, put that many blood counters on Font of Agonies.\n{1}{B}, Remove four blood counters from Font of Agonies: Destroy target creature. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/f/food_chain.txt b/forge-gui/res/cardsfolder/f/food_chain.txt index ec8e695f502..81ed0f5c134 100644 --- a/forge-gui/res/cardsfolder/f/food_chain.txt +++ b/forge-gui/res/cardsfolder/f/food_chain.txt @@ -1,7 +1,7 @@ Name:Food Chain ManaCost:2 G Types:Enchantment -A:AB$ Mana | Cost$ Exile<1/Creature> | Produced$ Any | Amount$ X | RestrictValid$ Card.Creature | References$ X | SpellDescription$ Add X mana of any one color, where X is 1 plus the exiled creature's converted mana cost. Spend this mana only to cast creature spells. +A:AB$ Mana | Cost$ Exile<1/Creature> | Produced$ Any | Amount$ X | RestrictValid$ Card.Creature | SpellDescription$ Add X mana of any one color, where X is 1 plus the exiled creature's converted mana cost. Spend this mana only to cast creature spells. SVar:X:Exiled$CardManaCost/Plus.1 SVar:NonStackingEffect:True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/f/footbottom_feast.txt b/forge-gui/res/cardsfolder/f/footbottom_feast.txt index e4a27212a0c..48a7bc5dfcb 100644 --- a/forge-gui/res/cardsfolder/f/footbottom_feast.txt +++ b/forge-gui/res/cardsfolder/f/footbottom_feast.txt @@ -1,7 +1,7 @@ Name:Footbottom Feast ManaCost:2 B Types:Instant -A:SP$ ChangeZone | Cost$ 2 B | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | References$ X | SpellDescription$ Put any number of target creature cards from your graveyard on top of your library. | SubAbility$ DBDraw +A:SP$ ChangeZone | Cost$ 2 B | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | SpellDescription$ Put any number of target creature cards from your graveyard on top of your library. | SubAbility$ DBDraw SVar:DBDraw:DB$Draw | NumCards$ 1 | SpellDescription$ Draw a card. SVar:X:Count$TypeInYourYard.Creature AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/f/force_away.txt b/forge-gui/res/cardsfolder/f/force_away.txt index ff4530faff4..9223345dc0b 100644 --- a/forge-gui/res/cardsfolder/f/force_away.txt +++ b/forge-gui/res/cardsfolder/f/force_away.txt @@ -3,7 +3,7 @@ ManaCost:1 U Types:Instant A:SP$ ChangeZone | Cost$ 1 U | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | SubAbility$ DBDraw | Destination$ Hand | SpellDescription$ Return target creature to its owner's hand. Ferocious — If you control a creature with power 4 or greater, you may draw a card. If you do, discard a card. SVar:DBDraw:DB$ Draw | NumCards$ 1 | OptionalDecider$ You | RememberDrawn$ True | ConditionPresent$ Creature.YouCtrl+powerGE4 | ConditionCompare$ GE1 | SubAbility$ DBDiscard -SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBCleanup +SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/force_away.jpg diff --git a/forge-gui/res/cardsfolder/f/force_bubble.txt b/forge-gui/res/cardsfolder/f/force_bubble.txt index 138c20516c3..6e3a7b97b21 100644 --- a/forge-gui/res/cardsfolder/f/force_bubble.txt +++ b/forge-gui/res/cardsfolder/f/force_bubble.txt @@ -2,11 +2,11 @@ Name:Force Bubble ManaCost:2 W W Types:Enchantment R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ You | ReplaceWith$ Counters | Description$ If damage would be dealt to you, put that many depletion counters on CARDNAME instead. -SVar:Counters:DB$ PutCounter | Defined$ Self | CounterType$ DEPLETION | CounterNum$ X | References$ X +SVar:Counters:DB$ PutCounter | Defined$ Self | CounterType$ DEPLETION | CounterNum$ X T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Card.Self+counters_GE4_DEPLETION | Execute$ TrigSac | TriggerDescription$ When there are four or more depletion counters on CARDNAME, sacrifice it. SVar:TrigSac:DB$ Sacrifice | Defined$ Self T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigRemoveCounter | TriggerDescription$ At the beginning of each end step, remove all depletion counters from CARDNAME. -SVar:TrigRemoveCounter:DB$ RemoveCounter | CounterType$ DEPLETION | CounterNum$ All | References$ All +SVar:TrigRemoveCounter:DB$ RemoveCounter | CounterType$ DEPLETION | CounterNum$ All SVar:X:ReplaceCount$DamageAmount SVar:All:Count$CardCounters.DEPLETION SVar:Picture:http://www.wizards.com/global/images/magic/general/force_bubble.jpg diff --git a/forge-gui/res/cardsfolder/f/forced_march.txt b/forge-gui/res/cardsfolder/f/forced_march.txt index 061c8052502..45a98024189 100644 --- a/forge-gui/res/cardsfolder/f/forced_march.txt +++ b/forge-gui/res/cardsfolder/f/forced_march.txt @@ -1,7 +1,7 @@ Name:Forced March ManaCost:X B B B Types:Sorcery -A:SP$ DestroyAll | Cost$ X B B B | ValidCards$ Creature.cmcLEX | References$ X | SpellDescription$ Destroy all creatures with converted mana cost X or less. +A:SP$ DestroyAll | Cost$ X B B B | ValidCards$ Creature.cmcLEX | SpellDescription$ Destroy all creatures with converted mana cost X or less. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/forced_march.jpg diff --git a/forge-gui/res/cardsfolder/f/forcefield.txt b/forge-gui/res/cardsfolder/f/forcefield.txt index a27fe77262c..f4e5e057e10 100644 --- a/forge-gui/res/cardsfolder/f/forcefield.txt +++ b/forge-gui/res/cardsfolder/f/forcefield.txt @@ -2,7 +2,7 @@ Name:Forcefield ManaCost:3 Types:Artifact A:AB$ ChooseCard | Cost$ 1 | Choices$ Creature.unblocked | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time an unblocked creature of your choice would deal combat damage to you this turn, prevent all but 1 of that damage. -SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventDamage | SVars$ RPreventDamage,PreventDmg,ExileEffect | References$ PreventDmg,ExileEffect | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card | ConditionCompare$ GE1 +SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventDamage | SVars$ RPreventDamage,PreventDmg,ExileEffect | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card | ConditionCompare$ GE1 SVar:RPreventDamage:Event$ DamageDone | ValidSource$ Card.ChosenCard | ValidTarget$ You | ReplaceWith$ PreventDmg | PreventionEffect$ True | IsCombat$ True | Description$ The next time an unblocked creature of your choice would deal combat damage to you this turn, prevent all but 1 of that damage. SVar:PreventDmg:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ 1 | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/f/foreboding_fruit.txt b/forge-gui/res/cardsfolder/f/foreboding_fruit.txt index f2f8ff59c15..9a0924d728d 100644 --- a/forge-gui/res/cardsfolder/f/foreboding_fruit.txt +++ b/forge-gui/res/cardsfolder/f/foreboding_fruit.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Sorcery A:SP$ Draw | Cost$ 2 B | NumCards$ 2 | ValidTgts$ Player | TgtPrompt$ Choose a player | SubAbility$ DBLoseLife | AIManaPref$ B | SpellDescription$ Target player draws two cards and loses 2 life. Adamant — If at least three black mana was spent to cast this spell, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 2 | Defined$ Targeted | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ c_a_food_sac | TokenOwner$ You | LegacyImage$ c a food sac eld | References$ X +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ c_a_food_sac | TokenOwner$ You | LegacyImage$ c a food sac eld SVar:X:Count$Adamant.Black.1.0 DeckHas:Ability$Token & Ability$LifeGain & Ability$Food Oracle:Target player draws two cards and loses 2 life.\nAdamant — If at least three black mana was spent to cast this spell, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") diff --git a/forge-gui/res/cardsfolder/f/foreshadow.txt b/forge-gui/res/cardsfolder/f/foreshadow.txt index b4820d8d8c6..92d5f45a03a 100644 --- a/forge-gui/res/cardsfolder/f/foreshadow.txt +++ b/forge-gui/res/cardsfolder/f/foreshadow.txt @@ -3,7 +3,7 @@ ManaCost:1 U Types:Instant A:SP$ NameCard | Cost$ 1 U | Defined$ You | SubAbility$ DBMill | SpellDescription$ Choose a card name, then target opponent puts the top card of their library into their graveyard. If a card with the chosen name was milled this way, you draw a card. Draw a card at the beginning of the next turn's upkeep. SVar:DBMill:DB$ Mill | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumCards$ 1 | RememberMilled$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DelTrigSlowtrip | References$ X +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DelTrigSlowtrip SVar:DelTrigSlowtrip:DB$ DelayedTrigger | Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ DrawSlowtrip | TriggerDescription$ Draw a card. SVar:DrawSlowtrip:DB$ Draw | NumCards$ 1 | Defined$ You SVar:X:Remembered$Valid Card.NamedCard diff --git a/forge-gui/res/cardsfolder/f/forever_young.txt b/forge-gui/res/cardsfolder/f/forever_young.txt index 5b26bbfe95c..543ca08f8f7 100644 --- a/forge-gui/res/cardsfolder/f/forever_young.txt +++ b/forge-gui/res/cardsfolder/f/forever_young.txt @@ -1,7 +1,7 @@ Name:Forever Young ManaCost:1 B Types:Sorcery -A:SP$ ChangeZone | Cost$ 1 B | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouOwn | References$ X | SpellDescription$ Put any number of target creature cards from your graveyard on top of your library. Draw a card. | SubAbility$ DBDraw +A:SP$ ChangeZone | Cost$ 1 B | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouOwn | SpellDescription$ Put any number of target creature cards from your graveyard on top of your library. Draw a card. | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | NumCards$ 1 | Defined$ You SVar:X:Count$TypeInYourYard.Creature Oracle:Put any number of target creature cards from your graveyard on top of your library.\nDraw a card. diff --git a/forge-gui/res/cardsfolder/f/forge_armor.txt b/forge-gui/res/cardsfolder/f/forge_armor.txt index 4b868e27b75..f332a261307 100644 --- a/forge-gui/res/cardsfolder/f/forge_armor.txt +++ b/forge-gui/res/cardsfolder/f/forge_armor.txt @@ -1,7 +1,7 @@ Name:Forge Armor ManaCost:4 R Types:Instant -A:SP$ PutCounter | Cost$ 4 R Sac<1/Artifact> | CounterType$ P1P1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterNum$ X | References$ X | SpellDescription$ Put X +1/+1 counters on target creature, where X is the sacrificed artifact's converted mana cost. +A:SP$ PutCounter | Cost$ 4 R Sac<1/Artifact> | CounterType$ P1P1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterNum$ X | SpellDescription$ Put X +1/+1 counters on target creature, where X is the sacrificed artifact's converted mana cost. SVar:X:Sacrificed$CardManaCost AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/f/forget.txt b/forge-gui/res/cardsfolder/f/forget.txt index 616c34a8b70..ddd712880a3 100644 --- a/forge-gui/res/cardsfolder/f/forget.txt +++ b/forge-gui/res/cardsfolder/f/forget.txt @@ -2,7 +2,7 @@ Name:Forget ManaCost:U U Types:Sorcery A:SP$ Discard | Cost$ U U | ValidTgts$ Player | TgtPrompt$ Select target player | Mode$ TgtChoose | NumCards$ 2 | RememberDiscarded$ True | SubAbility$ DBDraw | SpellDescription$ Target player discards two cards, then draws as many cards as they discarded this way. -SVar:DBDraw:DB$ Draw | Defined$ Targeted | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | Defined$ Targeted | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/forget.jpg diff --git a/forge-gui/res/cardsfolder/f/forgotten_creation.txt b/forge-gui/res/cardsfolder/f/forgotten_creation.txt index 1011142c150..eeffab34563 100644 --- a/forge-gui/res/cardsfolder/f/forgotten_creation.txt +++ b/forge-gui/res/cardsfolder/f/forgotten_creation.txt @@ -5,7 +5,7 @@ PT:3/3 K:Skulk T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigDiscard | OptionalDecider$ You | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, you may discard all the cards in your hand. If you do, draw that many cards. SVar:TrigDiscard:DB$ Discard | Mode$ Hand | RememberDiscarded$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount DeckHas:Ability$Discard diff --git a/forge-gui/res/cardsfolder/f/forgotten_lore.txt b/forge-gui/res/cardsfolder/f/forgotten_lore.txt index 8bc88d36b7c..df1175d7ef5 100644 --- a/forge-gui/res/cardsfolder/f/forgotten_lore.txt +++ b/forge-gui/res/cardsfolder/f/forgotten_lore.txt @@ -2,11 +2,11 @@ Name:Forgotten Lore ManaCost:G Types:Sorcery A:SP$ ChooseCard | Cost$ G | ValidTgts$ Opponent | ChoiceZone$ Graveyard | Choices$ Card.YouOwn | AILogic$ WorstCard | Mandatory$ True | RememberChosen$ True | SubAbility$ DBRepeat | SpellDescription$ Target opponent chooses a card in your graveyard. You may pay {G}. If you do, repeat this process except that opponent can't choose a card already chosen for CARDNAME. Then put the last chosen card into your hand. -SVar:DBRepeat:DB$ Repeat | RepeatSubAbility$ DBChooseAgain | ConditionCheckSVar$ ChoiceNum | ConditionSVarCompare$ GE1 | References$ ChoiceNum,CheckNotPaid,CheckRepeat | SubAbility$ DBMoveChosen | RepeatCheckSVar$ CheckRepeat | RepeatSVarCompare$ GT0 | StackDescription$ You may pay G. If you do, repeat this process except that opponent can't choose a card already chosen for CARDNAME. +SVar:DBRepeat:DB$ Repeat | RepeatSubAbility$ DBChooseAgain | ConditionCheckSVar$ ChoiceNum | ConditionSVarCompare$ GE1 | SubAbility$ DBMoveChosen | RepeatCheckSVar$ CheckRepeat | RepeatSVarCompare$ GT0 | StackDescription$ You may pay G. If you do, repeat this process except that opponent can't choose a card already chosen for CARDNAME. SVar:DBChooseAgain:DB$ ChooseCard | Defined$ ParentTarget | ChoiceZone$ Graveyard | Choices$ Card.YouOwn+IsNotRemembered | Mandatory$ True | AILogic$ WorstCard | RememberChosen$ True | UnlessCost$ G | UnlessPayer$ You | UnlessSwitched$ True | UnlessResolveSubs$ WhenNotPaid | SubAbility$ DBStoreSVar | ShowCurrentCard$ ChosenCard -SVar:DBStoreSVar:DB$ StoreSVar | SVar$ CheckNotPaid | Type$ Number | Expression$ 0 | References$ CheckNotPaid +SVar:DBStoreSVar:DB$ StoreSVar | SVar$ CheckNotPaid | Type$ Number | Expression$ 0 SVar:DBMoveChosen:DB$ ChangeZone | Defined$ ChosenCard | Origin$ Graveyard | Destination$ Hand | SubAbility$ DBReset -SVar:DBReset:DB$ StoreSVar | SVar$ CheckNotPaid | Type$ Number | Expression$ 1 | References$ CheckNotPaid +SVar:DBReset:DB$ StoreSVar | SVar$ CheckNotPaid | Type$ Number | Expression$ 1 SVar:ChoiceNum:Count$ValidGraveyard Card.YouOwn+IsNotRemembered SVar:CheckNotPaid:Number$1 SVar:CheckRepeat:SVar$ChoiceNum/Times.CheckNotPaid diff --git a/forge-gui/res/cardsfolder/f/form_of_the_dinosaur.txt b/forge-gui/res/cardsfolder/f/form_of_the_dinosaur.txt index 5196b026b53..49c7ed9f259 100644 --- a/forge-gui/res/cardsfolder/f/form_of_the_dinosaur.txt +++ b/forge-gui/res/cardsfolder/f/form_of_the_dinosaur.txt @@ -5,7 +5,7 @@ T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ SVar:TrigLife:DB$ SetLife | Defined$ You | LifeAmount$ 15 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of your upkeep, CARDNAME deals 15 damage to target creature an opponent controls and that creature deals damage equal to its power to you. SVar:TrigDamage:DB$DealDamage | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ 15 | SubAbility$ DBDealDamage -SVar:DBDealDamage:DB$ DealDamage | Defined$ You | DamageSource$ Targeted | NumDmg$ X | References$ X +SVar:DBDealDamage:DB$ DealDamage | Defined$ You | DamageSource$ Targeted | NumDmg$ X SVar:X:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/form_of_the_dinosaur.jpg Oracle:When Form of the Dinosaur enters the battlefield, your life total becomes 15.\nAt the beginning of your upkeep, Form of the Dinosaur deals 15 damage to target creature an opponent controls and that creature deals damage equal to its power to you. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/f/foul_renewal.txt b/forge-gui/res/cardsfolder/f/foul_renewal.txt index b24a994764c..9d016a4f42e 100644 --- a/forge-gui/res/cardsfolder/f/foul_renewal.txt +++ b/forge-gui/res/cardsfolder/f/foul_renewal.txt @@ -2,7 +2,7 @@ Name:Foul Renewal ManaCost:3 B Types:Instant A:SP$ ChangeZone | Cost$ 3 B | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Select target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | RememberChanged$ True | SubAbility$ DBPump | SpellDescription$ Return target creature card from your graveyard to your hand. Target creature gets -X/-X until end of turn, where X is the toughness of the card returned this way. -SVar:DBPump:DB$ Pump | ValidTgts$ Creature | References$ X | NumAtt$ -X | NumDef$ -X | IsCurse$ True | TgtPrompt$ Choose target creature | SubAbility$ DBCleanup +SVar:DBPump:DB$ Pump | ValidTgts$ Creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | TgtPrompt$ Choose target creature | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/foul_renewal.jpg diff --git a/forge-gui/res/cardsfolder/f/foul_tongue_shriek.txt b/forge-gui/res/cardsfolder/f/foul_tongue_shriek.txt index 7be604f6f22..7eb209c282c 100644 --- a/forge-gui/res/cardsfolder/f/foul_tongue_shriek.txt +++ b/forge-gui/res/cardsfolder/f/foul_tongue_shriek.txt @@ -1,8 +1,8 @@ Name:Foul-Tongue Shriek ManaCost:B Types:Instant -A:SP$ LoseLife | Cost$ B | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | LifeAmount$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ Target opponent loses 1 life for each attacking creature you control. You gain that much life. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +A:SP$ LoseLife | Cost$ B | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | LifeAmount$ X | SubAbility$ DBGainLife | SpellDescription$ Target opponent loses 1 life for each attacking creature you control. You gain that much life. +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.attacking+YouCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/foul_tongue_shriek.jpg diff --git a/forge-gui/res/cardsfolder/f/foundry_champion.txt b/forge-gui/res/cardsfolder/f/foundry_champion.txt index 4f29120be0d..a40f3b8f8ae 100644 --- a/forge-gui/res/cardsfolder/f/foundry_champion.txt +++ b/forge-gui/res/cardsfolder/f/foundry_champion.txt @@ -3,7 +3,7 @@ ManaCost:4 R W Types:Creature Elemental Soldier PT:4/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals damage to any target equal to the number of creatures you control. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X A:AB$ Pump | Cost$ R | Defined$ Self | NumAtt$ +1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn. A:AB$ Pump | Cost$ W | Defined$ Self | NumDef$ +1 | SpellDescription$ CARDNAME gets +0/+1 until end of turn. SVar:X:Count$Valid Creature.YouCtrl diff --git a/forge-gui/res/cardsfolder/f/fountain_of_cho.txt b/forge-gui/res/cardsfolder/f/fountain_of_cho.txt index f0bfec2d493..4931bcbbfe9 100644 --- a/forge-gui/res/cardsfolder/f/fountain_of_cho.txt +++ b/forge-gui/res/cardsfolder/f/fountain_of_cho.txt @@ -3,6 +3,6 @@ ManaCost:no cost Types:Land K:CARDNAME enters the battlefield tapped. A:AB$ PutCounter | Cost$ T | Defined$ Self | CounterType$ STORAGE | CounterNum$ 1 | SpellDescription$ Put a storage counter on CARDNAME. -A:AB$ Mana | Cost$ T SubCounter | Produced$ W | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | References$ X | AILogic$ ManaRitualBattery | AINoRecursiveCheck$ True | SpellDescription$ Add {W} for each storage counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ W | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | AILogic$ ManaRitualBattery | AINoRecursiveCheck$ True | SpellDescription$ Add {W} for each storage counter removed this way. SVar:X:Count$xPaid Oracle:Fountain of Cho enters the battlefield tapped.\n{T}: Put a storage counter on Fountain of Cho.\n{T}, Remove any number of storage counters from Fountain of Cho: Add {W} for each storage counter removed this way. diff --git a/forge-gui/res/cardsfolder/f/fracturing_gust.txt b/forge-gui/res/cardsfolder/f/fracturing_gust.txt index 3579b8f59dc..d346e97667f 100644 --- a/forge-gui/res/cardsfolder/f/fracturing_gust.txt +++ b/forge-gui/res/cardsfolder/f/fracturing_gust.txt @@ -2,7 +2,7 @@ Name:Fracturing Gust ManaCost:2 GW GW GW Types:Instant A:SP$ DestroyAll | Cost$ 2 GW GW GW | ValidCards$ Artifact,Enchantment | RememberDestroyed$ True | SubAbility$ DBGainLife | SpellDescription$ Destroy all artifacts and enchantments. You gain 2 life for each permanent destroyed this way. -SVar:DBGainLife:DB$GainLife | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | LifeAmount$ X SVar:X:Remembered$Amount.Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/fracturing_gust.jpg Oracle:Destroy all artifacts and enchantments. You gain 2 life for each permanent destroyed this way. diff --git a/forge-gui/res/cardsfolder/f/frantic_inventory.txt b/forge-gui/res/cardsfolder/f/frantic_inventory.txt index 838468a0c79..016be6261d8 100644 --- a/forge-gui/res/cardsfolder/f/frantic_inventory.txt +++ b/forge-gui/res/cardsfolder/f/frantic_inventory.txt @@ -2,6 +2,6 @@ Name:Frantic Inventory ManaCost:1 U Types:Instant A:SP$ Draw | Cost$ 1 U | Defined$ You | NumCards$ 1 | SubAbility$ DBDraw | SpellDescription$ Draw a card, then draw cards equal to the number of cards named Frantic Inventory in your graveyard. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:Count$ValidGraveyard Card.YouOwn+namedFrantic Inventory Oracle:Draw a card, then draw cards equal to the number of cards named Frantic Inventory in your graveyard. diff --git a/forge-gui/res/cardsfolder/f/frantic_salvage.txt b/forge-gui/res/cardsfolder/f/frantic_salvage.txt index febcde89151..98935e89aed 100644 --- a/forge-gui/res/cardsfolder/f/frantic_salvage.txt +++ b/forge-gui/res/cardsfolder/f/frantic_salvage.txt @@ -1,7 +1,7 @@ Name:Frantic Salvage ManaCost:3 W Types:Instant -A:SP$ ChangeZone | Cost$ 3 W | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Choose target artifact card in your graveyard | ValidTgts$ Artifact.YouCtrl | SubAbility$ DBDraw | References$ X | SpellDescription$ Put any number of target artifact cards from your graveyard on top of your library. +A:SP$ ChangeZone | Cost$ 3 W | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Choose target artifact card in your graveyard | ValidTgts$ Artifact.YouCtrl | SubAbility$ DBDraw | SpellDescription$ Put any number of target artifact cards from your graveyard on top of your library. SVar:DBDraw:DB$Draw | NumCards$ 1 | SpellDescription$ Draw a card. SVar:X:Count$TypeInYourYard.Artifact AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/f/fraying_omnipotence.txt b/forge-gui/res/cardsfolder/f/fraying_omnipotence.txt index f5b4e6b437c..d06d913abdb 100644 --- a/forge-gui/res/cardsfolder/f/fraying_omnipotence.txt +++ b/forge-gui/res/cardsfolder/f/fraying_omnipotence.txt @@ -2,9 +2,9 @@ Name:Fraying Omnipotence ManaCost:3 B B Types:Sorcery A:SP$ RepeatEach | Cost$ 3 B B | RepeatPlayers$ Player | RepeatSubAbility$ DBLoseLife | AILifeThreshold$ 1 | SpellDescription$ Each player loses half their life, then discards half the cards in their hand, then sacrifices half the creatures they control. Round up each time. -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ A | References$ A | Defined$ Player.IsRemembered | SubAbility$ DBDiscard -SVar:DBDiscard:DB$ Discard | NumCards$ C | References$ C | Defined$ Player.IsRemembered | Mode$ TgtChoose | SubAbility$ DBCreature -SVar:DBCreature:DB$ Sacrifice | SacValid$ Creature | Amount$ E | References$ E | Defined$ Player.IsRemembered +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ A | Defined$ Player.IsRemembered | SubAbility$ DBDiscard +SVar:DBDiscard:DB$ Discard | NumCards$ C | Defined$ Player.IsRemembered | Mode$ TgtChoose | SubAbility$ DBCreature +SVar:DBCreature:DB$ Sacrifice | SacValid$ Creature | Amount$ E | Defined$ Player.IsRemembered SVar:A:PlayerCountRemembered$LifeTotal/HalfUp SVar:C:PlayerCountRemembered$CardsInHand/HalfUp SVar:E:PlayerCountRemembered$Valid Creature.RememberedPlayerCtrl/HalfUp diff --git a/forge-gui/res/cardsfolder/f/fraying_sanity.txt b/forge-gui/res/cardsfolder/f/fraying_sanity.txt index d3eb83d8d06..66edac14bb5 100644 --- a/forge-gui/res/cardsfolder/f/fraying_sanity.txt +++ b/forge-gui/res/cardsfolder/f/fraying_sanity.txt @@ -4,6 +4,6 @@ Types:Enchantment Aura Curse K:Enchant player A:SP$ Attach | Cost$ 2 U | ValidTgts$ Player | AILogic$ Curse T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ At the beginning of each end step, enchanted player mills X cards, where X is the number of cards put into their graveyard from anywhere this turn. -SVar:TrigMill:DB$ Mill | Defined$ Player.EnchantedBy | NumCards$ X | References$ X +SVar:TrigMill:DB$ Mill | Defined$ Player.EnchantedBy | NumCards$ X SVar:X:Count$ThisTurnEntered_Graveyard_Card.EnchantedPlayerOwn Oracle:Enchant player\nAt the beginning of each end step, enchanted player mills X cards, where X is the number of cards put into their graveyard from anywhere this turn. diff --git a/forge-gui/res/cardsfolder/f/fresh_meat.txt b/forge-gui/res/cardsfolder/f/fresh_meat.txt index 6861f9c360b..048f1761568 100644 --- a/forge-gui/res/cardsfolder/f/fresh_meat.txt +++ b/forge-gui/res/cardsfolder/f/fresh_meat.txt @@ -1,7 +1,7 @@ Name:Fresh Meat ManaCost:3 G Types:Instant -A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenOwner$ You | TokenScript$ g_3_3_beast | LegacyImage$ g 3 3 beast nph | References$ X | SpellDescription$ Create a 3/3 green Beast creature token for each creature put into your graveyard from the battlefield this turn. +A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenOwner$ You | TokenScript$ g_3_3_beast | LegacyImage$ g 3 3 beast nph | SpellDescription$ Create a 3/3 green Beast creature token for each creature put into your graveyard from the battlefield this turn. SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature.YouCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/fresh_meat.jpg diff --git a/forge-gui/res/cardsfolder/f/freyalise_llanowars_fury.txt b/forge-gui/res/cardsfolder/f/freyalise_llanowars_fury.txt index 33adb8fb0a8..c6a2bc575a8 100644 --- a/forge-gui/res/cardsfolder/f/freyalise_llanowars_fury.txt +++ b/forge-gui/res/cardsfolder/f/freyalise_llanowars_fury.txt @@ -5,7 +5,7 @@ Loyalty:3 Text:CARDNAME can be your commander. A:AB$ Token | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | TokenAmount$ 1 | TokenScript$ g_1_1_elf_druid_g | TokenOwner$ You | LegacyImage$ g 1 1 elf druid g c14 | SpellDescription$ Create a 1/1 green Elf Druid creature token with "{T}: Add {G}." A:AB$ Destroy | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | SpellDescription$ Destroy target artifact or enchantment. -A:AB$ Draw | Cost$ SubCounter<6/LOYALTY> | NumCards$ X | Planeswalker$ True | Ultimate$ True | Defined$ You | References$ X | SpellDescription$ Draw a card for each green creature you control. +A:AB$ Draw | Cost$ SubCounter<6/LOYALTY> | NumCards$ X | Planeswalker$ True | Ultimate$ True | Defined$ You | SpellDescription$ Draw a card for each green creature you control. SVar:X:Count$Valid Creature.Green+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/freyalise_llanowars_fury.jpg Oracle:[+2]: Create a 1/1 green Elf Druid creature token with "{T}: Add {G}."\n[−2]: Destroy target artifact or enchantment.\n[−6]: Draw a card for each green creature you control.\nFreyalise, Llanowar's Fury can be your commander. diff --git a/forge-gui/res/cardsfolder/f/freyalise_supplicant.txt b/forge-gui/res/cardsfolder/f/freyalise_supplicant.txt index 6d3b35f8f3b..b656c4cc9cd 100644 --- a/forge-gui/res/cardsfolder/f/freyalise_supplicant.txt +++ b/forge-gui/res/cardsfolder/f/freyalise_supplicant.txt @@ -2,7 +2,7 @@ Name:Freyalise Supplicant ManaCost:1 G Types:Creature Human Cleric PT:1/1 -A:AB$ DealDamage | Cost$ T Sac<1/Creature.Red;Creature.White/red or white creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to any target equal to half the sacrificed creature's power, rounded down. +A:AB$ DealDamage | Cost$ T Sac<1/Creature.Red;Creature.White/red or white creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage to any target equal to half the sacrificed creature's power, rounded down. SVar:X:Sacrificed$CardPower/HalfDown AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/f/friendly_fire.txt b/forge-gui/res/cardsfolder/f/friendly_fire.txt index 5ea954f693d..b80db088f26 100644 --- a/forge-gui/res/cardsfolder/f/friendly_fire.txt +++ b/forge-gui/res/cardsfolder/f/friendly_fire.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Instant A:SP$ Pump | Cost$ 3 R | ValidTgts$ Creature | IsCurse$ True | StackDescription$ None | SubAbility$ DBReveal | SpellDescription$ Target creature's controller reveals a card at random from their hand. Friendly fire deals damage to that creature and that player equal to the revealed card's converted mana cost. SVar:DBReveal:DB$ Reveal | Defined$ TargetedController | Random$ True | RememberRevealed$ True | SubAbility$ DBDmg -SVar:DBDmg:DB$ DamageAll | NumDmg$ X | ValidPlayers$ TargetedController | ValidCards$ Targeted.Self | SubAbility$ DBCleanup | References$ X +SVar:DBDmg:DB$ DamageAll | NumDmg$ X | ValidPlayers$ TargetedController | ValidCards$ Targeted.Self | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/f/from_the_ashes.txt b/forge-gui/res/cardsfolder/f/from_the_ashes.txt index 128fbe93b9a..3dd8a11c706 100644 --- a/forge-gui/res/cardsfolder/f/from_the_ashes.txt +++ b/forge-gui/res/cardsfolder/f/from_the_ashes.txt @@ -5,7 +5,7 @@ A:SP$ DestroyAll | Cost$ 3 R | ValidCards$ Land.nonBasic | RememberDestroyed$ Tr SVar:DBRepeat:DB$ RepeatEach | UseImprinted$ True | DefinedCards$ DirectRemembered | RepeatSubAbility$ DBSearch | SubAbility$ DBShuffle SVar:DBSearch:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ 1 | RememberChanged$ True | DefinedPlayer$ ImprintedController | Chooser$ ImprintedController | NoShuffle$ True | Optional$ True SVar:DBShuffle:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ ShuffleSearched | SubAbility$ DBCleanup -SVar:ShuffleSearched:DB$ Shuffle | Defined$ Player.IsRemembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +SVar:ShuffleSearched:DB$ Shuffle | Defined$ Player.IsRemembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:Count$Valid Card.IsRemembered+RememberedPlayerCtrl SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/f/from_under_the_floorboards.txt b/forge-gui/res/cardsfolder/f/from_under_the_floorboards.txt index b7e15f092b6..7d548f2abca 100644 --- a/forge-gui/res/cardsfolder/f/from_under_the_floorboards.txt +++ b/forge-gui/res/cardsfolder/f/from_under_the_floorboards.txt @@ -2,8 +2,8 @@ Name:From Under the Floorboards ManaCost:3 B B Types:Sorcery K:Madness:X B B -A:SP$ Token | Cost$ 3 B B | LegacyImage$ b 2 2 zombie soi | TokenAmount$ Y | References$ X,Y | TokenScript$ b_2_2_zombie | TokenOwner$ You | TokenTapped$ True | SubAbility$ DBGainLife | SpellDescription$ Create three tapped 2/2 black Zombie creature tokens and you gain 3 life. If CARDNAME's madness cost was paid, instead create X of those tokens and you gain X life. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ Y | References$ Y +A:SP$ Token | Cost$ 3 B B | LegacyImage$ b 2 2 zombie soi | TokenAmount$ Y | TokenScript$ b_2_2_zombie | TokenOwner$ You | TokenTapped$ True | SubAbility$ DBGainLife | SpellDescription$ Create three tapped 2/2 black Zombie creature tokens and you gain 3 life. If CARDNAME's madness cost was paid, instead create X of those tokens and you gain X life. +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ Y SVar:X:Count$xPaid SVar:Y:Count$Madness.X.3 DeckHints:Ability$Discard diff --git a/forge-gui/res/cardsfolder/f/frost_bite.txt b/forge-gui/res/cardsfolder/f/frost_bite.txt index 085006ec194..66e39ee5bdb 100644 --- a/forge-gui/res/cardsfolder/f/frost_bite.txt +++ b/forge-gui/res/cardsfolder/f/frost_bite.txt @@ -1,8 +1,8 @@ Name:Frost Bite ManaCost:R Types:Snow Instant -A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ 2 | SubAbility$ DBDamage | ConditionCheckSVar$ X | ConditionSVarCompare$ LT3 | References$ X | SpellDescription$ CARDNAME deals 2 damage to target creature or planeswalker. -SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE3 | References$ X | SpellDescription$ If you control three or more snow permanents, it deals 3 damage instead. +A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ 2 | SubAbility$ DBDamage | ConditionCheckSVar$ X | ConditionSVarCompare$ LT3 | SpellDescription$ CARDNAME deals 2 damage to target creature or planeswalker. +SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE3 | SpellDescription$ If you control three or more snow permanents, it deals 3 damage instead. SVar:X:Count$Valid Permanent.Snow+YouCtrl DeckHints:Type$Snow Oracle:Frost Bite deals 2 damage to target creature or planeswalker. If you control three or more snow permanents, it deals 3 damage instead. diff --git a/forge-gui/res/cardsfolder/f/fruit_of_the_first_tree.txt b/forge-gui/res/cardsfolder/f/fruit_of_the_first_tree.txt index 931534d0781..bd70d789e73 100644 --- a/forge-gui/res/cardsfolder/f/fruit_of_the_first_tree.txt +++ b/forge-gui/res/cardsfolder/f/fruit_of_the_first_tree.txt @@ -4,8 +4,8 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 3 G | ValidTgts$ Creature | AILogic$ Pump T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.AttachedBy | Execute$ TrigGainLife | TriggerDescription$ When enchanted creature dies, you gain X life and draw X cards, where X is its toughness. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBTrigDraw -SVar:DBTrigDraw:DB$ Draw | NumCards$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBTrigDraw +SVar:DBTrigDraw:DB$ Draw | NumCards$ X SVar:X:TriggeredCard$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/fruit_of_the_first_tree.jpg Oracle:Enchant creature\nWhen enchanted creature dies, you gain X life and draw X cards, where X is its toughness. diff --git a/forge-gui/res/cardsfolder/f/fruition.txt b/forge-gui/res/cardsfolder/f/fruition.txt index 032618882bf..0c0e4439258 100644 --- a/forge-gui/res/cardsfolder/f/fruition.txt +++ b/forge-gui/res/cardsfolder/f/fruition.txt @@ -1,7 +1,7 @@ Name:Fruition ManaCost:G Types:Sorcery -A:SP$ GainLife | Cost$ G | LifeAmount$ X | References$ X | SpellDescription$ You gain 1 life for each Forest on the battlefield. +A:SP$ GainLife | Cost$ G | LifeAmount$ X | SpellDescription$ You gain 1 life for each Forest on the battlefield. SVar:X:Count$TypeOnBattlefield.Forest SVar:Picture:http://serv4.tcgimages.eu/img/cards/Portal/fruition.jpg Oracle:You gain 1 life for each Forest on the battlefield. diff --git a/forge-gui/res/cardsfolder/f/full_flowering.txt b/forge-gui/res/cardsfolder/f/full_flowering.txt index bffac9e50df..b3cf0d8d967 100644 --- a/forge-gui/res/cardsfolder/f/full_flowering.txt +++ b/forge-gui/res/cardsfolder/f/full_flowering.txt @@ -1,7 +1,7 @@ Name:Full Flowering ManaCost:X X G Types:Sorcery -A:SP$ Repeat | Cost$ X X G | References$ X | RepeatSubAbility$ DBPopulate | MaxRepeat$ X | StackDescription$ SpellDescription | SpellDescription$ Populate X times. (To populate, create a token that's a copy of a creature token you control. Do this X times.) +A:SP$ Repeat | Cost$ X X G | RepeatSubAbility$ DBPopulate | MaxRepeat$ X | StackDescription$ SpellDescription | SpellDescription$ Populate X times. (To populate, create a token that's a copy of a creature token you control. Do this X times.) SVar:X:Count$xPaid SVar:DBPopulate:DB$ CopyPermanent | Choices$ Creature.token+YouCtrl | NumCopies$ 1 | Populate$ True DeckNeeds:Ability$Token diff --git a/forge-gui/res/cardsfolder/f/fumigate.txt b/forge-gui/res/cardsfolder/f/fumigate.txt index 2267ec0b232..7caf0a84ba7 100644 --- a/forge-gui/res/cardsfolder/f/fumigate.txt +++ b/forge-gui/res/cardsfolder/f/fumigate.txt @@ -2,7 +2,7 @@ Name:Fumigate ManaCost:3 W W Types:Sorcery A:SP$ DestroyAll | Cost$ 3 W W | ValidCards$ Creature | RememberDestroyed$ True | SubAbility$ DBGainLife | SpellDescription$ Destroy all creatures. You gain 1 life for each creature destroyed this way. -SVar:DBGainLife:DB$GainLife | Defined$ You | SubAbility$ DBCleanup | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | SubAbility$ DBCleanup | LifeAmount$ X SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/fumigate.jpg diff --git a/forge-gui/res/cardsfolder/f/fungal_behemoth.txt b/forge-gui/res/cardsfolder/f/fungal_behemoth.txt index 6a5c1d87f68..7a82116d409 100644 --- a/forge-gui/res/cardsfolder/f/fungal_behemoth.txt +++ b/forge-gui/res/cardsfolder/f/fungal_behemoth.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Creature Fungus Text:X can't be 0. PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | References$ Y | Description$ CARDNAME's power and toughness are each equal to the number of +1/+1 counters on creatures you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | Description$ CARDNAME's power and toughness are each equal to the number of +1/+1 counters on creatures you control. K:Suspend:X:XCantBe0 X G G T:Mode$ CounterRemoved | ValidCard$ Card.Self | TriggerZones$ Exile | CounterType$ TIME | Execute$ TrigPut | OptionalDecider$ You | TriggerDescription$ Whenever a time counter is removed from CARDNAME while it's exiled, you may put a +1/+1 counter on target creature. SVar:TrigPut:DB$ PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ 1 diff --git a/forge-gui/res/cardsfolder/f/fungal_reaches.txt b/forge-gui/res/cardsfolder/f/fungal_reaches.txt index 74ac2da8e31..83da8202cf6 100644 --- a/forge-gui/res/cardsfolder/f/fungal_reaches.txt +++ b/forge-gui/res/cardsfolder/f/fungal_reaches.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. A:AB$ PutCounter | Cost$ 1 T | CounterType$ STORAGE | CounterNum$ 1 | SpellDescription$ Put a storage counter on CARDNAME. -A:AB$ Mana | Cost$ 1 SubCounter | Produced$ Combo R G | Amount$ X | CostDesc$ {1}, Remove X storage counters from CARDNAME: | References$ X | SpellDescription$ Add X mana in any combination of {R} and/or {G}. +A:AB$ Mana | Cost$ 1 SubCounter | Produced$ Combo R G | Amount$ X | CostDesc$ {1}, Remove X storage counters from CARDNAME: | SpellDescription$ Add X mana in any combination of {R} and/or {G}. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{T}: Add {C}.\n{1}, {T}: Put a storage counter on Fungal Reaches.\n{1}, Remove X storage counters from Fungal Reaches: Add X mana in any combination of {R} and/or {G}. diff --git a/forge-gui/res/cardsfolder/f/fungal_rebirth.txt b/forge-gui/res/cardsfolder/f/fungal_rebirth.txt index 5aa2f6c62d5..88687bd019d 100755 --- a/forge-gui/res/cardsfolder/f/fungal_rebirth.txt +++ b/forge-gui/res/cardsfolder/f/fungal_rebirth.txt @@ -2,7 +2,7 @@ Name:Fungal Rebirth ManaCost:2 G Types:Instant A:SP$ ChangeZone | Cost$ 2 G | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Select target permanent card in your graveyard | ValidTgts$ Permanent.YouOwn | SubAbility$ DBToken | StackDescription$ SpellDescription | SpellDescription$ Return target permanent card from your graveyard to your hand. If a creature died this turn, create two 1/1 green Saproling creature tokens. -SVar:DBToken:DB$ Token | TokenAmount$ 2 | TokenScript$ g_1_1_saproling | TokenOwner$ You | ConditionCheckSVar$ Morbid | ConditionSVarCompare$ GE1 | References$ Morbid +SVar:DBToken:DB$ Token | TokenAmount$ 2 | TokenScript$ g_1_1_saproling | TokenOwner$ You | ConditionCheckSVar$ Morbid | ConditionSVarCompare$ GE1 SVar:Morbid:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature DeckHints:Type$Fungus DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/f/fungal_sprouting.txt b/forge-gui/res/cardsfolder/f/fungal_sprouting.txt index d3570ce0891..e34e0e06c66 100644 --- a/forge-gui/res/cardsfolder/f/fungal_sprouting.txt +++ b/forge-gui/res/cardsfolder/f/fungal_sprouting.txt @@ -1,7 +1,7 @@ Name:Fungal Sprouting ManaCost:3 G Types:Sorcery -A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling m13 | References$ X | SpellDescription$ Create X 1/1 green Saproling creature tokens, where X is the greatest power among creatures you control. +A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling m13 | SpellDescription$ Create X 1/1 green Saproling creature tokens, where X is the greatest power among creatures you control. SVar:X:Count$GreatestPower_Creature.YouCtrl DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/fungal_sprouting.jpg diff --git a/forge-gui/res/cardsfolder/f/furnace_of_rath.txt b/forge-gui/res/cardsfolder/f/furnace_of_rath.txt index 0aec427bb3b..6bc07037f84 100644 --- a/forge-gui/res/cardsfolder/f/furnace_of_rath.txt +++ b/forge-gui/res/cardsfolder/f/furnace_of_rath.txt @@ -2,7 +2,7 @@ Name:Furnace of Rath ManaCost:1 R R R Types:Enchantment R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card,Emblem | ValidTarget$ Permanent,Player | ReplaceWith$ DmgTwice | Description$ If a source would deal damage to a permanent or player, it deals double that damage to that permanent or player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:PlayMain1:TRUE AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/f/fury_storm.txt b/forge-gui/res/cardsfolder/f/fury_storm.txt index 19c481c8bbb..8850a8b2892 100644 --- a/forge-gui/res/cardsfolder/f/fury_storm.txt +++ b/forge-gui/res/cardsfolder/f/fury_storm.txt @@ -2,7 +2,7 @@ Name:Fury Storm ManaCost:2 R R Types:Instant T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigCopy | TriggerDescription$ When you cast this spell, copy it for each time you've cast your commander from the command zone this game. -SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | Amount$ X | References$ X | MayChooseTarget$ True +SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | Amount$ X | MayChooseTarget$ True SVar:X:Count$TotalCommanderCastFromCommandZone A:SP$ CopySpellAbility | Cost$ 2 R R | ValidTgts$ Instant,Sorcery | TargetType$ Spell | MayChooseTarget$ True | SpellDescription$ Copy target instant or sorcery spell. You may choose new targets for the copy. Oracle:When you cast this spell, copy it for each time you've cast your commander from the command zone this game. You may choose new targets for the copies.\nCopy target instant or sorcery spell. You may choose new targets for the copy. diff --git a/forge-gui/res/cardsfolder/g/gadrak_the_crown_scourge.txt b/forge-gui/res/cardsfolder/g/gadrak_the_crown_scourge.txt index b345075eefb..c6437f5febe 100755 --- a/forge-gui/res/cardsfolder/g/gadrak_the_crown_scourge.txt +++ b/forge-gui/res/cardsfolder/g/gadrak_the_crown_scourge.txt @@ -6,7 +6,7 @@ K:Flying S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can't attack. | CheckSVar$ X | SVarCompare$ LE3 | Description$ CARDNAME can't attack unless you control four or more artifacts. SVar:X:Count$Valid Artifact.YouCtrl T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your end step, create a Treasure token for each nontoken creature that died this turn. -SVar:TrigToken:DB$ Token | TokenAmount$ Y | References$ Y | TokenScript$ c_a_treasure_sac | TokenOwner$ You +SVar:TrigToken:DB$ Token | TokenAmount$ Y | TokenScript$ c_a_treasure_sac | TokenOwner$ You SVar:Y:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature.nonToken DeckHas:Ability$Token DeckHints:Type$Artifact diff --git a/forge-gui/res/cardsfolder/g/gadwick_the_wizened.txt b/forge-gui/res/cardsfolder/g/gadwick_the_wizened.txt index 0dcfc8ab91a..b6ec5f6a39e 100644 --- a/forge-gui/res/cardsfolder/g/gadwick_the_wizened.txt +++ b/forge-gui/res/cardsfolder/g/gadwick_the_wizened.txt @@ -3,7 +3,7 @@ ManaCost:X U U U Types:Legendary Creature Human Wizard PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw X cards. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:Count$xPaid T:Mode$ SpellCast | ValidCard$ Card.Blue | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigTap | TriggerDescription$ Whenever you cast a blue spell, tap target nonland permanent an opponent controls. SVar:TrigTap:DB$ Tap | ValidTgts$ Permanent.OppCtrl+nonLand | TgtPrompt$ Select target nonland permanent an opponent controls diff --git a/forge-gui/res/cardsfolder/g/gaeas_avenger.txt b/forge-gui/res/cardsfolder/g/gaeas_avenger.txt index c1f8606be96..2880445985e 100644 --- a/forge-gui/res/cardsfolder/g/gaeas_avenger.txt +++ b/forge-gui/res/cardsfolder/g/gaeas_avenger.txt @@ -2,7 +2,7 @@ Name:Gaea's Avenger ManaCost:1 G G Types:Creature Treefolk PT:1+*/1+* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to 1 plus the number of artifacts your opponents control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to 1 plus the number of artifacts your opponents control. SVar:X:Count$NumTypeOppCtrl.Artifact/Plus.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/gaeas_avenger.jpg Oracle:Gaea's Avenger's power and toughness are each equal to 1 plus the number of artifacts your opponents control. diff --git a/forge-gui/res/cardsfolder/g/gaeas_cradle.txt b/forge-gui/res/cardsfolder/g/gaeas_cradle.txt index 8c125059b74..cd087d0e679 100644 --- a/forge-gui/res/cardsfolder/g/gaeas_cradle.txt +++ b/forge-gui/res/cardsfolder/g/gaeas_cradle.txt @@ -1,7 +1,7 @@ Name:Gaea's Cradle ManaCost:no cost Types:Legendary Land -A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | References$ X | SpellDescription$ Add {G} for each Creature you control. +A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | SpellDescription$ Add {G} for each Creature you control. SVar:X:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/gaeas_cradle.jpg Oracle:{T}: Add {G} for each creature you control. diff --git a/forge-gui/res/cardsfolder/g/gaeas_might.txt b/forge-gui/res/cardsfolder/g/gaeas_might.txt index c29dd114302..d73e48da5aa 100644 --- a/forge-gui/res/cardsfolder/g/gaeas_might.txt +++ b/forge-gui/res/cardsfolder/g/gaeas_might.txt @@ -1,7 +1,7 @@ Name:Gaea's Might ManaCost:G Types:Instant -A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Domain — Target creature gets +1/+1 until end of turn for each basic land type among lands you control. +A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Domain — Target creature gets +1/+1 until end of turn for each basic land type among lands you control. SVar:X:Count$Domain AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/gaeas_might.jpg diff --git a/forge-gui/res/cardsfolder/g/galloping_lizrog.txt b/forge-gui/res/cardsfolder/g/galloping_lizrog.txt index 14e378503ef..9e4d973a2a3 100644 --- a/forge-gui/res/cardsfolder/g/galloping_lizrog.txt +++ b/forge-gui/res/cardsfolder/g/galloping_lizrog.txt @@ -5,7 +5,7 @@ PT:3/3 K:Trample T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | OptionalDecider$ You | Execute$ TrigRemoveCounters | TriggerDescription$ When CARDNAME enters the battlefield, you may remove any number of +1/+1 counters from among creatures you control. If you do, put twice that many +1/+1 counters on CARDNAME. SVar:TrigRemoveCounters:DB$ RemoveCounter | ValidSource$ Creature.YouCtrl+counters_GE1_P1P1 | CounterType$ P1P1 | CounterNum$ Any | SubAbility$ DBPutCounters | RememberAmount$ True | StackDescription$ You may remove any number of +1/+1 counters from among creatures you control. -SVar:DBPutCounters:DB$PutCounter | Defined$ TriggeredCardLKICopy | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBCleanup +SVar:DBPutCounters:DB$PutCounter | Defined$ TriggeredCardLKICopy | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedNumber/Twice DeckHints:Ability$Counters diff --git a/forge-gui/res/cardsfolder/g/galvanic_blast.txt b/forge-gui/res/cardsfolder/g/galvanic_blast.txt index 6765c9d6aa6..bb4209795fd 100644 --- a/forge-gui/res/cardsfolder/g/galvanic_blast.txt +++ b/forge-gui/res/cardsfolder/g/galvanic_blast.txt @@ -1,7 +1,7 @@ Name:Galvanic Blast ManaCost:R Types:Instant -A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals 2 damage to target creature or player. Metalcraft — CARDNAME deals 4 damage instead if you control 3 or more artifacts. +A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select target | NumDmg$ X | SpellDescription$ CARDNAME deals 2 damage to target creature or player. Metalcraft — CARDNAME deals 4 damage instead if you control 3 or more artifacts. SVar:X:Count$Metalcraft.4.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/galvanic_blast.jpg Oracle:Galvanic Blast deals 2 damage to any target.\nMetalcraft — Galvanic Blast deals 4 damage instead if you control three or more artifacts. diff --git a/forge-gui/res/cardsfolder/g/galvanic_bombardment.txt b/forge-gui/res/cardsfolder/g/galvanic_bombardment.txt index 1ecfa9ec8c1..a9550d54842 100644 --- a/forge-gui/res/cardsfolder/g/galvanic_bombardment.txt +++ b/forge-gui/res/cardsfolder/g/galvanic_bombardment.txt @@ -1,7 +1,7 @@ Name:Galvanic Bombardment ManaCost:R Types:Instant -A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature, where X is 2 plus the number of cards named Galvanic Bombardment in your graveyard. +A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature, where X is 2 plus the number of cards named Galvanic Bombardment in your graveyard. SVar:X:Count$ValidGraveyard Card.YouOwn+namedGalvanic Bombardment/Plus.2 DeckHints:Name$Galvanic Bombardment SVar:Picture:http://www.wizards.com/global/images/magic/general/galvanic_bombardment.jpg diff --git a/forge-gui/res/cardsfolder/g/game_of_chaos.txt b/forge-gui/res/cardsfolder/g/game_of_chaos.txt index 844cb7dcd9d..2aa788eb7ae 100644 --- a/forge-gui/res/cardsfolder/g/game_of_chaos.txt +++ b/forge-gui/res/cardsfolder/g/game_of_chaos.txt @@ -10,8 +10,8 @@ SVar:RememberYou:DB$ Pump | RememberObjects$ You SVar:GainlifeOpp:DB$ GainLife | Defined$ Targeted | LifeAmount$ NumLife | SubAbility$ LoseLifeYou SVar:LoseLifeYou:DB$ LoseLife | Defined$ You | LifeAmount$ NumLife | SubAbility$ RememberOpp SVar:RememberOpp:DB$ Pump | RememberObjects$ Targeted -SVar:DoubleLifeStake:DB$ StoreSVar | SVar$ NumLife | References$ NumLife | Type$ CountSVar | Expression$ NumLife/Times.2 -SVar:DBRestore:DB$ StoreSVar | SVar$ NumLife | References$ NumLife | Type$ Number | Expression$ 1 +SVar:DoubleLifeStake:DB$ StoreSVar | SVar$ NumLife | Type$ CountSVar | Expression$ NumLife/Times.2 +SVar:DBRestore:DB$ StoreSVar | SVar$ NumLife | Type$ Number | Expression$ 1 SVar:NumLife:Number$1 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/game_of_chaos.jpg diff --git a/forge-gui/res/cardsfolder/g/gang_of_elk.txt b/forge-gui/res/cardsfolder/g/gang_of_elk.txt index 2d6146684e4..4976a6a27c2 100644 --- a/forge-gui/res/cardsfolder/g/gang_of_elk.txt +++ b/forge-gui/res/cardsfolder/g/gang_of_elk.txt @@ -3,6 +3,6 @@ ManaCost:5 G Types:Creature Elk Beast PT:5/4 T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME becomes blocked, it gets +2/+2 until end of turn for each creature blocking it. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +X SVar:X:TriggerCount$NumBlockers/Times.2 Oracle:Whenever Gang of Elk becomes blocked, it gets +2/+2 until end of turn for each creature blocking it. diff --git a/forge-gui/res/cardsfolder/g/gangrenous_zombies.txt b/forge-gui/res/cardsfolder/g/gangrenous_zombies.txt index aa22ba267bc..68acff62966 100644 --- a/forge-gui/res/cardsfolder/g/gangrenous_zombies.txt +++ b/forge-gui/res/cardsfolder/g/gangrenous_zombies.txt @@ -2,7 +2,7 @@ Name:Gangrenous Zombies ManaCost:1 B B Types:Creature Zombie PT:2/2 -A:AB$ DamageAll | Cost$ T Sac<1/CARDNAME> | ValidCards$ Creature | ValidPlayers$ Player | NumDmg$ X | References$ X,Y | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 1 damage to each creature and each player. If you control a snow Swamp, CARDNAME deals 2 damage instead. +A:AB$ DamageAll | Cost$ T Sac<1/CARDNAME> | ValidCards$ Creature | ValidPlayers$ Player | NumDmg$ X | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 1 damage to each creature and each player. If you control a snow Swamp, CARDNAME deals 2 damage instead. SVar:X:Count$Compare Y EQ0.1.2 SVar:Y:Count$Valid Swamp.Snow+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/gangrenous_zombies.jpg diff --git a/forge-gui/res/cardsfolder/g/gargantuan_gorilla.txt b/forge-gui/res/cardsfolder/g/gargantuan_gorilla.txt index c1ea1a5a0e3..5c3641cb992 100644 --- a/forge-gui/res/cardsfolder/g/gargantuan_gorilla.txt +++ b/forge-gui/res/cardsfolder/g/gargantuan_gorilla.txt @@ -8,8 +8,8 @@ SVar:DBPump:DB$ Pump | Defined$ Self | KW$ Trample | ConditionDefined$ Remembere SVar:DBSacMe:DB$ Sacrifice | Defined$ Self | ConditionDefined$ Remembered | ConditionPresent$ Forest | ConditionCompare$ EQ0 | SubAbility$ DBRageDamage SVar:DBRageDamage:DB$ DealDamage | Defined$ You | NumDmg$ 7 | ConditionDefined$ Remembered | ConditionPresent$ Forest | ConditionCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature.Other | TgtPrompt$ Select target othere creature | NumDmg$ X | References$ X | SubAbility$ DamageThis | SpellDescription$ CARDNAME deals damage equal to its power to target creature. That creature deals damage equal to its power to CARDNAME. -SVar:DamageThis:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y | References$ Y +A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature.Other | TgtPrompt$ Select target othere creature | NumDmg$ X | SubAbility$ DamageThis | SpellDescription$ CARDNAME deals damage equal to its power to target creature. That creature deals damage equal to its power to CARDNAME. +SVar:DamageThis:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y SVar:X:Count$CardPower SVar:Y:Targeted$CardPower AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/g/garruk_apex_predator.txt b/forge-gui/res/cardsfolder/g/garruk_apex_predator.txt index e24b5fbc85d..b8f9382942c 100644 --- a/forge-gui/res/cardsfolder/g/garruk_apex_predator.txt +++ b/forge-gui/res/cardsfolder/g/garruk_apex_predator.txt @@ -5,7 +5,7 @@ Loyalty:5 A:AB$ Destroy | Cost$ AddCounter<1/LOYALTY> | ValidTgts$ Planeswalker.Other | TgtPrompt$ Select another target planeswalker | Planeswalker$ True | SpellDescription$ Destroy another target planeswalker. A:AB$ Token | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | TokenAmount$ 1 | TokenScript$ b_3_3_beast_deathtouch | TokenOwner$ You | LegacyImage$ b 3 3 beast deathtouch m15 | SpellDescription$ Create a 3/3 black Beast creature token with deathtouch. A:AB$ Destroy | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBGainLife | SpellDescription$ Destroy target creature. You gain life equal to its toughness. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TargetedLKI$CardToughness A:AB$ Effect | Cost$ SubCounter<8/LOYALTY> | ValidTgts$ Opponent | EffectOwner$ Targeted | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Garruk, Apex Predator | Image$ emblem_garruk_apex_predator | Triggers$ TrigAttackYou | SVars$ DBPump | Duration$ Permanent | AILogic$ Always | SpellDescription$ Target opponent gets an emblem with "Whenever a creature attacks you, it gets +5/+5 and gains trample until end of turn." SVar:TrigAttackYou:Mode$ Attacks | ValidCard$ Creature | Attacked$ You | TriggerZones$ Command | Execute$ DBPump | TriggerDescription$ Whenever a creature attacks you, it gets +5/+5 and gains trample until end of turn. diff --git a/forge-gui/res/cardsfolder/g/garruk_primal_hunter.txt b/forge-gui/res/cardsfolder/g/garruk_primal_hunter.txt index 2f38c402453..691fbe170ed 100644 --- a/forge-gui/res/cardsfolder/g/garruk_primal_hunter.txt +++ b/forge-gui/res/cardsfolder/g/garruk_primal_hunter.txt @@ -3,7 +3,7 @@ ManaCost:2 G G G Types:Legendary Planeswalker Garruk Loyalty:3 A:AB$ Token | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | TokenAmount$ 1 | TokenScript$ g_3_3_beast | TokenOwner$ You | LegacyImage$ g 3 3 beast m12 | SpellDescription$ Create a 3/3 green Beast creature token. -A:AB$ Draw | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | Defined$ You | NumCards$ X | References$ X | SpellDescription$ Draw cards equal to the greatest power among creatures you control. +A:AB$ Draw | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | Defined$ You | NumCards$ X | SpellDescription$ Draw cards equal to the greatest power among creatures you control. SVar:X:Count$GreatestPower_Creature.YouCtrl A:AB$ Token | Cost$ SubCounter<6/LOYALTY> | Planeswalker$ True | Ultimate$ True | TokenAmount$ Y | TokenScript$ g_6_6_wurm | TokenOwner$ You | LegacyImage$ g 6 6 wurm m12 | SpellDescription$ Create a 6/6 green Wurm creature token for each land you control. SVar:Y:Count$Valid Land.YouCtrl diff --git a/forge-gui/res/cardsfolder/g/garruk_relentless_garruk_the_veil_cursed.txt b/forge-gui/res/cardsfolder/g/garruk_relentless_garruk_the_veil_cursed.txt index 1faa6757b19..419ce27d801 100644 --- a/forge-gui/res/cardsfolder/g/garruk_relentless_garruk_the_veil_cursed.txt +++ b/forge-gui/res/cardsfolder/g/garruk_relentless_garruk_the_veil_cursed.txt @@ -4,8 +4,8 @@ Types:Legendary Planeswalker Garruk Loyalty:3 T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Card.Self+counters_LE2_LOYALTY | Execute$ TrigTransform | TriggerDescription$ When CARDNAME has two or fewer loyalty counters on him, transform him. A:AB$ DealDamage | Cost$ AddCounter<0/LOYALTY> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 3 | SubAbility$ DamageThis | Planeswalker$ True | SpellDescription$ CARDNAME deals 3 damage to target creature. That creature deals damage equal to its power to him. -A:AB$ Token | Cost$ AddCounter<0/LOYALTY> | TokenAmount$ 1 | TokenScript$ g_2_2_wolf | TokenOwner$ You | LegacyImage$ g 2 2 wolf isd | Planeswalker$ True | References$ Y | SpellDescription$ Create a 2/2 green Wolf creature token. -SVar:DamageThis:DB$ DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y | References$ Y +A:AB$ Token | Cost$ AddCounter<0/LOYALTY> | TokenAmount$ 1 | TokenScript$ g_2_2_wolf | TokenOwner$ You | LegacyImage$ g 2 2 wolf isd | Planeswalker$ True | SpellDescription$ Create a 2/2 green Wolf creature token. +SVar:DamageThis:DB$ DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y SVar:Y:Targeted$CardPower SVar:TrigTransform:DB$ SetState | Defined$ Self | Mode$ Transform AlternateMode:DoubleFaced @@ -21,7 +21,7 @@ Types:Legendary Planeswalker Garruk Loyalty:3 A:AB$ Token | Cost$ AddCounter<1/LOYALTY> | TokenAmount$ 1 | TokenScript$ b_1_1_wolf_deathtouch | LegacyImage$ b 1 1 wolf deathtouch isd | TokenOwner$ You | Planeswalker$ True | SpellDescription$ Create a 1/1 black Wolf creature token with deathtouch. A:AB$ Sacrifice | Cost$ SubCounter<1/LOYALTY> | Defined$ You | SacValid$ Creature | SacMessage$ Creature | SubAbility$ DBSearch | Planeswalker$ True | RememberSacrificed$ True | SpellDescription$ Sacrifice a creature. If you do, search your library for a creature card, reveal it, put it into your hand, then shuffle your library. -A:AB$ PumpAll | Cost$ SubCounter<3/LOYALTY> | ValidCards$ Creature.YouCtrl | KW$ Trample | NumAtt$ X | NumDef$ X | Planeswalker$ True | Ultimate$ True | References$ X | SpellDescription$ Creatures you control gain trample and get +X/+X until end of turn, where X is the number of creature cards in your graveyard. +A:AB$ PumpAll | Cost$ SubCounter<3/LOYALTY> | ValidCards$ Creature.YouCtrl | KW$ Trample | NumAtt$ X | NumDef$ X | Planeswalker$ True | Ultimate$ True | SpellDescription$ Creatures you control gain trample and get +X/+X until end of turn, where X is the number of creature cards in your graveyard. SVar:X:Count$TypeInYourYard.Creature SVar:DBSearch:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Creature | ChangeNum$ 1 | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/g/garruk_savage_herald.txt b/forge-gui/res/cardsfolder/g/garruk_savage_herald.txt index e561c7ae68d..dfc725e29bf 100755 --- a/forge-gui/res/cardsfolder/g/garruk_savage_herald.txt +++ b/forge-gui/res/cardsfolder/g/garruk_savage_herald.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Garruk Loyalty:5 A:AB$ Dig | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Creature | DestinationZone$ Hand | DestinationZone2$ Library | LibraryPosition2$ -1 | StackDescription$ SpellDescription | SpellDescription$ Reveal the top card of your library. If it's a creature card, put it into your hand. Otherwise, put it on the bottom of your library. A:AB$ Pump | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | SubAbility$ DBDamage | AILogic$ PowerDmg | SpellDescription$ Target creature you control deals damage equal to its power to another target creature. -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature to damage | TargetUnique$ True | AILogic$ PowerDmg | NumDmg$ X | References$ X | DamageSource$ ParentTarget +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature to damage | TargetUnique$ True | AILogic$ PowerDmg | NumDmg$ X | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower A:AB$ PumpAll | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidCards$ Creature.YouCtrl | KW$ HIDDEN You may have CARDNAME assign its combat damage as though it weren't blocked. | SpellDescription$ Until end of turn, creatures you control gain "You may have this creature assign its combat damage as though it weren't blocked." Oracle:[+1]: Reveal the top card of your library. If it's a creature card, put it into your hand. Otherwise, put it on the bottom of your library.\n[−2]: Target creature you control deals damage equal to its power to another target creature.\n[−7]: Until end of turn, creatures you control gain "You may have this creature assign its combat damage as though it weren't blocked." diff --git a/forge-gui/res/cardsfolder/g/garruk_unleashed.txt b/forge-gui/res/cardsfolder/g/garruk_unleashed.txt index 33d4ea6e352..60f2f6b363e 100755 --- a/forge-gui/res/cardsfolder/g/garruk_unleashed.txt +++ b/forge-gui/res/cardsfolder/g/garruk_unleashed.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Garruk Loyalty:4 A:AB$ Pump | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ 3 | NumDef$ 3 | KW$ Trample | SpellDescription$ Up to one target creature gets +3/+3 and gains trample until end of turn. A:AB$ Token | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | TokenAmount$ 1 | TokenScript$ g_3_3_beast | TokenOwner$ You | SubAbility$ DBPutCounter | StackDescription$ SpellDescription | SpellDescription$ Create a 3/3 green Beast creature token. Then if an opponent controls more creatures than you, put a loyalty counter on CARDNAME. -SVar:DBPutCounter:DB$ PutCounter | ConditionPresent$ Creature.OppCtrl | ConditionCompare$ GTX | References$ X | Defined$ Self | CounterNum$ 1 | CounterType$ LOYALTY | StackDescription$ None +SVar:DBPutCounter:DB$ PutCounter | ConditionPresent$ Creature.OppCtrl | ConditionCompare$ GTX | Defined$ Self | CounterNum$ 1 | CounterType$ LOYALTY | StackDescription$ None SVar:X:Count$Valid Creature.YouCtrl DeckHas:Ability$Token A:AB$ Effect | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Garruk, Unleashed | Image$ emblem_garruk_unleashed | Triggers$ EffPhase | SVars$ EmblemTrigChangeZone | Duration$ Permanent | SpellDescription$ Create an emblem "At the beginning of your end step, you may search your library for a creature card, put it onto the battlefield, then shuffle your library." diff --git a/forge-gui/res/cardsfolder/g/garruks_harbinger.txt b/forge-gui/res/cardsfolder/g/garruks_harbinger.txt index ecae6ed5105..1b4baf85ec1 100755 --- a/forge-gui/res/cardsfolder/g/garruks_harbinger.txt +++ b/forge-gui/res/cardsfolder/g/garruks_harbinger.txt @@ -4,7 +4,7 @@ Types:Creature Beast PT:4/3 K:Hexproof:Card.Black:black T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player,Planeswalker | Execute$ TrigDig | CombatDamage$ True | TriggerDescription$ Whenever CARDNAME deals combat damage to a player or planeswalker, look at that many cards from the top of your library. You may reveal a creature card or Garruk planeswalker card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -SVar:TrigDig:DB$ Dig | DigNum$ X | References$ X | ChangeNum$ 1 | ChangeValid$ Creature,Planeswalker.Garruk | Optional$ True | DestinationZone$ Hand | RestRandomOrder$ True +SVar:TrigDig:DB$ Dig | DigNum$ X | ChangeNum$ 1 | ChangeValid$ Creature,Planeswalker.Garruk | Optional$ True | DestinationZone$ Hand | RestRandomOrder$ True SVar:X:TriggerCount$DamageAmount DeckHints:Type$Garruk Oracle:Hexproof from black\nWhenever Garruk's Harbinger deals combat damage to a player or planeswalker, look at that many cards from the top of your library. You may reveal a creature card or Garruk planeswalker card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. diff --git a/forge-gui/res/cardsfolder/g/garzas_assassin.txt b/forge-gui/res/cardsfolder/g/garzas_assassin.txt index 40723d8a928..0bf5653d7bd 100644 --- a/forge-gui/res/cardsfolder/g/garzas_assassin.txt +++ b/forge-gui/res/cardsfolder/g/garzas_assassin.txt @@ -3,7 +3,7 @@ ManaCost:B B B Types:Creature Human Assassin PT:2/2 K:Recover:PayLife -A:AB$ Destroy | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | References$ X | SpellDescription$ Destroy target nonblack creature. +A:AB$ Destroy | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | SpellDescription$ Destroy target nonblack creature. SVar:X:Count$YourLifeTotal/HalfUp SVar:Picture:http://www.wizards.com/global/images/magic/general/garzas_assassin.jpg Oracle:Sacrifice Garza's Assassin: Destroy target nonblack creature.\nRecover—Pay half your life, rounded up. (When another creature is put into your graveyard from the battlefield, you may pay half your life, rounded up. If you do, return this card from your graveyard to your hand. Otherwise, exile this card.) diff --git a/forge-gui/res/cardsfolder/g/gate_to_the_afterlife.txt b/forge-gui/res/cardsfolder/g/gate_to_the_afterlife.txt index 601c69a557c..14c02222036 100644 --- a/forge-gui/res/cardsfolder/g/gate_to_the_afterlife.txt +++ b/forge-gui/res/cardsfolder/g/gate_to_the_afterlife.txt @@ -4,9 +4,9 @@ Types:Artifact T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | TriggerZones$ Battlefield | ValidCard$ Creature.nonToken+YouCtrl | Execute$ TrigGainLife | TriggerDescription$ Whenever a nontoken creature you control dies, you gain 1 life. Then you may draw a card. If you do, discard a card. SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ 1 | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | NumCards$ 1 | OptionalDecider$ You | RememberDrawn$ True | SubAbility$ DBDiscard -SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBCleanup +SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -A:AB$ ChangeZone | Cost$ 2 T Sac<1/CARDNAME> | Hidden$ True | Origin$ Library | OriginChoice$ True | OriginAlternative$ Graveyard,Hand | AlternativeMessage$ Would you like to search your library with this ability? If you do, your library will be shuffled. | Destination$ Battlefield | ChangeType$ Card.namedGod-Pharaoh's Gift | CheckSVar$ Y | SVarCompare$ GE6 | References$ Y | SpellDescription$ Search your graveyard, hand, and/or library for a card named God-Pharaoh's Gift and put it onto the battlefield. If you search your library this way, shuffle it. Activate this ability only if there are six or more creature cards in your graveyard. +A:AB$ ChangeZone | Cost$ 2 T Sac<1/CARDNAME> | Hidden$ True | Origin$ Library | OriginChoice$ True | OriginAlternative$ Graveyard,Hand | AlternativeMessage$ Would you like to search your library with this ability? If you do, your library will be shuffled. | Destination$ Battlefield | ChangeType$ Card.namedGod-Pharaoh's Gift | CheckSVar$ Y | SVarCompare$ GE6 | SpellDescription$ Search your graveyard, hand, and/or library for a card named God-Pharaoh's Gift and put it onto the battlefield. If you search your library this way, shuffle it. Activate this ability only if there are six or more creature cards in your graveyard. SVar:X:Remembered$Amount SVar:Y:Count$ValidGraveyard Creature.YouOwn DeckHints:Name$God-Pharaoh's Gift diff --git a/forge-gui/res/cardsfolder/g/gates_ablaze.txt b/forge-gui/res/cardsfolder/g/gates_ablaze.txt index 6850e69d8ff..e09a09dad50 100644 --- a/forge-gui/res/cardsfolder/g/gates_ablaze.txt +++ b/forge-gui/res/cardsfolder/g/gates_ablaze.txt @@ -1,7 +1,7 @@ Name:Gates Ablaze ManaCost:2 R Types:Sorcery -A:SP$ DamageAll | Cost$ 2 R | NumDmg$ X | ValidCards$ Creature | ValidDescription$ each creature. | References$ X | SpellDescription$ CARDNAME deals X damage to each creature, where X is the number of Gates you control. +A:SP$ DamageAll | Cost$ 2 R | NumDmg$ X | ValidCards$ Creature | ValidDescription$ each creature. | SpellDescription$ CARDNAME deals X damage to each creature, where X is the number of Gates you control. SVar:X:Count$Valid Gate.YouCtrl DeckHints:Type$Gate Oracle:Gates Ablaze deals X damage to each creature, where X is the number of Gates you control. diff --git a/forge-gui/res/cardsfolder/g/gather_the_pack.txt b/forge-gui/res/cardsfolder/g/gather_the_pack.txt index 704ecbdf46a..fb1032d6ac1 100644 --- a/forge-gui/res/cardsfolder/g/gather_the_pack.txt +++ b/forge-gui/res/cardsfolder/g/gather_the_pack.txt @@ -1,7 +1,7 @@ Name:Gather the Pack ManaCost:1 G Types:Sorcery -A:SP$ Dig | Cost$ 1 G | DigNum$ 5 | Reveal$ True | ChangeNum$ X | References$ X,Y | ChangeValid$ Creature | Optional$ True | DestinationZone$ Hand | DestinationZone2$ Graveyard | SpellDescription$ Reveal the top five cards of your library. You may put a creature card from among them into your hand. Put the rest into your graveyard. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, put up to two creature cards from among the revealed cards into your hand instead of one. +A:SP$ Dig | Cost$ 1 G | DigNum$ 5 | Reveal$ True | ChangeNum$ X | ChangeValid$ Creature | Optional$ True | DestinationZone$ Hand | DestinationZone2$ Graveyard | SpellDescription$ Reveal the top five cards of your library. You may put a creature card from among them into your hand. Put the rest into your graveyard. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, put up to two creature cards from among the revealed cards into your hand instead of one. SVar:X:Count$Compare Y GE2.2.1 SVar:Y:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/gather_the_pack.jpg diff --git a/forge-gui/res/cardsfolder/g/gather_the_townsfolk.txt b/forge-gui/res/cardsfolder/g/gather_the_townsfolk.txt index 4c1ea97941d..f152dd37034 100644 --- a/forge-gui/res/cardsfolder/g/gather_the_townsfolk.txt +++ b/forge-gui/res/cardsfolder/g/gather_the_townsfolk.txt @@ -1,7 +1,7 @@ Name:Gather the Townsfolk ManaCost:1 W Types:Sorcery -A:SP$ Token | Cost$ 1 W | TokenAmount$ X | TokenScript$ w_1_1_human | TokenOwner$ You | LegacyImage$ w 1 1 human dka | References$ X | SpellDescription$ Create two 1/1 white Human creature tokens. Fateful hour — If you have 5 or less life, create five of those tokens instead. +A:SP$ Token | Cost$ 1 W | TokenAmount$ X | TokenScript$ w_1_1_human | TokenOwner$ You | LegacyImage$ w 1 1 human dka | SpellDescription$ Create two 1/1 white Human creature tokens. Fateful hour — If you have 5 or less life, create five of those tokens instead. SVar:X:Count$FatefulHour.5.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/gather_the_townsfolk.jpg Oracle:Create two 1/1 white Human creature tokens.\nFateful hour — If you have 5 or less life, create five of those tokens instead. diff --git a/forge-gui/res/cardsfolder/g/gavi_nest_warden.txt b/forge-gui/res/cardsfolder/g/gavi_nest_warden.txt index 4d77a6d73c1..9dd91483ced 100755 --- a/forge-gui/res/cardsfolder/g/gavi_nest_warden.txt +++ b/forge-gui/res/cardsfolder/g/gavi_nest_warden.txt @@ -2,7 +2,7 @@ Name:Gavi, Nest Warden ManaCost:2 U R W Types:Legendary Creature Human Shaman PT:2/5 -S:Mode$ Continuous | Affected$ You | AddKeyword$ CyclingForZero | CheckSVar$ X | References$ X | SVarCompare$ LT1 | Description$ You may pay {0} rather than pay the cycling cost of the first card you cycle each turn. +S:Mode$ Continuous | Affected$ You | AddKeyword$ CyclingForZero | CheckSVar$ X | SVarCompare$ LT1 | Description$ You may pay {0} rather than pay the cycling cost of the first card you cycle each turn. SVar:X:Count$YouCycledThisTurn T:Mode$ Drawn | ValidCard$ Card.YouCtrl | Number$ 2 | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever you draw your second card each turn, create a 2/2 red and white Dinosaur Cat creature token. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ rw_2_2_dinosaur_cat | TokenOwner$ You | LegacyImage$ rw 2 2 dinosaur cat c20 diff --git a/forge-gui/res/cardsfolder/g/gaze_of_adamaro.txt b/forge-gui/res/cardsfolder/g/gaze_of_adamaro.txt index cbb3f1edafb..c4caa3580a7 100644 --- a/forge-gui/res/cardsfolder/g/gaze_of_adamaro.txt +++ b/forge-gui/res/cardsfolder/g/gaze_of_adamaro.txt @@ -1,7 +1,7 @@ Name:Gaze of Adamaro ManaCost:2 R R Types:Instant Arcane -A:SP$ DealDamage | Cost$ 2 R R | ValidTgts$ Player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target player equal to the number of cards in that player's hand. +A:SP$ DealDamage | Cost$ 2 R R | ValidTgts$ Player | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target player equal to the number of cards in that player's hand. SVar:X:TargetedPlayer$CardsInHand SVar:Picture:http://www.wizards.com/global/images/magic/general/gaze_of_adamaro.jpg Oracle:Gaze of Adamaro deals damage to target player equal to the number of cards in that player's hand. diff --git a/forge-gui/res/cardsfolder/g/gaze_of_granite.txt b/forge-gui/res/cardsfolder/g/gaze_of_granite.txt index a13c5d15c07..caedb24955b 100644 --- a/forge-gui/res/cardsfolder/g/gaze_of_granite.txt +++ b/forge-gui/res/cardsfolder/g/gaze_of_granite.txt @@ -1,7 +1,7 @@ Name:Gaze of Granite ManaCost:X B B G Types:Sorcery -A:SP$ DestroyAll | Cost$ X B B G | ValidCards$ Permanent.nonLand+cmcLEX | References$ X | SpellDescription$ Destroy each nonland permanent with converted mana cost X or less. +A:SP$ DestroyAll | Cost$ X B B G | ValidCards$ Permanent.nonLand+cmcLEX | SpellDescription$ Destroy each nonland permanent with converted mana cost X or less. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/gaze_of_granite.jpg diff --git a/forge-gui/res/cardsfolder/g/gaze_of_pain.txt b/forge-gui/res/cardsfolder/g/gaze_of_pain.txt index 9363e7e7cfc..c2b4c094718 100644 --- a/forge-gui/res/cardsfolder/g/gaze_of_pain.txt +++ b/forge-gui/res/cardsfolder/g/gaze_of_pain.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Sorcery A:SP$ Effect | Cost$ 1 B | Name$ Gaze of Pain Effect | Triggers$ TrigAttackerUnblocked | SVars$ Damage,DBPump,X | SpellDescription$ Until end of turn, whenever a creature you control attacks and isn't blocked, you may choose to have it deal damage equal to its power to a target creature. If you do, it assigns no combat damage this turn. SVar:TrigAttackerUnblocked:Mode$ AttackerUnblocked | ValidCard$ Creature.YouCtrl | Execute$ Damage | OptionalDecider$ You | TriggerDescription$ Until end of turn, whenever a creature you control attacks and isn't blocked, you may choose to have it deal damage equal to its power to a target creature. If you do, it assigns no combat damage this turn. -SVar:Damage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBPump | References$ X +SVar:Damage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBPump SVar:DBPump:DB$ Pump | Defined$ TriggeredAttacker | KW$ HIDDEN CARDNAME assigns no combat damage SVar:X:TriggeredAttacker$CardPower AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/g/gearseeker_serpent.txt b/forge-gui/res/cardsfolder/g/gearseeker_serpent.txt index afc9fa3edd2..eb28114c719 100644 --- a/forge-gui/res/cardsfolder/g/gearseeker_serpent.txt +++ b/forge-gui/res/cardsfolder/g/gearseeker_serpent.txt @@ -2,7 +2,7 @@ Name:Gearseeker Serpent ManaCost:5 U U Types:Creature Serpent PT:5/6 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each artifact you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each artifact you control. A:AB$ Pump | Cost$ 5 U | Defined$ Self | KW$ HIDDEN Unblockable | SpellDescription$ CARDNAME can't be blocked this turn. SVar:X:Count$Valid Artifact.YouCtrl DeckHints:Type$Artifact diff --git a/forge-gui/res/cardsfolder/g/geist_honored_monk.txt b/forge-gui/res/cardsfolder/g/geist_honored_monk.txt index bd776626a85..2e7f96b6b2c 100644 --- a/forge-gui/res/cardsfolder/g/geist_honored_monk.txt +++ b/forge-gui/res/cardsfolder/g/geist_honored_monk.txt @@ -3,7 +3,7 @@ ManaCost:3 W W Types:Creature Human Monk PT:*/* K:Vigilance -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create two 1/1 white Spirit creature tokens with flying. SVar:TrigToken:DB$ Token | LegacyImage$ w 1 1 spirit flying isd | TokenAmount$ 2 | TokenScript$ w_1_1_spirit_flying | TokenOwner$ You SVar:X:Count$Valid Creature.YouCtrl diff --git a/forge-gui/res/cardsfolder/g/gelatinous_genesis.txt b/forge-gui/res/cardsfolder/g/gelatinous_genesis.txt index b2982afbe6d..7ac9f8ec682 100644 --- a/forge-gui/res/cardsfolder/g/gelatinous_genesis.txt +++ b/forge-gui/res/cardsfolder/g/gelatinous_genesis.txt @@ -1,7 +1,7 @@ Name:Gelatinous Genesis ManaCost:X X G Types:Sorcery -A:SP$ Token | Cost$ X X G | LegacyImage$ g x x ooze roe | TokenAmount$ X | TokenScript$ g_x_x_ooze | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | SpellDescription$ Create X X/X green Ooze creature tokens. +A:SP$ Token | Cost$ X X G | LegacyImage$ g x x ooze roe | TokenAmount$ X | TokenScript$ g_x_x_ooze | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | SpellDescription$ Create X X/X green Ooze creature tokens. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/gelatinous_genesis.jpg Oracle:Create X X/X green Ooze creature tokens. diff --git a/forge-gui/res/cardsfolder/g/gemini_engine.txt b/forge-gui/res/cardsfolder/g/gemini_engine.txt index bccfcedf4b8..c7b60a8af49 100644 --- a/forge-gui/res/cardsfolder/g/gemini_engine.txt +++ b/forge-gui/res/cardsfolder/g/gemini_engine.txt @@ -3,7 +3,7 @@ ManaCost:6 Types:Artifact Creature Construct PT:3/4 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME attacks, create a colorless Construct artifact creature token named Twin that's attacking. Its power is equal to CARDNAME's power and its toughness is equal to CARDNAME's toughness. Sacrifice the token at end of combat. -SVar:TrigToken:DB$Token | TokenAmount$ 1 | TokenScript$ twin | TokenOwner$ You | LegacyImage$ twin dst | TokenPower$ X | TokenToughness$ Y | TokenAttacking$ True | AtEOT$ SacrificeCombat | References$ X,Y +SVar:TrigToken:DB$Token | TokenAmount$ 1 | TokenScript$ twin | TokenOwner$ You | LegacyImage$ twin dst | TokenPower$ X | TokenToughness$ Y | TokenAttacking$ True | AtEOT$ SacrificeCombat SVar:X:Count$CardPower SVar:Y:Count$CardToughness SVar:HasAttackEffect:TRUE diff --git a/forge-gui/res/cardsfolder/g/gempalm_incinerator.txt b/forge-gui/res/cardsfolder/g/gempalm_incinerator.txt index be6a61c4b64..10280169a7d 100644 --- a/forge-gui/res/cardsfolder/g/gempalm_incinerator.txt +++ b/forge-gui/res/cardsfolder/g/gempalm_incinerator.txt @@ -4,7 +4,7 @@ Types:Creature Goblin PT:2/1 K:Cycling:1 R T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigDamage | OptionalDecider$ You | TriggerDescription$ When you cycle CARDNAME, you may have it deal X damage to target creature, where X is the number of Goblins on the battlefield. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X SVar:X:Count$Valid Goblin SVar:Picture:http://www.wizards.com/global/images/magic/general/gempalm_incinerator.jpg Oracle:Cycling {1}{R} ({1}{R}, Discard this card: Draw a card.)\nWhen you cycle Gempalm Incinerator, you may have it deal X damage to target creature, where X is the number of Goblins on the battlefield. diff --git a/forge-gui/res/cardsfolder/g/gempalm_polluter.txt b/forge-gui/res/cardsfolder/g/gempalm_polluter.txt index 3060ba3dbc1..84a68f245f0 100644 --- a/forge-gui/res/cardsfolder/g/gempalm_polluter.txt +++ b/forge-gui/res/cardsfolder/g/gempalm_polluter.txt @@ -4,7 +4,7 @@ Types:Creature Zombie PT:4/3 K:Cycling:B B T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigLoseLife | OptionalDecider$ You | TriggerDescription$ When you cycle CARDNAME, you may have target player lose life equal to the number of Zombies on the battlefield. -SVar:TrigLoseLife:DB$ LoseLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X SVar:X:Count$Valid Zombie SVar:Picture:http://www.wizards.com/global/images/magic/general/gempalm_polluter.jpg Oracle:Cycling {B}{B} ({B}{B}, Discard this card: Draw a card.)\nWhen you cycle Gempalm Polluter, you may have target player lose life equal to the number of Zombies on the battlefield. diff --git a/forge-gui/res/cardsfolder/g/gemstone_caverns.txt b/forge-gui/res/cardsfolder/g/gemstone_caverns.txt index 8e1468de438..43c2387effd 100644 --- a/forge-gui/res/cardsfolder/g/gemstone_caverns.txt +++ b/forge-gui/res/cardsfolder/g/gemstone_caverns.txt @@ -5,8 +5,8 @@ K:MayEffectFromOpeningHand:FromOpeningHand:!PlayFirst SVar:FromOpeningHand:DB$ ChangeZone | Defined$ Self | Origin$ Hand | Destination$ Battlefield | SubAbility$ LuckCounter | SpellDescription$ If CARDNAME is in your opening hand and you're not playing first, you may begin the game with CARDNAME on the battlefield with a luck counter on it. If you do, exile a card from your hand. SVar:LuckCounter:DB$ PutCounter | CounterType$ LUCK | CounterNum$ 1 | Defined$ Self | SubAbility$ ExileFromHand SVar:ExileFromHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | ChangeType$ Card | ChangeNum$ 1 | Mandatory$ True | SpellDescription$ If you do, exile a card from your hand. -A:AB$ Mana | Cost$ T | Produced$ C | ConditionCheckSVar$ CheckCounter | ConditionSVarCompare$ EQ0 | SubAbility$ DBMana | References$ CheckCounter | SpellDescription$ Add {C}. If CARDNAME has a luck counter on it, instead add one mana of any color. -SVar:DBMana:DB$ Mana | Produced$ Any | ConditionCheckSVar$ CheckCounter | ConditionSVarCompare$ GE1 | References$ CheckCounter +A:AB$ Mana | Cost$ T | Produced$ C | ConditionCheckSVar$ CheckCounter | ConditionSVarCompare$ EQ0 | SubAbility$ DBMana | SpellDescription$ Add {C}. If CARDNAME has a luck counter on it, instead add one mana of any color. +SVar:DBMana:DB$ Mana | Produced$ Any | ConditionCheckSVar$ CheckCounter | ConditionSVarCompare$ GE1 SVar:CheckCounter:Count$CardCounters.LUCK #TODO: The AI is not yet fully aware that this card can generate any color of mana at any time if it has a luck counter on it. AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/g/generals_regalia.txt b/forge-gui/res/cardsfolder/g/generals_regalia.txt index 2b47fc6ae13..afddcd1e5ab 100644 --- a/forge-gui/res/cardsfolder/g/generals_regalia.txt +++ b/forge-gui/res/cardsfolder/g/generals_regalia.txt @@ -2,7 +2,7 @@ Name:General's Regalia ManaCost:3 Types:Artifact A:AB$ ChooseSource | Cost$ 3 | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice would deal damage to you this turn, that damage is dealt to target creature you control instead. -SVar:DBEffect:DB$ Effect | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect damage to | ReplacementEffects$ GeneralDamage | Triggers$ OutOfSight | SVars$ GeneralDmg,ExileEffect | References$ GeneralDamage,OutOfSight,GeneralDmg,ExileEffect | RememberObjects$ Targeted | SubAbility$ DBCleanup +SVar:DBEffect:DB$ Effect | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect damage to | ReplacementEffects$ GeneralDamage | Triggers$ OutOfSight | SVars$ GeneralDmg,ExileEffect | RememberObjects$ Targeted | SubAbility$ DBCleanup SVar:GeneralDamage:Event$ DamageDone | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ValidTarget$ You | DamageTarget$ Remembered | ReplaceWith$ GeneralDmg | Description$ The next time a source of your choice would deal damage to you this turn, that damage is dealt to target creature you control instead. SVar:GeneralDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ Remembered | VarType$ Card | SubAbility$ ExileEffect SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Defined$ Imprinted | Execute$ ExileEffect | Static$ True diff --git a/forge-gui/res/cardsfolder/g/genesis_hydra.txt b/forge-gui/res/cardsfolder/g/genesis_hydra.txt index f6066011849..4efc96f3e38 100644 --- a/forge-gui/res/cardsfolder/g/genesis_hydra.txt +++ b/forge-gui/res/cardsfolder/g/genesis_hydra.txt @@ -5,7 +5,7 @@ PT:0/0 K:etbCounter:P1P1:X SVar:X:Count$xPaid T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigDig | TriggerDescription$ When you cast this spell, reveal the top X cards of your library. You may put a nonland permanent card with converted mana cost X or less from among them onto the battlefield. Then shuffle the rest into your library. -SVar:TrigDig:DB$ Dig | DigNum$ X | Reveal$ True | ChangeNum$ 1 | ChangeValid$ Permanent.nonLand+cmcLEX | DestinationZone$ Battlefield | LibraryPosition2$ 0 | References$ X | SubAbility$ DBShuffle | Optional$ True | RestRandomOrder$ True +SVar:TrigDig:DB$ Dig | DigNum$ X | Reveal$ True | ChangeNum$ 1 | ChangeValid$ Permanent.nonLand+cmcLEX | DestinationZone$ Battlefield | LibraryPosition2$ 0 | SubAbility$ DBShuffle | Optional$ True | RestRandomOrder$ True SVar:DBShuffle:DB$ Shuffle | Defined$ You DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/genesis_hydra.jpg diff --git a/forge-gui/res/cardsfolder/g/genesis_storm.txt b/forge-gui/res/cardsfolder/g/genesis_storm.txt index cdc2490d2a2..87b141c8c49 100644 --- a/forge-gui/res/cardsfolder/g/genesis_storm.txt +++ b/forge-gui/res/cardsfolder/g/genesis_storm.txt @@ -2,7 +2,7 @@ Name:Genesis Storm ManaCost:4 G G Types:Sorcery T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigCopy | TriggerDescription$ When you cast this spell, copy it for each time you've cast your commander from the command zone this game. -SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | Amount$ X | References$ X | MayChooseTarget$ True +SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | Amount$ X | MayChooseTarget$ True SVar:X:Count$TotalCommanderCastFromCommandZone A:SP$ DigUntil | Cost$ 4 G G | Valid$ Permanent.nonland | ValidDescription$ nonland permanent | FoundDestination$ Battlefield | OptionalFoundMove$ True | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | RevealRandomOrder$ True | SpellDescription$ Reveal cards from the top of your library until you reveal a nonland permanent card. You may put that card onto the battlefield. Then put all cards revealed this way that weren't put onto the battlefield on the bottom of your library in a random order. Oracle:When you cast this spell, copy it for each time you've cast your commander from the command zone this game.\nReveal cards from the top of your library until you reveal a nonland permanent card. You may put that card onto the battlefield. Then put all cards revealed this way that weren't put onto the battlefield on the bottom of your library in a random order. diff --git a/forge-gui/res/cardsfolder/g/genesis_wave.txt b/forge-gui/res/cardsfolder/g/genesis_wave.txt index f70ec178f5e..2823d506495 100644 --- a/forge-gui/res/cardsfolder/g/genesis_wave.txt +++ b/forge-gui/res/cardsfolder/g/genesis_wave.txt @@ -1,7 +1,7 @@ Name:Genesis Wave ManaCost:X G G G Types:Sorcery -A:SP$ Dig | Cost$ X G G G | DigNum$ X | Reveal$ True | AnyNumber$ True | ChangeValid$ Permanent.cmcLEX | DestinationZone$ Battlefield | DestinationZone2$ Graveyard | References$ X | SpellDescription$ Reveal the top X cards of your library. You may put any number of permanent cards with converted mana cost X or less from among them onto the battlefield. Then put all cards revealed this way that weren't put onto the battlefield into your graveyard. +A:SP$ Dig | Cost$ X G G G | DigNum$ X | Reveal$ True | AnyNumber$ True | ChangeValid$ Permanent.cmcLEX | DestinationZone$ Battlefield | DestinationZone2$ Graveyard | SpellDescription$ Reveal the top X cards of your library. You may put any number of permanent cards with converted mana cost X or less from among them onto the battlefield. Then put all cards revealed this way that weren't put onto the battlefield into your graveyard. SVar:X:Count$xPaid SVar:NeedsToPlayVar:Z GE6 SVar:Z:Count$Valid Land.YouCtrl+untapped diff --git a/forge-gui/res/cardsfolder/g/genju_of_the_fields.txt b/forge-gui/res/cardsfolder/g/genju_of_the_fields.txt index f97944f7a27..1de592a0964 100644 --- a/forge-gui/res/cardsfolder/g/genju_of_the_fields.txt +++ b/forge-gui/res/cardsfolder/g/genju_of_the_fields.txt @@ -7,7 +7,7 @@ A:AB$ Animate | Cost$ 2 | Defined$ Enchanted | Power$ 2 | Toughness$ 5 | Types$ T:Mode$ ChangesZone | ValidCard$ Card.AttachedBy | Origin$ Battlefield | Destination$ Graveyard | TriggerZones$ Battlefield | Execute$ TrigReturnOwner | OptionalDecider$ You | TriggerDescription$ When enchanted Plains is put into a graveyard, you may return CARDNAME from your graveyard to your hand. SVar:TrigReturnOwner:DB$ ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Hand SVar:PseudoLifelink:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ GenjuTrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. -SVar:GenjuTrigGain:DB$ GainLife | Defined$ You | LifeAmount$ GenjuX | References$ GenjuX +SVar:GenjuTrigGain:DB$ GainLife | Defined$ You | LifeAmount$ GenjuX SVar:NonStackingAttachEffect:True SVar:AIPaymentPreference:AvoidPayingWithAttachTarget SVar:GenjuX:TriggerCount$DamageAmount diff --git a/forge-gui/res/cardsfolder/g/geometric_weird.txt b/forge-gui/res/cardsfolder/g/geometric_weird.txt index d3d8bcdd11d..28e74283fc1 100644 --- a/forge-gui/res/cardsfolder/g/geometric_weird.txt +++ b/forge-gui/res/cardsfolder/g/geometric_weird.txt @@ -4,5 +4,5 @@ Types:Creature Weird PT:1/1 SVar:X:Count$MaxDistinctOnStack T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigGeo | OptionalDecider$ You | TriggerDescription$ At the beginning of each end step, you may have Geometric Weird’s base power and toughness each become equal to the greatest number of spells and abilities from different sources that were on the stack simultaneously that turn. -SVar:TrigGeo:DB$ Animate | Permanent$ True | Power$ X | Toughness$ X | References$ X | Geometric Weird’s base power and toughness each become equal to the greatest number of spells and abilities from different sources that were on the stack simultaneously that turn. +SVar:TrigGeo:DB$ Animate | Permanent$ True | Power$ X | Toughness$ X | Geometric Weird’s base power and toughness each become equal to the greatest number of spells and abilities from different sources that were on the stack simultaneously that turn. Oracle:At the beginning of each end step, you may have Geometric Weird's base power and toughness each become equal to the greatest number of spells and abilities from different sources that were on the stack simultaneously that turn. diff --git a/forge-gui/res/cardsfolder/g/gerrard_capashen.txt b/forge-gui/res/cardsfolder/g/gerrard_capashen.txt index e043d592fab..0b664fb2a2c 100644 --- a/forge-gui/res/cardsfolder/g/gerrard_capashen.txt +++ b/forge-gui/res/cardsfolder/g/gerrard_capashen.txt @@ -3,7 +3,7 @@ ManaCost:3 W W Types:Legendary Creature Human Soldier PT:3/4 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigGainLife | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, you gain 1 life for each card in target opponent's hand. -SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | Defined$ You | References$ X +SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | Defined$ You A:AB$ Tap | Cost$ 3 W | ValidTgts$ Creature | TgtPrompt$ Select target creature | IsPresent$ Card.Self+attacking | SpellDescription$ Tap target creature. Activate this ability only if CARDNAME is attacking. SVar:X:TargetedPlayer$CardsInHand SVar:Picture:http://www.wizards.com/global/images/magic/general/gerrard_capashen.jpg diff --git a/forge-gui/res/cardsfolder/g/gerrards_verdict.txt b/forge-gui/res/cardsfolder/g/gerrards_verdict.txt index 92e5c79875a..6ecc3e94ba9 100644 --- a/forge-gui/res/cardsfolder/g/gerrards_verdict.txt +++ b/forge-gui/res/cardsfolder/g/gerrards_verdict.txt @@ -2,7 +2,7 @@ Name:Gerrard's Verdict ManaCost:W B Types:Sorcery A:SP$ Discard | Cost$ W B | ValidTgts$ Player | TgtPrompt$ Select target player | Mode$ TgtChoose | NumCards$ 2 | RememberDiscarded$ True | SubAbility$ DBGainLife1 | SpellDescription$ Target player discards two cards. You gain 3 life for each land card discarded this way. -SVar:DBGainLife1:DB$GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup | References$ X +SVar:DBGainLife1:DB$GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup SVar:X:Remembered$Valid Land/Times.3 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/gerrards_verdict.jpg diff --git a/forge-gui/res/cardsfolder/g/gerrards_wisdom.txt b/forge-gui/res/cardsfolder/g/gerrards_wisdom.txt index d083780fa84..fa7db3cc2d1 100644 --- a/forge-gui/res/cardsfolder/g/gerrards_wisdom.txt +++ b/forge-gui/res/cardsfolder/g/gerrards_wisdom.txt @@ -1,7 +1,7 @@ Name:Gerrard's Wisdom ManaCost:2 W W Types:Sorcery -A:SP$ GainLife | Cost$ 2 W W | LifeAmount$ X | References$ X | SpellDescription$ You gain 2 life for each card in your hand. +A:SP$ GainLife | Cost$ 2 W W | LifeAmount$ X | SpellDescription$ You gain 2 life for each card in your hand. SVar:X:Count$CardsInYourHand/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/gerrards_wisdom.jpg Oracle:You gain 2 life for each card in your hand. diff --git a/forge-gui/res/cardsfolder/g/geth_lord_of_the_vault.txt b/forge-gui/res/cardsfolder/g/geth_lord_of_the_vault.txt index 0816bd808ac..fe9854afd1a 100644 --- a/forge-gui/res/cardsfolder/g/geth_lord_of_the_vault.txt +++ b/forge-gui/res/cardsfolder/g/geth_lord_of_the_vault.txt @@ -3,7 +3,7 @@ ManaCost:4 B B Types:Legendary Creature Zombie PT:5/5 K:Intimidate -A:AB$ ChangeZone | Cost$ X B | References$ X | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | TgtPrompt$ Choose target artifact or creature card in an opponent's graveyard | ValidTgts$ Creature.OppOwn+cmcEQX,Artifact.OppOwn+cmcEQX | Tapped$ True | SubAbility$ DBMill | SpellDescription$ Put target artifact or creature card with converted mana cost X from an opponent's graveyard onto the battlefield under your control tapped. Then that player mills X cards. -SVar:DBMill:DB$ Mill | NumCards$ X | Defined$ TargetedOwner | References$ X +A:AB$ ChangeZone | Cost$ X B | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | TgtPrompt$ Choose target artifact or creature card in an opponent's graveyard | ValidTgts$ Creature.OppOwn+cmcEQX,Artifact.OppOwn+cmcEQX | Tapped$ True | SubAbility$ DBMill | SpellDescription$ Put target artifact or creature card with converted mana cost X from an opponent's graveyard onto the battlefield under your control tapped. Then that player mills X cards. +SVar:DBMill:DB$ Mill | NumCards$ X | Defined$ TargetedOwner SVar:X:Count$xPaid Oracle:Intimidate (This creature can't be blocked except by artifact creatures and/or creatures that share a color with it.)\n{X}{B}: Put target artifact or creature card with converted mana cost X from an opponent's graveyard onto the battlefield under your control tapped. Then that player mills X cards. diff --git a/forge-gui/res/cardsfolder/g/ghalta_primal_hunger.txt b/forge-gui/res/cardsfolder/g/ghalta_primal_hunger.txt index b06f357739a..262f35cf02e 100644 --- a/forge-gui/res/cardsfolder/g/ghalta_primal_hunger.txt +++ b/forge-gui/res/cardsfolder/g/ghalta_primal_hunger.txt @@ -2,7 +2,7 @@ Name:Ghalta, Primal Hunger ManaCost:10 G G Types:Legendary Creature Elder Dinosaur K:Trample -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {X} less to cast, where X is the total power of creatures you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {X} less to cast, where X is the total power of creatures you control. SVar:X:Count$SumPower_Creature.YouCtrl Oracle:This spell costs {X} less to cast, where X is the total power of creatures you control.\nTrample PT:12/12 diff --git a/forge-gui/res/cardsfolder/g/ghastly_demise.txt b/forge-gui/res/cardsfolder/g/ghastly_demise.txt index f04b0f2ac15..c2afa4d8b0f 100644 --- a/forge-gui/res/cardsfolder/g/ghastly_demise.txt +++ b/forge-gui/res/cardsfolder/g/ghastly_demise.txt @@ -1,7 +1,7 @@ Name:Ghastly Demise ManaCost:B Types:Instant -A:SP$ Destroy | Cost$ B | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX | References$ X,Y | StackDescription$ SpellDescription | SpellDescription$ Destroy target nonblack creature if its toughness is less than or equal to the number of cards in your graveyard. +A:SP$ Destroy | Cost$ B | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX | StackDescription$ SpellDescription | SpellDescription$ Destroy target nonblack creature if its toughness is less than or equal to the number of cards in your graveyard. SVar:Y:Targeted$CardToughness SVar:X:Count$InYourYard Oracle:Destroy target nonblack creature if its toughness is less than or equal to the number of cards in your graveyard. diff --git a/forge-gui/res/cardsfolder/g/ghireds_belligerence.txt b/forge-gui/res/cardsfolder/g/ghireds_belligerence.txt index 53747d401e2..09e8ff5ea23 100644 --- a/forge-gui/res/cardsfolder/g/ghireds_belligerence.txt +++ b/forge-gui/res/cardsfolder/g/ghireds_belligerence.txt @@ -1,7 +1,7 @@ Name:Ghired's Belligerence ManaCost:X R R Types:Sorcery -A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature | TgtPrompt$ Select target creature to distribute damage to | NumDmg$ X | TargetMin$ 1 | TargetMax$ MaxTgts | DividedAsYouChoose$ X | References$ X,MaxTgts | RememberDamaged$ True | SubAbility$ DBEffect | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of target creatures. Whenever a creature dealt damage this way dies this turn, populate. (Create a token that's a copy of a creature token you control.) +A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature | TgtPrompt$ Select target creature to distribute damage to | NumDmg$ X | TargetMin$ 1 | TargetMax$ MaxTgts | DividedAsYouChoose$ X | RememberDamaged$ True | SubAbility$ DBEffect | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of target creatures. Whenever a creature dealt damage this way dies this turn, populate. (Create a token that's a copy of a creature token you control.) SVar:X:Count$xPaid SVar:MaxTgts:Count$Valid Creature SVar:DBEffect:DB$ Effect | Triggers$ TrigDies | SVars$ DBPopulate,DBForget | RememberObjects$ RememberedCard | SubAbility$ DBCleanup diff --git a/forge-gui/res/cardsfolder/g/ghitu_fire.txt b/forge-gui/res/cardsfolder/g/ghitu_fire.txt index 8f02088eb45..d7649a901bd 100644 --- a/forge-gui/res/cardsfolder/g/ghitu_fire.txt +++ b/forge-gui/res/cardsfolder/g/ghitu_fire.txt @@ -2,7 +2,7 @@ Name:Ghitu Fire ManaCost:X R Types:Sorcery K:MayFlashCost:2 -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/ghitu_fire.jpg Oracle:You may cast Ghitu Fire as though it had flash if you pay {2} more to cast it. (You may cast it any time you could cast an instant.)\nGhitu Fire deals X damage to any target. diff --git a/forge-gui/res/cardsfolder/g/ghitu_fire_eater.txt b/forge-gui/res/cardsfolder/g/ghitu_fire_eater.txt index 94094d0099d..4f66dfe4783 100644 --- a/forge-gui/res/cardsfolder/g/ghitu_fire_eater.txt +++ b/forge-gui/res/cardsfolder/g/ghitu_fire_eater.txt @@ -2,7 +2,7 @@ Name:Ghitu Fire-Eater ManaCost:2 R Types:Creature Human Nomad PT:2/2 -A:AB$ DealDamage | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to its power to any target. +A:AB$ DealDamage | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to its power to any target. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/ghitu_fire_eater.jpg Oracle:{T}, Sacrifice Ghitu Fire-Eater: It deals damage equal to its power to any target. diff --git a/forge-gui/res/cardsfolder/g/ghosts_of_the_innocent.txt b/forge-gui/res/cardsfolder/g/ghosts_of_the_innocent.txt index 049aeb78c06..4415919f652 100644 --- a/forge-gui/res/cardsfolder/g/ghosts_of_the_innocent.txt +++ b/forge-gui/res/cardsfolder/g/ghosts_of_the_innocent.txt @@ -3,7 +3,7 @@ ManaCost:5 W W Types:Creature Spirit PT:4/5 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Player,Permanent | ReplaceWith$ DmgHalfDown | Description$ If a source would deal damage to a permanent or player, it deals half that damage, rounded down, to that permanent or player instead. -SVar:DmgHalfDown:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgHalfDown:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/HalfDown SVar:Picture:http://www.wizards.com/global/images/magic/general/ghosts_of_the_innocent.jpg AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/g/ghoulcaller_gisa.txt b/forge-gui/res/cardsfolder/g/ghoulcaller_gisa.txt index 22da7a8d17b..f202a8ac0ca 100644 --- a/forge-gui/res/cardsfolder/g/ghoulcaller_gisa.txt +++ b/forge-gui/res/cardsfolder/g/ghoulcaller_gisa.txt @@ -2,7 +2,7 @@ Name:Ghoulcaller Gisa ManaCost:3 B B Types:Legendary Creature Human Wizard PT:3/4 -A:AB$ Token | Cost$ B T Sac<1/Creature.Other/another creature> | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenOwner$ You | LegacyImage$ b 2 2 zombie c14 | References$ X | SpellDescription$ Create X 2/2 black Zombie creature tokens, where X is the sacrificed creature's power. +A:AB$ Token | Cost$ B T Sac<1/Creature.Other/another creature> | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenOwner$ You | LegacyImage$ b 2 2 zombie c14 | SpellDescription$ Create X 2/2 black Zombie creature tokens, where X is the sacrificed creature's power. SVar:X:Sacrificed$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/ghoulcaller_gisa.jpg diff --git a/forge-gui/res/cardsfolder/g/ghouls_feast.txt b/forge-gui/res/cardsfolder/g/ghouls_feast.txt index fb97976aac4..f222f9b0db9 100644 --- a/forge-gui/res/cardsfolder/g/ghouls_feast.txt +++ b/forge-gui/res/cardsfolder/g/ghouls_feast.txt @@ -1,7 +1,7 @@ Name:Ghoul's Feast ManaCost:1 B Types:Instant -A:SP$ Pump | Cost$ 1 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X | SpellDescription$ Target creature gets +X/+0 until end of turn, where X is the number of creature cards in your graveyard. +A:SP$ Pump | Cost$ 1 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SpellDescription$ Target creature gets +X/+0 until end of turn, where X is the number of creature cards in your graveyard. SVar:X:Count$TypeInYourYard.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/ghouls_feast.jpg Oracle:Target creature gets +X/+0 until end of turn, where X is the number of creature cards in your graveyard. diff --git a/forge-gui/res/cardsfolder/g/ghoultree.txt b/forge-gui/res/cardsfolder/g/ghoultree.txt index ae29754bb0d..1e7f8431c73 100644 --- a/forge-gui/res/cardsfolder/g/ghoultree.txt +++ b/forge-gui/res/cardsfolder/g/ghoultree.txt @@ -2,7 +2,7 @@ Name:Ghoultree ManaCost:7 G Types:Creature Zombie Treefolk PT:10/10 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature card in your graveyard. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature card in your graveyard. SVar:X:Count$TypeInYourYard.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/ghoultree.jpg Oracle:This spell costs {1} less to cast for each creature card in your graveyard. diff --git a/forge-gui/res/cardsfolder/g/gideon_champion_of_justice.txt b/forge-gui/res/cardsfolder/g/gideon_champion_of_justice.txt index 1da35f8856b..8454f1019d5 100644 --- a/forge-gui/res/cardsfolder/g/gideon_champion_of_justice.txt +++ b/forge-gui/res/cardsfolder/g/gideon_champion_of_justice.txt @@ -2,8 +2,8 @@ Name:Gideon, Champion of Justice ManaCost:2 W W Types:Legendary Planeswalker Gideon Loyalty:4 -A:AB$ PutCounter | Cost$ AddCounter<1/LOYALTY> | Defined$ Self | CounterType$ LOYALTY | CounterNum$ X | References$ X | ValidTgts$ Opponent | TgtPrompt$ Select which target opponent's creatures to count | Planeswalker$ True | StackDescription$ SpellDescription | SpellDescription$ Put a loyalty counter on CARDNAME for each creature target opponent controls. -A:AB$ Animate | Cost$ AddCounter<0/LOYALTY> | Defined$ Self | Power$ GideonPT | Toughness$ GideonPT | References$ GideonPT | Keywords$ Indestructible | Types$ Creature,Human,Soldier | SubAbility$ GideonPrevent | Planeswalker$ True | SpellDescription$ Until end of turn, Gideon becomes a Human Soldier creature with power and toughness each equal to the number of loyalty counters on him and gains indestructible. He's still a planeswalker. Prevent all damage that would be dealt to him this turn. +A:AB$ PutCounter | Cost$ AddCounter<1/LOYALTY> | Defined$ Self | CounterType$ LOYALTY | CounterNum$ X | ValidTgts$ Opponent | TgtPrompt$ Select which target opponent's creatures to count | Planeswalker$ True | StackDescription$ SpellDescription | SpellDescription$ Put a loyalty counter on CARDNAME for each creature target opponent controls. +A:AB$ Animate | Cost$ AddCounter<0/LOYALTY> | Defined$ Self | Power$ GideonPT | Toughness$ GideonPT | Keywords$ Indestructible | Types$ Creature,Human,Soldier | SubAbility$ GideonPrevent | Planeswalker$ True | SpellDescription$ Until end of turn, Gideon becomes a Human Soldier creature with power and toughness each equal to the number of loyalty counters on him and gains indestructible. He's still a planeswalker. Prevent all damage that would be dealt to him this turn. SVar:GideonPrevent:DB$ Pump | Defined$ Self | KW$ Prevent all damage that would be dealt to CARDNAME. A:AB$ ChangeZoneAll | Cost$ SubCounter<15/LOYALTY> | ChangeType$ Permanent.Other | ValidDescription$ other permanent | Origin$ Battlefield | Destination$ Exile | Planeswalker$ True | Ultimate$ True | SpellDescription$ Exile all other permanents. SVar:X:TargetedPlayer$CreaturesInPlay diff --git a/forge-gui/res/cardsfolder/g/gideons_phalanx.txt b/forge-gui/res/cardsfolder/g/gideons_phalanx.txt index 904d5e48ea6..62871223147 100644 --- a/forge-gui/res/cardsfolder/g/gideons_phalanx.txt +++ b/forge-gui/res/cardsfolder/g/gideons_phalanx.txt @@ -2,7 +2,7 @@ Name:Gideon's Phalanx ManaCost:5 W W Types:Instant A:SP$ Token | Cost$ 5 W W | TokenAmount$ 4 | TokenScript$ w_2_2_knight_vigilance | TokenOwner$ You | LegacyImage$ w 2 2 knight vigilance ori | SubAbility$ DBPumpAll | SpellDescription$ Create four 2/2 white Knight creature tokens with vigilance. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, creatures you control gain indestructible until end of turn. -SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Indestructible | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X +SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Indestructible | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/gideons_phalanx.jpg Oracle:Create four 2/2 white Knight creature tokens with vigilance.\nSpell mastery — If there are two or more instant and/or sorcery cards in your graveyard, creatures you control gain indestructible until end of turn. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/g/gideons_sacrifice.txt b/forge-gui/res/cardsfolder/g/gideons_sacrifice.txt index b26c4afb055..9d5ca7ff060 100644 --- a/forge-gui/res/cardsfolder/g/gideons_sacrifice.txt +++ b/forge-gui/res/cardsfolder/g/gideons_sacrifice.txt @@ -2,7 +2,7 @@ Name:Gideon's Sacrifice ManaCost:W Types:Instant A:SP$ ChooseCard | Cost$ W | Choices$ Creature.YouCtrl,Planeswalker.YouCtrl | SubAbility$ DBEffect | SpellDescription$ Choose a creature or planeswalker you control. All damage that would be dealt this turn to you and permanents you control is dealt to the chosen permanent instead (if it's still on the battlefield). -SVar:DBEffect:DB$ Effect | ReplacementEffects$ DamageEvent | SVars$ GideonSac | References$ DamageEvent,GideonSac | ExileOnMoved$ True | RememberObjects$ ChosenCard +SVar:DBEffect:DB$ Effect | ReplacementEffects$ DamageEvent | SVars$ GideonSac | ExileOnMoved$ True | RememberObjects$ ChosenCard SVar:DamageEvent:Event$ DamageDone | ActiveZones$ Command | ValidTarget$ You,Permanent.YouCtrl | ReplaceWith$ GideonSac | DamageTarget$ Remembered | Description$ All damage that would be dealt this turn to you and permanents you control is dealt to the chosen permanent instead (if it's still on the battlefield). SVar:GideonSac:DB$ ReplaceEffect | VarName$ Affected | VarValue$ Remembered | VarType$ Card SVar:NeedsToPlayVar:Z GE1 diff --git a/forge-gui/res/cardsfolder/g/gideons_triumph.txt b/forge-gui/res/cardsfolder/g/gideons_triumph.txt index 86a93c3ffda..a525259620b 100644 --- a/forge-gui/res/cardsfolder/g/gideons_triumph.txt +++ b/forge-gui/res/cardsfolder/g/gideons_triumph.txt @@ -1,7 +1,7 @@ Name:Gideon's Triumph ManaCost:1 W Types:Instant -A:SP$ Sacrifice | Cost$ 1 W | ValidTgts$ Opponent | SacValid$ Creature.attackedThisTurn,Creature.blockedThisTurn | SacMessage$ Creature that attacked or blocked this turn | Amount$ X | References$ X,Y | SpellDescription$ Target opponent sacrifices a creature that attacked or blocked this turn. If you control a Gideon planeswalker, that player sacrifices two of those creatures instead. +A:SP$ Sacrifice | Cost$ 1 W | ValidTgts$ Opponent | SacValid$ Creature.attackedThisTurn,Creature.blockedThisTurn | SacMessage$ Creature that attacked or blocked this turn | Amount$ X | SpellDescription$ Target opponent sacrifices a creature that attacked or blocked this turn. If you control a Gideon planeswalker, that player sacrifices two of those creatures instead. SVar:Y:Count$Valid Planeswalker.Gideon+YouCtrl SVar:X:Count$Compare Y GE1.2.1 Oracle:Target opponent sacrifices a creature that attacked or blocked this turn. If you control a Gideon planeswalker, that player sacrifices two of those creatures instead. diff --git a/forge-gui/res/cardsfolder/g/gift_of_estates.txt b/forge-gui/res/cardsfolder/g/gift_of_estates.txt index 91db1a53f1b..29bd011b700 100644 --- a/forge-gui/res/cardsfolder/g/gift_of_estates.txt +++ b/forge-gui/res/cardsfolder/g/gift_of_estates.txt @@ -1,7 +1,7 @@ Name:Gift of Estates ManaCost:1 W Types:Sorcery -A:SP$ ChangeZone | Cost$ 1 W | ConditionPresent$ Land.YouCtrl | ConditionCompare$ LTX | Origin$ Library | Destination$ Hand | ChangeType$ Plains | ChangeNum$ 3 | References$ X | SpellDescription$ If an opponent controls more lands than you, search your library for up to three Plains cards and put them into your hand. +A:SP$ ChangeZone | Cost$ 1 W | ConditionPresent$ Land.YouCtrl | ConditionCompare$ LTX | Origin$ Library | Destination$ Hand | ChangeType$ Plains | ChangeNum$ 3 | SpellDescription$ If an opponent controls more lands than you, search your library for up to three Plains cards and put them into your hand. SVar:X:Count$Valid Land.OppCtrl SVar:Picture:http://resources.wizards.com/magic/cards/9ed/en-us/card84504.jpg Oracle:If an opponent controls more lands than you, search your library for up to three Plains cards, reveal them, and put them into your hand. Then shuffle your library. diff --git a/forge-gui/res/cardsfolder/g/gift_of_growth.txt b/forge-gui/res/cardsfolder/g/gift_of_growth.txt index 07eb845c445..06cfec31c8d 100644 --- a/forge-gui/res/cardsfolder/g/gift_of_growth.txt +++ b/forge-gui/res/cardsfolder/g/gift_of_growth.txt @@ -3,6 +3,6 @@ ManaCost:1 G Types:Instant K:Kicker:2 A:SP$ Untap | Cost$ 1 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBPump | SpellDescription$ Untap target creature. It gets +2/+2 until end of turn. If this spell was kicked, that creature gets +4/+4 until end of turn instead. -SVar:DBPump:DB$ Pump | Defined$ Targeted | NumAtt$ +X | NumDef$ +X | References$ X +SVar:DBPump:DB$ Pump | Defined$ Targeted | NumAtt$ +X | NumDef$ +X SVar:X:Count$Kicked.4.2 Oracle:Kicker {2} (You may pay an additional {2} as you cast this spell.)\nUntap target creature. It gets +2/+2 until end of turn. If this spell was kicked, that creature gets +4/+4 until end of turn instead. diff --git a/forge-gui/res/cardsfolder/g/gigantoplasm.txt b/forge-gui/res/cardsfolder/g/gigantoplasm.txt index 73733579483..b7b3b1a55fd 100644 --- a/forge-gui/res/cardsfolder/g/gigantoplasm.txt +++ b/forge-gui/res/cardsfolder/g/gigantoplasm.txt @@ -4,7 +4,7 @@ Types:Creature Shapeshifter PT:0/0 K:ETBReplacement:Copy:DBCopy:Optional SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | AddAbilities$ Gigantoplasm | AddSVars$ X | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield, except it has "{X}: This creature has base power and toughness of X/X." -SVar:Gigantoplasm:AB$ Animate | Cost$ X | Power$ X | Toughness$ X | References$ X | ValidCards$ Self | Permanent$ True | SpellDescription$ CARDNAME has base power and toughness of X/X. +SVar:Gigantoplasm:AB$ Animate | Cost$ X | Power$ X | Toughness$ X | ValidCards$ Self | Permanent$ True | SpellDescription$ CARDNAME has base power and toughness of X/X. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/gigantoplasm.jpg Oracle:You may have Gigantoplasm enter the battlefield as a copy of any creature on the battlefield, except it has "{X}: This creature has base power and toughness X/X." diff --git a/forge-gui/res/cardsfolder/g/gisela_blade_of_goldnight.txt b/forge-gui/res/cardsfolder/g/gisela_blade_of_goldnight.txt index b5cab43cd79..a2be0e1d295 100644 --- a/forge-gui/res/cardsfolder/g/gisela_blade_of_goldnight.txt +++ b/forge-gui/res/cardsfolder/g/gisela_blade_of_goldnight.txt @@ -5,7 +5,7 @@ PT:5/5 K:Flying K:First Strike R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card,Emblem | ValidTarget$ Opponent,Permanent.OppCtrl | ReplaceWith$ DmgTwice | Description$ If a source would deal damage to an opponent or a permanent an opponent controls, that source deals double that damage to that player or permanent instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice S:Mode$ PreventDamage | Target$ You,Permanent.YouCtrl | Amount$ HalfUp | Description$ If a source would deal damage to you or a permanent you control, prevent half that damage, rounded up. SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/g/gishath_suns_avatar.txt b/forge-gui/res/cardsfolder/g/gishath_suns_avatar.txt index c3817c570d1..e9c29de45eb 100644 --- a/forge-gui/res/cardsfolder/g/gishath_suns_avatar.txt +++ b/forge-gui/res/cardsfolder/g/gishath_suns_avatar.txt @@ -5,8 +5,8 @@ PT:7/6 K:Trample K:Vigilance K:Haste -T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | References$ X | Execute$ DBDig | TriggerZones$ Battlefield | TriggerDescription$ 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:DBDig:DB$ Dig | Defined$ You | DigNum$ X | Reveal$ True | ChangeValid$ Creature.Dinosaur | AnyNumber$ True | DestinationZone$ Battlefield | DestinationZone2$ Library | LibraryPosition2$ -1 | RestRandomOrder$ True | RememberChanged$ True | References$ X | 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. +T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ DBDig | TriggerZones$ Battlefield | TriggerDescription$ 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: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 diff --git a/forge-gui/res/cardsfolder/g/give_take.txt b/forge-gui/res/cardsfolder/g/give_take.txt index b9866386431..5ac017ad054 100644 --- a/forge-gui/res/cardsfolder/g/give_take.txt +++ b/forge-gui/res/cardsfolder/g/give_take.txt @@ -14,7 +14,7 @@ Name:Take ManaCost:2 U Types:Sorcery A:SP$ RemoveCounter | Cost$ 2 U | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to remove counters | CounterType$ P1P1 | CounterNum$ All | RememberRemoved$ True | SubAbility$ DBDraw | SpellDescription$ Remove all +1/+1 counters from target creature you control. Draw that many cards. -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedSize AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/g/glacial_plating.txt b/forge-gui/res/cardsfolder/g/glacial_plating.txt index f4b4a412365..f9d74adddb6 100644 --- a/forge-gui/res/cardsfolder/g/glacial_plating.txt +++ b/forge-gui/res/cardsfolder/g/glacial_plating.txt @@ -4,7 +4,7 @@ Types:Snow Enchantment Aura K:Enchant creature K:Cumulative upkeep:S A:SP$ Attach | Cost$ 2 W W | ValidTgts$ Creature | AILogic$ Pump -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ Enchanted creature gets +3/+3 for each age counter on CARDNAME. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ X | AddToughness$ X | Description$ Enchanted creature gets +3/+3 for each age counter on CARDNAME. SVar:X:Count$CardCounters.AGE/Thrice AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/glacial_plating.jpg diff --git a/forge-gui/res/cardsfolder/g/glacian_powerstone_engineer.txt b/forge-gui/res/cardsfolder/g/glacian_powerstone_engineer.txt index 858f1ee34f9..b7d977a23dc 100644 --- a/forge-gui/res/cardsfolder/g/glacian_powerstone_engineer.txt +++ b/forge-gui/res/cardsfolder/g/glacian_powerstone_engineer.txt @@ -3,7 +3,7 @@ ManaCost:5 U Types:Legendary Creature Human Artificer PT:3/6 K:Partner -A:AB$ Dig | Cost$ T tapXType | References$ X | DigNum$ X | ChangeNum$ 1 | DestinationZone2$ Graveyard | SubAbility$ DBStackDesc | SpellDescription$ Look at the top X cards of your library. Put one of those cards into your hand and the rest into your graveyard. +A:AB$ Dig | Cost$ T tapXType | DigNum$ X | ChangeNum$ 1 | DestinationZone2$ Graveyard | SubAbility$ DBStackDesc | SpellDescription$ Look at the top X cards of your library. Put one of those cards into your hand and the rest into your graveyard. SVar:DBStackDesc:DB$ Pump | StackDescription$ {p:You} puts one of those cards into their hand and the rest into the graveyard. SVar:X:Count$xPaid DeckNeeds:Type$Artifact diff --git a/forge-gui/res/cardsfolder/g/glade_watcher.txt b/forge-gui/res/cardsfolder/g/glade_watcher.txt index b7da0c8d196..a651f3451ff 100644 --- a/forge-gui/res/cardsfolder/g/glade_watcher.txt +++ b/forge-gui/res/cardsfolder/g/glade_watcher.txt @@ -3,6 +3,6 @@ ManaCost:1 G Types:Creature Elemental PT:3/3 K:Defender -A:AB$ Pump | Cost$ G | Defined$ Self | KW$ HIDDEN CARDNAME can attack as though it didn't have defender. | CheckSVar$ FormidableTest | SVarCompare$ GE8 | References$ FormidableTest | PrecostDesc$ Formidable — | SpellDescription$ CARDNAME can attack this turn as though it didn't have defender. Activate this ability only if creatures you control have total power 8 or greater. +A:AB$ Pump | Cost$ G | Defined$ Self | KW$ HIDDEN CARDNAME can attack as though it didn't have defender. | CheckSVar$ FormidableTest | SVarCompare$ GE8 | PrecostDesc$ Formidable — | SpellDescription$ CARDNAME can attack this turn as though it didn't have defender. Activate this ability only if creatures you control have total power 8 or greater. SVar:FormidableTest:Count$SumPower_Creature.YouCtrl Oracle:Defender\nFormidable — {G}: Glade Watcher can attack this turn as though it didn't have defender. Activate this ability only if creatures you control have total power 8 or greater. diff --git a/forge-gui/res/cardsfolder/g/glarecaster.txt b/forge-gui/res/cardsfolder/g/glarecaster.txt index 83585cab0ad..5d495813252 100644 --- a/forge-gui/res/cardsfolder/g/glarecaster.txt +++ b/forge-gui/res/cardsfolder/g/glarecaster.txt @@ -3,7 +3,7 @@ ManaCost:4 W W Types:Creature Bird Cleric PT:3/3 K:Flying -A:AB$ Effect | Cost$ 5 W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to redirect the damage to | ReplacementEffects$ SelflessDamage | SVars$ SelflessDamage,SelflessDmg,ExileEffect | References$ SelflessDamage,SelflessDmg,ExileEffect | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next time damage would be dealt to CARDNAME and/or you this turn, that damage is dealt to any target instead. +A:AB$ Effect | Cost$ 5 W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to redirect the damage to | ReplacementEffects$ SelflessDamage | SVars$ SelflessDamage,SelflessDmg,ExileEffect | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next time damage would be dealt to CARDNAME and/or you this turn, that damage is dealt to any target instead. SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ Creature.EffectSource,You | ReplaceWith$ SelflessDmg | DamageTarget$ Remembered | Description$ The next time damage would be dealt to EFFECTSOURCE and/or you this turn, that damage is dealt to any target instead. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ Remembered | VarType$ GameEntity | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile | Static$ True diff --git a/forge-gui/res/cardsfolder/g/gleam_of_authority.txt b/forge-gui/res/cardsfolder/g/gleam_of_authority.txt index bfb4ae1e1a7..0caa562d01b 100644 --- a/forge-gui/res/cardsfolder/g/gleam_of_authority.txt +++ b/forge-gui/res/cardsfolder/g/gleam_of_authority.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 W | ValidTgts$ Creature | AILogic$ Pump -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Vigilance | AddAbility$ ABBolster | AddPower$ X | AddToughness$ X | References$ X | Description$ Enchanted creature gets +1/+1 for each +1/+1 counter on other creatures you control. Enchanted creature has vigilance and "{W}, {T}: Bolster 1." +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Vigilance | AddAbility$ ABBolster | AddPower$ X | AddToughness$ X | Description$ Enchanted creature gets +1/+1 for each +1/+1 counter on other creatures you control. Enchanted creature has vigilance and "{W}, {T}: Bolster 1." SVar:ABBolster:AB$ PutCounter | Cost$ W T | Bolster$ True | CounterNum$ 1 | CounterType$ P1P1 | SpellDescription$ Bolster 1. SVar:X:Count$TotalCounters_P1P1_Creature.YouCtrl+NotEnchantedBy SVar:Picture:http://www.wizards.com/global/images/magic/general/gleam_of_authority.jpg diff --git a/forge-gui/res/cardsfolder/g/glenn_the_voice_of_calm.txt b/forge-gui/res/cardsfolder/g/glenn_the_voice_of_calm.txt index 194bdec958f..e3c7baf5c71 100644 --- a/forge-gui/res/cardsfolder/g/glenn_the_voice_of_calm.txt +++ b/forge-gui/res/cardsfolder/g/glenn_the_voice_of_calm.txt @@ -4,6 +4,6 @@ Types:Legendary Creature Human Advisor PT:1/3 K:Skulk T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDraw | TriggerDescription$ Whenever NICKNAME deals combat damage to a player, draw cards equal to his power. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:Count$CardPower Oracle:Skulk (This creature can't be blocked by creatures with greater power.)\nWhenever Glenn deals combat damage to a player, draw cards equal to his power. diff --git a/forge-gui/res/cardsfolder/g/glimmerpost.txt b/forge-gui/res/cardsfolder/g/glimmerpost.txt index 884398841ba..d6f07098337 100644 --- a/forge-gui/res/cardsfolder/g/glimmerpost.txt +++ b/forge-gui/res/cardsfolder/g/glimmerpost.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land Locus A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 1 life for each Locus on the battlefield. -SVar:TrigGainLife:DB$GainLife | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | LifeAmount$ X SVar:X:Count$TypeOnBattlefield.Locus SVar:Picture:http://www.wizards.com/global/images/magic/general/glimmerpost.jpg Oracle:When Glimmerpost enters the battlefield, you gain 1 life for each Locus on the battlefield.\n{T}: Add {C}. diff --git a/forge-gui/res/cardsfolder/g/glimpse_the_sun_god.txt b/forge-gui/res/cardsfolder/g/glimpse_the_sun_god.txt index 6f88105032e..cfa063af9fe 100644 --- a/forge-gui/res/cardsfolder/g/glimpse_the_sun_god.txt +++ b/forge-gui/res/cardsfolder/g/glimpse_the_sun_god.txt @@ -1,7 +1,7 @@ Name:Glimpse the Sun God ManaCost:X W Types:Instant -A:SP$ Tap | Cost$ X W | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | TargetMin$ X | TargetMax$ X | References$ X | SubAbility$ DBScry | SpellDescription$ Tap X target creatures. Scry 1. +A:SP$ Tap | Cost$ X W | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | TargetMin$ X | TargetMax$ X | SubAbility$ DBScry | SpellDescription$ Tap X target creatures. Scry 1. SVar:DBScry:DB$ Scry | ScryNum$ 1 SVar:X:Count$xPaid Oracle:Tap X target creatures. Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) diff --git a/forge-gui/res/cardsfolder/g/glint_eye_nephilim.txt b/forge-gui/res/cardsfolder/g/glint_eye_nephilim.txt index 0604463260c..0aed9f19670 100644 --- a/forge-gui/res/cardsfolder/g/glint_eye_nephilim.txt +++ b/forge-gui/res/cardsfolder/g/glint_eye_nephilim.txt @@ -3,7 +3,7 @@ ManaCost:U B R G Types:Creature Nephilim PT:2/2 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ TrigDraw | CombatDamage$ True | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, draw that many cards. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:TriggerCount$DamageAmount A:AB$ Pump | Cost$ 1 Discard<1/Card> | Defined$ Self | NumAtt$ +1 | NumDef$ +1 | SpellDescription$ CARDNAME gets +1/+1 until end of turn. DeckHas:Ability$Discard diff --git a/forge-gui/res/cardsfolder/g/glissa_sunseeker.txt b/forge-gui/res/cardsfolder/g/glissa_sunseeker.txt index 9c2f47ef9da..3a88543a033 100644 --- a/forge-gui/res/cardsfolder/g/glissa_sunseeker.txt +++ b/forge-gui/res/cardsfolder/g/glissa_sunseeker.txt @@ -3,7 +3,7 @@ ManaCost:2 G G Types:Legendary Creature Elf PT:3/2 K:First Strike -A:AB$ Destroy | Cost$ T | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQX | References$ X,Y | SpellDescription$ Destroy target artifact if its converted mana cost is equal to the amount of unspent mana you have. +A:AB$ Destroy | Cost$ T | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQX | SpellDescription$ Destroy target artifact if its converted mana cost is equal to the amount of unspent mana you have. SVar:X:Count$ManaPool:All SVar:Y:Targeted$CardManaCost #AI won't specifically put mana in pool to activate the ability diff --git a/forge-gui/res/cardsfolder/g/gloom_surgeon.txt b/forge-gui/res/cardsfolder/g/gloom_surgeon.txt index 09bba23e051..b717a5b8b37 100644 --- a/forge-gui/res/cardsfolder/g/gloom_surgeon.txt +++ b/forge-gui/res/cardsfolder/g/gloom_surgeon.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Creature Spirit PT:2/1 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | IsCombat$ True | ReplaceWith$ Exile | PreventionEffect$ True | Description$ If combat damage would be dealt to CARDNAME, prevent that damage and exile that many cards from the top of your library. -SVar:Exile:DB$ Dig | DigNum$ X | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Exile | References$ X +SVar:Exile:DB$ Dig | DigNum$ X | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Exile SVar:X:ReplaceCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/gloom_surgeon.jpg Oracle:If combat damage would be dealt to Gloom Surgeon, prevent that damage and exile that many cards from the top of your library. diff --git a/forge-gui/res/cardsfolder/g/gloomlance.txt b/forge-gui/res/cardsfolder/g/gloomlance.txt index f7409c9a5bd..31540b1405f 100644 --- a/forge-gui/res/cardsfolder/g/gloomlance.txt +++ b/forge-gui/res/cardsfolder/g/gloomlance.txt @@ -2,7 +2,7 @@ Name:Gloomlance ManaCost:3 B B Types:Sorcery A:SP$ Destroy | Cost$ 3 B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBDiscard | SpellDescription$ Destroy target creature. If that creature was green or white, its controller discards a card. -SVar:DBDiscard:DB$ Discard | Defined$ TargetedController | NumCards$ 1 | Mode$ TgtChoose | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE1 +SVar:DBDiscard:DB$ Discard | Defined$ TargetedController | NumCards$ 1 | Mode$ TgtChoose | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:TargetedLKI$Valid Card.Green,Card.White SVar:Picture:http://www.wizards.com/global/images/magic/general/gloomlance.jpg Oracle:Destroy target creature. If that creature was green or white, its controller discards a card. diff --git a/forge-gui/res/cardsfolder/g/glorious_protector.txt b/forge-gui/res/cardsfolder/g/glorious_protector.txt index edb2e7bf92b..10ec1e2b004 100644 --- a/forge-gui/res/cardsfolder/g/glorious_protector.txt +++ b/forge-gui/res/cardsfolder/g/glorious_protector.txt @@ -5,7 +5,7 @@ PT:3/4 K:Flash K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, you may exile any number of other non-Angel creatures you control until CARDNAME leaves the battlefield. -SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | Hidden$ True | ChangeType$ Creature.nonAngel+YouCtrl | ChangeNum$ MaxTgts | SelectPrompt$ Choose any number of non-Angel creatures you control | SubAbility$ DBEffect | References$ MaxTgts +SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | Hidden$ True | ChangeType$ Creature.nonAngel+YouCtrl | ChangeNum$ MaxTgts | SelectPrompt$ Choose any number of non-Angel creatures you control | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | Triggers$ ComeBack | RememberObjects$ RememberedCard | ImprintCards$ Self | SVars$ TrigReturn,ExileSelf | ConditionPresent$ Card.Self | Duration$ Permanent | ForgetOnMoved$ Exile SVar:ComeBack:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsImprinted | Execute$ TrigReturn | TriggerZones$ Command | TriggerController$ TriggeredCardController | Static$ True | TriggerDescription$ That creature is exiled until EFFECTSOURCE leaves the battlefield SVar:TrigReturn:DB$ ChangeZoneAll | Origin$ Exile | Destination$ Battlefield | ChangeType$ Card.IsRemembered | SubAbility$ ExileSelf diff --git a/forge-gui/res/cardsfolder/g/gluttonous_troll.txt b/forge-gui/res/cardsfolder/g/gluttonous_troll.txt index ac5da2d9887..042a2e17169 100644 --- a/forge-gui/res/cardsfolder/g/gluttonous_troll.txt +++ b/forge-gui/res/cardsfolder/g/gluttonous_troll.txt @@ -4,7 +4,7 @@ Types:Creature Troll PT:3/3 K:Trample T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a number of Food tokens equal to the number of opponents you have. (Food tokens are artifacts with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ c_a_food_sac | TokenOwner$ You +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ c_a_food_sac | TokenOwner$ You SVar:X:PlayerCountOpponents$Amount SVar:PlayMain1:TRUE DeckHas:Ability$Token & Ability$LifeGain & Ability$Food & Ability$Sacrifice diff --git a/forge-gui/res/cardsfolder/g/glyph_of_delusion.txt b/forge-gui/res/cardsfolder/g/glyph_of_delusion.txt index 2f4b5d3b3b5..fd2a3cb1dbd 100644 --- a/forge-gui/res/cardsfolder/g/glyph_of_delusion.txt +++ b/forge-gui/res/cardsfolder/g/glyph_of_delusion.txt @@ -2,7 +2,7 @@ Name:Glyph of Delusion ManaCost:U Types:Instant A:SP$ Pump | Cost$ U | ValidTgts$ Wall.blockedThisTurn | TgtPrompt$ Select target Wall that blocked this turn | SubAbility$ DBPutCounter | StackDescription$ SpellDescription | SpellDescription$ Put X glyph counters on target creature that target Wall blocked this turn, where X is the power of that blocked creature. The creature gains "This creature doesn't untap during your untap step if it has a glyph counter on it" and "At the beginning of your upkeep, remove a glyph counter from this creature." -SVar:DBPutCounter:DB$ PutCounter | CounterType$ GLYPH | CounterNum$ X | References$ X | ValidTgts$ Creature.blockedByValidThisTurn ParentTarget | TgtPrompt$ Select target creature blocked by target Wall this turn to put counters on | SubAbility$ Delude | IsCurse$ True +SVar:DBPutCounter:DB$ PutCounter | CounterType$ GLYPH | CounterNum$ X | ValidTgts$ Creature.blockedByValidThisTurn ParentTarget | TgtPrompt$ Select target creature blocked by target Wall this turn to put counters on | SubAbility$ Delude | IsCurse$ True SVar:X:Targeted$CardPower SVar:Delude:DB$ Animate | Defined$ ParentTarget | staticAbilities$ Delusional | Triggers$ TrigGlyphUpkeep | sVars$ LoseGlyph | Permanent$ True | StackDescription$ None SVar:Delusional:Mode$ Continuous | Affected$ Card.Self+counters_GE1_GLYPH | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | Description$ CARDNAME doesn't untap during your untap step if it has a glyph counter on it. diff --git a/forge-gui/res/cardsfolder/g/glyph_of_life.txt b/forge-gui/res/cardsfolder/g/glyph_of_life.txt index 6c2bdc093fc..2766fe64809 100644 --- a/forge-gui/res/cardsfolder/g/glyph_of_life.txt +++ b/forge-gui/res/cardsfolder/g/glyph_of_life.txt @@ -3,7 +3,7 @@ ManaCost:W Types:Instant A:SP$ Effect | Cost$ W | Name$ Glyph of Life Effect | ValidTgts$ Creature.Wall | TgtPrompt$ Select target Wall creature | Triggers$ TrigDamage | SVars$ TrigGainLife,X | RememberObjects$ Targeted | SpellDescription$ Choose target Wall creature. Whenever that creature is dealt damage by an attacking creature this turn, you gain that much life. SVar:TrigDamage:Mode$ DamageDone | ValidSource$ Creature.attacking | ValidTarget$ Creature.IsRemembered | Execute$ TrigGainLife | TriggerDescription$ Whenever an attacking creature deals damage to this creature, you gain that much life. -SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X | Defined$ You | References$ X +SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X | Defined$ You SVar:X:TriggerCount$DamageAmount AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/g/glyph_of_reincarnation.txt b/forge-gui/res/cardsfolder/g/glyph_of_reincarnation.txt index 3ee375a0770..3d3c8db527f 100644 --- a/forge-gui/res/cardsfolder/g/glyph_of_reincarnation.txt +++ b/forge-gui/res/cardsfolder/g/glyph_of_reincarnation.txt @@ -3,7 +3,7 @@ ManaCost:G Types:Instant A:SP$ Pump | Cost$ G | ValidTgts$ Wall | TgtPrompt$ Select target Wall | AILogic$ Pump | ActivationPhases$ Main2->End of Turn | SubAbility$ DBDestroyAll | StackDescription$ SpellDescription | SpellDescription$ Cast this spell only after combat. SVar:DBDestroyAll:DB$ DestroyAll | ValidCards$ Creature.blockedByValidThisTurn ParentTarget | NoRegen$ True | RememberDestroyed$ True | SubAbility$ DBChoose | StackDescription$ SpellDescription | SpellDescription$ Destroy all creatures that were blocked by target Wall this turn. They can't be regenerated. -SVar:DBChoose:DB$ ChooseCard | Defined$ You | Choices$ Creature.OwnedBy Player.Active | ChoiceTitle$ Choose creatures to put on the battlefield | ChoiceZone$ Graveyard | Amount$ X | References$ X | Mandatory$ True | AILogic$ WorstCard | SubAbility$ DBChangeZone | StackDescription$ SpellDescription | SpellDescription$ For each creature that died this way, put a creature card from the graveyard of the player who controlled that creature the last time it became blocked by that Wall onto the battlefield under its owner's control. +SVar:DBChoose:DB$ ChooseCard | Defined$ You | Choices$ Creature.OwnedBy Player.Active | ChoiceTitle$ Choose creatures to put on the battlefield | ChoiceZone$ Graveyard | Amount$ X | Mandatory$ True | AILogic$ WorstCard | SubAbility$ DBChangeZone | StackDescription$ SpellDescription | SpellDescription$ For each creature that died this way, put a creature card from the graveyard of the player who controlled that creature the last time it became blocked by that Wall onto the battlefield under its owner's control. SVar:DBChangeZone:DB$ ChangeZone | Defined$ ChosenCard | Origin$ Graveyard | Destination$ Battlefield | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ValidGraveyard Creature.IsRemembered diff --git a/forge-gui/res/cardsfolder/g/gnaw_to_the_bone.txt b/forge-gui/res/cardsfolder/g/gnaw_to_the_bone.txt index ba822cc54b0..2f065817370 100644 --- a/forge-gui/res/cardsfolder/g/gnaw_to_the_bone.txt +++ b/forge-gui/res/cardsfolder/g/gnaw_to_the_bone.txt @@ -2,7 +2,7 @@ Name:Gnaw to the Bone ManaCost:2 G Types:Instant K:Flashback:2 G -A:SP$ GainLife | Cost$ 2 G | Defined$ You | LifeAmount$ X | References$ X | SpellDescription$ You gain 2 life for each creature card in your graveyard. +A:SP$ GainLife | Cost$ 2 G | Defined$ You | LifeAmount$ X | SpellDescription$ You gain 2 life for each creature card in your graveyard. SVar:X:Count$TypeInYourYard.Creature/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/gnaw_to_the_bone.jpg Oracle:You gain 2 life for each creature card in your graveyard.\nFlashback {2}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.) diff --git a/forge-gui/res/cardsfolder/g/gnostro_voice_of_the_crags.txt b/forge-gui/res/cardsfolder/g/gnostro_voice_of_the_crags.txt index c4986d0f834..4959259a268 100644 --- a/forge-gui/res/cardsfolder/g/gnostro_voice_of_the_crags.txt +++ b/forge-gui/res/cardsfolder/g/gnostro_voice_of_the_crags.txt @@ -3,9 +3,9 @@ ManaCost:1 U R W Types:Legendary Creature Chimera PT:3/3 A:AB$ Charm | Cost$ T | Choices$ DBScry,DBDamage,DBGainLife | CharmNum$ 1 -SVar:DBScry:DB$ Scry | ScryNum$ X | References$ X | SpellDescription$ Scry X. -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SpellDescription$ You gain X life. +SVar:DBScry:DB$ Scry | ScryNum$ X | SpellDescription$ Scry X. +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature. +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SpellDescription$ You gain X life. SVar:X:Count$ThisTurnCast_Card.YouCtrl DeckHas:Ability$LifeGain Oracle:{T}: Choose one. X is the number of spells you've cast this turn.\n• Scry X.\n• Gnostro, Voice of the Crags deals X damage to target creature.\n• You gain X life. diff --git a/forge-gui/res/cardsfolder/g/goatnap.txt b/forge-gui/res/cardsfolder/g/goatnap.txt index 6966b6000b3..cd89c0856bb 100644 --- a/forge-gui/res/cardsfolder/g/goatnap.txt +++ b/forge-gui/res/cardsfolder/g/goatnap.txt @@ -2,6 +2,6 @@ Name:Goatnap ManaCost:2 R Types:Sorcery A:SP$ GainControl | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | Untap$ True | AddKWs$ Haste | LoseControl$ EOT | SubAbility$ DBPump | SpellDescription$ Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. If that creature is a Goat, it also gets +3/+0 until end of turn. -SVar:DBPump:DB$ Pump | Defined$ Targeted | NumAtt$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +SVar:DBPump:DB$ Pump | Defined$ Targeted | NumAtt$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:Targeted$Valid Goat Oracle:Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. If that creature is a Goat, it also gets +3/+0 until end of turn. diff --git a/forge-gui/res/cardsfolder/g/goblin_barrage.txt b/forge-gui/res/cardsfolder/g/goblin_barrage.txt index 401b36ce6e5..1dda4969bcc 100644 --- a/forge-gui/res/cardsfolder/g/goblin_barrage.txt +++ b/forge-gui/res/cardsfolder/g/goblin_barrage.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Sorcery K:Kicker:Sac<1/Artifact;Goblin/artifact or Goblin> A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 4 | SubAbility$ DBDealDamage | SpellDescription$ CARDNAME deals 4 damage to target creature. If this spell was kicked, it also deals 4 damage to target player or planeswalker. -SVar:DBDealDamage:DB$ DealDamage | Condition$ Kicked | ValidTgts$ Player,Planeswalker | NumDmg$ 4 | TargetMin$ X | TargetMax$ X | References$ X | TgtPrompt$ Select target player or planeswalker +SVar:DBDealDamage:DB$ DealDamage | Condition$ Kicked | ValidTgts$ Player,Planeswalker | NumDmg$ 4 | TargetMin$ X | TargetMax$ X | TgtPrompt$ Select target player or planeswalker SVar:X:Count$Kicked.1.0 SVar:AIPreference:SacCost$Creature.Goblin+token,Creature.Goblin+cmcLE1,Artifact.token,Artifact.cmcEQ1 DeckHints:Type$Goblin|Artifact diff --git a/forge-gui/res/cardsfolder/g/goblin_charbelcher.txt b/forge-gui/res/cardsfolder/g/goblin_charbelcher.txt index 382f308adc2..6a6ff009d0f 100644 --- a/forge-gui/res/cardsfolder/g/goblin_charbelcher.txt +++ b/forge-gui/res/cardsfolder/g/goblin_charbelcher.txt @@ -2,8 +2,8 @@ Name:Goblin Charbelcher ManaCost:4 Types:Artifact A:AB$ DigUntil | Cost$ 3 T | Valid$ Land | ValidDescription$ land | RememberRevealed$ True | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | SubAbility$ DBBelch | SpellDescription$ Reveal cards from the top of your library until you reveal a land card. CARDNAME deals damage equal to the number of nonland cards revealed this way to any target. If the revealed land card was a Mountain, CARDNAME deals double that damage instead. Put the revealed cards on the bottom of your library in any order. | StackDescription$ SpellDescription -SVar:DBBelch:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X,FoundMountain | ConditionCheckSVar$ FoundMountain | ConditionSVarCompare$ EQ0 | SubAbility$ DBDoubleBelch | StackDescription$ None -SVar:DBDoubleBelch:DB$ DealDamage | Defined$ Targeted | NumDmg$ DoubleX | SubAbility$ DBCleanup | ConditionCheckSVar$ FoundMountain | ConditionSVarCompare$ EQ1 | StackDescription$ None | References$ DoubleX,FoundMountain +SVar:DBBelch:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | ConditionCheckSVar$ FoundMountain | ConditionSVarCompare$ EQ0 | SubAbility$ DBDoubleBelch | StackDescription$ None +SVar:DBDoubleBelch:DB$ DealDamage | Defined$ Targeted | NumDmg$ DoubleX | SubAbility$ DBCleanup | ConditionCheckSVar$ FoundMountain | ConditionSVarCompare$ EQ1 | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Card.nonLand SVar:DoubleX:Remembered$Valid Card.nonLand/Times.2 diff --git a/forge-gui/res/cardsfolder/g/goblin_dynamo.txt b/forge-gui/res/cardsfolder/g/goblin_dynamo.txt index d7985d158bc..e28acc8b8a5 100644 --- a/forge-gui/res/cardsfolder/g/goblin_dynamo.txt +++ b/forge-gui/res/cardsfolder/g/goblin_dynamo.txt @@ -3,7 +3,7 @@ ManaCost:5 R R Types:Creature Goblin Mutant PT:4/4 A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to any target. -A:AB$ DealDamage | Cost$ X R T Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target. +A:AB$ DealDamage | Cost$ X R T Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_dynamo.jpg diff --git a/forge-gui/res/cardsfolder/g/goblin_game.txt b/forge-gui/res/cardsfolder/g/goblin_game.txt index 5c787efa63e..ec4f0dac586 100644 --- a/forge-gui/res/cardsfolder/g/goblin_game.txt +++ b/forge-gui/res/cardsfolder/g/goblin_game.txt @@ -2,9 +2,9 @@ Name:Goblin Game ManaCost:5 R R Types:Sorcery A:SP$ ChooseNumber | Defined$ Player | Cost$ 5 R R | Min$ 1 | SecretlyChoose$ True | ChooseNumberSubAbility$ DBLoseLife | Lowest$ DBLoseHalfLife | AILogic$ LowestLoseLife | SpellDescription$ Each player hides at least one item, then all players reveal them simultaneously. Each player loses life equal to the number of items they revealed. The player who revealed the fewest items then loses half their life, rounded up. If two or more players are tied for fewest, each loses half their life, rounded up. -SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | References$ X | LifeAmount$ X +SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X SVar:X:Count$ChosenNumber -SVar:DBLoseHalfLife:DB$ LoseLife | Defined$ Remembered | References$ Y | LifeAmount$ Y +SVar:DBLoseHalfLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ Y SVar:Y:PlayerCountRemembered$LifeTotal/HalfUp AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_game.jpg diff --git a/forge-gui/res/cardsfolder/g/goblin_gathering.txt b/forge-gui/res/cardsfolder/g/goblin_gathering.txt index 949beb5d67d..fcd1f77190d 100644 --- a/forge-gui/res/cardsfolder/g/goblin_gathering.txt +++ b/forge-gui/res/cardsfolder/g/goblin_gathering.txt @@ -1,7 +1,7 @@ Name:Goblin Gathering ManaCost:2 R Types:Sorcery -A:SP$ Token | Cost$ 2 R | TokenAmount$ X | TokenScript$ r_1_1_goblin | LegacyImage$ r 1 1 goblin rna | TokenOwner$ You | References$ X | SpellDescription$ Create a number of 1/1 red Goblin creature tokens equal to two plus the number of cards named Goblin Gathering in your graveyard. +A:SP$ Token | Cost$ 2 R | TokenAmount$ X | TokenScript$ r_1_1_goblin | LegacyImage$ r 1 1 goblin rna | TokenOwner$ You | SpellDescription$ Create a number of 1/1 red Goblin creature tokens equal to two plus the number of cards named Goblin Gathering in your graveyard. SVar:X:Count$ValidGraveyard Card.YouOwn+namedGoblin Gathering/Plus.2 DeckHints:Name$Goblin Gathering DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/g/goblin_goliath.txt b/forge-gui/res/cardsfolder/g/goblin_goliath.txt index fbd82f6e090..e3f9584cd86 100644 --- a/forge-gui/res/cardsfolder/g/goblin_goliath.txt +++ b/forge-gui/res/cardsfolder/g/goblin_goliath.txt @@ -3,10 +3,10 @@ ManaCost:4 R R Types:Creature Goblin Mutant PT:5/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a number of 1/1 red Goblin creature tokens equal to the number of opponents you have. -SVar:TrigToken:DB$ Token | TokenOwner$ You | TokenAmount$ X | TokenScript$ r_1_1_goblin | LegacyImage$ r 1 1 goblin gnt | References$ X +SVar:TrigToken:DB$ Token | TokenOwner$ You | TokenAmount$ X | TokenScript$ r_1_1_goblin | LegacyImage$ r 1 1 goblin gnt A:AB$ Effect | Cost$ 3 R T | Name$ Goblin Goliath Effect | ReplacementEffects$ RDoubleDamage | SVars$ DmgTwice,Y | SpellDescription$ If a source you control would deal damage to an opponent this turn, it deals double that damage to that player instead. SVar:RDoubleDamage:Event$ DamageDone | ActiveZones$ Command | ValidSource$ Card.YouCtrl,Emblem.YouCtrl | ValidTarget$ Opponent | ReplaceWith$ DmgTwice | Description$ If a source you control would deal damage to an opponent this turn, it deals double that damage to that player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ Y | References$ Y +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ Y SVar:X:PlayerCountOpponents$Amount SVar:Y:ReplaceCount$DamageAmount/Twice Oracle:When Goblin Goliath enters the battlefield, create a number of 1/1 red Goblin creature tokens equal to the number of opponents you have.\n{3}{R}, {T}: If a source you control would deal damage to an opponent this turn, it deals double that damage to that player instead. diff --git a/forge-gui/res/cardsfolder/g/goblin_lyre.txt b/forge-gui/res/cardsfolder/g/goblin_lyre.txt index 0d374e0390d..ccda0b990ae 100644 --- a/forge-gui/res/cardsfolder/g/goblin_lyre.txt +++ b/forge-gui/res/cardsfolder/g/goblin_lyre.txt @@ -2,8 +2,8 @@ Name:Goblin Lyre ManaCost:3 Types:Artifact A:AB$ FlipACoin | Cost$ Sac<1/CARDNAME> | WinSubAbility$ DBDamageOpp | LoseSubAbility$ DBDamageYou | ValidTgts$ Opponent | TgtPrompt$ Choose target opponent | SpellDescription$ Flip a coin. If you win the flip, Goblin Lyre deals damage to target opponent equal to the number of creatures you control. If you lose the flip, Goblin Lyre deals damage to you equal to the number of creatures that opponent controls. -SVar:DBDamageOpp:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | References$ X -SVar:DBDamageYou:DB$ DealDamage | Defined$ You | NumDmg$ Y | References$ Y +SVar:DBDamageOpp:DB$ DealDamage | Defined$ Targeted | NumDmg$ X +SVar:DBDamageYou:DB$ DealDamage | Defined$ You | NumDmg$ Y SVar:X:Count$Valid Creature.YouCtrl SVar:Y:Count$Valid Creature.OppCtrl AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/g/goblin_machinist.txt b/forge-gui/res/cardsfolder/g/goblin_machinist.txt index c672ccc55b2..af8a1f1b262 100644 --- a/forge-gui/res/cardsfolder/g/goblin_machinist.txt +++ b/forge-gui/res/cardsfolder/g/goblin_machinist.txt @@ -3,7 +3,7 @@ ManaCost:4 R Types:Creature Goblin PT:0/5 A:AB$ DigUntil | Cost$ 2 R | Valid$ Card.nonLand | ValidDescription$ nonland | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | FoundDestination$ Library | FoundLibraryPosition$ -1 | RememberFound$ True | SubAbility$ DBPump | SpellDescription$ Reveal cards from the top of your library until you reveal a nonland card. CARDNAME gets +X/+0 until end of turn, where X is that card's converted mana cost. Put the revealed cards on the bottom of your library in any order. -SVar:DBPump:DB$ Pump | Defined$ Self | NumAtt$ RCX | SubAbility$ DBCleanup | References$ RCX +SVar:DBPump:DB$ Pump | Defined$ Self | NumAtt$ RCX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:RCX:Remembered$CardManaCost AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/g/goblin_offensive.txt b/forge-gui/res/cardsfolder/g/goblin_offensive.txt index d784e6343ff..92e4c6d25b0 100644 --- a/forge-gui/res/cardsfolder/g/goblin_offensive.txt +++ b/forge-gui/res/cardsfolder/g/goblin_offensive.txt @@ -1,7 +1,7 @@ Name:Goblin Offensive ManaCost:X 1 R R Types:Sorcery -A:SP$ Token | Cost$ X 1 R R | TokenAmount$ X | TokenScript$ r_1_1_goblin | TokenOwner$ You | LegacyImage$ r 1 1 goblin usg | References$ X | SpellDescription$ Create X 1/1 red Goblin creature tokens. +A:SP$ Token | Cost$ X 1 R R | TokenAmount$ X | TokenScript$ r_1_1_goblin | TokenOwner$ You | LegacyImage$ r 1 1 goblin usg | SpellDescription$ Create X 1/1 red Goblin creature tokens. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_offensive.jpg Oracle:Create X 1/1 red Goblin creature tokens. diff --git a/forge-gui/res/cardsfolder/g/goblin_piledriver.txt b/forge-gui/res/cardsfolder/g/goblin_piledriver.txt index 7f8ea863fae..785d7da632d 100644 --- a/forge-gui/res/cardsfolder/g/goblin_piledriver.txt +++ b/forge-gui/res/cardsfolder/g/goblin_piledriver.txt @@ -4,7 +4,7 @@ Types:Creature Goblin Warrior PT:1/2 K:Protection from blue T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +2/+0 until end of turn for each other attacking Goblin. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$Valid Goblin.attacking+Other/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_piledriver.jpg Oracle:Protection from blue (This creature can't be blocked, targeted, dealt damage, or enchanted by anything blue.)\nWhenever Goblin Piledriver attacks, it gets +2/+0 until end of turn for each other attacking Goblin. diff --git a/forge-gui/res/cardsfolder/g/goblin_psychopath.txt b/forge-gui/res/cardsfolder/g/goblin_psychopath.txt index 997d0d4fec4..68680b06353 100644 --- a/forge-gui/res/cardsfolder/g/goblin_psychopath.txt +++ b/forge-gui/res/cardsfolder/g/goblin_psychopath.txt @@ -5,7 +5,7 @@ PT:5/5 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ CoinFlip | TriggerDescription$ Whenever CARDNAME attacks or blocks, flip a coin. If you lose the flip, the next time it would deal combat damage this turn, it deals that damage to you instead. T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ CoinFlip | Secondary$ True | TriggerDescription$ Whenever CARDNAME attacks or blocks, flip a coin. If you lose the flip, the next time it would deal combat damage this turn, it deals that damage to you instead. SVar:CoinFlip:DB$ FlipACoin | LoseSubAbility$ CreateEffect -SVar:CreateEffect:DB$ Effect | Name$ Goblin Psychopath Effect | ReplacementEffects$ EventDamageDone | SVars$ DamageYou,ExileEffect | References$ EventDamageDone,DamageYou,ExileEffect +SVar:CreateEffect:DB$ Effect | Name$ Goblin Psychopath Effect | ReplacementEffects$ EventDamageDone | SVars$ DamageYou,ExileEffect SVar:EventDamageDone:Event$ DamageDone | ValidSource$ Card.EffectSource | ReplaceWith$ DamageYou | IsCombat$ True | Description$ The next time EFFECTSOURCE would deal combat damage this turn, it deals that damage to you instead. SVar:DamageYou:DB$ ReplaceEffect | VarName$ Affected | VarValue$ You | VarType$ Player | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/g/goblin_rabblemaster.txt b/forge-gui/res/cardsfolder/g/goblin_rabblemaster.txt index e4b0a7bbbc1..03bf70e23fc 100644 --- a/forge-gui/res/cardsfolder/g/goblin_rabblemaster.txt +++ b/forge-gui/res/cardsfolder/g/goblin_rabblemaster.txt @@ -6,7 +6,7 @@ S:Mode$ Continuous | Affected$ Creature.Goblin+Other+YouCtrl | AddHiddenKeyword$ T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigToken | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, create a 1/1 red Goblin creature token with haste. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenOwner$ You | TokenScript$ r_1_1_goblin_haste | LegacyImage$ r 1 1 goblin haste m15 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+0 until end of turn for each other attacking Goblin. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$Valid Goblin.attacking+Other SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_rabblemaster.jpg diff --git a/forge-gui/res/cardsfolder/g/goblin_razerunners.txt b/forge-gui/res/cardsfolder/g/goblin_razerunners.txt index 2f5a4e8c458..8aa6dcb6daa 100644 --- a/forge-gui/res/cardsfolder/g/goblin_razerunners.txt +++ b/forge-gui/res/cardsfolder/g/goblin_razerunners.txt @@ -4,7 +4,7 @@ Types:Creature Goblin Warrior PT:3/4 A:AB$ PutCounter | Cost$ 1 R Sac<1/Land> | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on CARDNAME. T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDealDamage | OptionalDecider$ You | TriggerDescription$ At the beginning of your end step, you may have CARDNAME deal damage equal to the number of +1/+1 counters on it to target player or planeswalker. -SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Player, Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Player, Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X SVar:X:Count$CardCounters.P1P1 SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_razerunners.jpg Oracle:{1}{R}, Sacrifice a land: Put a +1/+1 counter on Goblin Razerunners.\nAt the beginning of your end step, you may have Goblin Razerunners deal damage equal to the number of +1/+1 counters on it to target player or planeswalker. diff --git a/forge-gui/res/cardsfolder/g/goblin_recruiter.txt b/forge-gui/res/cardsfolder/g/goblin_recruiter.txt index cc0de0ad780..7f955a2efc7 100644 --- a/forge-gui/res/cardsfolder/g/goblin_recruiter.txt +++ b/forge-gui/res/cardsfolder/g/goblin_recruiter.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Goblin PT:1/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, search your library for any number of Goblin cards and reveal those cards. Shuffle your library, then put them on top of it in any order. -SVar:TrigChangeZone:DB$ ChangeZone | ChangeNum$ X | ChangeType$ Goblin | Origin$ Library | Destination$ Library | LibraryPosition$ 0 | References$ X +SVar:TrigChangeZone:DB$ ChangeZone | ChangeNum$ X | ChangeType$ Goblin | Origin$ Library | Destination$ Library | LibraryPosition$ 0 SVar:X:Count$InYourLibrary.Goblin DeckNeeds:Type$Goblin #TODO: The AI generally is able to use this card, but will basically place all of its goblins on top of the library in no specific order, which is not very smart. Might need some improvement before RemoveDeck is removed. Currently adding a restriction to at least only play it if the AI has enough lands out on the battlefield already. diff --git a/forge-gui/res/cardsfolder/g/goblin_tinkerer.txt b/forge-gui/res/cardsfolder/g/goblin_tinkerer.txt index c78e83ab896..f7d799cbe59 100644 --- a/forge-gui/res/cardsfolder/g/goblin_tinkerer.txt +++ b/forge-gui/res/cardsfolder/g/goblin_tinkerer.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Goblin Artificer PT:1/2 A:AB$ Destroy | Cost$ R T | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | SubAbility$ DBDamage | SpellDescription$ Destroy target artifact. That artifact deals damage equal to its converted mana cost to CARDNAME. -SVar:DBDamage:DB$DealDamage | Defined$ Self | NumDmg$ X | References$ X +SVar:DBDamage:DB$DealDamage | Defined$ Self | NumDmg$ X SVar:X:Targeted$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_tinkerer.jpg Oracle:{R}, {T}: Destroy target artifact. That artifact deals damage equal to its converted mana cost to Goblin Tinkerer. diff --git a/forge-gui/res/cardsfolder/g/goblin_war_strike.txt b/forge-gui/res/cardsfolder/g/goblin_war_strike.txt index da62b932fcc..6e636dbb581 100644 --- a/forge-gui/res/cardsfolder/g/goblin_war_strike.txt +++ b/forge-gui/res/cardsfolder/g/goblin_war_strike.txt @@ -1,7 +1,7 @@ Name:Goblin War Strike ManaCost:R Types:Sorcery -A:SP$ DealDamage | Cost$ R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target player or planeswalker equal to the number of Goblins you control. +A:SP$ DealDamage | Cost$ R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target player or planeswalker equal to the number of Goblins you control. SVar:X:Count$TypeYouCtrl.Goblin AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_war_strike.jpg diff --git a/forge-gui/res/cardsfolder/g/god_eternal_bontu.txt b/forge-gui/res/cardsfolder/g/god_eternal_bontu.txt index de5269f870f..0c85885ae46 100644 --- a/forge-gui/res/cardsfolder/g/god_eternal_bontu.txt +++ b/forge-gui/res/cardsfolder/g/god_eternal_bontu.txt @@ -4,8 +4,8 @@ Types:Legendary Creature Zombie God PT:5/6 K:Menace T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice any number of other permanents, then draw that many cards. -SVar:TrigSac:DB$ Sacrifice | Defined$ You | Amount$ SacX | References$ SacX | SacValid$ Permanent.Other | RememberSacrificed$ True | Optional$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ DrawX | References$ DrawX | SubAbility$ DBCleanup +SVar:TrigSac:DB$ Sacrifice | Defined$ You | Amount$ SacX | SacValid$ Permanent.Other | RememberSacrificed$ True | Optional$ True | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ DrawX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Permanent.YouCtrl+Other SVar:DrawX:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/g/god_eternal_rhonas.txt b/forge-gui/res/cardsfolder/g/god_eternal_rhonas.txt index 6e17113772e..37b917b02bb 100644 --- a/forge-gui/res/cardsfolder/g/god_eternal_rhonas.txt +++ b/forge-gui/res/cardsfolder/g/god_eternal_rhonas.txt @@ -5,7 +5,7 @@ PT:5/5 K:Deathtouch T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDoublePower | TriggerDescription$ When CARDNAME enters the battlefield, double the power of each other creature you control until end of turn. Those creatures gain vigilance until end of turn. SVar:TrigDoublePower:DB$ RepeatEach | RepeatCards$ Creature.YouCtrl+Other | RepeatSubAbility$ DBPump | SubAbility$ DBPumpAll -SVar:DBPump:DB$ Pump | Defined$ Remembered | NumAtt$ X | References$ X +SVar:DBPump:DB$ Pump | Defined$ Remembered | NumAtt$ X SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl+Other | KW$ Vigilance SVar:X:Remembered$CardPower T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard,Exile | ValidCard$ Card.Self | Execute$ TriReturn | OptionalDecider$ You | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies or is put into exile from the battlefield, you may put it into its owner's library third from the top. diff --git a/forge-gui/res/cardsfolder/g/golden_demise.txt b/forge-gui/res/cardsfolder/g/golden_demise.txt index eacfd0b8c55..84f372f326e 100644 --- a/forge-gui/res/cardsfolder/g/golden_demise.txt +++ b/forge-gui/res/cardsfolder/g/golden_demise.txt @@ -2,8 +2,8 @@ Name:Golden Demise ManaCost:1 B B Types:Sorcery K:Ascend -A:SP$ PumpAll | Cost$ 1 B B | ValidCards$ Creature | NumAtt$ -2 | NumDef$ -2 | IsCurse$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBPumpAll | SpellDescription$ All creatures get -2/-2 until end of turn. If you have the city's blessing, instead only creatures your opponents control get -2/-2 until end of turn. -SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.OppCtrl | NumAtt$ -2 | NumDef$ -2 | IsCurse$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X +A:SP$ PumpAll | Cost$ 1 B B | ValidCards$ Creature | NumAtt$ -2 | NumDef$ -2 | IsCurse$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBPumpAll | SpellDescription$ All creatures get -2/-2 until end of turn. If you have the city's blessing, instead only creatures your opponents control get -2/-2 until end of turn. +SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.OppCtrl | NumAtt$ -2 | NumDef$ -2 | IsCurse$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 SVar:X:Count$Blessing.1.0 SVar:Picture:http://www.wizards.com/global/images/magic/general/golden_demise.jpg Oracle:Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.)\nAll creatures get -2/-2 until end of turn. If you have the city's blessing, instead only creatures your opponents control get -2/-2 until end of turn. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/g/golden_guardian_gold_forge_garrison.txt b/forge-gui/res/cardsfolder/g/golden_guardian_gold_forge_garrison.txt index 9d60cc62701..0a9b1be1271 100644 --- a/forge-gui/res/cardsfolder/g/golden_guardian_gold_forge_garrison.txt +++ b/forge-gui/res/cardsfolder/g/golden_guardian_gold_forge_garrison.txt @@ -6,7 +6,7 @@ K:Defender A:AB$ Fight | Cost$ 2 | Defined$ Self | ValidTgts$ Creature.YouCtrl+Other | TgtPrompt$ Select another target creature you control | SubAbility$ DBDiesEffect | SpellDescription$ CARDNAME fights another target creature you control. When CARDNAME dies this turn, return it to the battlefield transformed under your control. #TODO: This should be a Delayed Trigger, but AF DelayedTrigger doesn't work at the moment due to timestamp check issues. -SVar:DBDiesEffect:DB$ Effect | Name$ Golden Guardian Effect | Triggers$ TrigChangesZone | SVars$ TrigChangeZone,EndEffect | References$ TrigChangesZone,TrigChangeZone,EndEffect | RememberObjects$ Self | ExileOnMoved$ Exile +SVar:DBDiesEffect:DB$ Effect | Name$ Golden Guardian Effect | Triggers$ TrigChangesZone | SVars$ TrigChangeZone,EndEffect | RememberObjects$ Self | ExileOnMoved$ Exile SVar:TrigChangesZone:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.IsRemembered | Execute$ TrigChangeZone | TriggerDescription$ When EFFECTSOURCE dies this turn, return it to the battlefield transformed under your control. SVar:TrigChangeZone:DB$ ChangeZone | Defined$ Remembered | Origin$ Graveyard | Destination$ Battlefield | Transformed$ True | GainControl$ True | SubAbility$ EndEffect SVar:EndEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/g/golden_urn.txt b/forge-gui/res/cardsfolder/g/golden_urn.txt index c048a0e64bf..f119995c497 100644 --- a/forge-gui/res/cardsfolder/g/golden_urn.txt +++ b/forge-gui/res/cardsfolder/g/golden_urn.txt @@ -2,7 +2,7 @@ Name:Golden Urn ManaCost:1 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, you may put a charge counter on CARDNAME. -A:AB$ GainLife | Cost$ T Sac<1/CARDNAME> | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the number of charge counters on CARDNAME. +A:AB$ GainLife | Cost$ T Sac<1/CARDNAME> | LifeAmount$ X | SpellDescription$ You gain life equal to the number of charge counters on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1 SVar:X:Count$CardCounters.CHARGE SVar:Picture:http://www.wizards.com/global/images/magic/general/golden_urn.jpg diff --git a/forge-gui/res/cardsfolder/g/goldnight_castigator.txt b/forge-gui/res/cardsfolder/g/goldnight_castigator.txt index 599d4f8ecf4..15b185e68a3 100644 --- a/forge-gui/res/cardsfolder/g/goldnight_castigator.txt +++ b/forge-gui/res/cardsfolder/g/goldnight_castigator.txt @@ -6,7 +6,7 @@ K:Flying K:Haste R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card,Emblem | ValidTarget$ You | ReplaceWith$ DmgTwice | Description$ If a source would deal damage to you, it deals double that damage to you instead. R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card,Emblem | ValidTarget$ Card.Self | ReplaceWith$ DmgTwice | Description$ If a source would deal damage to CARDNAME, it deals double that damage to CARDNAME instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/goldnight_castigator.jpg Oracle:Flying, haste\nIf a source would deal damage to you, it deals double that damage to you instead.\nIf a source would deal damage to Goldnight Castigator, it deals double that damage to Goldnight Castigator instead. diff --git a/forge-gui/res/cardsfolder/g/goldnight_redeemer.txt b/forge-gui/res/cardsfolder/g/goldnight_redeemer.txt index 300798db628..23e6ba5ec3a 100644 --- a/forge-gui/res/cardsfolder/g/goldnight_redeemer.txt +++ b/forge-gui/res/cardsfolder/g/goldnight_redeemer.txt @@ -4,7 +4,7 @@ Types:Creature Angel PT:4/4 K:Flying T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 2 life for each other creature you control. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.Other+YouCtrl/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/goldnight_redeemer.jpg Oracle:Flying\nWhen Goldnight Redeemer enters the battlefield, you gain 2 life for each other creature you control. diff --git a/forge-gui/res/cardsfolder/g/gomazoa.txt b/forge-gui/res/cardsfolder/g/gomazoa.txt index 21d286e3981..0f1401c2141 100644 --- a/forge-gui/res/cardsfolder/g/gomazoa.txt +++ b/forge-gui/res/cardsfolder/g/gomazoa.txt @@ -6,7 +6,7 @@ K:Defender K:Flying A:AB$ ChangeZoneAll | Cost$ T | ChangeType$ Creature.blockedBySource | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 0 | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ JellyBounceSelf | SpellDescription$ Put CARDNAME and each creature it's blocking on top of their owners' libraries, then those players shuffle their libraries. SVar:JellyBounceSelf:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 0 | SubAbility$ WobbleOppJelly -SVar:WobbleOppJelly:DB$ Shuffle | Defined$ RememberedOwner | SubAbility$ WobbleYourJelly | ConditionCheckSVar$ X | References$ X +SVar:WobbleOppJelly:DB$ Shuffle | Defined$ RememberedOwner | SubAbility$ WobbleYourJelly | ConditionCheckSVar$ X SVar:WobbleYourJelly:DB$ Shuffle | Defined$ You | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/g/gor_muldrak_amphinologist.txt b/forge-gui/res/cardsfolder/g/gor_muldrak_amphinologist.txt index b4b817c40d7..88791462efb 100755 --- a/forge-gui/res/cardsfolder/g/gor_muldrak_amphinologist.txt +++ b/forge-gui/res/cardsfolder/g/gor_muldrak_amphinologist.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Scout PT:3/2 S:Mode$ Continuous | Affected$ You,Permanent.YouCtrl | AddKeyword$ Protection from Salamanders | Description$ You and permanents you control have protection from Salamanders. T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRepeat | TriggerDescription$ At the beginning of your end step, each player who controls the fewest creatures creates a 4/3 blue Salamander Warrior creature token. -SVar:TrigRepeat:DB$ RepeatEach | RepeatSubAbility$ TrigToken | RepeatPlayers$ Player.controlsCreature_EQX | References$ X +SVar:TrigRepeat:DB$ RepeatEach | RepeatSubAbility$ TrigToken | RepeatPlayers$ Player.controlsCreature_EQX SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ u_4_3_salamander_warrior | TokenOwner$ Player.IsRemembered SVar:X:PlayerCountPlayers$LowestValid Creature.YouCtrl DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/g/gore_vassal.txt b/forge-gui/res/cardsfolder/g/gore_vassal.txt index af8a9b101c6..e0c104a886d 100644 --- a/forge-gui/res/cardsfolder/g/gore_vassal.txt +++ b/forge-gui/res/cardsfolder/g/gore_vassal.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Creature Dog PT:2/1 A:AB$ PutCounter | Cost$ Sac<1/CARDNAME> | CounterType$ M1M1 | CounterNum$ 1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberTargets$ True | SubAbility$ DBRegenerate | SpellDescription$ Put a -1/-1 counter on target creature. Then if that creature's toughness is 1 or greater, regenerate it. -SVar:DBRegenerate:DB$ Regenerate | Defined$ Remembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup | References$ X +SVar:DBRegenerate:DB$ Regenerate | Defined$ Remembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardToughness AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/g/gorging_vulture.txt b/forge-gui/res/cardsfolder/g/gorging_vulture.txt index b75f3b72182..fe381efc53f 100644 --- a/forge-gui/res/cardsfolder/g/gorging_vulture.txt +++ b/forge-gui/res/cardsfolder/g/gorging_vulture.txt @@ -5,7 +5,7 @@ PT:2/2 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMill | TriggerDescription$ When CARDNAME enters the battlefield, mill four cards. You gain 1 life for each creature card put into your graveyard this way. SVar:TrigMill:DB$ Mill | NumCards$ 4 | Defined$ You | RememberMilled$ True | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Card.Creature DeckHas:Ability$Graveyard & Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/g/gorilla_shaman.txt b/forge-gui/res/cardsfolder/g/gorilla_shaman.txt index daadb97a839..2918a49152d 100644 --- a/forge-gui/res/cardsfolder/g/gorilla_shaman.txt +++ b/forge-gui/res/cardsfolder/g/gorilla_shaman.txt @@ -2,6 +2,6 @@ Name:Gorilla Shaman ManaCost:R Types:Creature Ape Shaman PT:1/1 -A:AB$ Destroy | Cost$ X X 1 | ValidTgts$ Artifact.nonCreature+cmcEQX | TgtPrompt$ Select target noncreature artifact | References$ X | SpellDescription$ Destroy target noncreature artifact with converted mana cost X. +A:AB$ Destroy | Cost$ X X 1 | ValidTgts$ Artifact.nonCreature+cmcEQX | TgtPrompt$ Select target noncreature artifact | SpellDescription$ Destroy target noncreature artifact with converted mana cost X. SVar:X:Count$xPaid Oracle:{X}{X}{1}: Destroy target noncreature artifact with converted mana cost X. diff --git a/forge-gui/res/cardsfolder/g/grab_the_reins.txt b/forge-gui/res/cardsfolder/g/grab_the_reins.txt index f4ebaee777a..13687057ffd 100644 --- a/forge-gui/res/cardsfolder/g/grab_the_reins.txt +++ b/forge-gui/res/cardsfolder/g/grab_the_reins.txt @@ -5,7 +5,7 @@ K:Entwine:2 R A:SP$ Charm | Cost$ 3 R | Choices$ DBGainControl,DBSac | CharmNum$ 1 SVar:DBGainControl:DB$ GainControl | ValidTgts$ Creature | TgtPrompt$ Select target creature to gain control of | LoseControl$ EOT | AddKWs$ Haste | SpellDescription$ Until end of turn, you gain control of target creature and it gains haste. SVar:DBSac:DB$ Sacrifice | Amount$ 1 | SacValid$ Creature | RememberSacrificed$ True | SubAbility$ GrabDmg | SpellDescription$ Sacrifice a creature, then CARDNAME deals damage equal to that creature's power to any target. -SVar:GrabDmg:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to deal the damage to | NumDmg$ X | SubAbility$ DBCleanup | References$ X +SVar:GrabDmg:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to deal the damage to | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardPower AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/g/graceblade_artisan.txt b/forge-gui/res/cardsfolder/g/graceblade_artisan.txt index 0f945b443ac..8ce256fc2b0 100644 --- a/forge-gui/res/cardsfolder/g/graceblade_artisan.txt +++ b/forge-gui/res/cardsfolder/g/graceblade_artisan.txt @@ -2,7 +2,7 @@ Name:Graceblade Artisan ManaCost:2 W Types:Creature Human Monk PT:2/3 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +2/+2 for each Aura attached to it. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +2/+2 for each Aura attached to it. SVar:X:Count$Valid Aura.Attached/Times.2 SVar:EnchantMe:Multiple SVar:Picture:http://www.wizards.com/global/images/magic/general/graceblade_artisan.jpg diff --git a/forge-gui/res/cardsfolder/g/graceful_reprieve.txt b/forge-gui/res/cardsfolder/g/graceful_reprieve.txt index f4c7057c2d2..456acc258aa 100644 --- a/forge-gui/res/cardsfolder/g/graceful_reprieve.txt +++ b/forge-gui/res/cardsfolder/g/graceful_reprieve.txt @@ -1,7 +1,7 @@ Name:Graceful Reprieve ManaCost:1 W Types:Instant -A:SP$ Effect | Cost$ 1 W | Name$ Graceful Reprieve Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature | Triggers$ TrigGracefulReprieve | SVars$ GracefulReprieveReturn,ExileEffect | References$ TrigGracefulReprieve,GracefulReprieveReturn,ExileEffect | RememberObjects$ Targeted | SpellDescription$ When target creature dies this turn, return that card to the battlefield under its owner's control. +A:SP$ Effect | Cost$ 1 W | Name$ Graceful Reprieve Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature | Triggers$ TrigGracefulReprieve | SVars$ GracefulReprieveReturn,ExileEffect | RememberObjects$ Targeted | SpellDescription$ When target creature dies this turn, return that card to the battlefield under its owner's control. SVar:TrigGracefulReprieve:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.IsRemembered | Execute$ GracefulReprieveReturn | TriggerDescription$ When target creature dies this turn, return that card to the battlefield under its owner's control. SVar:GracefulReprieveReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ Graveyard | Destination$ Battlefield | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/g/grakmaw_skyclave_ravager.txt b/forge-gui/res/cardsfolder/g/grakmaw_skyclave_ravager.txt index 21b692cfe15..a4b89221a25 100755 --- a/forge-gui/res/cardsfolder/g/grakmaw_skyclave_ravager.txt +++ b/forge-gui/res/cardsfolder/g/grakmaw_skyclave_ravager.txt @@ -7,7 +7,7 @@ SVar:WasKicked:Count$CardCounters.P1P1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouCtrl+Other+counters_GE1_P1P1 | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerController$ TriggeredCardController | TriggerDescription$ Whenever another creature you control dies, if it had a +1/+1 counter on it, put a +1/+1 counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ConditionPresent$ Card.StrictlySelf T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigToken | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, create an X/X black and green Hydra creature token, where X is the number of +1/+1 counters on CARDNAME. -SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ bg_x_x_hydra | TokenOwner$ TriggeredCardController | TokenPower$ X | TokenToughness$ X | References$ X +SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ bg_x_x_hydra | TokenOwner$ TriggeredCardController | TokenPower$ X | TokenToughness$ X SVar:X:TriggeredCard$CardCounters.P1P1 DeckHas:Ability$Counters & Ability$Token Oracle:Grakmaw, Skyclave Ravager enters the battlefield with three +1/+1 counters on it.\nWhenever another creature you control dies, if it had a +1/+1 counter on it, put a +1/+1 counter on Grakmaw.\nWhen Grakmaw dies, create an X/X black and green Hydra creature token, where X is the number of +1/+1 counters on Grakmaw. diff --git a/forge-gui/res/cardsfolder/g/grand_ossuary.txt b/forge-gui/res/cardsfolder/g/grand_ossuary.txt index 72cde7a85b6..6044e9f8958 100644 --- a/forge-gui/res/cardsfolder/g/grand_ossuary.txt +++ b/forge-gui/res/cardsfolder/g/grand_ossuary.txt @@ -2,13 +2,13 @@ Name:Grand Ossuary ManaCost:no cost Types:Plane Ravnica T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature | TriggerZones$ Command | Execute$ OssuaryCounters | TriggerDescription$ Whenever a creature dies, its controller distributes a number of +1/+1 counters equal to its power among any number of target creatures they control. -SVar:OssuaryCounters:DB$ PutCounter | ValidTgts$ Creature | TargetsWithDefinedController$ TriggeredCardController | TargetingPlayer$ TriggeredCardController | TgtPrompt$ Select target creature you control to distribute counters to | CounterType$ P1P1 | CounterNum$ OssuaryX | TargetMin$ 1 | TargetMax$ MaxTgts | DividedAsYouChoose$ OssuaryX | References$ OssuaryX,MaxTgts +SVar:OssuaryCounters:DB$ PutCounter | ValidTgts$ Creature | TargetsWithDefinedController$ TriggeredCardController | TargetingPlayer$ TriggeredCardController | TgtPrompt$ Select target creature you control to distribute counters to | CounterType$ P1P1 | CounterNum$ OssuaryX | TargetMin$ 1 | TargetMax$ MaxTgts | DividedAsYouChoose$ OssuaryX SVar:OssuaryX:TriggeredCard$CardPower SVar:MaxTgts:TriggeredCardController$Valid Creature.YouCtrl T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, each player exiles all creatures they control and creates X 1/1 green Saproling creature tokens, where X is the total power of the creatures they exiled this way. Then planeswalk. SVar:RolledChaos:DB$ ChangeZoneAll | ChangeType$ Creature | Imprint$ True | Origin$ Battlefield | Destination$ Exile | SubAbility$ OssuaryRepeat SVar:OssuaryRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ OssuaryTokens | SubAbility$ WalkAway | ChangeZoneTable$ True -SVar:OssuaryTokens:DB$ Token | TokenAmount$ OsX | References$ OsX | TokenScript$ g_1_1_saproling | TokenOwner$ Player.IsRemembered | LegacyImage$ g 1 1 saproling pc2 +SVar:OssuaryTokens:DB$ Token | TokenAmount$ OsX | TokenScript$ g_1_1_saproling | TokenOwner$ Player.IsRemembered | LegacyImage$ g 1 1 saproling pc2 SVar:WalkAway:DB$ Planeswalk | SubAbility$ ClearImprinted SVar:ClearImprinted:DB$ Cleanup | ClearImprinted$ True SVar:OsX:ImprintedLKI$FilterControlledByRemembered_CardPower diff --git a/forge-gui/res/cardsfolder/g/grand_warlord_radha.txt b/forge-gui/res/cardsfolder/g/grand_warlord_radha.txt index dd7e3248250..aa937f58765 100644 --- a/forge-gui/res/cardsfolder/g/grand_warlord_radha.txt +++ b/forge-gui/res/cardsfolder/g/grand_warlord_radha.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Elf Warrior PT:3/4 K:Haste T:Mode$ AttackersDeclared | AttackingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigMana | TriggerDescription$ Whenever one or more creatures you control attack, add that much mana in any combination of {R} and/or {G}. Until end of turn, you don't lose this mana as steps and phases end. -SVar:TrigMana:DB$ Mana | Produced$ Combo R G | Amount$ X | References$ X | PersistentMana$ True +SVar:TrigMana:DB$ Mana | Produced$ Combo R G | Amount$ X | PersistentMana$ True SVar:X:Count$Valid Creature.attacking+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/grand_warlord_radha.jpg Oracle:Haste\nWhenever one or more creatures you control attack, add that much mana in any combination of {R} and/or {G}. Until end of turn, you don't lose this mana as steps and phases end. diff --git a/forge-gui/res/cardsfolder/g/grasp_of_fate.txt b/forge-gui/res/cardsfolder/g/grasp_of_fate.txt index e41a32d17fe..a7640584cb2 100644 --- a/forge-gui/res/cardsfolder/g/grasp_of_fate.txt +++ b/forge-gui/res/cardsfolder/g/grasp_of_fate.txt @@ -2,7 +2,7 @@ Name:Grasp of Fate ManaCost:1 W W Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, for each opponent, exile up to one target nonland permanent that player controls until CARDNAME leaves the battlefield. (Those permanents return under their owners' control.) -SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Permanent.nonLand+OppCtrl | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | TgtPrompt$ Select up to one target nonland permanent each opponent controls | ConditionPresent$ Card.Self | SubAbility$ DBEffect +SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Permanent.nonLand+OppCtrl | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | TgtPrompt$ Select up to one target nonland permanent each opponent controls | ConditionPresent$ Card.Self | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | Triggers$ ComeBack | RememberObjects$ Targeted | ImprintCards$ Self | SVars$ TrigReturn,ExileSelf | ConditionPresent$ Card.Self | Duration$ Permanent | ForgetOnMoved$ Exile SVar:ComeBack:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsImprinted | Execute$ TrigReturn | TriggerZones$ Command | TriggerController$ TriggeredCardController | Static$ True | TriggerDescription$ Those permanents are exiled until EFFECTSOURCE leaves the battlefield. SVar:TrigReturn:DB$ ChangeZoneAll | Origin$ Exile | Destination$ Battlefield | ChangeType$ Card.IsRemembered | SubAbility$ ExileSelf diff --git a/forge-gui/res/cardsfolder/g/gratuitous_violence.txt b/forge-gui/res/cardsfolder/g/gratuitous_violence.txt index dd52bf8ad2b..2560a8f7e85 100644 --- a/forge-gui/res/cardsfolder/g/gratuitous_violence.txt +++ b/forge-gui/res/cardsfolder/g/gratuitous_violence.txt @@ -2,7 +2,7 @@ Name:Gratuitous Violence ManaCost:2 R R R Types:Enchantment R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Creature.YouCtrl | ValidTarget$ Permanent,Player | ReplaceWith$ DmgTwice | Description$ If a creature you control would deal damage to a permanent or player, it deals double that damage to that permanent or player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/gratuitous_violence.jpg diff --git a/forge-gui/res/cardsfolder/g/grave_consequences.txt b/forge-gui/res/cardsfolder/g/grave_consequences.txt index 305d8f21676..b0fcb05fca7 100644 --- a/forge-gui/res/cardsfolder/g/grave_consequences.txt +++ b/forge-gui/res/cardsfolder/g/grave_consequences.txt @@ -3,11 +3,11 @@ ManaCost:1 B Types:Instant #AI will exile all cards from its graveyard currently A:SP$ RepeatEach | Cost$ 1 B | RepeatPlayers$ Player | RepeatSubAbility$ DBChooseNum | SubAbility$ DBExile | SpellDescription$ Each player may exile any number of cards from their graveyard. Then each player loses 1 life for each card in their graveyard. Draw a card. -SVar:DBChooseNum:DB$ ChooseNumber | Defined$ Player.IsRemembered | Min$ 0 | Max$ X | References$ X | ListTitle$ Exile how many cards in your graveyard? | SubAbility$ DBChooseCard -SVar:DBChooseCard:DB$ ChooseCard | Defined$ Player.IsRemembered | Amount$ Y | References$ Y | Choices$ Card.RememberedPlayerCtrl | ChoiceZone$ Graveyard | Mandatory$ True | RememberChosen$ True +SVar:DBChooseNum:DB$ ChooseNumber | Defined$ Player.IsRemembered | Min$ 0 | Max$ X | ListTitle$ Exile how many cards in your graveyard? | SubAbility$ DBChooseCard +SVar:DBChooseCard:DB$ ChooseCard | Defined$ Player.IsRemembered | Amount$ Y | Choices$ Card.RememberedPlayerCtrl | ChoiceZone$ Graveyard | Mandatory$ True | RememberChosen$ True SVar:DBExile:DB$ ChangeZoneAll | ChangeType$ Card.IsRemembered | Origin$ Graveyard | Destination$ Exile | SubAbility$ DBRepeat SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBLoseLife | SubAbility$ DBDraw -SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X SVar:DBDraw:DB$ Draw | NumCards$ 1 SVar:X:Count$ValidGraveyard Card.RememberedPlayerCtrl SVar:Y:Count$ChosenNumber diff --git a/forge-gui/res/cardsfolder/g/grave_sifter.txt b/forge-gui/res/cardsfolder/g/grave_sifter.txt index b9a5335d93c..211e0d8e8d4 100644 --- a/forge-gui/res/cardsfolder/g/grave_sifter.txt +++ b/forge-gui/res/cardsfolder/g/grave_sifter.txt @@ -5,7 +5,7 @@ PT:5/7 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigRepeat | TriggerDescription$ When CARDNAME enters the battlefield, each player chooses a creature type and returns any number of cards of that type from their graveyard to their hand. SVar:TrigRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBChoose | SubAbility$ DBCleanup SVar:DBChoose:DB$ ChooseType | Defined$ Player.IsRemembered | Type$ Creature | AILogic$ MostProminentInComputerGraveyard | SubAbility$ DBReturn -SVar:DBReturn:DB$ ChangeZone | ChangeType$ Card.RememberedPlayerCtrl+ChosenType | Hidden$ True | Origin$ Graveyard | Destination$ Hand | DefinedPlayer$ Remembered | Chooser$ Remembered | ChangeNum$ X | References$ X +SVar:DBReturn:DB$ ChangeZone | ChangeType$ Card.RememberedPlayerCtrl+ChosenType | Hidden$ True | Origin$ Graveyard | Destination$ Hand | DefinedPlayer$ Remembered | Chooser$ Remembered | ChangeNum$ X SVar:X:Count$ValidGraveyard Card.RememberedPlayerCtrl+ChosenType SVar:DBCleanup:DB$ Cleanup | ClearChosenType$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/grave_sifter.jpg diff --git a/forge-gui/res/cardsfolder/g/grave_strength.txt b/forge-gui/res/cardsfolder/g/grave_strength.txt index ed213ff62b6..4afba39aa83 100644 --- a/forge-gui/res/cardsfolder/g/grave_strength.txt +++ b/forge-gui/res/cardsfolder/g/grave_strength.txt @@ -2,7 +2,7 @@ Name:Grave Strength ManaCost:1 B Types:Sorcery A:SP$ Mill | Cost$ 1 B | NumCards$ 3 | Defined$ You | SubAbility$ DBPutCounter | AILogic$ Main1 | SpellDescription$ Choose target creature. Mill three cards, then put a +1/+1 counter on that creature for each creature card in your graveyard. -SVar:DBPutCounter:DB$ PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:DBPutCounter:DB$ PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X SVar:X:Count$ValidGraveyard Creature.YouOwn DeckHas:Ability$Graveyard Oracle:Choose target creature. Mill three cards, then put a +1/+1 counter on that creature for each creature card in your graveyard. diff --git a/forge-gui/res/cardsfolder/g/graveblade_marauder.txt b/forge-gui/res/cardsfolder/g/graveblade_marauder.txt index 45373a8259e..6d80ba4ea35 100644 --- a/forge-gui/res/cardsfolder/g/graveblade_marauder.txt +++ b/forge-gui/res/cardsfolder/g/graveblade_marauder.txt @@ -4,7 +4,7 @@ Types:Creature Human Warrior PT:1/4 K:Deathtouch T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player loses life equal to the number of creature cards in your graveyard. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ X SVar:X:Count$TypeInYourYard.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/graveblade_marauder.jpg Oracle:Deathtouch (Any amount of damage this deals to a creature is enough to destroy it.)\nWhenever Graveblade Marauder deals combat damage to a player, that player loses life equal to the number of creature cards in your graveyard. diff --git a/forge-gui/res/cardsfolder/g/graveborn_muse.txt b/forge-gui/res/cardsfolder/g/graveborn_muse.txt index 65520b89b57..698682671e8 100644 --- a/forge-gui/res/cardsfolder/g/graveborn_muse.txt +++ b/forge-gui/res/cardsfolder/g/graveborn_muse.txt @@ -3,8 +3,8 @@ ManaCost:2 B B Types:Creature Zombie Spirit PT:3/3 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ At the beginning of your upkeep, you draw X cards and you lose X life, where X is the number of Zombies you control. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | SubAbility$ DBLoseLife | References$ X -SVar:DBLoseLife:DB$LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | SubAbility$ DBLoseLife +SVar:DBLoseLife:DB$LoseLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Zombie.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/graveborn_muse.jpg Oracle:At the beginning of your upkeep, you draw X cards and you lose X life, where X is the number of Zombies you control. diff --git a/forge-gui/res/cardsfolder/g/graven_lore.txt b/forge-gui/res/cardsfolder/g/graven_lore.txt index 0a39bf65567..c99e6d282cb 100644 --- a/forge-gui/res/cardsfolder/g/graven_lore.txt +++ b/forge-gui/res/cardsfolder/g/graven_lore.txt @@ -1,7 +1,7 @@ Name:Graven Lore ManaCost:3 U U Types:Snow Instant -A:SP$ Scry | Cost$ 3 U U | ScryNum$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ Scry X, where X is the amount of {S} spent to cast this spell, then draw three cards. ({S} is mana from a snow source.) +A:SP$ Scry | Cost$ 3 U U | ScryNum$ X | SubAbility$ DBDraw | SpellDescription$ Scry X, where X is the amount of {S} spent to cast this spell, then draw three cards. ({S} is mana from a snow source.) SVar:DBDraw:DB$ Draw | NumCards$ 3 SVar:X:Count$CastTotalSnowManaSpent DeckNeeds:Type$Snow diff --git a/forge-gui/res/cardsfolder/g/gravepurge.txt b/forge-gui/res/cardsfolder/g/gravepurge.txt index 8766047600d..f4cb6266eeb 100644 --- a/forge-gui/res/cardsfolder/g/gravepurge.txt +++ b/forge-gui/res/cardsfolder/g/gravepurge.txt @@ -1,7 +1,7 @@ Name:Gravepurge ManaCost:2 B Types:Instant -A:SP$ ChangeZone | Cost$ 2 B | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | SubAbility$ DBDraw | References$ X | SpellDescription$ Put any number of target creature cards from your graveyard on top of your library. +A:SP$ ChangeZone | Cost$ 2 B | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | SubAbility$ DBDraw | SpellDescription$ Put any number of target creature cards from your graveyard on top of your library. SVar:DBDraw:DB$Draw | NumCards$ 1 | SpellDescription$ Draw a card. SVar:X:Count$TypeInYourYard.Creature AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/g/graverobber_spider.txt b/forge-gui/res/cardsfolder/g/graverobber_spider.txt index cd6dc547cc8..6106e16f211 100644 --- a/forge-gui/res/cardsfolder/g/graverobber_spider.txt +++ b/forge-gui/res/cardsfolder/g/graverobber_spider.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Creature Spider PT:2/4 K:Reach -A:AB$ Pump | Cost$ 3 B | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X | ActivationLimit$ 1 | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is the number of creature cards in your graveyard. Activate this ability only once each turn. +A:AB$ Pump | Cost$ 3 B | Defined$ Self | NumAtt$ X | NumDef$ X | ActivationLimit$ 1 | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is the number of creature cards in your graveyard. Activate this ability only once each turn. SVar:X:Count$TypeInYourYard.Creature DeckHints:Ability$Graveyard Oracle:Reach\n{3}{B}: Graverobber Spider gets +X/+X until end of turn, where X is the number of creature cards in your graveyard. Activate this ability only once each turn. diff --git a/forge-gui/res/cardsfolder/g/gravestorm.txt b/forge-gui/res/cardsfolder/g/gravestorm.txt index 998eb7f8e79..c3a40e6a1e6 100644 --- a/forge-gui/res/cardsfolder/g/gravestorm.txt +++ b/forge-gui/res/cardsfolder/g/gravestorm.txt @@ -3,7 +3,7 @@ ManaCost:B B B Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigChangeZone | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, target opponent may exile a card from their graveyard. If that player doesn't, you may draw a card. SVar:TrigChangeZone:DB$ ChangeZone | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | Origin$ Graveyard | Destination$ Exile | ChangeType$ Card.YouDontCtrl | ChangeNum$ 1 | Hidden$ True | Chooser$ Targeted | RememberChanged$ True | Optional$ Targeted | IsCurse$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ 1 | Defined$ You | OptionalDecider$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ 1 | Defined$ You | OptionalDecider$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/gravestorm.jpg diff --git a/forge-gui/res/cardsfolder/g/graveyard_shovel.txt b/forge-gui/res/cardsfolder/g/graveyard_shovel.txt index ae57258d538..6f24864a60f 100644 --- a/forge-gui/res/cardsfolder/g/graveyard_shovel.txt +++ b/forge-gui/res/cardsfolder/g/graveyard_shovel.txt @@ -2,7 +2,7 @@ Name:Graveyard Shovel ManaCost:2 Types:Artifact A:AB$ ChangeZone | Cost$ 2 T | ValidTgts$ Player | DefinedPlayer$ Targeted | TgtPrompt$ Select target player | Origin$ Graveyard | Destination$ Exile | ChangeType$ Card | ChangeNum$ 1 | Hidden$ True | Chooser$ Targeted | Mandatory$ True | SubAbility$ DBGainLife | ForgetOtherTargets$ True | RememberChanged$ True | IsCurse$ True | StackDescription$ Target player exiles a card from their graveyard. If it's a creature card, you gain 2 life. | SpellDescription$ Target player exiles a card from their graveyard. If it's a creature card, you gain 2 life. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/graveyard_shovel.jpg diff --git a/forge-gui/res/cardsfolder/g/gravitic_punch.txt b/forge-gui/res/cardsfolder/g/gravitic_punch.txt index e0a982d228d..148ff952dae 100644 --- a/forge-gui/res/cardsfolder/g/gravitic_punch.txt +++ b/forge-gui/res/cardsfolder/g/gravitic_punch.txt @@ -3,6 +3,6 @@ ManaCost:3 R Types:Sorcery K:Jump-start A:SP$ Pump | Cost$ 3 R | ValidTgts$ Creature.YouCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you control | SubAbility$ SoulsDamage | StackDescription$ None | SpellDescription$ Target creature you control deals damage equal to its power to target player. -SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Player | TargetUnique$ True | AILogic$ PowerDmg | NumDmg$ X | References$ X | TgtPrompt$ Select target player +SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Player | TargetUnique$ True | AILogic$ PowerDmg | NumDmg$ X | TgtPrompt$ Select target player SVar:X:ParentTargeted$CardPower Oracle:Target creature you control deals damage equal to its power to target player.\nJump-start (You may cast this card from your graveyard by discarding a card in addition to paying its other costs. Then exile this card.) diff --git a/forge-gui/res/cardsfolder/g/graxiplon.txt b/forge-gui/res/cardsfolder/g/graxiplon.txt index 71c4856f6c4..5808218232a 100644 --- a/forge-gui/res/cardsfolder/g/graxiplon.txt +++ b/forge-gui/res/cardsfolder/g/graxiplon.txt @@ -2,7 +2,7 @@ Name:Graxiplon ManaCost:5 U Types:Creature Beast PT:3/4 -S:Mode$ Continuous | Affected$ Card.Self+attacking | AddHiddenKeyword$ Unblockable | CheckSVar$ X | References$ X | SVarCompare$ LT3 | Description$ CARDNAME can't be blocked unless defending player controls three or more creatures that share a creature type. +S:Mode$ Continuous | Affected$ Card.Self+attacking | AddHiddenKeyword$ Unblockable | CheckSVar$ X | SVarCompare$ LT3 | Description$ CARDNAME can't be blocked unless defending player controls three or more creatures that share a creature type. SVar:X:Count$MostProminentCreatureType Creature.DefenderCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/graxiplon.jpg Oracle:Graxiplon can't be blocked unless defending player controls three or more creatures that share a creature type. diff --git a/forge-gui/res/cardsfolder/g/gray_merchant_of_asphodel.txt b/forge-gui/res/cardsfolder/g/gray_merchant_of_asphodel.txt index e529f970723..5e36dfb229d 100644 --- a/forge-gui/res/cardsfolder/g/gray_merchant_of_asphodel.txt +++ b/forge-gui/res/cardsfolder/g/gray_merchant_of_asphodel.txt @@ -3,7 +3,7 @@ ManaCost:3 B B Types:Creature Zombie PT:2/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerDescription$ When CARDNAME enters the battlefield, each opponent loses X life, where X is your devotion to black. You gain life equal to the life lost this way. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | References$ X | SubAbility$ DBGainLife +SVar:TrigLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | SubAbility$ DBGainLife SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ AFLifeLost SVar:AFLifeLost:Number$0 #AFLifeLost will be set by LoseLife diff --git a/forge-gui/res/cardsfolder/g/great_defender.txt b/forge-gui/res/cardsfolder/g/great_defender.txt index 05622ba0325..5a8b1461acf 100644 --- a/forge-gui/res/cardsfolder/g/great_defender.txt +++ b/forge-gui/res/cardsfolder/g/great_defender.txt @@ -1,7 +1,7 @@ Name:Great Defender ManaCost:W Types:Instant -A:SP$ Pump | Cost$ W | ValidTgts$ Creature | NumDef$ +X | TgtPrompt$ Select target creature | References$ X | SpellDescription$ Target creature gets +0/+X until end of turn, where X is its converted mana cost. +A:SP$ Pump | Cost$ W | ValidTgts$ Creature | NumDef$ +X | TgtPrompt$ Select target creature | SpellDescription$ Target creature gets +0/+X until end of turn, where X is its converted mana cost. SVar:X:Targeted$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/great_defender.jpg diff --git a/forge-gui/res/cardsfolder/g/greatbow_doyen.txt b/forge-gui/res/cardsfolder/g/greatbow_doyen.txt index 12300440210..003ee423120 100644 --- a/forge-gui/res/cardsfolder/g/greatbow_doyen.txt +++ b/forge-gui/res/cardsfolder/g/greatbow_doyen.txt @@ -4,7 +4,7 @@ Types:Creature Elf Archer PT:2/4 S:Mode$ Continuous | Affected$ Creature.Archer+Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other Archer creatures you control get +1/+1. T:Mode$ DamageDone | ValidSource$ Archer.YouCtrl | ValidTarget$ Creature | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever an Archer you control deals damage to a creature, that Archer deals that much damage to that creature's controller. -SVar:TrigDealDamage:DB$DealDamage | Defined$ TriggeredTargetController | DamageSource$ TriggeredSource | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$DealDamage | Defined$ TriggeredTargetController | DamageSource$ TriggeredSource | NumDmg$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/greatbow_doyen.jpg diff --git a/forge-gui/res/cardsfolder/g/greater_good.txt b/forge-gui/res/cardsfolder/g/greater_good.txt index 10ad093f549..3c0e9326210 100644 --- a/forge-gui/res/cardsfolder/g/greater_good.txt +++ b/forge-gui/res/cardsfolder/g/greater_good.txt @@ -1,7 +1,7 @@ Name:Greater Good ManaCost:2 G G Types:Enchantment -A:AB$ Draw | Cost$ Sac<1/Creature> | NumCards$ X | SubAbility$ DB | References$ X | SpellDescription$ Draw cards equal to the sacrificed creature's power, then discard three cards. +A:AB$ Draw | Cost$ Sac<1/Creature> | NumCards$ X | SubAbility$ DB | SpellDescription$ Draw cards equal to the sacrificed creature's power, then discard three cards. SVar:DB:DB$Discard | NumCards$ 3 | Mode$ TgtChoose SVar:X:Sacrificed$CardPower SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/g/greel_mind_raker.txt b/forge-gui/res/cardsfolder/g/greel_mind_raker.txt index 63329467c0c..15f5a8fde2c 100644 --- a/forge-gui/res/cardsfolder/g/greel_mind_raker.txt +++ b/forge-gui/res/cardsfolder/g/greel_mind_raker.txt @@ -2,7 +2,7 @@ Name:Greel, Mind Raker ManaCost:3 B B Types:Legendary Creature Horror Spellshaper PT:3/3 -A:AB$ Discard | Cost$ X B T Discard<2/Card> | ValidTgts$ Player | NumCards$ X | Mode$ Random | References$ X | SpellDescription$ Target player discards X cards at random. +A:AB$ Discard | Cost$ X B T Discard<2/Card> | ValidTgts$ Player | NumCards$ X | Mode$ Random | SpellDescription$ Target player discards X cards at random. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/greel_mind_raker.jpg diff --git a/forge-gui/res/cardsfolder/g/green_mana_battery.txt b/forge-gui/res/cardsfolder/g/green_mana_battery.txt index c7a707312e1..8dec07c0c23 100644 --- a/forge-gui/res/cardsfolder/g/green_mana_battery.txt +++ b/forge-gui/res/cardsfolder/g/green_mana_battery.txt @@ -2,7 +2,7 @@ Name:Green Mana Battery ManaCost:4 Types:Artifact A:AB$ PutCounter | Cost$ 2 T | CounterType$ CHARGE | CounterNum$ 1 | SpellDescription$ Put a charge counter on CARDNAME. -A:AB$ Mana | Cost$ T SubCounter | Produced$ G | Amount$ Y | CostDesc$ {T}, Remove any number of charge counters from CARDNAME: | References$ X,Y | AILogic$ ManaRitualBattery.1 | AINoRecursiveCheck$ True | SpellDescription$ Add {G}, then add an additional {G} for each charge counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ G | Amount$ Y | CostDesc$ {T}, Remove any number of charge counters from CARDNAME: | AILogic$ ManaRitualBattery.1 | AINoRecursiveCheck$ True | SpellDescription$ Add {G}, then add an additional {G} for each charge counter removed this way. SVar:Y:SVar$X/Plus.1 SVar:X:Count$xPaid AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/g/green_suns_zenith.txt b/forge-gui/res/cardsfolder/g/green_suns_zenith.txt index 449dc1d405a..bc211de7021 100644 --- a/forge-gui/res/cardsfolder/g/green_suns_zenith.txt +++ b/forge-gui/res/cardsfolder/g/green_suns_zenith.txt @@ -1,7 +1,7 @@ Name:Green Sun's Zenith ManaCost:X G Types:Sorcery -A:SP$ ChangeZone | Cost$ X G | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.Green+cmcLEX | ChangeNum$ 1 | SubAbility$ DBShuffle | StackDescription$ Search your library for a green creature card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. | References$ X | SpellDescription$ Search your library for a green creature card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. Shuffle CARDNAME into its owner's library. +A:SP$ ChangeZone | Cost$ X G | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.Green+cmcLEX | ChangeNum$ 1 | SubAbility$ DBShuffle | StackDescription$ Search your library for a green creature card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. | SpellDescription$ Search your library for a green creature card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. Shuffle CARDNAME into its owner's library. SVar:X:Count$xPaid SVar:DBShuffle:DB$ChangeZone | Origin$ Stack | Destination$ Library | Shuffle$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/green_suns_zenith.jpg diff --git a/forge-gui/res/cardsfolder/g/grenzo_dungeon_warden.txt b/forge-gui/res/cardsfolder/g/grenzo_dungeon_warden.txt index 6efc87c417c..c8ce9361df8 100644 --- a/forge-gui/res/cardsfolder/g/grenzo_dungeon_warden.txt +++ b/forge-gui/res/cardsfolder/g/grenzo_dungeon_warden.txt @@ -5,7 +5,7 @@ PT:2/2 K:etbCounter:P1P1:X SVar:X:Count$xPaid A:AB$ ChangeZone | Cost$ 2 | Defined$ BottomOfLibrary | Origin$ Library | Destination$ Graveyard | RememberChanged$ True | SubAbility$ DBChangeZone | StackDescription$ SpellDescription | SpellDescription$ Put the bottom card of your library into your graveyard. If it's a creature card with power less than or equal to CARDNAME's power, put it onto the battlefield. -SVar:DBChangeZone:DB$ ChangeZone | Defined$ Remembered | Origin$ All | Destination$ Battlefield | Hidden$ True | ConditionDefined$ Remembered | ConditionPresent$ Card.Creature+powerLEY | ConditionCompare$ GE1 | References$ Y | SubAbility$ DBCleanup +SVar:DBChangeZone:DB$ ChangeZone | Defined$ Remembered | Origin$ All | Destination$ Battlefield | Hidden$ True | ConditionDefined$ Remembered | ConditionPresent$ Card.Creature+powerLEY | ConditionCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Count$CardPower AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/g/grenzos_ruffians.txt b/forge-gui/res/cardsfolder/g/grenzos_ruffians.txt index 1fdc283ceb4..6e1a62f7196 100644 --- a/forge-gui/res/cardsfolder/g/grenzos_ruffians.txt +++ b/forge-gui/res/cardsfolder/g/grenzos_ruffians.txt @@ -4,6 +4,6 @@ Types:Creature Goblin PT:2/2 K:Melee T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | CombatDamage$ True | Execute$ TrigDmg | TriggerDescription$ Whenever CARDNAME deals combat damage to an opponent, it deals that much damage to each other opponent. -SVar:TrigDmg:DB$ DamageAll | ValidPlayers$ OppNonTriggeredTarget | NumDmg$ X | References$ X +SVar:TrigDmg:DB$ DamageAll | ValidPlayers$ OppNonTriggeredTarget | NumDmg$ X SVar:X:TriggerCount$DamageAmount Oracle:Melee (Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked this combat.)\nWhenever Grenzo's Ruffians deals combat damage to an opponent, it deals that much damage to each other opponent. diff --git a/forge-gui/res/cardsfolder/g/greven_predator_captain.txt b/forge-gui/res/cardsfolder/g/greven_predator_captain.txt index d31d6b2af53..e70a5cb0229 100644 --- a/forge-gui/res/cardsfolder/g/greven_predator_captain.txt +++ b/forge-gui/res/cardsfolder/g/greven_predator_captain.txt @@ -3,11 +3,11 @@ ManaCost:3 B R Types:Legendary Creature Human Warrior PT:5/5 K:Menace -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | References$ X | Description$ CARDNAME gets +X/+0, where X is the amount of life you've lost this turn. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | Description$ CARDNAME gets +X/+0, where X is the amount of life you've lost this turn. SVar:X:Count$LifeYouLostThisTurn T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ Whenever CARDNAME attacks, you may sacrifice another creature. If you do, you draw cards equal to that creature's power and you lose life equal to that creature's toughness. -SVar:TrigDraw:AB$ Draw | Cost$ Sac<1/Creature.Other/another creature> | Defined$ You | NumCards$ Y | References$ Y | SubAbility$ DBLoseLife -SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ Z | References$ Z +SVar:TrigDraw:AB$ Draw | Cost$ Sac<1/Creature.Other/another creature> | Defined$ You | NumCards$ Y | SubAbility$ DBLoseLife +SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ Z SVar:Y:Sacrificed$CardPower SVar:Z:Sacrificed$CardToughness Oracle:Menace\nGreven, Predator Captain gets +X/+0, where X is the amount of life you've lost this turn.\nWhenever Greven attacks, you may sacrifice another creature. If you do, you draw cards equal to that creature's power and you lose life equal to that creature's toughness. diff --git a/forge-gui/res/cardsfolder/g/gridlock.txt b/forge-gui/res/cardsfolder/g/gridlock.txt index 1cc56b5ca8a..c0c6df9f73a 100644 --- a/forge-gui/res/cardsfolder/g/gridlock.txt +++ b/forge-gui/res/cardsfolder/g/gridlock.txt @@ -1,6 +1,6 @@ Name:Gridlock ManaCost:X U Types:Instant -A:SP$ Tap | Cost$ X U | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select X target nonland permanents | SpellDescription$ Tap X target nonland permanents. +A:SP$ Tap | Cost$ X U | TargetMin$ X | TargetMax$ X | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select X target nonland permanents | SpellDescription$ Tap X target nonland permanents. SVar:X:Count$xPaid Oracle:Tap X target nonland permanents. diff --git a/forge-gui/res/cardsfolder/g/grief_tyrant.txt b/forge-gui/res/cardsfolder/g/grief_tyrant.txt index 81e0acd3452..7984a21c13e 100644 --- a/forge-gui/res/cardsfolder/g/grief_tyrant.txt +++ b/forge-gui/res/cardsfolder/g/grief_tyrant.txt @@ -4,7 +4,7 @@ Types:Creature Horror PT:8/8 K:etbCounter:M1M1:4 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigCurse | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, put a -1/-1 counter on target creature for each -1/-1 counter on CARDNAME. -SVar:TrigCurse:DB$ PutCounter | ValidTgts$ Creature | CounterType$ M1M1 | IsCurse$ True | CounterNum$ X | References$ X +SVar:TrigCurse:DB$ PutCounter | ValidTgts$ Creature | CounterType$ M1M1 | IsCurse$ True | CounterNum$ X SVar:X:TriggeredCard$CardCounters.M1M1 SVar:Picture:http://www.wizards.com/global/images/magic/general/grief_tyrant.jpg Oracle:Grief Tyrant enters the battlefield with four -1/-1 counters on it.\nWhen Grief Tyrant dies, put a -1/-1 counter on target creature for each -1/-1 counter on Grief Tyrant. diff --git a/forge-gui/res/cardsfolder/g/grim_feast.txt b/forge-gui/res/cardsfolder/g/grim_feast.txt index bbf40212e4b..1f6fe8b56cf 100644 --- a/forge-gui/res/cardsfolder/g/grim_feast.txt +++ b/forge-gui/res/cardsfolder/g/grim_feast.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of your upkeep, CARDNAME deals 1 damage to you. T:Mode$ ChangesZone | ValidCard$ Creature.OppOwn | Origin$ Battlefield | Destination$ Graveyard | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever a creature is put into an opponent's graveyard from the battlefield, you gain life equal to its toughness. SVar:TrigDamage:DB$ DealDamage | Defined$ You | NumDmg$ 1 -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggeredCard$CardToughness SVar:AICastPreference:MaxControlled$ 1 | NeverCastIfLifeBelow$ 5 AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/g/grim_flowering.txt b/forge-gui/res/cardsfolder/g/grim_flowering.txt index 1cb6b7d4df2..8238a8f79ee 100644 --- a/forge-gui/res/cardsfolder/g/grim_flowering.txt +++ b/forge-gui/res/cardsfolder/g/grim_flowering.txt @@ -1,7 +1,7 @@ Name:Grim Flowering ManaCost:5 G Types:Sorcery -A:SP$ Draw | Cost$ 5 G | NumCards$ X | References$ X | SpellDescription$ Draw a card for each creature card in your graveyard. +A:SP$ Draw | Cost$ 5 G | NumCards$ X | SpellDescription$ Draw a card for each creature card in your graveyard. SVar:X:Count$TypeInYourYard.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/grim_flowering.jpg Oracle:Draw a card for each creature card in your graveyard. diff --git a/forge-gui/res/cardsfolder/g/grind_dust.txt b/forge-gui/res/cardsfolder/g/grind_dust.txt index 65be06eb3d5..10fd8af132c 100644 --- a/forge-gui/res/cardsfolder/g/grind_dust.txt +++ b/forge-gui/res/cardsfolder/g/grind_dust.txt @@ -13,6 +13,6 @@ Name:Dust ManaCost:3 W Types:Sorcery K:Aftermath -A:SP$ ChangeZone | Cost$ 3 W | ValidTgts$ Creature.counters_GE1_M1M1 | TgtPrompt$ Select target creature that has a -1/-1 counter on it | TargetMin$ 0 | TargetMax$ MaxTargets | Origin$ Battlefield | Destination$ Exile | References$ MaxTargets | SpellDescription$ Exile any number of target creatures that have -1/-1 counters on them. +A:SP$ ChangeZone | Cost$ 3 W | ValidTgts$ Creature.counters_GE1_M1M1 | TgtPrompt$ Select target creature that has a -1/-1 counter on it | TargetMin$ 0 | TargetMax$ MaxTargets | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile any number of target creatures that have -1/-1 counters on them. SVar:MaxTargets:Count$Valid Creature.counters_GE_M1M1 Oracle:Aftermath (Cast this spell only from your graveyard. Then exile it.)\nExile any number of target creatures that have -1/-1 counters on them. diff --git a/forge-gui/res/cardsfolder/g/grindclock.txt b/forge-gui/res/cardsfolder/g/grindclock.txt index 59f7e74386a..e912c1b9baf 100644 --- a/forge-gui/res/cardsfolder/g/grindclock.txt +++ b/forge-gui/res/cardsfolder/g/grindclock.txt @@ -2,7 +2,7 @@ Name:Grindclock ManaCost:2 Types:Artifact A:AB$ PutCounter | Cost$ T | CounterType$ CHARGE | CounterNum$ 1 | SpellDescription$ Put a charge counter on Grindclock. -A:AB$ Mill | Cost$ T | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | References$ X | SpellDescription$ Target player mills X cards, where X is the number of charge counters on Grindclock. +A:AB$ Mill | Cost$ T | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | SpellDescription$ Target player mills X cards, where X is the number of charge counters on Grindclock. SVar:X:Count$CardCounters.CHARGE DeckHas:Ability$Counters Oracle:{T}: Put a charge counter on Grindclock.\n{T}: Target player mills X cards, where X is the number of charge counters on Grindclock. diff --git a/forge-gui/res/cardsfolder/g/grindstone.txt b/forge-gui/res/cardsfolder/g/grindstone.txt index eab960d0402..f50636acd1d 100644 --- a/forge-gui/res/cardsfolder/g/grindstone.txt +++ b/forge-gui/res/cardsfolder/g/grindstone.txt @@ -1,7 +1,7 @@ Name:Grindstone ManaCost:1 Types:Artifact -A:AB$ Repeat | Cost$ 3 T | ValidTgts$ Player | RepeatSubAbility$ DBCleanAndGrind | MaxRepeat$ MaxRepeats | RepeatCheckSVar$ MilledSharesColor | References$ MilledSharesColor,MaxRepeats | RepeatSVarCompare$ EQ2 | SubAbility$ DBCleanup | SpellDescription$ Target player mills two cards. If two cards that share a color were milled this way, repeat this process. | StackDescription$ SpellDescription +A:AB$ Repeat | Cost$ 3 T | ValidTgts$ Player | RepeatSubAbility$ DBCleanAndGrind | MaxRepeat$ MaxRepeats | RepeatCheckSVar$ MilledSharesColorilledSharesColor,MaxRepeats | RepeatSVarCompare$ EQ2 | SubAbility$ DBCleanup | SpellDescription$ Target player mills two cards. If two cards that share a color were milled this way, repeat this process. | StackDescription$ SpellDescription SVar:DBCleanAndGrind:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBPeek SVar:DBPeek:DB$ PeekAndReveal | Defined$ Targeted | PeekAmount$ 2 | NoPeek$ True | NoReveal$ True | RememberPeeked$ True | SubAbility$ DBGrind SVar:DBGrind:DB$ Mill | NumCards$ 2 | Defined$ Targeted | NoReveal$ True diff --git a/forge-gui/res/cardsfolder/g/grisly_spectacle.txt b/forge-gui/res/cardsfolder/g/grisly_spectacle.txt index 6fa66fadf2b..0e353595338 100644 --- a/forge-gui/res/cardsfolder/g/grisly_spectacle.txt +++ b/forge-gui/res/cardsfolder/g/grisly_spectacle.txt @@ -2,6 +2,6 @@ Name:Grisly Spectacle ManaCost:2 B B Types:Instant A:SP$ Destroy | Cost$ 2 B B | ValidTgts$ Creature.nonArtifact | TgtPrompt$ Select target nonartifact creature | SubAbility$ DBMill | SpellDescription$ Destroy target nonartifact creature. Its controller mills cards equal to that creature's power. -SVar:DBMill:DB$ Mill | NumCards$ X | Defined$ TargetedController | References$ X +SVar:DBMill:DB$ Mill | NumCards$ X | Defined$ TargetedController SVar:X:TargetedLKI$CardPower Oracle:Destroy target nonartifact creature. Its controller mills cards equal to that creature's power. diff --git a/forge-gui/res/cardsfolder/g/gristleback.txt b/forge-gui/res/cardsfolder/g/gristleback.txt index beba447bb9c..19387173332 100644 --- a/forge-gui/res/cardsfolder/g/gristleback.txt +++ b/forge-gui/res/cardsfolder/g/gristleback.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Boar Beast PT:2/2 K:Bloodthirst:1 -A:AB$ GainLife | Cost$ Sac<1/CARDNAME> | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to CARDNAME's power. +A:AB$ GainLife | Cost$ Sac<1/CARDNAME> | LifeAmount$ X | SpellDescription$ You gain life equal to CARDNAME's power. SVar:X:Sacrificed$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/gristleback.jpg Oracle:Bloodthirst 1 (If an opponent was dealt damage this turn, this creature enters the battlefield with a +1/+1 counter on it.)\nSacrifice Gristleback: You gain life equal to Gristleback's power. diff --git a/forge-gui/res/cardsfolder/g/grizzled_angler_grisly_anglerfish.txt b/forge-gui/res/cardsfolder/g/grizzled_angler_grisly_anglerfish.txt index 3a2009dca4a..bccb5ceddec 100644 --- a/forge-gui/res/cardsfolder/g/grizzled_angler_grisly_anglerfish.txt +++ b/forge-gui/res/cardsfolder/g/grizzled_angler_grisly_anglerfish.txt @@ -3,7 +3,7 @@ ManaCost:2 U Types:Creature Human PT:2/3 A:AB$ Mill | Cost$ T | Defined$ You | NumCards$ 2 | SubAbility$ DBTransform | SpellDescription$ Mill two cards. Then if there is a colorless creature card in your graveyard, transform CARDNAME. -SVar:DBTransform:DB$SetState | Defined$ Self | Mode$ Transform | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +SVar:DBTransform:DB$SetState | Defined$ Self | Mode$ Transform | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:Count$ValidGraveyard Creature.YouOwn+Colorless AlternateMode:DoubleFaced DeckHints:Ability$Delirium & Color$Colorless @@ -16,6 +16,6 @@ Name:Grisly Anglerfish ManaCost:no cost Types:Creature Eldrazi Fish PT:4/5 -A:AB$ Effect | Cost$ 6 | StaticAbilities$ MustAttack | References$ MustAttack | SpellDescription$ Creatures your opponents control attack this turn if able. +A:AB$ Effect | Cost$ 6 | StaticAbilities$ MustAttack | SpellDescription$ Creatures your opponents control attack this turn if able. SVar:MustAttack:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.OppCtrl | AddHiddenKeyword$ CARDNAME attacks each combat if able. | Description$ Creatures your opponents control attack this turn if able. Oracle:{6}: Creatures your opponents control attack this turn if able. diff --git a/forge-gui/res/cardsfolder/g/grizzly_fate.txt b/forge-gui/res/cardsfolder/g/grizzly_fate.txt index 966a1a9f3da..a2ec55d006a 100644 --- a/forge-gui/res/cardsfolder/g/grizzly_fate.txt +++ b/forge-gui/res/cardsfolder/g/grizzly_fate.txt @@ -2,7 +2,7 @@ Name:Grizzly Fate ManaCost:3 G G Types:Sorcery K:Flashback:5 G G -A:SP$ Token | Cost$ 3 G G | TokenAmount$ X | TokenScript$ g_2_2_bear | TokenOwner$ You | LegacyImage$ g 2 2 bear jud | References$ X | SpellDescription$ Create two 2/2 green Bear creature tokens. Threshold — Create four 2/2 green Bear creature tokens instead if seven or more cards are in your graveyard. +A:SP$ Token | Cost$ 3 G G | TokenAmount$ X | TokenScript$ g_2_2_bear | TokenOwner$ You | LegacyImage$ g 2 2 bear jud | SpellDescription$ Create two 2/2 green Bear creature tokens. Threshold — Create four 2/2 green Bear creature tokens instead if seven or more cards are in your graveyard. SVar:X:Count$Threshold.4.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/grizzly_fate.jpg Oracle:Create two 2/2 green Bear creature tokens.\nThreshold — Create four 2/2 green Bear creature tokens instead if seven or more cards are in your graveyard.\nFlashback {5}{G}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.) diff --git a/forge-gui/res/cardsfolder/g/grollub.txt b/forge-gui/res/cardsfolder/g/grollub.txt index c6c597e1ae4..f2428babd02 100644 --- a/forge-gui/res/cardsfolder/g/grollub.txt +++ b/forge-gui/res/cardsfolder/g/grollub.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Creature Beast PT:3/3 T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, each opponent gains that much life. -SVar:TrigGain:DB$ GainLife | Defined$ Player.Opponent | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ Player.Opponent | LifeAmount$ X SVar:X:TriggerCount$DamageAmount AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/grollub.jpg diff --git a/forge-gui/res/cardsfolder/g/grotag_bug_catcher.txt b/forge-gui/res/cardsfolder/g/grotag_bug_catcher.txt index cbeb37a22e1..ff452c6e55e 100755 --- a/forge-gui/res/cardsfolder/g/grotag_bug_catcher.txt +++ b/forge-gui/res/cardsfolder/g/grotag_bug_catcher.txt @@ -4,7 +4,7 @@ Types:Creature Goblin Warrior PT:1/2 K:Trample T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+0 until end of turn for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$Party SVar:HasAttackEffect:TRUE DeckHas:Ability$Party diff --git a/forge-gui/res/cardsfolder/g/grothama_all_devouring.txt b/forge-gui/res/cardsfolder/g/grothama_all_devouring.txt index 749dda26425..04ad80eef4c 100644 --- a/forge-gui/res/cardsfolder/g/grothama_all_devouring.txt +++ b/forge-gui/res/cardsfolder/g/grothama_all_devouring.txt @@ -7,7 +7,7 @@ SVar:GrothamaAttack:Mode$ Attacks | ValidCard$ Card.Self | Execute$ GrothamaFigh SVar:GrothamaFight:DB$ Fight | Defined$ TriggeredAttackerLKICopy | ExtraDefined$ OriginalHost | SpellDescription$ You may have it fight ORIGINALHOST T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigRepeat | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, each player draws cards equal to the amount of damage dealt to Grothama this turn by sources they controlled. SVar:TrigRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ TrigDraw -SVar:TrigDraw:DB$Draw | Defined$ Remembered | NumCards$ X | References$ X +SVar:TrigDraw:DB$Draw | Defined$ Remembered | NumCards$ X SVar:X:TriggeredCard$DamageDoneByPlayerThisTurn.Remembered SVar:HasAttackEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/grothama_all_devouring.jpg diff --git a/forge-gui/res/cardsfolder/g/ground_assault.txt b/forge-gui/res/cardsfolder/g/ground_assault.txt index 35000d7965d..cf56566ec95 100644 --- a/forge-gui/res/cardsfolder/g/ground_assault.txt +++ b/forge-gui/res/cardsfolder/g/ground_assault.txt @@ -1,7 +1,7 @@ Name:Ground Assault ManaCost:R G Types:Sorcery -A:SP$ DealDamage | Cost$ R G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the number of lands you control to target creature. +A:SP$ DealDamage | Cost$ R G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the number of lands you control to target creature. SVar:X:Count$TypeYouCtrl.Land SVar:Picture:http://www.wizards.com/global/images/magic/general/ground_assault.jpg Oracle:Ground Assault deals damage to target creature equal to the number of lands you control. diff --git a/forge-gui/res/cardsfolder/g/groundswell.txt b/forge-gui/res/cardsfolder/g/groundswell.txt index 5792e68228d..b034a9d6ded 100644 --- a/forge-gui/res/cardsfolder/g/groundswell.txt +++ b/forge-gui/res/cardsfolder/g/groundswell.txt @@ -1,7 +1,7 @@ Name:Groundswell ManaCost:G Types:Instant -A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Target creature gets +2/+2 until end of turn. Landfall — If you had a land enter the battlefield under your control this turn, that creature gets +4/+4 until end of turn instead. +A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Target creature gets +2/+2 until end of turn. Landfall — If you had a land enter the battlefield under your control this turn, that creature gets +4/+4 until end of turn instead. SVar:X:Count$Landfall.4.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/groundswell.jpg Oracle:Target creature gets +2/+2 until end of turn.\nLandfall — If you had a land enter the battlefield under your control this turn, that creature gets +4/+4 until end of turn instead. diff --git a/forge-gui/res/cardsfolder/g/grow_from_the_ashes.txt b/forge-gui/res/cardsfolder/g/grow_from_the_ashes.txt index fa1790b9d91..c7fa654f640 100644 --- a/forge-gui/res/cardsfolder/g/grow_from_the_ashes.txt +++ b/forge-gui/res/cardsfolder/g/grow_from_the_ashes.txt @@ -2,6 +2,6 @@ Name:Grow from the Ashes ManaCost:2 G Types:Sorcery K:Kicker:2 -A:SP$ ChangeZone | Cost$ 2 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ X | References$ X | SpellDescription$ Search your library for a basic land card, put it onto the battlefield, then shuffle your library. If this spell was kicked, instead search your library for two basic land cards, put them onto the battlefield, then shuffle your library. +A:SP$ ChangeZone | Cost$ 2 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ X | SpellDescription$ Search your library for a basic land card, put it onto the battlefield, then shuffle your library. If this spell was kicked, instead search your library for two basic land cards, put them onto the battlefield, then shuffle your library. SVar:X:Count$Kicked.2.1 Oracle:Kicker {2} (You may pay an additional {2} as you cast this spell.)\nSearch your library for a basic land card, put it onto the battlefield, then shuffle your library. If this spell was kicked, instead search your library for two basic land cards, put them onto the battlefield, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/g/growing_rites_of_itlimoc_itlimoc_cradle_of_the_sun.txt b/forge-gui/res/cardsfolder/g/growing_rites_of_itlimoc_itlimoc_cradle_of_the_sun.txt index e9542001922..66ae63318e3 100644 --- a/forge-gui/res/cardsfolder/g/growing_rites_of_itlimoc_itlimoc_cradle_of_the_sun.txt +++ b/forge-gui/res/cardsfolder/g/growing_rites_of_itlimoc_itlimoc_cradle_of_the_sun.txt @@ -3,7 +3,7 @@ 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. +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ DBTransform | CheckSVar$ NumCres | SVarCompare$ GE4 | 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 @@ -16,7 +16,7 @@ Name:Itlimoc, Cradle of the Sun ManaCost:no cost Types:Legendary Land A:AB$ Mana | Cost$ T | Produced$ G | Amount$ 1 | SpellDescription$ Add {G}. -A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | References$ X | SpellDescription$ Add {G} for each creature you control. +A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | SpellDescription$ Add {G} 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}.\n{T}: Add {G} for each creature you control. diff --git a/forge-gui/res/cardsfolder/g/growth_cycle.txt b/forge-gui/res/cardsfolder/g/growth_cycle.txt index d4997237e57..6ce14d8722d 100644 --- a/forge-gui/res/cardsfolder/g/growth_cycle.txt +++ b/forge-gui/res/cardsfolder/g/growth_cycle.txt @@ -2,6 +2,6 @@ Name:Growth Cycle ManaCost:1 G Types:Instant A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ 3 | NumDef$ 3 | SubAbility$ DBPump | SpellDescription$ Target creature gets +3/+3 until end of turn. It gets an additional +2/+2 until end of turn for each card named Growth Cycle in your graveyard. -SVar:DBPump:DB$ Pump | Defined$ ParentTarget | NumAtt$ +X | NumDef$ +X | References$ X +SVar:DBPump:DB$ Pump | Defined$ ParentTarget | NumAtt$ +X | NumDef$ +X SVar:X:Count$ValidGraveyard Card.namedGrowth Cycle/Times.2 Oracle:Target creature gets +3/+3 until end of turn. It gets an additional +2/+2 until end of turn for each card named Growth Cycle in your graveyard. diff --git a/forge-gui/res/cardsfolder/g/grozoth.txt b/forge-gui/res/cardsfolder/g/grozoth.txt index b4aee32380f..f8a40434e13 100644 --- a/forge-gui/res/cardsfolder/g/grozoth.txt +++ b/forge-gui/res/cardsfolder/g/grozoth.txt @@ -4,7 +4,7 @@ Types:Creature Leviathan PT:9/9 K:Defender T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may search your library for any number of cards that have converted mana cost 9, reveal them, and put them into your hand. If you do, shuffle your library. -SVar:TrigChange:DB$ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card.cmcEQ9 | ChangeNum$ X | References$ X | ShuffleNonMandatory$ True +SVar:TrigChange:DB$ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card.cmcEQ9 | ChangeNum$ X | ShuffleNonMandatory$ True A:AB$ Debuff | Cost$ 4 | Keywords$ Defender | Defined$ Self | SpellDescription$ CARDNAME loses defender until end of turn. K:Transmute:1 U U SVar:X:Count$InYourLibrary diff --git a/forge-gui/res/cardsfolder/g/gruesome_discovery.txt b/forge-gui/res/cardsfolder/g/gruesome_discovery.txt index 39185098055..cdf4df5b633 100644 --- a/forge-gui/res/cardsfolder/g/gruesome_discovery.txt +++ b/forge-gui/res/cardsfolder/g/gruesome_discovery.txt @@ -2,7 +2,7 @@ Name:Gruesome Discovery ManaCost:2 B B Types:Sorcery A:SP$ Discard | Cost$ 2 B B | ValidTgts$ Player | Mode$ TgtChoose | NumCards$ 2 | ConditionCheckSVar$ Morbid | ConditionSVarCompare$ EQ0 | SubAbility$ MorbidDiscard | SpellDescription$ Target player discards two cards. -SVar:MorbidDiscard:DB$ Discard | Defined$ Targeted | Mode$ RevealYouChoose | NumCards$ 2 | ConditionCheckSVar$ Morbid | ConditionSVarCompare$ GE1 | References$ Morbid | SpellDescription$ Morbid — If a creature died this turn, instead that player reveals their hand, you choose two cards from it, then that player discards those cards. +SVar:MorbidDiscard:DB$ Discard | Defined$ Targeted | Mode$ RevealYouChoose | NumCards$ 2 | ConditionCheckSVar$ Morbid | ConditionSVarCompare$ GE1 | SpellDescription$ Morbid — If a creature died this turn, instead that player reveals their hand, you choose two cards from it, then that player discards those cards. SVar:Morbid:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/gruesome_discovery.jpg Oracle:Target player discards two cards.\nMorbid — If a creature died this turn, instead that player reveals their hand, you choose two cards from it, then that player discards those cards. diff --git a/forge-gui/res/cardsfolder/g/gruesome_fate.txt b/forge-gui/res/cardsfolder/g/gruesome_fate.txt index 1221a7b8f60..0bd832271e6 100644 --- a/forge-gui/res/cardsfolder/g/gruesome_fate.txt +++ b/forge-gui/res/cardsfolder/g/gruesome_fate.txt @@ -1,7 +1,7 @@ Name:Gruesome Fate ManaCost:2 B Types:Sorcery -A:SP$ LoseLife | Cost$ 2 B | Defined$ Player.Opponent | LifeAmount$ X | References$ X | SpellDescription$ Each opponent loses 1 life for each creature you control. +A:SP$ LoseLife | Cost$ 2 B | Defined$ Player.Opponent | LifeAmount$ X | SpellDescription$ Each opponent loses 1 life for each creature you control. SVar:X:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/gruesome_fate.jpg Oracle:Each opponent loses 1 life for each creature you control. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/g/gruesome_scourger.txt b/forge-gui/res/cardsfolder/g/gruesome_scourger.txt index a36c0dea051..93e1b376554 100644 --- a/forge-gui/res/cardsfolder/g/gruesome_scourger.txt +++ b/forge-gui/res/cardsfolder/g/gruesome_scourger.txt @@ -3,6 +3,6 @@ ManaCost:3 B B Types:Creature Orc Warrior PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals damage to target opponent or planeswalker equal to the number of creatures you control. -SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ X SVar:X:Count$Valid Creature.YouCtrl Oracle:When Gruesome Scourger enters the battlefield, it deals damage to target opponent or planeswalker equal to the number of creatures you control. diff --git a/forge-gui/res/cardsfolder/g/gruesome_slaughter.txt b/forge-gui/res/cardsfolder/g/gruesome_slaughter.txt index 318ebc1a9ab..90b0472c196 100644 --- a/forge-gui/res/cardsfolder/g/gruesome_slaughter.txt +++ b/forge-gui/res/cardsfolder/g/gruesome_slaughter.txt @@ -2,7 +2,7 @@ Name:Gruesome Slaughter ManaCost:6 Types:Instant A:SP$ AnimateAll | Cost$ 6 | ValidCards$ Creature.Colorless+YouCtrl | Abilities$ ThrowPunch | sVars$ GruesomeX | SpellDescription$ Until end of turn, colorless creatures you control gain "{T}: This creature deals damage equal to its power to target creature." -SVar:ThrowPunch:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ GruesomeX | References$ GruesomeX | SpellDescription$ This creature deals damage equal to its power to target creature. +SVar:ThrowPunch:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ GruesomeX | SpellDescription$ This creature deals damage equal to its power to target creature. SVar:GruesomeX:Count$CardPower AI:RemoveDeck:Random DeckHints:Color$Colorless & Keyword$Devoid diff --git a/forge-gui/res/cardsfolder/g/grunn_the_lonely_king.txt b/forge-gui/res/cardsfolder/g/grunn_the_lonely_king.txt index cf0b0362027..6cfa39b12c0 100644 --- a/forge-gui/res/cardsfolder/g/grunn_the_lonely_king.txt +++ b/forge-gui/res/cardsfolder/g/grunn_the_lonely_king.txt @@ -6,7 +6,7 @@ K:Kicker:3 K:etbCounter:P1P1:5:CheckSVar$ WasKicked:If CARDNAME was kicked, it enters the battlefield with five +1/+1 counters on it. SVar:WasKicked:Count$Kicked.1.0 T:Mode$ Attacks | ValidCard$ Card.Self | Alone$ True | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks alone, double its power and toughness until end of turn. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +Y | References$ X,Y +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +Y SVar:X:Count$CardPower SVar:Y:Count$CardToughness DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/g/gruul_beastmaster.txt b/forge-gui/res/cardsfolder/g/gruul_beastmaster.txt index 37c4d689b4c..07a26f31343 100644 --- a/forge-gui/res/cardsfolder/g/gruul_beastmaster.txt +++ b/forge-gui/res/cardsfolder/g/gruul_beastmaster.txt @@ -4,7 +4,7 @@ Types:Creature Human Shaman PT:2/2 K:Riot T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, another target creature you control gets +X/+0 until end of turn, where X is CARDNAME's power. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.YouCtrl+Other | TgtPrompt$ Select another target creature you control | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.YouCtrl+Other | TgtPrompt$ Select another target creature you control | NumAtt$ X SVar:X:Count$CardPower DeckHas:Ability$Counters Oracle:Riot (This creature enters the battlefield with your choice of a +1/+1 counter or haste.)\nWhenever Gruul Beastmaster attacks, another target creature you control gets +X/+0 until end of turn, where X is Gruul Beastmaster's power. diff --git a/forge-gui/res/cardsfolder/g/guardian_angel.txt b/forge-gui/res/cardsfolder/g/guardian_angel.txt index 555780e69a0..160f8ee33d4 100644 --- a/forge-gui/res/cardsfolder/g/guardian_angel.txt +++ b/forge-gui/res/cardsfolder/g/guardian_angel.txt @@ -1,7 +1,7 @@ Name:Guardian Angel ManaCost:X W Types:Instant -A:SP$ PreventDamage | Cost$ X W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | Amount$ X | References$ X | SubAbility$ GuardianEffect | SpellDescription$ Prevent the next X damage that would be dealt to any target this turn. Until end of turn, you may pay {1} any time you could cast an instant. If you do, prevent the next 1 damage that would be dealt to that permanent or player this turn. +A:SP$ PreventDamage | Cost$ X W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | Amount$ X | SubAbility$ GuardianEffect | SpellDescription$ Prevent the next X damage that would be dealt to any target this turn. Until end of turn, you may pay {1} any time you could cast an instant. If you do, prevent the next 1 damage that would be dealt to that permanent or player this turn. SVar:GuardianEffect:DB$ Effect | Name$ Guardian Angel Effect | Abilities$ ABProtect | RememberObjects$ Targeted | Triggers$ OutOfSight | SVars$ ExileEffect SVar:ABProtect:AB$ PreventDamage | ActivationZone$ Command | Cost$ 1 | InstantSpeed$ True | Defined$ Remembered | Amount$ 1 | SpellDescription$ You may pay 1 any time you could cast an instant. If you do, prevent the next 1 damage that would be dealt to that permanent or player this turn. SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Defined$ Remembered | Execute$ ExileEffect | Static$ True diff --git a/forge-gui/res/cardsfolder/g/guardian_of_the_gateless.txt b/forge-gui/res/cardsfolder/g/guardian_of_the_gateless.txt index ba79078d93f..29a3e553f22 100644 --- a/forge-gui/res/cardsfolder/g/guardian_of_the_gateless.txt +++ b/forge-gui/res/cardsfolder/g/guardian_of_the_gateless.txt @@ -5,7 +5,7 @@ PT:3/3 K:Flying S:Mode$ Continuous | Affected$ Card.Self | CanBlockAny$ True | Description$ CARDNAME can block any number of creatures. T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME blocks, it gets +1/+1 until end of turn for each creature it's blocking. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X SVar:X:Count$Valid Creature.blockedBySource SVar:Picture:http://www.wizards.com/global/images/magic/general/guardian_of_the_gateless.jpg Oracle:Flying\nGuardian of the Gateless can block any number of creatures.\nWhenever Guardian of the Gateless blocks, it gets +1/+1 until end of turn for each creature it's blocking. diff --git a/forge-gui/res/cardsfolder/g/guided_passage.txt b/forge-gui/res/cardsfolder/g/guided_passage.txt index db46d7ba057..6d976005fda 100644 --- a/forge-gui/res/cardsfolder/g/guided_passage.txt +++ b/forge-gui/res/cardsfolder/g/guided_passage.txt @@ -1,7 +1,7 @@ Name:Guided Passage ManaCost:U R G Types:Sorcery -A:SP$ Dig | Cost$ U R G | NumCards$ X | Reveal$ True | NoMove$ True | DestinationZone$ Library | LibraryPosition$ 0 | LibraryPosition2$ 0 | SubAbility$ DBCreature | References$ X | SpellDescription$ Reveal the cards in your library. An opponent chooses from among them a creature card, a land card, and a noncreature, nonland card. You put the chosen cards into your hand. Then shuffle your library. +A:SP$ Dig | Cost$ U R G | NumCards$ X | Reveal$ True | NoMove$ True | DestinationZone$ Library | LibraryPosition$ 0 | LibraryPosition2$ 0 | SubAbility$ DBCreature | SpellDescription$ Reveal the cards in your library. An opponent chooses from among them a creature card, a land card, and a noncreature, nonland card. You put the chosen cards into your hand. Then shuffle your library. SVar:DBCreature:DB$ ChangeZone | ChangeType$ Creature.YouOwn | ChangeNum$ 1 | Chooser$ Opponent | Origin$ Library | Destination$ Hand | SubAbility$ DBLand SVar:DBLand:DB$ ChangeZone | ChangeType$ Land.YouOwn | ChangeNum$ 1 | Chooser$ Opponent | Origin$ Library | Destination$ Hand | SubAbility$ DBNonCreatureNonLand SVar:DBNonCreatureNonLand:DB$ ChangeZone | ChangeType$ Card.nonCreature+nonLand+YouOwn | ChangeNum$ 1 | Chooser$ Opponent | Origin$ Library | Destination$ Hand | Shuffle$ True diff --git a/forge-gui/res/cardsfolder/g/guild_feud.txt b/forge-gui/res/cardsfolder/g/guild_feud.txt index 3c60462bbeb..7c830210c46 100644 --- a/forge-gui/res/cardsfolder/g/guild_feud.txt +++ b/forge-gui/res/cardsfolder/g/guild_feud.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ OppPick | TriggerDescription$ At the beginning of your upkeep, target opponent reveals the top three cards of their library, may put a creature card from among them onto the battlefield, then puts the rest into their graveyard. You do the same with the top three cards of your library. If two creatures are put onto the battlefield this way, those creatures fight each other. SVar:OppPick:DB$ Dig | ValidTgts$ Opponent | DigNum$ 3 | Reveal$ True | ChangeNum$ 1 | ChangeValid$ Creature | DestinationZone$ Battlefield | DestinationZone2$ Graveyard | Choser$ Targeted | Optional$ True | RememberChanged$ True | SubAbility$ YouPick SVar:YouPick:DB$ Dig | Defined$ You | DigNum$ 3 | Reveal$ True | ChangeNum$ 1 | ChangeValid$ Creature | DestinationZone$ Battlefield | DestinationZone2$ Graveyard | Optional$ True | RememberChanged$ True | SubAbility$ PicksFight -SVar:PicksFight:DB$ Fight | Defined$ Remembered | SubAbility$ DBCleanup | ConditionCheckSVar$ NumFighters | References$ NumFighters | ConditionSVarCompare$ EQ2 | StackDescription$ If two creatures are put onto the battlefield this way, those creatures fight each other. +SVar:PicksFight:DB$ Fight | Defined$ Remembered | SubAbility$ DBCleanup | ConditionCheckSVar$ NumFighters | ConditionSVarCompare$ EQ2 | StackDescription$ If two creatures are put onto the battlefield this way, those creatures fight each other. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:NumFighters:Remembered$Amount AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/g/guild_summit.txt b/forge-gui/res/cardsfolder/g/guild_summit.txt index 24608dbed49..5c9568a1cd1 100644 --- a/forge-gui/res/cardsfolder/g/guild_summit.txt +++ b/forge-gui/res/cardsfolder/g/guild_summit.txt @@ -2,9 +2,9 @@ Name:Guild Summit ManaCost:2 U Types:Enchantment T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ GuestList | TriggerDescription$ When CARDNAME enters the battlefield, you may tap any number of untapped Gates you control. Draw a card for each Gate tapped this way. -SVar:GuestList:DB$ ChooseCard | Defined$ You | MinAmount$ 0 | Amount$ X | References$ X | Choices$ Gate.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped Gates you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigTap +SVar:GuestList:DB$ ChooseCard | Defined$ You | MinAmount$ 0 | Amount$ X | Choices$ Gate.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped Gates you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigTap SVar:TrigTap:DB$ Tap | Defined$ Remembered | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ Y | SubAbility$ DBCleanup | References$ Y +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Gate.untapped+YouCtrl SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/g/guiltfeeder.txt b/forge-gui/res/cardsfolder/g/guiltfeeder.txt index 09376a2d58c..d2812b1a309 100644 --- a/forge-gui/res/cardsfolder/g/guiltfeeder.txt +++ b/forge-gui/res/cardsfolder/g/guiltfeeder.txt @@ -4,7 +4,7 @@ Types:Creature Horror PT:0/4 K:Fear T:Mode$ AttackerUnblocked | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME attacks and isn't blocked, defending player loses 1 life for each card in their graveyard. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ DefendingPlayer | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ DefendingPlayer | LifeAmount$ X SVar:X:Count$ValidGraveyard Card.DefenderCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/guiltfeeder.jpg Oracle:Fear (This creature can't be blocked except by artifact creatures and/or black creatures.)\nWhenever Guiltfeeder attacks and isn't blocked, defending player loses 1 life for each card in their graveyard. diff --git a/forge-gui/res/cardsfolder/g/guilty_conscience.txt b/forge-gui/res/cardsfolder/g/guilty_conscience.txt index 5578ac5d5f1..217c1c9cfaf 100644 --- a/forge-gui/res/cardsfolder/g/guilty_conscience.txt +++ b/forge-gui/res/cardsfolder/g/guilty_conscience.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ W | ValidTgts$ Creature | AILogic$ SpecificCard T:Mode$ DamageDealtOnce | ValidSource$ Card.AttachedBy | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, CARDNAME deals that much damage to that creature. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredSourceLKICopy | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredSourceLKICopy | NumDmg$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/guilty_conscience.jpg Oracle:Enchant creature\nWhenever enchanted creature deals damage, Guilty Conscience deals that much damage to that creature. diff --git a/forge-gui/res/cardsfolder/g/gutterbones.txt b/forge-gui/res/cardsfolder/g/gutterbones.txt index 25cbbb43111..dfae60d7f11 100644 --- a/forge-gui/res/cardsfolder/g/gutterbones.txt +++ b/forge-gui/res/cardsfolder/g/gutterbones.txt @@ -3,6 +3,6 @@ ManaCost:B Types:Creature Skeleton Warrior PT:2/1 K:CARDNAME enters the battlefield tapped. -A:AB$ ChangeZone | Cost$ 1 B | Origin$ Graveyard | Destination$ Hand | ActivationZone$ Graveyard | PlayerTurn$ True | CheckSVar$ X | References$ X | SpellDescription$ Return CARDNAME from your graveyard to your hand. Activate this ability only during your turn and only if an opponent lost life this turn. +A:AB$ ChangeZone | Cost$ 1 B | Origin$ Graveyard | Destination$ Hand | ActivationZone$ Graveyard | PlayerTurn$ True | CheckSVar$ X | SpellDescription$ Return CARDNAME from your graveyard to your hand. Activate this ability only during your turn and only if an opponent lost life this turn. SVar:X:Count$LifeOppsLostThisTurn Oracle:Gutterbones enters the battlefield tapped.\n{1}{B}: Return Gutterbones from your graveyard to your hand. Activate this ability only during your turn and only if an opponent lost life this turn. diff --git a/forge-gui/res/cardsfolder/g/guul_draz_overseer.txt b/forge-gui/res/cardsfolder/g/guul_draz_overseer.txt index 057e57298c4..670ab00ca8b 100644 --- a/forge-gui/res/cardsfolder/g/guul_draz_overseer.txt +++ b/forge-gui/res/cardsfolder/g/guul_draz_overseer.txt @@ -4,6 +4,6 @@ Types:Creature Vampire PT:3/4 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPumpAll | TriggerDescription$ Landfall — Whenever a land enters the battlefield under your control, other creatures you control get +1/+0 until end of turn. If that land is a Swamp, those creatures get +2/+0 until end of turn instead. -SVar:TrigPumpAll:DB$ PumpAll | ValidCards$ Creature.Other+YouCtrl | NumAtt$ X | References$ X +SVar:TrigPumpAll:DB$ PumpAll | ValidCards$ Creature.Other+YouCtrl | NumAtt$ X SVar:X:TriggeredCard$Valid Swamp/Plus.1 Oracle:Flying\nLandfall — Whenever a land enters the battlefield under your control, other creatures you control get +1/+0 until end of turn. If that land is a Swamp, those creatures get +2/+0 until end of turn instead. diff --git a/forge-gui/res/cardsfolder/g/gyre_sage.txt b/forge-gui/res/cardsfolder/g/gyre_sage.txt index cf74b3b7a74..30e215aa735 100644 --- a/forge-gui/res/cardsfolder/g/gyre_sage.txt +++ b/forge-gui/res/cardsfolder/g/gyre_sage.txt @@ -3,7 +3,7 @@ ManaCost:1 G Types:Creature Elf Druid PT:1/2 K:Evolve -A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | References$ X | SpellDescription$ Add {G} for each +1/+1 counter on CARDNAME. +A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | SpellDescription$ Add {G} for each +1/+1 counter on CARDNAME. SVar:X:Count$CardCounters.P1P1 DeckHas:Ability$Counters DeckHints:Ability$Counters diff --git a/forge-gui/res/cardsfolder/g/gyrus_waker_of_corpses.txt b/forge-gui/res/cardsfolder/g/gyrus_waker_of_corpses.txt index 112143356f4..916f225fd97 100644 --- a/forge-gui/res/cardsfolder/g/gyrus_waker_of_corpses.txt +++ b/forge-gui/res/cardsfolder/g/gyrus_waker_of_corpses.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Hydra PT:0/0 K:etbCounter:P1P1:Y:no Condition:CARDNAME enters the battlefield with a number of +1/+1 counters on it equal to the amount of mana spent to cast it. T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigExile | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME attacks, you may exile target creature card with lesser power from your graveyard. If you do, create a token that's a copy of that card and that's tapped and attacking. Exile the token at the end of combat. -SVar:TrigExile:DB$ ChangeZone | ValidTgts$ Creature.YouCtrl+powerLTZ | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Select target creature card with lesser power in your graveyard | RememberChanged$ True | Optional$ True | SubAbility$ DBCopy | References$ Z +SVar:TrigExile:DB$ ChangeZone | ValidTgts$ Creature.YouCtrl+powerLTZ | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Select target creature card with lesser power in your graveyard | RememberChanged$ True | Optional$ True | SubAbility$ DBCopy SVar:DBCopy:DB$ CopyPermanent | Defined$ Remembered | TokenTapped$ True | TokenAttacking$ True | AtEOT$ ExileCombat | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/h/hadanas_climb_winged_temple_of_orazca.txt b/forge-gui/res/cardsfolder/h/hadanas_climb_winged_temple_of_orazca.txt index d91dbd13758..9e6f7fee1be 100644 --- a/forge-gui/res/cardsfolder/h/hadanas_climb_winged_temple_of_orazca.txt +++ b/forge-gui/res/cardsfolder/h/hadanas_climb_winged_temple_of_orazca.txt @@ -14,7 +14,7 @@ Name:Winged Temple of Orazca ManaCost:no cost Types:Legendary Land A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 1 | SpellDescription$ Add one mana of any color. -A:AB$ Pump | Cost$ 1 G U T | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ X | NumDef$ X | References$ X | KW$ Flying | SpellDescription$ Target creature you control gains flying and gets +X/+X until end of turn, where X is its power. +A:AB$ Pump | Cost$ 1 G U T | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ X | NumDef$ X | KW$ Flying | SpellDescription$ Target creature you control gains flying and gets +X/+X until end of turn, where X is its power. SVar:X:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/winged_temple_of_orazca.jpg Oracle:(Transforms from Hadana's Climb.)\n{T}: Add one mana of any color.\n{1}{G}{U}, {T}: Target creature you control gains flying and gets +X/+X until end of turn, where X is its power. diff --git a/forge-gui/res/cardsfolder/h/hagra_mauling_hagra_broodpit.txt b/forge-gui/res/cardsfolder/h/hagra_mauling_hagra_broodpit.txt index b1935583e62..2284385dd53 100644 --- a/forge-gui/res/cardsfolder/h/hagra_mauling_hagra_broodpit.txt +++ b/forge-gui/res/cardsfolder/h/hagra_mauling_hagra_broodpit.txt @@ -1,7 +1,7 @@ Name:Hagra Mauling ManaCost:2 B B Types:Instant -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 1 | EffectZone$ All | CheckSVar$ X | SVarCompare$ EQ0 | References$ X | Description$ This spell costs {1} less to cast if an opponent controls no basic lands. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 1 | EffectZone$ All | CheckSVar$ X | SVarCompare$ EQ0 | Description$ This spell costs {1} less to cast if an opponent controls no basic lands. SVar:X:PlayerCountOpponents$LowestValid Land.Basic+YouCtrl A:SP$ Destroy | Cost$ 2 B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Destroy target creature. AlternateMode:Modal diff --git a/forge-gui/res/cardsfolder/h/hail_of_arrows.txt b/forge-gui/res/cardsfolder/h/hail_of_arrows.txt index 23fcd99f36a..3cc44f95f01 100644 --- a/forge-gui/res/cardsfolder/h/hail_of_arrows.txt +++ b/forge-gui/res/cardsfolder/h/hail_of_arrows.txt @@ -1,7 +1,7 @@ Name:Hail of Arrows ManaCost:X W Types:Instant -A:SP$ DealDamage | Cost$ X W | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature to distribute damage to | NumDmg$ X | TargetMin$ Min | TargetMax$ MaxTgts | DividedAsYouChoose$ X | References$ X,Min,MaxTgts | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of target attacking creatures. +A:SP$ DealDamage | Cost$ X W | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature to distribute damage to | NumDmg$ X | TargetMin$ Min | TargetMax$ MaxTgts | DividedAsYouChoose$ X | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of target attacking creatures. SVar:MaxTgts:Count$Valid Creature.attacking SVar:Min:SVar$X/LimitMax.1 SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/h/halana_kessig_ranger.txt b/forge-gui/res/cardsfolder/h/halana_kessig_ranger.txt index a1a0ddd42f9..e6c67fa6c8b 100644 --- a/forge-gui/res/cardsfolder/h/halana_kessig_ranger.txt +++ b/forge-gui/res/cardsfolder/h/halana_kessig_ranger.txt @@ -6,7 +6,7 @@ K:Reach K:Partner T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Other+YouCtrl | Execute$ TrigPayCost | TriggerZones$ Battlefield | TriggerDescription$ Whenever another creature enters the battlefield under your control, you may pay {2}. When you do, that creature deals damage equal to its power to target creature. SVar:TrigPayCost:AB$ ImmediateTrigger | Cost$ 2 | Execute$ TrigDealDamage | CopyTriggeringObjects$ True | TriggerDescription$ When you pay {2}, that creature deals damage equal to its power to target creature. -SVar:TrigDealDamage:DB$ DealDamage | DamageSource$ TriggeredCardLKICopy | NumDmg$ X | References$ X | ValidTgts$ Creature +SVar:TrigDealDamage:DB$ DealDamage | DamageSource$ TriggeredCardLKICopy | NumDmg$ X | ValidTgts$ Creature SVar:X:TriggeredCard$CardPower DeckNeeds:Type$Creature Oracle:Reach\nWhenever another creature enters the battlefield under your control, you may pay {2}. When you do, that creature deals damage equal to its power to target creature.\nPartner (You can have two commanders if both have partner.) diff --git a/forge-gui/res/cardsfolder/h/halfdane.txt b/forge-gui/res/cardsfolder/h/halfdane.txt index 95a42727293..a1463c55922 100644 --- a/forge-gui/res/cardsfolder/h/halfdane.txt +++ b/forge-gui/res/cardsfolder/h/halfdane.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Shapeshifter PT:3/3 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAnimate | TriggerDescription$ At the beginning of your upkeep, change CARDNAME's base power and toughness to the power and toughness of target creature other than CARDNAME until the end of your next upkeep. SVar:TrigAnimate:DB$ Pump | ValidTgts$ Creature.Other | TgtPrompt$ Select target creature other than this creature | AILogic$ HighestPower | SubAbility$ DBAnimate -SVar:DBAnimate:DB$ Animate | Defined$ Self | Power$ X | Toughness$ Y | References$ X,Y | UntilTheEndOfYourNextUpkeep$ True +SVar:DBAnimate:DB$ Animate | Defined$ Self | Power$ X | Toughness$ Y | UntilTheEndOfYourNextUpkeep$ True SVar:X:Targeted$CardPower SVar:Y:Targeted$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/halfdane.jpg diff --git a/forge-gui/res/cardsfolder/h/halimar_excavator.txt b/forge-gui/res/cardsfolder/h/halimar_excavator.txt index e8af64d6959..79b81e62eb1 100644 --- a/forge-gui/res/cardsfolder/h/halimar_excavator.txt +++ b/forge-gui/res/cardsfolder/h/halimar_excavator.txt @@ -4,7 +4,7 @@ Types:Creature Human Wizard Ally PT:1/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMill | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, target player mills X cards, where X is the number of Allies you control. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Ally.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigMill | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, target player mills X cards, where X is the number of Allies you control. -SVar:TrigMill:DB$ Mill | ValidTgts$ Player | NumCards$ X | TgtPrompt$ Select a target player. | References$ X | SpellDescription$ Target player mills X cards, where X is the number of Allies you control. +SVar:TrigMill:DB$ Mill | ValidTgts$ Player | NumCards$ X | TgtPrompt$ Select a target player. | SpellDescription$ Target player mills X cards, where X is the number of Allies you control. SVar:X:Count$Valid Ally.YouCtrl SVar:BuffedBy:Ally Oracle:Whenever Halimar Excavator or another Ally enters the battlefield under your control, target player mills X cards, where X is the number of Allies you control. diff --git a/forge-gui/res/cardsfolder/h/hallar_the_firefletcher.txt b/forge-gui/res/cardsfolder/h/hallar_the_firefletcher.txt index c56437aa153..616f14d02d4 100644 --- a/forge-gui/res/cardsfolder/h/hallar_the_firefletcher.txt +++ b/forge-gui/res/cardsfolder/h/hallar_the_firefletcher.txt @@ -5,7 +5,7 @@ PT:3/3 K:Trample T:Mode$ SpellCast | ValidCard$ Card.kicked | ValidActivatingPlayer$ You | Execute$ DBPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a spell, if that spell was kicked, put a +1/+1 counter on CARDNAME, then CARDNAME deals damage equal to the number of +1/+1 counters on it to each opponent. SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBDealDamage -SVar:DBDealDamage:DB$ DealDamage | Defined$ Player.Opponent | NumDmg$ X | References$ X +SVar:DBDealDamage:DB$ DealDamage | Defined$ Player.Opponent | NumDmg$ X SVar:X:Count$CardCounters.P1P1 DeckHas:Ability$Counters SVar:BuffedBy:Card.withKicker,Card.withMultikicker diff --git a/forge-gui/res/cardsfolder/h/hallow.txt b/forge-gui/res/cardsfolder/h/hallow.txt index 2a80afd7206..7f8641a6a85 100644 --- a/forge-gui/res/cardsfolder/h/hallow.txt +++ b/forge-gui/res/cardsfolder/h/hallow.txt @@ -3,7 +3,7 @@ ManaCost:W Types:Instant A:SP$ Effect | Cost$ W | ValidTgts$ Card.inZoneStack | TgtZone$ Stack,Battlefield | TgtPrompt$ Select target spell to prevent damage from | ReplacementEffects$ PreventDmg | Triggers$ TargetMoved | SVars$ GainLifeYou,X,ExileEffect | RememberObjects$ Targeted | SpellDescription$ Prevent all damage target spell would deal this turn. You gain life equal to the damage prevented this way. SVar:PreventDmg:Event$ DamageDone | ValidSource$ Card.IsRemembered | ReplaceWith$ GainLifeYou | PreventionEffect$ True | Description$ Prevent all damage that would be dealt by targeted spell this turn. You gain life equal to the damage prevented this way. -SVar:GainLifeYou:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:GainLifeYou:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:ReplaceCount$DamageAmount SVar:TargetMoved:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | ExcludedDestinations$ Battlefield | Execute$ ExileEffect | TriggerZones$ Command | Static$ True SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/h/hallowed_spiritkeeper.txt b/forge-gui/res/cardsfolder/h/hallowed_spiritkeeper.txt index d78309c39ad..f7929c6ae50 100644 --- a/forge-gui/res/cardsfolder/h/hallowed_spiritkeeper.txt +++ b/forge-gui/res/cardsfolder/h/hallowed_spiritkeeper.txt @@ -4,7 +4,7 @@ Types:Creature Avatar PT:3/2 K:Vigilance T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigToken | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, create X 1/1 white Spirit creature tokens with flying, where X is the number of creature cards in your graveyard. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ w_1_1_spirit_flying | TokenOwner$ You | LegacyImage$ w 1 1 spirit flying c14 +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_spirit_flying | TokenOwner$ You | LegacyImage$ w 1 1 spirit flying c14 SVar:X:Count$TypeInYourYard.Creature DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/hallowed_spiritkeeper.jpg diff --git a/forge-gui/res/cardsfolder/h/hamletback_goliath.txt b/forge-gui/res/cardsfolder/h/hamletback_goliath.txt index 181f8f4ee18..8f1452aa684 100644 --- a/forge-gui/res/cardsfolder/h/hamletback_goliath.txt +++ b/forge-gui/res/cardsfolder/h/hamletback_goliath.txt @@ -3,7 +3,7 @@ ManaCost:6 R Types:Creature Giant Warrior PT:6/6 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Other | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ Whenever another creature enters the battlefield, you may put X +1/+1 counters on CARDNAME, where X is that creature's power. -SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X SVar:X:TriggeredCard$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/hamletback_goliath.jpg Oracle:Whenever another creature enters the battlefield, you may put X +1/+1 counters on Hamletback Goliath, where X is that creature's power. diff --git a/forge-gui/res/cardsfolder/h/hammer_mage.txt b/forge-gui/res/cardsfolder/h/hammer_mage.txt index e4d1dd1bf4e..e49e03ffcba 100644 --- a/forge-gui/res/cardsfolder/h/hammer_mage.txt +++ b/forge-gui/res/cardsfolder/h/hammer_mage.txt @@ -2,7 +2,7 @@ Name:Hammer Mage ManaCost:1 R Types:Creature Human Spellshaper PT:1/1 -A:AB$ DestroyAll | Cost$ X R T Discard<1/Card> | ValidCards$ Artifact.cmcLEX | References$ X | SpellDescription$ Destroy all artifacts with converted mana cost X or less. +A:AB$ DestroyAll | Cost$ X R T Discard<1/Card> | ValidCards$ Artifact.cmcLEX | SpellDescription$ Destroy all artifacts with converted mana cost X or less. SVar:X:Count$xPaid AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/hammer_mage.jpg diff --git a/forge-gui/res/cardsfolder/h/hamza_guardian_of_arashin.txt b/forge-gui/res/cardsfolder/h/hamza_guardian_of_arashin.txt index 461bc3defc8..f40af3528ec 100644 --- a/forge-gui/res/cardsfolder/h/hamza_guardian_of_arashin.txt +++ b/forge-gui/res/cardsfolder/h/hamza_guardian_of_arashin.txt @@ -2,8 +2,8 @@ Name:Hamza, Guardian of Arashin ManaCost:4 G W Types:Legendary Creature Elephant Warrior PT:5/5 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature you control with a +1/+1 counter on it. -S:Mode$ ReduceCost | ValidCard$ Creature | Type$ Spell | Activator$ You | Amount$ X | References$ X | EffectZone$ Battlefield | Description$ Creature spells you cast cost {1} less to cast for each creature you control with a +1/+1 counter on it. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature you control with a +1/+1 counter on it. +S:Mode$ ReduceCost | ValidCard$ Creature | Type$ Spell | Activator$ You | Amount$ X | EffectZone$ Battlefield | Description$ Creature spells you cast cost {1} less to cast for each creature you control with a +1/+1 counter on it. SVar:X:Count$Valid Creature.YouCtrl+counters_GE1_P1P1 DeckHints:Ability$Counters & Type$Creature Oracle:This spell costs {1} less to cast for each creature you control with a +1/+1 counter on it.\nCreature spells you cast cost {1} less to cast for each creature you control with a +1/+1 counter on it. diff --git a/forge-gui/res/cardsfolder/h/hands_of_binding.txt b/forge-gui/res/cardsfolder/h/hands_of_binding.txt index 55484f9b44a..7604c56a914 100644 --- a/forge-gui/res/cardsfolder/h/hands_of_binding.txt +++ b/forge-gui/res/cardsfolder/h/hands_of_binding.txt @@ -2,7 +2,7 @@ Name:Hands of Binding ManaCost:1 U Types:Sorcery K:Cipher -A:SP$ Tap | Cost$ 1 U | ValidTgts$ Creature.OppCtrl | SubAbility$ DBPump | References$ DBPump | SpellDescription$ Tap target creature an opponent controls. That creature doesn't untap during its controller's next untap step. +A:SP$ Tap | Cost$ 1 U | ValidTgts$ Creature.OppCtrl | SubAbility$ DBPump | SpellDescription$ Tap target creature an opponent controls. That creature doesn't untap during its controller's next untap step. SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ HIDDEN This card doesn't untap during your next untap step. | Permanent$ True | SubAbility$ Cipher SVar:Cipher:DB$ Encode | Defined$ Self DeckNeeds:Type$Creature diff --git a/forge-gui/res/cardsfolder/h/hangarback_walker.txt b/forge-gui/res/cardsfolder/h/hangarback_walker.txt index 37c94971a35..d8e4c34aeeb 100644 --- a/forge-gui/res/cardsfolder/h/hangarback_walker.txt +++ b/forge-gui/res/cardsfolder/h/hangarback_walker.txt @@ -4,7 +4,7 @@ Types:Artifact Creature Construct PT:0/0 K:etbCounter:P1P1:X T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigToken | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, create a 1/1 colorless Thopter artifact creature token with flying for each +1/+1 counter on CARDNAME. -SVar:TrigToken:DB$ Token | TokenAmount$ Y | References$ Y | TokenScript$ c_1_1_a_thopter_flying | TokenOwner$ You | LegacyImage$ c 1 1 a thopter flying ori +SVar:TrigToken:DB$ Token | TokenAmount$ Y | TokenScript$ c_1_1_a_thopter_flying | TokenOwner$ You | LegacyImage$ c 1 1 a thopter flying ori SVar:Y:TriggeredCard$CardCounters.P1P1 A:AB$ PutCounter | Cost$ 1 T | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on CARDNAME. SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/h/hankyu.txt b/forge-gui/res/cardsfolder/h/hankyu.txt index 1992637a59b..1ef6d0f7e97 100644 --- a/forge-gui/res/cardsfolder/h/hankyu.txt +++ b/forge-gui/res/cardsfolder/h/hankyu.txt @@ -4,7 +4,7 @@ Types:Artifact Equipment K:Equip:4 S:Mode$ Continuous | Affected$ Card.EquippedBy | AddAbility$ HankyuPutCounter & HankyuDmg | AddSVar$ HankyuX | Description$ Equipped creature has "{T}: Put an aim counter on CARDNAME" and "{T}, Remove all aim counters from CARDNAME: This creature deals damage to any target equal to the number of aim counters removed this way." SVar:HankyuPutCounter:AB$ PutCounter | Cost$ T | CounterType$ AIM | CounterNum$ 1 | Defined$ OriginalHost | SpellDescription$ Put an aim counter on ORIGINALHOST. -SVar:HankyuDmg:AB$ DealDamage | Cost$ T SubCounter | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ HankyuX | References$ HankyuX | SpellDescription$ CARDNAME deals damage to any target equal to the number of aim counters removed this way. +SVar:HankyuDmg:AB$ DealDamage | Cost$ T SubCounter | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ HankyuX | SpellDescription$ CARDNAME deals damage to any target equal to the number of aim counters removed this way. SVar:HankyuX:SVar$CostCountersRemoved AI:RemoveDeck:All SVar:NonStackingAttachEffect:True diff --git a/forge-gui/res/cardsfolder/h/hanweir_battlements_hanweir_the_writhing_township.txt b/forge-gui/res/cardsfolder/h/hanweir_battlements_hanweir_the_writhing_township.txt index 48a74981c0f..1a6acb2fae9 100644 --- a/forge-gui/res/cardsfolder/h/hanweir_battlements_hanweir_the_writhing_township.txt +++ b/forge-gui/res/cardsfolder/h/hanweir_battlements_hanweir_the_writhing_township.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. A:AB$ Pump | Cost$ R T | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ Haste | SpellDescription$ Target creature gains haste until end of turn. -A:AB$ Meld | Cost$ 3 R R T | ConditionPresent$ Card.Self+YouCtrl+YouOwn | ConditionCheckSVar$ X | References$ X | Name$ Hanweir, the Writhing Township | Primary$ Hanweir Battlements | Secondary$ Hanweir Garrison | SpellDescription$ If you both own and control CARDNAME and a creature named Hanweir Garrison, exile them, then meld them into Hanweir, the Writhing Township. +A:AB$ Meld | Cost$ 3 R R T | ConditionPresent$ Card.Self+YouCtrl+YouOwn | ConditionCheckSVar$ X | Name$ Hanweir, the Writhing Township | Primary$ Hanweir Battlements | Secondary$ Hanweir Garrison | SpellDescription$ If you both own and control CARDNAME and a creature named Hanweir Garrison, exile them, then meld them into Hanweir, the Writhing Township. SVar:X:Count$Valid Creature.YouCtrl+YouOwn+namedHanweir Garrison DeckHints:Name$Hanweir Garrison & Type$Eldrazi|Horror DeckHas:Ability$Mana.Colorless & Ability$Token diff --git a/forge-gui/res/cardsfolder/h/hanweir_militia_captain_westvale_cult_leader.txt b/forge-gui/res/cardsfolder/h/hanweir_militia_captain_westvale_cult_leader.txt index bebe7536ea0..95852dde3bf 100644 --- a/forge-gui/res/cardsfolder/h/hanweir_militia_captain_westvale_cult_leader.txt +++ b/forge-gui/res/cardsfolder/h/hanweir_militia_captain_westvale_cult_leader.txt @@ -15,7 +15,7 @@ ManaCost:no cost Colors:white Types:Creature Human Cleric PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your end step, create a 1/1 white and black Human Cleric creature token. SVar:TrigToken:DB$Token | TokenScript$ wb_1_1_human_cleric | LegacyImage$ wb 1 1 human cleric soi | TokenOwner$ You | TokenAmount$ 1 diff --git a/forge-gui/res/cardsfolder/h/happily_ever_after.txt b/forge-gui/res/cardsfolder/h/happily_ever_after.txt index 683fd942c34..e70ba93fb40 100644 --- a/forge-gui/res/cardsfolder/h/happily_ever_after.txt +++ b/forge-gui/res/cardsfolder/h/happily_ever_after.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, each player gains 5 life and draws a card. SVar:TrigGainLife:DB$ GainLife | Defined$ Player | LifeAmount$ 5 | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ 1 -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ Z | SVarCompare$ EQ11 | LifeTotal$ You | LifeAmount$ GEW | References$ X,Y,Z,W | Execute$ TrigWin | TriggerDescription$ At the beginning of your upkeep, if there are five colors among permanents you control, there are six or more card types among permanents you control and/or cards in your graveyard, and your life total is greater than or equal to your starting life total, you win the game. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ Z | SVarCompare$ EQ11 | LifeTotal$ You | LifeAmount$ GEW | Execute$ TrigWin | TriggerDescription$ At the beginning of your upkeep, if there are five colors among permanents you control, there are six or more card types among permanents you control and/or cards in your graveyard, and your life total is greater than or equal to your starting life total, you win the game. SVar:TrigWin:DB$ WinsGame | Defined$ You SVar:X:Count$ColorsCtrl Permanent/LimitMax.5 SVar:Y:Count$CardControllerTypes.Battlefield,Graveyard/LimitMax.6 diff --git a/forge-gui/res/cardsfolder/h/harabaz_druid.txt b/forge-gui/res/cardsfolder/h/harabaz_druid.txt index cd8940b8b54..5f570ec7d30 100644 --- a/forge-gui/res/cardsfolder/h/harabaz_druid.txt +++ b/forge-gui/res/cardsfolder/h/harabaz_druid.txt @@ -2,7 +2,7 @@ Name:Harabaz Druid ManaCost:1 G Types:Creature Human Druid Ally PT:0/1 -A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ X | References$ X | SpellDescription$ Add X mana of any one color, where X is the number of Allies you control. +A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ X | SpellDescription$ Add X mana of any one color, where X is the number of Allies you control. SVar:X:Count$Valid Ally.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/harabaz_druid.jpg Oracle:{T}: Add X mana of any one color, where X is the number of Allies you control. diff --git a/forge-gui/res/cardsfolder/h/hardened_scales.txt b/forge-gui/res/cardsfolder/h/hardened_scales.txt index b120129db71..b4e3fdecf2f 100644 --- a/forge-gui/res/cardsfolder/h/hardened_scales.txt +++ b/forge-gui/res/cardsfolder/h/hardened_scales.txt @@ -2,7 +2,7 @@ Name:Hardened Scales ManaCost:G Types:Enchantment R:Event$ AddCounter | ActiveZones$ Battlefield | ValidCard$ Creature.YouCtrl | ValidCounterType$ P1P1 | ReplaceWith$ AddOneMoreCounters | Description$ If one or more +1/+1 counters would be put on a creature you control, that many plus one +1/+1 counters are put on it instead. -SVar:AddOneMoreCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X | References$ X +SVar:AddOneMoreCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X SVar:X:ReplaceCount$CounterNum/Plus.1 AI:RemoveDeck:Random DeckNeeds:Ability$Counters diff --git a/forge-gui/res/cardsfolder/h/harmony_of_nature.txt b/forge-gui/res/cardsfolder/h/harmony_of_nature.txt index a992c401ae4..e0c0ac0838b 100644 --- a/forge-gui/res/cardsfolder/h/harmony_of_nature.txt +++ b/forge-gui/res/cardsfolder/h/harmony_of_nature.txt @@ -1,9 +1,9 @@ Name:Harmony of Nature ManaCost:2 G Types:Sorcery -A:SP$ ChooseCard | Cost$ 2 G | Defined$ You | MinAmount$ 0 | Amount$ X | References$ X | Choices$ Creature.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigTap | SpellDescription$ Tap any number of untapped creatures you control. You gain 4 life for each creature tapped this way. +A:SP$ ChooseCard | Cost$ 2 G | Defined$ You | MinAmount$ 0 | Amount$ X | Choices$ Creature.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigTap | SpellDescription$ Tap any number of untapped creatures you control. You gain 4 life for each creature tapped this way. SVar:TrigTap:DB$ Tap | Defined$ Remembered | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | LifeAmount$ Z | SubAbility$ DBCleanup | References$ Y,Z +SVar:DBGainLife:DB$ GainLife | LifeAmount$ Z | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Creature.YouCtrl SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/h/harness_by_force.txt b/forge-gui/res/cardsfolder/h/harness_by_force.txt index ee9c447e727..34f9f56824d 100644 --- a/forge-gui/res/cardsfolder/h/harness_by_force.txt +++ b/forge-gui/res/cardsfolder/h/harness_by_force.txt @@ -2,7 +2,7 @@ Name:Harness by Force ManaCost:1 R R Types:Sorcery K:Strive:2 R -A:SP$ GainControl | Cost$ 1 R R | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SpellDescription$ Gain control of any number of target creatures until end of turn. Untap those creatures. They gain haste until end of turn. +A:SP$ GainControl | Cost$ 1 R R | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxTargets | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SpellDescription$ Gain control of any number of target creatures until end of turn. Untap those creatures. They gain haste until end of turn. SVar:MaxTargets:Count$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/harness_by_force.jpg Oracle:Strive — This spell costs {2}{R} more to cast for each target beyond the first.\nGain control of any number of target creatures until end of turn. Untap those creatures. They gain haste until end of turn. diff --git a/forge-gui/res/cardsfolder/h/harnessed_lightning.txt b/forge-gui/res/cardsfolder/h/harnessed_lightning.txt index 846991854e9..712b28a8b38 100644 --- a/forge-gui/res/cardsfolder/h/harnessed_lightning.txt +++ b/forge-gui/res/cardsfolder/h/harnessed_lightning.txt @@ -2,8 +2,8 @@ Name:Harnessed Lightning ManaCost:1 R Types:Instant A:SP$ PutCounter | Cost$ 1 R | Defined$ You | AILogic$ PayEnergy | CounterType$ ENERGY | CounterNum$ 3 | SubAbility$ DBChooseNumber | SpellDescription$ Choose target creature. You get {E}{E}{E} (three energy counters), then you may pay any amount of {E}. Harnessed Lightning deals that much damage to that creature. -SVar:DBChooseNumber:DB$ ChooseNumber | Max$ Max | ListTitle$ Pay Energy for Damage | References$ Max | SubAbility$ DBDealDamage -SVar:DBDealDamage:DB$ DealDamage | References$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | UnlessCost$ PayEnergy | UnlessPayer$ You | UnlessSwitched$ True | StackDescription$ CARDNAME deals that much damage to that creature. +SVar:DBChooseNumber:DB$ ChooseNumber | Max$ Max | ListTitle$ Pay Energy for Damage | SubAbility$ DBDealDamage +SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | UnlessCost$ PayEnergy | UnlessPayer$ You | UnlessSwitched$ True | StackDescription$ CARDNAME deals that much damage to that creature. SVar:Max:Count$YourCountersEnergy SVar:X:Count$ChosenNumber SVar:Picture:http://www.wizards.com/global/images/magic/general/harnessed_lightning.jpg diff --git a/forge-gui/res/cardsfolder/h/harpoon_sniper.txt b/forge-gui/res/cardsfolder/h/harpoon_sniper.txt index dc9a7e48da2..6bbcd017139 100644 --- a/forge-gui/res/cardsfolder/h/harpoon_sniper.txt +++ b/forge-gui/res/cardsfolder/h/harpoon_sniper.txt @@ -2,7 +2,7 @@ Name:Harpoon Sniper ManaCost:2 W Types:Creature Merfolk Archer PT:2/2 -A:AB$ DealDamage | Cost$ W T | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target attacking or blocking creature, where X is the number of Merfolk you control. +A:AB$ DealDamage | Cost$ W T | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target attacking or blocking creature, where X is the number of Merfolk you control. SVar:X:Count$TypeYouCtrl.Merfolk SVar:Picture:http://www.wizards.com/global/images/magic/general/harpoon_sniper.jpg Oracle:{W}, {T}: Harpoon Sniper deals X damage to target attacking or blocking creature, where X is the number of Merfolk you control. diff --git a/forge-gui/res/cardsfolder/h/harsh_justice.txt b/forge-gui/res/cardsfolder/h/harsh_justice.txt index 043c22ca277..e9577b4468a 100644 --- a/forge-gui/res/cardsfolder/h/harsh_justice.txt +++ b/forge-gui/res/cardsfolder/h/harsh_justice.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Instant A:SP$ Effect | Cost$ 2 W | Name$ Harsh Justice Effect | Triggers$ TrigDamage | SVars$ TrigDealDamage,X | AILogic$ Fog | OpponentTurn$ True | ActivationPhases$ Declare Attackers | SpellDescription$ Cast this spell only during the declare attackers step and only if you've been attacked this step. This turn, whenever an attacking creature deals combat damage to you, it deals that much damage to its controller. SVar:TrigDamage:Mode$ DamageDone | ValidSource$ Creature.attacking | ValidTarget$ You | Execute$ TrigDealDamage | CombatDamage$ True | TriggerDescription$ This turn, whenever an attacking creature deals combat damage to you, it deals that much damage to its controller. -SVar:TrigDealDamage:DB$ DealDamage | Defined$ TriggeredSourceController | NumDmg$ X | DamageSource$ TriggeredSource | References$ X +SVar:TrigDealDamage:DB$ DealDamage | Defined$ TriggeredSourceController | NumDmg$ X | DamageSource$ TriggeredSource SVar:X:TriggerCount$DamageAmount AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/harsh_justice.jpg diff --git a/forge-gui/res/cardsfolder/h/harsh_sustenance.txt b/forge-gui/res/cardsfolder/h/harsh_sustenance.txt index 295f77778b1..6605dfb2065 100644 --- a/forge-gui/res/cardsfolder/h/harsh_sustenance.txt +++ b/forge-gui/res/cardsfolder/h/harsh_sustenance.txt @@ -1,8 +1,8 @@ Name:Harsh Sustenance ManaCost:1 W B Types:Instant -A:SP$ DealDamage | Cost$ 1 W B | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to any target and you gain X life, where X is the number of creatures you control. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +A:SP$ DealDamage | Cost$ 1 W B | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to any target and you gain X life, where X is the number of creatures you control. +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/harsh_sustenance.jpg Oracle:Harsh Sustenance deals X damage to any target and you gain X life, where X is the number of creatures you control. diff --git a/forge-gui/res/cardsfolder/h/harvest_mage.txt b/forge-gui/res/cardsfolder/h/harvest_mage.txt index 883dd8ebf4f..0a5d4a0793c 100644 --- a/forge-gui/res/cardsfolder/h/harvest_mage.txt +++ b/forge-gui/res/cardsfolder/h/harvest_mage.txt @@ -2,7 +2,7 @@ Name:Harvest Mage ManaCost:G Types:Creature Human Spellshaper PT:1/1 -A:AB$ Effect | Cost$ G T Discard<1/Card> | ReplacementEffects$ HarvestReplacement | SVars$ HarvestProduce | References$ HarvestReplacement,HarvestProduce | AILogic$ Never | Stackable$ False | SpellDescription$ Until end of turn, if you tap a land for mana, it produces one mana of a color of your choice instead of any other type and amount. +A:AB$ Effect | Cost$ G T Discard<1/Card> | ReplacementEffects$ HarvestReplacement | SVars$ HarvestProduce | AILogic$ Never | Stackable$ False | SpellDescription$ Until end of turn, if you tap a land for mana, it produces one mana of a color of your choice instead of any other type and amount. SVar:HarvestReplacement:Event$ ProduceMana | ActiveZones$ Command | ValidPlayer$ You | ValidCard$ Land | ValidAbility$ Activated.hasTapCost | ReplaceWith$ HarvestProduce | Description$ If you tap a land for mana, it produces one mana of a color of your choice instead of any other type and amount. SVar:HarvestProduce:DB$ ReplaceMana | ReplaceMana$ Any AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/h/harvest_pyre.txt b/forge-gui/res/cardsfolder/h/harvest_pyre.txt index 34115a50725..65d5119b6f6 100644 --- a/forge-gui/res/cardsfolder/h/harvest_pyre.txt +++ b/forge-gui/res/cardsfolder/h/harvest_pyre.txt @@ -1,7 +1,7 @@ Name:Harvest Pyre ManaCost:1 R Types:Instant -A:SP$ DealDamage | Cost$ 1 R ExileFromGrave | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature. +A:SP$ DealDamage | Cost$ 1 R ExileFromGrave | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, exile X cards from your graveyard.\nHarvest Pyre deals X damage to target creature. diff --git a/forge-gui/res/cardsfolder/h/harvest_season.txt b/forge-gui/res/cardsfolder/h/harvest_season.txt index 0a660f79ca5..ba0e53079d6 100644 --- a/forge-gui/res/cardsfolder/h/harvest_season.txt +++ b/forge-gui/res/cardsfolder/h/harvest_season.txt @@ -1,7 +1,7 @@ Name:Harvest Season ManaCost:2 G Types:Sorcery -A:SP$ ChangeZone | Cost$ 2 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ X | References$ X | Tapped$ True | SpellDescription$ Search your library for up to X basic land cards, where X is the number of tapped creatures you control, and put those cards onto the battlefield tapped. Then shuffle your library. +A:SP$ ChangeZone | Cost$ 2 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ X | Tapped$ True | SpellDescription$ Search your library for up to X basic land cards, where X is the number of tapped creatures you control, and put those cards onto the battlefield tapped. Then shuffle your library. SVar:X:Count$Valid Creature.tapped+YouCtrl SVar:NeedsToPlay:Creature.tapped+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/harvest_season.jpg diff --git a/forge-gui/res/cardsfolder/h/harvest_wurm.txt b/forge-gui/res/cardsfolder/h/harvest_wurm.txt index cb02d83b888..7b726da3e30 100644 --- a/forge-gui/res/cardsfolder/h/harvest_wurm.txt +++ b/forge-gui/res/cardsfolder/h/harvest_wurm.txt @@ -4,7 +4,7 @@ Types:Creature Wurm PT:3/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you return a basic land card from your graveyard to your hand. SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Hidden$ True | ChangeType$ Land.Basic+YouOwn | RememberChanged$ True | SubAbility$ DBSac -SVar:DBSac:DB$ Sacrifice | Defined$ Self | SubAbility$ DBCleanup | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | References$ X +SVar:DBSac:DB$ Sacrifice | Defined$ Self | SubAbility$ DBCleanup | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:NeedsToPlayVar:Y GE1 diff --git a/forge-gui/res/cardsfolder/h/hatchery_spider.txt b/forge-gui/res/cardsfolder/h/hatchery_spider.txt index 5776e901e48..e11b357ad78 100644 --- a/forge-gui/res/cardsfolder/h/hatchery_spider.txt +++ b/forge-gui/res/cardsfolder/h/hatchery_spider.txt @@ -4,6 +4,6 @@ Types:Creature Spider PT:5/7 K:Reach T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigDig | TriggerDescription$ Undergrowth - When you cast this spell, reveal the top X cards of your library, where X is the number of creature cards in your graveyard. You may put a green permanent card with converted mana cost X or less from among them onto the battlefield. Put the rest on the bottom of your library in a random order. -SVar:TrigDig:DB$ Dig | DigNum$ X | Reveal$ True | References$ X | ChangeNum$ 1 | ChangeValid$ Permanent.Green+cmcLEX | DestinationZone$ Battlefield | AILogic$ AtOppEndOfTurn | Optional$ True | RestRandomOrder$ True +SVar:TrigDig:DB$ Dig | DigNum$ X | Reveal$ True | ChangeNum$ 1 | ChangeValid$ Permanent.Green+cmcLEX | DestinationZone$ Battlefield | AILogic$ AtOppEndOfTurn | Optional$ True | RestRandomOrder$ True SVar:X:Count$TypeInYourYard.Creature Oracle:Reach\nUndergrowth — When you cast this spell, reveal the top X cards of your library, where X is the number of creature cards in your graveyard. You may put a green permanent card with converted mana cost X or less from among them onto the battlefield. Put the rest on the bottom of your library in a random order. diff --git a/forge-gui/res/cardsfolder/h/hateflayer.txt b/forge-gui/res/cardsfolder/h/hateflayer.txt index f8b1b807236..36245d419bb 100644 --- a/forge-gui/res/cardsfolder/h/hateflayer.txt +++ b/forge-gui/res/cardsfolder/h/hateflayer.txt @@ -3,7 +3,7 @@ ManaCost:5 R R Types:Creature Elemental PT:5/5 K:Wither -A:AB$ DealDamage | Cost$ 2 R Untap | ValidTgts$ Creature,Player | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to its power to any target. +A:AB$ DealDamage | Cost$ 2 R Untap | ValidTgts$ Creature,Player | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to its power to any target. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/hateflayer.jpg Oracle:Wither (This deals damage to creatures in the form of -1/-1 counters.)\n{2}{R}, {Q}: Hateflayer deals damage equal to its power to any target. ({Q} is the untap symbol.) diff --git a/forge-gui/res/cardsfolder/h/hateful_eidolon.txt b/forge-gui/res/cardsfolder/h/hateful_eidolon.txt index 6ccea84413c..19f8dfc8963 100644 --- a/forge-gui/res/cardsfolder/h/hateful_eidolon.txt +++ b/forge-gui/res/cardsfolder/h/hateful_eidolon.txt @@ -4,7 +4,7 @@ Types:Enchantment Creature Spirit PT:1/2 K:Lifelink T:Mode$ ChangesZone | ValidCard$ Creature.enchanted | Origin$ Battlefield | Destination$ Graveyard | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Whenever an enchanted creature dies, draw a card for each Aura you controlled that was attached to it. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:Count$AttachedTo TriggeredCardLKICopy Aura.YouCtrl SVar:EnchantMe:Multiple Oracle:Lifelink\nWhenever an enchanted creature dies, draw a card for each Aura you controlled that was attached to it. diff --git a/forge-gui/res/cardsfolder/h/hatred.txt b/forge-gui/res/cardsfolder/h/hatred.txt index fc8792ac9ff..c0d59c6101b 100644 --- a/forge-gui/res/cardsfolder/h/hatred.txt +++ b/forge-gui/res/cardsfolder/h/hatred.txt @@ -1,7 +1,7 @@ Name:Hatred ManaCost:3 B B Types:Instant -A:SP$ Pump | Cost$ 3 B B PayLife | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | References$ X | SpellDescription$ Target creature gets +X/+0 until end of turn. +A:SP$ Pump | Cost$ 3 B B PayLife | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | SpellDescription$ Target creature gets +X/+0 until end of turn. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, pay X life.\nTarget creature gets +X/+0 until end of turn. diff --git a/forge-gui/res/cardsfolder/h/haunting_hymn.txt b/forge-gui/res/cardsfolder/h/haunting_hymn.txt index bbfe2f51c2b..1f77a089121 100644 --- a/forge-gui/res/cardsfolder/h/haunting_hymn.txt +++ b/forge-gui/res/cardsfolder/h/haunting_hymn.txt @@ -1,7 +1,7 @@ Name:Haunting Hymn ManaCost:4 B B Types:Instant -A:SP$ Discard | Cost$ 4 B B | ValidTgts$ Player | NumCards$ X | Mode$ TgtChoose | References$ X | SpellDescription$ Target player discards two cards. If you cast this spell during your main phase, that player discards four cards instead. +A:SP$ Discard | Cost$ 4 B B | ValidTgts$ Player | NumCards$ X | Mode$ TgtChoose | SpellDescription$ Target player discards two cards. If you cast this spell during your main phase, that player discards four cards instead. SVar:X:Count$IfCastInOwnMainPhase.4.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/haunting_hymn.jpg Oracle:Target player discards two cards. If you cast this spell during your main phase, that player discards four cards instead. diff --git a/forge-gui/res/cardsfolder/h/haunting_misery.txt b/forge-gui/res/cardsfolder/h/haunting_misery.txt index df74e0d55cc..993383860ab 100644 --- a/forge-gui/res/cardsfolder/h/haunting_misery.txt +++ b/forge-gui/res/cardsfolder/h/haunting_misery.txt @@ -1,7 +1,7 @@ Name:Haunting Misery ManaCost:1 B B Types:Sorcery -A:SP$ DealDamage | Cost$ 1 B B ExileFromGrave | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target player or planeswalker. +A:SP$ DealDamage | Cost$ 1 B B ExileFromGrave | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target player or planeswalker. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, exile X creature cards from your graveyard.\nHaunting Misery deals X damage to target player or planeswalker. diff --git a/forge-gui/res/cardsfolder/h/haunting_voyage.txt b/forge-gui/res/cardsfolder/h/haunting_voyage.txt index d03273eba44..93bc749dfd0 100644 --- a/forge-gui/res/cardsfolder/h/haunting_voyage.txt +++ b/forge-gui/res/cardsfolder/h/haunting_voyage.txt @@ -2,7 +2,7 @@ Name:Haunting Voyage ManaCost:4 B B Types:Sorcery A:SP$ ChooseType | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerGraveyard | SubAbility$ DBBranch | SpellDescription$ Choose a creature type. Return up to two creature cards of that type from your graveyard to the battlefield. If this spell was foretold, return all creature cards of that type from your graveyard to the battlefield instead. -SVar:DBBranch:DB$ Branch | BranchConditionSVar$ X | References$ X | BranchConditionSVarCompare$ GE1 | TrueSubAbility$ ReturnAll | FalseSubAbility$ ReturnUpToTwo | StackDescription$ None +SVar:DBBranch:DB$ Branch | BranchConditionSVar$ X | BranchConditionSVarCompare$ GE1 | TrueSubAbility$ ReturnAll | FalseSubAbility$ ReturnUpToTwo | StackDescription$ None SVar:ReturnUpToTwo:DB$ ChangeZone | ChangeType$ Creature.ChosenType+YouOwn | Origin$ Graveyard | Destination$ Battlefield | ChangeNum$ 2 | Hidden$ True SVar:ReturnAll:DB$ ChangeZoneAll | ChangeType$ Creature.ChosenType+YouOwn | Origin$ Graveyard | Destination$ Battlefield SVar:X:Count$Foretold.1.0 diff --git a/forge-gui/res/cardsfolder/h/hazduhr_the_abbot.txt b/forge-gui/res/cardsfolder/h/hazduhr_the_abbot.txt index 0915a90f5c7..41c0e928880 100644 --- a/forge-gui/res/cardsfolder/h/hazduhr_the_abbot.txt +++ b/forge-gui/res/cardsfolder/h/hazduhr_the_abbot.txt @@ -4,9 +4,9 @@ Types:Legendary Creature Human Cleric PT:2/5 A:AB$ ChooseCard | Cost$ T X | ValidTgts$ Creature.White+YouCtrl | TgtPrompt$ Select target white creature you control | Mandatory$ True | Defined$ You | RememberChosen$ True | SubAbility$ DBSetVarBefore | SpellDescription$ The next X damage that would be dealt this turn to target white creature you control is dealt to CARDNAME instead. | StackDescription$ SpellDescription SVar:DBSetVarBefore:DB$ StoreSVar | SVar$ Y | Type$ CountSVar | Expression$ X | SubAbility$ DBEffect -SVar:DBEffect:DB$ Effect | ReplacementEffects$ HazduhrDamage | Triggers$ OutOfSight | SVars$ HazduhrDamage,HazduhrDmg,ExileEffect,OutOfSight,Y | References$ HazduhrDamage,OutOfSight,HazduhrDmg,ExileEffect,Y | RememberObjects$ Targeted | ImprintCards$ Self | SubAbility$ DBCleanup -SVar:HazduhrDamage:Event$ DamageDone | ValidTarget$ Card.IsRemembered | ReplaceWith$ HazduhrDmg | DamageTarget$ Imprinted | References$ Y | Description$ The next X damage that would be dealt this turn to target white creature you control is dealt to EFFECTSOURCE instead. -SVar:HazduhrDmg:DB$ ReplaceSplitDamage | DamageTarget$ Imprinted | VarName$ Y | References$ Y +SVar:DBEffect:DB$ Effect | ReplacementEffects$ HazduhrDamage | Triggers$ OutOfSight | SVars$ HazduhrDamage,HazduhrDmg,ExileEffect,OutOfSight,Y | RememberObjects$ Targeted | ImprintCards$ Self | SubAbility$ DBCleanup +SVar:HazduhrDamage:Event$ DamageDone | ValidTarget$ Card.IsRemembered | ReplaceWith$ HazduhrDmg | DamageTarget$ Imprinted | Description$ The next X damage that would be dealt this turn to target white creature you control is dealt to EFFECTSOURCE instead. +SVar:HazduhrDmg:DB$ ReplaceSplitDamage | DamageTarget$ Imprinted | VarName$ Y SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsImprinted,Card.IsRemembered | Execute$ ExileEffect | Static$ True SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True diff --git a/forge-gui/res/cardsfolder/h/hazezon_tamar.txt b/forge-gui/res/cardsfolder/h/hazezon_tamar.txt index ba10de6003e..88adc407347 100644 --- a/forge-gui/res/cardsfolder/h/hazezon_tamar.txt +++ b/forge-gui/res/cardsfolder/h/hazezon_tamar.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Warrior PT:2/4 T:Mode$ ChangesZone | ValidCard$ Creature.Self | Origin$ Any | Destination$ Battlefield | Execute$ DelTrig | TriggerDescription$ When CARDNAME enters the battlefield, create X 1/1 Sand Warrior creature tokens that are red, green, and white at the beginning of your next upkeep, where X is the number of lands you control at that time. SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigTokens | TriggerDescription$ Create X 1/1 Sand Warrior creature tokens that are red, green, and white, where X is the number of lands you control. -SVar:TrigTokens:DB$ Token | TokenAmount$ X | TokenScript$ rgw_1_1_sand_warrior | TokenOwner$ You | References$ X +SVar:TrigTokens:DB$ Token | TokenAmount$ X | TokenScript$ rgw_1_1_sand_warrior | TokenOwner$ You T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Any | Execute$ TrigExile | TriggerDescription$ When CARDNAME leaves the battlefield, exile all Sand Warriors. #NICKNAME upgrade SVar:TrigExile:DB$ ChangeZoneAll | Origin$ Battlefield | Destination$ Exile | ChangeType$ Sand.Warrior diff --git a/forge-gui/res/cardsfolder/h/head_games.txt b/forge-gui/res/cardsfolder/h/head_games.txt index b1c1ddbc12c..f695b75bc17 100644 --- a/forge-gui/res/cardsfolder/h/head_games.txt +++ b/forge-gui/res/cardsfolder/h/head_games.txt @@ -2,7 +2,7 @@ Name:Head Games ManaCost:3 B B Types:Sorcery A:SP$ ChangeZoneAll | Cost$ 3 B B | ValidTgts$ Opponent | Origin$ Hand | Destination$ Library | ChangeType$ Card | RememberChanged$ True | IsCurse$ True | SubAbility$ HeadChange | SpellDescription$ Target opponent puts the cards from their hand on top of their library. Search that player's library for that many cards. The player puts those cards into their hand, then shuffles their library. -SVar:HeadChange:DB$ ChangeZone | DefinedPlayer$ Targeted | Origin$ Library | Destination$ Hand | ChangeNum$ X | ChangeType$ Card | Chooser$ You | SubAbility$ DBCleanup | References$ X +SVar:HeadChange:DB$ ChangeZone | DefinedPlayer$ Targeted | Origin$ Library | Destination$ Hand | ChangeNum$ X | ChangeType$ Card | Chooser$ You | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/h/heal_the_scars.txt b/forge-gui/res/cardsfolder/h/heal_the_scars.txt index 4a5e16309fa..cb56ac2b710 100644 --- a/forge-gui/res/cardsfolder/h/heal_the_scars.txt +++ b/forge-gui/res/cardsfolder/h/heal_the_scars.txt @@ -2,7 +2,7 @@ Name:Heal the Scars ManaCost:3 G Types:Instant A:SP$ Regenerate | Cost$ 3 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBGainLife | SpellDescription$ Regenerate target creature. You gain life equal to that creature's toughness. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Targeted$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/heal_the_scars.jpg Oracle:Regenerate target creature. You gain life equal to that creature's toughness. diff --git a/forge-gui/res/cardsfolder/h/healing_grace.txt b/forge-gui/res/cardsfolder/h/healing_grace.txt index 889ee524509..2b14356ce26 100644 --- a/forge-gui/res/cardsfolder/h/healing_grace.txt +++ b/forge-gui/res/cardsfolder/h/healing_grace.txt @@ -2,9 +2,9 @@ Name:Healing Grace ManaCost:W Types:Instant A:SP$ ChooseSource | Cost$ W | Choices$ Card,Emblem | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ Prevent the next 3 damage that would be dealt to any target this turn by a source of your choice. You gain 3 life. -SVar:DBEffect:DB$ Effect | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to prevent damage to | ReplacementEffects$ GraceDamage | SVars$ GraceDmg,X | References$ GraceDamage,GraceDmg,X | ForgetOnMoved$ Battlefield | RememberObjects$ Targeted | SubAbility$ DBGainLife +SVar:DBEffect:DB$ Effect | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to prevent damage to | ReplacementEffects$ GraceDamage | SVars$ GraceDmg,X | ForgetOnMoved$ Battlefield | RememberObjects$ Targeted | SubAbility$ DBGainLife SVar:GraceDamage:Event$ DamageDone | ValidTarget$ Creature.IsRemembered,Player.IsRemembered | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ GraceDmg | PreventionEffect$ True | Description$ Prevent the next 3 damage that would be dealt to any target this turn by a source of your choice. -SVar:GraceDmg:DB$ ReplaceDamage | VarName$ X | References$ X +SVar:GraceDmg:DB$ ReplaceDamage | VarName$ X SVar:DBGainLife:DB$ GainLife | LifeAmount$ 3 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True SVar:X:Number$3 diff --git a/forge-gui/res/cardsfolder/h/heart_of_bogardan.txt b/forge-gui/res/cardsfolder/h/heart_of_bogardan.txt index 1c0fa539305..33a5c589863 100644 --- a/forge-gui/res/cardsfolder/h/heart_of_bogardan.txt +++ b/forge-gui/res/cardsfolder/h/heart_of_bogardan.txt @@ -3,8 +3,8 @@ ManaCost:2 R R Types:Enchantment K:Cumulative upkeep:2 T:Mode$ PayCumulativeUpkeep | ValidCard$ Card.Self | Paid$ False | Execute$ TrigDmg | TriggerDescription$ When a player doesn't pay CARDNAME's cumulative upkeep, CARDNAME deals X damage to target player or planeswalker and each creature that player or that planeswalker's controller controls, where X is twice the number of age counters on CARDNAME minus 2. -SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select a player or planeswalker | NumDmg$ Y | References$ X,Y | SubAbility$ DmgAll | DamageMap$ True | SpellDescription$ CARDNAME deals X damage to target player or planeswalker and each creature that player or planeswalker's controller controls. -SVar:DmgAll:DB$ DamageAll | NumDmg$ Y | References$ X,Y | ValidCards$ Creature.ControlledBy TargetedOrController | SubAbility$ DBDamageResolve +SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select a player or planeswalker | NumDmg$ Y,Y | SubAbility$ DmgAll | DamageMap$ True | SpellDescription$ CARDNAME deals X damage to target player or planeswalker and each creature that player or planeswalker's controller controls. +SVar:DmgAll:DB$ DamageAll | NumDmg$ Y,Y | ValidCards$ Creature.ControlledBy TargetedOrController | SubAbility$ DBDamageResolve SVar:DBDamageResolve:DB$ DamageResolve SVar:X:TriggeredCard$CardCounters.AGE/Twice SVar:Y:SVar$X/Minus.2 diff --git a/forge-gui/res/cardsfolder/h/heart_piercer_manticore.txt b/forge-gui/res/cardsfolder/h/heart_piercer_manticore.txt index 859eb0ef414..ac01281e7f9 100644 --- a/forge-gui/res/cardsfolder/h/heart_piercer_manticore.txt +++ b/forge-gui/res/cardsfolder/h/heart_piercer_manticore.txt @@ -4,7 +4,7 @@ Types:Creature Manticore PT:4/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ DBTrigger | TriggerDescription$ When CARDNAME enters the battlefield, you may sacrifice another creature. When you do, CARDNAME deals damage equal to that creature's power to target creature or player. SVar:DBTrigger:AB$ ImmediateTrigger | Cost$ Sac<1/Creature.Other/another creature> | Execute$ TrigDamage | AILogic$ SacForDamage | RememberObjects$ Sacrificed | TriggerDescription$ When you do, CARDNAME deals damage equal to that creature's power to any target. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ XPower | References$ XPower +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ XPower K:Embalm:5 R SVar:XPower:TriggerRemembered$CardPower SVar:AIPreferenceParams:CreatureEvalThreshold$ 200 diff --git a/forge-gui/res/cardsfolder/h/heart_wolf.txt b/forge-gui/res/cardsfolder/h/heart_wolf.txt index 30dc158173e..d557ab86c1a 100644 --- a/forge-gui/res/cardsfolder/h/heart_wolf.txt +++ b/forge-gui/res/cardsfolder/h/heart_wolf.txt @@ -4,7 +4,7 @@ Types:Creature Wolf PT:2/2 K:First Strike A:AB$ Pump | Cost$ T | NumAtt$ +2 | KW$ First Strike | ValidTgts$ Creature.Dwarf | TgtPrompt$ Select target dwarf creature | ActivationPhases$ BeginCombat->EndCombat | SubAbility$ EliteGuardEffect | SpellDescription$ Target Dwarf creature gets +2/+0 and gains first strike until end of turn. When that creature leaves the battlefield this turn, sacrifice CARDNAME. Activate this ability only during combat. -SVar:EliteGuardEffect:DB$ Effect | Name$ Heart Wolf Effect | Triggers$ LostTheGuarded | SVars$ ExileEffect,EliteDefence | References$ LostTheGuarded,ExileEffect,EliteDefence | RememberObjects$ Targeted | ImprintCards$ Self +SVar:EliteGuardEffect:DB$ Effect | Name$ Heart Wolf Effect | Triggers$ LostTheGuarded | SVars$ ExileEffect,EliteDefence | RememberObjects$ Targeted | ImprintCards$ Self SVar:LostTheGuarded:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Battlefield | Destination$ Any | Execute$ EliteDefence | TriggerDescription$ When the targeted creature leaves the battlefield this turn, sacrifice Heart Wolf. SVar:EliteDefence:DB$ SacrificeAll | Defined$ Imprinted | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/h/heartfire_immolator.txt b/forge-gui/res/cardsfolder/h/heartfire_immolator.txt index 840a17b8501..82bc9b85f66 100644 --- a/forge-gui/res/cardsfolder/h/heartfire_immolator.txt +++ b/forge-gui/res/cardsfolder/h/heartfire_immolator.txt @@ -3,6 +3,6 @@ ManaCost:1 R Types:Creature Human Wizard PT:2/2 K:Prowess -A:AB$ DealDamage | Cost$ R Sac<1/CARDNAME> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to its power to target creature or planeswalker. +A:AB$ DealDamage | Cost$ R Sac<1/CARDNAME> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to its power to target creature or planeswalker. SVar:X:Count$CardPower Oracle:Prowess (Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.)\n{R}, Sacrifice Heartfire Immolator: It deals damage equal to its power to target creature or planeswalker. diff --git a/forge-gui/res/cardsfolder/h/hearth_kami.txt b/forge-gui/res/cardsfolder/h/hearth_kami.txt index 6ef7107b912..d9ee99a2804 100644 --- a/forge-gui/res/cardsfolder/h/hearth_kami.txt +++ b/forge-gui/res/cardsfolder/h/hearth_kami.txt @@ -2,6 +2,6 @@ Name:Hearth Kami ManaCost:1 R Types:Creature Spirit PT:2/1 -A:AB$ Destroy | Cost$ X Sac<1/CARDNAME> | ValidTgts$ Artifact.cmcEQX | TgtPrompt$ Select target artifact | References$ X | SpellDescription$ Destroy target artifact with converted mana cost X. +A:AB$ Destroy | Cost$ X Sac<1/CARDNAME> | ValidTgts$ Artifact.cmcEQX | TgtPrompt$ Select target artifact | SpellDescription$ Destroy target artifact with converted mana cost X. SVar:X:Count$xPaid Oracle:{X}, Sacrifice Hearth Kami: Destroy target artifact with converted mana cost X. diff --git a/forge-gui/res/cardsfolder/h/heartlash_cinder.txt b/forge-gui/res/cardsfolder/h/heartlash_cinder.txt index a2688ec51c7..53c947f7299 100644 --- a/forge-gui/res/cardsfolder/h/heartlash_cinder.txt +++ b/forge-gui/res/cardsfolder/h/heartlash_cinder.txt @@ -4,7 +4,7 @@ Types:Creature Elemental Warrior PT:1/1 K:Haste T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Chroma — When CARDNAME enters the battlefield, it gets +X/+0 until end of turn, where X is the number of red mana symbols in the mana costs of permanents you control. -SVar:TrigPump:DB$ Pump | NumAtt$ X | Defined$ Self | References$ X +SVar:TrigPump:DB$ Pump | NumAtt$ X | Defined$ Self SVar:X:Count$Chroma.Red SVar:Picture:http://www.wizards.com/global/images/magic/general/heartlash_cinder.jpg Oracle:Haste\nChroma — When Heartlash Cinder enters the battlefield, it gets +X/+0 until end of turn, where X is the number of red mana symbols in the mana costs of permanents you control. diff --git a/forge-gui/res/cardsfolder/h/heartless_hidetsugu.txt b/forge-gui/res/cardsfolder/h/heartless_hidetsugu.txt index 03ae2c5fa9d..3ec7d6f9c16 100644 --- a/forge-gui/res/cardsfolder/h/heartless_hidetsugu.txt +++ b/forge-gui/res/cardsfolder/h/heartless_hidetsugu.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Legendary Creature Ogre Shaman PT:4/3 A:AB$ RepeatEach | Cost$ T | RepeatPlayers$ Player | RepeatSubAbility$ DBDealDamage | DamageMap$ True | SpellDescription$ CARDNAME deals damage to each player equal to half that player's life total, rounded down. -SVar:DBDealDamage:DB$ DealDamage | Defined$ Remembered | NumDmg$ HeartlessX | References$ HeartlessX +SVar:DBDealDamage:DB$ DealDamage | Defined$ Remembered | NumDmg$ HeartlessX SVar:HeartlessX:PlayerCountRemembered$LifeTotal/HalfDown AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/heartless_hidetsugu.jpg diff --git a/forge-gui/res/cardsfolder/h/heartless_pillage.txt b/forge-gui/res/cardsfolder/h/heartless_pillage.txt index 5039b3542d5..f6711cedbc9 100644 --- a/forge-gui/res/cardsfolder/h/heartless_pillage.txt +++ b/forge-gui/res/cardsfolder/h/heartless_pillage.txt @@ -2,6 +2,6 @@ Name:Heartless Pillage ManaCost:2 B Types:Sorcery A:SP$ Discard | Cost$ 2 B | ValidTgts$ Opponent | Mode$ TgtChoose | NumCards$ 2 | TgtPrompt$ Select target opponent | SubAbility$ DBTreasure | SpellDescription$ Target opponent discards two cards. Raid — If you attacked this turn, create a Treasure token. -SVar:DBTreasure:DB$ Token | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ GE1 | References$ RaidTest | TokenAmount$ 1 | TokenScript$ c_a_treasure_sac | TokenOwner$ You +SVar:DBTreasure:DB$ Token | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ GE1 | TokenAmount$ 1 | TokenScript$ c_a_treasure_sac | TokenOwner$ You SVar:RaidTest:Count$AttackersDeclared Oracle:Target opponent discards two cards.\nRaid — If you attacked this turn, create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") diff --git a/forge-gui/res/cardsfolder/h/heartwarming_redemption.txt b/forge-gui/res/cardsfolder/h/heartwarming_redemption.txt index 9e33f953c17..b0150b2a035 100644 --- a/forge-gui/res/cardsfolder/h/heartwarming_redemption.txt +++ b/forge-gui/res/cardsfolder/h/heartwarming_redemption.txt @@ -2,9 +2,9 @@ Name:Heartwarming Redemption ManaCost:2 R W Types:Instant A:SP$ Discard | Cost$ 2 R W | Defined$ You | RememberDiscarded$ True | Mode$ Hand | SubAbility$ DBDraw | SpellDescription$ Discard all the cards in your hand, then draw that many cards plus one. You gain life equal to the number of cards in your hand. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBGainLife +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBGainLife SVar:X:Remembered$Amount.Plus.1 -SVar:DBGainLife:DB$ GainLife | LifeAmount$ Y | References$ Y | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | LifeAmount$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Count$InYourHand AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/h/heat_ray.txt b/forge-gui/res/cardsfolder/h/heat_ray.txt index eb31232b09a..b80038f99db 100644 --- a/forge-gui/res/cardsfolder/h/heat_ray.txt +++ b/forge-gui/res/cardsfolder/h/heat_ray.txt @@ -1,7 +1,7 @@ Name:Heat Ray ManaCost:X R Types:Instant -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/heat_ray.jpg Oracle:Heat Ray deals X damage to target creature. diff --git a/forge-gui/res/cardsfolder/h/heaven_earth.txt b/forge-gui/res/cardsfolder/h/heaven_earth.txt index 7d7a50310fe..859aef1009b 100644 --- a/forge-gui/res/cardsfolder/h/heaven_earth.txt +++ b/forge-gui/res/cardsfolder/h/heaven_earth.txt @@ -2,7 +2,7 @@ Name:Heaven ManaCost:X G AlternateMode: Split Types:Instant -A:SP$ DamageAll | Cost$ X G | ValidCards$ Creature.withFlying | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature with flying. +A:SP$ DamageAll | Cost$ X G | ValidCards$ Creature.withFlying | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature with flying. SVar:X:Count$xPaid AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/heaven_earth.jpg @@ -14,6 +14,6 @@ Name:Earth ManaCost:X R R Types:Sorcery K:Aftermath -A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature.withoutFlying | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying. +A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature.withoutFlying | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying. SVar:X:Count$xPaid Oracle:Aftermath (Cast this spell only from your graveyard. Then exile it.)\nEarth deals X damage to each creature without flying. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/h/heavenly_blademaster.txt b/forge-gui/res/cardsfolder/h/heavenly_blademaster.txt index 2d0cd348dc6..f6361e3ff8f 100644 --- a/forge-gui/res/cardsfolder/h/heavenly_blademaster.txt +++ b/forge-gui/res/cardsfolder/h/heavenly_blademaster.txt @@ -9,7 +9,7 @@ SVar:DBAttach:DB$ RepeatEach | RepeatSubAbility$ DBRepeatAttach | RepeatCards$ A SVar:DBRepeatAttach:DB$ Attach | Object$ Remembered | Optional$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:Random -S:Mode$ Continuous | Affected$ Creature.Other+YouCtrl | AddPower$ X | AddToughness$ X | References$ X | Description$ Other creatures you control get +1/+1 for each Aura and Equipment attached to CARDNAME. +S:Mode$ Continuous | Affected$ Creature.Other+YouCtrl | AddPower$ X | AddToughness$ X | Description$ Other creatures you control get +1/+1 for each Aura and Equipment attached to CARDNAME. SVar:X:Count$Valid Equipment.Attached,Aura.Attached SVar:EnchantMe:Multiple Oracle:Flying, double strike\nWhen Heavenly Blademaster enters the battlefield, you may attach any number of Auras and Equipment you control to it.\nOther creatures you control get +1/+1 for each Aura and Equipment attached to Heavenly Blademaster. diff --git a/forge-gui/res/cardsfolder/h/heavens_gate.txt b/forge-gui/res/cardsfolder/h/heavens_gate.txt index 46aed713a8f..7b2fc387a8c 100644 --- a/forge-gui/res/cardsfolder/h/heavens_gate.txt +++ b/forge-gui/res/cardsfolder/h/heavens_gate.txt @@ -1,7 +1,7 @@ Name:Heaven's Gate ManaCost:W Types:Instant -A:SP$ Animate | Cost$ W | ValidTgts$ Creature | TargetMin$ 1 | TargetMax$ MaxTgts | TgtPrompt$ Select target creatures | Colors$ White | OverwriteColors$ True | References$ MaxTgts | SpellDescription$ One or more target creatures become white until end of turn. +A:SP$ Animate | Cost$ W | ValidTgts$ Creature | TargetMin$ 1 | TargetMax$ MaxTgts | TgtPrompt$ Select target creatures | Colors$ White | OverwriteColors$ True | SpellDescription$ One or more target creatures become white until end of turn. SVar:MaxTgts:Count$Valid Creature AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/h/hedron_alignment.txt b/forge-gui/res/cardsfolder/h/hedron_alignment.txt index 7d739f0556c..7efd17718cb 100644 --- a/forge-gui/res/cardsfolder/h/hedron_alignment.txt +++ b/forge-gui/res/cardsfolder/h/hedron_alignment.txt @@ -6,7 +6,7 @@ T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | E SVar:TrigRevealToWin:DB$ GenericChoice | Choices$ RevealHand,DontReveal | Defined$ You SVar:DontReveal:DB$ Cleanup | SpellDescription$ Don't Reveal Hand SVar:RevealHand:DB$ RevealHand | Defined$ You | SubAbility$ WinGame | SpellDescription$ Reveal Hand -SVar:WinGame:DB$ WinsGame | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ4 | References$ A,B,C,D,X,Y,Z +SVar:WinGame:DB$ WinsGame | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ4 # Combine Hedron Alignments in 4 different zones, cap the count of each zone to 1. SVar:A:Count$Valid Card.YouOwn+nonToken+namedHedron Alignment/LimitMax.1 SVar:B:Count$ValidHand Card.YouOwn+namedHedron Alignment/LimitMax.1 diff --git a/forge-gui/res/cardsfolder/h/heed_the_mists.txt b/forge-gui/res/cardsfolder/h/heed_the_mists.txt index 118bd277155..1448fad3f3b 100644 --- a/forge-gui/res/cardsfolder/h/heed_the_mists.txt +++ b/forge-gui/res/cardsfolder/h/heed_the_mists.txt @@ -2,7 +2,7 @@ Name:Heed the Mists ManaCost:3 U U Types:Sorcery Arcane A:SP$ Mill | Cost$ 3 U U | Defined$ You | NumCards$ 1 | RememberMilled$ True | SubAbility$ TrigDraw | SpellDescription$ Mill a card, then draw cards equal to the milled card's converted mana cost. -SVar:TrigDraw:DB$ Draw | NumCards$ X | SubAbility$ DBCleanup | References$ X +SVar:TrigDraw:DB$ Draw | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost Oracle:Mill a card, then draw cards equal to the milled card's converted mana cost. diff --git a/forge-gui/res/cardsfolder/h/heedless_one.txt b/forge-gui/res/cardsfolder/h/heedless_one.txt index c7df478370f..0ee126e2448 100644 --- a/forge-gui/res/cardsfolder/h/heedless_one.txt +++ b/forge-gui/res/cardsfolder/h/heedless_one.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Creature Elf Avatar PT:*/* K:Trample -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Elves on the battlefield. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Elves on the battlefield. SVar:X:Count$Valid Elf SVar:BuffedBy:Permanent.Elf AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/h/heliod_god_of_the_sun.txt b/forge-gui/res/cardsfolder/h/heliod_god_of_the_sun.txt index 3a95ad5ad82..a572805519f 100644 --- a/forge-gui/res/cardsfolder/h/heliod_god_of_the_sun.txt +++ b/forge-gui/res/cardsfolder/h/heliod_god_of_the_sun.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Legendary Enchantment Creature God PT:5/6 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | References$ X | Description$ As long as your devotion to white is less than 5, CARDNAME isn't a creature. (Each {W} in the mana costs of permanents you control counts towards your devotion to white.) +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | Description$ As long as your devotion to white is less than 5, CARDNAME isn't a creature. (Each {W} in the mana costs of permanents you control counts towards your devotion to white.) SVar:X:Count$Devotion.White S:Mode$ Continuous | Affected$ Creature.Other+YouCtrl | AddKeyword$ Vigilance | Description$ Other creatures you control have vigilance. A:AB$ Token | Cost$ 2 W W | TokenAmount$ 1 | TokenScript$ w_2_1_e_cleric | TokenOwner$ You | LegacyImage$ w 2 1 e cleric ths | SpellDescription$ Create a 2/1 white Cleric enchantment creature token. diff --git a/forge-gui/res/cardsfolder/h/heliod_sun_crowned.txt b/forge-gui/res/cardsfolder/h/heliod_sun_crowned.txt index 563902027b6..c16707ffee0 100644 --- a/forge-gui/res/cardsfolder/h/heliod_sun_crowned.txt +++ b/forge-gui/res/cardsfolder/h/heliod_sun_crowned.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Legendary Enchantment Creature God PT:5/5 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | References$ X | Description$ As long as your devotion to white is less than five, CARDNAME is not a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | Description$ As long as your devotion to white is less than five, CARDNAME is not a creature. SVar:X:Count$Devotion.White SVar:BuffedBy:Permanent.White T:Mode$ LifeGained | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you gain life, put a +1/+1 counter on target creature or enchantment you control. diff --git a/forge-gui/res/cardsfolder/h/heliods_intervention.txt b/forge-gui/res/cardsfolder/h/heliods_intervention.txt index 3bb44bed8cc..3efc7555ad6 100644 --- a/forge-gui/res/cardsfolder/h/heliods_intervention.txt +++ b/forge-gui/res/cardsfolder/h/heliods_intervention.txt @@ -1,9 +1,9 @@ Name:Heliod's Intervention ManaCost:X W W Types:Instant -A:SP$ Charm | Cost$ X W W | Choices$ DBDestroy,DBGainLife | References$ X -SVar:DBDestroy:DB$ Destroy | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select X target artifacts and/or enchantments | SpellDescription$ Destroy X target artifacts and/or enchantments. -SVar:DBGainLife:DB$ GainLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ XX | References$ X,XX | SpellDescription$ Target player gains twice X life. +A:SP$ Charm | Cost$ X W W | Choices$ DBDestroy,DBGainLife +SVar:DBDestroy:DB$ Destroy | TargetMin$ X | TargetMax$ X | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select X target artifacts and/or enchantments | SpellDescription$ Destroy X target artifacts and/or enchantments. +SVar:DBGainLife:DB$ GainLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ XX | SpellDescription$ Target player gains twice X life. SVar:X:Count$xPaid SVar:XX:SVar$X/Twice DeckHas:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/h/heliophial.txt b/forge-gui/res/cardsfolder/h/heliophial.txt index 7b09a6ff7f8..d0ea222db57 100644 --- a/forge-gui/res/cardsfolder/h/heliophial.txt +++ b/forge-gui/res/cardsfolder/h/heliophial.txt @@ -1,7 +1,7 @@ Name:Heliophial ManaCost:5 Types:Artifact -A:AB$ DealDamage | Cost$ 2 Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the number of charge counters on it to any target. +A:AB$ DealDamage | Cost$ 2 Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the number of charge counters on it to any target. K:Sunburst SVar:X:Count$CardCounters.CHARGE SVar:NeedsToPlayVar:Z GE1 diff --git a/forge-gui/res/cardsfolder/h/helix_pinnacle.txt b/forge-gui/res/cardsfolder/h/helix_pinnacle.txt index 1623e8d7238..b494fe110f5 100644 --- a/forge-gui/res/cardsfolder/h/helix_pinnacle.txt +++ b/forge-gui/res/cardsfolder/h/helix_pinnacle.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Card.Self+counters_GE100_TOWER | Execute$ TrigWinGame | TriggerDescription$ At the beginning of your upkeep, if there are 100 or more tower counters on Helix Pinnacle, you win the game. SVar:TrigWinGame:DB$WinsGame | Defined$ You K:Shroud -A:AB$ PutCounter | Cost$ X | CounterType$ TOWER | CounterNum$ X | References$ X | SpellDescription$ Put a tower counter on CARDNAME. +A:AB$ PutCounter | Cost$ X | CounterType$ TOWER | CounterNum$ X | SpellDescription$ Put a tower counter on CARDNAME. SVar:X:Count$xPaid AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/helix_pinnacle.jpg diff --git a/forge-gui/res/cardsfolder/h/hellfire.txt b/forge-gui/res/cardsfolder/h/hellfire.txt index 26be733f8a8..6b582e82f26 100644 --- a/forge-gui/res/cardsfolder/h/hellfire.txt +++ b/forge-gui/res/cardsfolder/h/hellfire.txt @@ -2,7 +2,7 @@ Name:Hellfire ManaCost:2 B B B Types:Sorcery A:SP$ DestroyAll | Cost$ 2 B B B | ValidCards$ Creature.nonBlack | RememberDestroyed$ True | SubAbility$ DBDealDamage | SpellDescription$ Destroy all nonblack creatures. CARDNAME deals X plus 3 damage to you, where X is the number of creatures that died this way. -SVar:DBDealDamage:DB$DealDamage | NumDmg$ X | Defined$ You | References$ X +SVar:DBDealDamage:DB$DealDamage | NumDmg$ X | Defined$ You SVar:X:Remembered$Amount.Plus.3 # Remember Destroyed still isn't quite right since Hellfire cares about Replacement effects too SVar:NeedsToPlayVar:Y GE5 diff --git a/forge-gui/res/cardsfolder/h/hellhole_flailer.txt b/forge-gui/res/cardsfolder/h/hellhole_flailer.txt index 8f20bed406c..771a9148cb0 100644 --- a/forge-gui/res/cardsfolder/h/hellhole_flailer.txt +++ b/forge-gui/res/cardsfolder/h/hellhole_flailer.txt @@ -3,7 +3,7 @@ ManaCost:1 B R Types:Creature Ogre Warrior PT:3/2 K:Unleash -A:AB$ DealDamage | Cost$ 2 B R Sac<1/CARDNAME> | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to its power to target player or planeswalker. +A:AB$ DealDamage | Cost$ 2 B R Sac<1/CARDNAME> | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to its power to target player or planeswalker. SVar:X:Sacrificed$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/hellhole_flailer.jpg Oracle:Unleash (You may have this creature enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it.)\n{2}{B}{R}, Sacrifice Hellhole Flailer: Hellhole Flailer deals damage equal to its power to target player or planeswalker. diff --git a/forge-gui/res/cardsfolder/h/hellhole_rats.txt b/forge-gui/res/cardsfolder/h/hellhole_rats.txt index 12a96194fb2..ee47c8346b0 100644 --- a/forge-gui/res/cardsfolder/h/hellhole_rats.txt +++ b/forge-gui/res/cardsfolder/h/hellhole_rats.txt @@ -5,7 +5,7 @@ PT:2/2 K:Haste T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, target player discards a card. CARDNAME deals damage to that player equal to that card's converted mana cost. SVar:TrigDiscard:DB$Discard | ValidTgts$ Player | TgtPrompt$ Select target player | Mode$ TgtChoose | NumCards$ 1 | RememberDiscarded$ True | SubAbility$ DBDamage -SVar:DBDamage:DB$DealDamage | Defined$ Targeted | NumDmg$ X | SubAbility$ DBCleanup | References$ X +SVar:DBDamage:DB$DealDamage | Defined$ Targeted | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/hellhole_rats.jpg diff --git a/forge-gui/res/cardsfolder/h/hellion_eruption.txt b/forge-gui/res/cardsfolder/h/hellion_eruption.txt index 51496e129ea..1d81e61d60b 100644 --- a/forge-gui/res/cardsfolder/h/hellion_eruption.txt +++ b/forge-gui/res/cardsfolder/h/hellion_eruption.txt @@ -2,7 +2,7 @@ Name:Hellion Eruption ManaCost:5 R Types:Sorcery A:SP$ SacrificeAll | Cost$ 5 R | ValidCards$ Creature.YouCtrl | RememberSacrificed$ True | SubAbility$ DBToken | SpellDescription$ Sacrifice all creatures you control, then create that many 4/4 red Hellion creature tokens. -SVar:DBToken:DB$Token | TokenAmount$ X | TokenScript$ r_4_4_hellion | TokenOwner$ You | LegacyImage$ r 4 4 hellion roe | References$ X +SVar:DBToken:DB$Token | TokenAmount$ X | TokenScript$ r_4_4_hellion | TokenOwner$ You | LegacyImage$ r 4 4 hellion roe SVar:X:Remembered$Amount AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/hellion_eruption.jpg diff --git a/forge-gui/res/cardsfolder/h/hellkite_igniter.txt b/forge-gui/res/cardsfolder/h/hellkite_igniter.txt index 7ace7903688..8b9110166bb 100644 --- a/forge-gui/res/cardsfolder/h/hellkite_igniter.txt +++ b/forge-gui/res/cardsfolder/h/hellkite_igniter.txt @@ -4,7 +4,7 @@ Types:Creature Dragon PT:5/5 K:Flying K:Haste -A:AB$ Pump | Cost$ 1 R | Defined$ Self | NumAtt$ +X | References$ X | SpellDescription$ CARDNAME gets +X/+0 until end of turn, where X is the number of artifacts you control. +A:AB$ Pump | Cost$ 1 R | Defined$ Self | NumAtt$ +X | SpellDescription$ CARDNAME gets +X/+0 until end of turn, where X is the number of artifacts you control. SVar:X:Count$TypeYouCtrl.Artifact DeckHints:Type$Artifact Oracle:Flying, haste\n{1}{R}: Hellkite Igniter gets +X/+0 until end of turn, where X is the number of artifacts you control. diff --git a/forge-gui/res/cardsfolder/h/helm_of_kaldra.txt b/forge-gui/res/cardsfolder/h/helm_of_kaldra.txt index ff611b86b91..9b0d0666644 100644 --- a/forge-gui/res/cardsfolder/h/helm_of_kaldra.txt +++ b/forge-gui/res/cardsfolder/h/helm_of_kaldra.txt @@ -3,8 +3,8 @@ ManaCost:3 Types:Legendary Artifact Equipment K:Equip:2 S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddKeyword$ First Strike & Trample & Haste | Description$ Equipped creature has first strike, trample, and haste. -A:AB$ Token | Cost$ 1 | TokenAmount$ 1 | LegacyImage$ kaldra 5dn | TokenScript$ kaldra | TokenOwner$ You | SubAbility$ DBAttachEach | RememberTokens$ True | ConditionCheckSVar$ HelmX | ConditionSVarCompare$ EQ3 | AILogic$ Never | References$ HelmX | SpellDescription$ If you control Equipment named CARDNAME, Sword of Kaldra, and Shield of Kaldra, create Kaldra, a legendary 4/4 colorless Avatar creature token. Attach those Equipment to it. -SVar:DBAttachEach:DB$ RepeatEach | UseImprinted$ True | RepeatCards$ Equipment.YouCtrl+namedHelm of Kaldra,Equipment.YouCtrl+namedSword of Kaldra,Equipment.YouCtrl+namedShield of Kaldra | CheckSVar$ HelmY | SVarCompare$ EQ1 | References$ HelmY | RepeatSubAbility$ DBAttach | SubAbility$ DBCleanup +A:AB$ Token | Cost$ 1 | TokenAmount$ 1 | LegacyImage$ kaldra 5dn | TokenScript$ kaldra | TokenOwner$ You | SubAbility$ DBAttachEach | RememberTokens$ True | ConditionCheckSVar$ HelmX | ConditionSVarCompare$ EQ3 | AILogic$ NeverelmX | SpellDescription$ If you control Equipment named CARDNAME, Sword of Kaldra, and Shield of Kaldra, create Kaldra, a legendary 4/4 colorless Avatar creature token. Attach those Equipment to it. +SVar:DBAttachEach:DB$ RepeatEach | UseImprinted$ True | RepeatCards$ Equipment.YouCtrl+namedHelm of Kaldra,Equipment.YouCtrl+namedSword of Kaldra,Equipment.YouCtrl+namedShield of Kaldra | CheckSVar$ HelmY | SVarCompare$ EQ1elmY | RepeatSubAbility$ DBAttach | SubAbility$ DBCleanup SVar:DBAttach:DB$ Attach | Object$ Imprinted | Defined$ Remembered SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:HelmX:Count$Valid Equipment.YouCtrl+namedHelm of Kaldra,Equipment.YouCtrl+namedSword of Kaldra,Equipment.YouCtrl+namedShield of Kaldra diff --git a/forge-gui/res/cardsfolder/h/helm_of_obedience.txt b/forge-gui/res/cardsfolder/h/helm_of_obedience.txt index dcbb8613f69..ff3fd813088 100644 --- a/forge-gui/res/cardsfolder/h/helm_of_obedience.txt +++ b/forge-gui/res/cardsfolder/h/helm_of_obedience.txt @@ -2,15 +2,15 @@ Name:Helm of Obedience ManaCost:4 Types:Artifact #Doesn't interact properly with Myr Welder right now -A:AB$ Repeat | Cost$ XCantBe0 X T | ValidTgts$ Opponent | MaxRepeat$ MaxRepeats | RepeatSubAbility$ DBCleanBeforeRepeat | RepeatCheckSVar$ AccumulatedMilled | RepeatSVarCompare$ LTX | AILogic$ MaxXAtOppEOT | References$ X,MaxRepeats,AccumulatedMilled | StackDescription$ Target opponent mills a card, then repeats this process until a creature card or X cards have been put into their graveyard this way, whichever comes first. If one or more creature cards were put into that graveyard this way, sacrifice Helm of Obedience and put one of them onto the battlefield under your control. X can't be 0. | SpellDescription$ Target opponent mills a card, then repeats this process until a creature card or X cards have been put into their graveyard this way, whichever comes first. If one or more creature cards were put into that graveyard this way, sacrifice CARDNAME and put one of them onto the battlefield under your control. X can't be 0. | SubAbility$ DBSacHelm +A:AB$ Repeat | Cost$ XCantBe0 X T | ValidTgts$ Opponent | MaxRepeat$ MaxRepeats | RepeatSubAbility$ DBCleanBeforeRepeat | RepeatCheckSVar$ AccumulatedMilled | RepeatSVarCompare$ LTX | AILogic$ MaxXAtOppEOT | StackDescription$ Target opponent mills a card, then repeats this process until a creature card or X cards have been put into their graveyard this way, whichever comes first. If one or more creature cards were put into that graveyard this way, sacrifice Helm of Obedience and put one of them onto the battlefield under your control. X can't be 0. | SpellDescription$ Target opponent mills a card, then repeats this process until a creature card or X cards have been put into their graveyard this way, whichever comes first. If one or more creature cards were put into that graveyard this way, sacrifice CARDNAME and put one of them onto the battlefield under your control. X can't be 0. | SubAbility$ DBSacHelm SVar:DBCleanBeforeRepeat:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBMill SVar:DBMill:DB$ Mill | NumCards$ 1 | RememberMilled$ True | Defined$ Targeted | SubAbility$ DBAccumulateX | NoReveal$ True -SVar:DBAccumulateX:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ CountSVar | Expression$ AccumulatedMilled/Plus.1 | ConditionCheckSVar$ MilledCard | ConditionSVarCompare$ EQ1 | References$ AccumulatedMilled,MilledCard | SubAbility$ DBMilledCreature -SVar:DBMilledCreature:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ Calculate | Expression$ X | ConditionCheckSVar$ MilledCreature | ConditionSVarCompare$ EQ1 | References$ AccumulatedMilled,MilledCreature,X | SubAbility$ DBEmptyLibrary -SVar:DBEmptyLibrary:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ Calculate | Expression$ X | ConditionCheckSVar$ TargetedLibrary | ConditionSVarCompare$ EQ0 | References$ AccumulatedMilled,X,TargetedLibrary -SVar:DBSacHelm:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ MilledCreature | ConditionSVarCompare$ EQ1 | SubAbility$ DBStealCreature | References$ MilledCreature -SVar:DBStealCreature:DB$ ChangeZone | Defined$ Remembered | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | SubAbility$ DBResetCounter | ConditionCheckSVar$ MilledCreature | ConditionSVarCompare$ EQ1 | References$ MilledCreature -SVar:DBResetCounter:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ Number | Expression$ 0 | References$ AccumulatedMilled | SubAbility$ DBCleanup +SVar:DBAccumulateX:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ CountSVar | Expression$ AccumulatedMilled/Plus.1 | ConditionCheckSVar$ MilledCard | ConditionSVarCompare$ EQ1 | SubAbility$ DBMilledCreature +SVar:DBMilledCreature:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ Calculate | Expression$ X | ConditionCheckSVar$ MilledCreature | ConditionSVarCompare$ EQ1 | SubAbility$ DBEmptyLibrary +SVar:DBEmptyLibrary:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ Calculate | Expression$ X | ConditionCheckSVar$ TargetedLibrary | ConditionSVarCompare$ EQ0 +SVar:DBSacHelm:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ MilledCreature | ConditionSVarCompare$ EQ1 | SubAbility$ DBStealCreature +SVar:DBStealCreature:DB$ ChangeZone | Defined$ Remembered | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | SubAbility$ DBResetCounter | ConditionCheckSVar$ MilledCreature | ConditionSVarCompare$ EQ1 +SVar:DBResetCounter:DB$ StoreSVar | SVar$ AccumulatedMilled | Type$ Number | Expression$ 0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:TargetedLibrary:TargetedPlayer$CardsInLibrary SVar:MaxRepeats:TargetedPlayer$CardsInLibrary/Plus.2 diff --git a/forge-gui/res/cardsfolder/h/helm_of_the_gods.txt b/forge-gui/res/cardsfolder/h/helm_of_the_gods.txt index ddd5be09b2e..82b6946fdf9 100644 --- a/forge-gui/res/cardsfolder/h/helm_of_the_gods.txt +++ b/forge-gui/res/cardsfolder/h/helm_of_the_gods.txt @@ -2,7 +2,7 @@ Name:Helm of the Gods ManaCost:1 Types:Artifact Equipment K:Equip:1 -S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ Equipped creature gets +1/+1 for each enchantment you control. +S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ X | Description$ Equipped creature gets +1/+1 for each enchantment you control. SVar:X:Count$Valid Enchantment.YouCtrl SVar:BuffedBy:Enchantment AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/h/herald_of_leshrac.txt b/forge-gui/res/cardsfolder/h/herald_of_leshrac.txt index 495c2057746..fa1274ac6e6 100644 --- a/forge-gui/res/cardsfolder/h/herald_of_leshrac.txt +++ b/forge-gui/res/cardsfolder/h/herald_of_leshrac.txt @@ -4,7 +4,7 @@ Types:Creature Avatar PT:2/4 K:Flying K:Cumulative upkeep:GainControl<1/Land.YouDontCtrl/land you don't control>:Gain control of a land you don't control. -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each land you control but don't own. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each land you control but don't own. SVar:X:Count$Valid Land.YouCtrl+YouDontOwn T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigGainControl | TriggerDescription$ When CARDNAME leaves the battlefield, each player gains control of each land they own that you control. SVar:TrigGainControl:DB$ GainControlVariant | AllValid$ Land.YouCtrl | ChangeController$ CardOwner diff --git a/forge-gui/res/cardsfolder/h/herald_of_the_forgotten.txt b/forge-gui/res/cardsfolder/h/herald_of_the_forgotten.txt index 982e3675fd5..a20e4ddcd60 100755 --- a/forge-gui/res/cardsfolder/h/herald_of_the_forgotten.txt +++ b/forge-gui/res/cardsfolder/h/herald_of_the_forgotten.txt @@ -4,6 +4,6 @@ Types:Creature Cat Beast PT:6/6 K:Flying T:Mode$ ChangesZone | ValidCard$ Card.Self+wasCast | Destination$ Battlefield | Execute$ TrigChange | TriggerDescription$ When CARDNAME enters the battlefield, if you cast it, return any number of target permanent cards with cycling abilities from your graveyard to the battlefield. -SVar:TrigChange:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Permanent.YouOwn+withCycling,Permanent.YouOwn+withTypeCycling | SelectPrompt$ Select any number of target permanent cards with cycling abilities to return to the battlefield | TargetMin$ 0 | TargetMax$ X | References$ X +SVar:TrigChange:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Permanent.YouOwn+withCycling,Permanent.YouOwn+withTypeCycling | SelectPrompt$ Select any number of target permanent cards with cycling abilities to return to the battlefield | TargetMin$ 0 | TargetMax$ X SVar:X:TriggeredCardController$ValidGraveyard Permanent.YouOwn+withCycling,Permanent.YouOwn+withTypeCycling Oracle:Flying\nWhen Herald of the Forgotten enters the battlefield, if you cast it, return any number of target permanent cards with cycling abilities from your graveyard to the battlefield. diff --git a/forge-gui/res/cardsfolder/h/herald_of_war.txt b/forge-gui/res/cardsfolder/h/herald_of_war.txt index c2037cce2b2..c135f4d8d40 100644 --- a/forge-gui/res/cardsfolder/h/herald_of_war.txt +++ b/forge-gui/res/cardsfolder/h/herald_of_war.txt @@ -5,7 +5,7 @@ PT:3/3 K:Flying T:Mode$ Attacks | ValidCard$ Creature.Self | Execute$ HeraldsWarCry | TriggerDescription$ Whenever CARDNAME attacks, put a +1/+1 counter on it. SVar:HeraldsWarCry:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 -S:Mode$ ReduceCost | ValidCard$ Angel,Human | Type$ Spell | Activator$ You | Amount$ X | References$ X | Description$ Angels and Humans you cast cost 1 less for each +1/+1 counter on CARDNAME. +S:Mode$ ReduceCost | ValidCard$ Angel,Human | Type$ Spell | Activator$ You | Amount$ X | Description$ Angels and Humans you cast cost 1 less for each +1/+1 counter on CARDNAME. SVar:X:Count$CardCounters.P1P1 SVar:HasAttackEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/herald_of_war.jpg diff --git a/forge-gui/res/cardsfolder/h/heretics_punishment.txt b/forge-gui/res/cardsfolder/h/heretics_punishment.txt index eccb051da45..3580e9d9657 100644 --- a/forge-gui/res/cardsfolder/h/heretics_punishment.txt +++ b/forge-gui/res/cardsfolder/h/heretics_punishment.txt @@ -2,7 +2,7 @@ Name:Heretic's Punishment ManaCost:4 R Types:Enchantment A:AB$ Mill | Cost$ 3 R | NumCards$ 3 | RememberMilled$ True | SubAbility$ DBHereticDamage | SpellDescription$ Choose any target, then mill three cards. CARDNAME deals damage to that permanent or player equal to the highest converted mana cost among the milled cards. -SVar:DBHereticDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ HereticX | SubAbility$ DBHereticCleanup | References$ HereticX +SVar:DBHereticDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ HereticX | SubAbility$ DBHereticCleanupereticX SVar:DBHereticCleanup:DB$ Cleanup | ClearRemembered$ True SVar:HereticX:Count$HighestCMC_Card.IsRemembered AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/h/hero_of_leina_tower.txt b/forge-gui/res/cardsfolder/h/hero_of_leina_tower.txt index 9f69698e94e..b75d0ddad7d 100644 --- a/forge-gui/res/cardsfolder/h/hero_of_leina_tower.txt +++ b/forge-gui/res/cardsfolder/h/hero_of_leina_tower.txt @@ -3,7 +3,7 @@ ManaCost:G Types:Creature Human Warrior PT:1/1 T:Mode$ SpellCast | ValidActivatingPlayer$ You | TargetsValid$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Heroic — Whenever you cast a spell that targets CARDNAME, you may pay {X}. If you do, put X +1/+1 counters on CARDNAME. -SVar:TrigPutCounter:AB$ PutCounter | Cost$ X | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:AB$ PutCounter | Cost$ X | CounterType$ P1P1 | CounterNum$ X SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/hero_of_leina_tower.jpg Oracle:Heroic — Whenever you cast a spell that targets Hero of Leina Tower, you may pay {X}. If you do, put X +1/+1 counters on Hero of Leina Tower. diff --git a/forge-gui/res/cardsfolder/h/heroes_bane.txt b/forge-gui/res/cardsfolder/h/heroes_bane.txt index 957f4b31212..6abbde7b63c 100644 --- a/forge-gui/res/cardsfolder/h/heroes_bane.txt +++ b/forge-gui/res/cardsfolder/h/heroes_bane.txt @@ -3,7 +3,7 @@ ManaCost:3 G G Types:Creature Hydra PT:0/0 K:etbCounter:P1P1:4 -A:AB$ PutCounter | Cost$ 2 G G | CounterType$ P1P1 | CounterNum$ X | References$ X | SpellDescription$ Put X +1/+1 counters on CARDNAME, where X is its power. +A:AB$ PutCounter | Cost$ 2 G G | CounterType$ P1P1 | CounterNum$ X | SpellDescription$ Put X +1/+1 counters on CARDNAME, where X is its power. SVar:X:Count$CardPower DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/heroes_bane.jpg diff --git a/forge-gui/res/cardsfolder/h/heroes_podium.txt b/forge-gui/res/cardsfolder/h/heroes_podium.txt index 6e149d26387..84706cd89bf 100644 --- a/forge-gui/res/cardsfolder/h/heroes_podium.txt +++ b/forge-gui/res/cardsfolder/h/heroes_podium.txt @@ -3,7 +3,7 @@ ManaCost:5 Types:Legendary Artifact S:Mode$ Continuous | Affected$ Creature.Legendary+YouCtrl | AddPower$ AffectedX | AddToughness$ AffectedX | Description$ Each legendary creature you control gets +1/+1 for each other legendary creature you control. SVar:AffectedX:Count$Valid Creature.Legendary+Other+YouCtrl -A:AB$ Dig | Cost$ X T | DigNum$ X | ChangeNum$ 1 | ChangeValid$ Creature.Legendary | DestinationZone$ Hand | DestinationZone2$ Library | LibraryPosition$ -1 | RestRandomOrder$ True | References$ X | SpellDescription$ Look at the top X cards of your library. You may reveal a legendary creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. +A:AB$ Dig | Cost$ X T | DigNum$ X | ChangeNum$ 1 | ChangeValid$ Creature.Legendary | DestinationZone$ Hand | DestinationZone2$ Library | LibraryPosition$ -1 | RestRandomOrder$ True | SpellDescription$ Look at the top X cards of your library. You may reveal a legendary creature card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. SVar:X:Count$xPaid AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/heroes_podium.jpg diff --git a/forge-gui/res/cardsfolder/h/hex_parasite.txt b/forge-gui/res/cardsfolder/h/hex_parasite.txt index 422ef7a3e61..5108ab355aa 100644 --- a/forge-gui/res/cardsfolder/h/hex_parasite.txt +++ b/forge-gui/res/cardsfolder/h/hex_parasite.txt @@ -2,8 +2,8 @@ Name:Hex Parasite ManaCost:1 Types:Artifact Creature Insect PT:1/1 -A:AB$ RemoveCounter | Cost$ X PB | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | CounterType$ Any | CounterNum$ X | RememberRemoved$ True | SubAbility$ DBPump | References$ X | SpellDescription$ Remove up to X counters from target permanent. For each counter removed this way, CARDNAME gets +1/+0 until end of turn. -SVar:DBPump:DB$ Pump | NumAtt$ +Y | Defined$ Self | SubAbility$ DBCleanup | References$ Y +A:AB$ RemoveCounter | Cost$ X PB | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | CounterType$ Any | CounterNum$ X | RememberRemoved$ True | SubAbility$ DBPump | SpellDescription$ Remove up to X counters from target permanent. For each counter removed this way, CARDNAME gets +1/+0 until end of turn. +SVar:DBPump:DB$ Pump | NumAtt$ +Y | Defined$ Self | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid SVar:Y:Count$RememberedSize diff --git a/forge-gui/res/cardsfolder/h/hibernations_end.txt b/forge-gui/res/cardsfolder/h/hibernations_end.txt index c08ed15d2da..2cb79df3499 100644 --- a/forge-gui/res/cardsfolder/h/hibernations_end.txt +++ b/forge-gui/res/cardsfolder/h/hibernations_end.txt @@ -3,7 +3,7 @@ ManaCost:4 G Types:Enchantment K:Cumulative upkeep:1 T:Mode$ PayCumulativeUpkeep | ValidCard$ Card.Self | Paid$ True | Execute$ TrigSearch | OptionalDecider$ You | TriggerDescription$ Whenever you pay CARDNAME's cumulative upkeep, you may search your library for a creature card with converted mana cost equal to the number of age counters on CARDNAME and put it onto the battlefield. If you do, shuffle your library. -SVar:TrigSearch:DB$ ChangeZone | ChangeType$ Creature.cmcEQX | References$ X | ChangeNum$ 1 | Origin$ Library | Destination$ Battlefield | ShuffleNonMandatory$ True +SVar:TrigSearch:DB$ ChangeZone | ChangeType$ Creature.cmcEQX | ChangeNum$ 1 | Origin$ Library | Destination$ Battlefield | ShuffleNonMandatory$ True SVar:X:Count$CardCounters.AGE SVar:Picture:http://www.wizards.com/global/images/magic/general/hibernations_end.jpg Oracle:Cumulative upkeep {1} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.)\nWhenever you pay Hibernation's End's cumulative upkeep, you may search your library for a creature card with converted mana cost equal to the number of age counters on Hibernation's End and put it onto the battlefield. If you do, shuffle your library. diff --git a/forge-gui/res/cardsfolder/h/hide_seek.txt b/forge-gui/res/cardsfolder/h/hide_seek.txt index 56a4d7534a0..7c78f3679fb 100644 --- a/forge-gui/res/cardsfolder/h/hide_seek.txt +++ b/forge-gui/res/cardsfolder/h/hide_seek.txt @@ -12,7 +12,7 @@ Name:Seek ManaCost:W B Types:Instant A:SP$ ChangeZone | Cost$ W B | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | Origin$ Library | DefinedPlayer$ Targeted | Chooser$ You | Destination$ Exile | Changetype$ Card | ChangeNum$ 1 | RememberChanged$ True | IsCurse$ True | AILogic$ BestCard | SubAbility$ DBGainLife | StackDescription$ SpellDescription | SpellDescription$ Search target opponent's library for a card and exile it. You gain life equal to its converted mana cost. Then that player shuffles their library. -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost Oracle:Search target opponent's library for a card and exile it. You gain life equal to its converted mana cost. Then that player shuffles their library. diff --git a/forge-gui/res/cardsfolder/h/hidetsugus_second_rite.txt b/forge-gui/res/cardsfolder/h/hidetsugus_second_rite.txt index 34db28a77d7..a400eb74dd2 100644 --- a/forge-gui/res/cardsfolder/h/hidetsugus_second_rite.txt +++ b/forge-gui/res/cardsfolder/h/hidetsugus_second_rite.txt @@ -1,7 +1,7 @@ Name:Hidetsugu's Second Rite ManaCost:3 R Types:Instant -A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Player | TgtPrompt$ Select target player | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ10 | NumDmg$ 10 | References$ X | AILogic$ OppAtTenLife | SpellDescription$ If target player has exactly 10 life, CARDNAME deals 10 damage to that player. +A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Player | TgtPrompt$ Select target player | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ10 | NumDmg$ 10 | AILogic$ OppAtTenLife | SpellDescription$ If target player has exactly 10 life, CARDNAME deals 10 damage to that player. SVar:X:TargetedPlayer$LifeTotal SVar:Y:Count$OppsAtLifeTotal.10 SVar:NeedsToPlayVar:Y GE1 diff --git a/forge-gui/res/cardsfolder/h/hisoka_minamo_sensei.txt b/forge-gui/res/cardsfolder/h/hisoka_minamo_sensei.txt index a3d09da63aa..d85cd103b3d 100644 --- a/forge-gui/res/cardsfolder/h/hisoka_minamo_sensei.txt +++ b/forge-gui/res/cardsfolder/h/hisoka_minamo_sensei.txt @@ -2,7 +2,7 @@ Name:Hisoka, Minamo Sensei ManaCost:2 U U Types:Legendary Creature Human Wizard PT:1/3 -A:AB$ Counter | Cost$ 2 U Discard<1/Card> | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | ConditionCheckSVar$ X | ConditionSVarCompare$ EQY | References$ X,Y | SpellDescription$ Counter target spell if it has the same converted mana cost as the discarded card. +A:AB$ Counter | Cost$ 2 U Discard<1/Card> | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | ConditionCheckSVar$ X | ConditionSVarCompare$ EQY | SpellDescription$ Counter target spell if it has the same converted mana cost as the discarded card. SVar:X:Targeted$CardManaCost SVar:Y:Discarded$CardManaCost AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/h/hit_run.txt b/forge-gui/res/cardsfolder/h/hit_run.txt index 9fc4182d5eb..b09a1c9ef4d 100644 --- a/forge-gui/res/cardsfolder/h/hit_run.txt +++ b/forge-gui/res/cardsfolder/h/hit_run.txt @@ -3,7 +3,7 @@ ManaCost:1 B R AlternateMode: Split Types:Instant A:SP$ Sacrifice | Cost$ 1 B R | ValidTgts$ Player | SacValid$ Creature,Artifact | SacMessage$ Creature or Artifact | RememberSacrificed$ True | SubAbility$ DBDmg | SpellDescription$ Target player sacrifices an artifact or creature. Hit deals damage to that player equal to that permanent's converted mana cost. -SVar:DBDmg:DB$ DealDamage | NumDmg$ X | References$ X | Defined$ Targeted | SubAbility$ DBCleanup +SVar:DBDmg:DB$ DealDamage | NumDmg$ X | Defined$ Targeted | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/hitrun.jpg @@ -14,6 +14,6 @@ ALTERNATE Name:Run ManaCost:3 R G Types:Instant -A:SP$ PumpAll | Cost$ 3 R G | ValidCards$ Creature.attacking+YouCtrl | NumAtt$ +Y | References$ Y | SpellDescription$ Attacking creatures you control get +1/+0 until end of turn for each other attacking creature. +A:SP$ PumpAll | Cost$ 3 R G | ValidCards$ Creature.attacking+YouCtrl | NumAtt$ +Y | SpellDescription$ Attacking creatures you control get +1/+0 until end of turn for each other attacking creature. SVar:Y:Count$Valid Creature.attacking/Minus.1 Oracle:Attacking creatures you control get +1/+0 until end of turn for each other attacking creature. diff --git a/forge-gui/res/cardsfolder/h/hoard_smelter_dragon.txt b/forge-gui/res/cardsfolder/h/hoard_smelter_dragon.txt index 887da4b9869..3a980785e25 100644 --- a/forge-gui/res/cardsfolder/h/hoard_smelter_dragon.txt +++ b/forge-gui/res/cardsfolder/h/hoard_smelter_dragon.txt @@ -4,6 +4,6 @@ Types:Creature Dragon PT:5/5 K:Flying A:AB$ Destroy | Cost$ 3 R | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | SubAbility$ DBPump | SpellDescription$ Destroy target artifact. CARDNAME gets +X/+0 until end of turn, where X is that artifact's converted mana cost. -SVar:DBPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:DBPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Targeted$CardManaCost Oracle:Flying\n{3}{R}: Destroy target artifact. Hoard-Smelter Dragon gets +X/+0 until end of turn, where X is that artifact's converted mana cost. diff --git a/forge-gui/res/cardsfolder/h/hoarders_greed.txt b/forge-gui/res/cardsfolder/h/hoarders_greed.txt index 8aafaca07ba..04fcdb76643 100644 --- a/forge-gui/res/cardsfolder/h/hoarders_greed.txt +++ b/forge-gui/res/cardsfolder/h/hoarders_greed.txt @@ -5,8 +5,8 @@ A:SP$ Repeat | Cost$ 3 B | RepeatCheckSVar$ CheckRepeat | RepeatSVarCompare$ GT0 SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 2 | SubAbility$ DBDraw | SpellDescription$ You lose 2 life and draw two cards, then clash with an opponent. If you win, repeat this process. SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 2 | SubAbility$ DBClash SVar:DBClash:DB$ Clash | LoseSubAbility$ DBStoreSVar -SVar:DBStoreSVar:DB$ StoreSVar | SVar$ CheckRepeat | Type$ Number | Expression$ 1 | References$ CheckRepeat -SVar:DBReset:DB$ StoreSVar | SVar$ CheckRepeat | Type$ Number | Expression$ 0 | References$ CheckRepeat +SVar:DBStoreSVar:DB$ StoreSVar | SVar$ CheckRepeat | Type$ Number | Expression$ 1 +SVar:DBReset:DB$ StoreSVar | SVar$ CheckRepeat | Type$ Number | Expression$ 0 SVar:CheckRepeat:Number$0 SVar:Picture:http://www.wizards.com/global/images/magic/general/hoarders_greed.jpg Oracle:You lose 2 life and draw two cards, then clash with an opponent. If you win, repeat this process. (Each clashing player reveals the top card of their library, then puts that card on the top or bottom. A player wins if their card had a higher converted mana cost.) diff --git a/forge-gui/res/cardsfolder/h/hold_the_gates.txt b/forge-gui/res/cardsfolder/h/hold_the_gates.txt index a83c4a8d19b..5226570ebb7 100644 --- a/forge-gui/res/cardsfolder/h/hold_the_gates.txt +++ b/forge-gui/res/cardsfolder/h/hold_the_gates.txt @@ -1,7 +1,7 @@ Name:Hold the Gates ManaCost:2 W Types:Enchantment -S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddToughness$ X | AddKeyword$ Vigilance | References$ X | Description$ Creatures you control get +0/+1 for each Gate you control and have vigilance. +S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddToughness$ X | AddKeyword$ Vigilance | Description$ Creatures you control get +0/+1 for each Gate you control and have vigilance. SVar:X:Count$Valid Gate.YouCtrl SVar:PlayMain1:TRUE DeckNeeds:Type$Gate diff --git a/forge-gui/res/cardsfolder/h/hold_the_perimeter.txt b/forge-gui/res/cardsfolder/h/hold_the_perimeter.txt index 39fe8b9d2a4..63cb9c6518a 100644 --- a/forge-gui/res/cardsfolder/h/hold_the_perimeter.txt +++ b/forge-gui/res/cardsfolder/h/hold_the_perimeter.txt @@ -2,7 +2,7 @@ Name:Hold the Perimeter ManaCost:no cost Types:Conspiracy Text:(Start the game with this conspiracy face up in the command zone.) -T:Mode$ Phase | Phase$ Upkeep | CheckSVar$ X | SVarCompare$ EQ1 | References$ X | ValidPlayer$ You | Execute$ TrigToken1 | EffectZone$ Command | TriggerDescription$ At the beginning of your first upkeep, create a 1/2 white Soldier creature token with defender. +T:Mode$ Phase | Phase$ Upkeep | CheckSVar$ X | SVarCompare$ EQ1 | ValidPlayer$ You | Execute$ TrigToken1 | EffectZone$ Command | TriggerDescription$ At the beginning of your first upkeep, create a 1/2 white Soldier creature token with defender. SVar:X:Count$YourTurns SVar:TrigToken1:DB$ Token | TokenAmount$ 1 | TokenScript$ w_1_2_soldier_defender | TokenOwner$ You | LegacyImage$ w 1 2 soldier defender cn2 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.Other+IsNotRemembered | Execute$ TrigToken2 | EffectZone$ Command | TriggerDescription$ At the beginning of each other player's first upkeep, that player creates a 1/1 red Goblin creature token with "This creature can't block." diff --git a/forge-gui/res/cardsfolder/h/hollow_specter.txt b/forge-gui/res/cardsfolder/h/hollow_specter.txt index 49f6be2c9de..56f9ccd8a07 100644 --- a/forge-gui/res/cardsfolder/h/hollow_specter.txt +++ b/forge-gui/res/cardsfolder/h/hollow_specter.txt @@ -4,7 +4,7 @@ Types:Creature Specter PT:2/2 K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | OptionalDecider$ You | Execute$ TrigDiscard | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may pay {X}. If you do, that player reveals X cards from their hand and you choose one of them. That player discards that card. -SVar:TrigDiscard:AB$ Discard | Cost$ X | Defined$ TriggeredTarget | NumCards$ 1 | RevealNumber$ X | References$ X | Mode$ RevealYouChoose | DiscardValid$ Card +SVar:TrigDiscard:AB$ Discard | Cost$ X | Defined$ TriggeredTarget | NumCards$ 1 | RevealNumber$ X | Mode$ RevealYouChoose | DiscardValid$ Card SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/hollow_specter.jpg Oracle:Flying\nWhenever Hollow Specter deals combat damage to a player, you may pay {X}. If you do, that player reveals X cards from their hand and you choose one of them. That player discards that card. diff --git a/forge-gui/res/cardsfolder/h/hollow_trees.txt b/forge-gui/res/cardsfolder/h/hollow_trees.txt index 5f44387dca8..d519c70ab3a 100644 --- a/forge-gui/res/cardsfolder/h/hollow_trees.txt +++ b/forge-gui/res/cardsfolder/h/hollow_trees.txt @@ -5,7 +5,7 @@ K:CARDNAME enters the battlefield tapped. K:You may choose not to untap CARDNAME during your untap step. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+tapped | Execute$ TrigStore | TriggerDescription$ At the beginning of your upkeep, if CARDNAME is tapped, put a storage counter on it. SVar:TrigStore:DB$PutCounter | Defined$ Self | CounterType$ STORAGE | CounterNum$ 1 -A:AB$ Mana | Cost$ T SubCounter | Produced$ G | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | References$ X | AILogic$ ManaRitualBattery | SpellDescription$ Add {G} for each storage counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ G | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | AILogic$ ManaRitualBattery | SpellDescription$ Add {G} for each storage counter removed this way. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Hollow Trees enters the battlefield tapped.\nYou may choose not to untap Hollow Trees during your untap step.\nAt the beginning of your upkeep, if Hollow Trees is tapped, put a storage counter on it.\n{T}, Remove any number of storage counters from Hollow Trees: Add {G} for each storage counter removed this way. diff --git a/forge-gui/res/cardsfolder/h/homarid_spawning_bed.txt b/forge-gui/res/cardsfolder/h/homarid_spawning_bed.txt index cbcbea8dbdc..23a6deed01d 100644 --- a/forge-gui/res/cardsfolder/h/homarid_spawning_bed.txt +++ b/forge-gui/res/cardsfolder/h/homarid_spawning_bed.txt @@ -1,7 +1,7 @@ Name:Homarid Spawning Bed ManaCost:U U Types:Enchantment -A:AB$ Token | Cost$ 1 U U Sac<1/Creature.Blue/blue creature> | LegacyImage$ u 1 1 camarid fem | TokenAmount$ X | TokenScript$ u_1_1_camarid | TokenOwner$ You | References$ X | SpellDescription$ Create X 1/1 blue Camarid creature tokens, where X is the sacrificed creature's converted mana cost. +A:AB$ Token | Cost$ 1 U U Sac<1/Creature.Blue/blue creature> | LegacyImage$ u 1 1 camarid fem | TokenAmount$ X | TokenScript$ u_1_1_camarid | TokenOwner$ You | SpellDescription$ Create X 1/1 blue Camarid creature tokens, where X is the sacrificed creature's converted mana cost. SVar:X:Sacrificed$CardManaCost AI:RemoveDeck:All SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/h/honden_of_cleansing_fire.txt b/forge-gui/res/cardsfolder/h/honden_of_cleansing_fire.txt index 472996a0f19..61671a331db 100644 --- a/forge-gui/res/cardsfolder/h/honden_of_cleansing_fire.txt +++ b/forge-gui/res/cardsfolder/h/honden_of_cleansing_fire.txt @@ -2,7 +2,7 @@ Name:Honden of Cleansing Fire ManaCost:3 W Types:Legendary Enchantment Shrine T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ At the beginning of your upkeep, you gain 2 life for each Shrine you control. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$TypeYouCtrl.Shrine/Times.2 DeckHints:Type$Shrine SVar:Picture:http://www.wizards.com/global/images/magic/general/honden_of_cleansing_fire.jpg diff --git a/forge-gui/res/cardsfolder/h/honden_of_infinite_rage.txt b/forge-gui/res/cardsfolder/h/honden_of_infinite_rage.txt index 87c19a52188..5c95ee9bc36 100644 --- a/forge-gui/res/cardsfolder/h/honden_of_infinite_rage.txt +++ b/forge-gui/res/cardsfolder/h/honden_of_infinite_rage.txt @@ -2,7 +2,7 @@ Name:Honden of Infinite Rage ManaCost:2 R Types:Legendary Enchantment Shrine T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of your upkeep, CARDNAME deals damage to any target equal to the number of Shrines you control. -SVar:TrigDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$TypeYouCtrl.Shrine DeckHints:Type$Shrine SVar:Picture:http://www.wizards.com/global/images/magic/general/honden_of_infinite_rage.jpg diff --git a/forge-gui/res/cardsfolder/h/honden_of_lifes_web.txt b/forge-gui/res/cardsfolder/h/honden_of_lifes_web.txt index 3d04a200078..aa4e4f922ee 100644 --- a/forge-gui/res/cardsfolder/h/honden_of_lifes_web.txt +++ b/forge-gui/res/cardsfolder/h/honden_of_lifes_web.txt @@ -2,7 +2,7 @@ Name:Honden of Life's Web ManaCost:4 G Types:Legendary Enchantment Shrine T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your upkeep, create a 1/1 colorless Spirit creature token for each Shrine you control. -SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ c_1_1_spirit | LegacyImage$ c 1 1 spirit chk | TokenOwner$ You | References$ X +SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ c_1_1_spirit | LegacyImage$ c 1 1 spirit chk | TokenOwner$ You SVar:X:Count$TypeYouCtrl.Shrine DeckHints:Type$Shrine SVar:Picture:http://www.wizards.com/global/images/magic/general/honden_of_lifes_web.jpg diff --git a/forge-gui/res/cardsfolder/h/honden_of_nights_reach.txt b/forge-gui/res/cardsfolder/h/honden_of_nights_reach.txt index 433af55ff70..376bb1b1768 100644 --- a/forge-gui/res/cardsfolder/h/honden_of_nights_reach.txt +++ b/forge-gui/res/cardsfolder/h/honden_of_nights_reach.txt @@ -2,7 +2,7 @@ Name:Honden of Night's Reach ManaCost:3 B Types:Legendary Enchantment Shrine T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ At the beginning of your upkeep, target opponent discards a card for each Shrine you control. -SVar:TrigDiscard:DB$Discard | ValidTgts$ Opponent | NumCards$ X | Mode$ TgtChoose | References$ X +SVar:TrigDiscard:DB$Discard | ValidTgts$ Opponent | NumCards$ X | Mode$ TgtChoose SVar:X:Count$TypeYouCtrl.Shrine DeckHints:Type$Shrine SVar:Picture:http://www.wizards.com/global/images/magic/general/honden_of_nights_reach.jpg diff --git a/forge-gui/res/cardsfolder/h/honden_of_seeing_winds.txt b/forge-gui/res/cardsfolder/h/honden_of_seeing_winds.txt index 0ded4e1a12f..5bceb8e84f7 100644 --- a/forge-gui/res/cardsfolder/h/honden_of_seeing_winds.txt +++ b/forge-gui/res/cardsfolder/h/honden_of_seeing_winds.txt @@ -2,7 +2,7 @@ Name:Honden of Seeing Winds ManaCost:4 U Types:Legendary Enchantment Shrine T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ At the beginning of your upkeep, draw a card for each Shrine you control. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X SVar:X:Count$TypeYouCtrl.Shrine DeckHints:Type$Shrine SVar:Picture:http://www.wizards.com/global/images/magic/general/honden_of_seeing_winds.jpg diff --git a/forge-gui/res/cardsfolder/h/honor_the_fallen.txt b/forge-gui/res/cardsfolder/h/honor_the_fallen.txt index e8ab7e78641..ec6f7b92c04 100644 --- a/forge-gui/res/cardsfolder/h/honor_the_fallen.txt +++ b/forge-gui/res/cardsfolder/h/honor_the_fallen.txt @@ -2,7 +2,7 @@ Name:Honor the Fallen ManaCost:1 W Types:Instant A:SP$ ChangeZoneAll | Cost$ 1 W | ChangeType$ Creature | Origin$ Graveyard | Destination$ Exile | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ DBGainLife | SpellDescription$ Exile all creature cards from all graveyards. You gain 1 life for each card exiled this way. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Remembered$Amount SVar:NeedsToPlayVar:Z GE2 SVar:Z:Count$ValidGraveyard Creature diff --git a/forge-gui/res/cardsfolder/h/honorable_passage.txt b/forge-gui/res/cardsfolder/h/honorable_passage.txt index 0c4c4b41f9f..8fba8f90c7d 100644 --- a/forge-gui/res/cardsfolder/h/honorable_passage.txt +++ b/forge-gui/res/cardsfolder/h/honorable_passage.txt @@ -4,7 +4,7 @@ Types:Instant A:SP$ ChooseSource | Cost$ 1 W | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ The next time a source of your choice would deal damage to any target this turn, prevent that damage. If damage from a red source is prevented this way, Honorable Passage deals that much damage to the source's controller. SVar:DBEffect:DB$ Effect | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to prevent damage to | ReplacementEffects$ RepDmg | SVars$ RepDmg,DealDamage,ExileEffect,X,Y | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 SVar:RepDmg:Event$ DamageDone | ValidTarget$ Card.IsRemembered,Player.IsRemembered | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ DealDamage | PreventionEffect$ True | Description$ The next time a source of your choice would deal damage to any target this turn, prevent that damage. If damage from a red source is prevented this way, Honorable Passage deals that much damage to the source's controller. -SVar:DealDamage:DB$ DealDamage | Defined$ ReplacedSourceController | DamageSource$ EffectSource | NumDmg$ X | References$ X | ConditionDefined$ ReplacedSource | ConditionPresent$ Card.RedSource | SubAbility$ ExileEffect +SVar:DealDamage:DB$ DealDamage | Defined$ ReplacedSourceController | DamageSource$ EffectSource | NumDmg$ X | ConditionDefined$ ReplacedSource | ConditionPresent$ Card.RedSource | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True SVar:X:ReplaceCount$DamageAmount diff --git a/forge-gui/res/cardsfolder/h/honorable_scout.txt b/forge-gui/res/cardsfolder/h/honorable_scout.txt index 1f27078d2e0..7f337031b4e 100644 --- a/forge-gui/res/cardsfolder/h/honorable_scout.txt +++ b/forge-gui/res/cardsfolder/h/honorable_scout.txt @@ -3,7 +3,7 @@ ManaCost:W Types:Creature Human Soldier Scout PT:1/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ HonorGained | TriggerDescription$ When CARDNAME enters the battlefield, you gain 2 life for each black and/or red creature target opponent controls. -SVar:HonorGained:DB$ GainLife | LifeAmount$ ScoutsHonor | Defined$ You | TgtPrompt$ Select target opponent | ValidTgts$ Opponent | References$ ScoutsHonor +SVar:HonorGained:DB$ GainLife | LifeAmount$ ScoutsHonor | Defined$ You | TgtPrompt$ Select target opponent | ValidTgts$ Opponent SVar:ScoutsHonor:Count$Valid Creature.Black+TargetedPlayerCtrl,Creature.Red+TargetedPlayerCtrl/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/honorable_scout.jpg Oracle:When Honorable Scout enters the battlefield, you gain 2 life for each black and/or red creature target opponent controls. diff --git a/forge-gui/res/cardsfolder/h/hooded_horror.txt b/forge-gui/res/cardsfolder/h/hooded_horror.txt index 1fc068dad82..7440a0ab42a 100644 --- a/forge-gui/res/cardsfolder/h/hooded_horror.txt +++ b/forge-gui/res/cardsfolder/h/hooded_horror.txt @@ -2,7 +2,7 @@ Name:Hooded Horror ManaCost:4 B Types:Creature Horror PT:4/4 -S:Mode$ Continuous | Affected$ Card.Self+attacking | AddHiddenKeyword$ Unblockable | CheckSVar$ X | References$ X,Y | SVarCompare$ EQY | Description$ CARDNAME can't be blocked as long as defending player controls the most creatures or is tied for the most. +S:Mode$ Continuous | Affected$ Card.Self+attacking | AddHiddenKeyword$ Unblockable | CheckSVar$ X | SVarCompare$ EQY | Description$ CARDNAME can't be blocked as long as defending player controls the most creatures or is tied for the most. SVar:X:Count$Valid Creature.DefenderCtrl SVar:Y:PlayerCountPlayers$HighestValid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/hooded_horror.jpg diff --git a/forge-gui/res/cardsfolder/h/hooded_hydra.txt b/forge-gui/res/cardsfolder/h/hooded_hydra.txt index cdb6d583106..c450404c748 100644 --- a/forge-gui/res/cardsfolder/h/hooded_hydra.txt +++ b/forge-gui/res/cardsfolder/h/hooded_hydra.txt @@ -5,7 +5,7 @@ PT:0/0 K:etbCounter:P1P1:X SVar:X:Count$xPaid T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigToken | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, create a 1/1 green Snake creature token for each +1/+1 counter on it. -SVar:TrigToken:DB$ Token | TokenAmount$ Y | TokenScript$ g_1_1_snake | TokenOwner$ TriggeredCardController | LegacyImage$ g 1 1 snake ktk | References$ Y +SVar:TrigToken:DB$ Token | TokenAmount$ Y | TokenScript$ g_1_1_snake | TokenOwner$ TriggeredCardController | LegacyImage$ g 1 1 snake ktk SVar:Y:TriggeredCard$CardCounters.P1P1 K:Morph:3 G G R:Event$ TurnFaceUp | ValidCard$ Card.Self | ReplaceWith$ AddCounters | ActiveZones$ Battlefield | Description$ As CARDNAME is turned face up, put five +1/+1 counters on it. diff --git a/forge-gui/res/cardsfolder/h/horde_of_boggarts.txt b/forge-gui/res/cardsfolder/h/horde_of_boggarts.txt index fbc66cb863a..2e69f7ced3c 100644 --- a/forge-gui/res/cardsfolder/h/horde_of_boggarts.txt +++ b/forge-gui/res/cardsfolder/h/horde_of_boggarts.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Creature Goblin PT:*/* K:Menace -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of red permanents you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of red permanents you control. SVar:X:Count$Valid Permanent.Red+YouCtrl SVar:BuffedBy:Permanent.Red SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/h/horned_cheetah.txt b/forge-gui/res/cardsfolder/h/horned_cheetah.txt index f96ef5b27dd..dc0f117bb96 100644 --- a/forge-gui/res/cardsfolder/h/horned_cheetah.txt +++ b/forge-gui/res/cardsfolder/h/horned_cheetah.txt @@ -3,7 +3,7 @@ ManaCost:2 G W Types:Creature Cat PT:2/2 T:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/horned_cheetah.jpg diff --git a/forge-gui/res/cardsfolder/h/hornet_nest.txt b/forge-gui/res/cardsfolder/h/hornet_nest.txt index 387fa7b64b9..12007c654b6 100644 --- a/forge-gui/res/cardsfolder/h/hornet_nest.txt +++ b/forge-gui/res/cardsfolder/h/hornet_nest.txt @@ -4,7 +4,7 @@ Types:Creature Insect PT:0/2 K:Defender T:Mode$ DamageDoneOnce | Execute$ TrigToken | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, create that many 1/1 green Insect creature tokens with flying and deathtouch. -SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_insect_flying_deathtouch | TokenOwner$ You | LegacyImage$ g 1 1 insect flying deathtouch m15 | References$ X +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_insect_flying_deathtouch | TokenOwner$ You | LegacyImage$ g 1 1 insect flying deathtouch m15 SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/hornet_nest.jpg diff --git a/forge-gui/res/cardsfolder/h/hostility.txt b/forge-gui/res/cardsfolder/h/hostility.txt index 30a61d3ed08..8a76e8075f4 100644 --- a/forge-gui/res/cardsfolder/h/hostility.txt +++ b/forge-gui/res/cardsfolder/h/hostility.txt @@ -4,7 +4,7 @@ Types:Creature Elemental Incarnation PT:6/6 K:Haste R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Spell.YouCtrl | ValidTarget$ Opponent | PreventionEffect$ True | ReplaceWith$ HostilityTokens | Description$ If a spell you control would deal damage to an opponent, prevent that damage. Create a 3/1 red Elemental Shaman creature token with haste for each 1 damage prevented this way. -SVar:HostilityTokens:DB$ Token | TokenAmount$ X | References$ X | LegacyImage$ r 3 1 elemental shaman haste lrw | TokenScript$ r_3_1_elemental_shaman_haste | TokenOwner$ You +SVar:HostilityTokens:DB$ Token | TokenAmount$ X | LegacyImage$ r 3 1 elemental shaman haste lrw | TokenScript$ r_3_1_elemental_shaman_haste | TokenOwner$ You SVar:X:ReplaceCount$DamageAmount T:Mode$ ChangesZone | Origin$ Any | Destination$ Graveyard | ValidCard$ Creature.Self | Execute$ TrigShuffle | TriggerDescription$ When CARDNAME is put into a graveyard from anywhere, shuffle it into its owner's library. SVar:TrigShuffle:DB$ ChangeZone | Origin$ Graveyard | Destination$ Library | Shuffle$ True | Defined$ TriggeredCardLKICopy diff --git a/forge-gui/res/cardsfolder/h/hour_of_eternity.txt b/forge-gui/res/cardsfolder/h/hour_of_eternity.txt index a4e272c5534..d2bab10e91e 100644 --- a/forge-gui/res/cardsfolder/h/hour_of_eternity.txt +++ b/forge-gui/res/cardsfolder/h/hour_of_eternity.txt @@ -1,7 +1,7 @@ Name:Hour of Eternity ManaCost:X X U U U Types:Sorcery -A:SP$ ChangeZone | Cost$ X X U U U | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Choose X target creature cards from your graveyard | ValidTgts$ Creature.YouOwn | TargetMin$ X | TargetMax$ X | References$ X | SubAbility$ DBClone | RememberChanged$ True | StackDescription$ {p:You} exiles {c:Targeted} from their graveyard. | SpellDescription$ Exile X target creature cards from your graveyard. For each card exiled this way, create a token that's a copy of that card, except it's a 4/4 black Zombie. +A:SP$ ChangeZone | Cost$ X X U U U | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Choose X target creature cards from your graveyard | ValidTgts$ Creature.YouOwn | TargetMin$ X | TargetMax$ X | SubAbility$ DBClone | RememberChanged$ True | StackDescription$ {p:You} exiles {c:Targeted} from their graveyard. | SpellDescription$ Exile X target creature cards from your graveyard. For each card exiled this way, create a token that's a copy of that card, except it's a 4/4 black Zombie. SVar:DBClone:DB$ CopyPermanent | Defined$ Remembered | SetPower$ 4 | SetToughness$ 4 | SetColor$ Black | SetCreatureTypes$ Zombie | NumCopies$ 1 | SubAbility$ DBCleanup | StackDescription$ For each card exiled this way, create a token that's a copy of that card, except it's a 4/4 black Zombie. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/h/hour_of_glory.txt b/forge-gui/res/cardsfolder/h/hour_of_glory.txt index 9b3140842a5..21abc0a312a 100644 --- a/forge-gui/res/cardsfolder/h/hour_of_glory.txt +++ b/forge-gui/res/cardsfolder/h/hour_of_glory.txt @@ -2,7 +2,7 @@ Name:Hour of Glory ManaCost:3 B Types:Instant A:SP$ ChangeZone | Cost$ 3 B | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberTargets$ True | ForgetOtherTargets$ True | SubAbility$ DBChangeZone | SpellDescription$ Exile target creature. If that creature was a God, its controller reveals their hand and exiles all cards from it with the same name as that creature. -SVar:DBChangeZone:DB$ ChangeZoneAll | Origin$ Hand | Destination$ Exile | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | SubAbility$ DBCleanup +SVar:DBChangeZone:DB$ ChangeZoneAll | Origin$ Hand | Destination$ Exile | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Targeted$Valid God SVar:Picture:http://www.wizards.com/global/images/magic/general/hour_of_glory.jpg diff --git a/forge-gui/res/cardsfolder/h/hour_of_need.txt b/forge-gui/res/cardsfolder/h/hour_of_need.txt index b3749b54cf2..456b339eb46 100644 --- a/forge-gui/res/cardsfolder/h/hour_of_need.txt +++ b/forge-gui/res/cardsfolder/h/hour_of_need.txt @@ -2,7 +2,7 @@ Name:Hour of Need ManaCost:2 U Types:Instant K:Strive:1 U -A:SP$ ChangeZone | Cost$ 2 U | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ X | Origin$ Battlefield | Destination$ Exile | References$ X | RememberLKI$ True | SubAbility$ DBRepeat | SpellDescription$ Exile any number of target creatures. For each creature exiled this way, its controller creates a 4/4 blue Sphinx creature token with flying. +A:SP$ ChangeZone | Cost$ 2 U | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ X | Origin$ Battlefield | Destination$ Exile | RememberLKI$ True | SubAbility$ DBRepeat | SpellDescription$ Exile any number of target creatures. For each creature exiled this way, its controller creates a 4/4 blue Sphinx creature token with flying. SVar:DBRepeat:DB$ RepeatEach | DefinedCards$ DirectRemembered | UseImprinted$ True | RepeatSubAbility$ DBToken | SubAbility$ DBCleanup | ChangeZoneTable$ True SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ u_4_4_sphinx_flying | TokenOwner$ ImprintedController | LegacyImage$ u 4 4 sphinx flying SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/h/howl_from_beyond.txt b/forge-gui/res/cardsfolder/h/howl_from_beyond.txt index ce8a52fc24d..77767dcf204 100644 --- a/forge-gui/res/cardsfolder/h/howl_from_beyond.txt +++ b/forge-gui/res/cardsfolder/h/howl_from_beyond.txt @@ -1,7 +1,7 @@ Name:Howl from Beyond ManaCost:X B Types:Instant -A:SP$ Pump | Cost$ X B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X | SpellDescription$ Target creature gets +X/+0 until end of turn. +A:SP$ Pump | Cost$ X B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SpellDescription$ Target creature gets +X/+0 until end of turn. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/howl_from_beyond.jpg Oracle:Target creature gets +X/+0 until end of turn. diff --git a/forge-gui/res/cardsfolder/h/howl_of_the_horde.txt b/forge-gui/res/cardsfolder/h/howl_of_the_horde.txt index 8efb9d2eed5..147c2e6a166 100644 --- a/forge-gui/res/cardsfolder/h/howl_of_the_horde.txt +++ b/forge-gui/res/cardsfolder/h/howl_of_the_horde.txt @@ -2,7 +2,7 @@ Name:Howl of the Horde ManaCost:2 R Types:Sorcery A:SP$ DelayedTrigger | Cost$ 2 R | AILogic$ SpellCopy | Execute$ EffTrigCopy | ThisTurn$ True | Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | SubAbility$ DBEffect | SpellDescription$ When you cast your next instant or sorcery spell this turn, copy that spell. -SVar:DBEffect:DB$ DelayedTrigger | AILogic$ SpellCopy | Execute$ EffTrigCopy | ThisTurn$ True | Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ GE1 | References$ RaidTest | SpellDescription$ Raid — If you attacked this turn, when you cast your next instant or sorcery spell this turn, copy that spell an additional time. You may choose new targets for the copy. +SVar:DBEffect:DB$ DelayedTrigger | AILogic$ SpellCopy | Execute$ EffTrigCopy | ThisTurn$ True | Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | ConditionCheckSVar$ RaidTest | ConditionSVarCompare$ GE1 | SpellDescription$ Raid — If you attacked this turn, when you cast your next instant or sorcery spell this turn, copy that spell an additional time. You may choose new targets for the copy. SVar:RaidTest:Count$AttackersDeclared SVar:EffTrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | MayChooseTarget$ True SVar:AIPriorityModifier:9 diff --git a/forge-gui/res/cardsfolder/h/howl_of_the_night_pack.txt b/forge-gui/res/cardsfolder/h/howl_of_the_night_pack.txt index 1ee1dcfa0fa..22730f16c7b 100644 --- a/forge-gui/res/cardsfolder/h/howl_of_the_night_pack.txt +++ b/forge-gui/res/cardsfolder/h/howl_of_the_night_pack.txt @@ -1,7 +1,7 @@ Name:Howl of the Night Pack ManaCost:6 G Types:Sorcery -A:SP$ Token | Cost$ 6 G | TokenAmount$ X | TokenScript$ g_2_2_wolf | TokenOwner$ You | LegacyImage$ g 2 2 wolf shm | References$ X | SpellDescription$ Create a 2/2 green Wolf creature token for each Forest you control. +A:SP$ Token | Cost$ 6 G | TokenAmount$ X | TokenScript$ g_2_2_wolf | TokenOwner$ You | LegacyImage$ g 2 2 wolf shm | SpellDescription$ Create a 2/2 green Wolf creature token for each Forest you control. SVar:X:Count$TypeYouCtrl.Forest SVar:Picture:http://www.wizards.com/global/images/magic/general/howl_of_the_night_pack.jpg Oracle:Create a 2/2 green Wolf creature token for each Forest you control. diff --git a/forge-gui/res/cardsfolder/h/howltooth_hollow.txt b/forge-gui/res/cardsfolder/h/howltooth_hollow.txt index d3f00f13c74..4a648190bed 100644 --- a/forge-gui/res/cardsfolder/h/howltooth_hollow.txt +++ b/forge-gui/res/cardsfolder/h/howltooth_hollow.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land K:Hideaway A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}. -A:AB$ Play | Cost$ B T | Defined$ Remembered | Amount$ All | Controller$ You | WithoutManaCost$ True | Optional$ True | ConditionCheckSVar$ Hands | ConditionSVarCompare$ EQ0 | ForgetRemembered$ True | References$ Hands | AILogic$ CheckCondition | SpellDescription$ You may play the exiled card without paying its mana cost if each player has no cards in hand. +A:AB$ Play | Cost$ B T | Defined$ Remembered | Amount$ All | Controller$ You | WithoutManaCost$ True | Optional$ True | ConditionCheckSVar$ Hands | ConditionSVarCompare$ EQ0 | ForgetRemembered$ True | AILogic$ CheckCondition | SpellDescription$ You may play the exiled card without paying its mana cost if each player has no cards in hand. SVar:Hands:Count$NumInAllHands AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/howltooth_hollow.jpg diff --git a/forge-gui/res/cardsfolder/h/huatli_dinosaur_knight.txt b/forge-gui/res/cardsfolder/h/huatli_dinosaur_knight.txt index a979e6e8f0d..df3cff5beac 100644 --- a/forge-gui/res/cardsfolder/h/huatli_dinosaur_knight.txt +++ b/forge-gui/res/cardsfolder/h/huatli_dinosaur_knight.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Huatli Loyalty:4 A:AB$ PutCounter | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | CounterNum$ 2 | CounterType$ P1P1 | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Creature.Dinosaur+YouCtrl | TgtPrompt$ Select target Dinosaur you control | SpellDescription$ Put two +1/+1 counters on up to one target Dinosaur you control. A:AB$ Pump | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature.Dinosaur+YouCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target Dinosaur you control | SubAbility$ DBDealDamage | SpellDescription$ Target Dinosaur you control deals damage equal to its power to target creature you don't control. -SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creature you don't control | AILogic$ PowerDmg | NumDmg$ X | References$ X | DamageSource$ ParentTarget +SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creature you don't control | AILogic$ PowerDmg | NumDmg$ X | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower A:AB$ PumpAll | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidCards$ Creature.Dinosaur+YouCtrl | NumAtt$ +4 | NumDef$ +4 | SpellDescription$ Dinosaurs you control get +4/+4 until end of turn. AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/h/huatli_radiant_champion.txt b/forge-gui/res/cardsfolder/h/huatli_radiant_champion.txt index 3a7656ddcab..381648ed05d 100644 --- a/forge-gui/res/cardsfolder/h/huatli_radiant_champion.txt +++ b/forge-gui/res/cardsfolder/h/huatli_radiant_champion.txt @@ -2,8 +2,8 @@ Name:Huatli, Radiant Champion ManaCost:2 G W Types:Legendary Planeswalker Huatli Loyalty:3 -A:AB$ PutCounter | Cost$ AddCounter<1/LOYALTY> | Defined$ Self | CounterType$ LOYALTY | CounterNum$ X | References$ X | Planeswalker$ True | StackDescription$ SpellDescription | SpellDescription$ Put a loyalty counter on CARDNAME for each creature you control. -A:AB$ Pump | Cost$ SubCounter<1/LOYALTY> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X | Planeswalker$ True | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of creatures you control. +A:AB$ PutCounter | Cost$ AddCounter<1/LOYALTY> | Defined$ Self | CounterType$ LOYALTY | CounterNum$ X | Planeswalker$ True | StackDescription$ SpellDescription | SpellDescription$ Put a loyalty counter on CARDNAME for each creature you control. +A:AB$ Pump | Cost$ SubCounter<1/LOYALTY> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | Planeswalker$ True | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of creatures you control. A:AB$ Effect | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Huatli, Radiant Champion | Image$ emblem_huatli_radiant_champion | Triggers$ HuatliCreatureETB | SVars$ HuatliDraw | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "Whenever a creature enters the battlefield under your control, you may draw a card." SVar:HuatliCreatureETB:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl | OptionalDecider$ You | TriggerZones$ Command | Execute$ HuatliDraw | TriggerDescription$ Whenever a creature enters the battlefield under your control, you may draw a card. SVar:HuatliDraw:DB$ Draw | NumCards$ 1 diff --git a/forge-gui/res/cardsfolder/h/huatli_the_suns_heart.txt b/forge-gui/res/cardsfolder/h/huatli_the_suns_heart.txt index ebb94f7b9b1..93becb4cb44 100644 --- a/forge-gui/res/cardsfolder/h/huatli_the_suns_heart.txt +++ b/forge-gui/res/cardsfolder/h/huatli_the_suns_heart.txt @@ -3,7 +3,7 @@ ManaCost:2 G/W Types:Legendary Planeswalker Huatli Loyalty:7 S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddHiddenKeyword$ CARDNAME assigns combat damage equal to its toughness rather than its power | Description$ Each creature you control assigns combat damage equal to its toughness rather than its power. -A:AB$ GainLife | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the greatest toughness among creatures you control. +A:AB$ GainLife | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | LifeAmount$ X | SpellDescription$ You gain life equal to the greatest toughness among creatures you control. SVar:X:Count$GreatestToughness_Creature.YouCtrl SVar:NeedsToPlay:Creature.YouCtrl AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/h/huatli_warrior_poet.txt b/forge-gui/res/cardsfolder/h/huatli_warrior_poet.txt index 3fb17bac5e7..84228d79271 100644 --- a/forge-gui/res/cardsfolder/h/huatli_warrior_poet.txt +++ b/forge-gui/res/cardsfolder/h/huatli_warrior_poet.txt @@ -2,10 +2,10 @@ Name:Huatli, Warrior Poet ManaCost:3 R W Types:Legendary Planeswalker Huatli Loyalty:3 -A:AB$ GainLife | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | LifeAmount$ GreatestPow | References$ GreatestPow | SpellDescription$ You gain life equal to the greatest power among creatures you control. +A:AB$ GainLife | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | LifeAmount$ GreatestPow | SpellDescription$ You gain life equal to the greatest power among creatures you control. SVar:GreatestPow:Count$GreatestPower_Creature.YouCtrl A:AB$ Token | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | TokenAmount$ 1 | TokenScript$ g_3_3_dinosaur_trample | TokenOwner$ You | SpellDescription$ Create a 3/3 green Dinosaur creature token with trample. -A:AB$ DealDamage | Cost$ SubCounter | NumDmg$ X | References$ X | Planeswalker$ True | Ultimate$ True | ValidTgts$ Creature | TgtPrompt$ Select any number of target creatures | TargetMin$ 1 | TargetMax$ X | DividedAsYouChoose$ X | RememberDamaged$ True | SubAbility$ DBNoBlock | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of target creatures. Creatures dealt damage this way can't block this turn. +A:AB$ DealDamage | Cost$ SubCounter | NumDmg$ X | Planeswalker$ True | Ultimate$ True | ValidTgts$ Creature | TgtPrompt$ Select any number of target creatures | TargetMin$ 1 | TargetMax$ X | DividedAsYouChoose$ X | RememberDamaged$ True | SubAbility$ DBNoBlock | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of target creatures. Creatures dealt damage this way can't block this turn. SVar:DBNoBlock:DB$ Pump | KW$ HIDDEN CARDNAME can't block. | Defined$ Remembered | SubAbility$ DBCleanup | StackDescription$ Creatures dealt damage this way can't block this turn. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/h/huatlis_spurring.txt b/forge-gui/res/cardsfolder/h/huatlis_spurring.txt index 47422f72515..81e8a0e7256 100644 --- a/forge-gui/res/cardsfolder/h/huatlis_spurring.txt +++ b/forge-gui/res/cardsfolder/h/huatlis_spurring.txt @@ -1,7 +1,7 @@ Name:Huatli's Spurring ManaCost:R Types:Instant -A:SP$ Pump | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X,Y | SpellDescription$ Target creature gets +2/+0 until end of turn. If you control a Huatli planeswalker, that creature gets +4/+0 until end of turn instead. +A:SP$ Pump | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X,Y | SpellDescription$ Target creature gets +2/+0 until end of turn. If you control a Huatli planeswalker, that creature gets +4/+0 until end of turn instead. SVar:Y:Count$Valid Planeswalker.Huatli+YouCtrl SVar:X:Count$Compare Y GE1.4.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/huatlis_spurring.jpg diff --git a/forge-gui/res/cardsfolder/h/hunger_of_the_howlpack.txt b/forge-gui/res/cardsfolder/h/hunger_of_the_howlpack.txt index 3cb0aa0952c..474ef4a789d 100644 --- a/forge-gui/res/cardsfolder/h/hunger_of_the_howlpack.txt +++ b/forge-gui/res/cardsfolder/h/hunger_of_the_howlpack.txt @@ -1,7 +1,7 @@ Name:Hunger of the Howlpack ManaCost:G Types:Instant -A:SP$ PutCounter | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X | References$ X | SpellDescription$ Put a +1/+1 counter on target creature. Morbid — Put three +1/+1 counters on that creature instead if a creature died this turn. +A:SP$ PutCounter | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X | SpellDescription$ Put a +1/+1 counter on target creature. Morbid — Put three +1/+1 counters on that creature instead if a creature died this turn. SVar:X:Count$Morbid.3.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/hunger_of_the_howlpack.jpg Oracle:Put a +1/+1 counter on target creature.\nMorbid — Put three +1/+1 counters on that creature instead if a creature died this turn. diff --git a/forge-gui/res/cardsfolder/h/hunger_of_the_nim.txt b/forge-gui/res/cardsfolder/h/hunger_of_the_nim.txt index 54baf97a397..a6b66f6c7f1 100644 --- a/forge-gui/res/cardsfolder/h/hunger_of_the_nim.txt +++ b/forge-gui/res/cardsfolder/h/hunger_of_the_nim.txt @@ -1,7 +1,7 @@ Name:Hunger of the Nim ManaCost:1 B Types:Sorcery -A:SP$ Pump | Cost$ 1 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X | SpellDescription$ Target creature gets +1/+0 until end of turn for each artifact you control. +A:SP$ Pump | Cost$ 1 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SpellDescription$ Target creature gets +1/+0 until end of turn for each artifact you control. SVar:X:Count$TypeYouCtrl.Artifact AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/hunger_of_the_nim.jpg diff --git a/forge-gui/res/cardsfolder/h/hungering_hydra.txt b/forge-gui/res/cardsfolder/h/hungering_hydra.txt index 35b09305881..1d08bc12649 100644 --- a/forge-gui/res/cardsfolder/h/hungering_hydra.txt +++ b/forge-gui/res/cardsfolder/h/hungering_hydra.txt @@ -6,7 +6,7 @@ K:CantBeBlockedByAmount GT1 K:etbCounter:P1P1:X SVar:X:Count$xPaid T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever CARDNAME is dealt damage, put that many +1/+1 counters on CARDNAME. -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ Y | References$ Y +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ Y SVar:Y:TriggerCount$DamageAmount DeckHas:Ability$Counter Oracle:Hungering Hydra enters the battlefield with X +1/+1 counters on it.\nHungering Hydra can't be blocked by more than one creature.\nWhenever Hungering Hydra is dealt damage, put that many +1/+1 counters on it. (It must survive the damage to get the counters.) diff --git a/forge-gui/res/cardsfolder/h/hunters_edge.txt b/forge-gui/res/cardsfolder/h/hunters_edge.txt index 468a9c7d777..19b5d2207a7 100644 --- a/forge-gui/res/cardsfolder/h/hunters_edge.txt +++ b/forge-gui/res/cardsfolder/h/hunters_edge.txt @@ -2,7 +2,7 @@ Name:Hunter's Edge ManaCost:3 G Types:Sorcery A:SP$ PutCounter | Cost$ 3 G | ValidTgts$ Creature.YouCtrl | CounterType$ P1P1 | | TgtPrompt$ Select target creature you control to put a +1/+1 counter | SubAbility$ DBDamage | SpellDescription$ Put a +1/+1 counter on target creature you control. Then that creature deals damage equal to its power to target creature you don't control. -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creaturer you don't control | NumDmg$ X | References$ X | DamageSource$ ParentTarget +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creaturer you don't control | NumDmg$ X | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower DeckHas:Ability$Counters Oracle:Put a +1/+1 counter on target creature you control. Then that creature deals damage equal to its power to target creature you don't control. diff --git a/forge-gui/res/cardsfolder/h/hunters_feast.txt b/forge-gui/res/cardsfolder/h/hunters_feast.txt index 4dc18db8209..fab0d80f379 100644 --- a/forge-gui/res/cardsfolder/h/hunters_feast.txt +++ b/forge-gui/res/cardsfolder/h/hunters_feast.txt @@ -1,7 +1,7 @@ Name:Hunters' Feast ManaCost:3 G Types:Sorcery -A:SP$ GainLife | Cost$ 3 G | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgt | References$ MaxTgt | LifeAmount$ 6 | SpellDescription$ Any number of target players each gain 6 life. +A:SP$ GainLife | Cost$ 3 G | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgt | LifeAmount$ 6 | SpellDescription$ Any number of target players each gain 6 life. SVar:MaxTgt:PlayerCountPlayers$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/hunters_feast.jpg Oracle:Any number of target players each gain 6 life. diff --git a/forge-gui/res/cardsfolder/h/hunters_insight.txt b/forge-gui/res/cardsfolder/h/hunters_insight.txt index 162e4fd8724..7d78b0db1f0 100644 --- a/forge-gui/res/cardsfolder/h/hunters_insight.txt +++ b/forge-gui/res/cardsfolder/h/hunters_insight.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Instant A:SP$ Effect | Cost$ 2 G | Name$ Hunter's Insight Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature | Triggers$ TrigDamage | SVars$ TrigDraw,X | RememberObjects$ Targeted | SpellDescription$ Choose target creature you control. Whenever that creature deals combat damage to a player or planeswalker this turn, draw that many cards. SVar:TrigDamage:Mode$ DamageDone | ValidSource$ Creature.IsRemembered | ValidTarget$ Player,Planeswalker | Execute$ TrigDraw | CombatDamage$ True | TriggerDescription$ Whenever that creature deals combat damage to a player or planeswalker this turn, draw that many cards. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X SVar:X:TriggerCount$DamageAmount AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/hunters_insight.jpg diff --git a/forge-gui/res/cardsfolder/h/hunters_prowess.txt b/forge-gui/res/cardsfolder/h/hunters_prowess.txt index 2eca0da5bbe..78a4b735a2b 100644 --- a/forge-gui/res/cardsfolder/h/hunters_prowess.txt +++ b/forge-gui/res/cardsfolder/h/hunters_prowess.txt @@ -4,7 +4,7 @@ Types:Sorcery A:SP$ Pump | Cost$ 4 G | ValidTgts$ Creature | NumAtt$ 3 | NumDef$ 3 | KW$ Trample | SubAbility$ DBAnimate | SpellDescription$ Until end of turn, target creature gets +3/+3 and gains trample and "Whenever this creature deals combat damage to a player, draw that many cards." | StackDescription$ SpellDescription SVar:DBAnimate:DB$ Animate | Defined$ ParentTarget | Triggers$ HunterProwessTrig | sVars$ HunterProwessX,HunterProwessY | StackDescription$ None SVar:HunterProwessTrig:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ HunterProwessX | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, draw that many cards. -SVar:HunterProwessX:DB$ Draw | Defined$ You | NumCards$ HunterProwessY | References$ HunterProwessY +SVar:HunterProwessX:DB$ Draw | Defined$ You | NumCards$ HunterProwessY SVar:HunterProwessY:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/hunters_prowess.txt Oracle:Until end of turn, target creature gets +3/+3 and gains trample and "Whenever this creature deals combat damage to a player, draw that many cards." diff --git a/forge-gui/res/cardsfolder/h/huntmaster_liger.txt b/forge-gui/res/cardsfolder/h/huntmaster_liger.txt index 8bd5d94c6dc..0f29d53bef0 100755 --- a/forge-gui/res/cardsfolder/h/huntmaster_liger.txt +++ b/forge-gui/res/cardsfolder/h/huntmaster_liger.txt @@ -4,6 +4,6 @@ Types:Creature Cat PT:3/4 K:Mutate:2 W T:Mode$ Mutates | ValidCard$ Card.Self | Execute$ TrigPumpAll | TriggerDescription$ Whenever this creature mutates, other creatures you control get +X/+X until end of turn, where X is the number of times this creature has mutated. -SVar:TrigPumpAll:DB$ PumpAll | ValidCards$ Creature.Other+YouCtrl | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPumpAll:DB$ PumpAll | ValidCards$ Creature.Other+YouCtrl | NumAtt$ X | NumDef$ X SVar:X:Count$TimesMutated Oracle:Mutate {2}{W} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.)\nWhenever this creature mutates, other creatures you control get +X/+X until end of turn, where X is the number of times this creature has mutated. diff --git a/forge-gui/res/cardsfolder/h/hurricane.txt b/forge-gui/res/cardsfolder/h/hurricane.txt index 73ccf425f5a..a9988b02e8f 100644 --- a/forge-gui/res/cardsfolder/h/hurricane.txt +++ b/forge-gui/res/cardsfolder/h/hurricane.txt @@ -1,7 +1,7 @@ Name:Hurricane ManaCost:X G Types:Sorcery -A:SP$ DamageAll | Cost$ X G | ValidCards$ Creature.withFlying | ValidPlayers$ Player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature with flying and each player. +A:SP$ DamageAll | Cost$ X G | ValidCards$ Creature.withFlying | ValidPlayers$ Player | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature with flying and each player. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/hurricane.jpg Oracle:Hurricane deals X damage to each creature with flying and each player. diff --git a/forge-gui/res/cardsfolder/h/hydra_broodmaster.txt b/forge-gui/res/cardsfolder/h/hydra_broodmaster.txt index b9e5e23244a..7eab813daba 100644 --- a/forge-gui/res/cardsfolder/h/hydra_broodmaster.txt +++ b/forge-gui/res/cardsfolder/h/hydra_broodmaster.txt @@ -4,7 +4,7 @@ Types:Creature Hydra PT:7/7 K:Monstrosity:X:X X G T:Mode$ BecomeMonstrous | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ When CARDNAME becomes monstrous, create X X/X green Hydra creature tokens. -SVar:TrigToken:DB$ Token | TokenAmount$ MonstrosityX | TokenScript$ g_x_x_hydra | TokenOwner$ You | TokenPower$ MonstrosityX | TokenToughness$ MonstrosityX | LegacyImage$ g x x hydra jou | References$ MonstrosityX +SVar:TrigToken:DB$ Token | TokenAmount$ MonstrosityX | TokenScript$ g_x_x_hydra | TokenOwner$ You | TokenPower$ MonstrosityX | TokenToughness$ MonstrosityX | LegacyImage$ g x x hydra jou SVar:X:Count$xPaid SVar:MonstrosityX:TriggerCount$MonstrosityAmount DeckHas:Ability$Counters & Ability$Token diff --git a/forge-gui/res/cardsfolder/h/hydra_omnivore.txt b/forge-gui/res/cardsfolder/h/hydra_omnivore.txt index 722d90fbbe6..805c28353cb 100644 --- a/forge-gui/res/cardsfolder/h/hydra_omnivore.txt +++ b/forge-gui/res/cardsfolder/h/hydra_omnivore.txt @@ -3,7 +3,7 @@ ManaCost:4 G G Types:Creature Hydra PT:8/8 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | CombatDamage$ True | Execute$ TrigDmg | TriggerDescription$ Whenever CARDNAME deals combat damage to an opponent, it deals that much damage to each other opponent. -SVar:TrigDmg:DB$ DamageAll | ValidPlayers$ OppNonTriggeredTarget | NumDmg$ X | References$ X +SVar:TrigDmg:DB$ DamageAll | ValidPlayers$ OppNonTriggeredTarget | NumDmg$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/hydra_omnivore.jpg Oracle:Whenever Hydra Omnivore deals combat damage to an opponent, it deals that much damage to each other opponent. diff --git a/forge-gui/res/cardsfolder/h/hydroblast.txt b/forge-gui/res/cardsfolder/h/hydroblast.txt index 33c8e1568a9..cae4bda95d8 100644 --- a/forge-gui/res/cardsfolder/h/hydroblast.txt +++ b/forge-gui/res/cardsfolder/h/hydroblast.txt @@ -2,7 +2,7 @@ Name:Hydroblast ManaCost:U Types:Instant A:SP$ Charm | Cost$ U | Choices$ DBCounter,DBDestroy | CharmNum$ 1 -SVar:DBCounter:DB$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | AITgts$ Card.Red | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SpellDescription$ Counter target spell if it's red. +SVar:DBCounter:DB$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | AITgts$ Card.Red | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SpellDescription$ Counter target spell if it's red. SVar:DBDestroy:DB$ Destroy | ValidTgts$ Permanent | AITgts$ Card.Red | TgtPrompt$ Select target permanent | ConditionDefined$ Targeted | ConditionPresent$ Card.Red | ConditionCompare$ GE1 | SpellDescription$ Destroy target permanent if it's red. SVar:X:Targeted$Valid Card.Red AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/h/hydroid_krasis.txt b/forge-gui/res/cardsfolder/h/hydroid_krasis.txt index 8abcd05c671..73c4b3ba2b5 100644 --- a/forge-gui/res/cardsfolder/h/hydroid_krasis.txt +++ b/forge-gui/res/cardsfolder/h/hydroid_krasis.txt @@ -3,8 +3,8 @@ ManaCost:X G U Types:Creature Jellyfish Hydra Beast PT:0/0 T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When you cast CARDNAME, you gain half X life and draw half X cards. Round down each time. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ HalfXDown | SubAbility$ DBDraw | References$ HalfXDown -SVar:DBDraw:DB$Draw | NumCards$ HalfXDown | References$ HalfXDown +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ HalfXDown | SubAbility$ DBDraw +SVar:DBDraw:DB$Draw | NumCards$ HalfXDown K:Flying K:Trample K:etbCounter:P1P1:X diff --git a/forge-gui/res/cardsfolder/h/hypnotic_cloud.txt b/forge-gui/res/cardsfolder/h/hypnotic_cloud.txt index 01ca7a4cfd7..2ba4aba496e 100644 --- a/forge-gui/res/cardsfolder/h/hypnotic_cloud.txt +++ b/forge-gui/res/cardsfolder/h/hypnotic_cloud.txt @@ -2,7 +2,7 @@ Name:Hypnotic Cloud ManaCost:1 B Types:Sorcery K:Kicker:4 -A:SP$ Discard | Cost$ 1 B | NumCards$ X | References$ X | ValidTgts$ Player | TgtPrompt$ Select target player | Mode$ TgtChoose | SpellDescription$ Target player discards a card. If this spell was kicked, that player discards three cards instead. +A:SP$ Discard | Cost$ 1 B | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player | Mode$ TgtChoose | SpellDescription$ Target player discards a card. If this spell was kicked, that player discards three cards instead. SVar:X:Count$Kicked.3.1 SVar:NeedsToPlayKickedVar:Z GE2 SVar:Z:Count$ValidHand Card.OppCtrl diff --git a/forge-gui/res/cardsfolder/i/ib_halfheart_goblin_tactician.txt b/forge-gui/res/cardsfolder/i/ib_halfheart_goblin_tactician.txt index 698b80c4007..b50fa45ce5a 100644 --- a/forge-gui/res/cardsfolder/i/ib_halfheart_goblin_tactician.txt +++ b/forge-gui/res/cardsfolder/i/ib_halfheart_goblin_tactician.txt @@ -5,7 +5,7 @@ PT:3/2 A:AB$ Token | Cost$ Sac<2/Mountain> | TokenAmount$ 2 | TokenScript$ r_1_1_goblin | TokenOwner$ You | LegacyImage$ r 1 1 goblin tsp | SpellDescription$ Create two 1/1 red Goblin creature tokens. T:Mode$ AttackerBlocked | ValidCard$ Goblin.YouCtrl+Other | Execute$ HalfHeartTrigSacrifice | TriggerZones$ Battlefield | TriggerDescription$ Whenever another Goblin you control becomes blocked, sacrifice it. If you do, it deals 4 damage to each creature blocking it. SVar:HalfHeartTrigSacrifice:DB$ Sacrifice | SacValid$ TriggeredAttacker | RememberSacrificed$ True | SubAbility$ HalfHeartDBDamage -SVar:HalfHeartDBDamage:DB$ DealDamage | DamageSource$ TriggeredAttacker | NumDmg$ 4 | Defined$ TriggeredBlockers | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X | SubAbility$ DBCleanup +SVar:HalfHeartDBDamage:DB$ DealDamage | DamageSource$ TriggeredAttacker | NumDmg$ 4 | Defined$ TriggeredBlockers | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/i/icatian_moneychanger.txt b/forge-gui/res/cardsfolder/i/icatian_moneychanger.txt index 0a6ca59ccd6..e8a26a7293d 100644 --- a/forge-gui/res/cardsfolder/i/icatian_moneychanger.txt +++ b/forge-gui/res/cardsfolder/i/icatian_moneychanger.txt @@ -7,7 +7,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDealDamage:DB$ DealDamage | Defined$ You | NumDmg$ 3 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a credit counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ CREDIT | CounterNum$ 1 | SpellDescription$ Put a credit counter on CARDNAME. -A:AB$ GainLife | Cost$ Sac<1/CARDNAME> | LifeAmount$ X | PlayerTurn$ True | ActivationPhases$ Upkeep | References$ X | SpellDescription$ You gain life equal to the number of credit counters on CARDNAME. +A:AB$ GainLife | Cost$ Sac<1/CARDNAME> | LifeAmount$ X | PlayerTurn$ True | ActivationPhases$ Upkeep | SpellDescription$ You gain life equal to the number of credit counters on CARDNAME. SVar:X:Count$CardCounters.CREDIT AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/icatian_moneychanger.jpg diff --git a/forge-gui/res/cardsfolder/i/icatian_store.txt b/forge-gui/res/cardsfolder/i/icatian_store.txt index 392f59d3c61..4e3ea7ccb51 100644 --- a/forge-gui/res/cardsfolder/i/icatian_store.txt +++ b/forge-gui/res/cardsfolder/i/icatian_store.txt @@ -5,7 +5,7 @@ K:CARDNAME enters the battlefield tapped. K:You may choose not to untap CARDNAME during your untap step. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+tapped | Execute$ TrigStore | TriggerDescription$ At the beginning of your upkeep, if CARDNAME is tapped, put a storage counter on it. SVar:TrigStore:DB$PutCounter | Defined$ Self | CounterType$ STORAGE | CounterNum$ 1 -A:AB$ Mana | Cost$ T SubCounter | Produced$ W | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | References$ X | AILogic$ ManaRitualBattery | SpellDescription$ Add {W} for each storage counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ W | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | AILogic$ ManaRitualBattery | SpellDescription$ Add {W} for each storage counter removed this way. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Icatian Store enters the battlefield tapped.\nYou may choose not to untap Icatian Store during your untap step.\nAt the beginning of your upkeep, if Icatian Store is tapped, put a storage counter on it.\n{T}, Remove any number of storage counters from Icatian Store: Add {W} for each storage counter removed this way. diff --git a/forge-gui/res/cardsfolder/i/ice_cauldron.txt b/forge-gui/res/cardsfolder/i/ice_cauldron.txt index f6ab7bfa0be..e8a51847111 100644 --- a/forge-gui/res/cardsfolder/i/ice_cauldron.txt +++ b/forge-gui/res/cardsfolder/i/ice_cauldron.txt @@ -1,7 +1,7 @@ Name:Ice Cauldron ManaCost:4 Types:Artifact -A:AB$ PutCounter | Cost$ X T | RememberCostMana$ True | CounterType$ CHARGE | CounterNum$ 1 | CheckSVar$ Y | SVarCompare$ EQ0 | References$ X,Y | SubAbility$ DBExile | SpellDescription$ You may exile a nonland card from your hand. You may cast that card for as long as it remains exiled. Put a charge counter on CARDNAME and note the type and amount of mana spent to pay this activation cost. Activate this ability only if there are no charge counters on CARDNAME. +A:AB$ PutCounter | Cost$ X T | RememberCostMana$ True | CounterType$ CHARGE | CounterNum$ 1 | CheckSVar$ Y | SVarCompare$ EQ0 | SubAbility$ DBExile | SpellDescription$ You may exile a nonland card from your hand. You may cast that card for as long as it remains exiled. Put a charge counter on CARDNAME and note the type and amount of mana spent to pay this activation cost. Activate this ability only if there are no charge counters on CARDNAME. SVar:X:Count$xPaid SVar:Y:Count$CardCounters.CHARGE SVar:DBExile:DB$ ChangeZone | Optional$ True | RememberChanged$ True | Origin$ Hand | Destination$ Exile | ChangeType$ Card.nonLand | ChangeNum$ 1 | SubAbility$ DBEffect diff --git a/forge-gui/res/cardsfolder/i/icebreaker_kraken.txt b/forge-gui/res/cardsfolder/i/icebreaker_kraken.txt index 04658e89bb7..0e303eff3bd 100644 --- a/forge-gui/res/cardsfolder/i/icebreaker_kraken.txt +++ b/forge-gui/res/cardsfolder/i/icebreaker_kraken.txt @@ -2,7 +2,7 @@ Name:Icebreaker Kraken ManaCost:10 U U Types:Snow Creature Kraken PT:8/8 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each snow land you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each snow land you control. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | ValidCards$ Artifact,Creature | Execute$ TrigTapDown | TriggerDescription$ When CARDNAME enters the battlefield, artifacts and creatures target opponent controls don't untap during that player's next untap step. A:AB$ ChangeZone | Cost$ Return<3/Land.Snow> | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return CARDNAME to its owner's hand. SVar:TrigTapDown:DB$ PumpAll | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | ValidCards$ Artifact,Creature | KW$ HIDDEN This card doesn't untap during your next untap step. | Permanent$ True diff --git a/forge-gui/res/cardsfolder/i/ichor_explosion.txt b/forge-gui/res/cardsfolder/i/ichor_explosion.txt index 9eccd01fe93..1a2692a89c5 100644 --- a/forge-gui/res/cardsfolder/i/ichor_explosion.txt +++ b/forge-gui/res/cardsfolder/i/ichor_explosion.txt @@ -1,7 +1,7 @@ Name:Ichor Explosion ManaCost:5 B B Types:Sorcery -A:SP$ PumpAll | Cost$ 5 B B Sac<1/Creature> | ValidCards$ Creature | IsCurse$ True | NumAtt$ -X | NumDef$ -X | References$ X | SpellDescription$ All creatures get -X/-X until end of turn, where X is the sacrificed creature's power. +A:SP$ PumpAll | Cost$ 5 B B Sac<1/Creature> | ValidCards$ Creature | IsCurse$ True | NumAtt$ -X | NumDef$ -X | SpellDescription$ All creatures get -X/-X until end of turn, where X is the sacrificed creature's power. SVar:X:Sacrificed$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/ichor_explosion.jpg diff --git a/forge-gui/res/cardsfolder/i/icy_blast.txt b/forge-gui/res/cardsfolder/i/icy_blast.txt index d3ab9711d23..dfa9b40ce4b 100644 --- a/forge-gui/res/cardsfolder/i/icy_blast.txt +++ b/forge-gui/res/cardsfolder/i/icy_blast.txt @@ -1,7 +1,7 @@ Name:Icy Blast ManaCost:X U Types:Instant -A:SP$ Tap | Cost$ X U | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | TargetMin$ X | TargetMax$ X | References$ X | SubAbility$ DBPump | SpellDescription$ Tap X target creatures. Ferocious — If you control a creature with power 4 or greater, those creatures don't untap during their controllers' next untap steps. +A:SP$ Tap | Cost$ X U | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | TargetMin$ X | TargetMax$ X | SubAbility$ DBPump | SpellDescription$ Tap X target creatures. Ferocious — If you control a creature with power 4 or greater, those creatures don't untap during their controllers' next untap steps. SVar:DBPump:DB$ Pump | Defined$ Targeted | Permanent$ True | KW$ HIDDEN This card doesn't untap during your next untap step. | ConditionPresent$ Creature.YouCtrl+powerGE4 | ConditionCompare$ GE1 SVar:X:Count$xPaid Oracle:Tap X target creatures.\nFerocious — If you control a creature with power 4 or greater, those creatures don't untap during their controllers' next untap steps. diff --git a/forge-gui/res/cardsfolder/i/idle_thoughts.txt b/forge-gui/res/cardsfolder/i/idle_thoughts.txt index df92e561e9b..3246c9b5c14 100644 --- a/forge-gui/res/cardsfolder/i/idle_thoughts.txt +++ b/forge-gui/res/cardsfolder/i/idle_thoughts.txt @@ -1,7 +1,7 @@ Name:Idle Thoughts ManaCost:3 U Types:Enchantment -A:AB$ Draw | Cost$ 2 | NumCards$ 1 | AICheckSVar$ X | AISVarCompare$ EQ0 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SpellDescription$ Draw a card if you have no cards in hand. +A:AB$ Draw | Cost$ 2 | NumCards$ 1 | AICheckSVar$ X | AISVarCompare$ EQ0 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SpellDescription$ Draw a card if you have no cards in hand. SVar:X:Count$InYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/idle_thoughts.jpg Oracle:{2}: Draw a card if you have no cards in hand. diff --git a/forge-gui/res/cardsfolder/i/idol_of_oblivion.txt b/forge-gui/res/cardsfolder/i/idol_of_oblivion.txt index 3ea88f479e8..d88dc8d9498 100644 --- a/forge-gui/res/cardsfolder/i/idol_of_oblivion.txt +++ b/forge-gui/res/cardsfolder/i/idol_of_oblivion.txt @@ -1,7 +1,7 @@ Name:Idol of Oblivion ManaCost:2 Types:Artifact -A:AB$ Draw | Cost$ T | NumCards$ 1 | CheckSVar$ X | References$ X | SpellDescription$ Draw a card. Activate this ability only if you could a token this turn. +A:AB$ Draw | Cost$ T | NumCards$ 1 | CheckSVar$ X | SpellDescription$ Draw a card. Activate this ability only if you could a token this turn. SVar:X:Count$ThisTurnEntered_Battlefield_Card.token+YouCtrl A:AB$ Token | Cost$ 8 T Sac<1/CARDNAME> | TokenAmount$ 1 | TokenScript$ c_10_10_eldrazi | TokenOwner$ You | LegacyImage$ c c 10 eldrazi c19 | SpellDescription$ Create a 10/10 colorless Eldrazi creature token. Oracle:{T}: Draw a card. Activate this ability only if you created a token this turn.\n{8}, {T}, Sacrifice Idol of Oblivion: Create a 10/10 colorless Eldrazi creature token. diff --git a/forge-gui/res/cardsfolder/i/ignite_memories.txt b/forge-gui/res/cardsfolder/i/ignite_memories.txt index 1432990d74a..22da1a379cd 100644 --- a/forge-gui/res/cardsfolder/i/ignite_memories.txt +++ b/forge-gui/res/cardsfolder/i/ignite_memories.txt @@ -3,7 +3,7 @@ ManaCost:4 R Types:Sorcery K:Storm A:SP$ Reveal | Cost$ 4 R | Random$ True | RememberRevealed$ True | ValidTgts$ Player | TgtPrompt$ Select target player | SubAbility$ DBDamage | SpellDescription$ Target player reveals a card at random from their hand. CARDNAME deals damage to that player equal to that card's converted mana cost. -SVar:DBDamage:DB$ DealDamage | NumDmg$ X | Defined$ Targeted | SubAbility$ DBCleanup | References$ X +SVar:DBDamage:DB$ DealDamage | NumDmg$ X | Defined$ Targeted | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/ignite_memories.jpg diff --git a/forge-gui/res/cardsfolder/i/ikra_shidiqi_the_usurper.txt b/forge-gui/res/cardsfolder/i/ikra_shidiqi_the_usurper.txt index 7d29121faa5..561c4a09343 100644 --- a/forge-gui/res/cardsfolder/i/ikra_shidiqi_the_usurper.txt +++ b/forge-gui/res/cardsfolder/i/ikra_shidiqi_the_usurper.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Naga Wizard PT:3/7 K:Menace T:Mode$ DamageDone | ValidSource$ Creature.YouCtrl | ValidTarget$ Player | TriggerZones$ Battlefield | CombatDamage$ True | Execute$ TrigGainLife | TriggerDescription$ Whenever a creature you control deals combat damage to a player, you gain life equal to that creature's toughness. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggeredSource$CardToughness K:Partner DeckHas:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/i/illicit_auction.txt b/forge-gui/res/cardsfolder/i/illicit_auction.txt index 9403456cbda..282f06d0ddb 100644 --- a/forge-gui/res/cardsfolder/i/illicit_auction.txt +++ b/forge-gui/res/cardsfolder/i/illicit_auction.txt @@ -2,7 +2,7 @@ Name:Illicit Auction ManaCost:3 R R Types:Sorcery A:SP$ BidLife | Cost$ 3 R R | ValidTgts$ Creature | AILogic$ Min | AIBidMax$ 8 | BidSubAbility$ DBLoseLife | SpellDescription$ Each player may bid life for control of target creature. You start the bidding with a bid of 0. In turn order, each player may top the high bid. The bidding ends if the high bid stands. The high bidder loses life equal to the high bid and gains control of the creature. (This effect lasts indefinitely.) -SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X | References$ X | SubAbility$ DBControl +SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X | SubAbility$ DBControl SVar:DBControl:DB$ GainControl | Defined$ Targeted | NewController$ Remembered SVar:X:Count$ChosenNumber SVar:Picture:http://www.wizards.com/global/images/magic/general/illicit_auction.jpg diff --git a/forge-gui/res/cardsfolder/i/illuminate.txt b/forge-gui/res/cardsfolder/i/illuminate.txt index eca0e4bbba2..1207cecf3ad 100644 --- a/forge-gui/res/cardsfolder/i/illuminate.txt +++ b/forge-gui/res/cardsfolder/i/illuminate.txt @@ -2,9 +2,9 @@ Name:Illuminate ManaCost:X R K:Kicker:2 R:3 U Types:Sorcery -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DmgController | References$ X | SpellDescription$ CARDNAME deals X damage to target creature. -SVar:DmgController:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | SubAbility$ DrawYou | Condition$ Kicked 1 | References$ X | SpellDescription$ If CARDNAME was kicked with its {2}{R} kicker, it deals X damage to that creature's controller. -SVar:DrawYou:DB$ Draw | NumCards$ X | Defined$ You | References$ X | Condition$ Kicked 2 | SpellDescription$ If CARDNAME was kicked with its {3}{U} kicker, you draw X cards. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DmgController | SpellDescription$ CARDNAME deals X damage to target creature. +SVar:DmgController:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | SubAbility$ DrawYou | Condition$ Kicked 1 | SpellDescription$ If CARDNAME was kicked with its {2}{R} kicker, it deals X damage to that creature's controller. +SVar:DrawYou:DB$ Draw | NumCards$ X | Defined$ You | Condition$ Kicked 2 | SpellDescription$ If CARDNAME was kicked with its {3}{U} kicker, you draw X cards. SVar:X:Count$xPaid DeckHints:Color$Blue SVar:Picture:http://www.wizards.com/global/images/magic/general/illuminate.jpg diff --git a/forge-gui/res/cardsfolder/i/illumination.txt b/forge-gui/res/cardsfolder/i/illumination.txt index a3861e12ebb..34ec05e4d64 100644 --- a/forge-gui/res/cardsfolder/i/illumination.txt +++ b/forge-gui/res/cardsfolder/i/illumination.txt @@ -2,7 +2,7 @@ Name:Illumination ManaCost:W W Types:Instant A:SP$ Counter | Cost$ W W | TargetType$ Spell | TgtPrompt$ Select target Artifact or Enchantment spell | ValidTgts$ Artifact,Enchantment | SubAbility$ DBGainLife | SpellDescription$ Counter target artifact or enchantment spell. Its controller gains life equal to its converted mana cost. -SVar:DBGainLife:DB$ GainLife | Defined$ TargetedController | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ TargetedController | LifeAmount$ X SVar:X:Targeted$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/illumination.jpg Oracle:Counter target artifact or enchantment spell. Its controller gains life equal to its converted mana cost. diff --git a/forge-gui/res/cardsfolder/i/illusionary_mask.txt b/forge-gui/res/cardsfolder/i/illusionary_mask.txt index 0fcdf58dc7e..4ea8aaad417 100644 --- a/forge-gui/res/cardsfolder/i/illusionary_mask.txt +++ b/forge-gui/res/cardsfolder/i/illusionary_mask.txt @@ -1,7 +1,7 @@ Name:Illusionary Mask ManaCost:2 Types:Artifact -A:AB$ Play | Cost$ X | Valid$ Card.Creature+YouOwn+CanPayManaCost | ValidZone$ Hand | WithoutManaCost$ True | Amount$ 1 | Controller$ You | Optional$ True | CastFaceDown$ True | ReplaceIlluMask$ True | References$ X | SorcerySpeed$ True | SpellDescription$ You may choose a creature card in your hand whose mana cost could be paid by some amount of, or all of, the mana you spent on {X}. If you do, you may cast that card face down as a 2/2 creature spell without paying its mana cost. If the creature that spell becomes as it resolves has not been turned face up and would assign or deal damage, be dealt damage, or become tapped, instead it's turned face up and assigns or deals damage, is dealt damage, or becomes tapped. Activate this ability only any time you could cast a sorcery. +A:AB$ Play | Cost$ X | Valid$ Card.Creature+YouOwn+CanPayManaCost | ValidZone$ Hand | WithoutManaCost$ True | Amount$ 1 | Controller$ You | Optional$ True | CastFaceDown$ True | ReplaceIlluMask$ True | SorcerySpeed$ True | SpellDescription$ You may choose a creature card in your hand whose mana cost could be paid by some amount of, or all of, the mana you spent on {X}. If you do, you may cast that card face down as a 2/2 creature spell without paying its mana cost. If the creature that spell becomes as it resolves has not been turned face up and would assign or deal damage, be dealt damage, or become tapped, instead it's turned face up and assigns or deals damage, is dealt damage, or becomes tapped. Activate this ability only any time you could cast a sorcery. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{X}: You may choose a creature card in your hand whose mana cost could be paid by some amount of, or all of, the mana you spent on {X}. If you do, you may cast that card face down as a 2/2 creature spell without paying its mana cost. If the creature that spell becomes as it resolves has not been turned face up and would assign or deal damage, be dealt damage, or become tapped, instead it's turned face up and assigns or deals damage, is dealt damage, or becomes tapped. Activate this ability only any time you could cast a sorcery. diff --git a/forge-gui/res/cardsfolder/i/illusory_ambusher.txt b/forge-gui/res/cardsfolder/i/illusory_ambusher.txt index 13c0b2a2cab..75e0fdf3c2c 100644 --- a/forge-gui/res/cardsfolder/i/illusory_ambusher.txt +++ b/forge-gui/res/cardsfolder/i/illusory_ambusher.txt @@ -4,7 +4,7 @@ Types:Creature Cat Illusion PT:4/1 K:Flash T:Mode$ DamageDoneOnce | Execute$ TrigDraw | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, draw that many cards. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/illusory_ambusher.jpg diff --git a/forge-gui/res/cardsfolder/i/ilysian_caryatid.txt b/forge-gui/res/cardsfolder/i/ilysian_caryatid.txt index b9aec5386e3..25e684355f1 100644 --- a/forge-gui/res/cardsfolder/i/ilysian_caryatid.txt +++ b/forge-gui/res/cardsfolder/i/ilysian_caryatid.txt @@ -2,7 +2,7 @@ Name:Ilysian Caryatid ManaCost:1 G Types:Creature Plant PT:1/1 -A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ X | References$ X, Y | SpellDescription$ Add one mana of any color. If you control a creature with power 4 or greater, add two mana of any one color instead. +A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ X | SpellDescription$ Add one mana of any color. If you control a creature with power 4 or greater, add two mana of any one color instead. SVar:X:Count$Compare Y GE1.2.1 SVar:Y:Count$Valid Creature.YouCtrl+powerGE4 Oracle:{T}: Add one mana of any color. If you control a creature with power 4 or greater, add two mana of any one color instead. diff --git a/forge-gui/res/cardsfolder/i/imaginary_threats.txt b/forge-gui/res/cardsfolder/i/imaginary_threats.txt index 98bd9185ef8..7baeb901eb8 100644 --- a/forge-gui/res/cardsfolder/i/imaginary_threats.txt +++ b/forge-gui/res/cardsfolder/i/imaginary_threats.txt @@ -1,7 +1,7 @@ Name:Imaginary Threats ManaCost:2 U U Types:Instant -A:SP$ Effect | Cost$ 2 U U | Name$ Imaginary Threats Effect 1 | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | StaticAbilities$ MustAttack | References$ MustAttack | RememberObjects$ Targeted | SubAbility$ DBEffect | SpellDescription$ Creatures target player controls attack this turn if able. +A:SP$ Effect | Cost$ 2 U U | Name$ Imaginary Threats Effect 1 | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | StaticAbilities$ MustAttack | RememberObjects$ Targeted | SubAbility$ DBEffect | SpellDescription$ Creatures target player controls attack this turn if able. SVar:MustAttack:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.RememberedPlayerCtrl | AddHiddenKeyword$ CARDNAME attacks each combat if able. | Description$ Creatures target opponent controls attack this turn if able. SVar:DBEffect:DB$ Effect | IsCurse$ True | StaticAbilities$ DontUntap | Triggers$ RemoveEffect | SVars$ ExileEffect | Duration$ Permanent | RememberObjects$ Targeted | Name$ Imaginary Threats Effect 2 | SubAbility$ DBCleanup | SpellDescription$ During that player's next untap step, creatures they control don't untap. SVar:DontUntap:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Battlefield | Affected$ Creature.RememberedPlayerCtrl | AddHiddenKeyword$ This card doesn't untap during your next untap step. | Description$ Creatures target opponent controls don't untap during their next untap step. diff --git a/forge-gui/res/cardsfolder/i/immaculate_magistrate.txt b/forge-gui/res/cardsfolder/i/immaculate_magistrate.txt index 03234a419de..013f394901a 100644 --- a/forge-gui/res/cardsfolder/i/immaculate_magistrate.txt +++ b/forge-gui/res/cardsfolder/i/immaculate_magistrate.txt @@ -2,7 +2,7 @@ Name:Immaculate Magistrate ManaCost:3 G Types:Creature Elf Shaman PT:2/2 -A:AB$ PutCounter | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X | References$ X | SpellDescription$ Put a +1/+1 counter on target creature for each Elf you control. +A:AB$ PutCounter | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X | SpellDescription$ Put a +1/+1 counter on target creature for each Elf you control. SVar:X:Count$Valid Elf.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/immaculate_magistrate.jpg Oracle:{T}: Put a +1/+1 counter on target creature for each Elf you control. diff --git a/forge-gui/res/cardsfolder/i/immersturm.txt b/forge-gui/res/cardsfolder/i/immersturm.txt index 565f47463a1..398b213df88 100644 --- a/forge-gui/res/cardsfolder/i/immersturm.txt +++ b/forge-gui/res/cardsfolder/i/immersturm.txt @@ -2,7 +2,7 @@ Name:Immersturm ManaCost:no cost Types:Plane Valla T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature | TriggerZones$ Command | Execute$ TrigDamage | OptionalDecider$ TriggeredCardController | TriggerDescription$ Whenever a creature enters the battlefield, that creature's controller may have it deal damage equal to its power to any target of their choice. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ Y | References$ Y | DamageSource$ TriggeredCard | TargetingPlayer$ TriggeredCardController +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ Y | DamageSource$ TriggeredCard | TargetingPlayer$ TriggeredCardController SVar:Y:TriggeredCard$CardPower T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, exile target creature, then return it to the battlefield under its owner's control. SVar:RolledChaos:DB$ ChangeZone | ValidTgts$ Creature | Origin$ Battlefield | Destination$ Exile | RememberTargets$ True | SubAbility$ RestorationReturn diff --git a/forge-gui/res/cardsfolder/i/imminent_doom.txt b/forge-gui/res/cardsfolder/i/imminent_doom.txt index 3ba393f9d95..06598bd0537 100644 --- a/forge-gui/res/cardsfolder/i/imminent_doom.txt +++ b/forge-gui/res/cardsfolder/i/imminent_doom.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Enchantment K:etbCounter:DOOM:1 T:Mode$ SpellCast | ValidCard$ Card.cmcEQX | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever you cast a spell with converted mana cost equal to the number of doom counters on CARDNAME, CARDNAME deals that much damage to any target. Then put a doom counter on CARDNAME. -SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ Y | References$ Y | SubAbility$ DBPutCounter +SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ Y | SubAbility$ DBPutCounter SVar:DBPutCounter:DB$PutCounter | Defined$ Self | CounterType$ DOOM | CounterNum$ 1 SVar:X:Count$CardCounters.DOOM SVar:Y:TriggerCount$CastSACMC diff --git a/forge-gui/res/cardsfolder/i/immolating_gyre.txt b/forge-gui/res/cardsfolder/i/immolating_gyre.txt index 13f45e7d32b..5da870b05fb 100755 --- a/forge-gui/res/cardsfolder/i/immolating_gyre.txt +++ b/forge-gui/res/cardsfolder/i/immolating_gyre.txt @@ -1,7 +1,7 @@ Name:Immolating Gyre ManaCost:4 R R Types:Sorcery -A:SP$ DamageAll | Cost$ 4 R R | ValidCards$ Creature.YouDontCtrl,Planeswalker.YouDontCtrl | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature and planeswalker you don't control, where X is the number of instant and sorcery cards in your graveyard. +A:SP$ DamageAll | Cost$ 4 R R | ValidCards$ Creature.YouDontCtrl,Planeswalker.YouDontCtrl | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature and planeswalker you don't control, where X is the number of instant and sorcery cards in your graveyard. SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn DeckNeeds:Type$Instant|Sorcery Oracle:Immolating Gyre deals X damage to each creature and planeswalker you don't control, where X is the number of instant and sorcery cards in your graveyard. diff --git a/forge-gui/res/cardsfolder/i/immortal_coil.txt b/forge-gui/res/cardsfolder/i/immortal_coil.txt index 37d8c083b95..0de3d2adcd0 100644 --- a/forge-gui/res/cardsfolder/i/immortal_coil.txt +++ b/forge-gui/res/cardsfolder/i/immortal_coil.txt @@ -3,7 +3,7 @@ ManaCost:2 B B Types:Artifact A:AB$ Draw | Cost$ T ExileFromGrave<2/Card> | CostDesc$ {T}, Exile two cards from your graveyard: | NumCards$ 1 | SpellDescription$ Draw a card. R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ You | ReplaceWith$ ChangeZone | PreventionEffect$ True | Description$ If damage would be dealt to you, prevent that damage. Exile a card from your graveyard for each 1 damage prevented this way. -SVar:ChangeZone:DB$ ChangeZone | Hidden$ True | Mandatory$ True | ChangeType$ Card | ChangeNum$ X | DefinedPlayer$ ReplacedTarget | Origin$ Graveyard | Destination$ Exile | References$ X +SVar:ChangeZone:DB$ ChangeZone | Hidden$ True | Mandatory$ True | ChangeType$ Card | ChangeNum$ X | DefinedPlayer$ ReplacedTarget | Origin$ Graveyard | Destination$ Exile T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Card.YouCtrl | PresentZone$ Graveyard | PresentCompare$ EQ0 | Execute$ TrigLoseGame | TriggerDescription$ When there are no cards in your graveyard, you lose the game. SVar:TrigLoseGame:DB$ LosesGame | Defined$ You SVar:X:ReplaceCount$DamageAmount diff --git a/forge-gui/res/cardsfolder/i/immortal_servitude.txt b/forge-gui/res/cardsfolder/i/immortal_servitude.txt index ea0cf823529..0c99ad7b5ca 100644 --- a/forge-gui/res/cardsfolder/i/immortal_servitude.txt +++ b/forge-gui/res/cardsfolder/i/immortal_servitude.txt @@ -1,7 +1,7 @@ Name:Immortal Servitude ManaCost:X WB WB WB Types:Sorcery -A:SP$ ChangeZoneAll | Cost$ X WB WB WB | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.YouOwn+cmcEQX | References$ X | SpellDescription$ Return each creature with converted mana cost X from your graveyard to the battlefield. +A:SP$ ChangeZoneAll | Cost$ X WB WB WB | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.YouOwn+cmcEQX | SpellDescription$ Return each creature with converted mana cost X from your graveyard to the battlefield. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/immortal_servitude.jpg Oracle:Return each creature card with converted mana cost X from your graveyard to the battlefield. diff --git a/forge-gui/res/cardsfolder/i/impelled_giant.txt b/forge-gui/res/cardsfolder/i/impelled_giant.txt index 926d8813f63..77958b96eff 100644 --- a/forge-gui/res/cardsfolder/i/impelled_giant.txt +++ b/forge-gui/res/cardsfolder/i/impelled_giant.txt @@ -3,7 +3,7 @@ ManaCost:4 R R Types:Creature Giant Warrior PT:3/3 K:Trample -A:AB$ Pump | Cost$ tapXType<1/Creature.Red+Other/other red creature> | Defined$ Self | NumAtt$ +X | References$ X | SpellDescription$ CARDNAME gets +X/+0 until end of turn, where X is the power of the creature tapped this way. +A:AB$ Pump | Cost$ tapXType<1/Creature.Red+Other/other red creature> | Defined$ Self | NumAtt$ +X | SpellDescription$ CARDNAME gets +X/+0 until end of turn, where X is the power of the creature tapped this way. SVar:X:Tapped$CardPower AI:RemoveDeck:All Oracle:Trample\nTap an untapped red creature you control other than Impelled Giant: Impelled Giant gets +X/+0 until end of turn, where X is the power of the creature tapped this way. diff --git a/forge-gui/res/cardsfolder/i/impetuous_protege.txt b/forge-gui/res/cardsfolder/i/impetuous_protege.txt index 1d953e979ad..ac65fc892e4 100644 --- a/forge-gui/res/cardsfolder/i/impetuous_protege.txt +++ b/forge-gui/res/cardsfolder/i/impetuous_protege.txt @@ -4,7 +4,7 @@ Types:Creature Human Warrior PT:0/4 K:Partner:Proud Mentor T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +X/+0 until end of turn, where X is the greatest power among tapped creatures your opponents control. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$GreatestPower_Creature.tapped+OppCtrl DeckHints:Name$Proud Mentor SVar:Picture:http://www.wizards.com/global/images/magic/general/impetuous_protege.jpg diff --git a/forge-gui/res/cardsfolder/i/imps_mischief.txt b/forge-gui/res/cardsfolder/i/imps_mischief.txt index 645b07da1ae..7243c478342 100644 --- a/forge-gui/res/cardsfolder/i/imps_mischief.txt +++ b/forge-gui/res/cardsfolder/i/imps_mischief.txt @@ -2,7 +2,7 @@ Name:Imp's Mischief ManaCost:1 B Types:Instant A:SP$ ChangeTargets | Cost$ 1 B | TargetType$ Spell | ValidTgts$ Card | TargetsSingleTarget$ True | RememberTargetedCard$ True | SubAbility$ DBLoseLife | SpellDescription$ Change the target of target spell with a single target. You lose life equal to that spell's converted mana cost. -SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/i/impulsive_maneuvers.txt b/forge-gui/res/cardsfolder/i/impulsive_maneuvers.txt index 85e0abfc060..1063f295c28 100644 --- a/forge-gui/res/cardsfolder/i/impulsive_maneuvers.txt +++ b/forge-gui/res/cardsfolder/i/impulsive_maneuvers.txt @@ -4,12 +4,12 @@ Types:Enchantment T:Mode$ Attacks | ValidCard$ Creature | Execute$ CoinFlip | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature attacks, flip a coin. If you win the flip, the next time that creature would deal combat damage this turn, it deals double that damage instead. If you lose the flip, the next time that creature would deal combat damage this turn, prevent that damage. SVar:CoinFlip:DB$ FlipACoin | WinSubAbility$ CreateWinEffect | LoseSubAbility$ CreateLossEffect # Winning Effect -SVar:CreateWinEffect:DB$ Effect | Name$ Impulsive Maneuvers Win Effect | ReplacementEffects$ EventWinDamageDone | SVars$ DmgTwice,WinX,ExileEffect | References$ EventWinDamageDone,DmgTwice,WinX | ImprintCards$ TriggeredAttacker +SVar:CreateWinEffect:DB$ Effect | Name$ Impulsive Maneuvers Win Effect | ReplacementEffects$ EventWinDamageDone | SVars$ DmgTwice,WinX,ExileEffect | ImprintCards$ TriggeredAttacker SVar:EventWinDamageDone:Event$ DamageDone | ValidSource$ Card.IsImprinted | IsCombat$ True | ReplaceWith$ DmgTwice | Description$ The next time creature would deal combat damage this turn, it deals double that damage instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ WinX | References$ WinX | SubAbility$ ExileEffect +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ WinX | SubAbility$ ExileEffect SVar:WinX:ReplaceCount$DamageAmount/Twice # Losing Effect -SVar:CreateLossEffect:DB$ Effect | Name$ Impulsive Maneuvers Loss Effect | ReplacementEffects$ EventLossDamageDone | SVars$ ExileEffect | References$ EventLossDamageDone,ExileEffect | ImprintCards$ TriggeredAttacker +SVar:CreateLossEffect:DB$ Effect | Name$ Impulsive Maneuvers Loss Effect | ReplacementEffects$ EventLossDamageDone | SVars$ ExileEffect | ImprintCards$ TriggeredAttacker SVar:EventLossDamageDone:Event$ DamageDone | ValidSource$ Card.IsImprinted | ReplaceWith$ ExileEffect | PreventionEffect$ True | IsCombat$ True | Description$ The next time creature would deal combat damage this turn, prevent that damage. SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/i/in_the_eye_of_chaos.txt b/forge-gui/res/cardsfolder/i/in_the_eye_of_chaos.txt index d3abfa45903..678321de39c 100644 --- a/forge-gui/res/cardsfolder/i/in_the_eye_of_chaos.txt +++ b/forge-gui/res/cardsfolder/i/in_the_eye_of_chaos.txt @@ -2,7 +2,7 @@ Name:In the Eye of Chaos ManaCost:2 U Types:World Enchantment T:Mode$ SpellCast | ValidCard$ Instant | Execute$ TrigCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a player casts an instant spell, counter it unless that player pays {X}, where X is its converted mana cost. -SVar:TrigCounter:DB$Counter | Defined$ TriggeredSpellAbility | UnlessCost$ X | UnlessPayer$ TriggeredActivator | References$ X +SVar:TrigCounter:DB$Counter | Defined$ TriggeredSpellAbility | UnlessCost$ X | UnlessPayer$ TriggeredActivator SVar:X:TriggeredCard$CardManaCost AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/in_the_eye_of_chaos.jpg diff --git a/forge-gui/res/cardsfolder/i/iname_death_aspect.txt b/forge-gui/res/cardsfolder/i/iname_death_aspect.txt index 2dbf6e64096..0f66d597b25 100644 --- a/forge-gui/res/cardsfolder/i/iname_death_aspect.txt +++ b/forge-gui/res/cardsfolder/i/iname_death_aspect.txt @@ -3,7 +3,7 @@ ManaCost:4 B B Types:Legendary Creature Spirit PT:4/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may search your library for any number of Spirit cards and put them into your graveyard. If you do, shuffle your library. -SVar:TrigChangeZone:DB$ ChangeZone | ChangeType$ Spirit.YouCtrl | Origin$ Library | Destination$ Graveyard | ChangeNum$ X | Shuffle$ True | References$ X | ShuffleNonMandatory$ True +SVar:TrigChangeZone:DB$ ChangeZone | ChangeType$ Spirit.YouCtrl | Origin$ Library | Destination$ Graveyard | ChangeNum$ X | Shuffle$ True | ShuffleNonMandatory$ True SVar:X:Count$TypeInYourLibrary.Spirit AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/iname_death_aspect.jpg diff --git a/forge-gui/res/cardsfolder/i/iname_life_aspect.txt b/forge-gui/res/cardsfolder/i/iname_life_aspect.txt index 77d73788cfd..eefc0c03c38 100644 --- a/forge-gui/res/cardsfolder/i/iname_life_aspect.txt +++ b/forge-gui/res/cardsfolder/i/iname_life_aspect.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Spirit PT:4/4 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigExile | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, you may exile it. If you do, return any number of target Spirit cards from your graveyard to your hand. SVar:TrigExile:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | Defined$ TriggeredNewCardLKICopy | Optional$ True | RememberChanged$ True | SubAbility$ DBReturn -SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Spirit | TargetsWithDefinedController$ TriggeredCardController | TargetMin$ 0 | TargetMax$ X | References$ X | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup +SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Spirit | TargetsWithDefinedController$ TriggeredCardController | TargetMin$ 0 | TargetMax$ X | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:TriggeredCardController$ValidGraveyard Spirit.YouCtrl AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/i/incendiary.txt b/forge-gui/res/cardsfolder/i/incendiary.txt index 842c1728cfa..bd9370abf77 100644 --- a/forge-gui/res/cardsfolder/i/incendiary.txt +++ b/forge-gui/res/cardsfolder/i/incendiary.txt @@ -6,7 +6,7 @@ A:SP$ Attach | Cost$ R | ValidTgts$ Creature | AILogic$ Pump T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a fuse counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ FUSE | CounterNum$ 1 T:Mode$ ChangesZone | ValidCard$ Card.AttachedBy | Origin$ Any | Destination$ Graveyard | Execute$ TrigDamage | TriggerDescription$ When enchanted creature dies, CARDNAME deals X damage to any target, where X is the number of fuse counters on CARDNAME. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$CardCounters.FUSE SVar:Picture:http://www.wizards.com/global/images/magic/general/incendiary.jpg Oracle:Enchant creature\nAt the beginning of your upkeep, you may put a fuse counter on Incendiary.\nWhen enchanted creature dies, Incendiary deals X damage to any target, where X is the number of fuse counters on Incendiary. diff --git a/forge-gui/res/cardsfolder/i/incendiary_command.txt b/forge-gui/res/cardsfolder/i/incendiary_command.txt index aa7c4f180d2..d6373c1b10a 100644 --- a/forge-gui/res/cardsfolder/i/incendiary_command.txt +++ b/forge-gui/res/cardsfolder/i/incendiary_command.txt @@ -7,7 +7,7 @@ SVar:DBDamageC:DB$ DamageAll | ValidCards$ Creature | NumDmg$ 2 | SpellDescripti SVar:DBDestroy:DB$ Destroy | ValidTgts$ Land.nonBasic | TgtPrompt$ Select target nonbasic land | SpellDescription$ Destroy target nonbasic land. SVar:DBDiscard:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBIncendiaryDiscard | SubAbility$ DBIncendiaryDraw | SpellDescription$ Each player discards all the cards in their hand, then draws that many cards. SVar:DBIncendiaryDiscard:DB$ Discard | Defined$ Player.IsRemembered | Mode$ Hand | RememberDiscarded$ True | SubAbility$ DBIncendiaryDraw -SVar:DBIncendiaryDraw:DB$ Draw | NumCards$ X | Defined$ Player.IsRemembered | References$ X | SubAbility$ CleanIncendiary +SVar:DBIncendiaryDraw:DB$ Draw | NumCards$ X | Defined$ Player.IsRemembered | SubAbility$ CleanIncendiary SVar:CleanIncendiary:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount/Minus.1 SVar:Picture:http://resources.wizards.com/magic/cards/lrw/en/card141830.jpg diff --git a/forge-gui/res/cardsfolder/i/incite_rebellion.txt b/forge-gui/res/cardsfolder/i/incite_rebellion.txt index 18fed9e519e..4e32eadb6d3 100644 --- a/forge-gui/res/cardsfolder/i/incite_rebellion.txt +++ b/forge-gui/res/cardsfolder/i/incite_rebellion.txt @@ -2,7 +2,7 @@ Name:Incite Rebellion ManaCost:4 R R Types:Sorcery A:SP$ RepeatEach | Cost$ 4 R R | RepeatPlayers$ Player | RepeatSubAbility$ DmgEach | DamageMap$ True | SpellDescription$ For each player, CARDNAME deals damage to that player and each creature that player controls equal to the number of creatures they control. -SVar:DmgEach:DB$ DamageAll | ValidPlayers$ Remembered | ValidCards$ Creature.RememberedPlayerCtrl | NumDmg$ X | References$ X +SVar:DmgEach:DB$ DamageAll | ValidPlayers$ Remembered | ValidCards$ Creature.RememberedPlayerCtrl | NumDmg$ X SVar:X:Count$Valid Creature.RememberedPlayerCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/incite_rebellion.jpg diff --git a/forge-gui/res/cardsfolder/i/incite_war.txt b/forge-gui/res/cardsfolder/i/incite_war.txt index 48c54383cbe..427de581d6e 100644 --- a/forge-gui/res/cardsfolder/i/incite_war.txt +++ b/forge-gui/res/cardsfolder/i/incite_war.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Instant K:Entwine:2 A:SP$ Charm | Cost$ 2 R | Choices$ DBEffect,DBPumpAll | CharmNum$ 1 -SVar:DBEffect:DB$ Effect | Name$ Incite War Effect | ValidTgts$ Player | TgtPrompt$ Select target player | StaticAbilities$ MustAttack | References$ MustAttack | RememberObjects$ Targeted | SpellDescription$ Creatures target player controls attack this turn if able. +SVar:DBEffect:DB$ Effect | Name$ Incite War Effect | ValidTgts$ Player | TgtPrompt$ Select target player | StaticAbilities$ MustAttack | RememberObjects$ Targeted | SpellDescription$ Creatures target player controls attack this turn if able. SVar:MustAttack:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.RememberedPlayerCtrl | AddHiddenKeyword$ CARDNAME attacks each combat if able. | Description$ Creatures target player controls attack this turn if able. SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ First Strike | SpellDescription$ Creatures you control gain first strike until end of turn. AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/i/incoming.txt b/forge-gui/res/cardsfolder/i/incoming.txt index bdb276417aa..deb118568ef 100644 --- a/forge-gui/res/cardsfolder/i/incoming.txt +++ b/forge-gui/res/cardsfolder/i/incoming.txt @@ -2,5 +2,5 @@ Name:Incoming! ManaCost:4 G G G G Types:Sorcery SVar:X:Count$ValidLibrary Card -A:SP$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Artifact,Creature,Enchantment,Land | DefinedPlayer$ Player | ChangeNum$ X | References$ X | Shuffle$ True | SpellDescription$ Each player searches their library for any number of artifact, creature, enchantment, and/or land cards, puts them onto the battlefield, then shuffles their library. +A:SP$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Artifact,Creature,Enchantment,Land | DefinedPlayer$ Player | ChangeNum$ X | Shuffle$ True | SpellDescription$ Each player searches their library for any number of artifact, creature, enchantment, and/or land cards, puts them onto the battlefield, then shuffles their library. Oracle:Each player searches their library for any number of artifact, creature, enchantment, and/or land cards, puts them onto the battlefield, then shuffles their library. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/i/increasing_ambition.txt b/forge-gui/res/cardsfolder/i/increasing_ambition.txt index 9c0c4747b61..f0be626792d 100644 --- a/forge-gui/res/cardsfolder/i/increasing_ambition.txt +++ b/forge-gui/res/cardsfolder/i/increasing_ambition.txt @@ -2,7 +2,7 @@ Name:Increasing Ambition ManaCost:4 B Types:Sorcery K:Flashback:7 B -A:SP$ ChangeZone | Cost$ 4 B | Origin$ Library | Destination$ Hand | ChangeType$ Card | ChangeNum$ X | Mandatory$ True | References$ X | SpellDescription$ Search your library for a card and put that card into your hand. If this spell was cast from a graveyard, instead search your library for two cards and put them into your hand. Then shuffle your library. +A:SP$ ChangeZone | Cost$ 4 B | Origin$ Library | Destination$ Hand | ChangeType$ Card | ChangeNum$ X | Mandatory$ True | SpellDescription$ Search your library for a card and put that card into your hand. If this spell was cast from a graveyard, instead search your library for two cards and put them into your hand. Then shuffle your library. SVar:X:Count$wasCastFromGraveyard.2.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/increasing_ambition.jpg Oracle:Search your library for a card and put that card into your hand. If this spell was cast from a graveyard, instead search your library for two cards and put those cards into your hand. Then shuffle your library.\nFlashback {7}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.) diff --git a/forge-gui/res/cardsfolder/i/increasing_confusion.txt b/forge-gui/res/cardsfolder/i/increasing_confusion.txt index a6083cc6b39..a11b8f92f1f 100644 --- a/forge-gui/res/cardsfolder/i/increasing_confusion.txt +++ b/forge-gui/res/cardsfolder/i/increasing_confusion.txt @@ -2,7 +2,7 @@ Name:Increasing Confusion ManaCost:X U Types:Sorcery K:Flashback:X U -A:SP$ Mill | Cost$ X U | NumCards$ Z | ValidTgts$ Player | TgtPrompt$ Choose a player | References$ X,Y,Z | SpellDescription$ Target player mills X cards. If this spell was cast from a graveyard, that player puts twice as many cards into their graveyard instead. +A:SP$ Mill | Cost$ X U | NumCards$ Z | ValidTgts$ Player | TgtPrompt$ Choose a player | SpellDescription$ Target player mills X cards. If this spell was cast from a graveyard, that player puts twice as many cards into their graveyard instead. SVar:Z:SVar$X/Times.Y SVar:X:Count$xPaid SVar:Y:wasCastFromGraveyard.2.1 diff --git a/forge-gui/res/cardsfolder/i/increasing_devotion.txt b/forge-gui/res/cardsfolder/i/increasing_devotion.txt index 31f95bbe046..a143bed1da3 100644 --- a/forge-gui/res/cardsfolder/i/increasing_devotion.txt +++ b/forge-gui/res/cardsfolder/i/increasing_devotion.txt @@ -2,7 +2,7 @@ Name:Increasing Devotion ManaCost:3 W W Types:Sorcery K:Flashback:7 W W -A:SP$ Token | Cost$ 3 W W | TokenAmount$ X | TokenScript$ w_1_1_human | LegacyImage$ w 1 1 human dka | TokenOwner$ You | References$ X | SpellDescription$ Create five 1/1 white Human creature tokens. If this spell was cast from a graveyard, create ten of those tokens instead. +A:SP$ Token | Cost$ 3 W W | TokenAmount$ X | TokenScript$ w_1_1_human | LegacyImage$ w 1 1 human dka | TokenOwner$ You | SpellDescription$ Create five 1/1 white Human creature tokens. If this spell was cast from a graveyard, create ten of those tokens instead. SVar:X:Count$wasCastFromGraveyard.10.5 DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/increasing_devotion.jpg diff --git a/forge-gui/res/cardsfolder/i/increasing_savagery.txt b/forge-gui/res/cardsfolder/i/increasing_savagery.txt index 4eb9d8216b2..94aa8b2dc0e 100644 --- a/forge-gui/res/cardsfolder/i/increasing_savagery.txt +++ b/forge-gui/res/cardsfolder/i/increasing_savagery.txt @@ -2,7 +2,7 @@ Name:Increasing Savagery ManaCost:2 G G Types:Sorcery K:Flashback:5 G G -A:SP$ PutCounter | Cost$ 2 G G | CounterNum$ X | CounterType$ P1P1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | References$ X | SpellDescription$ Put five +1/+1 counters on target creature. If this spell was cast from a graveyard, put ten +1/+1 counters on that creature instead. +A:SP$ PutCounter | Cost$ 2 G G | CounterNum$ X | CounterType$ P1P1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Put five +1/+1 counters on target creature. If this spell was cast from a graveyard, put ten +1/+1 counters on that creature instead. SVar:X:Count$wasCastFromGraveyard.10.5 SVar:Picture:http://www.wizards.com/global/images/magic/general/increasing_savagery.jpg Oracle:Put five +1/+1 counters on target creature. If this spell was cast from a graveyard, put ten +1/+1 counters on that creature instead.\nFlashback {5}{G}{G} (You may cast this card from your graveyard for its flashback cost. Then exile it.) diff --git a/forge-gui/res/cardsfolder/i/increasing_vengeance.txt b/forge-gui/res/cardsfolder/i/increasing_vengeance.txt index 0b1ff154886..28859dfe4fa 100644 --- a/forge-gui/res/cardsfolder/i/increasing_vengeance.txt +++ b/forge-gui/res/cardsfolder/i/increasing_vengeance.txt @@ -2,6 +2,6 @@ Name:Increasing Vengeance ManaCost:R R Types:Instant K:Flashback:3 R R -A:SP$ CopySpellAbility | Cost$ R R | ValidTgts$ Instant.YouCtrl,Sorcery.YouCtrl | TargetType$ Spell | Amount$ X | References$ X | MayChooseTarget$ True | SpellDescription$ Copy target instant or sorcery spell you control. If this spell was cast from a graveyard, copy that spell twice instead. You may choose new targets for the copies. +A:SP$ CopySpellAbility | Cost$ R R | ValidTgts$ Instant.YouCtrl,Sorcery.YouCtrl | TargetType$ Spell | Amount$ X | MayChooseTarget$ True | SpellDescription$ Copy target instant or sorcery spell you control. If this spell was cast from a graveyard, copy that spell twice instead. You may choose new targets for the copies. SVar:X:Count$wasCastFromGraveyard.2.1 Oracle:Copy target instant or sorcery spell you control. If this spell was cast from a graveyard, copy that spell twice instead. You may choose new targets for the copies.\nFlashback {3}{R}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.) diff --git a/forge-gui/res/cardsfolder/i/incubation_druid.txt b/forge-gui/res/cardsfolder/i/incubation_druid.txt index 52a530c18f0..cd9d27f8bec 100644 --- a/forge-gui/res/cardsfolder/i/incubation_druid.txt +++ b/forge-gui/res/cardsfolder/i/incubation_druid.txt @@ -3,7 +3,7 @@ ManaCost:1 G Types:Creature Elf Druid PT:0/2 K:Adapt:3:3 G G -A:AB$ ManaReflected | Cost$ T | ColorOrType$ Type | Valid$ Land.YouCtrl | Amount$ IncubationAmount | ReflectProperty$ Produce | References$ IncubationAmount,Y | SpellDescription$ Add one mana of any type that a land you control could produce. If CARDNAME has a +1/+1 counter on it, add three mana of that type instead. +A:AB$ ManaReflected | Cost$ T | ColorOrType$ Type | Valid$ Land.YouCtrl | Amount$ IncubationAmount | ReflectProperty$ Produce | SpellDescription$ Add one mana of any type that a land you control could produce. If CARDNAME has a +1/+1 counter on it, add three mana of that type instead. SVar:Y:Count$Valid Card.Self+counters_GE1_P1P1 SVar:IncubationAmount:Count$Compare Y GE1.3.1 DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/i/indomitable_creativity.txt b/forge-gui/res/cardsfolder/i/indomitable_creativity.txt index b543e2f0d29..22c790afcf8 100644 --- a/forge-gui/res/cardsfolder/i/indomitable_creativity.txt +++ b/forge-gui/res/cardsfolder/i/indomitable_creativity.txt @@ -1,7 +1,7 @@ Name:Indomitable Creativity ManaCost:X R R R Types:Sorcery -A:SP$ Destroy | Cost$ X R R R | ValidTgts$ Artifact,Creature | TargetMin$ X | TargetMax$ X | TgtPrompt$ Select X target artifacts and/or creatures | Origin$ Battlefield | Destination$ Graveyard | RememberDestroyed$ True | References$ X | SubAbility$ DBTransform | StackDescription$ Destroy {c:Targeted}. | SpellDescription$ Destroy X target artifacts and/or creatures. For each permanent destroyed this way, its controller reveals cards from the top of their library until an artifact or creature card is revealed and exiles that card. Those players put the exiled cards onto the battlefield, then shuffle their libraries. +A:SP$ Destroy | Cost$ X R R R | ValidTgts$ Artifact,Creature | TargetMin$ X | TargetMax$ X | TgtPrompt$ Select X target artifacts and/or creatures | Origin$ Battlefield | Destination$ Graveyard | RememberDestroyed$ True | SubAbility$ DBTransform | StackDescription$ Destroy {c:Targeted}. | SpellDescription$ Destroy X target artifacts and/or creatures. For each permanent destroyed this way, its controller reveals cards from the top of their library until an artifact or creature card is revealed and exiles that card. Those players put the exiled cards onto the battlefield, then shuffle their libraries. SVar:DBTransform:DB$ RepeatEach | UseImprinted$ True | DefinedCards$ DirectRemembered | ChooseOrder$ True | RepeatSubAbility$ DBReveal | SubAbility$ DBPutOnBattlefield | StackDescription$ For each permanent destroyed this way, its controller reveals cards from the top of their library until an artifact or creature card is revealed and exiles that card. Those players put the exiled cards onto the battlefield, then shuffle their libraries. SVar:DBReveal:DB$ DigUntil | Defined$ ImprintedController | Amount$ 1 | Valid$ Artifact,Creature | ValidDescription$ artifact or creature | RevealedDestination$ Library | RevealedLibraryPosition$ 0 | RevealRandomOrder$ True | FoundDestination$ Exile | RememberFound$ True | SubAbility$ DBForget SVar:DBForget:DB$ Pump | ForgetObjects$ Imprinted | SubAbility$ DBCleanup diff --git a/forge-gui/res/cardsfolder/i/induce_despair.txt b/forge-gui/res/cardsfolder/i/induce_despair.txt index f14c8720466..182543fcb7f 100644 --- a/forge-gui/res/cardsfolder/i/induce_despair.txt +++ b/forge-gui/res/cardsfolder/i/induce_despair.txt @@ -1,7 +1,7 @@ Name:Induce Despair ManaCost:2 B Types:Instant -A:SP$ Pump | Cost$ 2 B Reveal<1/Creature> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the revealed card's converted mana cost. +A:SP$ Pump | Cost$ 2 B Reveal<1/Creature> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the revealed card's converted mana cost. SVar:X:Revealed$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/induce_despair.jpg diff --git a/forge-gui/res/cardsfolder/i/induce_paranoia.txt b/forge-gui/res/cardsfolder/i/induce_paranoia.txt index 73b8cbab39e..eda75d93c87 100644 --- a/forge-gui/res/cardsfolder/i/induce_paranoia.txt +++ b/forge-gui/res/cardsfolder/i/induce_paranoia.txt @@ -2,7 +2,7 @@ Name:Induce Paranoia ManaCost:2 U U Types:Instant A:SP$ Counter | Cost$ 2 U U | TargetType$ Spell | ValidTgts$ Card | RememberCounteredCMC$ True | SubAbility$ DBMill | SpellDescription$ Counter target spell. If {B} was spent to cast this spell, that spell's controller mills X cards, where X is the spell's converted mana cost. -SVar:DBMill:DB$ Mill | NumCards$ X | Defined$ TargetedController | ConditionManaSpent$ B | References$ X | SubAbility$ DBCleanup +SVar:DBMill:DB$ Mill | NumCards$ X | Defined$ TargetedController | ConditionManaSpent$ B | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedNumber SVar:ManaNeededToAvoidNegativeEffect:black diff --git a/forge-gui/res/cardsfolder/i/induced_amnesia.txt b/forge-gui/res/cardsfolder/i/induced_amnesia.txt index 0e2a989a2bc..ec23ad04e8f 100644 --- a/forge-gui/res/cardsfolder/i/induced_amnesia.txt +++ b/forge-gui/res/cardsfolder/i/induced_amnesia.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, target player exiles all cards from their hand face down. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigReturn | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return the exiled cards to their owner's hand. SVar:TrigExile:DB$ ChangeZoneAll | ValidTgts$ Player | TgtPrompt$ Select target player | ChangeType$ Card | Origin$ Hand | Destination$ Exile | ExileFaceDown$ True | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ DBDraw | SpellDescription$ Target player exiles all cards from their hand face down, then draws that many cards. -SVar:DBDraw:DB$ Draw | Defined$ Targeted | NumCards$ X | References$ X +SVar:DBDraw:DB$ Draw | Defined$ Targeted | NumCards$ X SVar:X:Count$RememberedSize SVar:TrigReturn:DB$ ChangeZoneAll | Origin$ Exile | ChangeType$ Card.IsRemembered | Destination$ Hand SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/i/infernal_contract.txt b/forge-gui/res/cardsfolder/i/infernal_contract.txt index b95058d733b..a9e6f02e135 100644 --- a/forge-gui/res/cardsfolder/i/infernal_contract.txt +++ b/forge-gui/res/cardsfolder/i/infernal_contract.txt @@ -2,7 +2,7 @@ Name:Infernal Contract ManaCost:B B B Types:Sorcery A:SP$ Draw | Cost$ B B B | NumCards$ 4 | SubAbility$ DBLoseLife | SpellDescription$ Draw four cards. You lose half your life, rounded up. -SVar:DBLoseLife:DB$LoseLife | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$LoseLife | LifeAmount$ X SVar:X:Count$YourLifeTotal/HalfUp SVar:Picture:http://www.wizards.com/global/images/magic/general/infernal_contract.jpg Oracle:Draw four cards. You lose half your life, rounded up. diff --git a/forge-gui/res/cardsfolder/i/infernal_genesis.txt b/forge-gui/res/cardsfolder/i/infernal_genesis.txt index 2aaaba8d5fd..bb4218f35a0 100644 --- a/forge-gui/res/cardsfolder/i/infernal_genesis.txt +++ b/forge-gui/res/cardsfolder/i/infernal_genesis.txt @@ -3,7 +3,7 @@ ManaCost:4 B B Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ At the beginning of each player's upkeep, that player mills a card. Then they create X 1/1 black Minion creature tokens, where X is the milled card's converted mana cost. SVar:TrigMill:DB$ Mill | Defined$ TriggeredPlayer | NumCards$ 1 | RememberMilled$ True | SubAbility$ TrigToken -SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ b_1_1_minion | TokenOwner$ TriggeredPlayer | SubAbility$ DBCleanup | References$ X +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ b_1_1_minion | TokenOwner$ TriggeredPlayer | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/i/infernal_kirin.txt b/forge-gui/res/cardsfolder/i/infernal_kirin.txt index 304a4f4209d..b01591e7392 100644 --- a/forge-gui/res/cardsfolder/i/infernal_kirin.txt +++ b/forge-gui/res/cardsfolder/i/infernal_kirin.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Kirin Spirit PT:3/3 K:Flying T:Mode$ SpellCast | ValidCard$ Spirit,Arcane | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ Whenever you cast a Spirit or Arcane spell, target player reveals their hand and discards all cards with that spell's converted mana cost. -SVar:TrigDiscard:DB$Discard | ValidTgts$ Player | Mode$ RevealDiscardAll | DiscardValid$ Card.cmcEQX | References$ X +SVar:TrigDiscard:DB$Discard | ValidTgts$ Player | Mode$ RevealDiscardAll | DiscardValid$ Card.cmcEQX SVar:X:TriggerCount$CastSACMC SVar:Picture:http://www.wizards.com/global/images/magic/general/infernal_kirin.jpg Oracle:Flying\nWhenever you cast a Spirit or Arcane spell, target player reveals their hand and discards all cards with that spell's converted mana cost. diff --git a/forge-gui/res/cardsfolder/i/infernal_offering.txt b/forge-gui/res/cardsfolder/i/infernal_offering.txt index 10e582e4be9..39090272fda 100644 --- a/forge-gui/res/cardsfolder/i/infernal_offering.txt +++ b/forge-gui/res/cardsfolder/i/infernal_offering.txt @@ -4,7 +4,7 @@ Types:Sorcery A:SP$ ChoosePlayer | Cost$ 4 B | Defined$ You | Choices$ Player.Opponent | SubAbility$ DBSac | SpellDescription$ Choose an opponent. You and that player each sacrifice a creature. Each player who sacrificed a creature this way draws two cards. Choose an opponent. Return a creature card from your graveyard to the battlefield, then that player returns a creature card from their graveyard to the battlefield. SVar:DBSac:DB$ Sacrifice | Defined$ ChosenAndYou | SacValid$ Creature | RememberSacrificed$ True | SubAbility$ DBRepeat SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ ChosenAndYou | RepeatSubAbility$ DBDraw | SubAbility$ DBChoose -SVar:DBDraw:DB$ Draw | Defined$ Player.IsRemembered | NumCards$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +SVar:DBDraw:DB$ Draw | Defined$ Player.IsRemembered | NumCards$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:RememberedLKI$Valid Creature.RememberedPlayerCtrl SVar:DBChoose:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | SubAbility$ DBReturnYou SVar:DBReturnYou:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.YouCtrl | ChangeNum$ 1 | Hidden$ True | SubAbility$ DBReturnOpp diff --git a/forge-gui/res/cardsfolder/i/infernal_reckoning.txt b/forge-gui/res/cardsfolder/i/infernal_reckoning.txt index 7ba12823abd..ba9ae5f329b 100644 --- a/forge-gui/res/cardsfolder/i/infernal_reckoning.txt +++ b/forge-gui/res/cardsfolder/i/infernal_reckoning.txt @@ -2,7 +2,7 @@ Name:Infernal Reckoning ManaCost:B Types:Instant A:SP$ ChangeZone | Cost$ B | ValidTgts$ Creature.Colorless | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Exile | RememberLKI$ True | SpellDescription$ Exile target colorless creature. You gain life equal to its power. | StackDescription$ SpellDescription | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardPower Oracle:Exile target colorless creature. You gain life equal to its power. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/i/infernal_tutor.txt b/forge-gui/res/cardsfolder/i/infernal_tutor.txt index bb0354dc38e..4da1194ddeb 100644 --- a/forge-gui/res/cardsfolder/i/infernal_tutor.txt +++ b/forge-gui/res/cardsfolder/i/infernal_tutor.txt @@ -1,9 +1,9 @@ Name:Infernal Tutor ManaCost:1 B Types:Sorcery -A:SP$ Reveal | Cost$ 1 B | RememberRevealed$ True | Defined$ You | SubAbility$ DBChangeZone | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SpellDescription$ Reveal a card from your hand. Search your library for a card with the same name as that card, reveal it, put it into your hand, then shuffle your library. Hellbent — If you have no cards in hand, instead search your library for a card, put it into your hand, then shuffle your library. -SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Remembered.sameName | ChangeNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBChangeZone2 | References$ X -SVar:DBChangeZone2:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card | ChangeNum$ 1 | Mandatory$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup | References$ X +A:SP$ Reveal | Cost$ 1 B | RememberRevealed$ True | Defined$ You | SubAbility$ DBChangeZone | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SpellDescription$ Reveal a card from your hand. Search your library for a card with the same name as that card, reveal it, put it into your hand, then shuffle your library. Hellbent — If you have no cards in hand, instead search your library for a card, put it into your hand, then shuffle your library. +SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Remembered.sameName | ChangeNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBChangeZone2 +SVar:DBChangeZone2:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card | ChangeNum$ 1 | Mandatory$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$InYourHand AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/i/inferno_trap.txt b/forge-gui/res/cardsfolder/i/inferno_trap.txt index 4e51a0b3380..f170117162a 100644 --- a/forge-gui/res/cardsfolder/i/inferno_trap.txt +++ b/forge-gui/res/cardsfolder/i/inferno_trap.txt @@ -1,7 +1,7 @@ Name:Inferno Trap ManaCost:3 R Types:Instant Trap -SVar:AltCost:Cost$ R | CheckSVar$ CreaturesAttacked | References$ CreaturesAttacked | SVarCompare$ GE2 | Description$ If you've been dealt damage by two or more creatures this turn, you may pay {R} rather than pay this spell's mana cost. +SVar:AltCost:Cost$ R | CheckSVar$ CreaturesAttacked | SVarCompare$ GE2 | Description$ If you've been dealt damage by two or more creatures this turn, you may pay {R} rather than pay this spell's mana cost. A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to target creature. SVar:CreaturesAttacked:Count$YourDamageSourcesThisTurn Creature AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/i/information_dealer.txt b/forge-gui/res/cardsfolder/i/information_dealer.txt index acf0f0ad761..a8930ae7bb1 100644 --- a/forge-gui/res/cardsfolder/i/information_dealer.txt +++ b/forge-gui/res/cardsfolder/i/information_dealer.txt @@ -2,7 +2,7 @@ Name:Information Dealer ManaCost:1 U Types:Creature Human Wizard PT:1/1 -A:AB$ RearrangeTopOfLibrary | Cost$ T | Defined$ You | NumCards$ X | References$ X | SpellDescription$ Look at the top X cards of your library, where X is the number of Wizards on the battlefield, then put them back in any order. +A:AB$ RearrangeTopOfLibrary | Cost$ T | Defined$ You | NumCards$ X | SpellDescription$ Look at the top X cards of your library, where X is the number of Wizards on the battlefield, then put them back in any order. SVar:X:Count$TypeYouCtrl.Wizard SVar:Picture:http://www.wizards.com/global/images/magic/general/information_dealer.jpg Oracle:{T}: Look at the top X cards of your library, where X is the number of Wizards on the battlefield, then put them back in any order. diff --git a/forge-gui/res/cardsfolder/i/infuse_with_the_elements.txt b/forge-gui/res/cardsfolder/i/infuse_with_the_elements.txt index 5e63734338d..a3b2a95692d 100644 --- a/forge-gui/res/cardsfolder/i/infuse_with_the_elements.txt +++ b/forge-gui/res/cardsfolder/i/infuse_with_the_elements.txt @@ -1,7 +1,7 @@ Name:Infuse with the Elements ManaCost:3 G Types:Instant -A:SP$ PutCounter | Cost$ 3 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBPump | SpellDescription$ Converge — Put X +1/+1 counters on target creature, where X is the number of colors of mana spent to cast this spell. That creature gains trample until end of turn. +A:SP$ PutCounter | Cost$ 3 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBPump | SpellDescription$ Converge — Put X +1/+1 counters on target creature, where X is the number of colors of mana spent to cast this spell. That creature gains trample until end of turn. SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ Trample SVar:X:Count$Converge AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/i/infused_arrows.txt b/forge-gui/res/cardsfolder/i/infused_arrows.txt index 032c143a681..9ce38876b20 100644 --- a/forge-gui/res/cardsfolder/i/infused_arrows.txt +++ b/forge-gui/res/cardsfolder/i/infused_arrows.txt @@ -2,7 +2,7 @@ Name:Infused Arrows ManaCost:4 Types:Artifact K:Sunburst -A:AB$ Pump | Cost$ T SubCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | References$ X | SpellDescription$ Target creature gets -X/-X until end of turn. +A:AB$ Pump | Cost$ T SubCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | SpellDescription$ Target creature gets -X/-X until end of turn. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:NeedsToPlayVar:Z GE1 diff --git a/forge-gui/res/cardsfolder/i/ink_eyes_servant_of_oni_avatar.txt b/forge-gui/res/cardsfolder/i/ink_eyes_servant_of_oni_avatar.txt index 119cfd89dd5..0b654fcc725 100644 --- a/forge-gui/res/cardsfolder/i/ink_eyes_servant_of_oni_avatar.txt +++ b/forge-gui/res/cardsfolder/i/ink_eyes_servant_of_oni_avatar.txt @@ -4,7 +4,7 @@ Types:Vanguard HandLifeModifier:+0/-3 T:Mode$ NewGame | Execute$ TrigDiscard | TriggerZones$ Command | TriggerDescription$ At the beginning of the game, look at target opponent's hand and choose a nonland card from it. That player discards that card. SVar:TrigDiscard:DB$ Discard | ValidTgts$ Opponent | Mode$ RevealYouChoose | NumCards$ 1 | DiscardValid$ Card.nonLand -A:AB$ ChangeZone | ActivationZone$ Command | Cost$ X PayLife | References$ X | ValidTgts$ Creature.OppOwn+cmcEQX | TgtPrompt$ Select target creature with converted mana cost X from an opponent's graveyard | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | SpellDescription$ Put target creature card with converted mana cost X from an opponent's graveyard onto the battlefield under your control. +A:AB$ ChangeZone | ActivationZone$ Command | Cost$ X PayLife | ValidTgts$ Creature.OppOwn+cmcEQX | TgtPrompt$ Select target creature with converted mana cost X from an opponent's graveyard | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | SpellDescription$ Put target creature card with converted mana cost X from an opponent's graveyard onto the battlefield under your control. SVar:X:Count$xPaid SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Ink-Eyes, Servant of Oni Avatar.full.jpg Oracle:Hand +0, life -3\nAt the beginning of the game, look at target opponent's hand and choose a nonland card from it. That player discards that card.\n{X}, Pay X life: Put target creature card with converted mana cost X from an opponent's graveyard onto the battlefield under your control. diff --git a/forge-gui/res/cardsfolder/i/inner_calm_outer_strength.txt b/forge-gui/res/cardsfolder/i/inner_calm_outer_strength.txt index 807f10188a0..faf244c875e 100644 --- a/forge-gui/res/cardsfolder/i/inner_calm_outer_strength.txt +++ b/forge-gui/res/cardsfolder/i/inner_calm_outer_strength.txt @@ -1,7 +1,7 @@ Name:Inner Calm, Outer Strength ManaCost:2 G Types:Instant Arcane -A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of cards in your hand. +A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of cards in your hand. SVar:X:Count$CardsInYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/inner_calm_outer_strength.jpg Oracle:Target creature gets +X/+X until end of turn, where X is the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/i/inner_fire.txt b/forge-gui/res/cardsfolder/i/inner_fire.txt index d94f22239a6..8b3d1ec4bcb 100644 --- a/forge-gui/res/cardsfolder/i/inner_fire.txt +++ b/forge-gui/res/cardsfolder/i/inner_fire.txt @@ -1,7 +1,7 @@ Name:Inner Fire ManaCost:3 R Types:Sorcery -A:SP$ Mana | Cost$ 3 R | Produced$ R | Amount$ X | References$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {R} for each card in your hand. +A:SP$ Mana | Cost$ 3 R | Produced$ R | Amount$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {R} for each card in your hand. SVar:X:Count$CardsInYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/inner_fire.jpg Oracle:Add {R} for each card in your hand. diff --git a/forge-gui/res/cardsfolder/i/inner_struggle.txt b/forge-gui/res/cardsfolder/i/inner_struggle.txt index a7c31202b6f..fb207307fc8 100644 --- a/forge-gui/res/cardsfolder/i/inner_struggle.txt +++ b/forge-gui/res/cardsfolder/i/inner_struggle.txt @@ -1,7 +1,7 @@ Name:Inner Struggle ManaCost:3 R Types:Instant -A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | DamageSource$ Targeted | NumDmg$ X | References$ X | SpellDescription$ Target creature deals damage to itself equal to its power. +A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | DamageSource$ Targeted | NumDmg$ X | SpellDescription$ Target creature deals damage to itself equal to its power. SVar:X:Targeted$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/inner_struggle.jpg diff --git a/forge-gui/res/cardsfolder/i/inquisition.txt b/forge-gui/res/cardsfolder/i/inquisition.txt index 9cbbb72d5b5..ece8a9ca022 100644 --- a/forge-gui/res/cardsfolder/i/inquisition.txt +++ b/forge-gui/res/cardsfolder/i/inquisition.txt @@ -2,7 +2,7 @@ Name:Inquisition ManaCost:2 B Types:Sorcery A:SP$ RevealHand | Cost$ 2 B | ValidTgts$ Player | TgtPrompt$ Select target player | RememberRevealed$ True | SubAbility$ Damage | SpellDescription$ Target player reveals their hand. CARDNAME deals damage to that player equal to the number of white cards in their hand. -SVar:Damage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | References$ X +SVar:Damage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X SVar:X:Remembered$Valid Card.White AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/inquisition.jpg diff --git a/forge-gui/res/cardsfolder/i/inquisitors_flail.txt b/forge-gui/res/cardsfolder/i/inquisitors_flail.txt index 7cfda56b370..ab07069c547 100644 --- a/forge-gui/res/cardsfolder/i/inquisitors_flail.txt +++ b/forge-gui/res/cardsfolder/i/inquisitors_flail.txt @@ -4,7 +4,7 @@ Types:Artifact Equipment K:Equip:2 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Creature.EquippedBy | ReplaceWith$ DmgTwice | IsCombat$ True | Description$ If equipped creature would deal combat damage, it deals double that damage instead. R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Creature.EquippedBy | ValidSource$ Creature.Other | ReplaceWith$ DmgTwice | IsCombat$ True | Description$ If another creature would deal combat damage to equipped creature, it deals double that damage to equipped creature instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/inquisitors_flail.jpg Oracle:If equipped creature would deal combat damage, it deals double that damage instead.\nIf another creature would deal combat damage to equipped creature, it deals double that damage to equipped creature instead.\nEquip {2} diff --git a/forge-gui/res/cardsfolder/i/insatiable_appetite.txt b/forge-gui/res/cardsfolder/i/insatiable_appetite.txt index 76b7f9914c3..6d4fbd24a85 100644 --- a/forge-gui/res/cardsfolder/i/insatiable_appetite.txt +++ b/forge-gui/res/cardsfolder/i/insatiable_appetite.txt @@ -2,7 +2,7 @@ Name:Insatiable Appetite ManaCost:1 G Types:Instant A:SP$ Sacrifice | Cost$ 1 G | SacValid$ Food | Optional$ True | RememberSacrificed$ True | SubAbility$ DBPump | SpellDescription$ You may sacrifice a Food. If you do, target creature gets +5/+5 until end of turn. Otherwise, that creature gets +3/+3 until end of turn. -SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target Creature | NumAtt$ +X | NumDef$ +X | References$ X,Y | SubAbility$ DBCleanup +SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target Creature | NumAtt$ +X | NumDef$ +X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Compare Y GE1.5.3 SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/i/insatiable_hemophage.txt b/forge-gui/res/cardsfolder/i/insatiable_hemophage.txt index 05f7a5776e2..d686e120d94 100644 --- a/forge-gui/res/cardsfolder/i/insatiable_hemophage.txt +++ b/forge-gui/res/cardsfolder/i/insatiable_hemophage.txt @@ -5,7 +5,7 @@ PT:3/3 K:Mutate:2 B K:Deathtouch T:Mode$ Mutates | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerDescription$ Whenever this creature mutates, each opponent loses X life and you gain X life, where X is the number of times this creature has mutated. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ Opponent | LifeAmount$ X | References$ X | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ Opponent | LifeAmount$ X | SubAbility$ DBGainLife +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$TimesMutated Oracle:Mutate {2}{B} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.)\nDeathtouch\nWhenever this creature mutates, each opponent loses X life and you gain X life, where X is the number of times this creature has mutated. diff --git a/forge-gui/res/cardsfolder/i/inscription_of_abundance.txt b/forge-gui/res/cardsfolder/i/inscription_of_abundance.txt index 7db043ce032..405700effd4 100644 --- a/forge-gui/res/cardsfolder/i/inscription_of_abundance.txt +++ b/forge-gui/res/cardsfolder/i/inscription_of_abundance.txt @@ -2,9 +2,9 @@ Name:Inscription of Abundance ManaCost:1 G Types:Instant K:Kicker:2 G -A:SP$ Charm | Cost$ 1 G | MinCharmNum$ X | CharmNum$ Y | References$ X,Y | Choices$ DBPutCounter,DBGainLife,DBPump | AdditionalDescription$ . If this spell was kicked, choose any number instead. +A:SP$ Charm | Cost$ 1 G | MinCharmNum$ X | CharmNum$ Y | Choices$ DBPutCounter,DBGainLife,DBPump | AdditionalDescription$ . If this spell was kicked, choose any number instead. SVar:DBPutCounter:DB$ PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ 2 | SpellDescription$ Put two +1/+1 counters on target creature. -SVar:DBGainLife:DB$ GainLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ Z | References$ Z | SpellDescription$ Target player gains X life, where X is the greatest power among creatures they control. +SVar:DBGainLife:DB$ GainLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ Z | SpellDescription$ Target player gains X life, where X is the greatest power among creatures they control. SVar:DBPump:DB$ Pump | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | AILogic$ Fight | SubAbility$ DBFight | SpellDescription$ Target creature you control fights target creature you don't control. SVar:DBFight:DB$ Fight | Defined$ ParentTarget | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creature you don't control SVar:X:Count$Kicked.0.1 diff --git a/forge-gui/res/cardsfolder/i/inscription_of_insight.txt b/forge-gui/res/cardsfolder/i/inscription_of_insight.txt index 99fdd26d561..42ff823bc6f 100644 --- a/forge-gui/res/cardsfolder/i/inscription_of_insight.txt +++ b/forge-gui/res/cardsfolder/i/inscription_of_insight.txt @@ -2,11 +2,11 @@ Name:Inscription of Insight ManaCost:3 U Types:Sorcery K:Kicker:2 U U -A:SP$ Charm | Cost$ 3 U | MinCharmNum$ X | CharmNum$ Y | References$ X,Y | Choices$ DBReturn,DBScry,DBToken | AdditionalDescription$ . If this spell was kicked, choose any number instead. +A:SP$ Charm | Cost$ 3 U | MinCharmNum$ X | CharmNum$ Y | Choices$ DBReturn,DBScry,DBToken | AdditionalDescription$ . If this spell was kicked, choose any number instead. SVar:DBReturn:DB$ ChangeZone | TargetMin$ 0 | TargetMax$ 2 | ValidTgts$ Creature | TgtPrompt$ Select up to two target creatures | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return up to two target creatures to their owners' hands. SVar:DBScry:DB$ Scry | ScryNum$ 2 | SubAbility$ DBDraw | SpellDescription$ Scry 2, then draw two cards. SVar:DBDraw:DB$ Draw | NumCards$ 2 -SVar:DBToken:DB$ Token | ValidTgts$ Player | TgtPrompt$ Select target player | TokenAmount$ 1 | TokenScript$ u_x_x_illusion | TokenOwner$ TargetedPlayer | TokenPower$ Z | TokenToughness$ Z | References$ Z | SpellDescription$ Target player creates an X/X blue Illusion creature token, where X is the number of cards in their hand. +SVar:DBToken:DB$ Token | ValidTgts$ Player | TgtPrompt$ Select target player | TokenAmount$ 1 | TokenScript$ u_x_x_illusion | TokenOwner$ TargetedPlayer | TokenPower$ Z | TokenToughness$ Z | SpellDescription$ Target player creates an X/X blue Illusion creature token, where X is the number of cards in their hand. SVar:X:Count$Kicked.0.1 SVar:Y:Count$Kicked.3.1 SVar:Z:TargetedPlayer$CardsInHand diff --git a/forge-gui/res/cardsfolder/i/inscription_of_ruin.txt b/forge-gui/res/cardsfolder/i/inscription_of_ruin.txt index 0b97ab202ba..40432c94526 100644 --- a/forge-gui/res/cardsfolder/i/inscription_of_ruin.txt +++ b/forge-gui/res/cardsfolder/i/inscription_of_ruin.txt @@ -2,7 +2,7 @@ Name:Inscription of Ruin ManaCost:2 B Types:Sorcery K:Kicker:2 B B -A:SP$ Charm | Cost$ 2 B | MinCharmNum$ X | CharmNum$ Y | References$ X,Y | Choices$ DBDiscard,DBReturn,DBDestroy | AdditionalDescription$ . If this spell was kicked, choose any number instead. +A:SP$ Charm | Cost$ 2 B | MinCharmNum$ X | CharmNum$ Y | Choices$ DBDiscard,DBReturn,DBDestroy | AdditionalDescription$ . If this spell was kicked, choose any number instead. SVar:DBDiscard:DB$ Discard | ValidTgts$ Opponent | NumCards$ 2 | Mode$ TgtChoose | SpellDescription$ Target opponent discards two cards. SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Card.Creature+cmcLE2+YouOwn | TgtPrompt$ Select target creature card with converted mana cost 2 or less | SpellDescription$ Return target creature card with converted mana cost 2 or less from your graveyard to the battlefield. SVar:DBDestroy:DB$ Destroy | ValidTgts$ Creature.cmcLE3 | TgtPrompt$ Select target creature with converted mana cost 3 or less | SpellDescription$ Destroy target creature with converted mana cost 3 or less. diff --git a/forge-gui/res/cardsfolder/i/insidious_dreams.txt b/forge-gui/res/cardsfolder/i/insidious_dreams.txt index 6008e27fd9f..1c3eb14e931 100644 --- a/forge-gui/res/cardsfolder/i/insidious_dreams.txt +++ b/forge-gui/res/cardsfolder/i/insidious_dreams.txt @@ -1,7 +1,7 @@ Name:Insidious Dreams ManaCost:3 B Types:Instant -A:SP$ ChangeZone | Cost$ 3 B Discard | Origin$ Library | Destination$ Library | ChangeType$ Card | ChangeNum$ X | LibraryPosition$ 0 | References$ X | SpellDescription$ Search your library for X cards. Then shuffle your library and put those cards on top of it in any order. +A:SP$ ChangeZone | Cost$ 3 B Discard | Origin$ Library | Destination$ Library | ChangeType$ Card | ChangeNum$ X | LibraryPosition$ 0 | SpellDescription$ Search your library for X cards. Then shuffle your library and put those cards on top of it in any order. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, discard X cards.\nSearch your library for X cards. Then shuffle your library and put those cards on top of it in any order. diff --git a/forge-gui/res/cardsfolder/i/inspired_sphinx.txt b/forge-gui/res/cardsfolder/i/inspired_sphinx.txt index 04911c31949..7c20b81e080 100644 --- a/forge-gui/res/cardsfolder/i/inspired_sphinx.txt +++ b/forge-gui/res/cardsfolder/i/inspired_sphinx.txt @@ -4,7 +4,7 @@ Types:Creature Sphinx PT:5/5 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw cards equal to the number of opponents you have. -SVar:TrigDraw:DB$ Draw | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | NumCards$ X A:AB$ Token | Cost$ 3 U | TokenOwner$ You | TokenAmount$ 1 | TokenScript$ c_1_1_a_thopter_flying | LegacyImage$ c 1 1 a thopter flying gnt | SpellDescription$ Create a 1/1 colorless Thopter artifact creature token with flying. SVar:X:PlayerCountOpponents$Amount Oracle:Flying\nWhen Inspired Sphinx enters the battlefield, draw cards equal to the number of opponents you have.\n{3}{U}: Create a 1/1 colorless Thopter artifact creature token with flying. diff --git a/forge-gui/res/cardsfolder/i/inspiring_call.txt b/forge-gui/res/cardsfolder/i/inspiring_call.txt index ee0916a01cd..cfd644c71aa 100644 --- a/forge-gui/res/cardsfolder/i/inspiring_call.txt +++ b/forge-gui/res/cardsfolder/i/inspiring_call.txt @@ -1,7 +1,7 @@ Name:Inspiring Call ManaCost:2 G Types:Instant -A:SP$ Draw | Cost$ 2 G | NumCards$ X | References$ X | SubAbility$ DBPumpAll | SpellDescription$ Draw a card for each creature you control with a +1/+1 counter on it. Those creatures gain indestructible until end of turn. +A:SP$ Draw | Cost$ 2 G | NumCards$ X | SubAbility$ DBPumpAll | SpellDescription$ Draw a card for each creature you control with a +1/+1 counter on it. Those creatures gain indestructible until end of turn. SVar:X:Count$Valid Creature.YouCtrl+counters_GE1_P1P1 SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl+counters_GE1_P1P1 | KW$ Indestructible AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/i/inspiring_vantage.txt b/forge-gui/res/cardsfolder/i/inspiring_vantage.txt index ee61da7f174..707880bdca0 100644 --- a/forge-gui/res/cardsfolder/i/inspiring_vantage.txt +++ b/forge-gui/res/cardsfolder/i/inspiring_vantage.txt @@ -2,7 +2,7 @@ Name:Inspiring Vantage ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. SVar:ETBCheckSVar2:Count$LastStateBattlefield Land.YouCtrl A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R}. A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add {W}. diff --git a/forge-gui/res/cardsfolder/i/instigator.txt b/forge-gui/res/cardsfolder/i/instigator.txt index f095bd95dde..31b7fa14b8e 100644 --- a/forge-gui/res/cardsfolder/i/instigator.txt +++ b/forge-gui/res/cardsfolder/i/instigator.txt @@ -2,7 +2,7 @@ Name:Instigator ManaCost:1 B Types:Creature Human Spellshaper PT:1/1 -A:AB$ Effect | Cost$ 1 B B T Discard<1/Card> | Name$ Instigator Effect | ValidTgts$ Player | TgtPrompt$ Select target player | StaticAbilities$ AttackThisTurn | References$ AttackThisTurn | RememberObjects$ Targeted | SpellDescription$ Creatures target player controls attack this turn if able. +A:AB$ Effect | Cost$ 1 B B T Discard<1/Card> | Name$ Instigator Effect | ValidTgts$ Player | TgtPrompt$ Select target player | StaticAbilities$ AttackThisTurn | RememberObjects$ Targeted | SpellDescription$ Creatures target player controls attack this turn if able. SVar:AttackThisTurn:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.RememberedPlayerCtrl | AddHiddenKeyword$ CARDNAME attacks each combat if able. | Description$ Creatures targeted player controls attack this turn if able. AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/Instigator.jpg diff --git a/forge-gui/res/cardsfolder/i/insult_injury.txt b/forge-gui/res/cardsfolder/i/insult_injury.txt index a869929dc9b..f7d28b87fc0 100644 --- a/forge-gui/res/cardsfolder/i/insult_injury.txt +++ b/forge-gui/res/cardsfolder/i/insult_injury.txt @@ -5,7 +5,7 @@ Types:Sorcery A:SP$ Effect | Cost$ 2 R | Name$ Insult Effect | StaticAbilities$ STCantPrevent | ReplacementEffects$ InsultDamageEvent | SVars$ DmgTwice,X | SpellDescription$ Damage can't be prevented this turn. If a source you control would deal damage this turn, it deals double that damage instead. SVar:STCantPrevent:Mode$ CantPreventDamage | EffectZone$ Command | Description$ Damage can't be prevented. SVar:InsultDamageEvent:Event$ DamageDone | ValidSource$ Card.YouCtrl,Emblem.YouCtrl | ReplaceWith$ DmgTwice | Description$ If a source you control would deal damage this turn, it deals double that damage instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/insult_injury.jpg diff --git a/forge-gui/res/cardsfolder/i/interpret_the_signs.txt b/forge-gui/res/cardsfolder/i/interpret_the_signs.txt index c86f62a9fd1..973321cdaa9 100644 --- a/forge-gui/res/cardsfolder/i/interpret_the_signs.txt +++ b/forge-gui/res/cardsfolder/i/interpret_the_signs.txt @@ -3,7 +3,7 @@ ManaCost:5 U Types:Sorcery A:SP$ Scry | Cost$ 5 U | ScryNum$ 3 | SubAbility$ DBReveal | SpellDescription$ Scry 3, then reveal the top card of your library. Draw cards equal to that card's converted mana cost. SVar:DBReveal:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ X SVar:X:Count$TopOfLibraryCMC SVar:Picture:http://www.wizards.com/global/images/magic/general/interpret_the_signs.jpg Oracle:Scry 3, then reveal the top card of your library. Draw cards equal to that card's converted mana cost. (To scry 3, look at the top three cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.) diff --git a/forge-gui/res/cardsfolder/i/intervention_pact.txt b/forge-gui/res/cardsfolder/i/intervention_pact.txt index ae0acb898a4..008ceb7fed7 100644 --- a/forge-gui/res/cardsfolder/i/intervention_pact.txt +++ b/forge-gui/res/cardsfolder/i/intervention_pact.txt @@ -5,7 +5,7 @@ Colors:white A:SP$ ChooseSource | Cost$ 0 | Choices$ Card | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice would deal damage to you this turn, prevent that damage. You gain life equal to the damage prevented this way. At the beginning of your next upkeep, pay {1}{W}{W}. If you don't, you lose the game. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventNextFromSource | RememberObjects$ Remembered | SVars$ RPreventNextFromSource,ExileEffect,GainLifeInstead,X | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 SVar:RPreventNextFromSource:Event$ DamageDone | ValidSource$ Card.IsRemembered | ValidTarget$ You | ReplaceWith$ GainLifeInstead | PreventionEffect$ True | Description$ The next time the chosen source deals damage to you, prevent that damage. You gain life equal to the damage prevented this way. -SVar:GainLifeInstead:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ ExileEffect | References$ X +SVar:GainLifeInstead:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:X:ReplaceCount$DamageAmount SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBDelTrig diff --git a/forge-gui/res/cardsfolder/i/invade_the_city.txt b/forge-gui/res/cardsfolder/i/invade_the_city.txt index 735bec1bf26..7416051dc5c 100644 --- a/forge-gui/res/cardsfolder/i/invade_the_city.txt +++ b/forge-gui/res/cardsfolder/i/invade_the_city.txt @@ -1,7 +1,7 @@ Name:Invade the City ManaCost:1 U R Types:Sorcery -A:SP$ Amass | Cost$ 1 U R | Num$ X | References$ X | SpellDescription$ Amass X, where X is the number of instant and sorcery cards in your graveyard. (Put X +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.) +A:SP$ Amass | Cost$ 1 U R | Num$ X | SpellDescription$ Amass X, where X is the number of instant and sorcery cards in your graveyard. (Put X +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.) DeckNeeds:Type$Instant|Sorcery DeckHints:Ability$Amass & Type$Zombie DeckHas:Ability$Amass & Ability$Counters & Ability$Token diff --git a/forge-gui/res/cardsfolder/i/invasive_surgery.txt b/forge-gui/res/cardsfolder/i/invasive_surgery.txt index b680509c8ce..f3a78e4376f 100644 --- a/forge-gui/res/cardsfolder/i/invasive_surgery.txt +++ b/forge-gui/res/cardsfolder/i/invasive_surgery.txt @@ -2,9 +2,9 @@ Name:Invasive Surgery ManaCost:U Types:Instant A:SP$ Counter | Cost$ U | TargetType$ Spell | ValidTgts$ Sorcery | RememberCountered$ True | SubAbility$ ExileYard | SpellDescription$ Counter target sorcery spell. Delirium — If there are four or more card types amongst cards in your graveyard, search the graveyard, hand, and library of that spell's controller for cards with the same name as that spell, exile those cards, then that player shuffles their library. -SVar:ExileYard:DB$ ChangeZone | Condition$ Delirium | Origin$ Graveyard | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInYard | References$ NumInYard | Chooser$ You | Hidden$ True | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Condition$ Delirium | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | References$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Condition$ Delirium | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | References$ NumInLib | Chooser$ You | Shuffle$ True | StackDescription$ None | SubAbility$ DBCleanup +SVar:ExileYard:DB$ ChangeZone | Condition$ Delirium | Origin$ Graveyard | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInYard | Chooser$ You | Hidden$ True | SubAbility$ ExileHand | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Condition$ Delirium | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Condition$ Delirium | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Shuffle$ True | StackDescription$ None | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:NumInLib:TargetedController$CardsInLibrary SVar:NumInHand:TargetedController$CardsInHand diff --git a/forge-gui/res/cardsfolder/i/invigorating_falls.txt b/forge-gui/res/cardsfolder/i/invigorating_falls.txt index e7c05e3dfb0..1c48210126e 100644 --- a/forge-gui/res/cardsfolder/i/invigorating_falls.txt +++ b/forge-gui/res/cardsfolder/i/invigorating_falls.txt @@ -1,7 +1,7 @@ Name:Invigorating Falls ManaCost:2 G G Types:Sorcery -A:SP$ GainLife | Cost$ 2 G G | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the number of creature cards in all graveyards. +A:SP$ GainLife | Cost$ 2 G G | LifeAmount$ X | SpellDescription$ You gain life equal to the number of creature cards in all graveyards. SVar:X:Count$TypeInAllYards.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/invigorating_falls.jpg Oracle:You gain life equal to the number of creature cards in all graveyards. diff --git a/forge-gui/res/cardsfolder/i/invincible_hymn.txt b/forge-gui/res/cardsfolder/i/invincible_hymn.txt index f9e9f756300..f130a8c1f94 100644 --- a/forge-gui/res/cardsfolder/i/invincible_hymn.txt +++ b/forge-gui/res/cardsfolder/i/invincible_hymn.txt @@ -1,7 +1,7 @@ Name:Invincible Hymn ManaCost:6 W W Types:Sorcery -A:SP$ SetLife | Cost$ 6 W W | Defined$ You | LifeAmount$ X | References$ X | SpellDescription$ Count the number of cards in your library. Your life total becomes that number. +A:SP$ SetLife | Cost$ 6 W W | Defined$ You | LifeAmount$ X | SpellDescription$ Count the number of cards in your library. Your life total becomes that number. SVar:X:Count$InYourLibrary.Card SVar:Picture:http://www.wizards.com/global/images/magic/general/invincible_hymn.jpg Oracle:Count the number of cards in your library. Your life total becomes that number. diff --git a/forge-gui/res/cardsfolder/i/invoke_prejudice.txt b/forge-gui/res/cardsfolder/i/invoke_prejudice.txt index 8c1175c84c7..a407368da96 100644 --- a/forge-gui/res/cardsfolder/i/invoke_prejudice.txt +++ b/forge-gui/res/cardsfolder/i/invoke_prejudice.txt @@ -2,7 +2,7 @@ Name:Invoke Prejudice ManaCost:U U U U Types:Enchantment T:Mode$ SpellCast | ValidCard$ Creature.OppCtrl+notSharesColorWith Creature.YouCtrl | Execute$ TrigCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever an opponent casts a creature spell that doesn't share a color with a creature you control, counter that spell unless that player pays {X}, where X is its converted mana cost. -SVar:TrigCounter:DB$ Counter | Defined$ TriggeredSpellAbility | UnlessCost$ X | UnlessPayer$ TriggeredActivator | References$ X +SVar:TrigCounter:DB$ Counter | Defined$ TriggeredSpellAbility | UnlessCost$ X | UnlessPayer$ TriggeredActivator SVar:X:TriggeredCard$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/invoke_prejudice.jpg Oracle:Whenever an opponent casts a creature spell that doesn't share a color with a creature you control, counter that spell unless that player pays {X}, where X is its converted mana cost. diff --git a/forge-gui/res/cardsfolder/i/invoke_the_firemind.txt b/forge-gui/res/cardsfolder/i/invoke_the_firemind.txt index 92fb75ade0a..f0a837b4526 100644 --- a/forge-gui/res/cardsfolder/i/invoke_the_firemind.txt +++ b/forge-gui/res/cardsfolder/i/invoke_the_firemind.txt @@ -2,8 +2,8 @@ Name:Invoke the Firemind ManaCost:X U U R Types:Sorcery A:SP$ Charm | Cost$ X U U R | Choices$ DBDraw,DBDmg | CharmNum$ 1 -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X | SpellDescription$ Draw X cards. -SVar:DBDmg:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target. +SVar:DBDraw:DB$ Draw | NumCards$ X | SpellDescription$ Draw X cards. +SVar:DBDmg:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/invoke_the_firemind.jpg Oracle:Choose one —\n• Draw X cards.\n• Invoke the Firemind deals X damage to any target. diff --git a/forge-gui/res/cardsfolder/i/ire_of_kaminari.txt b/forge-gui/res/cardsfolder/i/ire_of_kaminari.txt index 455304bb24a..91eefb1bcca 100644 --- a/forge-gui/res/cardsfolder/i/ire_of_kaminari.txt +++ b/forge-gui/res/cardsfolder/i/ire_of_kaminari.txt @@ -1,7 +1,7 @@ Name:Ire of Kaminari ManaCost:3 R Types:Instant Arcane -A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ Ire of Kaminari deals damage to any target equal to the number of Arcane cards in your graveyard. +A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ Ire of Kaminari deals damage to any target equal to the number of Arcane cards in your graveyard. SVar:X:Count$TypeInYourYard.Arcane AI:RemoveDeck:Random DeckHints:Type$Arcane diff --git a/forge-gui/res/cardsfolder/i/irencrag_feat.txt b/forge-gui/res/cardsfolder/i/irencrag_feat.txt index c0983c3d6ef..6ad1274ba7d 100644 --- a/forge-gui/res/cardsfolder/i/irencrag_feat.txt +++ b/forge-gui/res/cardsfolder/i/irencrag_feat.txt @@ -3,7 +3,7 @@ ManaCost:1 R R R Types:Sorcery A:SP$ Mana | Cost$ 1 R R R | Produced$ R | Amount$ 7 | SubAbility$ DBEffect | SpellDescription$ Add seven {R}. You can cast only one more spell this turn. SVar:DBEffect:DB$ Effect | StaticAbilities$ STCantBeCast | SVars$ NumCount,TrigRem | Triggers$ StaticRem -SVar:STCantBeCast:Mode$ CantBeCast | Caster$ You | EffectZone$ Command | CheckSVar$ NumCount | SVarCompare$ GE1 | References$ NumCount | Description$ You can cast only one more spell this turn. +SVar:STCantBeCast:Mode$ CantBeCast | Caster$ You | EffectZone$ Command | CheckSVar$ NumCount | SVarCompare$ GE1 | Description$ You can cast only one more spell this turn. SVar:NumCount:Remembered$Amount SVar:StaticRem:Mode$ SpellCast | ValidActivatingPlayer$ You | Static$ True | Secondary$ True | Execute$ TrigRem SVar:TrigRem:DB$ Pump | RememberObjects$ TriggeredCard diff --git a/forge-gui/res/cardsfolder/i/iridescent_hornbeetle.txt b/forge-gui/res/cardsfolder/i/iridescent_hornbeetle.txt index 9f93bfe7635..b72015a6def 100644 --- a/forge-gui/res/cardsfolder/i/iridescent_hornbeetle.txt +++ b/forge-gui/res/cardsfolder/i/iridescent_hornbeetle.txt @@ -3,7 +3,7 @@ ManaCost:4 G Types:Creature Insect PT:3/4 T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your end step, create a 1/1 green Insect creature token for each +1/+1 counter you've put on creatures under your control this turn. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenOwner$ You | TokenScript$ g_1_1_insect +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenOwner$ You | TokenScript$ g_1_1_insect SVar:X:Count$CountersAddedThisTurn P1P1 You Creature.YouCtrl DeckNeeds:Ability$Counters DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/i/iroas_god_of_victory.txt b/forge-gui/res/cardsfolder/i/iroas_god_of_victory.txt index bcf2d77210e..e520fe58ffc 100644 --- a/forge-gui/res/cardsfolder/i/iroas_god_of_victory.txt +++ b/forge-gui/res/cardsfolder/i/iroas_god_of_victory.txt @@ -3,7 +3,7 @@ ManaCost:2 R W Types:Legendary Enchantment Creature God PT:7/4 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | References$ X | Description$ As long as your devotion to red and white is less than seven, CARDNAME isn't a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | Description$ As long as your devotion to red and white is less than seven, CARDNAME isn't a creature. SVar:X:Count$DevotionDual.Red.White S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddKeyword$ Menace | Description$ Creatures you control have menace. R:Event$ DamageDone | ActiveZones$ Battlefield | Prevent$ True | ValidTarget$ Creature.attacking+YouCtrl | Description$ Prevent all damage that would be dealt to attacking creatures you control. diff --git a/forge-gui/res/cardsfolder/i/iron_maiden.txt b/forge-gui/res/cardsfolder/i/iron_maiden.txt index 11a83f80b3f..a96a7b13007 100644 --- a/forge-gui/res/cardsfolder/i/iron_maiden.txt +++ b/forge-gui/res/cardsfolder/i/iron_maiden.txt @@ -2,7 +2,7 @@ Name:Iron Maiden ManaCost:3 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of each opponent's upkeep, CARDNAME deals X damage to that player, where X is the number of cards in their hand minus 4. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:TriggeredPlayer$CardsInHand/Minus.4 SVar:Picture:http://www.wizards.com/global/images/magic/general/iron_maiden.jpg Oracle:At the beginning of each opponent's upkeep, Iron Maiden deals X damage to that player, where X is the number of cards in their hand minus 4. diff --git a/forge-gui/res/cardsfolder/i/irradiate.txt b/forge-gui/res/cardsfolder/i/irradiate.txt index 49479b8b1be..737286add3b 100644 --- a/forge-gui/res/cardsfolder/i/irradiate.txt +++ b/forge-gui/res/cardsfolder/i/irradiate.txt @@ -1,7 +1,7 @@ Name:Irradiate ManaCost:3 B Types:Instant -A:SP$ Pump | Cost$ 3 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X | SpellDescription$ Target creature gets -1/-1 until end of turn for each artifact you control. +A:SP$ Pump | Cost$ 3 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -1/-1 until end of turn for each artifact you control. SVar:X:Count$NumTypeYouCtrl.Artifact AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/irradiate.jpg diff --git a/forge-gui/res/cardsfolder/i/isareth_the_awakener.txt b/forge-gui/res/cardsfolder/i/isareth_the_awakener.txt index 9a8e8ef27cd..c42dd76c451 100644 --- a/forge-gui/res/cardsfolder/i/isareth_the_awakener.txt +++ b/forge-gui/res/cardsfolder/i/isareth_the_awakener.txt @@ -4,8 +4,8 @@ Types:Legendary Creature Human Wizard K:Deathtouch PT:3/3 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigImmediateTrig | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, you may pay {X}. When you do, return target creature card with converted mana cost X from your graveyard to the battlefield with a corpse counter on it. If that creature would leave the battlefield, exile it instead of putting it anywhere else. -SVar:TrigImmediateTrig:AB$ ImmediateTrigger | Cost$ X | Execute$ TrigChange | References$ X | SpellDescription$ When you do, return target creature card with converted mana cost X from your graveyard to the battlefield with a corpse counter on it. If that creature would leave the battlefield, exile it instead of putting it anywhere else. +SVar:TrigImmediateTrig:AB$ ImmediateTrigger | Cost$ X | Execute$ TrigChange | SpellDescription$ When you do, return target creature card with converted mana cost X from your graveyard to the battlefield with a corpse counter on it. If that creature would leave the battlefield, exile it instead of putting it anywhere else. SVar:X:Count$xPaid -SVar:TrigChange:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouOwn+cmcEQX | TgtPrompt$ Choose target creature card with converted mana cost X | References$ X | WithCounters$ CORPSE_1 | AILogic$ BeforeCombat | LeaveBattlefield$ Exile | SpellDescription$ Return target creature card with converted mana cost X from your graveyard to the battlefield. +SVar:TrigChange:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouOwn+cmcEQX | TgtPrompt$ Choose target creature card with converted mana cost X | WithCounters$ CORPSE_1 | AILogic$ BeforeCombat | LeaveBattlefield$ Exile | SpellDescription$ Return target creature card with converted mana cost X from your graveyard to the battlefield. SVar:HasAttackEffect:TRUE Oracle:Deathtouch\nWhenever Isareth the Awakener attacks, you may pay {X}. When you do, return target creature card with converted mana cost X from your graveyard to the battlefield with a corpse counter on it. If that creature would leave the battlefield, exile it instead of putting it anywhere else. diff --git a/forge-gui/res/cardsfolder/i/ishkanah_grafwidow.txt b/forge-gui/res/cardsfolder/i/ishkanah_grafwidow.txt index 5a79455368a..8a73e5145ab 100644 --- a/forge-gui/res/cardsfolder/i/ishkanah_grafwidow.txt +++ b/forge-gui/res/cardsfolder/i/ishkanah_grafwidow.txt @@ -5,7 +5,7 @@ PT:3/5 K:Reach T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Delirium$ True | Execute$ TrigToken | TriggerDescription$ Delirium — When CARDNAME enters the battlefield, if there are four or more card types among cards in your graveyard, create three 1/2 green Spider creature tokens with reach. SVar:TrigToken:DB$ Token | TokenAmount$ 3 | TokenScript$ g_1_2_spider_reach | TokenOwner$ You | LegacyImage$ g 1 2 spider reach emn -A:AB$ LoseLife | Cost$ 6 B | ValidTgts$ Opponent | LifeAmount$ X | References$ X | SpellDescription$ Target opponent loses 1 life for each Spider you control. +A:AB$ LoseLife | Cost$ 6 B | ValidTgts$ Opponent | LifeAmount$ X | SpellDescription$ Target opponent loses 1 life for each Spider you control. SVar:X:Count$Valid Card.Spider+YouCtrl DeckHints:Ability$Graveyard & Ability$Discard DeckHas:Ability$Delirium diff --git a/forge-gui/res/cardsfolder/i/isolated_watchtower.txt b/forge-gui/res/cardsfolder/i/isolated_watchtower.txt index a4c4749c084..7f0f39b6b40 100644 --- a/forge-gui/res/cardsfolder/i/isolated_watchtower.txt +++ b/forge-gui/res/cardsfolder/i/isolated_watchtower.txt @@ -2,7 +2,7 @@ Name:Isolated Watchtower ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ Scry | Cost$ 2 T | ScryNum$ 1 | SubAbility$ DBReveal | CheckSVar$ X | SVarCompare$ GEY | References$ X,Y | SpellDescription$ Scry 1, then you may reveal the top card of your library. If a basic land card is revealed this way, put it onto the battlefield tapped. Activate this ability only if an opponent controls at least two more lands than you. +A:AB$ Scry | Cost$ 2 T | ScryNum$ 1 | SubAbility$ DBReveal | CheckSVar$ X | SVarCompare$ GEY | SpellDescription$ Scry 1, then you may reveal the top card of your library. If a basic land card is revealed this way, put it onto the battlefield tapped. Activate this ability only if an opponent controls at least two more lands than you. SVar:DBReveal:DB$ Dig | Optional$ True | DigNum$ 1 | Reveal$ True | ChangeValid$ Land.Basic | DestinationZone$ Battlefield | Tapped$ True | DestinationZone2$ Library | LibraryPosition2$ 0 SVar:X:PlayerCountOpponents$HighestValid Land.YouCtrl SVar:Y:Count$Valid Land.YouCtrl/Plus.2 diff --git a/forge-gui/res/cardsfolder/i/ivory_tower.txt b/forge-gui/res/cardsfolder/i/ivory_tower.txt index bd192bb2dc7..357ea873e3a 100644 --- a/forge-gui/res/cardsfolder/i/ivory_tower.txt +++ b/forge-gui/res/cardsfolder/i/ivory_tower.txt @@ -2,7 +2,7 @@ Name:Ivory Tower ManaCost:1 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.YouCtrl | PresentZone$ Hand | PresentCompare$ GT4 | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ At the beginning of your upkeep, you gain X life, where X is the number of cards in your hand minus 4. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$InYourHand/Minus.4 SVar:Picture:http://www.wizards.com/global/images/magic/general/ivory_tower.jpg Oracle:At the beginning of your upkeep, you gain X life, where X is the number of cards in your hand minus 4. diff --git a/forge-gui/res/cardsfolder/i/ivy_seer.txt b/forge-gui/res/cardsfolder/i/ivy_seer.txt index 0c4e619861e..963bda977cc 100644 --- a/forge-gui/res/cardsfolder/i/ivy_seer.txt +++ b/forge-gui/res/cardsfolder/i/ivy_seer.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Creature Elf Wizard PT:1/1 A:AB$ Reveal | Cost$ 2 G T | Defined$ You | RevealValid$ Card.Green | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBIvyPump | SpellDescription$ Reveal any number of green cards in your hand. Target creature gets +X/+X until end of turn, where X is the number of cards revealed this way. -SVar:DBIvyPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ IvyX | NumDef$ IvyX | SubAbility$ DBIvyCleanup | References$ IvyX +SVar:DBIvyPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ IvyX | NumDef$ IvyX | SubAbility$ DBIvyCleanup SVar:IvyX:Remembered$Amount SVar:DBIvyCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/i/ixidors_will.txt b/forge-gui/res/cardsfolder/i/ixidors_will.txt index 8e0c4178742..da6112cb00c 100644 --- a/forge-gui/res/cardsfolder/i/ixidors_will.txt +++ b/forge-gui/res/cardsfolder/i/ixidors_will.txt @@ -1,7 +1,7 @@ Name:Ixidor's Will ManaCost:2 U Types:Instant -A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X | SpellDescription$ Counter target spell unless its controller pays {2} for each Wizard on the battlefield. +A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {2} for each Wizard on the battlefield. SVar:X:Count$TypeYouCtrl.Wizard/Twice AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/ixidors_will.jpg diff --git a/forge-gui/res/cardsfolder/i/ixidron.txt b/forge-gui/res/cardsfolder/i/ixidron.txt index ebf34792a71..ed9cfe2b26b 100644 --- a/forge-gui/res/cardsfolder/i/ixidron.txt +++ b/forge-gui/res/cardsfolder/i/ixidron.txt @@ -5,7 +5,7 @@ PT:*/* K:ETBReplacement:Other:TrigTurnFaceDown SVar:TrigTurnFaceDown:DB$ RepeatEach | RepeatCards$ Creature.nonToken+Other+faceUp | Zone$ Battlefield | RepeatSubAbility$ DBState | SpellDescription$ As CARDNAME enters the battlefield, turn all other nontoken creatures face down. (They're 2/2 creatures.) SVar:DBState:DB$ SetState | Defined$ Remembered | Mode$ TurnFace | SpellDescription$ turn all other nontoken creatures face down. (They're 2/2 creatures.) -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of face-down creatures on the battlefield. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of face-down creatures on the battlefield. SVar:X:Count$Valid Creature.faceDown SVar:NeedsToPlay:Creature.OppCtrl+nonToken SVar:Picture:http://www.wizards.com/global/images/magic/general/ixidron.jpg diff --git a/forge-gui/res/cardsfolder/i/izoni_thousand_eyed.txt b/forge-gui/res/cardsfolder/i/izoni_thousand_eyed.txt index 446c2c03a32..10277678bb7 100644 --- a/forge-gui/res/cardsfolder/i/izoni_thousand_eyed.txt +++ b/forge-gui/res/cardsfolder/i/izoni_thousand_eyed.txt @@ -3,7 +3,7 @@ ManaCost:2 B B G G Types:Legendary Creature Elf Shaman PT:2/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ Undergrowth - When CARDNAME enters the battlefield, create a 1/1 black and green Insect creature token for each creature card in your graveyard. -SVar:TrigToken:DB$Token | TokenAmount$ X | TokenOwner$ You | LegacyImage$ bg 1 1 insect grn | References$ X | TokenScript$ bg_1_1_insect +SVar:TrigToken:DB$Token | TokenAmount$ X | TokenOwner$ You | LegacyImage$ bg 1 1 insect grn | TokenScript$ bg_1_1_insect SVar:X:Count$TypeInYourYard.Creature A:AB$ GainLife | Cost$ B G Sac<1/Creature.Other/another creature> | Defined$ You | LifeAmount$ 1 | SubAbility$ DBDraw | SpellDescription$ You gain 1 life and draw a card. SVar:DBDraw:DB$ Draw | NumCards$ 1 diff --git a/forge-gui/res/cardsfolder/i/izzet_chemister.txt b/forge-gui/res/cardsfolder/i/izzet_chemister.txt index 533f0f4b728..217c201aa24 100644 --- a/forge-gui/res/cardsfolder/i/izzet_chemister.txt +++ b/forge-gui/res/cardsfolder/i/izzet_chemister.txt @@ -4,7 +4,7 @@ Types:Creature Goblin Wizard PT:1/3 K:Haste A:AB$ ChangeZone | Cost$ R T | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Instant.YouCtrl,Sorcery.YouCtrl | TgtPrompt$ Select target instant or sorcery card in your graveyard | RememberChanged$ True | SpellDescription$ Exile target instant or sorcery card from your graveyard. -A:AB$ Play | Cost$ 1 R T Sac<1/CARDNAME> | Valid$ Instant.YouCtrl+ExiledWithSource,Sorcery.YouCtrl+ExiledWithSource | ValidZone$ Exile | WithoutManaCost$ True | Amount$ NumRemembered | Controller$ You | Optional$ True | References$ NumRemembered | SpellDescription$ Cast any number of cards exiled with Izzet Chemister without paying their mana costs. +A:AB$ Play | Cost$ 1 R T Sac<1/CARDNAME> | Valid$ Instant.YouCtrl+ExiledWithSource,Sorcery.YouCtrl+ExiledWithSource | ValidZone$ Exile | WithoutManaCost$ True | Amount$ NumRemembered | Controller$ You | Optional$ True | SpellDescription$ Cast any number of cards exiled with Izzet Chemister without paying their mana costs. T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup diff --git a/forge-gui/res/cardsfolder/j/jace_memory_adept.txt b/forge-gui/res/cardsfolder/j/jace_memory_adept.txt index d15ba0092c5..9d0231b6ccc 100644 --- a/forge-gui/res/cardsfolder/j/jace_memory_adept.txt +++ b/forge-gui/res/cardsfolder/j/jace_memory_adept.txt @@ -5,6 +5,6 @@ Loyalty:4 A:AB$ Draw | Cost$ AddCounter<1/LOYALTY> | Defined$ You | SubAbility$ DBMill | Planeswalker$ True | SpellDescription$ Draw a card. Target player mills a card. SVar:DBMill:DB$ Mill | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ 1 A:AB$ Mill | Cost$ AddCounter<0/LOYALTY> | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ 10 | Planeswalker$ True | SpellDescription$ Target player mills 10 cards. -A:AB$ Draw | Cost$ SubCounter<7/LOYALTY> | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgt | References$ MaxTgt | NumCards$ 20 | Planeswalker$ True | Ultimate$ True | SpellDescription$ Any number of target players each draw 20 cards. +A:AB$ Draw | Cost$ SubCounter<7/LOYALTY> | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgt | NumCards$ 20 | Planeswalker$ True | Ultimate$ True | SpellDescription$ Any number of target players each draw 20 cards. SVar:MaxTgt:PlayerCountPlayers$Amount Oracle:[+1]: Draw a card. Target player mills a card.\n[0]: Target player mills ten cards.\n[−7]: Any number of target players each draw twenty cards. diff --git a/forge-gui/res/cardsfolder/j/jace_mirror_mage.txt b/forge-gui/res/cardsfolder/j/jace_mirror_mage.txt index c297ea455bc..1e4a9c1cf7e 100644 --- a/forge-gui/res/cardsfolder/j/jace_mirror_mage.txt +++ b/forge-gui/res/cardsfolder/j/jace_mirror_mage.txt @@ -7,7 +7,7 @@ T:Mode$ ChangesZone | ValidCard$ Card.Self+kicked | Origin$ Any | Destination$ B SVar:TrigCopy:DB$ CopyPermanent | Defined$ Self | NonLegendary$ True | SetLoyalty$ 1 A:AB$ Scry | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ScryNum$ 2 | SpellDescription$ Scry 2. A:AB$ Draw | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | Ultimate$ True | NumCards$ 1 | Reveal$ True | RememberDrawn$ True | SubAbility$ DBRemoveCounters | SpellDescription$ Draw a card and reveal it. Remove a number of loyalty counters equal to that card's converted mana cost from CARDNAME. -SVar:DBRemoveCounters:DB$ RemoveCounter | Defined$ Self | CounterType$ LOYALTY | CounterNum$ X | References$ X | SubAbility$ DBCleanup +SVar:DBRemoveCounters:DB$ RemoveCounter | Defined$ Self | CounterType$ LOYALTY | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/j/jace_vryns_prodigy_jace_telepath_unbound.txt b/forge-gui/res/cardsfolder/j/jace_vryns_prodigy_jace_telepath_unbound.txt index bcabb8e586e..e5dd74705e2 100644 --- a/forge-gui/res/cardsfolder/j/jace_vryns_prodigy_jace_telepath_unbound.txt +++ b/forge-gui/res/cardsfolder/j/jace_vryns_prodigy_jace_telepath_unbound.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Wizard PT:0/2 A:AB$ Draw | Cost$ T | NumCards$ 1 | SubAbility$ DBDiscard | StackDescription$ SpellDescription | SpellDescription$ Draw a card, then discard a card. If there are five or more cards in your graveyard, exile CARDNAME, then return him to the battefield transformed under his owner's control. SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose | SubAbility$ DBExile | StackDescription$ None -SVar:DBExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE5 | SubAbility$ DBReturn | StackDescription$ None +SVar:DBExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE5 | SubAbility$ DBReturn | StackDescription$ None SVar:DBReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ Exile | Destination$ Battlefield | Transformed$ True | ForgetOtherRemembered$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ValidGraveyard Card.YouOwn diff --git a/forge-gui/res/cardsfolder/j/jace_wielder_of_mysteries.txt b/forge-gui/res/cardsfolder/j/jace_wielder_of_mysteries.txt index 7d01a08d850..3cc2be85fd0 100644 --- a/forge-gui/res/cardsfolder/j/jace_wielder_of_mysteries.txt +++ b/forge-gui/res/cardsfolder/j/jace_wielder_of_mysteries.txt @@ -7,7 +7,7 @@ SVar:Win:DB$ WinsGame | Defined$ You A:AB$ Mill | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | NumCards$ 2 | ValidTgts$ Player | TgtPrompt$ Choose a player | SubAbility$ DBDraw | SpellDescription$ Target player mills two cards. Draw a card. SVar:DBDraw:DB$ Draw | NumCards$ 1 A:AB$ Draw | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | NumCards$ 7 | SubAbility$ WinGame | SpellDescription$ Draw seven cards. Then if your library has no cards in it, you win the game. -SVar:WinGame:DB$ WinsGame | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X +SVar:WinGame:DB$ WinsGame | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 SVar:X:Count$InYourLibrary AI:RemoveDeck:Random Oracle:If you would draw a card while your library has no cards in it, you win the game instead.\n[+1]: Target player mills two cards. Draw a card.\n[−8]: Draw seven cards. Then if your library has no cards in it, you win the game. diff --git a/forge-gui/res/cardsfolder/j/jaces_archivist.txt b/forge-gui/res/cardsfolder/j/jaces_archivist.txt index 3395e9034e7..47232d798a0 100644 --- a/forge-gui/res/cardsfolder/j/jaces_archivist.txt +++ b/forge-gui/res/cardsfolder/j/jaces_archivist.txt @@ -3,7 +3,7 @@ ManaCost:1 U U Types:Creature Vedalken Wizard PT:2/2 A:AB$ Discard | Cost$ U T | Defined$ Player | RememberDiscarded$ True | Mode$ Hand | SubAbility$ WindfallDraw | SpellDescription$ Each player discards their hand, then draws cards equal to the greatest number of cards a player discarded this way. -SVar:WindfallDraw:DB$ Draw | Defined$ Player | NumCards$ X | References$ X | SubAbility$ WindfallCleanup +SVar:WindfallDraw:DB$ Draw | Defined$ Player | NumCards$ X | SubAbility$ WindfallCleanup SVar:WindfallCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:PlayerCountPlayers$HighestValidGraveyard,Library,Exile Card.IsRemembered+YouOwn AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/j/jaces_phantasm.txt b/forge-gui/res/cardsfolder/j/jaces_phantasm.txt index aff24985144..6e09ea4b243 100644 --- a/forge-gui/res/cardsfolder/j/jaces_phantasm.txt +++ b/forge-gui/res/cardsfolder/j/jaces_phantasm.txt @@ -3,7 +3,7 @@ ManaCost:U Types:Creature Illusion PT:1/1 K:Flying -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 4 | AddToughness$ 4 | CheckSVar$ X | SVarCompare$ GE10 | References$ X | Description$ CARDNAME gets +4/+4 as long as an opponent has ten or more cards in their graveyard. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 4 | AddToughness$ 4 | CheckSVar$ X | SVarCompare$ GE10 | Description$ CARDNAME gets +4/+4 as long as an opponent has ten or more cards in their graveyard. SVar:X:PlayerCountOpponents$HighestCardsInGraveyard SVar:Picture:http://www.wizards.com/global/images/magic/general/jaces_phantasm.jpg Oracle:Flying\nJace's Phantasm gets +4/+4 as long as an opponent has ten or more cards in their graveyard. diff --git a/forge-gui/res/cardsfolder/j/jaces_triumph.txt b/forge-gui/res/cardsfolder/j/jaces_triumph.txt index 3282ac5686f..8221e373bd0 100644 --- a/forge-gui/res/cardsfolder/j/jaces_triumph.txt +++ b/forge-gui/res/cardsfolder/j/jaces_triumph.txt @@ -1,7 +1,7 @@ Name:Jace's Triumph ManaCost:2 U Types:Sorcery -A:SP$ Draw | Cost$ 2 U | NumCards$ X | References$ X,Y | SpellDescription$ Draw two cards. If you control a Jace planeswalker, draw three cards instead. +A:SP$ Draw | Cost$ 2 U | NumCards$ X,Y | SpellDescription$ Draw two cards. If you control a Jace planeswalker, draw three cards instead. SVar:Y:Count$Valid Planeswalker.Jace+YouCtrl SVar:X:Count$Compare Y GE1.3.2 Oracle:Draw two cards. If you control a Jace planeswalker, draw three cards instead. diff --git a/forge-gui/res/cardsfolder/j/jackal_pup.txt b/forge-gui/res/cardsfolder/j/jackal_pup.txt index 56000e0a126..b79cec56e10 100644 --- a/forge-gui/res/cardsfolder/j/jackal_pup.txt +++ b/forge-gui/res/cardsfolder/j/jackal_pup.txt @@ -3,7 +3,7 @@ ManaCost:R Types:Creature Jackal PT:2/1 T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to you. -SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ You | References$ X +SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ You SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/jackal_pup.jpg Oracle:Whenever Jackal Pup is dealt damage, it deals that much damage to you. diff --git a/forge-gui/res/cardsfolder/j/jaddi_lifestrider.txt b/forge-gui/res/cardsfolder/j/jaddi_lifestrider.txt index 3a95cd9c2ff..2a8f6f11270 100644 --- a/forge-gui/res/cardsfolder/j/jaddi_lifestrider.txt +++ b/forge-gui/res/cardsfolder/j/jaddi_lifestrider.txt @@ -3,9 +3,9 @@ ManaCost:4 G Types:Creature Elemental PT:2/8 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ GuestList | TriggerDescription$ When CARDNAME enters the battlefield, you may tap any number of untapped creatures you control. You gain 2 life for each creature tapped this way. -SVar:GuestList:DB$ ChooseCard | Defined$ You | MinAmount$ 0 | Amount$ JaddiLifestriderX | References$ JaddiLifestriderX | Choices$ Creature.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigJaddiLifestriderTap +SVar:GuestList:DB$ ChooseCard | Defined$ You | MinAmount$ 0 | Amount$ JaddiLifestriderX | Choices$ Creature.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigJaddiLifestriderTap SVar:TrigJaddiLifestriderTap:DB$ Tap | Defined$ Remembered | SubAbility$ DBJaddiLifestriderGainLife -SVar:DBJaddiLifestriderGainLife:DB$ GainLife | LifeAmount$ JaddiLifestriderZ | SubAbility$ DBJaddiLifestriderCleanup | References$ JaddiLifestriderY,JaddiLifestriderZ +SVar:DBJaddiLifestriderGainLife:DB$ GainLife | LifeAmount$ JaddiLifestriderZ | SubAbility$ DBJaddiLifestriderCleanup SVar:DBJaddiLifestriderCleanup:DB$ Cleanup | ClearRemembered$ True SVar:JaddiLifestriderX:Count$Valid Creature.YouCtrl SVar:JaddiLifestriderY:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/j/jaded_response.txt b/forge-gui/res/cardsfolder/j/jaded_response.txt index 814c537de0f..49d456f09f8 100644 --- a/forge-gui/res/cardsfolder/j/jaded_response.txt +++ b/forge-gui/res/cardsfolder/j/jaded_response.txt @@ -1,7 +1,7 @@ Name:Jaded Response ManaCost:1 U Types:Instant -A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | AITgts$ Card.SharesColorWith Creature.YouCtrl | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SpellDescription$ Counter target spell if it shares a color with a creature you control. +A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | AITgts$ Card.SharesColorWith Creature.YouCtrl | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SpellDescription$ Counter target spell if it shares a color with a creature you control. SVar:X:Targeted$Valid Card.SharesColorWith Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/jaded_response.jpg Oracle:Counter target spell if it shares a color with a creature you control. diff --git a/forge-gui/res/cardsfolder/j/jagged_poppet.txt b/forge-gui/res/cardsfolder/j/jagged_poppet.txt index ffa6f1e9319..68bf245f726 100644 --- a/forge-gui/res/cardsfolder/j/jagged_poppet.txt +++ b/forge-gui/res/cardsfolder/j/jagged_poppet.txt @@ -4,8 +4,8 @@ Types:Creature Ogre Warrior PT:3/4 T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | Execute$ TrigYouDiscard | TriggerDescription$ Whenever CARDNAME is dealt damage, discard that many cards. T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Hellbent$ True | Execute$ TrigOppDiscard | TriggerDescription$ Hellbent — Whenever CARDNAME deals combat damage to a player, if you have no cards in hand, that player discards cards equal to the damage. -SVar:TrigYouDiscard:DB$ Discard | Defined$ You | NumCards$ X | Mode$ TgtChoose | References$ X -SVar:TrigOppDiscard:DB$ Discard | Defined$ TriggeredTarget | NumCards$ X | Mode$ TgtChoose | References$ X +SVar:TrigYouDiscard:DB$ Discard | Defined$ You | NumCards$ X | Mode$ TgtChoose +SVar:TrigOppDiscard:DB$ Discard | Defined$ TriggeredTarget | NumCards$ X | Mode$ TgtChoose SVar:X:TriggerCount$DamageAmount SVar:NeedsToPlayVar:Y LE2 SVar:Y:Count$CardsInYourHand diff --git a/forge-gui/res/cardsfolder/j/jagged_scar_archers.txt b/forge-gui/res/cardsfolder/j/jagged_scar_archers.txt index 8b914f8be14..7939640f06d 100644 --- a/forge-gui/res/cardsfolder/j/jagged_scar_archers.txt +++ b/forge-gui/res/cardsfolder/j/jagged_scar_archers.txt @@ -4,7 +4,7 @@ Types:Creature Elf Archer PT:*/* S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | Description$ CARDNAME's power and toughness are each equal to the number of Elves you control. SVar:Y:Count$Valid Elf.YouCtrl -A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to its power to target creature with flying. +A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to its power to target creature with flying. SVar:X:Count$CardPower SVar:BuffedBy:Permanent.Elf AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/j/jar_of_eyeballs.txt b/forge-gui/res/cardsfolder/j/jar_of_eyeballs.txt index 8e0b8002a33..b9354f0e04f 100644 --- a/forge-gui/res/cardsfolder/j/jar_of_eyeballs.txt +++ b/forge-gui/res/cardsfolder/j/jar_of_eyeballs.txt @@ -3,7 +3,7 @@ ManaCost:3 Types:Artifact T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a creature you control dies, put two eyeball counters on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ EYEBALL | CounterNum$ 2 -A:AB$ Dig | Cost$ 3 T SubCounter | DigNum$ X | ChangeNum$ 1 | DestinationZone$ Hand | DestinationZone2$ Library | LibraryPosition$ -1 | References$ X | SpellDescription$ Look at the top X cards of your library where X is the number of eyeball counters removed this way. Put one of them into your hand and the rest on the bottom of your library in any order. +A:AB$ Dig | Cost$ 3 T SubCounter | DigNum$ X | ChangeNum$ 1 | DestinationZone$ Hand | DestinationZone2$ Library | LibraryPosition$ -1 | SpellDescription$ Look at the top X cards of your library where X is the number of eyeball counters removed this way. Put one of them into your hand and the rest on the bottom of your library in any order. SVar:X:SVar$CostCountersRemoved AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/jar_of_eyeballs.jpg diff --git a/forge-gui/res/cardsfolder/j/jarad_golgari_lich_lord.txt b/forge-gui/res/cardsfolder/j/jarad_golgari_lich_lord.txt index 89ce68e6b42..48a9a5218c3 100644 --- a/forge-gui/res/cardsfolder/j/jarad_golgari_lich_lord.txt +++ b/forge-gui/res/cardsfolder/j/jarad_golgari_lich_lord.txt @@ -3,7 +3,7 @@ ManaCost:B B G G Types:Legendary Creature Zombie Elf PT:2/2 S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each creature card in your graveyard. -A:AB$ LoseLife | Cost$ 1 B G Sac<1/Creature.Other/another creature> | Defined$ Player.Opponent | LifeAmount$ LichLeech | References$ LichLeech | SpellDescription$ Each opponent loses life equal to the sacrificed creature's power. +A:AB$ LoseLife | Cost$ 1 B G Sac<1/Creature.Other/another creature> | Defined$ Player.Opponent | LifeAmount$ LichLeech | SpellDescription$ Each opponent loses life equal to the sacrificed creature's power. A:AB$ ChangeZone | Cost$ Sac<1/Swamp> Sac<1/Forest> | Origin$ Graveyard | Destination$ Hand | ActivationZone$ Graveyard | SpellDescription$ Return CARDNAME from your graveyard to your hand. SVar:X:Count$TypeInYourYard.Creature SVar:LichLeech:Sacrificed$CardPower diff --git a/forge-gui/res/cardsfolder/j/jared_carthalion_true_heir.txt b/forge-gui/res/cardsfolder/j/jared_carthalion_true_heir.txt index e22a8bc454e..60cd790a8b5 100644 --- a/forge-gui/res/cardsfolder/j/jared_carthalion_true_heir.txt +++ b/forge-gui/res/cardsfolder/j/jared_carthalion_true_heir.txt @@ -6,7 +6,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigMonarch:DB$ BecomeMonarch | ValidTgts$ Opponent | SubAbility$ DBPump SVar:DBPump:DB$ Pump | Defined$ You | KW$ You can’t become the monarch this turn. R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | CheckDefinedPlayer$ You.isMonarch | ReplaceWith$ Counters | PreventionEffect$ True | Description$ If damage would be dealt to NICKNAME while you're the monarch, prevent that damage and put that many +1/+1 counters on it. -SVar:Counters:DB$ PutCounter | Defined$ ReplacedTarget | CounterType$ P1P1 | CounterNum$ Y | References$ Y +SVar:Counters:DB$ PutCounter | Defined$ ReplacedTarget | CounterType$ P1P1 | CounterNum$ Y SVar:Y:ReplaceCount$DamageAmount DeckHas:Ability$Counters Oracle:When Jared Carthalion, True Heir enters the battlefield, target opponent becomes the monarch. You can't become the monarch this turn.\nIf damage would be dealt to Jared Carthalion while you're the monarch, prevent that damage and put that many +1/+1 counters on it. diff --git a/forge-gui/res/cardsfolder/j/jasmine_seer.txt b/forge-gui/res/cardsfolder/j/jasmine_seer.txt index c7b0dc8ed49..ff3309a88ee 100644 --- a/forge-gui/res/cardsfolder/j/jasmine_seer.txt +++ b/forge-gui/res/cardsfolder/j/jasmine_seer.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Human Wizard PT:1/1 A:AB$ Reveal | Cost$ 2 W T | Defined$ You | RevealValid$ Card.White | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBJasmineLife | SpellDescription$ Reveal any number of white cards in your hand. You gain 2 life for each card revealed this way. -SVar:DBJasmineLife:DB$ GainLife | LifeAmount$ JasmineX | SubAbility$ DBJasmineCleanup | References$ JasmineX +SVar:DBJasmineLife:DB$ GainLife | LifeAmount$ JasmineX | SubAbility$ DBJasmineCleanup SVar:JasmineX:Remembered$Amount.Twice SVar:DBJasmineCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/j/jaws_of_stone.txt b/forge-gui/res/cardsfolder/j/jaws_of_stone.txt index e40ea75f17c..847387b9334 100644 --- a/forge-gui/res/cardsfolder/j/jaws_of_stone.txt +++ b/forge-gui/res/cardsfolder/j/jaws_of_stone.txt @@ -1,7 +1,7 @@ Name:Jaws of Stone ManaCost:5 R Types:Sorcery -A:SP$ DealDamage | Cost$ 5 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to distribute damage to | NumDmg$ OrigMountains | TargetMin$ Min | TargetMax$ OrigMountains | References$ Min,OrigMountains | DividedAsYouChoose$ OrigMountains | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of targets, where X is the number of Mountains you control as you cast this spell. +A:SP$ DealDamage | Cost$ 5 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to distribute damage to | NumDmg$ OrigMountains | TargetMin$ Min | TargetMax$ OrigMountainsin,OrigMountains | DividedAsYouChoose$ OrigMountains | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of targets, where X is the number of Mountains you control as you cast this spell. T:Mode$ SpellCast | ValidCard$ Card.Self | Static$ True | Execute$ CountMountainsAtCast SVar:CountMountainsAtCast:DB$ StoreSVar | SVar$ OrigMountains | Type$ Count | Expression$ Valid Mountain.YouCtrl SVar:OrigMountains:Count$Valid Mountain.YouCtrl diff --git a/forge-gui/res/cardsfolder/j/jaya_ballard.txt b/forge-gui/res/cardsfolder/j/jaya_ballard.txt index 5d5878645d1..c78c1d2e525 100644 --- a/forge-gui/res/cardsfolder/j/jaya_ballard.txt +++ b/forge-gui/res/cardsfolder/j/jaya_ballard.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Jaya Loyalty:5 A:AB$ Mana | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | Produced$ R | Amount$ 3 | RestrictValid$ Instant,Sorcery | AILogic$ ManaRitual | SpellDescription$ Add {R}{R}{R}. Spend this mana only to cast instant or sorcery spells. A:AB$ Discard | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | NumCards$ 3 | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBDraw | SpellDescription$ Discard up to three cards, then draw that many cards. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount A:AB$ Effect | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Jaya Ballard | Image$ emblem_jaya_ballard | StaticAbilities$ STJaya | ReplacementEffects$ JayaReplace | SVars$ JayaMoveExile | Stackable$ False | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "You may cast instant and sorcery spells from your graveyard. If a spell cast this way would be put into your graveyard, exile it instead." diff --git a/forge-gui/res/cardsfolder/j/jaya_ballard_avatar.txt b/forge-gui/res/cardsfolder/j/jaya_ballard_avatar.txt index 55c9913031c..758d554bcca 100644 --- a/forge-gui/res/cardsfolder/j/jaya_ballard_avatar.txt +++ b/forge-gui/res/cardsfolder/j/jaya_ballard_avatar.txt @@ -2,7 +2,7 @@ Name:Jaya Ballard Avatar ManaCost:no cost Types:Vanguard HandLifeModifier:+0/+1 -A:AB$ DealDamage | ActivationZone$ Command | Cost$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ Y | References$ X,Y | ActivationLimit$ 1 | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals an amount of damage chosen at random from 0 to X to any target. Activate this ability only once each turn. +A:AB$ DealDamage | ActivationZone$ Command | Cost$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ Y | ActivationLimit$ 1 | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals an amount of damage chosen at random from 0 to X to any target. Activate this ability only once each turn. SVar:X:Count$xPaid SVar:Y:Count$Random.0.X SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Jaya Ballard Avatar.full.jpg diff --git a/forge-gui/res/cardsfolder/j/jaya_venerated_firemage.txt b/forge-gui/res/cardsfolder/j/jaya_venerated_firemage.txt index a61d55ea46c..eef0e390573 100644 --- a/forge-gui/res/cardsfolder/j/jaya_venerated_firemage.txt +++ b/forge-gui/res/cardsfolder/j/jaya_venerated_firemage.txt @@ -3,7 +3,7 @@ ManaCost:4 R Types:Legendary Planeswalker Jaya Loyalty:5 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.RedSource+Other+YouCtrl | ValidTarget$ Permanent,Player | ReplaceWith$ DmgPlus1 | Description$ If another red source you control would deal damage to a permanent or player, it deals that much damage plus 1 to that permanent or player instead. -SVar:DmgPlus1:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgPlus1:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Plus.1 SVar:PlayMain1:TRUE A:AB$ DealDamage | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ true | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to any target. diff --git a/forge-gui/res/cardsfolder/j/jayas_immolating_inferno.txt b/forge-gui/res/cardsfolder/j/jayas_immolating_inferno.txt index 7a508a5fd3b..efe68b3cd65 100644 --- a/forge-gui/res/cardsfolder/j/jayas_immolating_inferno.txt +++ b/forge-gui/res/cardsfolder/j/jayas_immolating_inferno.txt @@ -1,6 +1,6 @@ Name:Jaya's Immolating Inferno ManaCost:X R R Types:Legendary Sorcery -A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | TargetMin$ 0 | TargetMax$ 3 | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each of up to three targets. +A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | TargetMin$ 0 | TargetMax$ 3 | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each of up to three targets. SVar:X:Count$xPaid Oracle:(You may cast a legendary sorcery only if you control a legendary creature or planeswalker.)\nJaya's Immolating Inferno deals X damage to each of up to three targets. diff --git a/forge-gui/res/cardsfolder/j/jazal_goldmane.txt b/forge-gui/res/cardsfolder/j/jazal_goldmane.txt index 857c1ccc8b7..2f27c041c61 100644 --- a/forge-gui/res/cardsfolder/j/jazal_goldmane.txt +++ b/forge-gui/res/cardsfolder/j/jazal_goldmane.txt @@ -3,7 +3,7 @@ ManaCost:2 W W Types:Legendary Creature Cat Warrior PT:4/4 K:First Strike -A:AB$ PumpAll | Cost$ 3 W W | ValidCards$ Creature.YouCtrl+attacking | NumAtt$ X | NumDef$ X | References$ X | SpellDescription$ Attacking creatures you control get +X/+X until end of turn, where X is the number of attacking creatures. +A:AB$ PumpAll | Cost$ 3 W W | ValidCards$ Creature.YouCtrl+attacking | NumAtt$ X | NumDef$ X | SpellDescription$ Attacking creatures you control get +X/+X until end of turn, where X is the number of attacking creatures. SVar:X:Count$Valid Creature.attacking SVar:Picture:http://www.wizards.com/global/images/magic/general/jazal_goldmane.jpg Oracle:First strike\n{3}{W}{W}: Attacking creatures you control get +X/+X until end of turn, where X is the number of attacking creatures. diff --git a/forge-gui/res/cardsfolder/j/jeleva_nephalias_scourge.txt b/forge-gui/res/cardsfolder/j/jeleva_nephalias_scourge.txt index 21b24a68ef1..6e4566a8905 100644 --- a/forge-gui/res/cardsfolder/j/jeleva_nephalias_scourge.txt +++ b/forge-gui/res/cardsfolder/j/jeleva_nephalias_scourge.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Vampire Wizard PT:1/3 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, each player exiles the top X cards of their library, where X is the amount of mana spent to cast Jeleva. -SVar:TrigExile:DB$ Dig | Defined$ Player | DigNum$ X | References$ X | ChangeNum$ All | RememberChanged$ True | DestinationZone$ Exile +SVar:TrigExile:DB$ Dig | Defined$ Player | DigNum$ X | ChangeNum$ All | RememberChanged$ True | DestinationZone$ Exile SVar:X:Count$CastTotalManaSpent T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPlay | OptionalDecider$ You| TriggerDescription$ Whenever CARDNAME attacks, you may cast an instant or sorcery card exiled with it without paying its mana cost. SVar:TrigPlay:DB$ Play | ValidZone$ Exile | Valid$ Instant.IsRemembered+ExiledWithSource,Sorcery.IsRemembered+ExiledWithSource | Controller$ You | WithoutManaCost$ True | Amount$ 1 diff --git a/forge-gui/res/cardsfolder/j/jeska_thrice_reborn.txt b/forge-gui/res/cardsfolder/j/jeska_thrice_reborn.txt index d19e1921f8b..d050a124bec 100644 --- a/forge-gui/res/cardsfolder/j/jeska_thrice_reborn.txt +++ b/forge-gui/res/cardsfolder/j/jeska_thrice_reborn.txt @@ -6,9 +6,9 @@ K:etbCounter:LOYALTY:Y:no Condition:CARDNAME enters the battlefield with a loyal SVar:Y:Count$TotalCommanderCastFromCommandZone A:AB$ Effect | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | Duration$ UntilYourNextTurn | ValidTgts$ Creature | TgtPrompt$ Choose target creature | AILogic$ Pump | RememberObjects$ Targeted | ReplacementEffects$ TripleCombatDamage | SVars$ DmgTriple,Z | SpellDescription$ Choose target creature. Until your next turn, if that creature would deal combat damage to one of your opponents, it deals triple that damage to that player instead. SVar:TripleCombatDamage:Event$ DamageDone | ValidSource$ Creature.IsRemembered | CombatDamage$ True | ValidTarget$ Player.Opponent | ReplaceWith$ DmgTriple | Description$ Choose target creature. Until your next turn, if that creature would deal combat damage to one of your opponents, it deals triple that damage to that player instead. -SVar:DmgTriple:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ Z | References$ Z +SVar:DmgTriple:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ Z SVar:Z:ReplaceCount$DamageAmount/Thrice -A:AB$ DealDamage | Cost$ SubCounter | Planeswalker$ True | Ultimate$ True | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Choose up to three targets | TargetMin$ 0 | TargetMax$ 3 | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each of up to three targets. +A:AB$ DealDamage | Cost$ SubCounter | Planeswalker$ True | Ultimate$ True | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Choose up to three targets | TargetMin$ 0 | TargetMax$ 3 | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each of up to three targets. SVar:X:Count$xPaid AI:RemoveDeck:NonCommander Text:CARDNAME can be your commander. diff --git a/forge-gui/res/cardsfolder/j/jeskas_will.txt b/forge-gui/res/cardsfolder/j/jeskas_will.txt index a0db10c3677..6dc84b06b55 100644 --- a/forge-gui/res/cardsfolder/j/jeskas_will.txt +++ b/forge-gui/res/cardsfolder/j/jeskas_will.txt @@ -1,9 +1,9 @@ Name:Jeska's Will ManaCost:2 R Types:Sorcery -A:SP$ Charm | Cost$ 2 R | MinCharmNum$ 1 | CharmNum$ X | References$ X,Y | Choices$ DBHandTarget,DBExile | AdditionalDescription$ If you control a commander as you cast this spell, you may choose both. +A:SP$ Charm | Cost$ 2 R | MinCharmNum$ 1 | CharmNum$ X | Choices$ DBHandTarget,DBExile | AdditionalDescription$ If you control a commander as you cast this spell, you may choose both. SVar:DBHandTarget:DB$ Pump | ValidTgts$ Opponent | SubAbility$ DBMana | SpellDescription$ Add {R} for each card in target opponent's hand. -SVar:DBMana:DB$ Mana | Produced$ R | Amount$ Z | References$ Z | StackDescription$ None +SVar:DBMana:DB$ Mana | Produced$ R | Amount$ Z | StackDescription$ None SVar:DBExile:DB$ Dig | Defined$ You | DigNum$ 3 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ Exile the top three cards of your library. You may play them this turn. SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | SubAbility$ DBCleanup | ForgetOnMoved$ Exile SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play the exiled cards this turn. diff --git a/forge-gui/res/cardsfolder/j/jesters_mask.txt b/forge-gui/res/cardsfolder/j/jesters_mask.txt index a5c76176cdc..71158937666 100644 --- a/forge-gui/res/cardsfolder/j/jesters_mask.txt +++ b/forge-gui/res/cardsfolder/j/jesters_mask.txt @@ -3,7 +3,7 @@ ManaCost:5 Types:Artifact K:CARDNAME enters the battlefield tapped. A:AB$ ChangeZoneAll | Cost$ 1 T Sac<1/CARDNAME> | ValidTgts$ Opponent | Origin$ Hand | Destination$ Library | ChangeType$ Card | RememberChanged$ True | IsCurse$ True | SubAbility$ DBMask | SpellDescription$ Target opponent puts the cards from their hand on top of their library. Search that player's library for that many cards. That player puts those cards into their hand, then shuffles their library. -SVar:DBMask:DB$ ChangeZone | DefinedPlayer$ Targeted | Origin$ Library | Destination$ Hand | ChangeNum$ X | ChangeType$ Card | Chooser$ You | SubAbility$ DBCleanup | References$ X +SVar:DBMask:DB$ ChangeZone | DefinedPlayer$ Targeted | Origin$ Library | Destination$ Hand | ChangeNum$ X | ChangeType$ Card | Chooser$ You | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/j/jeweled_amulet.txt b/forge-gui/res/cardsfolder/j/jeweled_amulet.txt index 1ff5f555ece..e45e2197c2f 100644 --- a/forge-gui/res/cardsfolder/j/jeweled_amulet.txt +++ b/forge-gui/res/cardsfolder/j/jeweled_amulet.txt @@ -1,7 +1,7 @@ Name:Jeweled Amulet ManaCost:0 Types:Artifact -A:AB$ PutCounter | Cost$ 1 T | RememberCostMana$ True | CounterType$ CHARGE | CounterNum$ 1 | CheckSVar$ X | SVarCompare$ EQ0 | References$ X | SpellDescription$ Put a charge counter on CARDNAME. Note the type of mana spent to pay this activation cost. Activate this ability only if there are no charge counters on CARDNAME. +A:AB$ PutCounter | Cost$ 1 T | RememberCostMana$ True | CounterType$ CHARGE | CounterNum$ 1 | CheckSVar$ X | SVarCompare$ EQ0 | SpellDescription$ Put a charge counter on CARDNAME. Note the type of mana spent to pay this activation cost. Activate this ability only if there are no charge counters on CARDNAME. SVar:X:Count$CardCounters.CHARGE A:AB$ Mana | Cost$ T SubCounter<1/CHARGE> | Produced$ Special LastNotedType | SpellDescription$ Add one mana of CARDNAME's last noted type. AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/j/jeweled_bird.txt b/forge-gui/res/cardsfolder/j/jeweled_bird.txt index 040eb62527c..d596d358909 100644 --- a/forge-gui/res/cardsfolder/j/jeweled_bird.txt +++ b/forge-gui/res/cardsfolder/j/jeweled_bird.txt @@ -4,7 +4,7 @@ Types:Artifact K:Remove CARDNAME from your deck before playing if you're not playing for ante. A:AB$ ChangeZone | Cost$ T | Defined$ Self | Origin$ Battlefield | Destination$ Ante | RememberChanged$ True | SubAbility$ DBUnAnte | SpellDescription$ Ante CARDNAME. If you do, put all other cards you own from the ante into your graveyard, then draw a card. SVar:DBUnAnte:DB$ ChangeZoneAll | ConditionCheckSVar$ Y | ConditionSVarCompare$ GT0 | Origin$ Ante | Destination$ Graveyard | ChangeType$ Card.YouOwn+Other | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | ConditionCheckSVar$ Y | ConditionSVarCompare$ GT0 | Defined$ You | NumCards$ 1 | SubAbility$ DBCleanup | References$ Y +SVar:DBDraw:DB$ Draw | ConditionCheckSVar$ Y | ConditionSVarCompare$ GT0 | Defined$ You | NumCards$ 1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/j/jiang_yanggu.txt b/forge-gui/res/cardsfolder/j/jiang_yanggu.txt index f3d8500259f..6d6d7b2f0c9 100644 --- a/forge-gui/res/cardsfolder/j/jiang_yanggu.txt +++ b/forge-gui/res/cardsfolder/j/jiang_yanggu.txt @@ -4,6 +4,6 @@ Loyalty:4 Types:Legendary Planeswalker Yanggu A:AB$ Pump | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +2 | NumDef$ +2 | SpellDescription$ Target creature gets +2/+2 until end of turn. A:AB$ Token | Cost$ SubCounter<1/LOYALTY> | Planeswalker$ True | TokenAmount$ 1 | TokenScript$ mowu | TokenOwner$ You | SpellDescription$ If you don't control a creature named Mowu, create Mowu, a legendary 3/3 green Dog creature token. | IsPresent$ Creature.YouCtrl+namedMowu | PresentCompare$ EQ0 -A:AB$ Pump | Cost$ SubCounter<5/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | KW$ Trample | SpellDescription$ Until end of turn, target creature gains trample and gets +X/+X, where X is the number of lands you control. +A:AB$ Pump | Cost$ SubCounter<5/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | KW$ Trample | SpellDescription$ Until end of turn, target creature gains trample and gets +X/+X, where X is the number of lands you control. SVar:X:Count$TypeYouCtrl.Land Oracle:[+1]: Target creature gets +2/+2 until end of turn.\n[−1]: If you don't control a creature named Mowu, create Mowu, a legendary 3/3 green Dog creature token.\n[−5]: Until end of turn, target creature gains trample and gets +X/+X, where X is the number of lands you control. diff --git a/forge-gui/res/cardsfolder/j/jinxed_choker.txt b/forge-gui/res/cardsfolder/j/jinxed_choker.txt index effef7f3c6a..21a6e44ea40 100644 --- a/forge-gui/res/cardsfolder/j/jinxed_choker.txt +++ b/forge-gui/res/cardsfolder/j/jinxed_choker.txt @@ -5,7 +5,7 @@ T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefiel SVar:ChangeControl:DB$ GainControl | Defined$ Self | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ PutCounter | SpellDescription$ Target opponent gains control of CARDNAME. SVar:PutCounter:DB$ PutCounter | Cost$ 3 | CounterType$ CHARGE | CounterNum$ 1 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, CARDNAME deals damage to you equal to the number of charge counters on it. -SVar:TrigDamage:DB$ DealDamage | Defined$ You | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ You | NumDmg$ X SVar:X:Count$CardCounters.CHARGE A:AB$ PutCounter | Cost$ 3 | CounterType$ CHARGE | CounterNum$ 1 | AILogic$ Never | SpellDescription$ Put a charge counter on CARDNAME. A:AB$ RemoveCounter | Cost$ 3 | CounterType$ CHARGE | CounterNum$ 1 | AILogic$ EndOfOpponentsTurn | SpellDescription$ Remove a charge counter from CARDNAME. diff --git a/forge-gui/res/cardsfolder/j/jirina_kudro.txt b/forge-gui/res/cardsfolder/j/jirina_kudro.txt index 8ae31136ac4..b59a8e2e0b1 100755 --- a/forge-gui/res/cardsfolder/j/jirina_kudro.txt +++ b/forge-gui/res/cardsfolder/j/jirina_kudro.txt @@ -3,7 +3,7 @@ ManaCost:1 R W B Types:Legendary Creature Human Soldier PT:3/3 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a 1/1 white Human Soldier creature token for each time you've cast a commander from the command zone this game. -SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_human | TokenOwner$ You | LegacyImage$ w 1 1 human c20 | References$ X +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_human | TokenOwner$ You | LegacyImage$ w 1 1 human c20 SVar:X:Count$TotalCommanderCastFromCommandZone S:Mode$ Continuous | Affected$ Human.Other+YouCtrl | AddPower$ 2 | Description$ Other Humans you control get +2/+0. SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/j/jiwari_the_earth_aflame.txt b/forge-gui/res/cardsfolder/j/jiwari_the_earth_aflame.txt index 37c480d8512..5aed9e3c0d8 100644 --- a/forge-gui/res/cardsfolder/j/jiwari_the_earth_aflame.txt +++ b/forge-gui/res/cardsfolder/j/jiwari_the_earth_aflame.txt @@ -2,8 +2,8 @@ Name:Jiwari, the Earth Aflame ManaCost:3 R R Types:Legendary Creature Spirit PT:3/3 -A:AB$ DealDamage | Cost$ X R T | ValidTgts$ Creature.withoutFlying | TgtPrompt$ Select target creature without flying. | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature without flying. -A:AB$ DamageAll | PrecostDesc$ Channel — | Cost$ X R R R Discard<1/CARDNAME> | ActivationZone$ Hand | ValidCards$ Creature.withoutFlying | NumDmg$ X | ValidDescription$ each creature without flying. | References$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying. +A:AB$ DealDamage | Cost$ X R T | ValidTgts$ Creature.withoutFlying | TgtPrompt$ Select target creature without flying. | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature without flying. +A:AB$ DamageAll | PrecostDesc$ Channel — | Cost$ X R R R Discard<1/CARDNAME> | ActivationZone$ Hand | ValidCards$ Creature.withoutFlying | NumDmg$ X | ValidDescription$ each creature without flying. | SpellDescription$ CARDNAME deals X damage to each creature without flying. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/jiwari_the_earth_aflame.jpg Oracle:{X}{R}, {T}: Jiwari, the Earth Aflame deals X damage to target creature without flying.\nChannel — {X}{R}{R}{R}, Discard Jiwari: Jiwari deals X damage to each creature without flying. diff --git a/forge-gui/res/cardsfolder/j/johtull_wurm.txt b/forge-gui/res/cardsfolder/j/johtull_wurm.txt index 239176ce5dc..349333b245d 100644 --- a/forge-gui/res/cardsfolder/j/johtull_wurm.txt +++ b/forge-gui/res/cardsfolder/j/johtull_wurm.txt @@ -3,7 +3,7 @@ ManaCost:5 G Types:Creature Wurm PT:6/6 T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME becomes blocked, it gets -2/-1 until end of turn for each creature blocking it beyond the first. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ -X | NumDef$ -Y | References$ X,Y +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ -X | NumDef$ -Y SVar:X:SVar$Y/Twice SVar:Y:TriggerCount$NumBlockers/Minus.1 Oracle:Whenever Johtull Wurm becomes blocked, it gets -2/-1 until end of turn for each creature blocking it beyond the first. diff --git a/forge-gui/res/cardsfolder/j/jolrael_mwonvuli_recluse.txt b/forge-gui/res/cardsfolder/j/jolrael_mwonvuli_recluse.txt index 1cf0d0f2d39..6984b82d5dd 100755 --- a/forge-gui/res/cardsfolder/j/jolrael_mwonvuli_recluse.txt +++ b/forge-gui/res/cardsfolder/j/jolrael_mwonvuli_recluse.txt @@ -5,7 +5,7 @@ PT:1/2 T:Mode$ Drawn | ValidCard$ Card.YouCtrl | Number$ 2 | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever you draw your second card each turn, create a 2/2 green Cat creature token. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenOwner$ You | TokenScript$ g_2_2_cat | SpellDescription$ Create a 2/2 green Cat creature token. DeckHas:Ability$Token -A:AB$ AnimateAll | Cost$ 4 G G | ValidCards$ Creature.YouCtrl | Power$ X | Toughness$ X | References$ X | SpellDescription$ Until end of turn, creatures you control have base power and toughness X/X, where X is the number of cards in your hand. +A:AB$ AnimateAll | Cost$ 4 G G | ValidCards$ Creature.YouCtrl | Power$ X | Toughness$ X | SpellDescription$ Until end of turn, creatures you control have base power and toughness X/X, where X is the number of cards in your hand. SVar:X:Count$InYourHand AI:RemoveDeck:All Oracle:Whenever you draw your second card each turn, create a 2/2 green Cat creature token.\n{4}{G}{G}: Until end of turn, creatures you control have base power and toughness X/X, where X is the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/j/jorn_god_of_winter_kaldring_the_rimestaff.txt b/forge-gui/res/cardsfolder/j/jorn_god_of_winter_kaldring_the_rimestaff.txt index 722a5f4893e..6b1e66c3331 100644 --- a/forge-gui/res/cardsfolder/j/jorn_god_of_winter_kaldring_the_rimestaff.txt +++ b/forge-gui/res/cardsfolder/j/jorn_god_of_winter_kaldring_the_rimestaff.txt @@ -17,7 +17,7 @@ ManaCost:1 U B Types:Legendary Snow Artifact A:AB$ Effect | Cost$ T | TgtZone$ Graveyard | ValidTgts$ Permanent.Snow+YouCtrl | TgtPrompt$ Choose target snow permanent card in your graveyard | StaticAbilities$ STPlay | RememberObjects$ Targeted | ForgetOnMoved$ Graveyard | SubAbility$ DBEffect | SpellDescription$ You may play target snow permanent card from your graveyard this turn. If you do, it enters the battlefield tapped. SVar:STPlay:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Graveyard | Description$ You may play target snow permanent card from your graveyard this turn. -SVar:DBEffect:DB$ Effect | RememberObjects$ ParentTarget | ForgetOnMoved$ Stack | ReplacementEffects$ ETBCreat | SVars$ DBTap,ToBattlefield,DBExile | References$ ETBCreat,DBTap,ToBattlefield,DBExile +SVar:DBEffect:DB$ Effect | RememberObjects$ ParentTarget | ForgetOnMoved$ Stack | ReplacementEffects$ ETBCreat | SVars$ DBTap,ToBattlefield,DBExile SVar:ETBCreat:Event$ Moved | ValidCard$ Card.IsRemembered | Destination$ Battlefield | ReplaceWith$ DBTap | Description$ If you do, it enters the battlefield tapped. SVar:DBTap:DB$ Tap | Defined$ ReplacedCard | ETB$ True | SubAbility$ ToBattlefield SVar:ToBattlefield:DB$ InternalEtbReplacement | SubAbility$ DBExile diff --git a/forge-gui/res/cardsfolder/j/jotun_owl_keeper.txt b/forge-gui/res/cardsfolder/j/jotun_owl_keeper.txt index e1183023c79..dc8ffe48f4a 100644 --- a/forge-gui/res/cardsfolder/j/jotun_owl_keeper.txt +++ b/forge-gui/res/cardsfolder/j/jotun_owl_keeper.txt @@ -4,7 +4,7 @@ Types:Creature Giant PT:3/3 K:Cumulative upkeep:WU T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigToken | TriggerController$ TriggeredCardController | TriggerDescription$ When Jötun Owl Keeper dies, create a 1/1 white Bird creature token with flying for each age counter on it. -SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_bird_flying | LegacyImage$ w 1 1 bird flying csp | TokenOwner$ You | References$ X +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_bird_flying | LegacyImage$ w 1 1 bird flying csp | TokenOwner$ You SVar:X:TriggeredCard$CardCounters.AGE SVar:Picture:http://www.wizards.com/global/images/magic/general/jotun_owl_keeper.jpg Oracle:Cumulative upkeep {W} or {U} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.)\nWhen Jötun Owl Keeper dies, create a 1/1 white Bird creature token with flying for each age counter on it. diff --git a/forge-gui/res/cardsfolder/j/journey_to_oblivion.txt b/forge-gui/res/cardsfolder/j/journey_to_oblivion.txt index af94e446983..2080245dd4f 100755 --- a/forge-gui/res/cardsfolder/j/journey_to_oblivion.txt +++ b/forge-gui/res/cardsfolder/j/journey_to_oblivion.txt @@ -1,7 +1,7 @@ Name:Journey to Oblivion ManaCost:4 W Types:Enchantment -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | References$ X | Description$ This spell costs {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, exile target nonland permanent an opponent controls until CARDNAME leaves the battlefield. SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Permanent.nonLand+OppCtrl | TgtPrompt$ Select target nonland permanent an opponent controls | ConditionPresent$ Card.Self | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | Triggers$ ComeBack | RememberObjects$ Targeted | ImprintCards$ Self | SVars$ TrigReturn,ExileSelf | ConditionPresent$ Card.Self | Duration$ Permanent | ForgetOnMoved$ Exile diff --git a/forge-gui/res/cardsfolder/j/jovial_evil.txt b/forge-gui/res/cardsfolder/j/jovial_evil.txt index bae62f6f887..e081aa38999 100644 --- a/forge-gui/res/cardsfolder/j/jovial_evil.txt +++ b/forge-gui/res/cardsfolder/j/jovial_evil.txt @@ -1,7 +1,7 @@ Name:Jovial Evil ManaCost:2 B Types:Sorcery -A:SP$ DealDamage | Cost$ 2 B | ValidTgts$ Opponent | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target opponent, where X is twice the number of white creatures that player controls. +A:SP$ DealDamage | Cost$ 2 B | ValidTgts$ Opponent | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target opponent, where X is twice the number of white creatures that player controls. SVar:X:Count$Valid Creature.White+TargetedPlayerCtrl/Twice AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/jovial_evil.jpg diff --git a/forge-gui/res/cardsfolder/j/joyous_respite.txt b/forge-gui/res/cardsfolder/j/joyous_respite.txt index 3a30acb26a5..b9d16115e66 100644 --- a/forge-gui/res/cardsfolder/j/joyous_respite.txt +++ b/forge-gui/res/cardsfolder/j/joyous_respite.txt @@ -1,7 +1,7 @@ Name:Joyous Respite ManaCost:3 G Types:Sorcery Arcane -A:SP$ GainLife | Cost$ 3 G | LifeAmount$ X | References$ X | SpellDescription$ You gain 1 life for each land you control. +A:SP$ GainLife | Cost$ 3 G | LifeAmount$ X | SpellDescription$ You gain 1 life for each land you control. SVar:X:Count$TypeYouCtrl.Land SVar:Picture:http://www.wizards.com/global/images/magic/general/joyous_respite.jpg Oracle:You gain 1 life for each land you control. diff --git a/forge-gui/res/cardsfolder/j/judge_unworthy.txt b/forge-gui/res/cardsfolder/j/judge_unworthy.txt index 808763223d1..31bacab782d 100644 --- a/forge-gui/res/cardsfolder/j/judge_unworthy.txt +++ b/forge-gui/res/cardsfolder/j/judge_unworthy.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Instant A:SP$Scry | Cost$ 1 W | ScryNum$ 3 | SubAbility$ DBReveal | SpellDescription$ Choose target attacking or blocking creature. Scry 3, then reveal the top card of your library. CARDNAME deals damage equal to that card's converted mana cost to that creature. (To scry 3, look at the top three cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.) SVar:DBReveal:DB$ Dig | DigNum$ 1 | Reveal$ True | DestinationZone$ Library | LibraryPosition$ 0 | SubAbility$ DBDamage -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | References$ X +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature SVar:X:Count$TopOfLibraryCMC AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/judge_unworthy.jpg diff --git a/forge-gui/res/cardsfolder/j/jungle_wurm.txt b/forge-gui/res/cardsfolder/j/jungle_wurm.txt index 0d2b8a7417a..c3e1d05586d 100644 --- a/forge-gui/res/cardsfolder/j/jungle_wurm.txt +++ b/forge-gui/res/cardsfolder/j/jungle_wurm.txt @@ -3,6 +3,6 @@ ManaCost:3 G G Types:Creature Wurm PT:5/5 T:Mode$ AttackerBlocked | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME becomes blocked, it gets -1/-1 until end of turn for each creature blocking it beyond the first. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ -X | NumDef$ -X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ -X | NumDef$ -X SVar:X:TriggerCount$NumBlockers/Minus.1 Oracle:Whenever Jungle Wurm becomes blocked, it gets -1/-1 until end of turn for each creature blocking it beyond the first. diff --git a/forge-gui/res/cardsfolder/j/junkyo_bell.txt b/forge-gui/res/cardsfolder/j/junkyo_bell.txt index 7513990d077..bda7fb9bc40 100644 --- a/forge-gui/res/cardsfolder/j/junkyo_bell.txt +++ b/forge-gui/res/cardsfolder/j/junkyo_bell.txt @@ -2,7 +2,7 @@ Name:Junkyo Bell ManaCost:4 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPump | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may have target creature you control get +X/+X until end of turn, where X is the number of creatures you control. If you do, sacrifice that creature at the beginning of the next end step. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ +X | NumDef$ +X | References$ X | AtEOT$ Sacrifice +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ +X | NumDef$ +X | AtEOT$ Sacrifice SVar:X:Count$Valid Creature.YouCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/junkyo_bell.jpg diff --git a/forge-gui/res/cardsfolder/j/juri_master_of_the_revue.txt b/forge-gui/res/cardsfolder/j/juri_master_of_the_revue.txt index a3c632a078f..80a1a417189 100644 --- a/forge-gui/res/cardsfolder/j/juri_master_of_the_revue.txt +++ b/forge-gui/res/cardsfolder/j/juri_master_of_the_revue.txt @@ -5,7 +5,7 @@ PT:1/1 T:Mode$ Sacrificed | ValidCard$ Permanent | Execute$ TrigPutCounter | TriggerZones$ Battlefield | ValidPlayer$ You | TriggerDescription$ Whenever you sacrifice a permanent, put a +1/+1 counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigDamage | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, it deals damage equal to its power to any target. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:TriggeredCard$CardPower DeckNeeds:Ability$Sacrifice DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/j/jushi_apprentice_tomoya_the_revealer.txt b/forge-gui/res/cardsfolder/j/jushi_apprentice_tomoya_the_revealer.txt index 7074bc47d6f..533f5cb737f 100644 --- a/forge-gui/res/cardsfolder/j/jushi_apprentice_tomoya_the_revealer.txt +++ b/forge-gui/res/cardsfolder/j/jushi_apprentice_tomoya_the_revealer.txt @@ -3,7 +3,7 @@ ManaCost:1 U Types:Creature Human Wizard PT:1/2 A:AB$Draw | Cost$ 2 U T | Defined$ You | NumCards$ 1 | SubAbility$ DBFlip | SpellDescription$ Draw a card. If you have nine or more cards in hand, flip CARDNAME. -SVar:DBFlip:DB$SetState | Defined$ Self | ConditionCheckSVar$ HandSize | ConditionSVarCompare$ GE9 | Mode$ Flip | References$ HandSize +SVar:DBFlip:DB$SetState | Defined$ Self | ConditionCheckSVar$ HandSize | ConditionSVarCompare$ GE9 | Mode$ Flip SVar:HandSize:Count$InYourHand AlternateMode:Flip SVar:Picture:http://www.wizards.com/global/images/magic/general/jushi_apprentice.jpg @@ -16,7 +16,7 @@ ManaCost:1 U Colors:blue Types:Legendary Creature Human Wizard PT:2/3 -A:AB$Draw | Cost$ 3 U U T | ValidTgts$ Player | NumCards$ X | References$ X | SpellDescription$ Target player draws X cards, where X is the number of cards in your hand. +A:AB$Draw | Cost$ 3 U U T | ValidTgts$ Player | NumCards$ X | SpellDescription$ Target player draws X cards, where X is the number of cards in your hand. SVar:X:Count$InYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/tomoya_the_revealer.jpg Oracle:{3}{U}{U}, {T}: Target player draws X cards, where X is the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/j/justice.txt b/forge-gui/res/cardsfolder/j/justice.txt index b4264e313de..42edcaa287a 100644 --- a/forge-gui/res/cardsfolder/j/justice.txt +++ b/forge-gui/res/cardsfolder/j/justice.txt @@ -3,7 +3,7 @@ ManaCost:2 W W Types:Enchantment K:UpkeepCost:W W T:Mode$ DamageDealtOnce | ValidSource$ Card.Red | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ Whenever a red creature or spell deals damage, CARDNAME deals that much damage to that creature's or spell's controller. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredSourceController | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredSourceController | NumDmg$ X SVar:X:TriggerCount$DamageAmount AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/justice.jpg diff --git a/forge-gui/res/cardsfolder/j/justice_strike.txt b/forge-gui/res/cardsfolder/j/justice_strike.txt index 0f5ab66eb97..3a0a9e3f363 100644 --- a/forge-gui/res/cardsfolder/j/justice_strike.txt +++ b/forge-gui/res/cardsfolder/j/justice_strike.txt @@ -1,6 +1,6 @@ Name:Justice Strike ManaCost:R W Types:Instant -A:SP$ DealDamage | Cost$ R W | ValidTgts$ Creature | TgtPrompt$ Select target creature | DamageSource$ Targeted | NumDmg$ X | References$ X | SpellDescription$ Target creature deals damage to itself equal to its power. +A:SP$ DealDamage | Cost$ R W | ValidTgts$ Creature | TgtPrompt$ Select target creature | DamageSource$ Targeted | NumDmg$ X | SpellDescription$ Target creature deals damage to itself equal to its power. SVar:X:Targeted$CardPower Oracle:Target creature deals damage to itself equal to its power. diff --git a/forge-gui/res/cardsfolder/j/juxtapose.txt b/forge-gui/res/cardsfolder/j/juxtapose.txt index c71022b24c0..4b3b3b2d9ab 100644 --- a/forge-gui/res/cardsfolder/j/juxtapose.txt +++ b/forge-gui/res/cardsfolder/j/juxtapose.txt @@ -1,12 +1,12 @@ Name:Juxtapose ManaCost:3 U Types:Sorcery -A:SP$ ChooseCard | Cost$ 3 U | ValidTgts$ Player | Choices$ Creature.cmcEQY | TargetControls$ True | References$ Y | Mandatory$ True | AILogic$ WorstCard | RememberChosen$ True | SubAbility$ DBChooseCreatureYou | SpellDescription$ You and target player exchange control of the creature you each control with the highest converted mana cost. Then exchange control of artifacts the same way. If two or more permanents a player controls are tied for highest cost, their controller chooses one of them. -SVar:DBChooseCreatureYou:DB$ ChooseCard | Choices$ Creature.YouCtrl+cmcEQX | References$ X | Mandatory$ True | RememberChosen$ True | SubAbility$ DBExchangeCreature +A:SP$ ChooseCard | Cost$ 3 U | ValidTgts$ Player | Choices$ Creature.cmcEQY | TargetControls$ True | Mandatory$ True | AILogic$ WorstCard | RememberChosen$ True | SubAbility$ DBChooseCreatureYou | SpellDescription$ You and target player exchange control of the creature you each control with the highest converted mana cost. Then exchange control of artifacts the same way. If two or more permanents a player controls are tied for highest cost, their controller chooses one of them. +SVar:DBChooseCreatureYou:DB$ ChooseCard | Choices$ Creature.YouCtrl+cmcEQX | Mandatory$ True | RememberChosen$ True | SubAbility$ DBExchangeCreature SVar:DBExchangeCreature:DB$ ExchangeControl | Defined$ Remembered | SubAbility$ DBCleanCreature SVar:DBCleanCreature:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBChooseArtifactYou -SVar:DBChooseArtifactYou:DB$ ChooseCard | Choices$ Artifact.YouCtrl+cmcEQZ | References$ Z | Mandatory$ True | RememberChosen$ True | SubAbility$ DBChooseArtifactOpp -SVar:DBChooseArtifactOpp:DB$ ChooseCard | Defined$ ParentTarget | Choices$ Artifact.cmcEQW | TargetControls$ True | References$ W | Mandatory$ True | AILogic$ WorstCard | RememberChosen$ True | SubAbility$ DBExchangeArtifact +SVar:DBChooseArtifactYou:DB$ ChooseCard | Choices$ Artifact.YouCtrl+cmcEQZ | Mandatory$ True | RememberChosen$ True | SubAbility$ DBChooseArtifactOpp +SVar:DBChooseArtifactOpp:DB$ ChooseCard | Defined$ ParentTarget | Choices$ Artifact.cmcEQW | TargetControls$ True | Mandatory$ True | AILogic$ WorstCard | RememberChosen$ True | SubAbility$ DBExchangeArtifact SVar:DBExchangeArtifact:DB$ ExchangeControl | Defined$ Remembered | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$HighestCMC_Creature.YouCtrl+inZoneBattlefield diff --git a/forge-gui/res/cardsfolder/k/kabira_outrider.txt b/forge-gui/res/cardsfolder/k/kabira_outrider.txt index 0f9d6209624..1602eae04a1 100755 --- a/forge-gui/res/cardsfolder/k/kabira_outrider.txt +++ b/forge-gui/res/cardsfolder/k/kabira_outrider.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Human Warrior PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, target creature gets +1/+1 until end of turn for each creature in your party. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X SVar:X:Count$Party DeckHas:Ability$Party DeckHints:Type$Cleric|Rogue|Wizard diff --git a/forge-gui/res/cardsfolder/k/kabira_takedown_kabira_plateau.txt b/forge-gui/res/cardsfolder/k/kabira_takedown_kabira_plateau.txt index 196adcb2da2..570e8267b52 100644 --- a/forge-gui/res/cardsfolder/k/kabira_takedown_kabira_plateau.txt +++ b/forge-gui/res/cardsfolder/k/kabira_takedown_kabira_plateau.txt @@ -1,7 +1,7 @@ Name:Kabira Takedown ManaCost:1 W Types:Instant -A:SP$ DealDamage | Cost$ 1 W | NumDmg$ X | References$ X | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | SpellDescription$ CARDNAME deals damage equal to the number of creatures you control to target creature or planeswalker. +A:SP$ DealDamage | Cost$ 1 W | NumDmg$ X | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | SpellDescription$ CARDNAME deals damage equal to the number of creatures you control to target creature or planeswalker. SVar:X:Count$Valid Creature.YouCtrl AlternateMode:Modal Oracle:Kabira Takedown deals damage equal to the number of creatures you control to target creature or planeswalker. diff --git a/forge-gui/res/cardsfolder/k/kaboom.txt b/forge-gui/res/cardsfolder/k/kaboom.txt index 3d8a22bce86..4e875c2b23f 100644 --- a/forge-gui/res/cardsfolder/k/kaboom.txt +++ b/forge-gui/res/cardsfolder/k/kaboom.txt @@ -1,9 +1,9 @@ Name:Kaboom! ManaCost:4 R Types:Sorcery -A:SP$ RepeatEach | Cost$ 4 R | ValidTgts$ Player | TargetMin$ 0 | TargetMax$ Maxplayer | References$ Maxplayer | RepeatPlayers$ Targeted | RepeatSubAbility$ DBDigUntil | StackDescription$ SpellDescription | SpellDescription$ Choose any number of target players. For each of those players, reveal cards from the top of your library until you reveal a nonland card, Kaboom! deals damage equal to that card's converted mana cost to that player, then you put the revealed cards on the bottom of your library in any order. +A:SP$ RepeatEach | Cost$ 4 R | ValidTgts$ Player | TargetMin$ 0 | TargetMax$ Maxplayer | RepeatPlayers$ Targeted | RepeatSubAbility$ DBDigUntil | StackDescription$ SpellDescription | SpellDescription$ Choose any number of target players. For each of those players, reveal cards from the top of your library until you reveal a nonland card, Kaboom! deals damage equal to that card's converted mana cost to that player, then you put the revealed cards on the bottom of your library in any order. SVar:DBDigUntil:DB$ DigUntil | Defined$ You | Valid$ Card.nonLand | ValidDescription$ nonland card | FoundDestination$ Library | FoundLibraryPosition$ -1 | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | RememberFound$ True | SubAbility$ DBDmg -SVar:DBDmg:DB$ DealDamage | Defined$ Player.IsRemembered | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDmg:DB$ DealDamage | Defined$ Player.IsRemembered | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Maxplayer:PlayerCountPlayers$Amount diff --git a/forge-gui/res/cardsfolder/k/kaervek_the_merciless.txt b/forge-gui/res/cardsfolder/k/kaervek_the_merciless.txt index 1673684035f..e4b5d7c385c 100644 --- a/forge-gui/res/cardsfolder/k/kaervek_the_merciless.txt +++ b/forge-gui/res/cardsfolder/k/kaervek_the_merciless.txt @@ -3,7 +3,7 @@ ManaCost:5 B R Types:Legendary Creature Human Shaman PT:5/4 T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever an opponent casts a spell, CARDNAME deals damage to any target equal to that spell's converted mana cost. -SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:TriggerCount$CastSACMC SVar:Picture:http://www.wizards.com/global/images/magic/general/kaervek_the_merciless.jpg Oracle:Whenever an opponent casts a spell, Kaervek the Merciless deals damage to any target equal to that spell's converted mana cost. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/k/kaerveks_purge.txt b/forge-gui/res/cardsfolder/k/kaerveks_purge.txt index 4bc0caf59ca..b8194dcd1b8 100644 --- a/forge-gui/res/cardsfolder/k/kaerveks_purge.txt +++ b/forge-gui/res/cardsfolder/k/kaerveks_purge.txt @@ -1,8 +1,8 @@ Name:Kaervek's Purge ManaCost:X B R Types:Sorcery -A:SP$ Destroy | Cost$ X B R | ValidTgts$ Creature.cmcEQX | TgtPrompt$ Select target creature | RememberLKI$ True | SubAbility$ DBDamage | References$ X | SpellDescription$ Destroy target creature with converted mana cost X. If that creature dies this way, CARDNAME deals damage equal to the creature's power to the creature's controller. -SVar:DBDamage:DB$DealDamage | Defined$ TargetedController | NumDmg$ Z | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | References$ Y,Z | SubAbility$ DBCleanup +A:SP$ Destroy | Cost$ X B R | ValidTgts$ Creature.cmcEQX | TgtPrompt$ Select target creature | RememberLKI$ True | SubAbility$ DBDamage | SpellDescription$ Destroy target creature with converted mana cost X. If that creature dies this way, CARDNAME deals damage equal to the creature's power to the creature's controller. +SVar:DBDamage:DB$DealDamage | Defined$ TargetedController | NumDmg$ Z | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/k/kaerveks_torch.txt b/forge-gui/res/cardsfolder/k/kaerveks_torch.txt index c25f4a53674..7337eef2d21 100644 --- a/forge-gui/res/cardsfolder/k/kaerveks_torch.txt +++ b/forge-gui/res/cardsfolder/k/kaerveks_torch.txt @@ -1,7 +1,7 @@ Name:Kaervek's Torch ManaCost:X R Types:Sorcery -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target. S:Mode$ RaiseCost | ValidSpellTarget$ Card.Self | Activator$ Player | Type$ Spell | Amount$ 2 | EffectZone$ Stack | Description$ As long as CARDNAME is on the stack, spells that target it cost {2} more to cast. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/kaerveks_torch.jpg diff --git a/forge-gui/res/cardsfolder/k/kagemaro_first_to_suffer.txt b/forge-gui/res/cardsfolder/k/kagemaro_first_to_suffer.txt index 233e50ed8f9..97e3178945c 100644 --- a/forge-gui/res/cardsfolder/k/kagemaro_first_to_suffer.txt +++ b/forge-gui/res/cardsfolder/k/kagemaro_first_to_suffer.txt @@ -2,8 +2,8 @@ Name:Kagemaro, First to Suffer ManaCost:3 B B Types:Legendary Creature Demon Spirit PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. -A:AB$ PumpAll | Cost$ B Sac<1/CARDNAME> | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X | SpellDescription$ All creatures get -X/-X until end of turn, where X is the number of cards in your hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. +A:AB$ PumpAll | Cost$ B Sac<1/CARDNAME> | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ All creatures get -X/-X until end of turn, where X is the number of cards in your hand. SVar:X:Count$InYourHand AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/kagemaro_first_to_suffer.jpg diff --git a/forge-gui/res/cardsfolder/k/kagemaros_clutch.txt b/forge-gui/res/cardsfolder/k/kagemaros_clutch.txt index 7c2cbd57bc6..be0ffbf81e7 100644 --- a/forge-gui/res/cardsfolder/k/kagemaros_clutch.txt +++ b/forge-gui/res/cardsfolder/k/kagemaros_clutch.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 3 B | ValidTgts$ Creature | AILogic$ Curse -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | AddToughness$ -X | References$ X | Description$ Enchanted creature gets -X/-X, where X is the number of cards in your hand. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | AddToughness$ -X | Description$ Enchanted creature gets -X/-X, where X is the number of cards in your hand. SVar:X:Count$InYourHand AI:RemoveDeck:All Oracle:Enchant creature\nEnchanted creature gets -X/-X, where X is the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/k/kaho_minamo_historian.txt b/forge-gui/res/cardsfolder/k/kaho_minamo_historian.txt index 2d751133cbd..50a96d843df 100644 --- a/forge-gui/res/cardsfolder/k/kaho_minamo_historian.txt +++ b/forge-gui/res/cardsfolder/k/kaho_minamo_historian.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Wizard PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ Catalogue | TriggerDescription$ When CARDNAME enters the battlefield, search your library for up to three instant cards and exile them. Then shuffle your library. SVar:Catalogue:DB$ ChangeZone | Origin$ Library | Destination$ Exile | ChangeType$ Instant | ChangeNum$ 3 | RememberChanged$ True | ForgetOtherRemembered$ True -A:AB$ Play | Cost$ X T | Valid$ Card.IsRemembered+ExiledWithSource | ValidSA$ Spell.cmcEQX | ValidZone$ Exile | WithoutManaCost$ True | Amount$ 1 | Controller$ You | Optional$ True | References$ X | ForgetTargetRemembered$ True | SpellDescription$ You may cast a spell with converted mana cost X exiled with Kaho without paying its mana cost. +A:AB$ Play | Cost$ X T | Valid$ Card.IsRemembered+ExiledWithSource | ValidSA$ Spell.cmcEQX | ValidZone$ Exile | WithoutManaCost$ True | Amount$ 1 | Controller$ You | Optional$ True | ForgetTargetRemembered$ True | SpellDescription$ You may cast a spell with converted mana cost X exiled with Kaho without paying its mana cost. T:Mode$ ChangesZone | ValidCard$ Card.IsRemembered+ExiledWithSource | Origin$ Exile | Destination$ Any | Execute$ ForgetCard | Static$ True T:Mode$ SpellCast | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ ForgetCard | Static$ True SVar:ForgetCard:DB$ Cleanup | ForgetDefined$ TriggeredCard diff --git a/forge-gui/res/cardsfolder/k/kalemne_disciple_of_iroas.txt b/forge-gui/res/cardsfolder/k/kalemne_disciple_of_iroas.txt index 14a66a63560..cca3850e908 100644 --- a/forge-gui/res/cardsfolder/k/kalemne_disciple_of_iroas.txt +++ b/forge-gui/res/cardsfolder/k/kalemne_disciple_of_iroas.txt @@ -6,7 +6,7 @@ K:Double Strike K:Vigilance T:Mode$ SpellCast | ValidCard$ Creature.cmcGE5 | ValidActivatingPlayer$ You | Execute$ TrigExperience | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a creature spell with converted mana cost 5 or greater, you get an experience counter. SVar:TrigExperience:DB$ PutCounter | Defined$ You | CounterType$ Experience | CounterNum$ 1 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each experience counter you have. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each experience counter you have. SVar:X:Count$YourCountersExperience SVar:BuffedBy:Creature.cmcGE5 SVar:Picture:http://www.wizards.com/global/images/magic/general/kalemne_disciple_of_iroas.jpg diff --git a/forge-gui/res/cardsfolder/k/kalitas_bloodchief_of_ghet.txt b/forge-gui/res/cardsfolder/k/kalitas_bloodchief_of_ghet.txt index 16f8e6eb9c3..ed2452fa541 100644 --- a/forge-gui/res/cardsfolder/k/kalitas_bloodchief_of_ghet.txt +++ b/forge-gui/res/cardsfolder/k/kalitas_bloodchief_of_ghet.txt @@ -3,7 +3,7 @@ ManaCost:5 B B Types:Legendary Creature Vampire Warrior PT:5/5 A:AB$ Destroy | Cost$ B B B T | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBToken | RememberLKI$ True | SpellDescription$ Destroy target creature. If that creature dies this way, create a black Vampire creature token. Its power is equal to that creature's power and its toughness is equal to that creature's toughness. -SVar:DBToken:DB$ Token | TokenAmount$ 1 | LegacyImage$ b x x vampire zen | TokenScript$ b_x_x_vampire | TokenOwner$ You | TokenPower$ dX | TokenToughness$ dY | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X,dX,dY | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ 1 | LegacyImage$ b x x vampire zen | TokenScript$ b_x_x_vampire | TokenOwner$ You | TokenPower$ dX | TokenToughness$ dY | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:dX:RememberedLKI$CardPower diff --git a/forge-gui/res/cardsfolder/k/kalonian_twingrove.txt b/forge-gui/res/cardsfolder/k/kalonian_twingrove.txt index 746309693f9..a29f978969b 100644 --- a/forge-gui/res/cardsfolder/k/kalonian_twingrove.txt +++ b/forge-gui/res/cardsfolder/k/kalonian_twingrove.txt @@ -2,7 +2,7 @@ Name:Kalonian Twingrove ManaCost:5 G Types:Creature Treefolk Warrior PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Forests you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Forests you control. SVar:X:Count$Valid Forest.YouCtrl T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a green Treefolk Warrior creature token with "This creature's power and toughness are each equal to the number of Forests you control." SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_x_x_treefolk_warrior_total_forests | LegacyImage$ g x x treefolk warrior m15 diff --git a/forge-gui/res/cardsfolder/k/kamahls_druidic_vow.txt b/forge-gui/res/cardsfolder/k/kamahls_druidic_vow.txt index d1cb55fba67..1e0f81215d2 100644 --- a/forge-gui/res/cardsfolder/k/kamahls_druidic_vow.txt +++ b/forge-gui/res/cardsfolder/k/kamahls_druidic_vow.txt @@ -1,7 +1,7 @@ Name:Kamahl's Druidic Vow ManaCost:X G G Types:Legendary Sorcery -A:SP$ Dig | Cost$ X G G | DigNum$ X | Reveal$ True | AnyNumber$ True | ChangeValid$ Land,Permanent.Legendary+cmcLEX | DestinationZone$ Battlefield | DestinationZone2$ Graveyard | References$ X | SpellDescription$ Reveal the top X cards of your library. You may put any number of land and/or legendary permanent cards with converted mana cost X or less from among them onto the battlefield. Put the rest into your graveyard. +A:SP$ Dig | Cost$ X G G | DigNum$ X | Reveal$ True | AnyNumber$ True | ChangeValid$ Land,Permanent.Legendary+cmcLEX | DestinationZone$ Battlefield | DestinationZone2$ Graveyard | SpellDescription$ Reveal the top X cards of your library. You may put any number of land and/or legendary permanent cards with converted mana cost X or less from among them onto the battlefield. Put the rest into your graveyard. SVar:X:Count$xPaid SVar:NeedsToPlayVar:Z GE6 SVar:Z:Count$Valid Land.YouCtrl+untapped diff --git a/forge-gui/res/cardsfolder/k/kamahls_summons.txt b/forge-gui/res/cardsfolder/k/kamahls_summons.txt index 9faeb400293..93da108b684 100644 --- a/forge-gui/res/cardsfolder/k/kamahls_summons.txt +++ b/forge-gui/res/cardsfolder/k/kamahls_summons.txt @@ -4,7 +4,7 @@ Types:Sorcery A:SP$ RepeatEach | Cost$ 3 G | RepeatPlayers$ Player | RepeatSubAbility$ DBChoose | StackDescription$ SpellDescription | SubAbility$ DBRepeatToken | SpellDescription$ Each player may reveal any number of creature cards from their hand. Then each player creates a 2/2 green Bear creature token for each card they revealed this way. SVar:DBChoose:DB$ Reveal | Defined$ Player.IsRemembered | AnyNumber$ True | RevealValid$ Creature | RememberRevealed$ True SVar:DBRepeatToken:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBToken | SubAbility$ DBCleanup | ChangeZoneTable$ True -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_2_2_bear | LegacyImage$ g 2 2 bear ons | TokenOwner$ Player.IsRemembered +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ g_2_2_bear | LegacyImage$ g 2 2 bear ons | TokenOwner$ Player.IsRemembered SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ValidHand Card.IsRemembered+RememberedPlayerCtrl SVar:NeedsToPlayVar:Y GE3 diff --git a/forge-gui/res/cardsfolder/k/kamahls_will.txt b/forge-gui/res/cardsfolder/k/kamahls_will.txt index f49ae90f13a..83cf67dbc62 100644 --- a/forge-gui/res/cardsfolder/k/kamahls_will.txt +++ b/forge-gui/res/cardsfolder/k/kamahls_will.txt @@ -1,11 +1,11 @@ Name:Kamahl's Will ManaCost:3 G Types:Instant -A:SP$ Charm | Cost$ 3 G | MinCharmNum$ 1 | CharmNum$ X | References$ X,Y | Choices$ DBAnimate,DBGangUp | AdditionalDescription$ If you control a commander as you cast this spell, you may choose both. -SVar:DBAnimate:DB$ Animate | ValidTgts$ Land.YouCtrl | TgtPrompt$ Select any number of target lands you control | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | Power$ 1 | Toughness$ 1 | Types$ Elemental,Creature | Keywords$ Vigilance & Indestructible & Haste | SpellDescription$ Until end of turn, any number of target lands you control become 1/1 Elemental creatures with vigilance, indestructible, and haste. They're still lands. +A:SP$ Charm | Cost$ 3 G | MinCharmNum$ 1 | CharmNum$ X | Choices$ DBAnimate,DBGangUp | AdditionalDescription$ If you control a commander as you cast this spell, you may choose both. +SVar:DBAnimate:DB$ Animate | ValidTgts$ Land.YouCtrl | TgtPrompt$ Select any number of target lands you control | TargetMin$ 0 | TargetMax$ MaxTargets | Power$ 1 | Toughness$ 1 | Types$ Elemental,Creature | Keywords$ Vigilance & Indestructible & Haste | SpellDescription$ Until end of turn, any number of target lands you control become 1/1 Elemental creatures with vigilance, indestructible, and haste. They're still lands. SVar:DBGangUp:DB$ Pump | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Choose target creature you don't control | ImprintCards$ Targeted | SubAbility$ DBRepeatEach SVar:DBRepeatEach:DB$ RepeatEach | RepeatCards$ Creature.YouCtrl | RepeatSubAbility$ DBDamage | DamageMap$ True | SubAbility$ DBCleanup | SpellDescription$ Choose target creature you don’t control. Each creature you control deals damage equal to its power to that creature. -SVar:DBDamage:DB$ DealDamage | Defined$ Imprinted | DamageSource$ Remembered | NumDmg$ Z | References$ Z +SVar:DBDamage:DB$ DealDamage | Defined$ Imprinted | DamageSource$ Remembered | NumDmg$ Z SVar:DBCleanup:DB$ Cleanup | ClearImprinted$ True SVar:X:Count$Compare Y GE1.2.1 SVar:Y:Count$Valid Card.IsCommander+YouCtrl diff --git a/forge-gui/res/cardsfolder/k/kami_of_the_honored_dead.txt b/forge-gui/res/cardsfolder/k/kami_of_the_honored_dead.txt index e44a4698a1b..cda8b4f0a44 100644 --- a/forge-gui/res/cardsfolder/k/kami_of_the_honored_dead.txt +++ b/forge-gui/res/cardsfolder/k/kami_of_the_honored_dead.txt @@ -5,7 +5,7 @@ PT:3/5 K:Flying K:Soulshift:6 T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigGain | TriggerDescription$ Whenever CARDNAME is dealt damage, you gain that much life. -SVar:TrigGain:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE DeckHints:Type$Spirit diff --git a/forge-gui/res/cardsfolder/k/kangee_aerie_keeper.txt b/forge-gui/res/cardsfolder/k/kangee_aerie_keeper.txt index 7d844479392..0f2c9a5a171 100644 --- a/forge-gui/res/cardsfolder/k/kangee_aerie_keeper.txt +++ b/forge-gui/res/cardsfolder/k/kangee_aerie_keeper.txt @@ -5,9 +5,9 @@ PT:2/2 K:Kicker:X 2 K:Flying T:Mode$ ChangesZone | ValidCard$ Card.Self+kicked | Origin$ Any | Destination$ Battlefield | Execute$ FeatherDuster | TriggerDescription$ When CARDNAME enters the battlefield, if it was kicked, put X feather counters on it. -SVar:FeatherDuster:DB$ PutCounter | Defined$ Self | CounterType$ FEATHER | CounterNum$ X | References$ X +SVar:FeatherDuster:DB$ PutCounter | Defined$ Self | CounterType$ FEATHER | CounterNum$ X SVar:X:Count$xPaid -S:Mode$ Continuous | Affected$ Creature.Bird+Other | AddPower$ Y | AddToughness$ Y | References$ Y | Description$ Other Bird creatures get +1/+1 for each feather counter on CARDNAME. +S:Mode$ Continuous | Affected$ Creature.Bird+Other | AddPower$ Y | AddToughness$ Y | Description$ Other Bird creatures get +1/+1 for each feather counter on CARDNAME. SVar:Y:Count$CardCounters.FEATHER SVar:Picture:http://www.wizards.com/global/images/magic/general/kangee_aerie_keeper.jpg Oracle:Kicker {X}{2} (You may pay an additional {X}{2} as you cast this spell.)\nFlying\nWhen Kangee, Aerie Keeper enters the battlefield, if it was kicked, put X feather counters on it.\nOther Bird creatures get +1/+1 for each feather counter on Kangee, Aerie Keeper. diff --git a/forge-gui/res/cardsfolder/k/karador_ghost_chieftain.txt b/forge-gui/res/cardsfolder/k/karador_ghost_chieftain.txt index 265f547541a..4db665ee562 100644 --- a/forge-gui/res/cardsfolder/k/karador_ghost_chieftain.txt +++ b/forge-gui/res/cardsfolder/k/karador_ghost_chieftain.txt @@ -2,7 +2,7 @@ Name:Karador, Ghost Chieftain ManaCost:5 W B G Types:Legendary Creature Centaur Spirit PT:3/4 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature card in your graveyard. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature card in your graveyard. SVar:X:Count$ValidGraveyard Creature.YouCtrl S:Mode$ Continuous | Affected$ Creature.nonLand+YouCtrl | Condition$ PlayerTurn | MayPlay$ True | MayPlayLimit$ 1 | EffectZone$ Battlefield | AffectedZone$ Graveyard | Description$ During each of your turns, you may cast a creature spell from your graveyard. SVar:Picture:http://www.wizards.com/global/images/magic/general/karador_ghost_chieftain.jpg diff --git a/forge-gui/res/cardsfolder/k/karametra_god_of_harvests.txt b/forge-gui/res/cardsfolder/k/karametra_god_of_harvests.txt index 519c38bb7a8..c59a330b0e7 100644 --- a/forge-gui/res/cardsfolder/k/karametra_god_of_harvests.txt +++ b/forge-gui/res/cardsfolder/k/karametra_god_of_harvests.txt @@ -3,7 +3,7 @@ ManaCost:3 G W Types:Legendary Enchantment Creature God PT:6/7 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | References$ X | Description$ As long as your devotion to green and white is less than seven, CARDNAME isn't a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | Description$ As long as your devotion to green and white is less than seven, CARDNAME isn't a creature. SVar:X:Count$DevotionDual.Green.White T:Mode$ SpellCast | ValidCard$ Creature | ValidActivatingPlayer$ You | Execute$ TrigSearch | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever you cast a creature spell, you may search your library for a Forest or Plains card, put it onto the battlefield tapped, then shuffle your library. SVar:TrigSearch:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Forest,Plains | ChangeNum$ 1 | Tapped$ True | ShuffleNonMandatory$ True diff --git a/forge-gui/res/cardsfolder/k/karametras_acolyte.txt b/forge-gui/res/cardsfolder/k/karametras_acolyte.txt index b91fff5bcf7..295ef9b1f75 100644 --- a/forge-gui/res/cardsfolder/k/karametras_acolyte.txt +++ b/forge-gui/res/cardsfolder/k/karametras_acolyte.txt @@ -2,7 +2,7 @@ Name:Karametra's Acolyte ManaCost:3 G Types:Creature Human Druid PT:1/4 -A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | References$ X | SpellDescription$ Add an amount of {G} equal to your devotion to green. (Each {G} in the mana costs of permanents you control counts towards your devotion to green.) +A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | SpellDescription$ Add an amount of {G} equal to your devotion to green. (Each {G} in the mana costs of permanents you control counts towards your devotion to green.) SVar:X:Count$Devotion.Green SVar:Picture:http://www.wizards.com/global/images/magic/general/karametras_acolyte.jpg Oracle:{T}: Add an amount of {G} equal to your devotion to green. (Each {G} in the mana costs of permanents you control counts toward your devotion to green.) diff --git a/forge-gui/res/cardsfolder/k/karma.txt b/forge-gui/res/cardsfolder/k/karma.txt index 087114b53cb..c20cd2f3882 100644 --- a/forge-gui/res/cardsfolder/k/karma.txt +++ b/forge-gui/res/cardsfolder/k/karma.txt @@ -2,7 +2,7 @@ Name:Karma ManaCost:2 W W Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of each player's upkeep, CARDNAME deals damage to that player equal to the number of Swamps they control. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:Count$Valid Swamp.ActivePlayerCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/karma.jpg diff --git a/forge-gui/res/cardsfolder/k/karn_silver_golem.txt b/forge-gui/res/cardsfolder/k/karn_silver_golem.txt index 555f8b3fe62..6a7d854c54f 100644 --- a/forge-gui/res/cardsfolder/k/karn_silver_golem.txt +++ b/forge-gui/res/cardsfolder/k/karn_silver_golem.txt @@ -5,7 +5,7 @@ PT:4/4 T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked, it gets -4/+4 until end of turn. T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ TrigPump | Secondary$ True | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked, it gets -4/+4 until end of turn. SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ -4 | NumDef$ 4 -A:AB$ Animate | Cost$ 1 | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select target noncreature artifact | Power$ X | Toughness$ X | Types$ Artifact,Creature | References$ X | SpellDescription$ Target noncreature artifact becomes an artifact creature with power and toughness each equal to its converted mana cost until end of turn. +A:AB$ Animate | Cost$ 1 | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select target noncreature artifact | Power$ X | Toughness$ X | Types$ Artifact,Creature | SpellDescription$ Target noncreature artifact becomes an artifact creature with power and toughness each equal to its converted mana cost until end of turn. SVar:X:Targeted$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/karn_silver_golem.jpg diff --git a/forge-gui/res/cardsfolder/k/karn_the_great_creator.txt b/forge-gui/res/cardsfolder/k/karn_the_great_creator.txt index 5aeada3f93f..5562d492e1f 100644 --- a/forge-gui/res/cardsfolder/k/karn_the_great_creator.txt +++ b/forge-gui/res/cardsfolder/k/karn_the_great_creator.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Karn Loyalty:5 S:Mode$ Continuous | Affected$ Artifact.OppCtrl | AddHiddenKeyword$ CARDNAME's activated abilities can't be activated. | Description$ Activated abilities of artifacts your opponents control can't be activated. SVar:NonStackingEffect:True -A:AB$ Animate | Cost$ AddCounter<1/LOYALTY> | TargetMin$ 0 | TargetMax$ 1 | Planeswalker$ True | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select target noncreature artifact | Power$ X | Toughness$ X | Types$ Artifact,Creature | References$ X | UntilYourNextTurn$ True | AILogic$ PTByCMC | SpellDescription$ Until your next turn, up to one target noncreature artifact becomes an artifact creature with power and toughness each equal to its converted mana cost. +A:AB$ Animate | Cost$ AddCounter<1/LOYALTY> | TargetMin$ 0 | TargetMax$ 1 | Planeswalker$ True | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select target noncreature artifact | Power$ X | Toughness$ X | Types$ Artifact,Creature | UntilYourNextTurn$ True | AILogic$ PTByCMC | SpellDescription$ Until your next turn, up to one target noncreature artifact becomes an artifact creature with power and toughness each equal to its converted mana cost. SVar:X:Targeted$CardManaCost A:AB$ ChangeZone | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | Origin$ Sideboard,Exile | Destination$ Hand | ChangeType$ Artifact.YouOwn | ChangeTypeDesc$ artifact they own | ChangeNum$ 1 | Hidden$ True | Reveal$ True | StackDescription$ {p:You} may reveal an artifact card they own from outside the game or in exile and put it into their hand. | SpellDescription$ You may reveal an artifact card you own from outside the game or choose a face-up artifact card you own in exile. Put that card into your hand. AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/k/karns_touch.txt b/forge-gui/res/cardsfolder/k/karns_touch.txt index d8efcd9c3f2..37ab32b6eeb 100644 --- a/forge-gui/res/cardsfolder/k/karns_touch.txt +++ b/forge-gui/res/cardsfolder/k/karns_touch.txt @@ -1,7 +1,7 @@ Name:Karn's Touch ManaCost:U U Types:Instant -A:SP$ Animate | Cost$ U U | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select noncreature artifact | Power$ X | Toughness$ X | Types$ Artifact,Creature | References$ X | SpellDescription$ Target noncreature artifact becomes an artifact creature with power and toughness each equal to its converted mana cost until end of turn. (It retains its abilities.) +A:SP$ Animate | Cost$ U U | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select noncreature artifact | Power$ X | Toughness$ X | Types$ Artifact,Creature | SpellDescription$ Target noncreature artifact becomes an artifact creature with power and toughness each equal to its converted mana cost until end of turn. (It retains its abilities.) SVar:X:Targeted$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/karns_touch.jpg diff --git a/forge-gui/res/cardsfolder/k/karplusan_yeti.txt b/forge-gui/res/cardsfolder/k/karplusan_yeti.txt index 4bb07a184d0..6208fa15fde 100644 --- a/forge-gui/res/cardsfolder/k/karplusan_yeti.txt +++ b/forge-gui/res/cardsfolder/k/karplusan_yeti.txt @@ -2,8 +2,8 @@ Name:Karplusan Yeti ManaCost:3 R R Types:Creature Yeti PT:3/3 -A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DamageThis | References$ X | SpellDescription$ CARDNAME deals damage equal to its power to target creature. That creature deals damage equal to its power to CARDNAME. -SVar:DamageThis:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y | References$ Y +A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DamageThis | SpellDescription$ CARDNAME deals damage equal to its power to target creature. That creature deals damage equal to its power to CARDNAME. +SVar:DamageThis:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y SVar:X:Count$CardPower SVar:Y:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/karplusan_yeti.jpg diff --git a/forge-gui/res/cardsfolder/k/kathril_aspect_warper.txt b/forge-gui/res/cardsfolder/k/kathril_aspect_warper.txt index 5783e240a96..98fd1c2a4fb 100755 --- a/forge-gui/res/cardsfolder/k/kathril_aspect_warper.txt +++ b/forge-gui/res/cardsfolder/k/kathril_aspect_warper.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Nightmare Insect PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ PutKeywordCounter | TriggerDescription$ When CARDNAME enters the battlefield, put a flying counter on any creature you control if a creature card in your graveyard has flying. Repeat this process for first strike, double strike, deathtouch, hexproof, indestructible, lifelink, menace, reach, trample, and vigilance. Then put a +1/+1 counter on NICKNAME for each counter put on a creature this way. SVar:PutKeywordCounter:DB$ PutCounter | Choices$ Creature.YouCtrl | ChoiceTitle$ Choose a creature | SharedKeywords$ Flying & First Strike & Double Strike & Deathtouch & Hexproof & Indestructible & Lifelink & Menace & Reach & Trample & Vigilance | SharedKeywordsZone$ Graveyard | SharedRestrictions$ Card.YouOwn | CounterNum$ 1 | RememberAmount$ True | SubAbility$ PutCounters -SVar:PutCounters:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBCleanup +SVar:PutCounters:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedNumber DeckHas:Ability$Counters & Ability$Graveyard diff --git a/forge-gui/res/cardsfolder/k/kavu_mauler.txt b/forge-gui/res/cardsfolder/k/kavu_mauler.txt index b8c68871da5..f9b6a8488d3 100644 --- a/forge-gui/res/cardsfolder/k/kavu_mauler.txt +++ b/forge-gui/res/cardsfolder/k/kavu_mauler.txt @@ -4,7 +4,7 @@ Types:Creature Kavu PT:4/4 K:Trample T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+1 until end of turn for each other attacking Kavu. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X SVar:X:Count$Valid Kavu.attacking+Other SVar:Picture:http://www.wizards.com/global/images/magic/general/kavu_mauler.jpg Oracle:Trample\nWhenever Kavu Mauler attacks, it gets +1/+1 until end of turn for each other attacking Kavu. diff --git a/forge-gui/res/cardsfolder/k/kavu_predator.txt b/forge-gui/res/cardsfolder/k/kavu_predator.txt index 0e33e463f80..22549031114 100644 --- a/forge-gui/res/cardsfolder/k/kavu_predator.txt +++ b/forge-gui/res/cardsfolder/k/kavu_predator.txt @@ -3,8 +3,8 @@ ManaCost:1 G Types:Creature Kavu PT:2/2 K:Trample -T:Mode$ LifeGained | ValidPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigPut | References$ X | TriggerDescription$ Whenever an opponent gains life, put that many +1/+1 counters on CARDNAME. -SVar:TrigPut:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +T:Mode$ LifeGained | ValidPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigPut | TriggerDescription$ Whenever an opponent gains life, put that many +1/+1 counters on CARDNAME. +SVar:TrigPut:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X SVar:X:TriggerCount$LifeAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/kavu_predator.jpg Oracle:Trample\nWhenever an opponent gains life, put that many +1/+1 counters on Kavu Predator. diff --git a/forge-gui/res/cardsfolder/k/kaya_orzhov_usurper.txt b/forge-gui/res/cardsfolder/k/kaya_orzhov_usurper.txt index 2f208a38d95..85ab2110083 100644 --- a/forge-gui/res/cardsfolder/k/kaya_orzhov_usurper.txt +++ b/forge-gui/res/cardsfolder/k/kaya_orzhov_usurper.txt @@ -6,8 +6,8 @@ A:AB$ ChangeZone | Cost$ AddCounter<1/LOYALTY> | Origin$ Graveyard | Destination SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ 2 | ConditionDefined$ Remembered | ConditionPresent$ Creature | ConditionCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True A:AB$ ChangeZone | Cost$ SubCounter<1/LOYALTY> | Planeswalker$ True | Origin$ Battlefield | Destination$ Exile | TgtPrompt$ Choose target nonland permanent with converted mana cost 1 or less | ValidTgts$ Permanent.nonLand+cmcLE1 | SpellDescription$ Exile target nonland permanent with converted mana cost 1 or less. -A:AB$ DealDamage | Cost$ SubCounter<5/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Player | RememberTargets$ True | NumDmg$ X | References$ X | SubAbility$ DBYouGainLife | SpellDescription$ CARDNAME deals damage to target player equal to the number of cards that player owns in exile and you gain that much life. -SVar:DBYouGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +A:AB$ DealDamage | Cost$ SubCounter<5/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Player | RememberTargets$ True | NumDmg$ X | SubAbility$ DBYouGainLife | SpellDescription$ CARDNAME deals damage to target player equal to the number of cards that player owns in exile and you gain that much life. +SVar:DBYouGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$ValidExile Card.RememberedPlayerOwn DeckHas:Ability$LifeGain Oracle:[+1]: Exile up to two target cards from a single graveyard. You gain 2 life if at least one creature card was exiled this way.\n[−1]: Exile target nonland permanent with converted mana cost 1 or less.\n[−5]: Kaya, Orzhov Usurper deals damage to target player equal to the number of cards that player owns in exile and you gain that much life. diff --git a/forge-gui/res/cardsfolder/k/kayas_wrath.txt b/forge-gui/res/cardsfolder/k/kayas_wrath.txt index 78f0dee2714..ea999016e55 100644 --- a/forge-gui/res/cardsfolder/k/kayas_wrath.txt +++ b/forge-gui/res/cardsfolder/k/kayas_wrath.txt @@ -2,7 +2,7 @@ Name:Kaya's Wrath ManaCost:W W B B Types:Sorcery A:SP$ DestroyAll | Cost$ W W B B | ValidCards$ Creature | RememberDestroyed$ True | SubAbility$ DBGainLife | SpellDescription$ Destroy all creatures. You gain life equal to the number of creatures you controlled that were destroyed this way. -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$FilterControlledByYou_Number$1 DeckHas:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/k/kaza_roil_chaser.txt b/forge-gui/res/cardsfolder/k/kaza_roil_chaser.txt index c90c008e38d..e40860811cc 100644 --- a/forge-gui/res/cardsfolder/k/kaza_roil_chaser.txt +++ b/forge-gui/res/cardsfolder/k/kaza_roil_chaser.txt @@ -6,7 +6,7 @@ K:Flying K:Haste A:AB$ StoreSVar | Cost$ T | SVar$ WizNum | Type$ CountSVar | Expression$ X | SubAbility$ DBEffect | SpellDescription$ The next instant or sorcery spell you cast this turn costs {X} less to cast, where X is the number of Wizards you control as this ability resolves. SVar:DBEffect:DB$ Effect | StaticAbilities$ ReduceCost | Triggers$ TrigCastSpell | SVars$ RemoveEffect,WizNum -SVar:ReduceCost:Mode$ ReduceCost | EffectZone$ Command | Type$ Spell | ValidCard$ Instant,Sorcery | Activator$ You | Amount$ WizNum | References$ WizNum | Description$ The next instant or sorcery spell you cast this turn costs {X} less to cast, where X is the number of Wizards you controlled at the time EFFECTSOURCE's ability resolved. +SVar:ReduceCost:Mode$ ReduceCost | EffectZone$ Command | Type$ Spell | ValidCard$ Instant,Sorcery | Activator$ You | Amount$ WizNum | Description$ The next instant or sorcery spell you cast this turn costs {X} less to cast, where X is the number of Wizards you controlled at the time EFFECTSOURCE's ability resolved. SVar:TrigCastSpell:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | TriggerZones$ Command | Execute$ RemoveEffect | Static$ True SVar:RemoveEffect:DB$ ChangeZone | Origin$ Command | Destination$ Exile SVar:WizNum:Number$0 diff --git a/forge-gui/res/cardsfolder/k/kazuuls_fury_kazuuls_cliffs.txt b/forge-gui/res/cardsfolder/k/kazuuls_fury_kazuuls_cliffs.txt index d6171d7ee9f..aade696dac1 100644 --- a/forge-gui/res/cardsfolder/k/kazuuls_fury_kazuuls_cliffs.txt +++ b/forge-gui/res/cardsfolder/k/kazuuls_fury_kazuuls_cliffs.txt @@ -1,7 +1,7 @@ Name:Kazuul's Fury ManaCost:2 R Types:Instant -A:SP$ DealDamage | Cost$ 2 R Sac<1/Creature> | NumDmg$ X | References$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to any target. +A:SP$ DealDamage | Cost$ 2 R Sac<1/Creature> | NumDmg$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to any target. SVar:X:Sacrificed$CardPower DeckHas:Ability$Sacrifice AlternateMode:Modal diff --git a/forge-gui/res/cardsfolder/k/kediss_emberclaw_familiar.txt b/forge-gui/res/cardsfolder/k/kediss_emberclaw_familiar.txt index 2a98254481c..fcca8dbdf6e 100644 --- a/forge-gui/res/cardsfolder/k/kediss_emberclaw_familiar.txt +++ b/forge-gui/res/cardsfolder/k/kediss_emberclaw_familiar.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Legendary Creature Elemental Lizard PT:1/1 T:Mode$ DamageDone | ValidSource$ Creature.IsCommander+YouCtrl | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigSlug | TriggerZones$ Battlefield | TriggerDescription$ Whenever a commander you control deals combat damage to an opponent, it deals that much damage to each other opponent. -SVar:TrigSlug:DB$ DamageAll | ValidPlayers$ OppNonTriggeredTarget | NumDmg$ X | References$ X | DamageSource$ TriggeredSource +SVar:TrigSlug:DB$ DamageAll | ValidPlayers$ OppNonTriggeredTarget | NumDmg$ X | DamageSource$ TriggeredSource SVar:X:TriggerCount$DamageAmount K:Partner SVar:BuffedBy:Card.IsCommander diff --git a/forge-gui/res/cardsfolder/k/keening_stone.txt b/forge-gui/res/cardsfolder/k/keening_stone.txt index 9afc0e21c8f..55c68ae3013 100644 --- a/forge-gui/res/cardsfolder/k/keening_stone.txt +++ b/forge-gui/res/cardsfolder/k/keening_stone.txt @@ -1,6 +1,6 @@ Name:Keening Stone ManaCost:6 Types:Artifact -A:AB$ Mill | Cost$ 5 T | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X | References$ X | SpellDescription$ Target player mills X cards, where X is the number of cards in that player's graveyard. +A:AB$ Mill | Cost$ 5 T | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X | SpellDescription$ Target player mills X cards, where X is the number of cards in that player's graveyard. SVar:X:TargetedPlayer$CardsInGraveyard Oracle:{5}, {T}: Target player mills X cards, where X is the number of cards in that player's graveyard. diff --git a/forge-gui/res/cardsfolder/k/keep_watch.txt b/forge-gui/res/cardsfolder/k/keep_watch.txt index 45cf7f3562e..579dac7b17b 100644 --- a/forge-gui/res/cardsfolder/k/keep_watch.txt +++ b/forge-gui/res/cardsfolder/k/keep_watch.txt @@ -1,7 +1,7 @@ Name:Keep Watch ManaCost:2 U Types:Instant -A:SP$ Draw | Cost$ 2 U | NumCards$ X | References$ X | SpellDescription$ Draw a card for each attacking creature. +A:SP$ Draw | Cost$ 2 U | NumCards$ X | SpellDescription$ Draw a card for each attacking creature. SVar:X:Count$Valid Creature.attacking SVar:NeedsToPlay:Creature.attacking SVar:Picture:http://www.wizards.com/global/images/magic/general/keep_watch.jpg diff --git a/forge-gui/res/cardsfolder/k/keeper_of_the_accord.txt b/forge-gui/res/cardsfolder/k/keeper_of_the_accord.txt index 5aa6ddc875b..62276b8e68e 100644 --- a/forge-gui/res/cardsfolder/k/keeper_of_the_accord.txt +++ b/forge-gui/res/cardsfolder/k/keeper_of_the_accord.txt @@ -2,9 +2,9 @@ Name:Keeper of the Accord ManaCost:3 W Types:Creature Human Soldier PT:3/4 -T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Opponent | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GTW | References$ X,W | Execute$ TrigToken | TriggerDescription$ At the beginning of each opponent's end step, if that player controls more creatures than you, create a 1/1 white Soldier creature token. +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Opponent | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GTW | Execute$ TrigToken | TriggerDescription$ At the beginning of each opponent's end step, if that player controls more creatures than you, create a 1/1 white Soldier creature token. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ w_1_1_soldier | TokenOwner$ You -T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Opponent | TriggerZones$ Battlefield | CheckSVar$ Z | SVarCompare$ GTY | References$ Z,Y | Execute$ TrigChangeZone | OptionalDecider$ You | TriggerDescription$ At the beginning of each opponent's end step, if that player controls more lands than you, you may search your library for a basic Plains card, put it onto the battlefield tapped, then shuffle your library. +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Opponent | TriggerZones$ Battlefield | CheckSVar$ Z | SVarCompare$ GTY | Execute$ TrigChangeZone | OptionalDecider$ You | TriggerDescription$ At the beginning of each opponent's end step, if that player controls more lands than you, you may search your library for a basic Plains card, put it onto the battlefield tapped, then shuffle your library. SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Plains+Basic | Tapped$ True | ChangeNum$ 1 SVar:W:Count$Valid Creature.YouCtrl SVar:X:Count$Valid Creature.ActivePlayerCtrl diff --git a/forge-gui/res/cardsfolder/k/keeper_of_the_dead.txt b/forge-gui/res/cardsfolder/k/keeper_of_the_dead.txt index 3519c47ba79..5702a48ebb4 100644 --- a/forge-gui/res/cardsfolder/k/keeper_of_the_dead.txt +++ b/forge-gui/res/cardsfolder/k/keeper_of_the_dead.txt @@ -2,7 +2,7 @@ Name:Keeper of the Dead ManaCost:B B Types:Creature Human Wizard PT:1/2 -A:AB$ Pump | Cost$ B T | ValidTgts$ Opponent | TgtPrompt$ Choose target opponent with at least two fewer creature cards in their graveyard than you | CheckSVar$ X | SVarCompare$ GEY | SubAbility$ DeadKeepersDestroy | StackDescription$ None | References$ X,Y | SpellDescription$ Choose target opponent who had at least two fewer creature cards in their graveyard than you did as you activated this ability. Destroy target nonblack creature that player controls. +A:AB$ Pump | Cost$ B T | ValidTgts$ Opponent | TgtPrompt$ Choose target opponent with at least two fewer creature cards in their graveyard than you | CheckSVar$ X | SVarCompare$ GEY | SubAbility$ DeadKeepersDestroy | StackDescription$ None,Y | SpellDescription$ Choose target opponent who had at least two fewer creature cards in their graveyard than you did as you activated this ability. Destroy target nonblack creature that player controls. SVar:DeadKeepersDestroy:DB$ Destroy | ValidTgts$ Creature.nonBlack+TargetedPlayerCtrl | TgtPrompt$ Select target nonblack creature targeted player controls SVar:X:Count$TypeInYourYard.Creature/Minus.2 SVar:Y:Count$TypeInOppYard.Creature diff --git a/forge-gui/res/cardsfolder/k/keeper_of_the_mind.txt b/forge-gui/res/cardsfolder/k/keeper_of_the_mind.txt index 329abea6a34..83720e60285 100644 --- a/forge-gui/res/cardsfolder/k/keeper_of_the_mind.txt +++ b/forge-gui/res/cardsfolder/k/keeper_of_the_mind.txt @@ -2,7 +2,7 @@ Name:Keeper of the Mind ManaCost:U U Types:Creature Human Wizard PT:1/2 -A:AB$ Draw | Cost$ U T | ValidTgts$ Opponent | TgtPrompt$ Choose target opponent with at least two more cards in hand than you | CheckSVar$ X | SVarCompare$ GEY | Defined$ You | NumCards$ 1 | References$ X,Y | SpellDescription$ Choose target opponent who had at least two more cards in hand than you did as you activated this ability. Draw a card. +A:AB$ Draw | Cost$ U T | ValidTgts$ Opponent | TgtPrompt$ Choose target opponent with at least two more cards in hand than you | CheckSVar$ X | SVarCompare$ GEY | Defined$ You | NumCards$ 1 | SpellDescription$ Choose target opponent who had at least two more cards in hand than you did as you activated this ability. Draw a card. SVar:X:Count$InOppHandCount SVar:Y:Count$InYourHand/Plus.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/keeper_of_the_mind.jpg diff --git a/forge-gui/res/cardsfolder/k/keldon_battlewagon.txt b/forge-gui/res/cardsfolder/k/keldon_battlewagon.txt index ebebd0f17b3..02e4b9e2fec 100644 --- a/forge-gui/res/cardsfolder/k/keldon_battlewagon.txt +++ b/forge-gui/res/cardsfolder/k/keldon_battlewagon.txt @@ -8,7 +8,7 @@ T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ DelTrig | TriggerDescription$ SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ EndCombat | ValidPlayer$ Player | Execute$ TrigSacrifice | TriggerDescription$ Sacrifice CARDNAME at end of combat. SVar:TrigSacrifice:DB$Sacrifice | Defined$ Self SVar:SacrificeEndCombat:True -A:AB$ Pump | Cost$ tapXType<1/Creature> | NumAtt$ +X | References$ X | SpellDescription$ CARDNAME gets +X/+0 until end of turn, where X is the power of the creature tapped this way. +A:AB$ Pump | Cost$ tapXType<1/Creature> | NumAtt$ +X | SpellDescription$ CARDNAME gets +X/+0 until end of turn, where X is the power of the creature tapped this way. SVar:X:Tapped$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/keldon_battlewagon.jpg diff --git a/forge-gui/res/cardsfolder/k/keldon_raider.txt b/forge-gui/res/cardsfolder/k/keldon_raider.txt index 3afaa7198b2..7b935cc7afc 100644 --- a/forge-gui/res/cardsfolder/k/keldon_raider.txt +++ b/forge-gui/res/cardsfolder/k/keldon_raider.txt @@ -4,7 +4,7 @@ Types:Creature Human Warrior PT:4/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, you may discard a card. If you do, draw a card. SVar:TrigDiscard:DB$ Discard | NumCards$ 1 | Mode$ TgtChoose | Optional$ True | RememberDiscarded$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount Oracle:When Keldon Raider enters the battlefield, you may discard a card. If you do, draw a card. diff --git a/forge-gui/res/cardsfolder/k/keldon_twilight.txt b/forge-gui/res/cardsfolder/k/keldon_twilight.txt index b7de0477be8..f38f9f38c28 100644 --- a/forge-gui/res/cardsfolder/k/keldon_twilight.txt +++ b/forge-gui/res/cardsfolder/k/keldon_twilight.txt @@ -1,7 +1,7 @@ Name:Keldon Twilight ManaCost:1 B R Types:Enchantment -T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigSac | CheckSVar$ AttackedThisTurn | References$ AttackedThisTurn | SVarCompare$ EQ0 | TriggerDescription$ At the beginning of each player's end step, if no creatures attacked this turn, that player sacrifices a creature they controlled since the beginning of the turn. +T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigSac | CheckSVar$ AttackedThisTurn | SVarCompare$ EQ0 | TriggerDescription$ At the beginning of each player's end step, if no creatures attacked this turn, that player sacrifices a creature they controlled since the beginning of the turn. SVar:TrigSac:DB$ Sacrifice | Defined$ TriggeredPlayer | SacValid$ Creature.notFirstTurnControlled SVar:AttackedThisTurn:PlayerCountPlayers$AttackersDeclared SVar:Picture:http://www.wizards.com/global/images/magic/general/keldon_twilight.jpg diff --git a/forge-gui/res/cardsfolder/k/keldon_warlord.txt b/forge-gui/res/cardsfolder/k/keldon_warlord.txt index 560892c822b..791e86ac062 100644 --- a/forge-gui/res/cardsfolder/k/keldon_warlord.txt +++ b/forge-gui/res/cardsfolder/k/keldon_warlord.txt @@ -2,7 +2,7 @@ Name:Keldon Warlord ManaCost:2 R R Types:Creature Human Barbarian PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of non-Wall creatures you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of non-Wall creatures you control. SVar:X:Count$Valid Creature.nonWall+YouCtrl SVar:BuffedBy:Creature.nonWall SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/k/kelsien_the_plague.txt b/forge-gui/res/cardsfolder/k/kelsien_the_plague.txt index 6a543d94302..f59ca4d61c4 100755 --- a/forge-gui/res/cardsfolder/k/kelsien_the_plague.txt +++ b/forge-gui/res/cardsfolder/k/kelsien_the_plague.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Assassin PT:2/2 K:Vigilance K:Haste -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each experience counter you have. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each experience counter you have. SVar:X:Count$YourCountersExperience A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creature you don't control | NumDmg$ 1 | SubAbility$ DBAnimate | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals 1 damage to target creature you don't control. When that creature dies this turn, you get an experience counter. SVar:DBAnimate:DB$ Effect | Triggers$ TrigDies | SVars$ TrigPutCounter | RememberObjects$ ParentTarget | StackDescription$ When {c:Remembered} dies this turn, you get an experience counter. diff --git a/forge-gui/res/cardsfolder/k/kemba_kha_regent.txt b/forge-gui/res/cardsfolder/k/kemba_kha_regent.txt index 54caaf868b9..79856f52e35 100644 --- a/forge-gui/res/cardsfolder/k/kemba_kha_regent.txt +++ b/forge-gui/res/cardsfolder/k/kemba_kha_regent.txt @@ -3,7 +3,7 @@ ManaCost:1 W W Types:Legendary Creature Cat Cleric PT:2/4 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your upkeep, create a 2/2 white Cat creature token for each Equipment attached to CARDNAME. -SVar:TrigToken:DB$Token | LegacyImage$ w 2 2 cat som | TokenScript$ w_2_2_cat | TokenAmount$ X | TokenOwner$ You | References$ X +SVar:TrigToken:DB$Token | LegacyImage$ w 2 2 cat som | TokenScript$ w_2_2_cat | TokenAmount$ X | TokenOwner$ You SVar:X:Count$Valid Equipment.Attached SVar:EquipMe:Multiple SVar:Picture:http://www.wizards.com/global/images/magic/general/kemba_kha_regent.jpg diff --git a/forge-gui/res/cardsfolder/k/kembas_legion.txt b/forge-gui/res/cardsfolder/k/kembas_legion.txt index b8ce046c287..b82f597fe9f 100644 --- a/forge-gui/res/cardsfolder/k/kembas_legion.txt +++ b/forge-gui/res/cardsfolder/k/kembas_legion.txt @@ -3,7 +3,7 @@ ManaCost:5 W W Types:Creature Cat Soldier PT:4/6 K:Vigilance -S:Mode$ Continuous | Affected$ Card.Self | CanBlockAmount$ X | References$ X | Description$ CARDNAME can block an additional creature each combat for each Equipment attached to CARDNAME. +S:Mode$ Continuous | Affected$ Card.Self | CanBlockAmount$ X | Description$ CARDNAME can block an additional creature each combat for each Equipment attached to CARDNAME. SVar:X:Count$Valid Equipment.Attached SVar:Picture:http://www.wizards.com/global/images/magic/general/kembas_legion.jpg SVar:EquipMe:Multiple diff --git a/forge-gui/res/cardsfolder/k/keranos_god_of_storms.txt b/forge-gui/res/cardsfolder/k/keranos_god_of_storms.txt index 8424481721b..3ddfd4b76c9 100644 --- a/forge-gui/res/cardsfolder/k/keranos_god_of_storms.txt +++ b/forge-gui/res/cardsfolder/k/keranos_god_of_storms.txt @@ -3,7 +3,7 @@ ManaCost:3 U R Types:Legendary Enchantment Creature God PT:6/5 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | References$ X | Description$ As long as your devotion to blue and red is less than seven, CARDNAME isn't a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | Description$ As long as your devotion to blue and red is less than seven, CARDNAME isn't a creature. SVar:X:Count$DevotionDual.Blue.Red T:Mode$ Drawn | ValidCard$ Card.YouOwn | Number$ 1 | Static$ True | Execute$ DBReveal | TriggerZones$ Battlefield | PlayerTurn$ True | TriggerDescription$ Reveal the first card you draw on each of your turns. Whenever you reveal a land card this way, draw a card. Whenever you reveal a nonland card this way, CARDNAME deals 3 damage to any target. SVar:DBReveal:DB$ Reveal | Defined$ You | RevealDefined$ TriggeredCard | RememberRevealed$ True | SubAbility$ DBTriggerLand diff --git a/forge-gui/res/cardsfolder/k/keruga_the_macrosage.txt b/forge-gui/res/cardsfolder/k/keruga_the_macrosage.txt index 6edfb360e50..1ef687a2d6d 100644 --- a/forge-gui/res/cardsfolder/k/keruga_the_macrosage.txt +++ b/forge-gui/res/cardsfolder/k/keruga_the_macrosage.txt @@ -4,6 +4,6 @@ Types:Legendary Creature Dinosaur Hippo PT:5/4 K:Companion:Card.cmcGE3,Land:Your starting deck contains only cards with converted mana cost 3 or greater and land cards. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card for each other permanent you control with converted mana cost 3 or greater. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:Count$Valid Permanent.Other+YouCtrl+cmcGE3 Oracle:Companion — Your starting deck contains only cards with converted mana cost 3 or greater and land cards. (If this card is your chosen companion, you may put it into your hand from outside the game for {3} any time you could cast a sorcery.)\nWhen Keruga, the Macrosage enters the battlefield, draw a card for each other permanent you control with converted mana cost 3 or greater. diff --git a/forge-gui/res/cardsfolder/k/kessig_cagebreakers.txt b/forge-gui/res/cardsfolder/k/kessig_cagebreakers.txt index 6c1aabd801e..34a0421850b 100644 --- a/forge-gui/res/cardsfolder/k/kessig_cagebreakers.txt +++ b/forge-gui/res/cardsfolder/k/kessig_cagebreakers.txt @@ -3,7 +3,7 @@ ManaCost:4 G Types:Creature Human Rogue PT:3/4 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME attacks, create a 2/2 green Wolf creature token that's tapped and attacking for each creature card in your graveyard. -SVar:TrigToken:DB$ Token | LegacyImage$ g 2 2 wolf isd | TokenAmount$ X | TokenScript$ g_2_2_wolf | TokenOwner$ You | TokenTapped$ True | TokenAttacking$ True | References$ X +SVar:TrigToken:DB$ Token | LegacyImage$ g 2 2 wolf isd | TokenAmount$ X | TokenScript$ g_2_2_wolf | TokenOwner$ You | TokenTapped$ True | TokenAttacking$ True SVar:X:Count$TypeInYourYard.Creature SVar:HasAttackEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/kessig_cagebreakers.jpg diff --git a/forge-gui/res/cardsfolder/k/kessig_malcontents.txt b/forge-gui/res/cardsfolder/k/kessig_malcontents.txt index a85802ca453..08efd7a311b 100644 --- a/forge-gui/res/cardsfolder/k/kessig_malcontents.txt +++ b/forge-gui/res/cardsfolder/k/kessig_malcontents.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Creature Human Warrior PT:3/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TroubleMaking | TriggerDescription$ When CARDNAME enters the battlefield, it deals damage to target player or planeswalker equal to the number of Humans you control. -SVar:TroubleMaking:DB$DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X +SVar:TroubleMaking:DB$DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X SVar:X:Count$Valid Human.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/kessig_malcontents.jpg Oracle:When Kessig Malcontents enters the battlefield, it deals damage to target player or planeswalker equal to the number of Humans you control. diff --git a/forge-gui/res/cardsfolder/k/kessig_wolf_run.txt b/forge-gui/res/cardsfolder/k/kessig_wolf_run.txt index a0ae94d957f..94eed897cd9 100644 --- a/forge-gui/res/cardsfolder/k/kessig_wolf_run.txt +++ b/forge-gui/res/cardsfolder/k/kessig_wolf_run.txt @@ -2,7 +2,7 @@ Name:Kessig Wolf Run ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ Pump | Cost$ X R G T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | KW$ Trample | References$ X | SpellDescription$ Target creature gets +X/+0 and gains trample until end of turn. +A:AB$ Pump | Cost$ X R G T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | KW$ Trample | SpellDescription$ Target creature gets +X/+0 and gains trample until end of turn. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/kessig_wolf_run.jpg Oracle:{T}: Add {C}.\n{X}{R}{G}, {T}: Target creature gets +X/+0 and gains trample until end of turn. diff --git a/forge-gui/res/cardsfolder/k/khabal_ghoul.txt b/forge-gui/res/cardsfolder/k/khabal_ghoul.txt index 052d5f47ad8..05d4bab62d3 100644 --- a/forge-gui/res/cardsfolder/k/khabal_ghoul.txt +++ b/forge-gui/res/cardsfolder/k/khabal_ghoul.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Creature Zombie PT:1/1 T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of each end step, put a +1/+1 counter on Khabál Ghoul for each creature that died this turn. -SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/khabal_ghoul.jpg Oracle:At the beginning of each end step, put a +1/+1 counter on Khabál Ghoul for each creature that died this turn. diff --git a/forge-gui/res/cardsfolder/k/khalni_hydra.txt b/forge-gui/res/cardsfolder/k/khalni_hydra.txt index eed8f9a55a9..a82924f3c56 100644 --- a/forge-gui/res/cardsfolder/k/khalni_hydra.txt +++ b/forge-gui/res/cardsfolder/k/khalni_hydra.txt @@ -3,7 +3,7 @@ ManaCost:G G G G G G G G Types:Creature Hydra PT:8/8 K:Trample -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Color$ G | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {G} less to cast for each green creature you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Color$ G | Amount$ X | EffectZone$ All | Description$ This spell costs {G} less to cast for each green creature you control. SVar:X:Count$Valid Creature.Green+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/khalni_hydra.jpg Oracle:This spell costs {G} less to cast for each green creature you control.\nTrample diff --git a/forge-gui/res/cardsfolder/k/kharasha_foothills.txt b/forge-gui/res/cardsfolder/k/kharasha_foothills.txt index 6569874c3a7..2d0ffce31ce 100644 --- a/forge-gui/res/cardsfolder/k/kharasha_foothills.txt +++ b/forge-gui/res/cardsfolder/k/kharasha_foothills.txt @@ -9,9 +9,9 @@ SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End Of Turn | Execute$ Tr SVar:TrigExile:DB$ ChangeZone | Defined$ DelayTriggerRememberedLKI | Origin$ Battlefield | Destination$ Exile T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, you may sacrifice any number of creatures. If you do, CARDNAME deals that much damage to target creature. -SVar:RolledChaos:DB$ Sacrifice | Defined$ You | Amount$ SacX | References$ SacX | SacValid$ Creature | RememberSacrificed$ True | Optional$ True | SubAbility$ DBDmg +SVar:RolledChaos:DB$ Sacrifice | Defined$ You | Amount$ SacX | SacValid$ Creature | RememberSacrificed$ True | Optional$ True | SubAbility$ DBDmg SVar:SacX:Count$Valid Creature.YouCtrl -SVar:DBDmg:DB$ DealDamage | ValidTgts$ Creature | NumDmg$ DmgX | References$ DmgX | SubAbility$ DBCleanup +SVar:DBDmg:DB$ DealDamage | ValidTgts$ Creature | NumDmg$ DmgX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True SVar:DmgX:Remembered$Amount Oracle:Whenever a creature you control attacks a player, for each other opponent, you may create a token that's a copy of that creature, tapped and attacking that opponent. Exile those tokens at the beginning of the next end step.\nWhenever you roll {CHAOS}, you may sacrifice any number of creatures. If you do, Kharasha Foothills deals that much damage to target creature. diff --git a/forge-gui/res/cardsfolder/k/kheru_dreadmaw.txt b/forge-gui/res/cardsfolder/k/kheru_dreadmaw.txt index a16bb3b6fe8..ffc9bc51287 100644 --- a/forge-gui/res/cardsfolder/k/kheru_dreadmaw.txt +++ b/forge-gui/res/cardsfolder/k/kheru_dreadmaw.txt @@ -3,7 +3,7 @@ ManaCost:4 B Types:Creature Zombie Crocodile PT:4/4 K:Defender -A:AB$ GainLife | Cost$ 1 G Sac<1/Creature.Other/another creature> | LifeAmount$ X | References$ X | SubAbility$ DBCleanup | SpellDescription$ You gain life equal to the sacrificed creature's toughness. +A:AB$ GainLife | Cost$ 1 G Sac<1/Creature.Other/another creature> | LifeAmount$ X | SubAbility$ DBCleanup | SpellDescription$ You gain life equal to the sacrificed creature's toughness. SVar:X:Sacrificed$CardToughness SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/k/khorvaths_fury.txt b/forge-gui/res/cardsfolder/k/khorvaths_fury.txt index 88a9bcf369f..fce6d3e74a4 100644 --- a/forge-gui/res/cardsfolder/k/khorvaths_fury.txt +++ b/forge-gui/res/cardsfolder/k/khorvaths_fury.txt @@ -4,9 +4,9 @@ Types:Sorcery A:SP$ AssignGroup | Cost$ 4 R | Defined$ Player | Choices$ FriendRepeat,FoeRepeat | AILogic$ FriendOrFoe | SpellDescription$ For each player, choose friend or foe. Each friend discards all cards from their hand, then draws that many cards plus one. CARDNAME deals damage to each foe equal to the number of cards in their hand. SVar:FriendRepeat:DB$ RepeatEach | RepeatPlayers$ Remembered | ClearRememberedBeforeLoop$ True | RepeatSubAbility$ DBDiscard | StackDescription$ SpellDescription | SpellDescription$ Each friend discards all cards from their hand, then draws that many cards plus one. SVar:DBDiscard:DB$ Discard | Defined$ Player.IsRemembered | Mode$ Hand | RememberDiscarded$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ Player.IsRemembered | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ Player.IsRemembered | SubAbility$ DBCleanup SVar:FoeRepeat:DB$ RepeatEach | RepeatPlayers$ Remembered | ClearRememberedBeforeLoop$ True | RepeatSubAbility$ DBDmg | DamageMap$ True | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals damage to each foe equal to the number of cards in their hand. -SVar:DBDmg:DB$ DealDamage | Defined$ Player.IsRemembered | NumDmg$ Y | References$ Y +SVar:DBDmg:DB$ DealDamage | Defined$ Player.IsRemembered | NumDmg$ Y SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount.Plus.1 SVar:Y:Count$ValidHand Card.RememberedPlayerCtrl diff --git a/forge-gui/res/cardsfolder/k/kiku_nights_flower.txt b/forge-gui/res/cardsfolder/k/kiku_nights_flower.txt index 5d667d2a8c4..396bef348d9 100644 --- a/forge-gui/res/cardsfolder/k/kiku_nights_flower.txt +++ b/forge-gui/res/cardsfolder/k/kiku_nights_flower.txt @@ -2,7 +2,7 @@ Name:Kiku, Night's Flower ManaCost:B B Types:Legendary Creature Human Assassin PT:1/1 -A:AB$ DealDamage | Cost$ 2 B B T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | DamageSource$ Targeted | References$ X | SpellDescription$ Target creature deals damage to itself equal to its power. +A:AB$ DealDamage | Cost$ 2 B B T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | DamageSource$ Targeted | SpellDescription$ Target creature deals damage to itself equal to its power. SVar:X:Targeted$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/kiku_nights_flower.jpg diff --git a/forge-gui/res/cardsfolder/k/kikus_shadow.txt b/forge-gui/res/cardsfolder/k/kikus_shadow.txt index 4085ab605e8..f4d16f7f91a 100644 --- a/forge-gui/res/cardsfolder/k/kikus_shadow.txt +++ b/forge-gui/res/cardsfolder/k/kikus_shadow.txt @@ -1,7 +1,7 @@ Name:Kiku's Shadow ManaCost:B B Types:Sorcery -A:SP$ DealDamage | Cost$ B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | DamageSource$ Targeted | References$ X | SpellDescription$ Target creature deals damage to itself equal to its power. +A:SP$ DealDamage | Cost$ B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | DamageSource$ Targeted | SpellDescription$ Target creature deals damage to itself equal to its power. SVar:X:Targeted$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/kikus_shadow.jpg diff --git a/forge-gui/res/cardsfolder/k/kill_suit_cultist.txt b/forge-gui/res/cardsfolder/k/kill_suit_cultist.txt index 515895e562d..5412229d4ed 100644 --- a/forge-gui/res/cardsfolder/k/kill_suit_cultist.txt +++ b/forge-gui/res/cardsfolder/k/kill_suit_cultist.txt @@ -3,7 +3,7 @@ ManaCost:R Types:Creature Goblin Berserker PT:1/1 K:CARDNAME attacks each combat if able. -A:AB$ Effect | Cost$ B Sac<1/CARDNAME> | ValidTgts$ Creature | ReplacementEffects$ SelfDamage | SVars$ CultistDestroy,ExileEffect | References$ SelfDamage,CultistDestroy,ExileEffect | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next time damage would be dealt to target creature this turn, destroy that creature instead. +A:AB$ Effect | Cost$ B Sac<1/CARDNAME> | ValidTgts$ Creature | ReplacementEffects$ SelfDamage | SVars$ CultistDestroy,ExileEffect | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next time damage would be dealt to target creature this turn, destroy that creature instead. SVar:SelfDamage:Event$ DamageDone | ValidTarget$ Creature.IsRemembered | ReplaceWith$ CultistDestroy | Description$ The next time damage would be dealt to target creature this turn, destroy that creature instead. SVar:CultistDestroy:DB$ Destroy | Defined$ ReplacedTarget | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/k/killing_glare.txt b/forge-gui/res/cardsfolder/k/killing_glare.txt index 2edfd61e0d1..655fedb65da 100644 --- a/forge-gui/res/cardsfolder/k/killing_glare.txt +++ b/forge-gui/res/cardsfolder/k/killing_glare.txt @@ -1,7 +1,7 @@ Name:Killing Glare ManaCost:X B Types:Instant -A:SP$ Destroy | Cost$ X B | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power X or less | References$ X | SpellDescription$ Destroy target creature with power X or less. +A:SP$ Destroy | Cost$ X B | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power X or less | SpellDescription$ Destroy target creature with power X or less. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/killing_glare.jpg diff --git a/forge-gui/res/cardsfolder/k/killing_wave.txt b/forge-gui/res/cardsfolder/k/killing_wave.txt index 0abca813233..be334e17593 100644 --- a/forge-gui/res/cardsfolder/k/killing_wave.txt +++ b/forge-gui/res/cardsfolder/k/killing_wave.txt @@ -1,8 +1,8 @@ Name:Killing Wave ManaCost:X B Types:Sorcery -A:SP$ RepeatEach | Cost$ X B | RepeatCards$ Creature | Zone$ Battlefield | RepeatSubAbility$ DBSacUnless | References$ X | SpellDescription$ For each creature, its controller sacrifices it unless they pay X life. -SVar:DBSacUnless:DB$ Sacrifice | Defined$ Player | SacValid$ Remembered.Self | UnlessCost$ PayLife | UnlessPayer$ RememberedController | References$ X | Random$ True | StackDescription$ Sacrifice {c:Remembered} +A:SP$ RepeatEach | Cost$ X B | RepeatCards$ Creature | Zone$ Battlefield | RepeatSubAbility$ DBSacUnless | SpellDescription$ For each creature, its controller sacrifices it unless they pay X life. +SVar:DBSacUnless:DB$ Sacrifice | Defined$ Player | SacValid$ Remembered.Self | UnlessCost$ PayLife | UnlessPayer$ RememberedController | Random$ True | StackDescription$ Sacrifice {c:Remembered} SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/killing_wave.jpg diff --git a/forge-gui/res/cardsfolder/k/kilnmouth_dragon.txt b/forge-gui/res/cardsfolder/k/kilnmouth_dragon.txt index a1846ecaad7..49556fa6fad 100644 --- a/forge-gui/res/cardsfolder/k/kilnmouth_dragon.txt +++ b/forge-gui/res/cardsfolder/k/kilnmouth_dragon.txt @@ -4,7 +4,7 @@ Types:Creature Dragon PT:5/5 K:Amplify:3:Dragon K:Flying -A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the number of +1/+1 counters on it to any target. +A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the number of +1/+1 counters on it to any target. SVar:X:Count$CardCounters.P1P1 SVar:Picture:http://www.wizards.com/global/images/magic/general/kilnmouth_dragon.jpg Oracle:Amplify 3 (As this creature enters the battlefield, put three +1/+1 counters on it for each Dragon card you reveal in your hand.)\nFlying\n{T}: Kilnmouth Dragon deals damage equal to the number of +1/+1 counters on it to any target. diff --git a/forge-gui/res/cardsfolder/k/kilnspire_district.txt b/forge-gui/res/cardsfolder/k/kilnspire_district.txt index 4f0d18ef0ea..7cd61f77f78 100644 --- a/forge-gui/res/cardsfolder/k/kilnspire_district.txt +++ b/forge-gui/res/cardsfolder/k/kilnspire_district.txt @@ -4,9 +4,9 @@ Types:Plane Ravnica T:Mode$ PlaneswalkedTo | ValidCard$ Card.Self | Execute$ PutCounter | TriggerDescription$ When you planeswalk to CARDNAME or at the beginning of your precombat main phase, put a charge counter on CARDNAME, then add {R} for each charge counter on it. T:Mode$ Phase | PreCombatMain$ True | ValidPlayer$ You | TriggerZones$ Command | Execute$ PutCounter | Secondary$ True | TriggerDescription$ When you planeswalk to CARDNAME or at the beginning of your precombat main phase, put a charge counter on CARDNAME, then add {R} for each charge counter on it. SVar:PutCounter:DB$PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1 | SubAbility$ DBMana -SVar:DBMana:DB$ Mana | Produced$ R | Amount$ Y | References$ Y +SVar:DBMana:DB$ Mana | Produced$ R | Amount$ Y T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, you may pay {X}. If you do, CARDNAME deals X damage to any target. -SVar:RolledChaos:AB$ DealDamage | Cost$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:RolledChaos:AB$ DealDamage | Cost$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$xPaid SVar:Y:Count$CardCounters.CHARGE SVar:AIRollPlanarDieParams:Mode$ Always diff --git a/forge-gui/res/cardsfolder/k/kin_tree_invocation.txt b/forge-gui/res/cardsfolder/k/kin_tree_invocation.txt index 86eead7be06..f1a403a8e80 100644 --- a/forge-gui/res/cardsfolder/k/kin_tree_invocation.txt +++ b/forge-gui/res/cardsfolder/k/kin_tree_invocation.txt @@ -1,7 +1,7 @@ Name:Kin-Tree Invocation ManaCost:B G Types:Sorcery -A:SP$ Token | Cost$ B G | TokenAmount$ 1 | TokenScript$ bg_x_x_spirit_warrior | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | LegacyImage$ bg x x spirit warrior ktk | SpellDescription$ Create an X/X black and green Spirit Warrior creature token, where X is the greatest toughness among creatures you control. +A:SP$ Token | Cost$ B G | TokenAmount$ 1 | TokenScript$ bg_x_x_spirit_warrior | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | LegacyImage$ bg x x spirit warrior ktk | SpellDescription$ Create an X/X black and green Spirit Warrior creature token, where X is the greatest toughness among creatures you control. SVar:X:Count$GreatestToughness_Creature.YouCtrl SVar:NeedsToPlay:Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/kin_tree_invocation.jpg diff --git a/forge-gui/res/cardsfolder/k/kindle.txt b/forge-gui/res/cardsfolder/k/kindle.txt index ced6d331f71..e7ef6fd80ae 100644 --- a/forge-gui/res/cardsfolder/k/kindle.txt +++ b/forge-gui/res/cardsfolder/k/kindle.txt @@ -1,7 +1,7 @@ Name:Kindle ManaCost:1 R Types:Instant -A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target, where X is 2 plus the number of cards named Kindle in all graveyards. +A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target, where X is 2 plus the number of cards named Kindle in all graveyards. SVar:X:Count$NamedInAllYards.Kindle/Plus.2 DeckHints:Name$Kindle SVar:Picture:http://www.wizards.com/global/images/magic/general/kindle.jpg diff --git a/forge-gui/res/cardsfolder/k/kindle_the_carnage.txt b/forge-gui/res/cardsfolder/k/kindle_the_carnage.txt index b56493745d5..e741da9ff76 100644 --- a/forge-gui/res/cardsfolder/k/kindle_the_carnage.txt +++ b/forge-gui/res/cardsfolder/k/kindle_the_carnage.txt @@ -3,7 +3,7 @@ ManaCost:1 R R Types:Sorcery A:SP$ Repeat | Cost$ 1 R R | RepeatSubAbility$ DBDiscard | RepeatOptional$ True | StackDescription$ SpellDescription | SpellDescription$ Discard a card at random. If you do, CARDNAME deals damage equal to that card's converted mana cost to each creature. You may repeat this process any number of times. SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ 1 | Mode$ Random | RememberDiscarded$ True | SubAbility$ DBDmgAll -SVar:DBDmgAll:DB$ DamageAll | ValidCards$ Creature | NumDmg$ X | ConditionCheckSVar$ Y | ConditionCompare$ GE1 | SubAbility$ DBCleanup | References$ X,Y +SVar:DBDmgAll:DB$ DamageAll | ValidCards$ Creature | NumDmg$ X | ConditionCheckSVar$ Y | ConditionCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/k/kindred_summons.txt b/forge-gui/res/cardsfolder/k/kindred_summons.txt index 1ae5c8f4907..66d52cd0549 100644 --- a/forge-gui/res/cardsfolder/k/kindred_summons.txt +++ b/forge-gui/res/cardsfolder/k/kindred_summons.txt @@ -2,7 +2,7 @@ Name:Kindred Summons ManaCost:5 G G Types:Instant A:SP$ ChooseType | Cost$ 5 G G | Defined$ You | Type$ Creature | SubAbility$ DBDigUntil | AILogic$ MostProminentComputerControls | SpellDescription$ Choose a creature type. Reveal cards from the top of your library until you reveal X creature cards of the chosen type, where X is the number of creatures you control of that type. Put those cards onto the battlefield, then shuffle the rest of the revealed cards into your library. -SVar:DBDigUntil:DB$ DigUntil | Amount$ X | References$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | Valid$ Creature.ChosenType+YouOwn | ValidDescription$ creature with chosen type | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | FoundDestination$ Battlefield | SubAbility$ DBShuffle +SVar:DBDigUntil:DB$ DigUntil | Amount$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | Valid$ Creature.ChosenType+YouOwn | ValidDescription$ creature with chosen type | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | FoundDestination$ Battlefield | SubAbility$ DBShuffle SVar:DBShuffle:DB$ Shuffle | Defined$ You SVar:X:Count$Valid Creature.ChosenType+YouCtrl AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/k/kinetic_augur.txt b/forge-gui/res/cardsfolder/k/kinetic_augur.txt index 26b0ba8687d..48307519e82 100755 --- a/forge-gui/res/cardsfolder/k/kinetic_augur.txt +++ b/forge-gui/res/cardsfolder/k/kinetic_augur.txt @@ -3,12 +3,12 @@ ManaCost:3 R Types:Creature Human Shaman PT:*/4 K:Trample -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | References$ X | Description$ CARDNAME's power is equal to the number of instant and sorcery cards in your graveyard. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | Description$ CARDNAME's power is equal to the number of instant and sorcery cards in your graveyard. SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn DeckHints:Type$Instant|Sorcery T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, discard up to two cards, then draw that many cards. SVar:TrigDiscard:DB$ Discard | Defined$ You | NumCards$ 2 | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBDraw | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ Y | References$ Y | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | NumCards$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Remembered$Amount DeckHas:Ability$Discard diff --git a/forge-gui/res/cardsfolder/k/king_haralds_revenge.txt b/forge-gui/res/cardsfolder/k/king_haralds_revenge.txt index e85a2aac537..4f9982a4291 100644 --- a/forge-gui/res/cardsfolder/k/king_haralds_revenge.txt +++ b/forge-gui/res/cardsfolder/k/king_haralds_revenge.txt @@ -1,6 +1,6 @@ Name:King Harald's Revenge ManaCost:2 G Types:Sorcery -A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X | KW$ Trample & HIDDEN CARDNAME must be blocked if able. | SpellDescription$ Until end of turn, target creature gets +1/+1 for each creature you control and gains trample. It must be blocked this turn if able. +A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | KW$ Trample & HIDDEN CARDNAME must be blocked if able. | SpellDescription$ Until end of turn, target creature gets +1/+1 for each creature you control and gains trample. It must be blocked this turn if able. SVar:X:Count$Valid Creature.YouCtrl Oracle:Until end of turn, target creature gets +1/+1 for each creature you control and gains trample. It must be blocked this turn if able. diff --git a/forge-gui/res/cardsfolder/k/king_macar_the_gold_cursed.txt b/forge-gui/res/cardsfolder/k/king_macar_the_gold_cursed.txt index a658b6ec06c..6fec53c4630 100644 --- a/forge-gui/res/cardsfolder/k/king_macar_the_gold_cursed.txt +++ b/forge-gui/res/cardsfolder/k/king_macar_the_gold_cursed.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Noble PT:2/3 T:Mode$ Untaps | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigExile | OptionalDecider$ You | TriggerDescription$ Inspired — Whenever CARDNAME becomes untapped, you may exile target creature. If you do, create a Gold token. (It's an artifact with "Sacrifice this artifact: Add one mana of any color.") SVar:TrigExile:DB$ ChangeZone | ValidTgts$ Creature | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenScript$ gold | TokenOwner$ You | TokenAmount$ 1 | LegacyImage$ gold jou | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenScript$ gold | TokenOwner$ You | TokenAmount$ 1 | LegacyImage$ gold jou | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount Oracle:Inspired — Whenever King Macar, the Gold-Cursed becomes untapped, you may exile target creature. If you do, create a Gold token. (It's an artifact with "Sacrifice this artifact: Add one mana of any color.") diff --git a/forge-gui/res/cardsfolder/k/kinsbaile_borderguard.txt b/forge-gui/res/cardsfolder/k/kinsbaile_borderguard.txt index 7ad213f1679..68f99d0a5e5 100644 --- a/forge-gui/res/cardsfolder/k/kinsbaile_borderguard.txt +++ b/forge-gui/res/cardsfolder/k/kinsbaile_borderguard.txt @@ -5,7 +5,7 @@ PT:1/1 K:etbCounter:P1P1:X:no condition:CARDNAME enters the battlefield with a +1/+1 counter on it for each other Kithkin you control. SVar:X:Count$LastStateBattlefield Kithkin.YouCtrl+Other T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigToken | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, create a 1/1 white Kithkin Soldier creature token for each counter on it. -SVar:TrigToken:DB$ Token | TokenAmount$ Y | TokenScript$ w_1_1_kithkin_soldier | TokenOwner$ TriggeredCardController | LegacyImage$ w 1 1 kithkin soldier mor | References$ Y +SVar:TrigToken:DB$ Token | TokenAmount$ Y | TokenScript$ w_1_1_kithkin_soldier | TokenOwner$ TriggeredCardController | LegacyImage$ w 1 1 kithkin soldier mor SVar:Y:TriggeredCard$CardCounters.ALL SVar:NeedsToPlay:X GE2 SVar:BuffedBy:Kithkin diff --git a/forge-gui/res/cardsfolder/k/kioras_dismissal.txt b/forge-gui/res/cardsfolder/k/kioras_dismissal.txt index cfeed3b3f5e..78ea98102de 100644 --- a/forge-gui/res/cardsfolder/k/kioras_dismissal.txt +++ b/forge-gui/res/cardsfolder/k/kioras_dismissal.txt @@ -2,7 +2,7 @@ Name:Kiora's Dismissal ManaCost:U Types:Instant K:Strive:U -A:SP$ ChangeZone | Cost$ U | ValidTgts$ Enchantment | TgtPrompt$ Select target enchantment | TargetMin$ 0 | TargetMax$ X | Origin$ Battlefield | Destination$ Hand | References$ X | SpellDescription$ Return any number of target enchantments to their owners' hands. +A:SP$ ChangeZone | Cost$ U | ValidTgts$ Enchantment | TgtPrompt$ Select target enchantment | TargetMin$ 0 | TargetMax$ X | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return any number of target enchantments to their owners' hands. SVar:X:Count$Valid Enchantment AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/kioras_dismissal.jpg diff --git a/forge-gui/res/cardsfolder/k/kithkin_rabble.txt b/forge-gui/res/cardsfolder/k/kithkin_rabble.txt index 2c3c7c7f131..1c889358f67 100644 --- a/forge-gui/res/cardsfolder/k/kithkin_rabble.txt +++ b/forge-gui/res/cardsfolder/k/kithkin_rabble.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Kithkin PT:*/* K:Vigilance -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of white permanents you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of white permanents you control. SVar:X:Count$Valid Permanent.White+YouCtrl SVar:BuffedBy:Permanent.White SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/k/kitsune_bonesetter.txt b/forge-gui/res/cardsfolder/k/kitsune_bonesetter.txt index 9b12fc5347d..0f309db713c 100644 --- a/forge-gui/res/cardsfolder/k/kitsune_bonesetter.txt +++ b/forge-gui/res/cardsfolder/k/kitsune_bonesetter.txt @@ -2,7 +2,7 @@ Name:Kitsune Bonesetter ManaCost:2 W Types:Creature Fox Cleric PT:0/1 -A:AB$ PreventDamage | Cost$ T | ValidTgts$ Creature | Amount$ 3 | TgtPrompt$ Select target creature | CheckSVar$ X | SVarCompare$ GTY | References$ X,Y | SpellDescription$ Prevent the next 3 damage that would be dealt to target creature this turn. Activate this ability only if you have more cards in hand than each opponent. +A:AB$ PreventDamage | Cost$ T | ValidTgts$ Creature | Amount$ 3 | TgtPrompt$ Select target creature | CheckSVar$ X | SVarCompare$ GTY | SpellDescription$ Prevent the next 3 damage that would be dealt to target creature this turn. Activate this ability only if you have more cards in hand than each opponent. SVar:X:Count$InYourHand SVar:Y:PlayerCountOpponents$HighestCardsInHand SVar:Picture:http://www.wizards.com/global/images/magic/general/kitsune_bonesetter.jpg diff --git a/forge-gui/res/cardsfolder/k/kitsune_loreweaver.txt b/forge-gui/res/cardsfolder/k/kitsune_loreweaver.txt index f8a3c7755e9..d5cd349c8cb 100644 --- a/forge-gui/res/cardsfolder/k/kitsune_loreweaver.txt +++ b/forge-gui/res/cardsfolder/k/kitsune_loreweaver.txt @@ -2,7 +2,7 @@ Name:Kitsune Loreweaver ManaCost:1 W Types:Creature Fox Cleric PT:2/1 -A:AB$ Pump | Cost$ 1 W | NumDef$ +X | References$ X | SpellDescription$ Kitsune Loreweaver gets +0/+X until end of turn, where X is the number of cards in your hand. +A:AB$ Pump | Cost$ 1 W | NumDef$ +X | SpellDescription$ Kitsune Loreweaver gets +0/+X until end of turn, where X is the number of cards in your hand. SVar:X:Count$NumCardsInYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/kitsune_loreweaver.jpg Oracle:{1}{W}: Kitsune Loreweaver gets +0/+X until end of turn, where X is the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/k/kiyomaro_first_to_stand.txt b/forge-gui/res/cardsfolder/k/kiyomaro_first_to_stand.txt index b2afdeaebfc..72b1ed19891 100644 --- a/forge-gui/res/cardsfolder/k/kiyomaro_first_to_stand.txt +++ b/forge-gui/res/cardsfolder/k/kiyomaro_first_to_stand.txt @@ -2,7 +2,7 @@ Name:Kiyomaro, First to Stand ManaCost:3 W W Types:Legendary Creature Spirit PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Vigilance | CheckSVar$ X | SVarCompare$ GE4 | Description$ As long as you have four or more cards in hand, CARDNAME has vigilance. T:Mode$ DamageDealtOnce | ValidSource$ Card.Self | CheckSVar$ X | SVarCompare$ GE7 | TriggerZones$ Battlefield | Execute$ TrigGain | TriggerDescription$ Whenever CARDNAME deals damage, if you have seven or more cards in hand, you gain 7 life. SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ 7 diff --git a/forge-gui/res/cardsfolder/k/kjeldoran_elite_guard.txt b/forge-gui/res/cardsfolder/k/kjeldoran_elite_guard.txt index 78ea491d155..cb496caf93d 100644 --- a/forge-gui/res/cardsfolder/k/kjeldoran_elite_guard.txt +++ b/forge-gui/res/cardsfolder/k/kjeldoran_elite_guard.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Human Soldier PT:2/2 A:AB$ Pump | Cost$ T | NumAtt$ +2 | NumDef$ +2 | ValidTgts$ Creature | TgtPrompt$ Select target creature | ActivationPhases$ BeginCombat->EndCombat | SubAbility$ EliteGuardEffect | SpellDescription$ Target creature gets +2/+2 until end of turn. When that creature leaves the battlefield this turn, sacrifice CARDNAME. Activate this ability only during combat. -SVar:EliteGuardEffect:DB$ Effect | Name$ Elite Guard Escort | Triggers$ LostTheGuarded | SVars$ ExileEffect,EliteDefence | References$ LostTheGuarded,ExileEffect,EliteDefence | RememberObjects$ Targeted | ImprintCards$ Self +SVar:EliteGuardEffect:DB$ Effect | Name$ Elite Guard Escort | Triggers$ LostTheGuarded | SVars$ ExileEffect,EliteDefence | RememberObjects$ Targeted | ImprintCards$ Self SVar:LostTheGuarded:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Battlefield | Destination$ Any | Execute$ EliteDefence | TriggerDescription$ When the targeted creature leaves the battlefield this turn, sacrifice Kjeldoran Elite Guard. SVar:EliteDefence:DB$ SacrificeAll | Defined$ Imprinted | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/k/kjeldoran_gargoyle.txt b/forge-gui/res/cardsfolder/k/kjeldoran_gargoyle.txt index 0d13dd7e769..0d24322ce90 100644 --- a/forge-gui/res/cardsfolder/k/kjeldoran_gargoyle.txt +++ b/forge-gui/res/cardsfolder/k/kjeldoran_gargoyle.txt @@ -5,7 +5,7 @@ PT:3/3 K:Flying K:First Strike T:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. -SVar:TrigGain:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/kjeldoran_gargoyle.jpg diff --git a/forge-gui/res/cardsfolder/k/kjeldoran_guard.txt b/forge-gui/res/cardsfolder/k/kjeldoran_guard.txt index 4fd1a406318..d9e8a89d19a 100644 --- a/forge-gui/res/cardsfolder/k/kjeldoran_guard.txt +++ b/forge-gui/res/cardsfolder/k/kjeldoran_guard.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Creature Human Soldier PT:1/1 A:AB$ Pump | Cost$ T | NumAtt$ +1 | NumDef$ +1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | ActivationPhases$ BeginCombat->EndCombat | IsPresent$ Land.Snow+DefenderCtrl | PresentCompare$ EQ0 | SubAbility$ KjeldoranGuardEffect | SpellDescription$ Target creature gets +1/+1 until end of turn. When that creature leaves the battlefield this turn, sacrifice CARDNAME. Activate this ability only during combat and only if defending player controls no snow lands. -SVar:KjeldoranGuardEffect:DB$ Effect | Name$ Kjeldoran Guard Effect | Triggers$ TrigSacGuard | SVars$ ExileEffect,EliteDefence | References$ TrigSacGuard,ExileEffect,EliteDefence | RememberObjects$ Targeted | ImprintCards$ Self +SVar:KjeldoranGuardEffect:DB$ Effect | Name$ Kjeldoran Guard Effect | Triggers$ TrigSacGuard | SVars$ ExileEffect,EliteDefence | RememberObjects$ Targeted | ImprintCards$ Self SVar:TrigSacGuard:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Battlefield | Destination$ Any | Execute$ EliteDefence | TriggerDescription$ When the targeted creature leaves the battlefield this turn, sacrifice Kjeldoran Elite Guard. SVar:EliteDefence:DB$ SacrificeAll | Defined$ Imprinted | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/k/kjeldoran_javelineer.txt b/forge-gui/res/cardsfolder/k/kjeldoran_javelineer.txt index b44c0f72f42..b725146f329 100644 --- a/forge-gui/res/cardsfolder/k/kjeldoran_javelineer.txt +++ b/forge-gui/res/cardsfolder/k/kjeldoran_javelineer.txt @@ -3,7 +3,7 @@ ManaCost:W Types:Creature Human Soldier PT:1/2 K:Cumulative upkeep:1 -A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the number of age counters on it to target attacking or blocking creature. +A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the number of age counters on it to target attacking or blocking creature. SVar:X:Count$CardCounters.AGE AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/kjeldoran_javelineer.jpg diff --git a/forge-gui/res/cardsfolder/k/kjeldoran_war_cry.txt b/forge-gui/res/cardsfolder/k/kjeldoran_war_cry.txt index 99f7af865c8..cb15348e8c8 100644 --- a/forge-gui/res/cardsfolder/k/kjeldoran_war_cry.txt +++ b/forge-gui/res/cardsfolder/k/kjeldoran_war_cry.txt @@ -1,7 +1,7 @@ Name:Kjeldoran War Cry ManaCost:1 W Types:Instant -A:SP$ PumpAll | Cost$ 1 W | ValidCards$ Creature.YouCtrl | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Creatures you control get +X/+X until end of turn, where X is 1 plus the number of cards named Kjeldoran War Cry in all graveyards. +A:SP$ PumpAll | Cost$ 1 W | ValidCards$ Creature.YouCtrl | NumAtt$ +X | NumDef$ +X | SpellDescription$ Creatures you control get +X/+X until end of turn, where X is 1 plus the number of cards named Kjeldoran War Cry in all graveyards. SVar:X:Count$NamedInAllYards.Kjeldoran War Cry/Plus.1 DeckHints:Name$Kjeldoran War Cry SVar:Picture:http://resources.wizards.com/magic/cards/csp/en-us/card121148.jpg diff --git a/forge-gui/res/cardsfolder/k/klothys_god_of_destiny.txt b/forge-gui/res/cardsfolder/k/klothys_god_of_destiny.txt index bbeaa09cb46..5c250313c14 100644 --- a/forge-gui/res/cardsfolder/k/klothys_god_of_destiny.txt +++ b/forge-gui/res/cardsfolder/k/klothys_god_of_destiny.txt @@ -3,7 +3,7 @@ ManaCost:1 R G Types:Legendary Enchantment Creature God PT:4/5 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | References$ X | Description$ As long as your devotion to red and green is less than seven, CARDNAME isn't a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | Description$ As long as your devotion to red and green is less than seven, CARDNAME isn't a creature. SVar:X:Count$DevotionDual.Red.Green T:Mode$ Phase | PreCombatMain$ True | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigChangeZone | TriggerDescription$ At the beginning of your precombat main phase, exile target card from a graveyard. If it was a land card, add {R} or {G}. Otherwise, you gain 2 life and CARDNAME deals 2 damage to each opponent. SVar:TrigChangeZone:DB$ChangeZone | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Card | TgtPrompt$ Select target card in a graveyard | RememberChanged$ True | SubAbility$ DBMana diff --git a/forge-gui/res/cardsfolder/k/klothyss_design.txt b/forge-gui/res/cardsfolder/k/klothyss_design.txt index ce9daeb57c7..05b824f2227 100644 --- a/forge-gui/res/cardsfolder/k/klothyss_design.txt +++ b/forge-gui/res/cardsfolder/k/klothyss_design.txt @@ -1,6 +1,6 @@ Name:Klothys's Design ManaCost:5 G Types:Sorcery -A:SP$ PumpAll | Cost$ 5 G | ValidCards$ Creature.YouCtrl | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Creatures you control get +X/+X until end of turn, where X is your devotion to green. +A:SP$ PumpAll | Cost$ 5 G | ValidCards$ Creature.YouCtrl | NumAtt$ +X | NumDef$ +X | SpellDescription$ Creatures you control get +X/+X until end of turn, where X is your devotion to green. SVar:X:Count$Devotion.Green Oracle:Creatures you control get +X/+X until end of turn, where X is your devotion to green. (Each {G} in the mana costs of permanents you control counts toward your devotion to green.) \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/k/knollspine_dragon.txt b/forge-gui/res/cardsfolder/k/knollspine_dragon.txt index fc743af22ba..ef630ea17b1 100644 --- a/forge-gui/res/cardsfolder/k/knollspine_dragon.txt +++ b/forge-gui/res/cardsfolder/k/knollspine_dragon.txt @@ -5,7 +5,7 @@ PT:7/5 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDiscard | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may discard your hand and draw cards equal to the damage dealt to target opponent this turn. SVar:TrigDiscard:DB$ Discard | Mode$ Hand | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ You | ValidTgts$ Opponent | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ You | ValidTgts$ Opponent SVar:X:TargetedPlayer$DamageThisTurn AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/knollspine_dragon.jpg diff --git a/forge-gui/res/cardsfolder/k/knollspine_invocation.txt b/forge-gui/res/cardsfolder/k/knollspine_invocation.txt index 797d0feba29..a6cb6f33eb3 100644 --- a/forge-gui/res/cardsfolder/k/knollspine_invocation.txt +++ b/forge-gui/res/cardsfolder/k/knollspine_invocation.txt @@ -1,6 +1,6 @@ Name:Knollspine Invocation ManaCost:1 R R Types:Enchantment -A:AB$ DealDamage | Cost$ X Discard<1/Card.cmcEQX/card with converted mana cost X> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | AILogic$ DiscardCMCX | SpellDescription$ CARDNAME deals X damage to any target. +A:AB$ DealDamage | Cost$ X Discard<1/Card.cmcEQX/card with converted mana cost X> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | AILogic$ DiscardCMCX | SpellDescription$ CARDNAME deals X damage to any target. SVar:X:Count$xPaid Oracle:{X}, Discard a card with converted mana cost X: Knollspine Invocation deals X damage to any target. diff --git a/forge-gui/res/cardsfolder/k/knotvine_paladin.txt b/forge-gui/res/cardsfolder/k/knotvine_paladin.txt index c3029bef26c..7b88a42e2c3 100644 --- a/forge-gui/res/cardsfolder/k/knotvine_paladin.txt +++ b/forge-gui/res/cardsfolder/k/knotvine_paladin.txt @@ -3,7 +3,7 @@ ManaCost:G W Types:Creature Human Knight PT:2/2 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+1 until end of turn for each untapped creature you control. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X SVar:X:Count$Valid Creature.untapped+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/knotvine_paladin.jpg Oracle:Whenever Knotvine Paladin attacks, it gets +1/+1 until end of turn for each untapped creature you control. diff --git a/forge-gui/res/cardsfolder/k/know_evil.txt b/forge-gui/res/cardsfolder/k/know_evil.txt index df1d3c67a4c..38bb4ed8d07 100644 --- a/forge-gui/res/cardsfolder/k/know_evil.txt +++ b/forge-gui/res/cardsfolder/k/know_evil.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Scheme T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ TrigEffect1 | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, until your next turn, up to one target opponent can't attack with creatures, up to one target opponent can't cast creature spells, and up to one target opponent can't cast noncreature spells. You can't choose any player as a target more than once. SVar:TrigEffect1:DB$ Effect | Name$ Know Evil Effect - No Attack | IsCurse$ True | StaticAbilities$ CantAttack | SVars$ HasTarget | ValidTgts$ Opponent | RememberObjects$ ThisTargetedPlayer | TargetUnique$ True | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target opponent who can't attack with creatures | Duration$ UntilYourNextTurn | SubAbility$ TrigEffect2 | SpellDescription$ Up to one target opponent can't cast noncreature spells until your next turn. -SVar:CantAttack:Mode$ CantAttack | EffectZone$ Command | ValidCard$ Creature.RememberedPlayerCtrl | CheckSVar$ HasTarget | SVarCompare$ EQ1 | References$ HasTarget | Description$ Target opponent can't attack with creatures until your next turn. +SVar:CantAttack:Mode$ CantAttack | EffectZone$ Command | ValidCard$ Creature.RememberedPlayerCtrl | CheckSVar$ HasTarget | SVarCompare$ EQ1 | Description$ Target opponent can't attack with creatures until your next turn. SVar:HasTarget:Count$RememberedSize SVar:TrigEffect2:DB$ Effect | Name$ Know Evil Effect - No Creatures | IsCurse$ True | StaticAbilities$ CantBeCastCreats | ValidTgts$ Opponent | RememberObjects$ ThisTargetedPlayer | TargetUnique$ True | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target opponent who can't cast creature spells | Duration$ UntilYourNextTurn | SubAbility$ TrigEffect3 | SpellDescription$ Up to one target opponent can't cast creature spells until your next turn. SVar:CantBeCastCreats:Mode$ CantBeCast | EffectZone$ Command | ValidCard$ Card.Creature | Caster$ Player.IsRemembered | Description$ Target player can't cast creature spells until your next turn. diff --git a/forge-gui/res/cardsfolder/k/know_naught_but_fire.txt b/forge-gui/res/cardsfolder/k/know_naught_but_fire.txt index b1374a6bdb9..2149b4e1cc7 100644 --- a/forge-gui/res/cardsfolder/k/know_naught_but_fire.txt +++ b/forge-gui/res/cardsfolder/k/know_naught_but_fire.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Scheme T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ DmgAll | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, it deals damage to each opponent equal to the number of cards in that player's hand. SVar:DmgAll:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBDamage | DamageMap$ True -SVar:DBDamage:DB$ DealDamage | Defined$ Player.IsRemembered | NumDmg$ X | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ Player.IsRemembered | NumDmg$ X SVar:X:PlayerCountRemembered$CardsInHand SVar:Picture:https://downloads.cardforge.org/images/cards/ARC/Know Naught but Fire.full.jpg Oracle:When you set this scheme in motion, it deals damage to each opponent equal to the number of cards in that player's hand. diff --git a/forge-gui/res/cardsfolder/k/knowledge_vault.txt b/forge-gui/res/cardsfolder/k/knowledge_vault.txt index 254535c169e..38968c1d159 100644 --- a/forge-gui/res/cardsfolder/k/knowledge_vault.txt +++ b/forge-gui/res/cardsfolder/k/knowledge_vault.txt @@ -3,8 +3,8 @@ ManaCost:4 Types:Artifact A:AB$ ChangeZone | Cost$ 2 T | Defined$ TopOfLibrary | Origin$ Library | Destination$ Exile | ExileFaceDown$ True | RememberChanged$ True | SpellDescription$ Exile the top card of your library face down. A:AB$ SacrificeAll | Cost$ 0 | ValidCards$ Card.Self | RememberSacrificed$ True | SubAbility$ DBDiscardHand | SpellDescription$ Sacrifice CARDNAME. If you do, discard your hand, then put all cards exiled with CARDNAME into their owner's hand. -SVar:DBDiscardHand:DB$ Discard | Mode$ Hand | SubAbility$ DBChangeZoneAll | ConditionCheckSVar$ VaultX | ConditionSVarCompare$ GT0 | References$ VaultX -SVar:DBChangeZoneAll:DB$ ChangeZoneAll | ChangeType$ Remembered | Origin$ Exile | Destination$ Hand | ConditionCheckSVar$ VaultX | ConditionSVarCompare$ GT0 | References$ VaultX +SVar:DBDiscardHand:DB$ Discard | Mode$ Hand | SubAbility$ DBChangeZoneAll | ConditionCheckSVar$ VaultX | ConditionSVarCompare$ GT0 +SVar:DBChangeZoneAll:DB$ ChangeZoneAll | ChangeType$ Remembered | Origin$ Exile | Destination$ Hand | ConditionCheckSVar$ VaultX | ConditionSVarCompare$ GT0 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Any | Hidden$ True | Execute$ TrigGraveyard | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, put all cards exiled with CARDNAME into their owner's graveyard. SVar:TrigGraveyard:DB$ ChangeZoneAll | ChangeType$ Remembered | Origin$ Exile | Destination$ Graveyard SVar:VaultX:Remembered$Valid Card.Self diff --git a/forge-gui/res/cardsfolder/k/kodama_of_the_center_tree.txt b/forge-gui/res/cardsfolder/k/kodama_of_the_center_tree.txt index c7ffb92446e..3919a6a7656 100644 --- a/forge-gui/res/cardsfolder/k/kodama_of_the_center_tree.txt +++ b/forge-gui/res/cardsfolder/k/kodama_of_the_center_tree.txt @@ -3,7 +3,7 @@ ManaCost:4 G Types:Legendary Creature Spirit PT:*/* K:Soulshift:X:, where X is the number of Spirits you control.:Spirit.YouCtrl -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Spirits you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Spirits you control. SVar:X:Count$Valid Spirit.YouCtrl AI:RemoveDeck:Random SVar:BuffedBy:Spirit diff --git a/forge-gui/res/cardsfolder/k/kodama_of_the_east_tree.txt b/forge-gui/res/cardsfolder/k/kodama_of_the_east_tree.txt index 6d9afca8e84..d295fb9aa96 100644 --- a/forge-gui/res/cardsfolder/k/kodama_of_the_east_tree.txt +++ b/forge-gui/res/cardsfolder/k/kodama_of_the_east_tree.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Spirit PT:6/6 K:Reach T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Permanent.YouCtrl+Other | NotThisAbility$ True | TriggerZones$ Battlefield | Execute$ TrigChange | TriggerDescription$ Whenever another permanent enters the battlefield under your control, if it wasn't put onto the battlefield with this ability, you may put a permanent card with equal or lesser converted mana cost from your hand onto the battlefield. -SVar:TrigChange:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Permanent.YouCtrl+cmcLEX | References$ X | ChangeNum$ 1 +SVar:TrigChange:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Permanent.YouCtrl+cmcLEX | ChangeNum$ 1 SVar:X:TriggeredCard$CardManaCost K:Partner Oracle:Reach\nWhenever another permanent enters the battlefield under your control, if it wasn't put onto the battlefield with this ability, you may put a permanent card with equal or lesser converted mana cost from your hand onto the battlefield.\nPartner (You can have two commanders if both have partner.) diff --git a/forge-gui/res/cardsfolder/k/kor_chant.txt b/forge-gui/res/cardsfolder/k/kor_chant.txt index d5ef3b9b54f..abdae256e1f 100644 --- a/forge-gui/res/cardsfolder/k/kor_chant.txt +++ b/forge-gui/res/cardsfolder/k/kor_chant.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Instant A:SP$ Pump | Cost$ 2 W | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage from | SubAbility$ DBChooseSource | StackDescription$ SpellDescription | SpellDescription$ All damage that would be dealt this turn to target creature you control by a source of your choice is dealt to another target creature instead. SVar:DBChooseSource:DB$ ChooseSource | Choices$ Card,Emblem | SubAbility$ DBEffect -SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TargetUnique$ True | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,ExileEffect | References$ SelflessDamage,OutOfSight,SelflessDmg,ExileEffect | ImprintCards$ ParentTarget | RememberObjects$ ThisTargetedCard | SubAbility$ DBCleanup | ConditionDefined$ ParentTarget | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 +SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TargetUnique$ True | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,ExileEffect | ImprintCards$ ParentTarget | RememberObjects$ ThisTargetedCard | SubAbility$ DBCleanup | ConditionDefined$ ParentTarget | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ Creature.IsImprinted | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ SelflessDmg | DamageTarget$ Remembered | Description$ All damage that would be dealt this turn to target creature you control by a source of your choice is dealt to another target creature instead. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ Remembered | VarType$ Card SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Defined$ Imprinted,Remembered | Execute$ ExileEffect | Static$ True diff --git a/forge-gui/res/cardsfolder/k/kor_dirge.txt b/forge-gui/res/cardsfolder/k/kor_dirge.txt index 930a4f1de3d..3bb1f27fbb2 100644 --- a/forge-gui/res/cardsfolder/k/kor_dirge.txt +++ b/forge-gui/res/cardsfolder/k/kor_dirge.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Instant A:SP$ Pump | Cost$ 2 B | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage from | SubAbility$ DBChooseSource | StackDescription$ SpellDescription | SpellDescription$ All damage that would be dealt this turn to target creature you control by a source of your choice is dealt to another target creature instead. SVar:DBChooseSource:DB$ ChooseSource | Choices$ Card,Emblem | SubAbility$ DBEffect -SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TargetUnique$ True | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,ExileEffect | References$ SelflessDamage,OutOfSight,SelflessDmg,ExileEffect | ImprintCards$ ParentTarget | RememberObjects$ ThisTargetedCard | SubAbility$ DBCleanup | ConditionDefined$ ParentTarget | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 +SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TargetUnique$ True | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,ExileEffect | ImprintCards$ ParentTarget | RememberObjects$ ThisTargetedCard | SubAbility$ DBCleanup | ConditionDefined$ ParentTarget | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ Creature.IsImprinted | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ SelflessDmg | DamageTarget$ Remembered | Description$ All damage that would be dealt this turn to target creature you control by a source of your choice is dealt to another target creature instead. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ Remembered | VarType$ Card SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Defined$ Imprinted,Remembered | Execute$ ExileEffect | Static$ True diff --git a/forge-gui/res/cardsfolder/k/korlash_heir_to_blackblade.txt b/forge-gui/res/cardsfolder/k/korlash_heir_to_blackblade.txt index fe0c6c5291d..71f6af86bc8 100644 --- a/forge-gui/res/cardsfolder/k/korlash_heir_to_blackblade.txt +++ b/forge-gui/res/cardsfolder/k/korlash_heir_to_blackblade.txt @@ -2,7 +2,7 @@ Name:Korlash, Heir to Blackblade ManaCost:2 B B Types:Legendary Creature Zombie Warrior PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Swamps you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Swamps you control. SVar:X:Count$Valid Swamp.YouCtrl A:AB$ Regenerate | Cost$ 1 B | SpellDescription$ Regenerate CARDNAME. A:AB$ ChangeZone | Cost$ Discard<1/Card.namedKorlash, Heir to Blackblade> | Origin$ Library | Destination$ Battlefield | ChangeType$ Swamp | ChangeNum$ 2 | Tapped$ True | CostDesc$ Grandeur — Discard another card named Korlash, Heir to Blackblade: | SpellDescription$ Search your library for up to two Swamp cards, put them onto the battlefield tapped, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/k/korozda_guildmage.txt b/forge-gui/res/cardsfolder/k/korozda_guildmage.txt index b6a40b312fc..4e8f7a88c26 100644 --- a/forge-gui/res/cardsfolder/k/korozda_guildmage.txt +++ b/forge-gui/res/cardsfolder/k/korozda_guildmage.txt @@ -3,7 +3,7 @@ ManaCost:B G Types:Creature Elf Shaman PT:2/2 A:AB$ Pump | Cost$ 1 B G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ 1 | NumDef$ 1 | KW$ Intimidate | SpellDescription$ Target creature gets +1/+1 and gains intimidate until end of turn. (It can't be blocked except by artifact creatures and/or creatures that share a color with it.) -A:AB$ Token | Cost$ 2 B G Sac<1/Creature.nonToken/nontoken Creature> | TokenAmount$ X | References$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling ddj | SpellDescription$ Create X 1/1 green Saproling creature tokens, where X is the sacrificed creature's toughness. +A:AB$ Token | Cost$ 2 B G Sac<1/Creature.nonToken/nontoken Creature> | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling ddj | SpellDescription$ Create X 1/1 green Saproling creature tokens, where X is the sacrificed creature's toughness. SVar:X:Sacrificed$CardToughness DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/korozda_guildmage.jpg diff --git a/forge-gui/res/cardsfolder/k/koth_of_the_hammer.txt b/forge-gui/res/cardsfolder/k/koth_of_the_hammer.txt index db4b6ca44c1..112052ffd93 100644 --- a/forge-gui/res/cardsfolder/k/koth_of_the_hammer.txt +++ b/forge-gui/res/cardsfolder/k/koth_of_the_hammer.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Koth Loyalty:3 A:AB$ Untap | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Mountain | TgtPrompt$ Select target Mountain | SubAbility$ DBAnimate | SpellDescription$ Untap target Mountain. It becomes a 4/4 red Elemental creature until end of turn. It's still a land. SVar:DBAnimate:DB$ Animate | Defined$ Targeted | Power$ 4 | Toughness$ 4 | Types$ Creature,Elemental | Colors$ Red -A:AB$ Mana | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | Produced$ R | Amount$ X | References$ X | SpellDescription$ Add {R} for each Mountain you control. +A:AB$ Mana | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | Produced$ R | Amount$ X | SpellDescription$ Add {R} for each Mountain you control. A:AB$ Effect | Cost$ SubCounter<5/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Koth of the Hammer | Image$ emblem_koth_of_the_hammer | StaticAbilities$ STDamage | SVars$ ABDealDamage | Stackable$ False | Duration$ Permanent | SpellDescription$ You get an emblem with "Mountains you control have '{T}: This land deals 1 damage to any target." SVar:STDamage:Mode$ Continuous | EffectZone$ Command | Affected$ Mountain.YouCtrl | AddAbility$ ABDealDamage | AffectedZone$ Battlefield | Description$ Mountains you control have "{T}: This land deals 1 damage to any target." SVar:ABDealDamage:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 1 | SpellDescription$ Deal 1 damage to any target diff --git a/forge-gui/res/cardsfolder/k/kozilek_the_great_distortion.txt b/forge-gui/res/cardsfolder/k/kozilek_the_great_distortion.txt index b22c77ebc40..187253c043b 100644 --- a/forge-gui/res/cardsfolder/k/kozilek_the_great_distortion.txt +++ b/forge-gui/res/cardsfolder/k/kozilek_the_great_distortion.txt @@ -3,7 +3,7 @@ ManaCost:8 C C Types:Legendary Creature Eldrazi PT:12/12 T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigDraw | CheckSVar$ Y | SVarCompare$ LT7 | TriggerDescription$ When you cast this spell, if you have fewer than seven cards in hand, draw cards equal to the difference. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ Difference | References$ Y,Difference +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ Difference,Difference SVar:Y:Count$InYourHand SVar:Difference:Number$7/Minus.Y K:Menace diff --git a/forge-gui/res/cardsfolder/k/kraul_foragers.txt b/forge-gui/res/cardsfolder/k/kraul_foragers.txt index 9a58f4264a8..2ab541cda29 100644 --- a/forge-gui/res/cardsfolder/k/kraul_foragers.txt +++ b/forge-gui/res/cardsfolder/k/kraul_foragers.txt @@ -3,6 +3,6 @@ ManaCost:4 G Types:Creature Insect Scout PT:4/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ Undergrowth - When CARDNAME enters the battlefield, you gain 1 life for each creature card in your graveyard. -SVar:TrigGainLife:DB$GainLife | Defined$ You | References$ X | LifeAmount$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$TypeInYourYard.Creature Oracle:Undergrowth — When Kraul Foragers enters the battlefield, you gain 1 life for each creature card in your graveyard. diff --git a/forge-gui/res/cardsfolder/k/kraul_harpooner.txt b/forge-gui/res/cardsfolder/k/kraul_harpooner.txt index d3812276b04..1a97dec2776 100644 --- a/forge-gui/res/cardsfolder/k/kraul_harpooner.txt +++ b/forge-gui/res/cardsfolder/k/kraul_harpooner.txt @@ -4,7 +4,7 @@ Types:Creature Insect Warrior PT:3/2 K:Reach T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, choose up to one target creature with flying you don't control. CARDNAME gets +X/+0 until end of turn, where X is the number of creature cards in your graveyard, then you may have CARDNAME fight that creature. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X | SubAbility$ DBFight +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | SubAbility$ DBFight SVar:DBFight:DB$ Fight | Defined$ Self | ValidTgts$ Creature.withFlying+YouDontCtrl | TgtPrompt$ Select target creature with flying you don't control | TargetMin$ 0 | TargetMax$ 1 | Optional$ True SVar:X:Count$TypeInYourYard.Creature Oracle:Reach\nUndergrowth — When Kraul Harpooner enters the battlefield, choose up to one target creature with flying you don't control. Kraul Harpooner gets +X/+0 until end of turn, where X is the number of creature cards in your graveyard, then you may have Kraul Harpooner fight that creature. diff --git a/forge-gui/res/cardsfolder/k/krav_the_unredeemed.txt b/forge-gui/res/cardsfolder/k/krav_the_unredeemed.txt index 60840f421da..cd7168caba5 100644 --- a/forge-gui/res/cardsfolder/k/krav_the_unredeemed.txt +++ b/forge-gui/res/cardsfolder/k/krav_the_unredeemed.txt @@ -5,9 +5,9 @@ PT:3/3 K:Partner:Regna, the Redeemer:Regna # TODO: AILogic$ DoSacrifice is a placeholder which signals AiCostDecision that the API knows how to properly determine # the number of creatures to sacrifice. Currently DrawAi doesn't handle it too optimally and this can be improved. -A:AB$ Draw | Cost$ B Sac | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | References$ X | SubAbility$ DBGainLife | AILogic$ DoSacrifice | SpellDescription$ Target player draws X cards and gains X life. Put X +1/+1 counters on CARDNAME. -SVar:DBGainLife:DB$ GainLife | Defined$ Targeted | LifeAmount$ X | SubAbility$ DBPutCounter | References$ X -SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +A:AB$ Draw | Cost$ B Sac | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Choose a player | SubAbility$ DBGainLife | AILogic$ DoSacrifice | SpellDescription$ Target player draws X cards and gains X life. Put X +1/+1 counters on CARDNAME. +SVar:DBGainLife:DB$ GainLife | Defined$ Targeted | LifeAmount$ X | SubAbility$ DBPutCounter +SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X SVar:X:Count$xPaid DeckHints:Name$Regna, the Redeemer Oracle:Partner with Regna, the Redeemer (When this creature enters the battlefield, target player may put Regna into their hand from their library, then shuffle.)\n{B}, Sacrifice X creatures: Target player draws X cards and gains X life. Put X +1/+1 counters on Krav, the Unredeemed. diff --git a/forge-gui/res/cardsfolder/k/krenko_mob_boss.txt b/forge-gui/res/cardsfolder/k/krenko_mob_boss.txt index 7bd25f3ecc4..64a509e819a 100644 --- a/forge-gui/res/cardsfolder/k/krenko_mob_boss.txt +++ b/forge-gui/res/cardsfolder/k/krenko_mob_boss.txt @@ -2,7 +2,7 @@ Name:Krenko, Mob Boss ManaCost:2 R R Types:Legendary Creature Goblin Warrior PT:3/3 -A:AB$ Token | Cost$ T | TokenAmount$ X | References$ X | TokenScript$ r_1_1_goblin | TokenOwner$ You | LegacyImage$ r 1 1 goblin m13 | SpellDescription$ Create X 1/1 red Goblin creature tokens, where X is the number of Goblins you control. +A:AB$ Token | Cost$ T | TokenAmount$ X | TokenScript$ r_1_1_goblin | TokenOwner$ You | LegacyImage$ r 1 1 goblin m13 | SpellDescription$ Create X 1/1 red Goblin creature tokens, where X is the number of Goblins you control. SVar:X:Count$TypeYouCtrl.Goblin DeckHints:Type$Goblin SVar:Picture:http://www.wizards.com/global/images/magic/general/krenko_mob_boss.jpg diff --git a/forge-gui/res/cardsfolder/k/krenko_tin_street_kingpin.txt b/forge-gui/res/cardsfolder/k/krenko_tin_street_kingpin.txt index 7c39da2bb2a..17930e80378 100644 --- a/forge-gui/res/cardsfolder/k/krenko_tin_street_kingpin.txt +++ b/forge-gui/res/cardsfolder/k/krenko_tin_street_kingpin.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Goblin PT:1/2 T:Mode$ Attacks | ValidCard$ Creature.Self | Execute$ TrigPut | TriggerDescription$ Whenever CARDNAME attacks, put a +1/+1 counter on it, then create a number of 1/1 red Goblin creature tokens equal to CARDNAME's power. SVar:TrigPut:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBToken -SVar:DBToken:DB$Token | TokenAmount$ 1 | TokenScript$ r_1_1_goblin | TokenOwner$ You | LegacyImage$ r 1 1 goblin war | TokenAmount$ X | References$ X +SVar:DBToken:DB$Token | TokenAmount$ 1 | TokenScript$ r_1_1_goblin | TokenOwner$ You | LegacyImage$ r 1 1 goblin war | TokenAmount$ X SVar:X:Count$CardPower SVar:HasAttackEffect:TRUE DeckHas:Ability$Token & Ability$Counters diff --git a/forge-gui/res/cardsfolder/k/kresh_the_bloodbraided.txt b/forge-gui/res/cardsfolder/k/kresh_the_bloodbraided.txt index c6d64664bb0..5904816c768 100644 --- a/forge-gui/res/cardsfolder/k/kresh_the_bloodbraided.txt +++ b/forge-gui/res/cardsfolder/k/kresh_the_bloodbraided.txt @@ -3,7 +3,7 @@ ManaCost:2 B R G Types:Legendary Creature Human Warrior PT:3/3 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.Other | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ Whenever another creature dies, you may put X +1/+1 counters on CARDNAME, where X is that creature's power. -SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X | ConditionPresent$ Card.StrictlySelf +SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | ConditionPresent$ Card.StrictlySelf SVar:X:TriggeredCard$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/kresh_the_bloodbraided.jpg Oracle:Whenever another creature dies, you may put X +1/+1 counters on Kresh the Bloodbraided, where X is that creature's power. diff --git a/forge-gui/res/cardsfolder/k/kresh_the_bloodbraided_avatar.txt b/forge-gui/res/cardsfolder/k/kresh_the_bloodbraided_avatar.txt index be61c54e3c2..d19dff75a11 100644 --- a/forge-gui/res/cardsfolder/k/kresh_the_bloodbraided_avatar.txt +++ b/forge-gui/res/cardsfolder/k/kresh_the_bloodbraided_avatar.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Vanguard HandLifeModifier:+1/-3 T:Mode$ Devoured | ValidDevoured$ Creature.YouCtrl | TriggerZones$ Command | Execute$ TrigToken | TriggerDescription$ Whenever a creature you control is devoured, create an X/X green Ooze creature token, where X is the devoured creature's power. -SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_x_x_ooze | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | LegacyImage$ g x x ooze rtr | SpellDescription$ Create an X/X green Ooze creature token. +SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_x_x_ooze | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | LegacyImage$ g x x ooze rtr | SpellDescription$ Create an X/X green Ooze creature token. SVar:X:TriggeredDevoured$CardPower SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Kresh the Bloodbraided Avatar.full.jpg Oracle:Hand +1, life -3\nWhenever a creature you control is devoured, create an X/X green Ooze creature token, where X is the devoured creature's power. diff --git a/forge-gui/res/cardsfolder/k/krovikan_mist.txt b/forge-gui/res/cardsfolder/k/krovikan_mist.txt index 9ff9652cd10..6b8bfe24aa3 100644 --- a/forge-gui/res/cardsfolder/k/krovikan_mist.txt +++ b/forge-gui/res/cardsfolder/k/krovikan_mist.txt @@ -3,7 +3,7 @@ ManaCost:1 U Types:Creature Illusion PT:*/* K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Illusions on the battlefield. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Illusions on the battlefield. SVar:X:Count$Valid Illusion SVar:BuffedBy:Illusion SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/k/krovikan_whispers.txt b/forge-gui/res/cardsfolder/k/krovikan_whispers.txt index 4fbaa830bb7..3762cacea1b 100644 --- a/forge-gui/res/cardsfolder/k/krovikan_whispers.txt +++ b/forge-gui/res/cardsfolder/k/krovikan_whispers.txt @@ -6,7 +6,7 @@ K:Cumulative upkeep:UB A:SP$ Attach | Cost$ 3 U | ValidTgts$ Creature | AILogic$ GainControl S:Mode$ Continuous | Affected$ Card.EnchantedBy | GainControl$ You | Description$ You control enchanted creature. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigLoseLife | ValidCard$ Card.Self | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, you lose 2 life for each age counter on it. -SVar:TrigLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | LifeAmount$ X SVar:X:TriggeredCard$CardCounters.AGE/Times.2 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/krovikan_whispers.jpg diff --git a/forge-gui/res/cardsfolder/k/kroxa_titan_of_deaths_hunger.txt b/forge-gui/res/cardsfolder/k/kroxa_titan_of_deaths_hunger.txt index 1448f1b3b5d..d56c8405ece 100755 --- a/forge-gui/res/cardsfolder/k/kroxa_titan_of_deaths_hunger.txt +++ b/forge-gui/res/cardsfolder/k/kroxa_titan_of_deaths_hunger.txt @@ -8,7 +8,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ DBDiscard | Secondary$ True | TriggerDescription$ Whenever CARDNAME enters the battlefield or attacks, each opponent discards a card, then each opponent who didn't discard a nonland card this way loses 3 life. SVar:DBDiscard:DB$ Discard | Mode$ TgtChoose | Defined$ Player.Opponent | NumCards$ 1 | RememberDiscarded$ True | SubAbility$ DBRepeat | SpellDescription$ Each player discards a card. Then each player who didn't discard a creature card this way loses 4 life. SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBLoseLife | SubAbility$ DBCleanup -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | Defined$ Player.IsRemembered | References$ X +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | Defined$ Player.IsRemembered SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Card.nonLand+RememberedPlayerOwn K:Escape:B B R R ExileFromGrave<5/Card.Other/other> diff --git a/forge-gui/res/cardsfolder/k/kruphix_god_of_horizons.txt b/forge-gui/res/cardsfolder/k/kruphix_god_of_horizons.txt index 84de9e3164b..00c42e9e931 100644 --- a/forge-gui/res/cardsfolder/k/kruphix_god_of_horizons.txt +++ b/forge-gui/res/cardsfolder/k/kruphix_god_of_horizons.txt @@ -3,7 +3,7 @@ ManaCost:3 G U Types:Legendary Enchantment Creature God PT:4/7 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | References$ X | Description$ As long as your devotion to green and blue is less than seven, CARDNAME isn't a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | Description$ As long as your devotion to green and blue is less than seven, CARDNAME isn't a creature. SVar:X:Count$DevotionDual.Green.Blue S:Mode$ Continuous | Affected$ You | SetMaxHandSize$ Unlimited | Description$ You have no maximum hand size. S:Mode$ Continuous | Affected$ You | AddKeyword$ Convert unused mana to Colorless | Description$ If you would lose unspent mana, that mana becomes colorless instead. diff --git a/forge-gui/res/cardsfolder/k/kry_shield.txt b/forge-gui/res/cardsfolder/k/kry_shield.txt index 4951f4f1cf8..fceb48c90d5 100644 --- a/forge-gui/res/cardsfolder/k/kry_shield.txt +++ b/forge-gui/res/cardsfolder/k/kry_shield.txt @@ -2,7 +2,7 @@ Name:Kry Shield ManaCost:2 Types:Artifact A:AB$ Pump | Cost$ 2 T | KW$ Prevent all damage that would be dealt by CARDNAME. | TgtPrompt$ Select target creature you control | ValidTgts$ Creature.YouCtrl | SubAbility$ DBPump | SpellDescription$ Prevent all damage that would be dealt this turn by target creature you control. That creature gets +0/+X until end of turn, where X is its converted mana cost. -SVar:DBPump:DB$ Pump | Defined$ Targeted | NumDef$ X | References$ X +SVar:DBPump:DB$ Pump | Defined$ Targeted | NumDef$ X SVar:X:Targeted$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/kry_shield.jpg diff --git a/forge-gui/res/cardsfolder/k/kumenas_awakening.txt b/forge-gui/res/cardsfolder/k/kumenas_awakening.txt index 59afaacfbcb..c2d799bcda8 100644 --- a/forge-gui/res/cardsfolder/k/kumenas_awakening.txt +++ b/forge-gui/res/cardsfolder/k/kumenas_awakening.txt @@ -3,8 +3,8 @@ ManaCost:2 U U Types:Enchantment K:Ascend T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ At the beginning of your upkeep, each player draws a card. If you have the city's blessing, instead only you draw a card. -SVar:TrigDraw:DB$Draw | NumCards$ 1 | Defined$ Player | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBDraw -SVar:DBDraw:DB$Draw | NumCards$ 1 | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X +SVar:TrigDraw:DB$Draw | NumCards$ 1 | Defined$ Player | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBDraw +SVar:DBDraw:DB$Draw | NumCards$ 1 | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 SVar:X:Count$Blessing.1.0 SVar:Picture:http://www.wizards.com/global/images/magic/general/kumenas_awakening.jpg Oracle:Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.)\nAt the beginning of your upkeep, each player draws a card. If you have the city's blessing, instead only you draw a card. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/k/kumenas_speaker.txt b/forge-gui/res/cardsfolder/k/kumenas_speaker.txt index dc5495407b7..06b03d3d553 100644 --- a/forge-gui/res/cardsfolder/k/kumenas_speaker.txt +++ b/forge-gui/res/cardsfolder/k/kumenas_speaker.txt @@ -2,7 +2,7 @@ Name:Kumena's Speaker ManaCost:G Types:Creature Merfolk Shaman PT:1/1 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ TotalX | SVarCompare$ GE1 | References$ TotalX | Description$ CARDNAME gets +1/+1 as long as you control another Merfolk or an Island. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ TotalX | SVarCompare$ GE1otalX | Description$ CARDNAME gets +1/+1 as long as you control another Merfolk or an Island. SVar:X1:Count$Valid Island.YouCtrl SVar:X2:Count$Valid Creature.Merfolk+Other+YouCtrl SVar:TotalX:SVar$X1/Plus.X2 diff --git a/forge-gui/res/cardsfolder/k/kusari_gama.txt b/forge-gui/res/cardsfolder/k/kusari_gama.txt index d7b6aee42f4..ff2ceefb3ef 100644 --- a/forge-gui/res/cardsfolder/k/kusari_gama.txt +++ b/forge-gui/res/cardsfolder/k/kusari_gama.txt @@ -7,7 +7,7 @@ SVar:GamaPump:AB$ Pump | Cost$ 2 | Defined$ Self | NumAtt$ +1 | SpellDescription T:Mode$ DamageDone | ValidSource$ Card.EquippedBy | ValidTarget$ Creature.blocking | Execute$ KusariPump | TriggerZones$ Battlefield | TriggerDescription$ Whenever equipped creature deals damage to a blocking creature, CARDNAME deals that much damage to each other creature defending player controls. SVar:KusariPump:DB$ Pump | Defined$ Self | RememberObjects$ TriggeredTarget | SubAbility$ KusariPump2 SVar:KusariPump2:DB$ Pump | Defined$ Self | RememberObjects$ TriggeredDefendingPlayer | SubAbility$ GamaDamage -SVar:GamaDamage:DB$ DamageAll | NumDmg$ X | References$ X | ValidCards$ Creature.IsNotRemembered+ControlledBy Player.IsRemembered | SubAbility$ CleanUp +SVar:GamaDamage:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature.IsNotRemembered+ControlledBy Player.IsRemembered | SubAbility$ CleanUp SVar:CleanUp:DB$ Cleanup | ClearRemembered$ True SVar:X:TriggerCount$DamageAmount Oracle:Equipped creature has "{2}: This creature gets +1/+0 until end of turn."\nWhenever equipped creature deals damage to a blocking creature, Kusari-Gama deals that much damage to each other creature defending player controls.\nEquip {3} ({3}: Attach to target creature you control. Equip only as a sorcery.) diff --git a/forge-gui/res/cardsfolder/k/kydele_chosen_of_kruphix.txt b/forge-gui/res/cardsfolder/k/kydele_chosen_of_kruphix.txt index 8c3f6a1d9e8..90732e0a17e 100644 --- a/forge-gui/res/cardsfolder/k/kydele_chosen_of_kruphix.txt +++ b/forge-gui/res/cardsfolder/k/kydele_chosen_of_kruphix.txt @@ -2,7 +2,7 @@ Name:Kydele, Chosen of Kruphix ManaCost:2 G U Types:Legendary Creature Human Wizard PT:2/3 -A:AB$ Mana | Cost$ T | Produced$ C | Amount$ X | References$ X | SpellDescription$ Add {C} for each card you've drawn this turn. +A:AB$ Mana | Cost$ T | Produced$ C | Amount$ X | SpellDescription$ Add {C} for each card you've drawn this turn. SVar:X:Count$YouDrewThisTurn K:Partner DeckHas:Ability$Mana.Colorless diff --git a/forge-gui/res/cardsfolder/k/kyren_toy.txt b/forge-gui/res/cardsfolder/k/kyren_toy.txt index a872e6e6ba1..6dd7038ee17 100644 --- a/forge-gui/res/cardsfolder/k/kyren_toy.txt +++ b/forge-gui/res/cardsfolder/k/kyren_toy.txt @@ -2,7 +2,7 @@ Name:Kyren Toy ManaCost:3 Types:Artifact A:AB$ PutCounter | Cost$ 1 T | CounterType$ CHARGE | CounterNum$ 1 | SpellDescription$ Put a charge counter on CARDNAME. -A:AB$ Mana | Cost$ T SubCounter | Produced$ C | Amount$ Y | References$ X,Y | AILogic$ ManaRitualBattery.1 | SpellDescription$ Add an amount of {C} equal to X plus one. +A:AB$ Mana | Cost$ T SubCounter | Produced$ C | Amount$ Y,Y | AILogic$ ManaRitualBattery.1 | SpellDescription$ Add an amount of {C} equal to X plus one. SVar:Y:SVar$X/Plus.1 SVar:X:Count$xPaid AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/k/kytheons_tactics.txt b/forge-gui/res/cardsfolder/k/kytheons_tactics.txt index 75062085c32..85aba39570f 100644 --- a/forge-gui/res/cardsfolder/k/kytheons_tactics.txt +++ b/forge-gui/res/cardsfolder/k/kytheons_tactics.txt @@ -2,7 +2,7 @@ Name:Kytheon's Tactics ManaCost:1 W W Types:Sorcery A:SP$ PumpAll | Cost$ 1 W W | ValidCards$ Creature.YouCtrl | NumAtt$ +2 | NumDef$ +1 | SubAbility$ DBPumpAll | SpellDescription$ Creatures you control get +2/+1 until end of turn. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, those creatures also gain vigilance until end of turn. -SVar:DBPumpAll:DB$ PumpAll | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X | ValidCards$ Creature.YouCtrl | KW$ Vigilance +SVar:DBPumpAll:DB$ PumpAll | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | ValidCards$ Creature.YouCtrl | KW$ Vigilance SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/kytheons_tactics.jpg Oracle:Creatures you control get +2/+1 until end of turn.\nSpell mastery — If there are two or more instant and/or sorcery cards in your graveyard, those creatures also gain vigilance until end of turn. (Attacking doesn't cause them to tap.) diff --git a/forge-gui/res/cardsfolder/l/laboratory_drudge.txt b/forge-gui/res/cardsfolder/l/laboratory_drudge.txt index 9078e3d04f6..cab0ebbf3aa 100755 --- a/forge-gui/res/cardsfolder/l/laboratory_drudge.txt +++ b/forge-gui/res/cardsfolder/l/laboratory_drudge.txt @@ -6,9 +6,9 @@ T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | CheckSVar$ X | SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 T:Mode$ SpellCast | ValidActivatingPlayer$ You | ValidCard$ Card.wasCastFromGraveyard | Execute$ TrigStore | TriggerZones$ Battlefield | Static$ True T:Mode$ AbilityCast | ValidActivatingPlayer$ You | ValidCard$ Card.inZoneGraveyard | Execute$ TrigStore | TriggerZones$ Battlefield | Static$ True -SVar:TrigStore:DB$ StoreSVar | SVar$ X | Type$ Number | Expression$ 1 | References$ X +SVar:TrigStore:DB$ StoreSVar | SVar$ X | Type$ Number | Expression$ 1 SVar:X:Number$0 T:Mode$ TurnBegin | Execute$ TrigReset | Static$ True -SVar:TrigReset:DB$ StoreSVar | SVar$ X | Type$ Number | Expression$ 0 | References$ X +SVar:TrigReset:DB$ StoreSVar | SVar$ X | Type$ Number | Expression$ 0 DeckHas:Ability$Graveyard Oracle:At the beginning of each end step, draw a card if you've cast a spell from a graveyard or activated an ability of a card in a graveyard this turn. diff --git a/forge-gui/res/cardsfolder/l/laccolith_grunt.txt b/forge-gui/res/cardsfolder/l/laccolith_grunt.txt index 111165a7a39..954a52fb094 100644 --- a/forge-gui/res/cardsfolder/l/laccolith_grunt.txt +++ b/forge-gui/res/cardsfolder/l/laccolith_grunt.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Creature Beast PT:2/2 T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigDamage | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME becomes blocked, you may have it deal damage equal to its power to target creature. If you do, CARDNAME assigns no combat damage this turn. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBNoCombatDamage | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBNoCombatDamage SVar:DBNoCombatDamage:DB$ Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/laccolith_grunt.jpg diff --git a/forge-gui/res/cardsfolder/l/laccolith_rig.txt b/forge-gui/res/cardsfolder/l/laccolith_rig.txt index 87c2e07e0f8..0f06bdf0fb9 100644 --- a/forge-gui/res/cardsfolder/l/laccolith_rig.txt +++ b/forge-gui/res/cardsfolder/l/laccolith_rig.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ R | ValidTgts$ Creature | AITgts$ Card.powerGE1 | AILogic$ Pump T:Mode$ AttackerBlocked | ValidCard$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ LaccolithDmg | OptionalDecider$ You | TriggerDescription$ Whenever enchanted creature becomes blocked, you may have it deal damage equal to its power to target creature. If you do, the first creature assigns no combat damage this turn. -SVar:LaccolithDmg:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature to deal damage to | NumDmg$ RigX | SubAbility$ NoCombatDamage | References$ RigX | DamageSource$ TriggeredAttacker +SVar:LaccolithDmg:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature to deal damage to | NumDmg$ RigX | SubAbility$ NoCombatDamage | DamageSource$ TriggeredAttacker SVar:NoCombatDamage:DB$ Pump | Defined$ TriggeredAttacker | KW$ HIDDEN CARDNAME assigns no combat damage SVar:RigX:TriggeredAttacker$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/laccolith_rig.jpg diff --git a/forge-gui/res/cardsfolder/l/laccolith_titan.txt b/forge-gui/res/cardsfolder/l/laccolith_titan.txt index 04e42985442..56c4b02807a 100644 --- a/forge-gui/res/cardsfolder/l/laccolith_titan.txt +++ b/forge-gui/res/cardsfolder/l/laccolith_titan.txt @@ -3,7 +3,7 @@ ManaCost:5 R R Types:Creature Beast PT:6/6 T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigDamage | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME becomes blocked, you may have it deal damage equal to its power to target creature. If you do, CARDNAME assigns no combat damage this turn. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBNoCombatDamage | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBNoCombatDamage SVar:DBNoCombatDamage:DB$ Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/laccolith_titan.jpg diff --git a/forge-gui/res/cardsfolder/l/laccolith_warrior.txt b/forge-gui/res/cardsfolder/l/laccolith_warrior.txt index 87cbff0b3c0..e65b26c0328 100644 --- a/forge-gui/res/cardsfolder/l/laccolith_warrior.txt +++ b/forge-gui/res/cardsfolder/l/laccolith_warrior.txt @@ -3,7 +3,7 @@ ManaCost:2 R R Types:Creature Beast Warrior PT:3/3 T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigDamage | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME becomes blocked, you may have it deal damage equal to its power to target creature. If you do, CARDNAME assigns no combat damage this turn. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBNoCombatDamage | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBNoCombatDamage SVar:DBNoCombatDamage:DB$ Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/laccolith_warrior.jpg diff --git a/forge-gui/res/cardsfolder/l/laccolith_whelp.txt b/forge-gui/res/cardsfolder/l/laccolith_whelp.txt index 220d605d12a..187c49f9d57 100644 --- a/forge-gui/res/cardsfolder/l/laccolith_whelp.txt +++ b/forge-gui/res/cardsfolder/l/laccolith_whelp.txt @@ -3,7 +3,7 @@ ManaCost:R Types:Creature Beast PT:1/1 T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigDamage | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME becomes blocked, you may have it deal damage equal to its power to target creature. If you do, CARDNAME assigns no combat damage this turn. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBNoCombatDamage | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBNoCombatDamage SVar:DBNoCombatDamage:DB$ Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/laccolith_whelp.jpg diff --git a/forge-gui/res/cardsfolder/l/lagonna_band_storyteller.txt b/forge-gui/res/cardsfolder/l/lagonna_band_storyteller.txt index 49522f886fd..653166bd392 100755 --- a/forge-gui/res/cardsfolder/l/lagonna_band_storyteller.txt +++ b/forge-gui/res/cardsfolder/l/lagonna_band_storyteller.txt @@ -4,7 +4,7 @@ Types:Creature Centaur Advisor PT:3/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may put target enchantment card from your graveyard on top of your library. If you do, you gain life equal to its converted mana cost. SVar:TrigChange:DB$ ChangeZone | Origin$ Graveyard | Destination$ Library | ValidTgts$ Enchantment.YouOwn | TgtPrompt$ Choose target enchantment from your graveyard | RememberChanged$ True | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost DeckNeeds:Type$Enchantment diff --git a/forge-gui/res/cardsfolder/l/lair_of_the_ashen_idol.txt b/forge-gui/res/cardsfolder/l/lair_of_the_ashen_idol.txt index ae717f5ff92..7fb8156bbbc 100644 --- a/forge-gui/res/cardsfolder/l/lair_of_the_ashen_idol.txt +++ b/forge-gui/res/cardsfolder/l/lair_of_the_ashen_idol.txt @@ -3,11 +3,11 @@ ManaCost:no cost Types:Plane Azgol T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Command | Execute$ SacToIdol | TriggerDescription$ At the beginning of your upkeep, sacrifice a creature. If you can't, planeswalk. SVar:SacToIdol:DB$ Sacrifice | Defined$ You | SacValid$ Creature | SubAbility$ IdolWalk | RememberSacrificed$ True -SVar:IdolWalk:DB$ Planeswalk | ConditionCheckSVar$ IdolX | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup | References$ IdolX +SVar:IdolWalk:DB$ Planeswalk | ConditionCheckSVar$ IdolX | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:IdolX:Remembered$Amount T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, any number of target players each create a 2/2 black Zombie creature token. -SVar:RolledChaos:DB$ Token | ValidTgts$ Player | TgtPrompt$ Select target player to receive zombie token | TargetMin$ 0 | TargetMax$ MaxTgt | References$ MaxTgt | TokenScript$ b_2_2_zombie | TokenOwner$ Targeted | TokenAmount$ 1 | LegacyImage$ b 2 2 zombie pc2 +SVar:RolledChaos:DB$ Token | ValidTgts$ Player | TgtPrompt$ Select target player to receive zombie token | TargetMin$ 0 | TargetMax$ MaxTgt | TokenScript$ b_2_2_zombie | TokenOwner$ Targeted | TokenAmount$ 1 | LegacyImage$ b 2 2 zombie pc2 SVar:MaxTgt:PlayerCountPlayers$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/lair_of_the_ashen_idol.jpg Oracle:At the beginning of your upkeep, sacrifice a creature. If you can't, planeswalk.\nWhenever you roll {CHAOS}, any number of target players each create a 2/2 black Zombie creature token. diff --git a/forge-gui/res/cardsfolder/l/lake_of_the_dead.txt b/forge-gui/res/cardsfolder/l/lake_of_the_dead.txt index 215a4e90b95..badb1aee8bc 100644 --- a/forge-gui/res/cardsfolder/l/lake_of_the_dead.txt +++ b/forge-gui/res/cardsfolder/l/lake_of_the_dead.txt @@ -5,8 +5,8 @@ A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}. A:AB$ Mana | Cost$ T Sac<1/Swamp> | Produced$ B | Amount$ 4 | SpellDescription$ Add {B}{B}{B}{B}. R:Event$ Moved | Destination$ Battlefield | ValidCard$ Card.Self | ReplaceWith$ PayBeforeETB | Description$ If CARDNAME would enter the battlefield, sacrifice a Swamp instead. If you do, put CARDNAME onto the battlefield. If you don't, put it into its owner's graveyard. SVar:PayBeforeETB:DB$ Sacrifice | SacValid$ Swamp | Defined$ You | RememberSacrificed$ True | SubAbility$ MoveToGraveyard -SVar:MoveToGraveyard:DB$ ChangeZone | Origin$ All | Destination$ Graveyard | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ MoveToBattlefield -SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X | SubAbility$ DBCleanup +SVar:MoveToGraveyard:DB$ ChangeZone | Origin$ All | Destination$ Graveyard | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ MoveToBattlefield +SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/l/lammastide_weave.txt b/forge-gui/res/cardsfolder/l/lammastide_weave.txt index ed3ff3d908b..774e781d0fc 100644 --- a/forge-gui/res/cardsfolder/l/lammastide_weave.txt +++ b/forge-gui/res/cardsfolder/l/lammastide_weave.txt @@ -3,7 +3,7 @@ ManaCost:1 G Types:Instant A:SP$ NameCard | Cost$ 1 G | Defined$ You | SubAbility$ DBMill | SpellDescription$ Choose a card name, then target player mills a card. If a card with the chosen name was milled this way, you gain life equal to its converted mana cost. Draw a card. SVar:DBMill:DB$ Mill | NumCards$ 1 | ValidTgts$ Player | TgtPrompt$ Choose a player | RememberMilled$ True | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X,Y | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ1 | SubAbility$ DBDraw +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ1 | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | NumCards$ 1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost diff --git a/forge-gui/res/cardsfolder/l/lancers_en_kor.txt b/forge-gui/res/cardsfolder/l/lancers_en_kor.txt index 6a2cacbcf69..34ad17f9ba6 100644 --- a/forge-gui/res/cardsfolder/l/lancers_en_kor.txt +++ b/forge-gui/res/cardsfolder/l/lancers_en_kor.txt @@ -3,7 +3,7 @@ ManaCost:3 W W Types:Creature Kor Soldier PT:3/3 K:Trample -A:AB$ Effect | Cost$ 0 | Name$ en-Kor Redirection | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage to | ReplacementEffects$ EnKor | SVars$ EnKorDmg | References$ EnKor,EnKorDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature you control instead. +A:AB$ Effect | Cost$ 0 | Name$ en-Kor Redirection | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage to | ReplacementEffects$ EnKor | SVars$ EnKorDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature you control instead. SVar:EnKor:Event$ DamageDone | ValidTarget$ Creature.EffectSource | ReplaceWith$ EnKorDmg | DamageTarget$ Remembered | Description$ The next 1 damage that would be dealt to EFFECTSOURCE this turn is dealt to target creature you control instead. SVar:EnKorDmg:DB$ ReplaceSplitDamage | DamageTarget$ Remembered AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/l/landbind_ritual.txt b/forge-gui/res/cardsfolder/l/landbind_ritual.txt index 868be1b83f5..3f970d13517 100644 --- a/forge-gui/res/cardsfolder/l/landbind_ritual.txt +++ b/forge-gui/res/cardsfolder/l/landbind_ritual.txt @@ -1,7 +1,7 @@ Name:Landbind Ritual ManaCost:3 W W Types:Sorcery -A:SP$ GainLife | Cost$ 3 W W | LifeAmount$ X | References$ X | SpellDescription$ You gain 2 life for each Plains you control. +A:SP$ GainLife | Cost$ 3 W W | LifeAmount$ X | SpellDescription$ You gain 2 life for each Plains you control. SVar:X:Count$TypeYouCtrl.Plains/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/landbind_ritual.jpg Oracle:You gain 2 life for each Plains you control. diff --git a/forge-gui/res/cardsfolder/l/lands_edge.txt b/forge-gui/res/cardsfolder/l/lands_edge.txt index 225fbc92859..3acd6aa44de 100644 --- a/forge-gui/res/cardsfolder/l/lands_edge.txt +++ b/forge-gui/res/cardsfolder/l/lands_edge.txt @@ -1,7 +1,7 @@ Name:Land's Edge ManaCost:1 R R Types:World Enchantment -A:AB$ DealDamage | Cost$ Discard<1/Card> | ValidTgts$ Player,Planeswalker | NumDmg$ X | References$ X | Activator$ Player | AILogic$ DiscardLands | SpellDescription$ If the discarded card was a land card, CARDNAME deals 2 damage to target player or planeswalker. Any player may activate this ability. +A:AB$ DealDamage | Cost$ Discard<1/Card> | ValidTgts$ Player,Planeswalker | NumDmg$ X | Activator$ Player | AILogic$ DiscardLands | SpellDescription$ If the discarded card was a land card, CARDNAME deals 2 damage to target player or planeswalker. Any player may activate this ability. SVar:X:Discarded$Valid Land/Times.2 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/lands_edge.jpg diff --git a/forge-gui/res/cardsfolder/l/landslide.txt b/forge-gui/res/cardsfolder/l/landslide.txt index c91a3d596ad..6a0a0c1fb67 100644 --- a/forge-gui/res/cardsfolder/l/landslide.txt +++ b/forge-gui/res/cardsfolder/l/landslide.txt @@ -1,8 +1,8 @@ Name:Landslide ManaCost:R Types:Sorcery -A:SP$ Sacrifice | Cost$ R | Defined$ You | Amount$ SacX | References$ SacX | SacValid$ Mountain | RememberSacrificed$ True | Optional$ True | SubAbility$ DBDamage | SpellDescription$ Sacrifice any number of Mountains. CARDNAME deals that much damage to target player or planeswalker. -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ DmgX | References$ DmgX | SubAbility$ DBCleanup +A:SP$ Sacrifice | Cost$ R | Defined$ You | Amount$ SacX | SacValid$ Mountain | RememberSacrificed$ True | Optional$ True | SubAbility$ DBDamage | SpellDescription$ Sacrifice any number of Mountains. CARDNAME deals that much damage to target player or planeswalker. +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ DmgX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Mountain.YouCtrl SVar:DmgX:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/l/laquatuss_creativity.txt b/forge-gui/res/cardsfolder/l/laquatuss_creativity.txt index bdc9ccc1a28..4259ef877a8 100644 --- a/forge-gui/res/cardsfolder/l/laquatuss_creativity.txt +++ b/forge-gui/res/cardsfolder/l/laquatuss_creativity.txt @@ -1,8 +1,8 @@ Name:Laquatus's Creativity ManaCost:4 U Types:Sorcery -A:SP$ Draw | Cost$ 4 U | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player | References$ X | RememberDrawn$ True | SubAbility$ DBDiscard | SpellDescription$ Target player draws cards equal to the number of cards in their hand, then discards that many cards. -SVar:DBDiscard:DB$ Discard | Defined$ Targeted | Mode$ TgtChoose | NumCards$ Y | References$ Y | SubAbility$ DBCleanup +A:SP$ Draw | Cost$ 4 U | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player | RememberDrawn$ True | SubAbility$ DBDiscard | SpellDescription$ Target player draws cards equal to the number of cards in their hand, then discards that many cards. +SVar:DBDiscard:DB$ Discard | Defined$ Targeted | Mode$ TgtChoose | NumCards$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:TargetedPlayer$CardsInHand SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/l/lashknife_barrier.txt b/forge-gui/res/cardsfolder/l/lashknife_barrier.txt index 35d94cbeb8a..9cb0dee417a 100644 --- a/forge-gui/res/cardsfolder/l/lashknife_barrier.txt +++ b/forge-gui/res/cardsfolder/l/lashknife_barrier.txt @@ -2,7 +2,7 @@ Name:Lashknife Barrier ManaCost:2 W Types:Enchantment R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Creature.YouCtrl | ReplaceWith$ DmgMinus1 | Description$ If a source would deal damage to a creature you control, it deals that much damage minus 1 to that creature instead. -SVar:DmgMinus1:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgMinus1:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Minus.1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card. SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ 1 diff --git a/forge-gui/res/cardsfolder/l/last_chance.txt b/forge-gui/res/cardsfolder/l/last_chance.txt index f7a2c3628aa..87a8a0d86b2 100644 --- a/forge-gui/res/cardsfolder/l/last_chance.txt +++ b/forge-gui/res/cardsfolder/l/last_chance.txt @@ -1,7 +1,7 @@ Name:Last Chance ManaCost:R R Types:Sorcery -A:SP$ AddTurn | Cost$ R R | NumTurns$ 1 | ExtraTurnDelayedTrigger$ DBDelTrig | ExtraTurnDelayedTriggerExcute$ TrigLose | References$ DBDelTrig,TrigLose | SpellDescription$ Take an extra turn after this one. At the beginning of that turn's end step, you lose the game. +A:SP$ AddTurn | Cost$ R R | NumTurns$ 1 | ExtraTurnDelayedTrigger$ DBDelTrig | ExtraTurnDelayedTriggerExcute$ TrigLose | SpellDescription$ Take an extra turn after this one. At the beginning of that turn's end step, you lose the game. SVar:DBDelTrig:ThisTurn$ True | Mode$ Phase | Phase$ End of Turn | TriggerDescription$ At the beginning of that turn's end step, you lose the game. SVar:TrigLose:DB$ LosesGame | Defined$ You AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/l/last_ditch_effort.txt b/forge-gui/res/cardsfolder/l/last_ditch_effort.txt index 57e3026ddca..d2f466db7af 100644 --- a/forge-gui/res/cardsfolder/l/last_ditch_effort.txt +++ b/forge-gui/res/cardsfolder/l/last_ditch_effort.txt @@ -1,8 +1,8 @@ Name:Last-Ditch Effort ManaCost:R Types:Instant -A:SP$ Sacrifice | Cost$ R | Defined$ You | Amount$ SacX | References$ SacX | SacValid$ Creature | RememberSacrificed$ True | Optional$ True | SubAbility$ DBDamage | SpellDescription$ Sacrifice any number of creatures. CARDNAME deals that much damage to any target. -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ DmgX | References$ DmgX | SubAbility$ DBCleanup +A:SP$ Sacrifice | Cost$ R | Defined$ You | Amount$ SacX | SacValid$ Creature | RememberSacrificed$ True | Optional$ True | SubAbility$ DBDamage | SpellDescription$ Sacrifice any number of creatures. CARDNAME deals that much damage to any target. +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ DmgX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Creature.YouCtrl SVar:DmgX:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/l/last_rites.txt b/forge-gui/res/cardsfolder/l/last_rites.txt index 0aece24b0d4..214b1344167 100644 --- a/forge-gui/res/cardsfolder/l/last_rites.txt +++ b/forge-gui/res/cardsfolder/l/last_rites.txt @@ -2,7 +2,7 @@ Name:Last Rites ManaCost:2 B Types:Sorcery A:SP$ Discard | Cost$ 2 B | AnyNumber$ True | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBLastRitesDiscard | AILogic$ DiscardUncastableAndExcess | SpellDescription$ Discard any number of cards. Target player reveals their hand, then you choose a nonland card from it for each card discarded this way. That player discards those cards. -SVar:DBLastRitesDiscard:DB$ Discard | Mode$ RevealYouChoose | NumCards$ X | DiscardValid$ Card.nonLand | ValidTgts$ Opponent | References$ X +SVar:DBLastRitesDiscard:DB$ Discard | Mode$ RevealYouChoose | NumCards$ X | DiscardValid$ Card.nonLand | ValidTgts$ Opponent SVar:DBLastRitesCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/l/last_stand.txt b/forge-gui/res/cardsfolder/l/last_stand.txt index 5561933b09f..a875d88176e 100644 --- a/forge-gui/res/cardsfolder/l/last_stand.txt +++ b/forge-gui/res/cardsfolder/l/last_stand.txt @@ -1,12 +1,12 @@ Name:Last Stand ManaCost:W U B R G Types:Sorcery -A:SP$ LoseLife | Cost$ W U B R G | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | LifeAmount$ SwampsYouControl | SubAbility$ DBDamageMountain | References$ SwampsYouControl | SpellDescription$ Target opponent loses 2 life for each Swamp you control. CARDNAME deals damage to target creature equal to the number of Mountains you control. Create a 1/1 green Saproling creature token for each Forest you control. You gain 2 life for each Plains you control. Draw a card for each Island you control, then discard that many cards. -SVar:DBDamageMountain:DB$DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ MountainsYouControl | References$ MountainsYouControl | SubAbility$ DBTokenForest -SVar:DBTokenForest:DB$Token | TokenAmount$ ForestsYouControl | References$ ForestsYouControl | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling apc | SubAbility$ DBGainLifePlains -SVar:DBGainLifePlains:DB$GainLife | Defined$ You | LifeAmount$ PlainsYouControl | References$ PlainsYouControl | SubAbility$ DBDrawCardIsland -SVar:DBDrawCardIsland:DB$Draw | Defined$ You | NumCards$ IslandsYouControl | References$ IslandsYouControl | SubAbility$ DBDiscardJustAsMany -SVar:DBDiscardJustAsMany:DB$Discard | Defined$ You | NumCards$ IslandsYouControl | References$ IslandsYouControl | Mode$ TgtChoose +A:SP$ LoseLife | Cost$ W U B R G | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | LifeAmount$ SwampsYouControl | SubAbility$ DBDamageMountain | SpellDescription$ Target opponent loses 2 life for each Swamp you control. CARDNAME deals damage to target creature equal to the number of Mountains you control. Create a 1/1 green Saproling creature token for each Forest you control. You gain 2 life for each Plains you control. Draw a card for each Island you control, then discard that many cards. +SVar:DBDamageMountain:DB$DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ MountainsYouControl | SubAbility$ DBTokenForest +SVar:DBTokenForest:DB$Token | TokenAmount$ ForestsYouControl | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling apc | SubAbility$ DBGainLifePlains +SVar:DBGainLifePlains:DB$GainLife | Defined$ You | LifeAmount$ PlainsYouControl | SubAbility$ DBDrawCardIsland +SVar:DBDrawCardIsland:DB$Draw | Defined$ You | NumCards$ IslandsYouControl | SubAbility$ DBDiscardJustAsMany +SVar:DBDiscardJustAsMany:DB$Discard | Defined$ You | NumCards$ IslandsYouControl | Mode$ TgtChoose SVar:SwampsYouControl:Count$TypeYouCtrl.Swamp/Times.2 SVar:MountainsYouControl:Count$TypeYouCtrl.Mountain SVar:ForestsYouControl:Count$TypeYouCtrl.Forest diff --git a/forge-gui/res/cardsfolder/l/lathiel_the_bounteous_dawn.txt b/forge-gui/res/cardsfolder/l/lathiel_the_bounteous_dawn.txt index a46bbe0081f..caa2bc37a70 100755 --- a/forge-gui/res/cardsfolder/l/lathiel_the_bounteous_dawn.txt +++ b/forge-gui/res/cardsfolder/l/lathiel_the_bounteous_dawn.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Unicorn PT:2/2 K:Lifelink T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE1 | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of each end step, if you gained life this turn, distribute up to that many +1/+1 counters among any number of other target creatures. -SVar:TrigPutCounter:DB$ PutCounter | UpTo$ True | ValidTgts$ Creature.Other | TgtPrompt$ Select any number of other target creatures to distribute counters to | TargetMin$ 0 | TargetMax$ X | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | UpTo$ True | ValidTgts$ Creature.Other | TgtPrompt$ Select any number of other target creatures to distribute counters to | TargetMin$ 0 | TargetMax$ X | CounterType$ P1P1 | CounterNum$ X SVar:X:Count$LifeYouGainedThisTurn DeckHints:Ability$LifeGain DeckHas:Ability$Counters & Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/l/lathril_blade_of_the_elves.txt b/forge-gui/res/cardsfolder/l/lathril_blade_of_the_elves.txt index a26a843cd64..78c4161448e 100644 --- a/forge-gui/res/cardsfolder/l/lathril_blade_of_the_elves.txt +++ b/forge-gui/res/cardsfolder/l/lathril_blade_of_the_elves.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Elf Noble PT:2/3 K:Menace T:Mode$ DamageDone | ValidSource$ Card.Self | CombatDamage$ True | ValidTarget$ Player | Execute$ TrigToken | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, create that many 1/1 green Elf Warrior creature tokens. -SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_elf_warrior | TokenOwner$ You | References$ X +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_elf_warrior | TokenOwner$ You SVar:X:TriggerCount$DamageAmount A:AB$ LoseLife | Cost$ T tapXType<10/Elf> | Defined$ Player.Opponent | LifeAmount$ 10 | SubAbility$ DBGainLife | SpellDescription$ Each opponent loses 10 life and you gain 10 life. SVar:DBGainLife:DB$ GainLife | LifeAmount$ 10 diff --git a/forge-gui/res/cardsfolder/l/latulla_keldon_overseer.txt b/forge-gui/res/cardsfolder/l/latulla_keldon_overseer.txt index 577251770cd..59c2cf85e76 100644 --- a/forge-gui/res/cardsfolder/l/latulla_keldon_overseer.txt +++ b/forge-gui/res/cardsfolder/l/latulla_keldon_overseer.txt @@ -2,7 +2,7 @@ Name:Latulla, Keldon Overseer ManaCost:3 R R Types:Legendary Creature Human Spellshaper PT:3/3 -A:AB$ DealDamage | Cost$ X R T Discard<2/Card>| ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target. +A:AB$ DealDamage | Cost$ X R T Discard<2/Card>| ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/latulla_keldon_overseer.jpg diff --git a/forge-gui/res/cardsfolder/l/launch_the_fleet.txt b/forge-gui/res/cardsfolder/l/launch_the_fleet.txt index 2e4fe5f1c79..fbf7c84d75a 100644 --- a/forge-gui/res/cardsfolder/l/launch_the_fleet.txt +++ b/forge-gui/res/cardsfolder/l/launch_the_fleet.txt @@ -2,7 +2,7 @@ Name:Launch the Fleet ManaCost:W Types:Sorcery K:Strive:1 -A:SP$ Animate | Cost$ W | TargetMin$ 0 | TargetMax$ MaxTargets | AILogic$ Attacking | ValidTgts$ Creature | Triggers$ AttackTrigger | sVars$ LaunchTokenAttacking | References$ AttackTrigger,MaxTargets,LaunchTokenAttacking | SpellDescription$ Until end of turn, any number of target creatures each gain "Whenever this creature attacks, create a 1/1 white Soldier creature token that's tapped and attacking." +A:SP$ Animate | Cost$ W | TargetMin$ 0 | TargetMax$ MaxTargets | AILogic$ Attacking | ValidTgts$ Creature | Triggers$ AttackTrigger | sVars$ LaunchTokenAttacking | SpellDescription$ Until end of turn, any number of target creatures each gain "Whenever this creature attacks, create a 1/1 white Soldier creature token that's tapped and attacking." SVar:AttackTrigger:Mode$ Attacks | ValidCard$ Card.Self | Execute$ LaunchTokenAttacking | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, create a 1/1 white Soldier creature token that's tapped and attacking. SVar:LaunchTokenAttacking:DB$ Token | TokenAmount$ 1 | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier jou | TokenAttacking$ True | TokenTapped$ True SVar:MaxTargets:Count$Valid Creature diff --git a/forge-gui/res/cardsfolder/l/lava_burst.txt b/forge-gui/res/cardsfolder/l/lava_burst.txt index 6b32c93a18d..621bf41b760 100644 --- a/forge-gui/res/cardsfolder/l/lava_burst.txt +++ b/forge-gui/res/cardsfolder/l/lava_burst.txt @@ -1,7 +1,7 @@ Name:Lava Burst ManaCost:X R Types:Sorcery -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ0 | References$ X | SubAbility$ CreatureDmg | SpellDescription$ CARDNAME deals X damage to any target. If CARDNAME would deal damage to a creature, that damage can't be prevented or dealt instead to another permanent or player. -SVar:CreatureDmg:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | NoPrevention$ True | NoRedirection$ True | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | References$ X | StackDescription$ If CARDNAME would deal damage to a creature, that damage can’t be prevented or dealt instead to another permanent or player. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ0 | SubAbility$ CreatureDmg | SpellDescription$ CARDNAME deals X damage to any target. If CARDNAME would deal damage to a creature, that damage can't be prevented or dealt instead to another permanent or player. +SVar:CreatureDmg:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | NoPrevention$ True | NoRedirection$ True | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | StackDescription$ If CARDNAME would deal damage to a creature, that damage can’t be prevented or dealt instead to another permanent or player. SVar:X:Count$xPaid Oracle:Lava Burst deals X damage to any target. If Lava Burst would deal damage to a creature, that damage can't be prevented or dealt instead to another permanent or player. diff --git a/forge-gui/res/cardsfolder/l/lavaball_trap.txt b/forge-gui/res/cardsfolder/l/lavaball_trap.txt index ae85148cc83..e270beef98a 100644 --- a/forge-gui/res/cardsfolder/l/lavaball_trap.txt +++ b/forge-gui/res/cardsfolder/l/lavaball_trap.txt @@ -1,7 +1,7 @@ Name:Lavaball Trap ManaCost:6 R R Types:Instant Trap -SVar:AltCost:Cost$ 3 R R | CheckSVar$ LandsEntered | SVarCompare$ GE2 | References$ LandsEntered | Description$ If an opponent had two or more lands enter the battlefield under their control this turn, you may pay {3}{R}{R} rather than pay this spell's mana cost. +SVar:AltCost:Cost$ 3 R R | CheckSVar$ LandsEntered | SVarCompare$ GE2 | Description$ If an opponent had two or more lands enter the battlefield under their control this turn, you may pay {3}{R}{R} rather than pay this spell's mana cost. A:SP$ Destroy | Cost$ 6 R R | TargetMin$ 2 | TargetMax$ 2 | ValidTgts$ Land | TgtPrompt$ Select two target lands | SubAbility$ DBDamageAll | SpellDescription$ Destroy two target lands. CARDNAME deals 4 damage to each creature. SVar:DBDamageAll:DB$ DamageAll | ValidCards$ Creature | NumDmg$ 4 | ValidDescription$ each creature. SVar:LandsEntered:PlayerCountOpponents$HighestValid Land.YouCtrl+ThisTurnEntered diff --git a/forge-gui/res/cardsfolder/l/lavaclaw_reaches.txt b/forge-gui/res/cardsfolder/l/lavaclaw_reaches.txt index ca545220a51..7fa56791489 100644 --- a/forge-gui/res/cardsfolder/l/lavaclaw_reaches.txt +++ b/forge-gui/res/cardsfolder/l/lavaclaw_reaches.txt @@ -5,6 +5,6 @@ K:CARDNAME enters the battlefield tapped. A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}. A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R}. A:AB$ Animate | Cost$ 1 B R | Defined$ Self | Power$ 2 | Toughness$ 2 | Types$ Creature,Elemental | Colors$ Black,Red | Abilities$ ABPump | SpellDescription$ Until end of turn, CARDNAME becomes a 2/2 black and red Elemental creature with "{X}: This creature gets +X/+0 until end of turn." It's still a land. -SVar:ABPump:AB$ Pump | Cost$ X | Defined$ Self | NumAtt$ +X | References$ X | SpellDescription$ This creature gets +X/+0 until end of turn. +SVar:ABPump:AB$ Pump | Cost$ X | Defined$ Self | NumAtt$ +X | SpellDescription$ This creature gets +X/+0 until end of turn. SVar:X:Count$xPaid Oracle:Lavaclaw Reaches enters the battlefield tapped.\n{T}: Add {B} or {R}.\n{1}{B}{R}: Until end of turn, Lavaclaw Reaches becomes a 2/2 black and red Elemental creature with "{X}: This creature gets +X/+0 until end of turn." It's still a land. diff --git a/forge-gui/res/cardsfolder/l/lavakin_brawler.txt b/forge-gui/res/cardsfolder/l/lavakin_brawler.txt index 09e3b339071..bbce30c7d1c 100644 --- a/forge-gui/res/cardsfolder/l/lavakin_brawler.txt +++ b/forge-gui/res/cardsfolder/l/lavakin_brawler.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Creature Elemental Warrior PT:2/4 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+0 until end of turn for each Elemental you control. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$Valid Elemental.YouCtrl SVar:HasAttackEffect:TRUE Oracle:Whenever Lavakin Brawler attacks, it gets +1/+0 until end of turn for each Elemental you control. diff --git a/forge-gui/res/cardsfolder/l/lavalanche.txt b/forge-gui/res/cardsfolder/l/lavalanche.txt index 2f6615a53f1..c6ef66d427e 100644 --- a/forge-gui/res/cardsfolder/l/lavalanche.txt +++ b/forge-gui/res/cardsfolder/l/lavalanche.txt @@ -1,8 +1,8 @@ Name:Lavalanche ManaCost:X B R G Types:Sorcery -A:SP$ DealDamage | Cost$ X B R G | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select a player or planeswalker | NumDmg$ X | References$ X | SubAbility$ DmgAll | DamageMap$ True | SpellDescription$ CARDNAME deals X damage to target player or planeswalker and each creature that player or that planeswalker's controller controls. -SVar:DmgAll:DB$ DamageAll | NumDmg$ X | References$ X | ValidCards$ Creature.ControlledBy TargetedOrController | SubAbility$ DBDamageResolve +A:SP$ DealDamage | Cost$ X B R G | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select a player or planeswalker | NumDmg$ X | SubAbility$ DmgAll | DamageMap$ True | SpellDescription$ CARDNAME deals X damage to target player or planeswalker and each creature that player or that planeswalker's controller controls. +SVar:DmgAll:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature.ControlledBy TargetedOrController | SubAbility$ DBDamageResolve SVar:DBDamageResolve:DB$ DamageResolve SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/lavalanche.jpg diff --git a/forge-gui/res/cardsfolder/l/lazav_the_multifarious.txt b/forge-gui/res/cardsfolder/l/lazav_the_multifarious.txt index e93ff77cb44..a5d451b2867 100644 --- a/forge-gui/res/cardsfolder/l/lazav_the_multifarious.txt +++ b/forge-gui/res/cardsfolder/l/lazav_the_multifarious.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Shapeshifter PT:1/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSurveil | TriggerDescription$ When CARDNAME enters the battlefield, surveil 1. (Look at the top card of your library. You may put it into your graveyard.) SVar:TrigSurveil:DB$ Surveil | Amount$ 1 -A:AB$ Clone | Cost$ X | ValidTgts$ Creature.YouOwn+cmcEQX | References$ X | TgtZone$ Graveyard | TgtPrompt$ Select target creature card in your graveyard | AddTypes$ Legendary | NewName$ Lazav, the Multifarious | GainThisAbility$ True | SpellDescription$ CARDNAME becomes a copy of target creature card in your graveyard with converted mana cost X, except its name is CARDNAME, it's legendary in addition to it's other types, and it has this ability. +A:AB$ Clone | Cost$ X | ValidTgts$ Creature.YouOwn+cmcEQX | TgtZone$ Graveyard | TgtPrompt$ Select target creature card in your graveyard | AddTypes$ Legendary | NewName$ Lazav, the Multifarious | GainThisAbility$ True | SpellDescription$ CARDNAME becomes a copy of target creature card in your graveyard with converted mana cost X, except its name is CARDNAME, it's legendary in addition to it's other types, and it has this ability. SVar:X:Count$xPaid DeckHas:Ability$Surveil & Ability$Graveyard Oracle:When Lazav, the Multifarious enters the battlefield, surveil 1. (Look at the top card of your library. You may put it into your graveyard.)\n{X}: Lazav, the Multifarious becomes a copy of target creature card in your graveyard with converted mana cost X, except its name is Lazav, the Multifarious, it's legendary in addition to its other types, and it has this ability. diff --git a/forge-gui/res/cardsfolder/l/leafkin_avenger.txt b/forge-gui/res/cardsfolder/l/leafkin_avenger.txt index fe034aae65f..465a05d21da 100755 --- a/forge-gui/res/cardsfolder/l/leafkin_avenger.txt +++ b/forge-gui/res/cardsfolder/l/leafkin_avenger.txt @@ -2,8 +2,8 @@ Name:Leafkin Avenger ManaCost:2 R G Types:Creature Elemental Druid PT:4/3 -A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | References$ X | SpellDescription$ Add {G} for each Creature you control with power 4 or greater. +A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | SpellDescription$ Add {G} for each Creature you control with power 4 or greater. SVar:X:Count$Valid Creature.YouCtrl+powerGE4 -A:AB$ DealDamage | Cost$ 7 R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ Y | References$ Y | SpellDescription$ CARDNAME deals damage equal to its power to target player or planeswalker. +A:AB$ DealDamage | Cost$ 7 R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ Y | SpellDescription$ CARDNAME deals damage equal to its power to target player or planeswalker. SVar:Y:Count$CardPower Oracle:{T}: Add {G} for each creature with power 4 or greater you control.\n{7}{R}: Leafkin Avenger deals damage equal to its power to target player or planeswalker. diff --git a/forge-gui/res/cardsfolder/l/leafkin_druid.txt b/forge-gui/res/cardsfolder/l/leafkin_druid.txt index d47a922651d..acb5931ed2c 100644 --- a/forge-gui/res/cardsfolder/l/leafkin_druid.txt +++ b/forge-gui/res/cardsfolder/l/leafkin_druid.txt @@ -2,7 +2,7 @@ Name:Leafkin Druid ManaCost:1 G Types:Creature Elemental Druid PT:0/3 -A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | References$ X,Y | SpellDescription$ Add {G}. If you control four or more creatures, add {G}{G} instead. +A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | SpellDescription$ Add {G}. If you control four or more creatures, add {G}{G} instead. SVar:X:Count$Compare Y GE4.2.1 SVar:Y:Count$Valid Creature.YouCtrl Oracle:{T}: Add {G}. If you control four or more creatures, add {G}{G} instead. diff --git a/forge-gui/res/cardsfolder/l/leave_chance.txt b/forge-gui/res/cardsfolder/l/leave_chance.txt index 4d0c0b7da2c..25c7af310a8 100644 --- a/forge-gui/res/cardsfolder/l/leave_chance.txt +++ b/forge-gui/res/cardsfolder/l/leave_chance.txt @@ -2,7 +2,7 @@ Name:Leave ManaCost:1 W AlternateMode: Split Types:Instant -A:SP$ ChangeZone | Cost$ 1 W | ValidTgts$ Permanent.YouOwn | TgtPrompt$ Select target permanent you own | TargetMin$ 0 | TargetMax$ X | Origin$ Battlefield | Destination$ Hand | References$ X | SpellDescription$ Return any number of target permanents you own to your hand. +A:SP$ ChangeZone | Cost$ 1 W | ValidTgts$ Permanent.YouOwn | TgtPrompt$ Select target permanent you own | TargetMin$ 0 | TargetMax$ X | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return any number of target permanents you own to your hand. SVar:X:Count$Valid Permanent.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/leave_chance.jpg Oracle:Return any number of target permanents you own to your hand. @@ -14,7 +14,7 @@ ManaCost:3 R Types:Sorcery K:Aftermath A:SP$ Discard | Cost$ 3 R | AnyNumber$ True | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBDraw | SpellDescription$ Discard any number of cards, then draw that many cards. -SVar:DBDraw:DB$Draw | Defined$ You | NumCards$ Y | References$ Y | SubAbility$ DBCleanup +SVar:DBDraw:DB$Draw | Defined$ You | NumCards$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Remembered$Amount Oracle:Aftermath (Cast this spell only from your graveyard. Then exile it.)\nDiscard any number of cards, then draw that many cards. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/l/ledev_champion.txt b/forge-gui/res/cardsfolder/l/ledev_champion.txt index 913f4a21d8c..e8bf07ff9b4 100644 --- a/forge-gui/res/cardsfolder/l/ledev_champion.txt +++ b/forge-gui/res/cardsfolder/l/ledev_champion.txt @@ -3,10 +3,10 @@ ManaCost:1 G W Types:Creature Elf Knight PT:2/2 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigChoose | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, you may tap any number of untapped creatures you control. CARDNAME gets +1/+1 until end of turn for each creature tapped this way. -SVar:TrigChoose:DB$ ChooseCard | Defined$ You | MinAmount$ 0 | Amount$ X | References$ X | Choices$ Creature.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigTap +SVar:TrigChoose:DB$ ChooseCard | Defined$ You | MinAmount$ 0 | Amount$ X | Choices$ Creature.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigTap SVar:TrigTap:DB$ Tap | Defined$ Remembered | SubAbility$ DBPump -SVar:DBPump:DB$ Pump | NumAtt$ Y | NumDef$ Y | References$ Y | SubAbility$ DBCleanup -SVar:TrigPump:DB$ Pump | NumAtt$ X | References$ X +SVar:DBPump:DB$ Pump | NumAtt$ Y | NumDef$ Y | SubAbility$ DBCleanup +SVar:TrigPump:DB$ Pump | NumAtt$ X SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Creature.YouCtrl SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/l/leeches.txt b/forge-gui/res/cardsfolder/l/leeches.txt index 38131f2c41f..f27fafcf0ec 100644 --- a/forge-gui/res/cardsfolder/l/leeches.txt +++ b/forge-gui/res/cardsfolder/l/leeches.txt @@ -1,7 +1,7 @@ Name:Leeches ManaCost:1 W W Types:Sorcery -A:SP$ DealDamage | Cost$ 1 W W | ValidTgts$ Player | NumDmg$ X | References$ X | SubAbility$ Unpoison | SpellDescription$ Target player loses all poison counters. Leeches deals that much damage to that player. +A:SP$ DealDamage | Cost$ 1 W W | ValidTgts$ Player | NumDmg$ X | SubAbility$ Unpoison | SpellDescription$ Target player loses all poison counters. Leeches deals that much damage to that player. SVar:Unpoison:DB$ Poison | Defined$ ParentTarget | Num$ -X SVar:X:TargetedPlayer$PoisonCounters AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/l/legacys_allure.txt b/forge-gui/res/cardsfolder/l/legacys_allure.txt index 8cdfce240dd..6b754f1e548 100644 --- a/forge-gui/res/cardsfolder/l/legacys_allure.txt +++ b/forge-gui/res/cardsfolder/l/legacys_allure.txt @@ -2,7 +2,7 @@ Name:Legacy's Allure ManaCost:U U Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a treasure counter on CARDNAME. -A:AB$ GainControl | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power less than or equal to the number of treasure counters | References$ X | SpellDescription$ Gain control of target creature with power less than or equal to the number of treasure counters on CARDNAME. (This effect lasts indefinitely.) +A:AB$ GainControl | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power less than or equal to the number of treasure counters | SpellDescription$ Gain control of target creature with power less than or equal to the number of treasure counters on CARDNAME. (This effect lasts indefinitely.) SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ TREASURE | CounterNum$ 1 SVar:X:Count$CardCounters.TREASURE SVar:Picture:http://www.wizards.com/global/images/magic/general/legacys_allure.jpg diff --git a/forge-gui/res/cardsfolder/l/legion_conquistador.txt b/forge-gui/res/cardsfolder/l/legion_conquistador.txt index 00905f8e232..2a75bf79e19 100644 --- a/forge-gui/res/cardsfolder/l/legion_conquistador.txt +++ b/forge-gui/res/cardsfolder/l/legion_conquistador.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Creature Vampire Soldier PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may search your library for any number of cards named Legion Conquistador, reveal them, put them into your hand, then shuffle your library. -SVar:TrigChange:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card.namedLegion Conquistador | ChangeNum$ X | References$ X | ShuffleNonMandatory$ True +SVar:TrigChange:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card.namedLegion Conquistador | ChangeNum$ X | ShuffleNonMandatory$ True SVar:X:Count$InYourLibrary SVar:Picture:http://www.wizards.com/global/images/magic/general/legion_conquistador.jpg Oracle:When Legion Conquistador enters the battlefield, you may search your library for any number of cards named Legion Conquistador, reveal them, put them into your hand, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/l/legions_landing_adanto_the_first_fort.txt b/forge-gui/res/cardsfolder/l/legions_landing_adanto_the_first_fort.txt index 41b9dc263b7..c5e62a248c8 100644 --- a/forge-gui/res/cardsfolder/l/legions_landing_adanto_the_first_fort.txt +++ b/forge-gui/res/cardsfolder/l/legions_landing_adanto_the_first_fort.txt @@ -3,7 +3,7 @@ ManaCost:W Types:Legendary Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a 1/1 white Vampire creature token with lifelink. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | LegacyImage$ w 1 1 vampire lifelink xln | TokenScript$ w_1_1_vampire_lifelink | TokenOwner$ You -T:Mode$ AttackersDeclared | Execute$ DBTransform | CheckSVar$ NumAttackers | SVarCompare$ GE3 | NoResolvingCheck$ True | TriggerZones$ Battlefield | AttackingPlayer$ You | References$ NumAttackers | TriggerDescription$ When you attack with three or more creatures, transform CARDNAME. +T:Mode$ AttackersDeclared | Execute$ DBTransform | CheckSVar$ NumAttackers | SVarCompare$ GE3 | NoResolvingCheck$ True | TriggerZones$ Battlefield | AttackingPlayer$ You | TriggerDescription$ When you attack with three or more creatures, transform CARDNAME. SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform SVar:NumAttackers:Count$Valid Creature.attacking AlternateMode:DoubleFaced diff --git a/forge-gui/res/cardsfolder/l/lena_selfless_champion.txt b/forge-gui/res/cardsfolder/l/lena_selfless_champion.txt index b867453c754..ba9e92534bf 100644 --- a/forge-gui/res/cardsfolder/l/lena_selfless_champion.txt +++ b/forge-gui/res/cardsfolder/l/lena_selfless_champion.txt @@ -2,7 +2,7 @@ Name:Lena, Selfless Champion ManaCost:4 W W Types:Legendary Creature Human Knight T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a 1/1 white Soldier creature token for each nontoken creature you control. -SVar:TrigToken:DB$ Token | TokenOwner$ You | TokenAmount$ X | References$ X | TokenScript$ w_1_1_soldier | LegacyImage$ w 1 1 soldier m19 +SVar:TrigToken:DB$ Token | TokenOwner$ You | TokenAmount$ X | TokenScript$ w_1_1_soldier | LegacyImage$ w 1 1 soldier m19 SVar:X:Count$Valid Creature.nonToken+YouCtrl A:AB$ PumpAll | Cost$ Sac<1/CARDNAME> | ValidCards$ Creature.YouCtrl+powerLTY | KW$ Indestructible | SpellDescription$ Creatures you control with power less than CARDNAME's power gain indestructible until end of turn. SVar:Y:Count$CardPower diff --git a/forge-gui/res/cardsfolder/l/leyline_tyrant.txt b/forge-gui/res/cardsfolder/l/leyline_tyrant.txt index abe0d0f99f2..b6ea1b08fce 100755 --- a/forge-gui/res/cardsfolder/l/leyline_tyrant.txt +++ b/forge-gui/res/cardsfolder/l/leyline_tyrant.txt @@ -6,6 +6,6 @@ K:Flying S:Mode$ Continuous | Affected$ You | AddKeyword$ Red mana doesn't empty from your mana pool as steps and phases end. | Description$ You don't lose unspent red mana as steps and phases end. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChooseX | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, you may pay any amount of {R}. When you do, it deals that much damage to any target. SVar:TrigChooseX:DB$ ChooseNumber | Defined$ You | ChooseAnyNumber$ True | ListTitle$ any amount of red mana | SubAbility$ DBDamage -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to damage with CARDNAME | NumDmg$ X | References$ X | UnlessCost$ X | UnlessXColor$ R | UnlessSwitched$ True | UnlessPayer$ You | References$ X +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to damage with CARDNAME | NumDmg$ X | UnlessCost$ X | UnlessXColor$ R | UnlessSwitched$ True | UnlessPayer$ You SVar:X:Count$ChosenNumber Oracle:Flying\nYou don't lose unspent red mana as steps and phases end.\nWhen Leyline Tyrant dies, you may pay any amount of {R}. When you do, it deals that much damage to any target. diff --git a/forge-gui/res/cardsfolder/l/lhurgoyf.txt b/forge-gui/res/cardsfolder/l/lhurgoyf.txt index 9af56f61e8a..8bd6ea15f60 100644 --- a/forge-gui/res/cardsfolder/l/lhurgoyf.txt +++ b/forge-gui/res/cardsfolder/l/lhurgoyf.txt @@ -2,7 +2,7 @@ Name:Lhurgoyf ManaCost:2 G G Types:Creature Lhurgoyf PT:*/1+* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ Y | References$ X, Y | Description$ CARDNAME's power is equal to the number of creature cards in all graveyards and its toughness is equal to that number plus 1. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ Y | Description$ CARDNAME's power is equal to the number of creature cards in all graveyards and its toughness is equal to that number plus 1. SVar:X:Count$TypeInAllYards.Creature SVar:Y:Count$TypeInAllYards.Creature/Plus.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/lhurgoyf.jpg diff --git a/forge-gui/res/cardsfolder/l/liars_pendulum.txt b/forge-gui/res/cardsfolder/l/liars_pendulum.txt index 6a102dfea25..3f9375bf903 100644 --- a/forge-gui/res/cardsfolder/l/liars_pendulum.txt +++ b/forge-gui/res/cardsfolder/l/liars_pendulum.txt @@ -5,8 +5,8 @@ A:AB$ NameCard | Cost$ 2 T | Defined$ You | SubAbility$ DBGuess | SpellDescripti SVar:DBGuess:DB$ GenericChoice | ValidTgts$ Opponent | Choices$ GuessInHand,GuessNotInHand | AILogic$ Random | ShowChoice$ True SVar:GuessInHand:DB$ RevealHand | Defined$ You | Optional$ True | RememberRevealedPlayer$ True | SubAbility$ DBInHandDraw | SpellDescription$ A card with the chosen name is in that player's hand SVar:GuessNotInHand:DB$ RevealHand | Defined$ You | Optional$ True | RememberRevealedPlayer$ True | SubAbility$ DBNotInHandDraw | SpellDescription$ A card with the chosen name is not in that player's hand -SVar:DBInHandDraw:DB$ Draw | Defined$ You | ConditionPlayerDefined$ Remembered | ConditionPlayerContains$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBCleanup -SVar:DBNotInHandDraw:DB$ Draw | Defined$ You | ConditionPlayerDefined$ Remembered | ConditionPlayerContains$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBCleanup +SVar:DBInHandDraw:DB$ Draw | Defined$ You | ConditionPlayerDefined$ Remembered | ConditionPlayerContains$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup +SVar:DBNotInHandDraw:DB$ Draw | Defined$ You | ConditionPlayerDefined$ Remembered | ConditionPlayerContains$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ValidHand Card.NamedCard AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/l/lich.txt b/forge-gui/res/cardsfolder/l/lich.txt index 3a448609c18..9cda45b155b 100644 --- a/forge-gui/res/cardsfolder/l/lich.txt +++ b/forge-gui/res/cardsfolder/l/lich.txt @@ -3,15 +3,15 @@ ManaCost:B B B B Types:Enchantment R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ MoveToPlay | Description$ As CARDNAME enters the battlefield, you lose life equal to your life total. SVar:MoveToPlay:DB$ ChangeZone | Defined$ ReplacedCard | Origin$ All | Destination$ Battlefield | SubAbility$ TrigLoseLife -SVar:TrigLoseLife:DB$ LoseLife | LifeAmount$ LifeTotal | References$ LifeTotal +SVar:TrigLoseLife:DB$ LoseLife | LifeAmount$ LifeTotal SVar:LifeTotal:Count$YourLifeTotal S:Mode$ Continuous | Affected$ You | AddKeyword$ You don't lose the game for having 0 or less life. | Description$ You don't lose the game for having 0 or less life. R:Event$ GainLife | ActiveZones$ Battlefield | ValidPlayer$ You | AiLogic$ LichDraw | ReplaceWith$ Draw | Description$ If you would gain life, draw that many cards instead. -SVar:Draw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:Draw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:ReplaceCount$LifeGained T:Mode$ DamageDoneOnce | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigLoseOrSac | TriggerDescription$ Whenever you're dealt damage, sacrifice that many nontoken permanents. If you can't, you lose the game. SVar:TrigLoseOrSac:DB$ LosesGame | Defined$ You | ConditionCheckSVar$ PermanentsToSac | ConditionSVarCompare$ GTY | SubAbility$ DBSacrificePerm -SVar:DBSacrificePerm:DB$Sacrifice | Amount$ PermanentsToSac | SacValid$ Permanent.nontoken | References$ PermanentsToSac | ConditionCheckSVar$ PermanentsToSac | ConditionSVarCompare$ LEY +SVar:DBSacrificePerm:DB$Sacrifice | Amount$ PermanentsToSac | SacValid$ Permanent.nontoken | ConditionCheckSVar$ PermanentsToSac | ConditionSVarCompare$ LEY SVar:PermanentsToSac:TriggerCount$DamageAmount SVar:Y:Count$Valid Permanent.nontoken+YouCtrl T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigLose | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, you lose the game. diff --git a/forge-gui/res/cardsfolder/l/lich_lord_of_unx.txt b/forge-gui/res/cardsfolder/l/lich_lord_of_unx.txt index b043796e0ea..73854ccbde3 100644 --- a/forge-gui/res/cardsfolder/l/lich_lord_of_unx.txt +++ b/forge-gui/res/cardsfolder/l/lich_lord_of_unx.txt @@ -3,8 +3,8 @@ ManaCost:1 U B Types:Creature Zombie Wizard PT:2/2 A:AB$ Token | Cost$ U B T | TokenAmount$ 1 | TokenScript$ ub_1_1_zombie_wizard | TokenOwner$ You | SpellDescription$ Create a 1/1 blue and black Zombie Wizard creature token. -A:AB$ Mill | Cost$ U U B B | ValidTgts$ Player | TgtPrompt$ Select a player | NumCards$ X | SubAbility$ DBLoseLife | References$ X | SpellDescription$ Target player loses X life and mills X cards, where X is the number of Zombies you control. -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ Targeted | References$ X +A:AB$ Mill | Cost$ U U B B | ValidTgts$ Player | TgtPrompt$ Select a player | NumCards$ X | SubAbility$ DBLoseLife | SpellDescription$ Target player loses X life and mills X cards, where X is the number of Zombies you control. +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ Targeted SVar:X:Count$Valid Zombie.YouCtrl SVar:NonCombatPriority:1 DeckHints:Type$Zombie diff --git a/forge-gui/res/cardsfolder/l/lichenthrope.txt b/forge-gui/res/cardsfolder/l/lichenthrope.txt index 97635f0127b..1314fe8ab9e 100644 --- a/forge-gui/res/cardsfolder/l/lichenthrope.txt +++ b/forge-gui/res/cardsfolder/l/lichenthrope.txt @@ -3,7 +3,7 @@ ManaCost:3 G G Types:Creature Plant Fungus PT:5/5 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ Counters | Description$ If damage would be dealt to CARDNAME, put that many -1/-1 counters on it instead. -SVar:Counters:DB$ PutCounter | Defined$ Self | CounterType$ M1M1 | CounterNum$ X | References$ X +SVar:Counters:DB$ PutCounter | Defined$ Self | CounterType$ M1M1 | CounterNum$ X SVar:X:ReplaceCount$DamageAmount T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRem | TriggerDescription$ At the beginning of your upkeep, remove a -1/-1 counter from CARDNAME. SVar:TrigRem:DB$ RemoveCounter | Defined$ Self | CounterType$ M1M1 | CounterNum$ 1 diff --git a/forge-gui/res/cardsfolder/l/lichs_mastery.txt b/forge-gui/res/cardsfolder/l/lichs_mastery.txt index d57e2f559c5..5722cd10759 100644 --- a/forge-gui/res/cardsfolder/l/lichs_mastery.txt +++ b/forge-gui/res/cardsfolder/l/lichs_mastery.txt @@ -4,10 +4,10 @@ Types:Legendary Enchantment K:Hexproof S:Mode$ Continuous | Affected$ You | AddKeyword$ You can't lose the game. | Description$ You can't lose the game. T:Mode$ LifeGained | ValidPlayer$ You | TriggerZones$ Battlefield |Execute$ TrigDraw | TriggerDescription$ Whenever you gain life, draw that many cards. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:TriggerCount$LifeAmount T:Mode$ LifeLost | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigExile | TriggerDescription$ Whenever you lose life, for each 1 life you lost, exile a permanent you control or a card from your hand or graveyard. -SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield,Hand,Graveyard | Destination$ Exile | ChangeType$ Card.YouCtrl | ChangeNum$ X | References$ X | Mandatory$ True +SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield,Hand,Graveyard | Destination$ Exile | ChangeType$ Card.YouCtrl | ChangeNum$ X | Mandatory$ True T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigLose | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, you lose the game. SVar:TrigLose:DB$ LosesGame | Defined$ You SVar:Picture:http://www.wizards.com/global/images/magic/general/lichs_mastery.jpg diff --git a/forge-gui/res/cardsfolder/l/lichs_tomb.txt b/forge-gui/res/cardsfolder/l/lichs_tomb.txt index 999f1d4e40b..9cb0b137db7 100644 --- a/forge-gui/res/cardsfolder/l/lichs_tomb.txt +++ b/forge-gui/res/cardsfolder/l/lichs_tomb.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact S:Mode$ Continuous | Affected$ You | AddKeyword$ You don't lose the game for having 0 or less life. | Description$ You don't lose the game for having 0 or less life. T:Mode$ LifeLost | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ Whenever you lose life, sacrifice a permanent for each 1 life you lost. (Damage causes loss of life.) -SVar:TrigSac:DB$Sacrifice | Amount$ X | SacValid$ Permanent | References$ X +SVar:TrigSac:DB$Sacrifice | Amount$ X | SacValid$ Permanent SVar:X:TriggerCount$LifeAmount AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/lichs_tomb.jpg diff --git a/forge-gui/res/cardsfolder/l/licia_sanguine_tribune.txt b/forge-gui/res/cardsfolder/l/licia_sanguine_tribune.txt index 815bc4bb292..b245e553b7d 100644 --- a/forge-gui/res/cardsfolder/l/licia_sanguine_tribune.txt +++ b/forge-gui/res/cardsfolder/l/licia_sanguine_tribune.txt @@ -2,7 +2,7 @@ Name:Licia, Sanguine Tribune ManaCost:5 R W B Types:Legendary Creature Vampire Soldier PT:4/4 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each life you gained this turn. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each life you gained this turn. K:First Strike K:Lifelink A:AB$ PutCounter | Cost$ PayLife<5> | CounterType$ P1P1 | CounterNum$ 3 | PlayerTurn$ True | ActivationLimit$ 1 | SpellDescription$ Put 3 +1/+1 counters on CARDNAME. Activate this ability only during your turn, and only once each turn. diff --git a/forge-gui/res/cardsfolder/l/liege_of_the_hollows.txt b/forge-gui/res/cardsfolder/l/liege_of_the_hollows.txt index b92f0fd5915..e4b0f4582d6 100644 --- a/forge-gui/res/cardsfolder/l/liege_of_the_hollows.txt +++ b/forge-gui/res/cardsfolder/l/liege_of_the_hollows.txt @@ -6,7 +6,7 @@ T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ SVar:RepeatPayment:DB$ RepeatEach | RepeatPlayers$ Player | StartingWithActivator$ True | RepeatSubAbility$ DBPay | StackDescription$ When CARDNAME dies, each player may pay any amount of mana. Then each player creates a number of 1/1 green Squirrel creature tokens equal to the amount of mana they paid this way. SVar:DBPay:DB$ ChooseNumber | Defined$ Player.IsRemembered | ChooseAnyNumber$ True | ListTitle$ Pay Any Mana | AILogic$ MaxForAnyController | SubAbility$ DBToken # TODO: ideally the tokens should be created simultaneously after all the players have finished paying mana, but that's difficult to implement. -SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_squirrel | TokenOwner$ Player.IsRemembered | LegacyImage$ g 1 1 squirrel wth | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | References$ X +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_squirrel | TokenOwner$ Player.IsRemembered | LegacyImage$ g 1 1 squirrel wth | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True SVar:X:Count$ChosenNumber SVar:Picture:http://www.wizards.com/global/images/magic/general/liege_of_the_hollows.jpg Oracle:When Liege of the Hollows dies, each player may pay any amount of mana. Then each player creates a number of 1/1 green Squirrel creature tokens equal to the amount of mana they paid this way. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/l/liege_of_the_pit.txt b/forge-gui/res/cardsfolder/l/liege_of_the_pit.txt index 0766eb28a4f..549d9571152 100644 --- a/forge-gui/res/cardsfolder/l/liege_of_the_pit.txt +++ b/forge-gui/res/cardsfolder/l/liege_of_the_pit.txt @@ -7,7 +7,7 @@ K:Trample K:Morph:B B B B T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, sacrifice a creature other than CARDNAME. If you can't, CARDNAME deals 7 damage to you. SVar:TrigSac:DB$Sacrifice | Defined$ You | SacValid$ Creature.Other | SubAbility$ DBDamage | RememberSacrificed$ True -SVar:DBDamage:DB$ DealDamage | Defined$ You | NumDmg$ 7 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ You | NumDmg$ 7 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/l/liege_of_the_tangle.txt b/forge-gui/res/cardsfolder/l/liege_of_the_tangle.txt index cc749a543d1..c15c160acc9 100644 --- a/forge-gui/res/cardsfolder/l/liege_of_the_tangle.txt +++ b/forge-gui/res/cardsfolder/l/liege_of_the_tangle.txt @@ -4,7 +4,7 @@ Types:Creature Elemental PT:8/8 K:Trample T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may choose any number of target lands you control and put an awakening counter on each of them. Each of those lands is an 8/8 green Elemental creature for as long as it has an awakening counter on it. They're still lands. -SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Land.YouCtrl | OptionalDecider$ You | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Select lands you control | CounterType$ AWAKENING | CounterNum$ 1 | SubAbility$ DBEffect | References$ X +SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Land.YouCtrl | OptionalDecider$ You | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Select lands you control | CounterType$ AWAKENING | CounterNum$ 1 | SubAbility$ DBEffect SVar:X:Count$Valid Land.YouCtrl SVar:DBEffect:DB$ Effect | RememberObjects$ Targeted | StaticAbilities$ TangleStatic | ForgetOnMoved$ Battlefield | ForgetCounter$ AWAKENING | Duration$ Permanent SVar:TangleStatic:Mode$ Continuous | EffectZone$ Command | Affected$ Card.IsRemembered | SetPower$ 8 | SetToughness$ 8 | AddType$ Creature & Elemental | RemoveCreatureTypes$ True | SetColor$ Green | Description$ Each of those lands is an 8/8 green Elemental creature for as long as it has an awakening counter on it. They're still lands. diff --git a/forge-gui/res/cardsfolder/l/liesa_shroud_of_dusk.txt b/forge-gui/res/cardsfolder/l/liesa_shroud_of_dusk.txt index 14db57777f7..9742574aa35 100755 --- a/forge-gui/res/cardsfolder/l/liesa_shroud_of_dusk.txt +++ b/forge-gui/res/cardsfolder/l/liesa_shroud_of_dusk.txt @@ -2,8 +2,8 @@ Name:Liesa, Shroud of Dusk ManaCost:2 W W B Types:Legendary Creature Angel PT:5/5 -S:Mode$ ReduceCost | ValidCard$ Card.Self+wasCastFromCommand | Type$ Spell | Amount$ X | References$ X | EffectZone$ Stack | Description$ Rather than pay {2} for each previous time you've cast this spell from the command zone this game, pay 2 life that many times. -S:Mode$ RaiseCost | ValidCard$ Card.Self+wasCastFromCommand | Type$ Spell | Cost$ PayLife | References$ X | EffectZone$ Stack | Secondary$ True +S:Mode$ ReduceCost | ValidCard$ Card.Self+wasCastFromCommand | Type$ Spell | Amount$ X | EffectZone$ Stack | Description$ Rather than pay {2} for each previous time you've cast this spell from the command zone this game, pay 2 life that many times. +S:Mode$ RaiseCost | ValidCard$ Card.Self+wasCastFromCommand | Type$ Spell | Cost$ PayLife | EffectZone$ Stack | Secondary$ True SVar:X:Count$CommanderCastFromCommandZone/Times.2 K:Flying K:Lifelink diff --git a/forge-gui/res/cardsfolder/l/life_burst.txt b/forge-gui/res/cardsfolder/l/life_burst.txt index 48c85d4beef..fbcfc7171bd 100644 --- a/forge-gui/res/cardsfolder/l/life_burst.txt +++ b/forge-gui/res/cardsfolder/l/life_burst.txt @@ -2,7 +2,7 @@ Name:Life Burst ManaCost:1 W Types:Instant A:SP$ GainLife | Cost$ 1 W | LifeAmount$ 4 | ValidTgts$ Player | TgtPrompt$ Select target player | SubAbility$ DBGainLife | SpellDescription$ Target player gains 4 life, then gains 4 life for each card named CARDNAME in each graveyard. -SVar:DBGainLife:DB$GainLife | Defined$ Targeted | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ Targeted | LifeAmount$ X SVar:X:Count$NamedInAllYards.Life Burst/Times.4 DeckHints:Name$Life Burst SVar:Picture:http://resources.wizards.com/magic/cards/od/en-us/card29704.jpg diff --git a/forge-gui/res/cardsfolder/l/life_chisel.txt b/forge-gui/res/cardsfolder/l/life_chisel.txt index c170081a58d..99fa415c1e9 100644 --- a/forge-gui/res/cardsfolder/l/life_chisel.txt +++ b/forge-gui/res/cardsfolder/l/life_chisel.txt @@ -1,7 +1,7 @@ Name:Life Chisel ManaCost:4 Types:Artifact -A:AB$ GainLife | Cost$ Sac<1/Creature> | LifeAmount$ X | PlayerTurn$ True | ActivationPhases$ Upkeep | References$ X | SpellDescription$ You gain life equal to the sacrificed creature's toughness. Activate this ability only during your upkeep. +A:AB$ GainLife | Cost$ Sac<1/Creature> | LifeAmount$ X | PlayerTurn$ True | ActivationPhases$ Upkeep | SpellDescription$ You gain life equal to the sacrificed creature's toughness. Activate this ability only during your upkeep. SVar:X:Sacrificed$CardToughness AI:RemoveDeck:All SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/l/life_death.txt b/forge-gui/res/cardsfolder/l/life_death.txt index a09ea4043b4..8c13ce975d8 100644 --- a/forge-gui/res/cardsfolder/l/life_death.txt +++ b/forge-gui/res/cardsfolder/l/life_death.txt @@ -12,6 +12,6 @@ Name:Death ManaCost:1 B Types:Sorcery A:SP$ ChangeZone | Cost$ 1 B | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouOwn | TgtPrompt$ Choose target creature card in your graveyard | GainControl$ True | SubAbility$ DBLoseLifeYou | SpellDescription$ Return target creature card from your graveyard to the battlefield. You lose life equal to its converted mana cost. -SVar:DBLoseLifeYou:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBLoseLifeYou:DB$ LoseLife | Defined$ You | LifeAmount$ X SVar:X:Targeted$CardManaCost Oracle:Return target creature card from your graveyard to the battlefield. You lose life equal to its converted mana cost. diff --git a/forge-gui/res/cardsfolder/l/life_goes_on.txt b/forge-gui/res/cardsfolder/l/life_goes_on.txt index c4992781f71..097ac5bb417 100644 --- a/forge-gui/res/cardsfolder/l/life_goes_on.txt +++ b/forge-gui/res/cardsfolder/l/life_goes_on.txt @@ -1,7 +1,7 @@ Name:Life Goes On ManaCost:G Types:Instant -A:SP$ GainLife | Cost$ G | LifeAmount$ X | References$ X | SpellDescription$ You gain 4 life. If a creature died this turn, you gain 8 life instead. +A:SP$ GainLife | Cost$ G | LifeAmount$ X | SpellDescription$ You gain 4 life. If a creature died this turn, you gain 8 life instead. SVar:X:Count$Morbid.8.4 DeckHas:Ability$LifeGain SVar:Picture:http://www.wizards.com/global/images/magic/general/life_goes_on.jpg diff --git a/forge-gui/res/cardsfolder/l/lifeblood_hydra.txt b/forge-gui/res/cardsfolder/l/lifeblood_hydra.txt index b17ff4ed752..0fb5c0ca838 100644 --- a/forge-gui/res/cardsfolder/l/lifeblood_hydra.txt +++ b/forge-gui/res/cardsfolder/l/lifeblood_hydra.txt @@ -6,8 +6,8 @@ K:Trample K:etbCounter:P1P1:X SVar:X:Count$xPaid T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigSac | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, you gain life and draw cards equal to its power. -SVar:TrigSac:DB$GainLife | Defined$ TriggeredCardController | LifeAmount$ XPower | References$ XPower | SubAbility$ DBDrawCards -SVar:DBDrawCards:DB$Draw | NumCards$ XPower | References$ XPower +SVar:TrigSac:DB$GainLife | Defined$ TriggeredCardController | LifeAmount$ XPower | SubAbility$ DBDrawCards +SVar:DBDrawCards:DB$Draw | NumCards$ XPower SVar:XPower:TriggeredCard$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/lifeblood_hydra.jpg Oracle:Trample\nLifeblood Hydra enters the battlefield with X +1/+1 counters on it.\nWhen Lifeblood Hydra dies, you gain life and draw cards equal to its power. diff --git a/forge-gui/res/cardsfolder/l/lifecraft_awakening.txt b/forge-gui/res/cardsfolder/l/lifecraft_awakening.txt index 5e14ba071bf..e7313e39353 100644 --- a/forge-gui/res/cardsfolder/l/lifecraft_awakening.txt +++ b/forge-gui/res/cardsfolder/l/lifecraft_awakening.txt @@ -1,7 +1,7 @@ Name:Lifecraft Awakening ManaCost:X G Types:Instant -A:SP$ PutCounter | Cost$ X G | ValidTgts$ Artifact.YouCtrl | TgtPrompt$ Select target artifact you control | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBAnimate | SpellDescription$ Put X +1/+1 counters on target artifact you control. If it isn't a creature or Vehicle, it becomes a 0/0 Construct artifact creature. +A:SP$ PutCounter | Cost$ X G | ValidTgts$ Artifact.YouCtrl | TgtPrompt$ Select target artifact you control | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBAnimate | SpellDescription$ Put X +1/+1 counters on target artifact you control. If it isn't a creature or Vehicle, it becomes a 0/0 Construct artifact creature. SVar:DBAnimate:DB$ Animate | Defined$ Targeted.nonCreature+nonVehicle | Power$ 0 | Toughness$ 0 | Types$ Artifact,Creature,Construct | Permanent$ True SVar:X:Count$xPaid AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/l/lifes_legacy.txt b/forge-gui/res/cardsfolder/l/lifes_legacy.txt index 334d555d702..12deaf7f16a 100644 --- a/forge-gui/res/cardsfolder/l/lifes_legacy.txt +++ b/forge-gui/res/cardsfolder/l/lifes_legacy.txt @@ -1,7 +1,7 @@ Name:Life's Legacy ManaCost:1 G Types:Sorcery -A:SP$ Draw | Cost$ 1 G Sac<1/Creature> | NumCards$ XPower | References$ XPower | SpellDescription$ Draw cards equal to the sacrificed creature's power. +A:SP$ Draw | Cost$ 1 G Sac<1/Creature> | NumCards$ XPower | SpellDescription$ Draw cards equal to the sacrificed creature's power. SVar:XPower:Sacrificed$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/lifes_legacy.jpg diff --git a/forge-gui/res/cardsfolder/l/light_of_promise.txt b/forge-gui/res/cardsfolder/l/light_of_promise.txt index 60488e861a8..bb840f68c7a 100644 --- a/forge-gui/res/cardsfolder/l/light_of_promise.txt +++ b/forge-gui/res/cardsfolder/l/light_of_promise.txt @@ -5,7 +5,7 @@ K:Enchant creature A:SP$ Attach | Cost$ 2 W | ValidTgts$ Creature S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddTrigger$ LightOfPromiseTrig | AddSVar$ LightOfPromisePutCounter & LightOfPromiseAmount | Description$ Enchanted creature has "Whenever you gain life, put that many +1/+1 counters on this creature." SVar:LightOfPromiseTrig:Mode$ LifeGained | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ LightOfPromisePutCounter | TriggerDescription$ Whenever you gain life, put that many +1/+1 counters on this creature. -SVar:LightOfPromisePutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ LightOfPromiseAmount | References$ LightOfPromiseAmount +SVar:LightOfPromisePutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ LightOfPromiseAmount SVar:LightOfPromiseAmount:TriggerCount$LifeAmount DeckNeeds:Ability$LifeGain DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/l/lightkeeper_of_emeria.txt b/forge-gui/res/cardsfolder/l/lightkeeper_of_emeria.txt index 9c5217a74c5..3175260ba6d 100644 --- a/forge-gui/res/cardsfolder/l/lightkeeper_of_emeria.txt +++ b/forge-gui/res/cardsfolder/l/lightkeeper_of_emeria.txt @@ -5,7 +5,7 @@ PT:2/4 K:Flying K:Multikicker:W T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 2 life for each time it was kicked. -SVar:TrigGainLife:DB$GainLife | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | LifeAmount$ X SVar:X:Count$TimesKicked/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/lightkeeper_of_emeria.jpg Oracle:Multikicker {W} (You may pay an additional {W} any number of times as you cast this spell.)\nFlying\nWhen Lightkeeper of Emeria enters the battlefield, you gain 2 life for each time it was kicked. diff --git a/forge-gui/res/cardsfolder/l/lightmine_field.txt b/forge-gui/res/cardsfolder/l/lightmine_field.txt index 87efadf6cff..6fea6f23c0b 100644 --- a/forge-gui/res/cardsfolder/l/lightmine_field.txt +++ b/forge-gui/res/cardsfolder/l/lightmine_field.txt @@ -2,7 +2,7 @@ Name:Lightmine Field ManaCost:2 W W Types:Enchantment T:Mode$ AttackersDeclared | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ Whenever one or more creatures attack, CARDNAME deals damage to each of those creatures equal to the number of attacking creatures. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredAttackers | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredAttackers | NumDmg$ X SVar:X:Count$Valid Creature.attacking SVar:Picture:http://www.wizards.com/global/images/magic/general/lightmine_field.jpg Oracle:Whenever one or more creatures attack, Lightmine Field deals damage to each of those creatures equal to the number of attacking creatures. diff --git a/forge-gui/res/cardsfolder/l/lightning_coils.txt b/forge-gui/res/cardsfolder/l/lightning_coils.txt index 056fe7e3832..825e4988719 100644 --- a/forge-gui/res/cardsfolder/l/lightning_coils.txt +++ b/forge-gui/res/cardsfolder/l/lightning_coils.txt @@ -5,7 +5,7 @@ T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1 | ConditionPresent$ Card.StrictlySelf T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+counters_GE5_CHARGE | Execute$ DBRemoveCounter | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, if CARDNAME has five or more charge counters on it, remove all of them from it and create that many 3/1 red Elemental creature tokens with haste. Exile them at the beginning of the next end step. SVar:DBRemoveCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ All | RememberRemoved$ True | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ r_3_1_elemental_haste | LegacyImage$ r 3 1 elemental haste mrd | AtEOT$ Exile | References$ X | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ r_3_1_elemental_haste | LegacyImage$ r 3 1 elemental haste mrd | AtEOT$ Exile | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedSize DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/l/lightning_dart.txt b/forge-gui/res/cardsfolder/l/lightning_dart.txt index e0485a315b1..41cbf27de32 100644 --- a/forge-gui/res/cardsfolder/l/lightning_dart.txt +++ b/forge-gui/res/cardsfolder/l/lightning_dart.txt @@ -2,8 +2,8 @@ Name:Lightning Dart ManaCost:1 R Types:Instant A:SP$ Pump | Cost$ 1 R | ValidTgts$ Creature | IsCurse$ True | RememberObjects$ Targeted | SubAbility$ DBDmg | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals 1 damage to target creature. If that creature is white or blue, CARDNAME deals 4 damage to it instead. -SVar:DBDmg:DB$ DealDamage | Defined$ Remembered | NumDmg$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBDmgWU | StackDescription$ None -SVar:DBDmgWU:DB$ DealDamage | Defined$ Remembered | NumDmg$ 4 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | StackDescription$ None | SubAbility$ DBCleanup +SVar:DBDmg:DB$ DealDamage | Defined$ Remembered | NumDmg$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBDmgWU | StackDescription$ None +SVar:DBDmgWU:DB$ DealDamage | Defined$ Remembered | NumDmg$ 4 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | StackDescription$ None | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Creature.IsRemembered+White,Creature.IsRemembered+Blue AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/l/lightning_reaver.txt b/forge-gui/res/cardsfolder/l/lightning_reaver.txt index 8d8bbf95ea7..fad446f02d1 100644 --- a/forge-gui/res/cardsfolder/l/lightning_reaver.txt +++ b/forge-gui/res/cardsfolder/l/lightning_reaver.txt @@ -7,7 +7,7 @@ K:Fear T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounter | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, put a charge counter on it. T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ At the beginning of your end step, CARDNAME deals damage equal to the number of charge counters on it to each opponent. SVar:TrigPutCounter:DB$ PutCounter | CounterType$ CHARGE | CounterNum$ 1 -SVar:TrigDealDamage:DB$ DealDamage | Defined$ Player.Opponent | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$ DealDamage | Defined$ Player.Opponent | NumDmg$ X SVar:X:Count$CardCounters.CHARGE SVar:Picture:http://www.wizards.com/global/images/magic/general/lightning_reaver.jpg Oracle:Haste; fear (This creature can't be blocked except by artifact creatures and/or black creatures.)\nWhenever Lightning Reaver deals combat damage to a player, put a charge counter on it.\nAt the beginning of your end step, Lightning Reaver deals damage equal to the number of charge counters on it to each opponent. diff --git a/forge-gui/res/cardsfolder/l/lightning_storm.txt b/forge-gui/res/cardsfolder/l/lightning_storm.txt index b551ecb7518..a450d89db2e 100644 --- a/forge-gui/res/cardsfolder/l/lightning_storm.txt +++ b/forge-gui/res/cardsfolder/l/lightning_storm.txt @@ -1,7 +1,7 @@ Name:Lightning Storm ManaCost:1 R R Types:Instant -A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target, where X is 3 plus the number of charge counters on CARDNAME. +A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target, where X is 3 plus the number of charge counters on CARDNAME. SVar:X:Count$CardCounters.CHARGE/Plus.3 A:AB$ PutCounter | Cost$ Discard<1/Land> | CounterType$ CHARGE | CounterNum$ 2 | Defined$ Self | ActivationZone$ Stack | SubAbility$ DBChangeTarget | Activator$ Player | SpellDescription$ Put two charge counters on CARDNAME. You may choose a new target for it. Any player may activate this ability but only if CARDNAME is on the stack. SVar:DBChangeTarget:DB$ ChangeTargets | Defined$ SourceFirstSpell | Optional$ True diff --git a/forge-gui/res/cardsfolder/l/lightning_surge.txt b/forge-gui/res/cardsfolder/l/lightning_surge.txt index d4f589f925a..164e8cbdcad 100644 --- a/forge-gui/res/cardsfolder/l/lightning_surge.txt +++ b/forge-gui/res/cardsfolder/l/lightning_surge.txt @@ -2,8 +2,8 @@ Name:Lightning Surge ManaCost:3 R R Types:Sorcery K:Flashback:5 R R -A:SP$ DealDamage | Cost$ 3 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 4 | SubAbility$ DBDamage | ConditionCheckSVar$ X | ConditionSVarCompare$ LT7 | References$ X | SpellDescription$ CARDNAME deals 4 damage to any target. -SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ 6 | NoPrevention$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE7 | References$ X | SpellDescription$ Threshold — If seven or more cards are in your graveyard, instead CARDNAME deals 6 damage to that permanent or player and the damage can't be prevented. +A:SP$ DealDamage | Cost$ 3 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 4 | SubAbility$ DBDamage | ConditionCheckSVar$ X | ConditionSVarCompare$ LT7 | SpellDescription$ CARDNAME deals 4 damage to any target. +SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ 6 | NoPrevention$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE7 | SpellDescription$ Threshold — If seven or more cards are in your graveyard, instead CARDNAME deals 6 damage to that permanent or player and the damage can't be prevented. SVar:X:Count$InYourYard SVar:Picture:http://www.wizards.com/global/images/magic/general/lightning_surge.jpg Oracle:Lightning Surge deals 4 damage to any target.\nThreshold — If seven or more cards are in your graveyard, instead Lightning Surge deals 6 damage to that permanent or player and the damage can't be prevented.\nFlashback {5}{R}{R} (You may cast this card from your graveyard for its flashback cost. Then exile it.) diff --git a/forge-gui/res/cardsfolder/l/liliana_death_mage.txt b/forge-gui/res/cardsfolder/l/liliana_death_mage.txt index 6aa15682fc9..c46dd4be68f 100644 --- a/forge-gui/res/cardsfolder/l/liliana_death_mage.txt +++ b/forge-gui/res/cardsfolder/l/liliana_death_mage.txt @@ -5,7 +5,7 @@ Loyalty:4 A:AB$ ChangeZone | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Select target creature card in your graveyard | ValidTgts$ Creature.YouOwn | TargetMin$ 0 | TargetMax$ 1 | SpellDescription$ Return up to one target creature card from your graveyard to your hand. A:AB$ Destroy | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBLoseLife | SpellDescription$ Destroy target creature. Its controller loses 2 life. SVar:DBLoseLife:DB$ LoseLife | Defined$ TargetedController | LifeAmount$ 2 -A:AB$ LoseLife | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Opponent | LifeAmount$ X | References$ X | SpellDescription$ Target opponent loses 2 life for each creature card in their graveyard. +A:AB$ LoseLife | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Opponent | LifeAmount$ X | SpellDescription$ Target opponent loses 2 life for each creature card in their graveyard. SVar:X:TargetedPlayer$ValidGraveyard Creature.YouOwn/Times.2 DeckHints:Ability$Graveyard Oracle:[+1]: Return up to one target creature card from your graveyard to your hand.\n[−3]: Destroy target creature. Its controller loses 2 life.\n[−7]: Target opponent loses 2 life for each creature card in their graveyard. diff --git a/forge-gui/res/cardsfolder/l/liliana_heretical_healer_liliana_defiant_necromancer.txt b/forge-gui/res/cardsfolder/l/liliana_heretical_healer_liliana_defiant_necromancer.txt index eccfd81feda..3e10b365d58 100644 --- a/forge-gui/res/cardsfolder/l/liliana_heretical_healer_liliana_defiant_necromancer.txt +++ b/forge-gui/res/cardsfolder/l/liliana_heretical_healer_liliana_defiant_necromancer.txt @@ -19,7 +19,7 @@ Colors:black Types:Legendary Planeswalker Liliana Loyalty:3 A:AB$ Discard | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | Defined$ Player | NumCards$ 1 | Mode$ TgtChoose | SpellDescription$ Each player discards a card. -A:AB$ ChangeZone | Cost$ SubCounter | Planeswalker$ True | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature in your graveyard | ValidTgts$ Creature.YouOwn+nonLegendary+cmcEQX | References$ X | SpellDescription$ Return target nonlegendary creature card with converted mana cost X from your graveyard to the battlefield. +A:AB$ ChangeZone | Cost$ SubCounter | Planeswalker$ True | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature in your graveyard | ValidTgts$ Creature.YouOwn+nonLegendary+cmcEQX | SpellDescription$ Return target nonlegendary creature card with converted mana cost X from your graveyard to the battlefield. A:AB$ Effect | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Liliana, Defiant Necromancer | Image$ emblem_liliana_defiant_necromancer | Stackable$ False | Triggers$ TrigChangesZone | SVars$ DelTrigReturn,DBReturn | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "Whenever a creature dies, return it to the battlefield under your control at the beginning of the next end step." SVar:TrigChangesZone:Mode$ ChangesZone | ValidCard$ Creature | Origin$ Battlefield | Destination$ Graveyard | Execute$ DelTrigReturn | TriggerZones$ Command | TriggerDescription$ Whenever a creature dies, return it to the battlefield under your control at the beginning of the next end step. SVar:DelTrigReturn:DB$ DelayedTrigger | Mode$ Phase | Phase$ End Of Turn | Execute$ DBReturn | RememberObjects$ TriggeredNewCardLKICopy | TriggerDescription$ Return that card to the battlefield at the beginning of the next end step. diff --git a/forge-gui/res/cardsfolder/l/liliana_of_the_dark_realms.txt b/forge-gui/res/cardsfolder/l/liliana_of_the_dark_realms.txt index 5d713bb49da..7cc1249a336 100644 --- a/forge-gui/res/cardsfolder/l/liliana_of_the_dark_realms.txt +++ b/forge-gui/res/cardsfolder/l/liliana_of_the_dark_realms.txt @@ -7,8 +7,8 @@ A:AB$ Pump | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Creat A:AB$ Effect | Cost$ SubCounter<6/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Liliana Of The Dark Realms | Image$ emblem_liliana_of_the_dark_realms | StaticAbilities$ SwampBoost | SVars$ BlackTap | Stackable$ False | Duration$ Permanent | SpellDescription$ You get an emblem with "Swamps you control have '{T}: Add {B}{B}{B}{B}.'". SVar:X:Count$Valid Swamp.YouCtrl SVar:ABChoice:DB$ GenericChoice | Defined$ You | Choices$ ABPump1,ABPump2 -SVar:ABPump1:DB$ Pump | Defined$ Targeted | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ +X/+X -SVar:ABPump2:DB$ Pump | Defined$ Targeted | NumAtt$ -X | NumDef$ -X | References$ X | SpellDescription$ -X/-X +SVar:ABPump1:DB$ Pump | Defined$ Targeted | NumAtt$ +X | NumDef$ +X | SpellDescription$ +X/+X +SVar:ABPump2:DB$ Pump | Defined$ Targeted | NumAtt$ -X | NumDef$ -X | SpellDescription$ -X/-X SVar:SwampBoost:Mode$ Continuous | EffectZone$ Command | Affected$ Swamp.YouCtrl | AffectedZone$ Battlefield | AddAbility$ BlackTap | Description$ Swamps you control have '{T}: Add {B}{B}{B}{B}.' SVar:BlackTap:AB$ Mana | Cost$ T | Produced$ B | Amount$ 4 | SpellDescription$ Add {B}{B}{B}{B}. SVar:Picture:http://www.wizards.com/global/images/magic/general/liliana_of_the_dark_realms.jpg diff --git a/forge-gui/res/cardsfolder/l/liliana_the_last_hope.txt b/forge-gui/res/cardsfolder/l/liliana_the_last_hope.txt index 190dd3fa067..dc5b86895c5 100644 --- a/forge-gui/res/cardsfolder/l/liliana_the_last_hope.txt +++ b/forge-gui/res/cardsfolder/l/liliana_the_last_hope.txt @@ -9,7 +9,7 @@ SVar:DBChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Defin SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True A:AB$ Effect | Cost$ SubCounter<7/LOYALTY> | Name$ Emblem - Liliana, the Last Hope | Image$ emblem_liliana_the_last_hope | Triggers$ TrigToken | SVars$ DBToken,X | Planeswalker$ True | Ultimate$ True | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "At the beginning of your end step, create X 2/2 black Zombie creature tokens, where X is two plus the number of Zombies you control." SVar:TrigToken:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Command | Execute$ DBToken | TriggerDescription$ At the beginning of your end step, create X 2/2 black Zombie creature tokens, where X is two plus the number of Zombies you control. -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ b_2_2_zombie | TokenOwner$ You +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenOwner$ You SVar:X:Count$Valid Card.Zombie+YouCtrl/Plus.2 SVar:PlayMain1:TRUE DeckHas:Ability$Token & Ability$Graveyard diff --git a/forge-gui/res/cardsfolder/l/liliana_untouched_by_death.txt b/forge-gui/res/cardsfolder/l/liliana_untouched_by_death.txt index ed207da6360..c2f5e02c7da 100644 --- a/forge-gui/res/cardsfolder/l/liliana_untouched_by_death.txt +++ b/forge-gui/res/cardsfolder/l/liliana_untouched_by_death.txt @@ -6,7 +6,7 @@ A:AB$ Mill | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | NumCards$ 3 | De SVar:DBLifeDrain:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 2 | ConditionDefined$ Remembered | ConditionPresent$ Zombie | ConditionCompare$ GE1 | SubAbility$ DBGainLife SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 | ConditionDefined$ Remembered | ConditionPresent$ Zombie | ConditionCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -A:AB$ Pump | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | IsCurse$ True | NumAtt$ -X | NumDef$ -X | References$ X | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of Zombies you control. +A:AB$ Pump | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | IsCurse$ True | NumAtt$ -X | NumDef$ -X | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of Zombies you control. SVar:X:Count$Valid Zombie.YouCtrl A:AB$ Effect | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | Ultimate$ True | Stackable$ False | StaticAbilities$ ZombieCast | SpellDescription$ Until end of turn you may cast Zombie cards from your graveyard. SVar:ZombieCast:Mode$ Continuous | Affected$ Zombie.YouCtrl | MayPlay$ True | EffectZone$ Command | AffectedZone$ Graveyard | Description$ You may cast Zombie spells from your graveyard this turn. diff --git a/forge-gui/res/cardsfolder/l/liliana_waker_of_the_dead.txt b/forge-gui/res/cardsfolder/l/liliana_waker_of_the_dead.txt index f96f8e644d7..7c9c77a7c36 100644 --- a/forge-gui/res/cardsfolder/l/liliana_waker_of_the_dead.txt +++ b/forge-gui/res/cardsfolder/l/liliana_waker_of_the_dead.txt @@ -4,10 +4,10 @@ Types:Legendary Planeswalker Liliana Loyalty:4 A:AB$ Discard | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | Defined$ Player | NumCards$ 1 | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBRepeatEach | StackDescription$ SpellDescription | SpellDescription$ Each player discards a card. Each opponent who can't loses 3 life. SVar:DBRepeatEach:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBLoseLife | SubAbility$ DBCleanup -SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ 3 | References$ Y | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ0 +SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ 3 | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ0 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Remembered$Valid Card.RememberedPlayerCtrl -A:AB$ Pump | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of cards in your graveyard. +A:AB$ Pump | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of cards in your graveyard. SVar:X:Count$InYourYard A:AB$ Effect | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Liliana, Waker of the Dead | Image$ emblem_liliana_waker_of_the_dead | Triggers$ EffPhase | SVars$ EmblemTrigChangeZone,DBPump | Duration$ Permanent | SpellDescription$ You get an emblem with "At the beginning of combat on your turn, put target creature card from a graveyard onto the battlefield under your control. It gains haste." SVar:EffPhase:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ EmblemTrigChangeZone | TriggerDescription$ At the beginning of combat on your turn, put target creature card from a graveyard onto the battlefield under your control. It gains haste. diff --git a/forge-gui/res/cardsfolder/l/lilianas_contract.txt b/forge-gui/res/cardsfolder/l/lilianas_contract.txt index dc941a25226..0d8e92774db 100644 --- a/forge-gui/res/cardsfolder/l/lilianas_contract.txt +++ b/forge-gui/res/cardsfolder/l/lilianas_contract.txt @@ -2,7 +2,7 @@ Name:Liliana's Contract ManaCost:3 B B Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ DBWin | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, if you control four or more Demons with different names, you win the game. -SVar:DBWin:DB$ WinsGame | Defined$ You | ConditionCheckSVar$ Contractors | ConditionSVarCompare$ GE4 | References$ Contractors +SVar:DBWin:DB$ WinsGame | Defined$ You | ConditionCheckSVar$ Contractors | ConditionSVarCompare$ GE4 SVar:Contractors:Count$DifferentCardNames_Demon.YouCtrl+inZoneBattlefield T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, you draw four cards and you lose 4 life. SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 4 | SubAbility$ DBLoseLife diff --git a/forge-gui/res/cardsfolder/l/lilianas_indignation.txt b/forge-gui/res/cardsfolder/l/lilianas_indignation.txt index 47eeeee1d01..8969b99359e 100644 --- a/forge-gui/res/cardsfolder/l/lilianas_indignation.txt +++ b/forge-gui/res/cardsfolder/l/lilianas_indignation.txt @@ -1,8 +1,8 @@ Name:Liliana's Indignation ManaCost:X B Types:Sorcery -A:SP$ Mill | Cost$ X B | NumCards$ X | References$ X | Defined$ You | RememberMilled$ True | SubAbility$ DBLoseLife | SpellDescription$ Mill X cards. Target player loses 2 life for each creature card put into the graveyard this way. -SVar:DBLoseLife:DB$ LoseLife | ValidTgts$ Player | TgtPrompt$ Select a player | LifeAmount$ Y | References$ Y | SubAbility$ DBCleanup +A:SP$ Mill | Cost$ X B | NumCards$ X | Defined$ You | RememberMilled$ True | SubAbility$ DBLoseLife | SpellDescription$ Mill X cards. Target player loses 2 life for each creature card put into the graveyard this way. +SVar:DBLoseLife:DB$ LoseLife | ValidTgts$ Player | TgtPrompt$ Select a player | LifeAmount$ Y | SubAbility$ DBCleanup SVar:X:Count$xPaid SVar:Y:Count$ValidGraveyard Creature.IsRemembered/Times.2 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/l/lilianas_scrounger.txt b/forge-gui/res/cardsfolder/l/lilianas_scrounger.txt index 2dac85ff5d4..6fab6756fa8 100755 --- a/forge-gui/res/cardsfolder/l/lilianas_scrounger.txt +++ b/forge-gui/res/cardsfolder/l/lilianas_scrounger.txt @@ -2,7 +2,7 @@ Name:Liliana's Scrounger ManaCost:2 B Types:Creature Human Wizard PT:3/2 -T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | References$ X | TriggerDescription$ At the beginning of each end step, if a creature died this turn, you may put a loyalty counter on a Liliana planeswalker you control. +T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of each end step, if a creature died this turn, you may put a loyalty counter on a Liliana planeswalker you control. SVar:TrigPutCounter:DB$ PutCounter | Choices$ Planeswalker.Liliana+YouCtrl | CounterType$ LOYALTY | CounterNum$ 1 SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature DeckNeeds:Type$Liliana diff --git a/forge-gui/res/cardsfolder/l/lilianas_standard_bearer.txt b/forge-gui/res/cardsfolder/l/lilianas_standard_bearer.txt index c3f346741d9..c16f4233d1b 100755 --- a/forge-gui/res/cardsfolder/l/lilianas_standard_bearer.txt +++ b/forge-gui/res/cardsfolder/l/lilianas_standard_bearer.txt @@ -4,6 +4,6 @@ Types:Creature Zombie Knight PT:3/1 K:Flash T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw X cards, where X is the number of creatures that died under your control this turn. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature.YouCtrl Oracle:Flash\nWhen Liliana's Standard Bearer enters the battlefield, draw X cards, where X is the number of creatures that died under your control this turn. diff --git a/forge-gui/res/cardsfolder/l/lilting_refrain.txt b/forge-gui/res/cardsfolder/l/lilting_refrain.txt index 798d4b48558..e28e83b3778 100644 --- a/forge-gui/res/cardsfolder/l/lilting_refrain.txt +++ b/forge-gui/res/cardsfolder/l/lilting_refrain.txt @@ -1,7 +1,7 @@ Name:Lilting Refrain ManaCost:1 U Types:Enchantment -A:AB$ Counter | Cost$ Sac<1/CARDNAME> | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X | SpellDescription$ Counter target spell unless its controller pays {X}, where X is the number of verse counters on CARDNAME. +A:AB$ Counter | Cost$ Sac<1/CARDNAME> | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {X}, where X is the number of verse counters on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ VERSE | CounterNum$ 1 SVar:X:Count$CardCounters.VERSE diff --git a/forge-gui/res/cardsfolder/l/lim_duls_paladin.txt b/forge-gui/res/cardsfolder/l/lim_duls_paladin.txt index 43981deb418..b8039c412b3 100644 --- a/forge-gui/res/cardsfolder/l/lim_duls_paladin.txt +++ b/forge-gui/res/cardsfolder/l/lim_duls_paladin.txt @@ -5,8 +5,8 @@ PT:0/3 K:Trample T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigDiscard | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, you may discard a card. If you don't, sacrifice Lim-Dûl's Paladin and draw a card. SVar:TrigDiscard:DB$ Discard | NumCards$ 1 | Mode$ TgtChoose | Optional$ True | RememberDiscarded$ True | SubAbility$ DBSacrifice -SVar:DBSacrifice:DB$ Sacrifice | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBDraw | References$ X -SVar:DBDraw:DB$ Draw | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup | References$ X +SVar:DBSacrifice:DB$ Sacrifice | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True T:Mode$ AttackerBlocked | ValidCard$ Card.Self | ValidBlocker$ Creature | TriggerZones$ Battlefield | Execute$ TrigBlockedPump | TriggerDescription$ Whenever CARDNAME becomes blocked, CARDNAME get +6/+3 until end of turn. SVar:TrigBlockedPump:DB$ Pump | Defined$ Self | NumAtt$ 6 | NumDef$ 3 diff --git a/forge-gui/res/cardsfolder/l/lin_sivvi_defiant_hero.txt b/forge-gui/res/cardsfolder/l/lin_sivvi_defiant_hero.txt index 077005eda5d..6c82cc76323 100644 --- a/forge-gui/res/cardsfolder/l/lin_sivvi_defiant_hero.txt +++ b/forge-gui/res/cardsfolder/l/lin_sivvi_defiant_hero.txt @@ -2,7 +2,7 @@ Name:Lin Sivvi, Defiant Hero ManaCost:1 W W Types:Legendary Creature Human Rebel PT:1/3 -A:AB$ ChangeZone | Cost$ X T | Origin$ Library | Destination$ Battlefield | ChangeType$ Permanent.Rebel+cmcLEX | ChangeNum$ 1 | References$ X | SpellDescription$ Search your library for a Rebel permanent card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library. +A:AB$ ChangeZone | Cost$ X T | Origin$ Library | Destination$ Battlefield | ChangeType$ Permanent.Rebel+cmcLEX | ChangeNum$ 1 | SpellDescription$ Search your library for a Rebel permanent card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library. A:AB$ ChangeZone | Cost$ 3 | ValidTgts$ Rebel.YouCtrl | Origin$ Graveyard | Destination$ Library | LibraryPosition$ -1 | TgtPrompt$ Select target Rebel card in your graveyard | SpellDescription$ Put target Rebel card in your graveyard on the bottom of your library. SVar:X:Count$xPaid AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/l/linessa_zephyr_mage.txt b/forge-gui/res/cardsfolder/l/linessa_zephyr_mage.txt index dc62fb2cc64..d35cd4ff6d6 100644 --- a/forge-gui/res/cardsfolder/l/linessa_zephyr_mage.txt +++ b/forge-gui/res/cardsfolder/l/linessa_zephyr_mage.txt @@ -2,7 +2,7 @@ Name:Linessa, Zephyr Mage ManaCost:3 U Types:Legendary Creature Human Wizard PT:3/3 -A:AB$ ChangeZone | Cost$ X U U T | Origin$ Battlefield | Destination$ Hand | ValidTgts$ Creature.cmcEQX | ChangeNum$ 1 | References$ X | SpellDescription$ Return target creature with converted mana cost X to its owner's hand. +A:AB$ ChangeZone | Cost$ X U U T | Origin$ Battlefield | Destination$ Hand | ValidTgts$ Creature.cmcEQX | ChangeNum$ 1 | SpellDescription$ Return target creature with converted mana cost X to its owner's hand. SVar:X:Count$xPaid A:AB$ ChangeZone | Cost$ Discard<1/Card.namedLinessa, Zephyr Mage> | CostDesc$ Grandeur — Discard another card named CARDNAME:| ValidTgts$ Player | TgtPrompt$ Select target player | RememberTargets$ True | ForgetOtherTargets$ True | Chooser$ Targeted | Mandatory$ True | Hidden$ True | Origin$ Battlefield | Destination$ Hand | ChangeType$ Creature.TargetedPlayerCtrl | SubAbility$ DBArtifact | SpellDescription$ Target player returns a creature they control to its owner's hand, then repeats this process for an artifact, an enchantment, and a land. SVar:DBArtifact:DB$ ChangeZone | DefinedPlayer$ Remembered | ChangeType$ Artifact | Origin$ Battlefield | Destination$ Hand | Chooser$ Remembered | Mandatory$ True | Hidden$ True | SubAbility$ DBEnchant diff --git a/forge-gui/res/cardsfolder/l/linvala_the_preserver.txt b/forge-gui/res/cardsfolder/l/linvala_the_preserver.txt index 053704b81c5..d628e42fe01 100644 --- a/forge-gui/res/cardsfolder/l/linvala_the_preserver.txt +++ b/forge-gui/res/cardsfolder/l/linvala_the_preserver.txt @@ -3,7 +3,7 @@ ManaCost:4 W W Types:Legendary Creature Angel PT:5/5 K:Flying -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigGainLife | CheckSVar$ X | SVarCompare$ GTZ | References$ X,Z | TriggerDescription$ When CARDNAME enters the battlefield, if an opponent has more life than you, you gain 5 life. +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigGainLife | CheckSVar$ X | SVarCompare$ GTZ | TriggerDescription$ When CARDNAME enters the battlefield, if an opponent has more life than you, you gain 5 life. SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ 5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigToken | CheckSVar$ W | SVarCompare$ GTY | TriggerDescription$ When CARDNAME enters the battlefield, if an opponent controls more creatures than you, create a 3/3 white Angel creature token with flying. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ w_3_3_angel_flying | TokenOwner$ You | LegacyImage$ w 3 3 angel flying ogw diff --git a/forge-gui/res/cardsfolder/l/liquid_fire.txt b/forge-gui/res/cardsfolder/l/liquid_fire.txt index f4d602329a1..abbd7f61886 100644 --- a/forge-gui/res/cardsfolder/l/liquid_fire.txt +++ b/forge-gui/res/cardsfolder/l/liquid_fire.txt @@ -1,8 +1,8 @@ Name:Liquid Fire ManaCost:4 R R Types:Sorcery -A:SP$ DealDamage | Cost$ 4 R R | CostDesc$ As an additional cost to cast this spell, choose a number between 0 and 5. | AnnounceType$ ChooseNumber | Min$ 0 | Max$ 5 | ValidTgts$ Creature | NumDmg$ X | References$ X | SubAbility$ DBDmg | SpellDescription$ CARDNAME deals X damage to target creature and 5 minus X damage to that creature's controller, where X is the chosen number. -SVar:DBDmg:DB$ DealDamage | Defined$ TargetedController | NumDmg$ Y | References$ Y +A:SP$ DealDamage | Cost$ 4 R R | CostDesc$ As an additional cost to cast this spell, choose a number between 0 and 5. | AnnounceType$ ChooseNumber | Min$ 0 | Max$ 5 | ValidTgts$ Creature | NumDmg$ X | SubAbility$ DBDmg | SpellDescription$ CARDNAME deals X damage to target creature and 5 minus X damage to that creature's controller, where X is the chosen number. +SVar:DBDmg:DB$ DealDamage | Defined$ TargetedController | NumDmg$ Y SVar:X:Count$ChosenNumber SVar:Y:SVar$X/NMinus.5 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/l/littjara_kinseekers.txt b/forge-gui/res/cardsfolder/l/littjara_kinseekers.txt index 5971e49adfe..d117a753e02 100644 --- a/forge-gui/res/cardsfolder/l/littjara_kinseekers.txt +++ b/forge-gui/res/cardsfolder/l/littjara_kinseekers.txt @@ -3,7 +3,7 @@ ManaCost:3 U Types:Creature Shapeshifter PT:2/4 K:Changeling -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounter | CheckSVar$ X | References$ X | SVarCompare$ GE3 | TriggerDescription$ When CARDNAME enters the battlefield, if you control three or more creatures that share a creature type, put a +1/+1 counter on CARDNAME, then scry 1. +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounter | CheckSVar$ X | SVarCompare$ GE3 | TriggerDescription$ When CARDNAME enters the battlefield, if you control three or more creatures that share a creature type, put a +1/+1 counter on CARDNAME, then scry 1. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBScry SVar:DBScry:DB$ Scry | ScryNum$ 1 SVar:X:Count$MostProminentCreatureType Creature.YouCtrl diff --git a/forge-gui/res/cardsfolder/l/living_armor.txt b/forge-gui/res/cardsfolder/l/living_armor.txt index e283ca28e92..94c62be5b2a 100644 --- a/forge-gui/res/cardsfolder/l/living_armor.txt +++ b/forge-gui/res/cardsfolder/l/living_armor.txt @@ -1,7 +1,7 @@ Name:Living Armor ManaCost:4 Types:Artifact -A:AB$ PutCounter | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P0P1 | CounterNum$ X | References$ X | SpellDescription$ Put X +0/+1 counters on target creature, where X is that creature's converted mana cost. +A:AB$ PutCounter | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P0P1 | CounterNum$ X | SpellDescription$ Put X +0/+1 counters on target creature, where X is that creature's converted mana cost. SVar:X:Targeted$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/living_armor.jpg Oracle:{T}, Sacrifice Living Armor: Put X +0/+1 counters on target creature, where X is that creature's converted mana cost. diff --git a/forge-gui/res/cardsfolder/l/living_artifact.txt b/forge-gui/res/cardsfolder/l/living_artifact.txt index ce37db1094b..850972442a6 100644 --- a/forge-gui/res/cardsfolder/l/living_artifact.txt +++ b/forge-gui/res/cardsfolder/l/living_artifact.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant artifact A:SP$ Attach | Cost$ G | ValidTgts$ Artifact | AILogic$ Pump T:Mode$ DamageDoneOnce | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you're dealt damage, put that many vitality counters on CARDNAME. -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ VITALITY | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ VITALITY | CounterNum$ X SVar:X:TriggerCount$DamageAmount T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | IsPresent$ Card.Self+counters_GE1_VITALITY | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may remove a vitality counter from CARDNAME. If you do, you gain 1 life. SVar:TrigGainLife:AB$ GainLife | Cost$ SubCounter<1/VITALITY> | Defined$ You | LifeAmount$ 1 diff --git a/forge-gui/res/cardsfolder/l/living_destiny.txt b/forge-gui/res/cardsfolder/l/living_destiny.txt index ac84db8742a..f6b4b311767 100644 --- a/forge-gui/res/cardsfolder/l/living_destiny.txt +++ b/forge-gui/res/cardsfolder/l/living_destiny.txt @@ -1,7 +1,7 @@ Name:Living Destiny ManaCost:3 G Types:Instant -A:SP$ GainLife | Cost$ 3 G Reveal<1/Creature> | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the revealed card's converted mana cost. +A:SP$ GainLife | Cost$ 3 G Reveal<1/Creature> | LifeAmount$ X | SpellDescription$ You gain life equal to the revealed card's converted mana cost. SVar:X:Revealed$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/living_destiny.jpg diff --git a/forge-gui/res/cardsfolder/l/living_hive.txt b/forge-gui/res/cardsfolder/l/living_hive.txt index dbbb555353b..5ee7bf8fb4d 100644 --- a/forge-gui/res/cardsfolder/l/living_hive.txt +++ b/forge-gui/res/cardsfolder/l/living_hive.txt @@ -4,6 +4,6 @@ Types:Creature Elemental Insect PT:6/6 K:Trample T:Mode$ DamageDone | ValidSource$ Card.Self | Execute$ TrigToken | CombatDamage$ True | ValidTarget$ Player | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, create that many 1/1 green Insect creature tokens. -SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_insect | TokenOwner$ You | References$ X +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_insect | TokenOwner$ You SVar:X:TriggerCount$DamageAmount Oracle:Trample\nWhenever Living Hive deals combat damage to a player, create that many 1/1 green Insect creature tokens. diff --git a/forge-gui/res/cardsfolder/l/living_inferno.txt b/forge-gui/res/cardsfolder/l/living_inferno.txt index abac8d96750..5e34b665d0e 100644 --- a/forge-gui/res/cardsfolder/l/living_inferno.txt +++ b/forge-gui/res/cardsfolder/l/living_inferno.txt @@ -2,8 +2,8 @@ Name:Living Inferno ManaCost:6 R R Types:Creature Elemental PT:8/5 -A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature to distribute damage to | NumDmg$ FirePower | TargetMin$ Min | TargetMax$ FirePower | References$ FirePower,Min | DividedAsYouChoose$ FirePower | SubAbility$ Retribution | RememberTargets$ True | SpellDescription$ CARDNAME deals damage equal to its power divided as you choose among any number of target creatures. Each of those creatures deals damage equal to its power to CARDNAME. -SVar:Retribution:DB$ EachDamage | ValidCards$ Creature.IsRemembered | ValidDescription$ of those creatures | NumDmg$ X | DamageDesc$ damage equal to its power | DefinedCards$ Remembered | SubAbility$ DBCleanup | References$ X | StackDescription$ then each of those creatures deals damage equal to its power to CARDNAME +A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature to distribute damage to | NumDmg$ FirePower | TargetMin$ Min | TargetMax$ FirePower | DividedAsYouChoose$ FirePower | SubAbility$ Retribution | RememberTargets$ True | SpellDescription$ CARDNAME deals damage equal to its power divided as you choose among any number of target creatures. Each of those creatures deals damage equal to its power to CARDNAME. +SVar:Retribution:DB$ EachDamage | ValidCards$ Creature.IsRemembered | ValidDescription$ of those creatures | NumDmg$ X | DamageDesc$ damage equal to its power | DefinedCards$ Remembered | SubAbility$ DBCleanup | StackDescription$ then each of those creatures deals damage equal to its power to CARDNAME #NumDmg isn't really used here. It is left for clarity. The AF pulls Damage straight from "X" hardcoded. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$CardPower diff --git a/forge-gui/res/cardsfolder/l/living_lore.txt b/forge-gui/res/cardsfolder/l/living_lore.txt index 518dd1b4f6e..d29b0750417 100644 --- a/forge-gui/res/cardsfolder/l/living_lore.txt +++ b/forge-gui/res/cardsfolder/l/living_lore.txt @@ -4,7 +4,7 @@ Types:Creature Avatar PT:*/* K:ETBReplacement:Copy:ChooseSpell SVar:ChooseSpell:DB$ ChangeZone | ChangeType$ Instant.YouOwn,Sorcery.YouOwn | ChangeNum$ 1 | Hidden$ True | Origin$ Graveyard | Destination$ Exile | RememberChanged$ True | Mandatory$ True | SpellDescription$ As CARDNAME enters the battlefield, exile an instant or sorcery card from your graveyard. -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the exiled card's converted mana cost. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the exiled card's converted mana cost. SVar:X:Count$RememberedCardManaCost T:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Card.Self | Execute$ TrigSacLore | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage, you may sacrifice it. If you do, you may cast the exiled card without paying its mana cost. SVar:TrigSacLore:AB$ Play | Cost$ Sac<1/CARDNAME> | Defined$ Remembered | Amount$ All | Controller$ You | WithoutManaCost$ True | Optional$ True | ForgetRemembered$ True diff --git a/forge-gui/res/cardsfolder/l/loaming_shaman.txt b/forge-gui/res/cardsfolder/l/loaming_shaman.txt index 865cf07a3e9..f5376eeca95 100644 --- a/forge-gui/res/cardsfolder/l/loaming_shaman.txt +++ b/forge-gui/res/cardsfolder/l/loaming_shaman.txt @@ -4,7 +4,7 @@ Types:Creature Centaur Shaman PT:3/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, target player shuffles any number of target cards from their graveyard into their library. SVar:TrigPump:DB$ Pump | ValidTgts$ Player | TgtPrompt$ Select target Player | SubAbility$ DBChangeZone | IsCurse$ True -SVar:DBChangeZone:DB$ ChangeZone | TargetMin$ 0 | TargetMax$ X | TargetsWithDefinedController$ ParentTarget | Origin$ Graveyard | Destination$ Library | Shuffle$ True | TgtPrompt$ Choose target card | ValidTgts$ Card | References$ X +SVar:DBChangeZone:DB$ ChangeZone | TargetMin$ 0 | TargetMax$ X | TargetsWithDefinedController$ ParentTarget | Origin$ Graveyard | Destination$ Library | Shuffle$ True | TgtPrompt$ Choose target card | ValidTgts$ Card SVar:X:Count$InAllYards SVar:Picture:http://www.wizards.com/global/images/magic/general/loaming_shaman.jpg Oracle:When Loaming Shaman enters the battlefield, target player shuffles any number of target cards from their graveyard into their library. diff --git a/forge-gui/res/cardsfolder/l/lobotomy.txt b/forge-gui/res/cardsfolder/l/lobotomy.txt index c8a40affb5d..7339696c473 100644 --- a/forge-gui/res/cardsfolder/l/lobotomy.txt +++ b/forge-gui/res/cardsfolder/l/lobotomy.txt @@ -4,8 +4,8 @@ Types:Sorcery A:SP$ RevealHand | Cost$ 2 U B | ValidTgts$ Player | SubAbility$ ChooseCard | StackDescription$ SpellDescription | SpellDescription$ Target player reveals their hand. SVar:ChooseCard:DB$ ChooseCard | Choices$ Card.nonBasic+TargetedPlayerCtrl+inZoneHand | ChoiceZone$ Hand | SubAbility$ ExileYard | RememberChosen$ True | ForgetOtherTargets$ True | SpellDescription$ Target player reveals their hand, then you choose a card other than a basic land card from it. Search that player's graveyard, hand, and library for all cards with the same name as the chosen card and exile them. Then that player shuffles their library. SVar:ExileYard:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Exile | Defined$ Targeted | ChangeType$ Remembered.sameName | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | References$ NumInHand | AlreadyRevealed$ True | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | References$ NumInLib | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | AlreadyRevealed$ True | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:NumInHand:TargetedPlayer$CardsInHand SVar:NumInLib:TargetedPlayer$CardsInLibrary SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/l/lofty_denial.txt b/forge-gui/res/cardsfolder/l/lofty_denial.txt index 0dc0acd7676..13745e21859 100755 --- a/forge-gui/res/cardsfolder/l/lofty_denial.txt +++ b/forge-gui/res/cardsfolder/l/lofty_denial.txt @@ -1,7 +1,7 @@ Name:Lofty Denial ManaCost:1 U Types:Instant -A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X,Y | SpellDescription$ Counter target spell unless its controller pays {1}. If you control a creature with flying, counter that spell unless its controller pays {4} instead. +A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {1}. If you control a creature with flying, counter that spell unless its controller pays {4} instead. SVar:Y:Count$Valid Creature.YouCtrl+withFlying SVar:X:Count$Compare Y GE1.4.1 DeckHints:Keyword$Flying diff --git a/forge-gui/res/cardsfolder/l/logic_knot.txt b/forge-gui/res/cardsfolder/l/logic_knot.txt index 2f674ea400f..6a0787d46c2 100644 --- a/forge-gui/res/cardsfolder/l/logic_knot.txt +++ b/forge-gui/res/cardsfolder/l/logic_knot.txt @@ -2,7 +2,7 @@ Name:Logic Knot ManaCost:X U U Types:Instant K:Delve -A:SP$ Counter | Cost$ X U U | TargetType$ Spell | ValidTgts$ Card | UnlessCost$ X | UnlessPayer$ TargetedController | References$ X | SpellDescription$ Counter target spell unless its controller pays {X}. +A:SP$ Counter | Cost$ X U U | TargetType$ Spell | ValidTgts$ Card | UnlessCost$ X | UnlessPayer$ TargetedController | SpellDescription$ Counter target spell unless its controller pays {X}. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/logic_knot.jpg Oracle:Delve (Each card you exile from your graveyard while casting this spell pays for {1}.)\nCounter target spell unless its controller pays {X}. diff --git a/forge-gui/res/cardsfolder/l/lookouts_dispersal.txt b/forge-gui/res/cardsfolder/l/lookouts_dispersal.txt index 766dfc863b9..e6fe24c1f8d 100644 --- a/forge-gui/res/cardsfolder/l/lookouts_dispersal.txt +++ b/forge-gui/res/cardsfolder/l/lookouts_dispersal.txt @@ -1,7 +1,7 @@ Name:Lookout's Dispersal ManaCost:2 U Types:Instant -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 1 | EffectZone$ All | CheckSVar$ Piracy | SVarCompare$ GE1 | References$ Piracy | Description$ This spell costs {1} less to cast if you control a Pirate. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 1 | EffectZone$ All | CheckSVar$ Piracy | SVarCompare$ GE1iracy | Description$ This spell costs {1} less to cast if you control a Pirate. SVar:Piracy:Count$Valid Pirate.YouCtrl A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ 4 | SpellDescription$ Counter target spell unless its controller pays {4}. SVar:Picture:http://www.wizards.com/global/images/magic/general/lookouts_dispersal.jpg diff --git a/forge-gui/res/cardsfolder/l/lord_of_extinction.txt b/forge-gui/res/cardsfolder/l/lord_of_extinction.txt index 371e334fd9c..12b433f9e51 100644 --- a/forge-gui/res/cardsfolder/l/lord_of_extinction.txt +++ b/forge-gui/res/cardsfolder/l/lord_of_extinction.txt @@ -2,7 +2,7 @@ Name:Lord of Extinction ManaCost:3 B G Types:Creature Elemental PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in all graveyards. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in all graveyards. SVar:X:Count$InAllYards SVar:NeedsToPlayVar:X GE4 SVar:Picture:http://www.wizards.com/global/images/magic/general/lord_of_extinction.jpg diff --git a/forge-gui/res/cardsfolder/l/lord_of_the_pit.txt b/forge-gui/res/cardsfolder/l/lord_of_the_pit.txt index 690f4a214d3..12f6cfe1b24 100644 --- a/forge-gui/res/cardsfolder/l/lord_of_the_pit.txt +++ b/forge-gui/res/cardsfolder/l/lord_of_the_pit.txt @@ -6,7 +6,7 @@ K:Flying K:Trample T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, sacrifice a creature other than CARDNAME. If you can't, CARDNAME deals 7 damage to you. SVar:TrigSac:DB$Sacrifice | Defined$ You | SacValid$ Creature.Other | SubAbility$ DBDamage | RememberSacrificed$ True -SVar:DBDamage:DB$ DealDamage | Defined$ You | NumDmg$ 7 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ You | NumDmg$ 7 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/l/loreseekers_stone.txt b/forge-gui/res/cardsfolder/l/loreseekers_stone.txt index 675791c2bdb..a8d63da6dcf 100644 --- a/forge-gui/res/cardsfolder/l/loreseekers_stone.txt +++ b/forge-gui/res/cardsfolder/l/loreseekers_stone.txt @@ -1,7 +1,7 @@ Name:Loreseeker's Stone ManaCost:6 Types:Artifact -A:AB$ Draw | Cost$ 3 T | NumCards$ 3 | RaiseCost$ X | References$ X | SpellDescription$ Draw three cards. This ability costs {1} more to activate for each card in your hand. +A:AB$ Draw | Cost$ 3 T | NumCards$ 3 | RaiseCost$ X | SpellDescription$ Draw three cards. This ability costs {1} more to activate for each card in your hand. SVar:X:Count$InYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/loreseekers_stone.jpg Oracle:{3}, {T}: Draw three cards. This ability costs {1} more to activate for each card in your hand. diff --git a/forge-gui/res/cardsfolder/l/lost_in_the_woods.txt b/forge-gui/res/cardsfolder/l/lost_in_the_woods.txt index d93b9923b92..e6b2ba24d46 100644 --- a/forge-gui/res/cardsfolder/l/lost_in_the_woods.txt +++ b/forge-gui/res/cardsfolder/l/lost_in_the_woods.txt @@ -3,7 +3,7 @@ ManaCost:3 G G Types:Enchantment T:Mode$ Attacks | ValidCard$ Creature | Attacked$ You,Planeswalker.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ Whenever a creature attacks you or a planeswalker you control, reveal the top card of your library. If it's a Forest card, remove that creature from combat. Then put the revealed card on the bottom of your library. SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Library | LibraryPosition$ -1 | LibraryPosition2$ -1 | RememberChanged$ True | SubAbility$ DBRemoveCombat -SVar:DBRemoveCombat:DB$ RemoveFromCombat | Defined$ TriggeredAttacker | ConditionCheckSVar$ IsForest | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup | References$ IsForest +SVar:DBRemoveCombat:DB$ RemoveFromCombat | Defined$ TriggeredAttacker | ConditionCheckSVar$ IsForest | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:IsForest:Remembered$Valid Forest SVar:Picture:http://www.wizards.com/global/images/magic/general/lost_in_the_woods.jpg diff --git a/forge-gui/res/cardsfolder/l/lost_legacy.txt b/forge-gui/res/cardsfolder/l/lost_legacy.txt index 69510af799f..a9c8f66f123 100644 --- a/forge-gui/res/cardsfolder/l/lost_legacy.txt +++ b/forge-gui/res/cardsfolder/l/lost_legacy.txt @@ -2,10 +2,10 @@ Name:Lost Legacy ManaCost:1 B B Types:Sorcery A:SP$ NameCard | Cost$ 1 B B | Defined$ You | ValidCards$ Card.nonLand+nonArtifact | ValidDesc$ nonartifact, nonland | SubAbility$ ExileHand | SpellDescription$ Choose a nonartifact, nonland card name. Search target player's graveyard, hand, and library for any number of cards with that name and exile them. That player shuffles their library, then draws a card for each card exiled from their hand this way. | StackDescription$ SpellDescription -SVar:ExileHand:DB$ ChangeZone | ValidTgts$ Player | TgtPrompt$ Select target player | RememberTargets$ True | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Card.NamedCard | ChangeNum$ NumInHand | References$ NumInHand | Chooser$ You | SubAbility$ ExileLib | RememberChanged$ True | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Card.NamedCard | ChangeNum$ NumInLib | References$ NumInLib | Chooser$ You | Shuffle$ True | SubAbility$ ExileYard | StackDescription$ None -SVar:ExileYard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Card.NamedCard | ChangeNum$ NumInYard | References$ NumInYard | Chooser$ You | Hidden$ True | SubAbility$ Draw | StackDescription$ None -SVar:Draw:DB$ Draw | Defined$ TargetedPlayer | NumCards$ X | References$ X | SubAbility$ DBCleanup | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | ValidTgts$ Player | TgtPrompt$ Select target player | RememberTargets$ True | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Card.NamedCard | ChangeNum$ NumInHandumInHand | Chooser$ You | SubAbility$ ExileLib | RememberChanged$ True | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Card.NamedCard | ChangeNum$ NumInLibumInLib | Chooser$ You | Shuffle$ True | SubAbility$ ExileYard | StackDescription$ None +SVar:ExileYard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Card.NamedCard | ChangeNum$ NumInYardumInYard | Chooser$ You | Hidden$ True | SubAbility$ Draw | StackDescription$ None +SVar:Draw:DB$ Draw | Defined$ TargetedPlayer | NumCards$ X | SubAbility$ DBCleanup | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedSize SVar:NumInHand:TargetedPlayer$CardsInHand diff --git a/forge-gui/res/cardsfolder/l/lost_order_of_jarkeld.txt b/forge-gui/res/cardsfolder/l/lost_order_of_jarkeld.txt index 71f4e0ff098..814abf87fa3 100644 --- a/forge-gui/res/cardsfolder/l/lost_order_of_jarkeld.txt +++ b/forge-gui/res/cardsfolder/l/lost_order_of_jarkeld.txt @@ -4,7 +4,7 @@ Types:Creature Human Knight PT:1/1 K:ETBReplacement:Other:ChooseP SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. -S:Mode$ Continuous | EffectZone$ Battlefield | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to 1 plus the number of creatures the chosen player controls. +S:Mode$ Continuous | EffectZone$ Battlefield | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to 1 plus the number of creatures the chosen player controls. SVar:X:Count$Valid Creature.ChosenCtrl/Plus.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/lost_order_of_jarkeld.jpg Oracle:As Lost Order of Jarkeld enters the battlefield, choose an opponent.\nLost Order of Jarkeld's power and toughness are each equal to 1 plus the number of creatures the chosen player controls. diff --git a/forge-gui/res/cardsfolder/l/lotleth_giant.txt b/forge-gui/res/cardsfolder/l/lotleth_giant.txt index a470ac2ab3d..067215ed4da 100644 --- a/forge-gui/res/cardsfolder/l/lotleth_giant.txt +++ b/forge-gui/res/cardsfolder/l/lotleth_giant.txt @@ -3,6 +3,6 @@ ManaCost:6 B Types:Creature Zombie Giant PT:6/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ Undergrowth - When CARDNAME enters the battlefield, it deals 1 damage to target opponent for each creature card in your graveyard. -SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumDmg$ X SVar:X:Count$TypeInYourYard.Creature Oracle:Undergrowth — When Lotleth Giant enters the battlefield, it deals 1 damage to target opponent for each creature card in your graveyard. diff --git a/forge-gui/res/cardsfolder/l/lotus_blossom.txt b/forge-gui/res/cardsfolder/l/lotus_blossom.txt index 500cf667adb..74f14b074a3 100644 --- a/forge-gui/res/cardsfolder/l/lotus_blossom.txt +++ b/forge-gui/res/cardsfolder/l/lotus_blossom.txt @@ -2,7 +2,7 @@ Name:Lotus Blossom ManaCost:2 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ During your upkeep, you may put a petal counter on CARDNAME. -A:AB$ Mana | Cost$ T Sac<1/CARDNAME> | Produced$ Any | Amount$ X | References$ X | SpellDescription$ Add X mana of any one color, where X is the number of petal counters on Lotus Blossom. +A:AB$ Mana | Cost$ T Sac<1/CARDNAME> | Produced$ Any | Amount$ X | SpellDescription$ Add X mana of any one color, where X is the number of petal counters on Lotus Blossom. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ PETAL | CounterNum$ 1 SVar:X:Count$CardCounters.PETAL AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/l/lotus_vale.txt b/forge-gui/res/cardsfolder/l/lotus_vale.txt index 1ad25b249b7..0b60ee818ea 100644 --- a/forge-gui/res/cardsfolder/l/lotus_vale.txt +++ b/forge-gui/res/cardsfolder/l/lotus_vale.txt @@ -4,8 +4,8 @@ Types:Land A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 3 | SpellDescription$ Add three mana of any one color. R:Event$ Moved | Destination$ Battlefield | ValidCard$ Card.Self | ReplaceWith$ PayBeforeETB | Description$ If CARDNAME would enter the battlefield, sacrifice two untapped lands instead. If you do, put CARDNAME onto the battlefield. If you don't, put it into its owner's graveyard. SVar:PayBeforeETB:DB$ Sacrifice | SacValid$ Land.untapped | Defined$ You | RememberSacrificed$ True | Amount$ 2 | StrictAmount$ True | SubAbility$ MoveToGraveyard -SVar:MoveToGraveyard:DB$ ChangeZone | Origin$ All | Destination$ Graveyard | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ LT2 | References$ X | SubAbility$ MoveToBattlefield -SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X | SubAbility$ DBCleanup +SVar:MoveToGraveyard:DB$ ChangeZone | Origin$ All | Destination$ Graveyard | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ LT2 | SubAbility$ MoveToBattlefield +SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:NeedsToPlayVar:Z GE2 diff --git a/forge-gui/res/cardsfolder/l/loxodon_lifechanter.txt b/forge-gui/res/cardsfolder/l/loxodon_lifechanter.txt index 4201c6c14af..6af1ce7b22e 100644 --- a/forge-gui/res/cardsfolder/l/loxodon_lifechanter.txt +++ b/forge-gui/res/cardsfolder/l/loxodon_lifechanter.txt @@ -4,10 +4,10 @@ Types:Creature Elephant Cleric PT:4/6 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigLife | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may have your life total become the total toughness of creatures you control. SVar:TrigLife:DB$ PumpAll | ValidCards$ Creature.YouCtrl | RememberAllPumped$ True | SubAbility$ DBSetLife -SVar:DBSetLife:DB$ SetLife | Defined$ You | LifeAmount$ Y | References$ Y | SubAbility$ DBCleanup +SVar:DBSetLife:DB$ SetLife | Defined$ You | LifeAmount$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Remembered$CardToughness -A:AB$ Pump | Cost$ 5 W | NumAtt$ X | NumDef$ X | References$ X | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is your life total. +A:AB$ Pump | Cost$ 5 W | NumAtt$ X | NumDef$ X | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is your life total. SVar:X:Count$YourLifeTotal AI:RemoveDeck:All Oracle:When Loxodon Lifechanter enters the battlefield, you may have your life total become the total toughness of creatures you control.\n{5}{W}: Loxodon Lifechanter gets +X/+X until end of turn, where X is your life total. diff --git a/forge-gui/res/cardsfolder/l/loyal_apprentice.txt b/forge-gui/res/cardsfolder/l/loyal_apprentice.txt index 8f3b09e95a3..1c7c4758476 100644 --- a/forge-gui/res/cardsfolder/l/loyal_apprentice.txt +++ b/forge-gui/res/cardsfolder/l/loyal_apprentice.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Human Artificer PT:2/1 K:Haste -T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ GE1 | References$ X | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Lieutenant — At the beginning of combat on your turn, if you control your commander, create a 1/1 colorless Thopter artifact creature token with flying. That token gains haste until end of turn. +T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Lieutenant — At the beginning of combat on your turn, if you control your commander, create a 1/1 colorless Thopter artifact creature token with flying. That token gains haste until end of turn. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ c_1_1_a_thopter_flying | TokenOwner$ You | RememberTokens$ True | LegacyImage$ c 1 1 a thopter flying c18 | SubAbility$ DBPump SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ Haste | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/l/loyal_unicorn.txt b/forge-gui/res/cardsfolder/l/loyal_unicorn.txt index 23ebd1cd710..d89e19d6dfb 100644 --- a/forge-gui/res/cardsfolder/l/loyal_unicorn.txt +++ b/forge-gui/res/cardsfolder/l/loyal_unicorn.txt @@ -3,8 +3,8 @@ ManaCost:3 W Types:Creature Unicorn PT:3/4 K:Vigilance -T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ GE1 | References$ X | TriggerZones$ Battlefield | Execute$ PreventEffect | TriggerDescription$ Lieutenant — At the beginning of combat on your turn, if you control your commander, prevent all combat damage that would be dealt to creatures you control this turn. -SVar:PreventEffect:DB$ Effect | ReplacementEffects$ RPrevent | References$ RPrevent | ValidTgts$ You | Description$ Prevent all combat damage that would be dealt to creatures you control this turn. +T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | Execute$ PreventEffect | TriggerDescription$ Lieutenant — At the beginning of combat on your turn, if you control your commander, prevent all combat damage that would be dealt to creatures you control this turn. +SVar:PreventEffect:DB$ Effect | ReplacementEffects$ RPrevent | ValidTgts$ You | Description$ Prevent all combat damage that would be dealt to creatures you control this turn. SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidTarget$ Creature.YouCtrl | Description$ Prevent all combat damage that would be dealt to creatures you control this turn. S:Mode$ Continuous | Affected$ Creature.Other+YouCtrl | AddKeyword$ Vigilance | Description$ Other creatures you control gain vigilance until end of turn. SVar:X:Count$Valid Card.IsCommander+YouOwn+YouCtrl diff --git a/forge-gui/res/cardsfolder/l/ludevics_test_subject_ludevics_abomination.txt b/forge-gui/res/cardsfolder/l/ludevics_test_subject_ludevics_abomination.txt index 8d653515cfe..7e3cafe3d91 100644 --- a/forge-gui/res/cardsfolder/l/ludevics_test_subject_ludevics_abomination.txt +++ b/forge-gui/res/cardsfolder/l/ludevics_test_subject_ludevics_abomination.txt @@ -4,7 +4,7 @@ Types:Creature Lizard Egg PT:0/3 K:Defender A:AB$PutCounter | Cost$ 1 U | Defined$ Self | CounterType$ HATCHLING | CounterNum$ 1 | AILogic$ CheckDFC | SubAbility$ DBBranch | SpellDescription$ Put a hatchling counter on CARDNAME. Then if there are five or more hatchling counters on it, remove all of them and transform it. -SVar:DBBranch:DB$ Branch | BranchConditionSVar$ HatchTimer | References$ HatchTimer | TrueSubAbility$ DBRemoveCtrs +SVar:DBBranch:DB$ Branch | BranchConditionSVar$ HatchTimer | TrueSubAbility$ DBRemoveCtrs SVar:DBRemoveCtrs:DB$ RemoveCounter | Defined$ Self | CounterType$ HATCHLING | CounterNum$ All | SubAbility$ DBTransform SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform SVar:HatchTimer:Count$Valid Card.Self+counters_GE5_HATCHLING diff --git a/forge-gui/res/cardsfolder/l/lukka_coppercoat_outcast.txt b/forge-gui/res/cardsfolder/l/lukka_coppercoat_outcast.txt index db7a4f9b78e..497119df078 100755 --- a/forge-gui/res/cardsfolder/l/lukka_coppercoat_outcast.txt +++ b/forge-gui/res/cardsfolder/l/lukka_coppercoat_outcast.txt @@ -7,10 +7,10 @@ SVar:DBRepeat:DB$ RepeatEach | UseImprinted$ True | RepeatSubAbility$ DBAnimate SVar:DBAnimate:DB$ Animate | Defined$ Imprinted | staticAbilities$ STMayPlay | Permanent$ True SVar:STMayPlay:Mode$ Continuous | Affected$ Card.Self | AffectedZone$ Exile | EffectZone$ Exile | MayPlay$ True | IsPresent$ Planeswalker.Lukka+YouCtrl | Description$ You may cast this card from exile as long as you control a Lukka planeswalker. A:AB$ ChangeZone | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | Origin$ Battlefield | Destination$ Exile | SubAbility$ DBDigUntil | RememberChanged$ True | StackDescription$ SpellDescription | SpellDescription$ Exile target creature you control, then reveal cards from the top of your library until you reveal a creature card with higher converted mana cost. Put that card onto the battlefield and the rest on the bottom of your library in a random order. -SVar:DBDigUntil:DB$ DigUntil | Valid$ Creature.cmcGEX | References$ X | ValidDescription$ creature card with higher converted mana cost | FoundDestination$ Battlefield | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | RestRandomOrder$ True | SubAbility$ DBCleanup | StackDescription$ None +SVar:DBDigUntil:DB$ DigUntil | Valid$ Creature.cmcGEX | ValidDescription$ creature card with higher converted mana cost | FoundDestination$ Battlefield | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | RestRandomOrder$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True A:AB$ RepeatEach | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | RepeatCards$ Creature.YouCtrl | RepeatSubAbility$ DBDamage | DamageMap$ True | SpellDescription$ Each creature you control deals damage equal to its power to each opponent. -SVar:DBDamage:DB$ DealDamage | Defined$ Player.Opponent | DamageSource$ Remembered | NumDmg$ Y | References$ Y +SVar:DBDamage:DB$ DealDamage | Defined$ Player.Opponent | DamageSource$ Remembered | NumDmg$ Y SVar:X:Remembered$CardManaCost/Plus.1 SVar:Y:Remembered$CardPower SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/l/lullmages_domination.txt b/forge-gui/res/cardsfolder/l/lullmages_domination.txt index 6918e2aeefe..772ffa76bad 100755 --- a/forge-gui/res/cardsfolder/l/lullmages_domination.txt +++ b/forge-gui/res/cardsfolder/l/lullmages_domination.txt @@ -4,6 +4,6 @@ Types:Sorcery S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ XGrave | Relative$ True | EffectZone$ All | Description$ This spell costs {3} less to cast if it targets a creature whose player has eight or more cards in their graveyard. SVar:XGrave:Count$Compare CheckTgt GE8.3.0 SVar:CheckTgt:TargetedController$CardsInGraveyard -A:SP$ GainControl | Cost$ X U U U | ValidTgts$ Creature.cmcEQX | TgtPrompt$ Select target creature | References$ X | SpellDescription$ Gain control of target creature with converted mana cost X. +A:SP$ GainControl | Cost$ X U U U | ValidTgts$ Creature.cmcEQX | TgtPrompt$ Select target creature | SpellDescription$ Gain control of target creature with converted mana cost X. SVar:X:Count$xPaid Oracle:This spell costs {3} less to cast if it targets a creature whose controller has eight or more cards in their graveyard.\nGain control of target creature with converted mana cost X. diff --git a/forge-gui/res/cardsfolder/l/lumbering_battlement.txt b/forge-gui/res/cardsfolder/l/lumbering_battlement.txt index 9876b690763..9f800752f53 100644 --- a/forge-gui/res/cardsfolder/l/lumbering_battlement.txt +++ b/forge-gui/res/cardsfolder/l/lumbering_battlement.txt @@ -4,12 +4,12 @@ Types:Creature Beast PT:4/5 K:Vigilance T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, exile any number of other nontoken creatures you control until it leaves the battlefield. -SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | Hidden$ True | ChangeType$ Creature.nonToken+Other+YouCtrl | ChangeNum$ MaxTgts | SelectPrompt$ Choose any number of other nontoken creatures you control | SubAbility$ DBEffect | References$ MaxTgts +SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | Hidden$ True | ChangeType$ Creature.nonToken+Other+YouCtrl | ChangeNum$ MaxTgts | SelectPrompt$ Choose any number of other nontoken creatures you control | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | Triggers$ ComeBack | RememberObjects$ RememberedCard | ImprintCards$ Self | SVars$ TrigReturn,ExileSelf | ConditionPresent$ Card.Self | Duration$ Permanent | ForgetOnMoved$ Exile SVar:ComeBack:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsImprinted | Execute$ TrigReturn | TriggerZones$ Command | TriggerController$ TriggeredCardController | Static$ True | TriggerDescription$ That creature is exiled until EFFECTSOURCE leaves the battlefield SVar:TrigReturn:DB$ ChangeZoneAll | Origin$ Exile | Destination$ Battlefield | ChangeType$ Card.IsRemembered | SubAbility$ ExileSelf SVar:ExileSelf:DB$ ChangeZone | Origin$ Command | Destination$ Exile | Defined$ Self -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +2/+2 for each card exiled with it. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +2/+2 for each card exiled with it. #Triggers to forget remembered on this T:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Exile | Destination$ Any | TriggerZones$ Battlefield | Static$ True | Execute$ TrigForget SVar:TrigForget:DB$ Pump | ForgetObjects$ TriggeredCard diff --git a/forge-gui/res/cardsfolder/l/luminate_primordial.txt b/forge-gui/res/cardsfolder/l/luminate_primordial.txt index 320fecfe3f0..60c2c96dec1 100644 --- a/forge-gui/res/cardsfolder/l/luminate_primordial.txt +++ b/forge-gui/res/cardsfolder/l/luminate_primordial.txt @@ -4,7 +4,7 @@ Types:Creature Avatar PT:4/7 K:Vigilance T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ ExileOneEach | TriggerDescription$ When CARDNAME enters the battlefield, for each opponent, exile up to one target creature that player controls and that player gains life equal to its power. -SVar:ExileOneEach:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature each opponent controls. | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | SubAbility$ LoopTgts +SVar:ExileOneEach:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature each opponent controls. | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | SubAbility$ LoopTgts SVar:LoopTgts:DB$ RepeatEach | RepeatSubAbility$ GiveLifeEach | DefinedCards$ Targeted SVar:GiveLifeEach:DB$ GainLife | Defined$ RememberedController | LifeAmount$ TgtPower SVar:OneEach:PlayerCountOpponents$Amount diff --git a/forge-gui/res/cardsfolder/l/luminescent_rain.txt b/forge-gui/res/cardsfolder/l/luminescent_rain.txt index 58d182dfaed..4ee8f1fa1b6 100644 --- a/forge-gui/res/cardsfolder/l/luminescent_rain.txt +++ b/forge-gui/res/cardsfolder/l/luminescent_rain.txt @@ -2,7 +2,7 @@ Name:Luminescent Rain ManaCost:2 G Types:Instant A:SP$ ChooseType | Cost$ 2 G | Defined$ You | Type$ Creature | AILogic$ MostProminentComputerControls | SubAbility$ DBGainlife | SpellDescription$ Choose a creature type. You gain 2 life for each permanent you control of that type. -SVar:DBGainlife:DB$ Gainlife | LifeAmount$ X | References$ X | StackDescription$ You gain 2 life for each permanent you control of that type. +SVar:DBGainlife:DB$ Gainlife | LifeAmount$ X | StackDescription$ You gain 2 life for each permanent you control of that type. SVar:X:Count$Valid Permanent.ChosenType+YouCtrl/Times.2 SVar:NeedsToPlay:Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/luminescent_rain.jpg diff --git a/forge-gui/res/cardsfolder/l/lurking_arynx.txt b/forge-gui/res/cardsfolder/l/lurking_arynx.txt index 6acacbc0584..931289af89c 100644 --- a/forge-gui/res/cardsfolder/l/lurking_arynx.txt +++ b/forge-gui/res/cardsfolder/l/lurking_arynx.txt @@ -2,7 +2,7 @@ Name:Lurking Arynx ManaCost:4 G Types:Creature Cat Beast PT:3/5 -A:AB$ MustBlock | Cost$ 2 G | ValidTgts$ Creature | CheckSVar$ FormidableTest | SVarCompare$ GE8 | References$ FormidableTest | PrecostDesc$ Formidable — | TgtPrompt$ Select target creature that must block this creature this turn | SpellDescription$ Target creature blocks CARDNAME this turn if able. Activate this ability only if creatures you control have total power 8 or greater. +A:AB$ MustBlock | Cost$ 2 G | ValidTgts$ Creature | CheckSVar$ FormidableTest | SVarCompare$ GE8 | PrecostDesc$ Formidable — | TgtPrompt$ Select target creature that must block this creature this turn | SpellDescription$ Target creature blocks CARDNAME this turn if able. Activate this ability only if creatures you control have total power 8 or greater. SVar:FormidableTest:Count$SumPower_Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/lurking_arynx.jpg Oracle:Formidable — {2}{G}: Target creature blocks Lurking Arynx this turn if able. Activate this ability only if creatures you control have total power 8 or greater. diff --git a/forge-gui/res/cardsfolder/l/lurking_evil.txt b/forge-gui/res/cardsfolder/l/lurking_evil.txt index 0d5495132ed..7056fd2dc34 100644 --- a/forge-gui/res/cardsfolder/l/lurking_evil.txt +++ b/forge-gui/res/cardsfolder/l/lurking_evil.txt @@ -1,7 +1,7 @@ Name:Lurking Evil ManaCost:B B B Types:Enchantment -A:AB$ Animate | Cost$ PayLife | Types$ Creature,Horror | Power$ 4 | Toughness$ 4 | Keywords$ Flying | RemoveCardTypes$ True | Permanent$ True | CostDesc$ Pay half your life, rounded up: | References$ X | SpellDescription$ CARDNAME becomes a 4/4 Horror creature with flying. +A:AB$ Animate | Cost$ PayLife | Types$ Creature,Horror | Power$ 4 | Toughness$ 4 | Keywords$ Flying | RemoveCardTypes$ True | Permanent$ True | CostDesc$ Pay half your life, rounded up: | SpellDescription$ CARDNAME becomes a 4/4 Horror creature with flying. SVar:X:Count$YourLifeTotal/HalfUp AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/lurking_evil.jpg diff --git a/forge-gui/res/cardsfolder/l/lurking_predators.txt b/forge-gui/res/cardsfolder/l/lurking_predators.txt index a214f98eec8..eb3b6deada5 100644 --- a/forge-gui/res/cardsfolder/l/lurking_predators.txt +++ b/forge-gui/res/cardsfolder/l/lurking_predators.txt @@ -3,7 +3,7 @@ ManaCost:4 G G Types:Enchantment T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ Whenever an opponent casts a spell, reveal the top card of your library. If it's a creature card, put it onto the battlefield. Otherwise, you may put that card on the bottom of your library. SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Creature | DestinationZone$ Battlefield | LibraryPosition2$ 0 | RememberChanged$ True | SubAbility$ DBDig -SVar:DBDig:DB$ Dig | DigNum$ 1 | DestinationZone$ Library | Optional$ True | LibraryPosition$ -1 | LibraryPosition2$ 0 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup | References$ X +SVar:DBDig:DB$ Dig | DigNum$ 1 | DestinationZone$ Library | Optional$ True | LibraryPosition$ -1 | LibraryPosition2$ 0 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup SVar:X:Remembered$Amount SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/lurking_predators.jpg diff --git a/forge-gui/res/cardsfolder/l/luxa_river_shrine.txt b/forge-gui/res/cardsfolder/l/luxa_river_shrine.txt index 890edf9ba6a..c82932ebd6f 100644 --- a/forge-gui/res/cardsfolder/l/luxa_river_shrine.txt +++ b/forge-gui/res/cardsfolder/l/luxa_river_shrine.txt @@ -3,7 +3,7 @@ ManaCost:3 Types:Artifact A:AB$ GainLife | Cost$ 1 T | LifeAmount$ 1 | SubAbility$ DBPutCounter | SpellDescription$ You gain 1 life. Put a brick counter on CARDNAME. SVar:DBPutCounter:DB$PutCounter | Defined$ Self | CounterType$ BRICK | CounterNum$ 1 -A:AB$ GainLife | Cost$ T | LifeAmount$ 2 | CheckSVar$ X | SVarCompare$ GE3 | References$ X | SpellDescription$ You gain 2 life. Activate this ability only if there are three or more brick counters on CARDNAME. +A:AB$ GainLife | Cost$ T | LifeAmount$ 2 | CheckSVar$ X | SVarCompare$ GE3 | SpellDescription$ You gain 2 life. Activate this ability only if there are three or more brick counters on CARDNAME. SVar:X:Count$CardCounters.BRICK SVar:Picture:http://www.wizards.com/global/images/magic/general/luxa_river_shrine.jpg Oracle:{1}, {T}: You gain 1 life. Put a brick counter on Luxa River Shrine.\n{T}: You gain 2 life. Activate this ability only if there are three or more brick counters on Luxa River Shrine. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/l/luxury_suite.txt b/forge-gui/res/cardsfolder/l/luxury_suite.txt index d1cd5b83421..436ac3b18a4 100644 --- a/forge-gui/res/cardsfolder/l/luxury_suite.txt +++ b/forge-gui/res/cardsfolder/l/luxury_suite.txt @@ -2,7 +2,7 @@ Name:Luxury Suite ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. SVar:ETBCheckSVar2:PlayerCountOpponents$Amount A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}. A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R}. diff --git a/forge-gui/res/cardsfolder/l/lys_alana_scarblade.txt b/forge-gui/res/cardsfolder/l/lys_alana_scarblade.txt index 3a0f0ca2b40..c6825529a73 100644 --- a/forge-gui/res/cardsfolder/l/lys_alana_scarblade.txt +++ b/forge-gui/res/cardsfolder/l/lys_alana_scarblade.txt @@ -2,7 +2,7 @@ Name:Lys Alana Scarblade ManaCost:2 B Types:Creature Elf Assassin PT:1/1 -A:AB$ Pump | Cost$ T Discard<1/Card.Elf/Elf> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of Elves you control. +A:AB$ Pump | Cost$ T Discard<1/Card.Elf/Elf> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of Elves you control. SVar:X:Count$Valid Elf.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/lys_alana_scarblade.jpg Oracle:{T}, Discard an Elf card: Target creature gets -X/-X until end of turn, where X is the number of Elves you control. diff --git a/forge-gui/res/cardsfolder/l/lyzolda_the_blood_witch.txt b/forge-gui/res/cardsfolder/l/lyzolda_the_blood_witch.txt index f5298cfd5ca..121f8961d4e 100644 --- a/forge-gui/res/cardsfolder/l/lyzolda_the_blood_witch.txt +++ b/forge-gui/res/cardsfolder/l/lyzolda_the_blood_witch.txt @@ -2,8 +2,8 @@ Name:Lyzolda, the Blood Witch ManaCost:1 B R Types:Legendary Creature Human Cleric PT:3/1 -A:AB$DealDamage | Cost$ 2 Sac<1/Creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBDraw | References$ X | SpellDescription$ CARDNAME deals 2 damage to any target if the sacrificed creature was red. Draw a card if the sacrificed creature was black. -SVar:DBDraw:DB$Draw | NumCards$ 1 | Defined$ You | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | References$ Y +A:AB$DealDamage | Cost$ 2 Sac<1/Creature> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBDraw | SpellDescription$ CARDNAME deals 2 damage to any target if the sacrificed creature was red. Draw a card if the sacrificed creature was black. +SVar:DBDraw:DB$Draw | NumCards$ 1 | Defined$ You | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 SVar:X:Sacrificed$Valid Creature.Red SVar:Y:Sacrificed$Valid Creature.Black AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/l/lyzolda_the_blood_witch_avatar.txt b/forge-gui/res/cardsfolder/l/lyzolda_the_blood_witch_avatar.txt index 2a4b0797e6e..907b97d3736 100644 --- a/forge-gui/res/cardsfolder/l/lyzolda_the_blood_witch_avatar.txt +++ b/forge-gui/res/cardsfolder/l/lyzolda_the_blood_witch_avatar.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Vanguard HandLifeModifier:-1/-1 R:Event$ DamageDone | ValidSource$ Card.YouCtrl,Emblem.YouCtrl | ValidTarget$ Permanent,Player | Hellbent$ True | ReplaceWith$ DmgTwice | Description$ Hellbent — As long as you have no cards in hand, if a source you control would deal damage to a permanent or player, it deals double that damage to that permanent or player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Command | Hellbent$ True | Execute$ LyzoldasDiscard | TriggerDescription$ Hellbent — At the beginning of your end step, if you have no cards in hand, each of your opponents discards a card. SVar:LyzoldasDiscard:DB$ Discard | Defined$ Player.Opponent | NumCards$ 1 | Mode$ TgtChoose diff --git a/forge-gui/res/cardsfolder/m/machinate.txt b/forge-gui/res/cardsfolder/m/machinate.txt index d75b555b74e..e493b304160 100644 --- a/forge-gui/res/cardsfolder/m/machinate.txt +++ b/forge-gui/res/cardsfolder/m/machinate.txt @@ -1,7 +1,7 @@ Name:Machinate ManaCost:1 U U Types:Instant -A:SP$ Dig | Cost$ 1 U U | DigNum$ X | References$ X | SpellDescription$ Look at the top X cards of your library, where X is the number of artifacts you control. Put one of those cards into your hand and the rest on the bottom of your library in any order. +A:SP$ Dig | Cost$ 1 U U | DigNum$ X | SpellDescription$ Look at the top X cards of your library, where X is the number of artifacts you control. Put one of those cards into your hand and the rest on the bottom of your library in any order. SVar:X:Count$Valid Artifact.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/machinate.jpg Oracle:Look at the top X cards of your library, where X is the number of artifacts you control. Put one of those cards into your hand and the rest on the bottom of your library in any order. diff --git a/forge-gui/res/cardsfolder/m/mad_dog.txt b/forge-gui/res/cardsfolder/m/mad_dog.txt index 5fe76cb35c7..fb57c241207 100644 --- a/forge-gui/res/cardsfolder/m/mad_dog.txt +++ b/forge-gui/res/cardsfolder/m/mad_dog.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Dog PT:2/2 T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | Execute$ TrigSacrifice | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your end step, if CARDNAME didn't attack or come under your control this turn, sacrifice it. -SVar:TrigSacrifice:DB$ Sacrifice | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X,Y,Z +SVar:TrigSacrifice:DB$ Sacrifice | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 SVar:Y:Count$ThisTurnEntered_Battlefield_Card.Self SVar:Z:Count$Valid Card.Self+attackedThisTurn SVar:X:SVar$Y/Plus.Z diff --git a/forge-gui/res/cardsfolder/m/madcap_experiment.txt b/forge-gui/res/cardsfolder/m/madcap_experiment.txt index 5a8d5576d6a..4cffb368ffa 100644 --- a/forge-gui/res/cardsfolder/m/madcap_experiment.txt +++ b/forge-gui/res/cardsfolder/m/madcap_experiment.txt @@ -2,7 +2,7 @@ Name:Madcap Experiment ManaCost:3 R Types:Sorcery A:SP$ DigUntil | Cost$ 3 R | Valid$ Artifact | ValidDescription$ artifact | FoundDestination$ Battlefield | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | RevealRandomOrder$ True | RememberRevealed$ True | SubAbility$ DBDealDamage | SpellDescription$ Reveal cards from the top of your library until you reveal an artifact card. Put that card onto the battlefield and the rest on the bottom of your library in a random order. Madcap Experiment deals damage to you equal to the number of cards revealed this way. -SVar:DBDealDamage:DB$DealDamage | Defined$ You | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDealDamage:DB$DealDamage | Defined$ You | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/madcap_experiment.jpg diff --git a/forge-gui/res/cardsfolder/m/maddening_cacophony.txt b/forge-gui/res/cardsfolder/m/maddening_cacophony.txt index 0713963ca64..ff24a3ed476 100755 --- a/forge-gui/res/cardsfolder/m/maddening_cacophony.txt +++ b/forge-gui/res/cardsfolder/m/maddening_cacophony.txt @@ -3,8 +3,8 @@ ManaCost:1 U Types:Sorcery K:Kicker:3 U A:SP$ RepeatEach | Cost$ 1 U | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBMill | SpellDescription$ Each opponent mills eight cards. If this spell was kicked, instead each opponent mills half their library, rounded up. -SVar:DBMill:DB$ Mill | Defined$ Player.IsRemembered | NumCards$ 8 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBMillKicked -SVar:DBMillKicked:DB$ Mill | Defined$ Player.IsRemembered | NumCards$ Y | Condition$ Kicked | References$ Y +SVar:DBMill:DB$ Mill | Defined$ Player.IsRemembered | NumCards$ 8 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBMillKicked +SVar:DBMillKicked:DB$ Mill | Defined$ Player.IsRemembered | NumCards$ Y | Condition$ Kicked SVar:X:Count$TimesKicked SVar:Y:PlayerCountRemembered$CardsInLibrary/HalfUp DeckHas:Ability$Mill diff --git a/forge-gui/res/cardsfolder/m/maga_traitor_to_mortals.txt b/forge-gui/res/cardsfolder/m/maga_traitor_to_mortals.txt index 26a473f4fc6..e7bfe372d41 100644 --- a/forge-gui/res/cardsfolder/m/maga_traitor_to_mortals.txt +++ b/forge-gui/res/cardsfolder/m/maga_traitor_to_mortals.txt @@ -5,7 +5,7 @@ PT:0/0 K:etbCounter:P1P1:X SVar:X:Count$xPaid T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDrain | TriggerDescription$ When CARDNAME enters the battlefield, target player loses life equal to the number of +1/+1 counters on it. -SVar:TrigDrain:DB$LoseLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ Y | References$ Y +SVar:TrigDrain:DB$LoseLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ Y SVar:Y:Count$CardCounters.P1P1 SVar:Picture:http://www.wizards.com/global/images/magic/general/maga_traitor_to_mortals.jpg Oracle:Maga, Traitor to Mortals enters the battlefield with X +1/+1 counters on it.\nWhen Maga enters the battlefield, target player loses life equal to the number of +1/+1 counters on it. diff --git a/forge-gui/res/cardsfolder/m/mage_ring_network.txt b/forge-gui/res/cardsfolder/m/mage_ring_network.txt index ed990302f17..e5e5f296b5b 100644 --- a/forge-gui/res/cardsfolder/m/mage_ring_network.txt +++ b/forge-gui/res/cardsfolder/m/mage_ring_network.txt @@ -3,6 +3,6 @@ ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. A:AB$ PutCounter | Cost$ 1 T | CounterType$ STORAGE | CounterNum$ 1 | SpellDescription$ Put a storage counter on CARDNAME. -A:AB$ Mana | Cost$ T SubCounter | Produced$ C | Amount$ X | CostDesc$ {T}, Remove X storage counters from CARDNAME: | References$ X | AILogic$ ManaRitualBattery | AINoRecursiveCheck$ True | SpellDescription$ Add {C} for each storage counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ C | Amount$ X | CostDesc$ {T}, Remove X storage counters from CARDNAME: | AILogic$ ManaRitualBattery | AINoRecursiveCheck$ True | SpellDescription$ Add {C} for each storage counter removed this way. SVar:X:Count$xPaid Oracle:{T}: Add {C}.\n{1}, {T}: Put a storage counter on Mage-Ring Network.\n{T}, Remove any number of storage counters from Mage-Ring Network: Add {C} for each storage counter removed this way. diff --git a/forge-gui/res/cardsfolder/m/mage_slayer.txt b/forge-gui/res/cardsfolder/m/mage_slayer.txt index 8c42ced693a..07aee4965c4 100644 --- a/forge-gui/res/cardsfolder/m/mage_slayer.txt +++ b/forge-gui/res/cardsfolder/m/mage_slayer.txt @@ -3,7 +3,7 @@ ManaCost:1 R G Types:Artifact Equipment K:Equip:3 T:Mode$ Attacks | ValidCard$ Card.AttachedBy | Execute$ TrigDamage | TriggerDescription$ Whenever equipped creature attacks, it deals damage equal to its power to defending player. -SVar:TrigDamage:DB$ DealDamage | Defined$ DefendingPlayer | DamageSource$ TriggeredAttackerLKICopy | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ DefendingPlayer | DamageSource$ TriggeredAttackerLKICopy | NumDmg$ X SVar:X:TriggeredAttacker$CardPower S:Mode$ Continuous | Affected$ Creature.AttachedBy | AddSVar$ AE SVar:AE:SVar:HasAttackEffect:TRUE diff --git a/forge-gui/res/cardsfolder/m/mages_contest.txt b/forge-gui/res/cardsfolder/m/mages_contest.txt index 60339732c52..e6786d27143 100644 --- a/forge-gui/res/cardsfolder/m/mages_contest.txt +++ b/forge-gui/res/cardsfolder/m/mages_contest.txt @@ -2,7 +2,7 @@ Name:Mages' Contest ManaCost:1 R R Types:Instant A:SP$ BidLife | Cost$ 1 R R | TargetType$ Spell | ValidTgts$ Card | TgtZone$ Stack | OtherBidder$ TargetedController | StartBidding$ 1 | AILogic$ Min | AIBidMax$ 8 | BidSubAbility$ DBLoseLife | SpellDescription$ You and target spell's controller bid life. You start the bidding with a bid of 1. In turn order, each player may top the high bid. The bidding ends if the high bid stands. The high bidder loses life equal to the high bid. If you win the bidding, counter that spell. -SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X | References$ X | SubAbility$ DBCounter +SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X | SubAbility$ DBCounter SVar:DBCounter:DB$ Counter | Defined$ Targeted | ConditionPlayerDefined$ Remembered | ConditionPlayerContains$ You SVar:X:Count$ChosenNumber SVar:Picture:http://www.wizards.com/global/images/magic/general/mages_contest.jpg diff --git a/forge-gui/res/cardsfolder/m/magma_burst.txt b/forge-gui/res/cardsfolder/m/magma_burst.txt index 670beb71035..056b5466d8e 100644 --- a/forge-gui/res/cardsfolder/m/magma_burst.txt +++ b/forge-gui/res/cardsfolder/m/magma_burst.txt @@ -2,7 +2,7 @@ Name:Magma Burst ManaCost:3 R Types:Instant K:Kicker:Sac<2/Land> -A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | TargetMin$ X | TargetMax$ X | References$ X | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to any target. If this spell was kicked, it deals 3 damage to another target. +A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | TargetMin$ X | TargetMax$ X | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to any target. If this spell was kicked, it deals 3 damage to another target. SVar:X:Count$Kicked.2.1 SVar:NeedsToPlayKickedVar:Z GE2 SVar:Z:Count$Valid Creature.OppCtrl/Plus.Z1 diff --git a/forge-gui/res/cardsfolder/m/magma_mine.txt b/forge-gui/res/cardsfolder/m/magma_mine.txt index a35a7e8be39..e6ff0308ed2 100644 --- a/forge-gui/res/cardsfolder/m/magma_mine.txt +++ b/forge-gui/res/cardsfolder/m/magma_mine.txt @@ -2,7 +2,7 @@ Name:Magma Mine ManaCost:1 Types:Artifact A:AB$ PutCounter | Cost$ 4 | CounterType$ PRESSURE | CounterNum$ 1 | SpellDescription$ Put a pressure counter on CARDNAME. -A:AB$ DealDamage | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ It deals damage equal to the number of pressure counters on it to any target. +A:AB$ DealDamage | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ It deals damage equal to the number of pressure counters on it to any target. SVar:X:Count$CardCounters.PRESSURE SVar:Picture:http://www.wizards.com/global/images/magic/general/magma_mine.jpg Oracle:{4}: Put a pressure counter on Magma Mine.\n{T}, Sacrifice Magma Mine: It deals damage equal to the number of pressure counters on it to any target. diff --git a/forge-gui/res/cardsfolder/m/magma_sliver.txt b/forge-gui/res/cardsfolder/m/magma_sliver.txt index 3bcda39c85a..8007ed48493 100644 --- a/forge-gui/res/cardsfolder/m/magma_sliver.txt +++ b/forge-gui/res/cardsfolder/m/magma_sliver.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Creature Sliver PT:3/3 S:Mode$ Continuous | Affected$ Sliver | AddAbility$ Pump | AddSVar$ SliversOnBattlefield | Description$ All Slivers have "{T}: Target Sliver creature gets +X/+0 until end of turn, where X is the number of Slivers on the battlefield." -SVar:Pump:AB$ Pump | Cost$ T | ValidTgts$ Creature.Sliver | TgtPrompt$ Select target Sliver creature | NumAtt$ SliversOnBattlefield | References$ SliversOnBattlefield | SpellDescription$ Target Sliver creature gets +X/+0 until end of turn, where X is the number of Slivers on the battlefield. +SVar:Pump:AB$ Pump | Cost$ T | ValidTgts$ Creature.Sliver | TgtPrompt$ Select target Sliver creature | NumAtt$ SliversOnBattlefield | SpellDescription$ Target Sliver creature gets +X/+0 until end of turn, where X is the number of Slivers on the battlefield. SVar:SliversOnBattlefield:Count$Valid Sliver SVar:PlayMain1:TRUE SVar:BuffedBy:Sliver diff --git a/forge-gui/res/cardsfolder/m/magmaquake.txt b/forge-gui/res/cardsfolder/m/magmaquake.txt index 7a5cdfb646c..05629ab4b08 100644 --- a/forge-gui/res/cardsfolder/m/magmaquake.txt +++ b/forge-gui/res/cardsfolder/m/magmaquake.txt @@ -1,7 +1,7 @@ Name:Magmaquake ManaCost:X R R Types:Instant -A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature.withoutFlying,Planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying and to each planeswalker. +A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature.withoutFlying,Planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying and to each planeswalker. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/magmaquake.jpg Oracle:Magmaquake deals X damage to each creature without flying and each planeswalker. diff --git a/forge-gui/res/cardsfolder/m/magmasaur.txt b/forge-gui/res/cardsfolder/m/magmasaur.txt index 20640e84533..ece8302c754 100644 --- a/forge-gui/res/cardsfolder/m/magmasaur.txt +++ b/forge-gui/res/cardsfolder/m/magmasaur.txt @@ -5,7 +5,7 @@ PT:0/0 K:etbCounter:P1P1:5 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ SelfDestruct | TriggerDescription$ At the beginning of your upkeep, you may remove a +1/+1 counter from CARDNAME. If you don't, sacrifice CARDNAME and it deals damage equal to the number of +1/+1 counters on it to each creature without flying and each player. SVar:SelfDestruct:DB$ Sacrifice | Defined$ Self | RememberSacrificed$ True | UnlessCost$ SubCounter<1/P1P1> | UnlessPayer$ You | SubAbility$ LetEmHaveIt -SVar:LetEmHaveIt:DB$ DamageAll | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | References$ X | ConditionDefined$ Remembered | ConditionPresent$ Card | SubAbility$ DBCleanup +SVar:LetEmHaveIt:DB$ DamageAll | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | ConditionDefined$ Remembered | ConditionPresent$ Card | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$CardCounters.P1P1 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/magmatic_core.txt b/forge-gui/res/cardsfolder/m/magmatic_core.txt index 2a701170984..27a880e1f27 100644 --- a/forge-gui/res/cardsfolder/m/magmatic_core.txt +++ b/forge-gui/res/cardsfolder/m/magmatic_core.txt @@ -3,7 +3,7 @@ ManaCost:2 R R Types:Enchantment K:Cumulative upkeep:1 T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ MagmaticDamage | TriggerDescription$ At the beginning of your end step, CARDNAME deals X damage divided as you choose among any number of target creatures, where X is the number of age counters on it. -SVar:MagmaticDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature to distribute damage to | NumDmg$ CoreStrength | TargetMin$ Min | TargetMax$ CoreStrength | References$ Min,CoreStrength | DividedAsYouChoose$ CoreStrength +SVar:MagmaticDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature to distribute damage to | NumDmg$ CoreStrength | TargetMin$ Min | TargetMax$ CoreStrength | DividedAsYouChoose$ CoreStrength SVar:CoreStrength:Count$CardCounters.AGE SVar:Min:SVar$CoreStrength/LimitMax.1 AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/m/magnetic_mountain.txt b/forge-gui/res/cardsfolder/m/magnetic_mountain.txt index c74968ad37e..d8101eb277e 100644 --- a/forge-gui/res/cardsfolder/m/magnetic_mountain.txt +++ b/forge-gui/res/cardsfolder/m/magnetic_mountain.txt @@ -3,7 +3,7 @@ ManaCost:1 R R Types:Enchantment S:Mode$ Continuous | Affected$ Creature.Blue | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | Description$ Blue creatures don't untap during their controllers' untap steps. T:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | Execute$ TrigChoose | TriggerDescription$ At the beginning of each player's upkeep, that player may choose any number of tapped blue creatures they control and pay {4} for each creature chosen this way. If the player does, untap those creatures. -SVar:TrigChoose:DB$ ChooseCard | Defined$ TriggeredPlayer | Amount$ X | References$ X | Choices$ Creature.tapped+Blue | TargetControls$ True | ChoiceTitle$ Choose any number of tapped blue creatures you control | ChoiceZone$ Battlefield | SubAbility$ DBUntap +SVar:TrigChoose:DB$ ChooseCard | Defined$ TriggeredPlayer | Amount$ X | Choices$ Creature.tapped+Blue | TargetControls$ True | ChoiceTitle$ Choose any number of tapped blue creatures you control | ChoiceZone$ Battlefield | SubAbility$ DBUntap SVar:DBUntap:DB$ RepeatEach | DefinedCards$ ChosenCard | RepeatSubAbility$ UntapEach SVar:UntapEach:DB$ Untap | Defined$ Remembered | UnlessCost$ 4 | UnlessPayer$ RememberedController | UnlessSwitched$ True | ShowCurrentCard$ Remembered SVar:X:Count$Valid Creature.tapped+Blue+ActivePlayerCtrl diff --git a/forge-gui/res/cardsfolder/m/magnigoth_treefolk.txt b/forge-gui/res/cardsfolder/m/magnigoth_treefolk.txt index 0550d4582a4..9b71d0eef5c 100644 --- a/forge-gui/res/cardsfolder/m/magnigoth_treefolk.txt +++ b/forge-gui/res/cardsfolder/m/magnigoth_treefolk.txt @@ -2,11 +2,11 @@ Name:Magnigoth Treefolk ManaCost:4 G Types:Creature Treefolk PT:2/6 -S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Plainswalk | CheckSVar$ P | SVarCompare$ GE1 | References$ P | Description$ Domain — For each basic land type among lands you control, CARDNAME has landwalk of that type -S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Islandwalk | CheckSVar$ I | SVarCompare$ GE1 | References$ I -S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Swampwalk | CheckSVar$ S | SVarCompare$ GE1 | References$ S -S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Mountainwalk | CheckSVar$ M | SVarCompare$ GE1 | References$ M -S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Forestwalk | CheckSVar$ F | SVarCompare$ GE1 | References$ F +S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Plainswalk | CheckSVar$ P | SVarCompare$ GE1 | Description$ Domain — For each basic land type among lands you control, CARDNAME has landwalk of that type +S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Islandwalk | CheckSVar$ I | SVarCompare$ GE1 +S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Swampwalk | CheckSVar$ S | SVarCompare$ GE1 +S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Mountainwalk | CheckSVar$ M | SVarCompare$ GE1 +S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Forestwalk | CheckSVar$ F | SVarCompare$ GE1 SVar:P:Count$Valid Plains.YouCtrl SVar:I:Count$Valid Island.YouCtrl SVar:S:Count$Valid Swamp.YouCtrl diff --git a/forge-gui/res/cardsfolder/m/magnivore.txt b/forge-gui/res/cardsfolder/m/magnivore.txt index da28ed3cc19..e98d0458e77 100644 --- a/forge-gui/res/cardsfolder/m/magnivore.txt +++ b/forge-gui/res/cardsfolder/m/magnivore.txt @@ -3,7 +3,7 @@ ManaCost:2 R R Types:Creature Lhurgoyf PT:*/* K:Haste -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of sorcery cards in all graveyards. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of sorcery cards in all graveyards. SVar:X:Count$TypeInAllYards.Sorcery SVar:NeedsToPlayVar:X GE2 AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/m/magus_of_the_candelabra.txt b/forge-gui/res/cardsfolder/m/magus_of_the_candelabra.txt index ea28754148e..615e9c5847f 100644 --- a/forge-gui/res/cardsfolder/m/magus_of_the_candelabra.txt +++ b/forge-gui/res/cardsfolder/m/magus_of_the_candelabra.txt @@ -2,7 +2,7 @@ Name:Magus of the Candelabra ManaCost:G Types:Creature Human Wizard PT:1/2 -A:AB$ Untap | Cost$ X T | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Land | TgtPrompt$ Select X target lands | SpellDescription$ Untap X target lands. +A:AB$ Untap | Cost$ X T | TargetMin$ X | TargetMax$ X | ValidTgts$ Land | TgtPrompt$ Select X target lands | SpellDescription$ Untap X target lands. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{X}, {T}: Untap X target lands. diff --git a/forge-gui/res/cardsfolder/m/magus_of_the_coffers.txt b/forge-gui/res/cardsfolder/m/magus_of_the_coffers.txt index 3d3657d373b..d318431676a 100644 --- a/forge-gui/res/cardsfolder/m/magus_of_the_coffers.txt +++ b/forge-gui/res/cardsfolder/m/magus_of_the_coffers.txt @@ -2,7 +2,7 @@ Name:Magus of the Coffers ManaCost:4 B Types:Creature Human Wizard PT:4/4 -A:AB$ Mana | Cost$ 2 T | Produced$ B | Amount$ X | References$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {B} for each Swamp you control. +A:AB$ Mana | Cost$ 2 T | Produced$ B | Amount$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {B} for each Swamp you control. SVar:X:Count$Valid Swamp.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/magus_of_the_coffers.jpg Oracle:{2}, {T}: Add {B} for each Swamp you control. diff --git a/forge-gui/res/cardsfolder/m/magus_of_the_mind.txt b/forge-gui/res/cardsfolder/m/magus_of_the_mind.txt index b0563602d05..c45fd01d262 100644 --- a/forge-gui/res/cardsfolder/m/magus_of_the_mind.txt +++ b/forge-gui/res/cardsfolder/m/magus_of_the_mind.txt @@ -3,8 +3,8 @@ ManaCost:4 U U Types:Creature Human Wizard PT:4/5 A:AB$ Shuffle | Cost$ U T Sac<1/CARDNAME> | SubAbility$ DBExile | SpellDescription$ Shuffle your library, then exile the top X cards, where X is one plus the number of spells cast this turn. Until end of turn, you may play lands and cast spells from among cards exiled this way without paying their mana costs. -SVar:DBExile:DB$ Dig | Defined$ You | DestinationZone$ Exile | DigNum$ X | ChangeNum$ All | References$ X | RememberChanged$ True | SubAbility$ DBEffect -SVar:DBEffect:DB$ Effect | RememberObjects$ Remembered | StaticAbilities$ Play | References$ Play | SubAbility$ DBCleanup | ForgetOnMoved$ Exile +SVar:DBExile:DB$ Dig | Defined$ You | DestinationZone$ Exile | DigNum$ X | ChangeNum$ All | RememberChanged$ True | SubAbility$ DBEffect +SVar:DBEffect:DB$ Effect | RememberObjects$ Remembered | StaticAbilities$ Playlay | SubAbility$ DBCleanup | ForgetOnMoved$ Exile SVar:Play:Mode$ Continuous | MayPlay$ True | MayPlayWithoutManaCost$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ThisTurnCast_Card/Plus.1 diff --git a/forge-gui/res/cardsfolder/m/majestic_myriarch.txt b/forge-gui/res/cardsfolder/m/majestic_myriarch.txt index 87b7b8c0e28..1860b94b30b 100644 --- a/forge-gui/res/cardsfolder/m/majestic_myriarch.txt +++ b/forge-gui/res/cardsfolder/m/majestic_myriarch.txt @@ -2,7 +2,7 @@ Name:Majestic Myriarch ManaCost:4 G Types:Creature Chimera PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to twice the number of creatures you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to twice the number of creatures you control. T:Mode$ Phase | Phase$ BeginCombat | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ At the beginning of each combat, CARDNAME gains flying until end of turn if you control a creature with flying. The same is true for first strike, double strike, deathtouch, haste, hexproof, indestructible, lifelink, menace, reach, trample, and vigilance. SVar:TrigPump:DB$ Pump | Defined$ Self | KW$ First Strike & Flying & Deathtouch & Double Strike & Haste & Hexproof & Indestructible & Lifelink & Menace & Reach & Trample & Vigilance | SharedKeywordsZone$ Battlefield | SharedRestrictions$ Creature.YouCtrl SVar:X:Count$Valid Creature.YouCtrl/Twice diff --git a/forge-gui/res/cardsfolder/m/make_yourself_useful.txt b/forge-gui/res/cardsfolder/m/make_yourself_useful.txt index a7d8a12e20b..b931d73a49d 100644 --- a/forge-gui/res/cardsfolder/m/make_yourself_useful.txt +++ b/forge-gui/res/cardsfolder/m/make_yourself_useful.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Scheme T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ MakeUseful | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, destroy target creature an opponent controls. If a creature is destroyed this way, you gain life equal to its toughness. SVar:MakeUseful:DB$ Destroy | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | RememberLKI$ True | SubAbility$ DBGainLife -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardToughness SVar:Picture:https://downloads.cardforge.org/images/cards/E01/Make Yourself Useful.full.jpg diff --git a/forge-gui/res/cardsfolder/m/malakir_blood_priest.txt b/forge-gui/res/cardsfolder/m/malakir_blood_priest.txt index ef8da8b58c6..0e8abb99e9e 100755 --- a/forge-gui/res/cardsfolder/m/malakir_blood_priest.txt +++ b/forge-gui/res/cardsfolder/m/malakir_blood_priest.txt @@ -3,8 +3,8 @@ ManaCost:1 B Types:Creature Vampire Cleric PT:2/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerDescription$ When CARDNAME enters the battlefield, each opponent loses X life and you gain X life, where X is the number of creatures in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -SVar:TrigLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | References$ X | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | SubAbility$ DBGainLife +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Party DeckHas:Ability$Party & Ability$LifeGain DeckHints:Type$Rogue|Warrior|Wizard diff --git a/forge-gui/res/cardsfolder/m/malakir_bloodwitch.txt b/forge-gui/res/cardsfolder/m/malakir_bloodwitch.txt index 040a1ae8f16..1f3c54a2a09 100644 --- a/forge-gui/res/cardsfolder/m/malakir_bloodwitch.txt +++ b/forge-gui/res/cardsfolder/m/malakir_bloodwitch.txt @@ -5,7 +5,7 @@ PT:4/4 K:Flying K:Protection from white T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerDescription$ When CARDNAME enters the battlefield, each opponent loses life equal to the number of Vampires you control. You gain life equal to the life lost this way. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | References$ X | SubAbility$ DBGainLife +SVar:TrigLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | SubAbility$ DBGainLife SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ AFLifeLost SVar:AFLifeLost:Number$0 #AFLifeLost will be set by LoseLife diff --git a/forge-gui/res/cardsfolder/m/malcolm_keen_eyed_navigator.txt b/forge-gui/res/cardsfolder/m/malcolm_keen_eyed_navigator.txt index ddd59fc8fb0..a6d9a548fe0 100644 --- a/forge-gui/res/cardsfolder/m/malcolm_keen_eyed_navigator.txt +++ b/forge-gui/res/cardsfolder/m/malcolm_keen_eyed_navigator.txt @@ -5,7 +5,7 @@ PT:2/2 K:Flying K:Partner T:Mode$ DamageAll | ValidSource$ Pirate.YouCtrl | ValidTarget$ Opponent | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever one or more Pirates you control deal damage to your opponents, you create a Treasure token for each opponent dealt damage. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ c_a_treasure_sac | TokenOwner$ You +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ c_a_treasure_sac | TokenOwner$ You SVar:X:TriggeredPlayersTargets$Amount DeckHints:Type$Pirate DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/m/malefic_scythe.txt b/forge-gui/res/cardsfolder/m/malefic_scythe.txt index 3c4f36f5f0e..7228ab749ff 100755 --- a/forge-gui/res/cardsfolder/m/malefic_scythe.txt +++ b/forge-gui/res/cardsfolder/m/malefic_scythe.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Artifact Equipment K:etbCounter:SOUL:1 DeckHas:Ability$Counters -S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ Equipped creature gets +1/+1 for each soul counter on CARDNAME. +S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ X | AddToughness$ X | Description$ Equipped creature gets +1/+1 for each soul counter on CARDNAME. SVar:X:Count$CardCounters.SOUL T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.EquippedBy | Execute$ TrigPutCounter | TriggerDescription$ Whenever equipped creature dies, put a soul counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ SOUL | CounterNum$ 1 | ConditionPresent$ Card.StrictlySelf diff --git a/forge-gui/res/cardsfolder/m/malfegor.txt b/forge-gui/res/cardsfolder/m/malfegor.txt index 5303d0ae589..15c7b84e403 100644 --- a/forge-gui/res/cardsfolder/m/malfegor.txt +++ b/forge-gui/res/cardsfolder/m/malfegor.txt @@ -5,7 +5,7 @@ PT:6/6 K:Flying T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, discard your hand. Each opponent sacrifices a creature for each card discarded this way. SVar:TrigDiscard:DB$ Discard | Mode$ Hand | RememberDiscarded$ True | SubAbility$ DBSacrifice -SVar:DBSacrifice:DB$ Sacrifice | Defined$ Player.Opponent | SacValid$ Creature | SacMessage$ Creature | Amount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBSacrifice:DB$ Sacrifice | Defined$ Player.Opponent | SacValid$ Creature | SacMessage$ Creature | Amount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/malfegor.jpg diff --git a/forge-gui/res/cardsfolder/m/malicious_advice.txt b/forge-gui/res/cardsfolder/m/malicious_advice.txt index ab3361e188c..95f683a3a04 100644 --- a/forge-gui/res/cardsfolder/m/malicious_advice.txt +++ b/forge-gui/res/cardsfolder/m/malicious_advice.txt @@ -1,8 +1,8 @@ Name:Malicious Advice ManaCost:X U B Types:Instant -A:SP$ Tap | Cost$ X U B | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Artifact,Creature,Land | TgtPrompt$ Select X target artifacts, creatures, or lands | SpellDescription$ Tap X target artifacts, creatures, and/or lands. You lose X life. | SubAbility$ Drain -SVar:Drain:DB$ LoseLife | LifeAmount$ X | References$ X +A:SP$ Tap | Cost$ X U B | TargetMin$ X | TargetMax$ X | ValidTgts$ Artifact,Creature,Land | TgtPrompt$ Select X target artifacts, creatures, or lands | SpellDescription$ Tap X target artifacts, creatures, and/or lands. You lose X life. | SubAbility$ Drain +SVar:Drain:DB$ LoseLife | LifeAmount$ X SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Tap X target artifacts, creatures, and/or lands. You lose X life. diff --git a/forge-gui/res/cardsfolder/m/malignant_growth.txt b/forge-gui/res/cardsfolder/m/malignant_growth.txt index a5771726c54..468bfbb7157 100644 --- a/forge-gui/res/cardsfolder/m/malignant_growth.txt +++ b/forge-gui/res/cardsfolder/m/malignant_growth.txt @@ -5,8 +5,8 @@ K:Cumulative upkeep:1 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, put a growth counter on CARDNAME. T:Mode$ Phase | Phase$ Draw | ValidPlayer$ Opponent | Execute$ TrigDraw | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each opponent's draw step, that player draws an additional card for each growth counter on CARDNAME, then CARDNAME deals damage to the player equal to the number of cards they drew this way. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ GROWTH | CounterNum$ 1 -SVar:TrigDraw:DB$ Draw | Defined$ TriggeredPlayer | NumCards$ X | References$ X | SubAbility$ DBDamage -SVar:DBDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ TriggeredPlayer | NumCards$ X | SubAbility$ DBDamage +SVar:DBDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:Count$CardCounters.GROWTH AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/malignant_growth.jpg diff --git a/forge-gui/res/cardsfolder/m/malignus.txt b/forge-gui/res/cardsfolder/m/malignus.txt index b91bdf0251d..c3c5c5730d3 100644 --- a/forge-gui/res/cardsfolder/m/malignus.txt +++ b/forge-gui/res/cardsfolder/m/malignus.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Creature Elemental Spirit PT:*/* S:Mode$ CantPreventDamage | ValidSource$ Card.Self | Description$ Damage that would be dealt by CARDNAME can't be prevented. -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X,Y | Description$ CARDNAME's power and toughness are each equal to half the highest life total among your opponents, rounded up. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to half the highest life total among your opponents, rounded up. SVar:Y:PlayerCountOpponents$HighestLifeTotal SVar:X:SVar$Y/HalfUp SVar:Picture:http://www.wizards.com/global/images/magic/general/malignus.jpg diff --git a/forge-gui/res/cardsfolder/m/mana_cache.txt b/forge-gui/res/cardsfolder/m/mana_cache.txt index 3303098c269..8c9d4e97b73 100644 --- a/forge-gui/res/cardsfolder/m/mana_cache.txt +++ b/forge-gui/res/cardsfolder/m/mana_cache.txt @@ -2,7 +2,7 @@ Name:Mana Cache ManaCost:1 R R Types:Enchantment T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Player | Execute$ TrigCounters | TriggerDescription$ At the beginning of each player's end step, put a charge counter on CARDNAME for each untapped land that player controls. -SVar:TrigCounters:DB$ PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ X | References$ X +SVar:TrigCounters:DB$ PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ X SVar:X:Count$Valid Land.ActivePlayerCtrl+untapped A:AB$ Mana | Cost$ SubCounter<1/CHARGE> | Produced$ C | Activator$ Player | PlayerTurn$ True | ActivationPhases$ Upkeep->Main2 | SpellDescription$ Add {C}. Any player may activate this ability but only during their turn before the end step. AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/mana_charged_dragon.txt b/forge-gui/res/cardsfolder/m/mana_charged_dragon.txt index 0c16427568e..589d6334d95 100644 --- a/forge-gui/res/cardsfolder/m/mana_charged_dragon.txt +++ b/forge-gui/res/cardsfolder/m/mana_charged_dragon.txt @@ -8,9 +8,9 @@ T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigJoinForces | TriggerDescri T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ TrigJoinForces | Secondary$ True | TriggerDescription$ Join forces — Whenever CARDNAME attacks or blocks, each player starting with you may pay any amount of mana. CARDNAME gets +X/+0 until end of turn, where X is the total amount of mana paid this way. SVar:TrigJoinForces:DB$ RepeatEach | RepeatPlayers$ Player | StartingWithActivator$ True | RepeatSubAbility$ DBPay | SubAbility$ DBPump SVar:DBPay:DB$ ChooseNumber | Defined$ Player.IsRemembered | ChooseAnyNumber$ True | ListTitle$ Pay Any Mana |SubAbility$ DBStore -SVar:DBStore:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ CountSVar | Expression$ JoinForcesAmount/Plus.X | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | UnlessAI$ OnlyOwn | References$ X,JoinForcesAmount -SVar:DBPump:DB$ Pump | Defined$ Self | NumAtt$ JoinForcesAmount | SubAbility$ DBReset | References$ JoinForcesAmount -SVar:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 | References$ JoinForcesAmount +SVar:DBStore:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ CountSVar | Expression$ JoinForcesAmount/Plus.X | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | UnlessAI$ OnlyOwn +SVar:DBPump:DB$ Pump | Defined$ Self | NumAtt$ JoinForcesAmount | SubAbility$ DBReset +SVar:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 SVar:X:Count$ChosenNumber SVar:JoinForcesAmount:Number$0 SVar:Picture:http://www.wizards.com/global/images/magic/general/mana_charged_dragon.jpg diff --git a/forge-gui/res/cardsfolder/m/mana_drain.txt b/forge-gui/res/cardsfolder/m/mana_drain.txt index 085b7acf2a7..8cfe18f23b5 100644 --- a/forge-gui/res/cardsfolder/m/mana_drain.txt +++ b/forge-gui/res/cardsfolder/m/mana_drain.txt @@ -4,7 +4,7 @@ Types:Instant A:SP$ Counter | Cost$ U U | TargetType$ Spell | RememberCounteredCMC$ True | ValidTgts$ Card | SubAbility$ DBDelTrig | SpellDescription$ Counter target spell. At the beginning of your next main phase, add {X}, where X is that spell's converted mana cost. SVar:DBDelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ Main1,Main2 | ValidPlayer$ You | Execute$ AddMana | TriggerDescription$ At the beginning of your next main phase, add an amount of {C} equal to that spell's converted mana cost. | RememberNumber$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:AddMana:DB$ Mana | Produced$ C | Amount$ X | References$ X +SVar:AddMana:DB$ Mana | Produced$ C | Amount$ X SVar:X:Count$TriggerRememberAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/mana_drain.jpg Oracle:Counter target spell. At the beginning of your next main phase, add an amount of {C} equal to that spell's converted mana cost. diff --git a/forge-gui/res/cardsfolder/m/mana_echoes.txt b/forge-gui/res/cardsfolder/m/mana_echoes.txt index 836c0a34357..104d88c7f82 100644 --- a/forge-gui/res/cardsfolder/m/mana_echoes.txt +++ b/forge-gui/res/cardsfolder/m/mana_echoes.txt @@ -2,7 +2,7 @@ Name:Mana Echoes ManaCost:2 R R Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature | TriggerZones$ Battlefield | TriggerController$ You | OptionalDecider$ You | Execute$ DBMana | TriggerDescription$ Whenever a creature enters the battlefield, you may add an amount of {C} equal to the number of creatures you control that share a creature type with it. -SVar:DBMana:DB$ Mana | Produced$ C | Defined$ You | Amount$ X | References$ X +SVar:DBMana:DB$ Mana | Produced$ C | Defined$ You | Amount$ X SVar:X:Count$Valid Creature.YouCtrl+sharesCreatureTypeWith TriggeredCard AI:RemoveDeck:Random Oracle:Whenever a creature enters the battlefield, you may add an amount of {C} equal to the number of creatures you control that share a creature type with it. diff --git a/forge-gui/res/cardsfolder/m/mana_geyser.txt b/forge-gui/res/cardsfolder/m/mana_geyser.txt index cf204724b6e..933694c35b1 100644 --- a/forge-gui/res/cardsfolder/m/mana_geyser.txt +++ b/forge-gui/res/cardsfolder/m/mana_geyser.txt @@ -1,7 +1,7 @@ Name:Mana Geyser ManaCost:3 R R Types:Sorcery -A:SP$ Mana | Cost$ 3 R R | Produced$ R | Amount$ X | References$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {R} for each tapped land your opponents control. +A:SP$ Mana | Cost$ 3 R R | Produced$ R | Amount$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {R} for each tapped land your opponents control. SVar:X:Count$Valid Land.tapped+OppCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/mana_geyser.jpg Oracle:Add {R} for each tapped land your opponents control. diff --git a/forge-gui/res/cardsfolder/m/mana_seism.txt b/forge-gui/res/cardsfolder/m/mana_seism.txt index 38c60d0960a..18b4b1a65ea 100644 --- a/forge-gui/res/cardsfolder/m/mana_seism.txt +++ b/forge-gui/res/cardsfolder/m/mana_seism.txt @@ -1,8 +1,8 @@ Name:Mana Seism ManaCost:1 R Types:Sorcery -A:SP$ Sacrifice | Cost$ 1 R | Defined$ You | Amount$ SacX | References$ SacX | SacValid$ Land | RememberSacrificed$ True | Optional$ True | SubAbility$ DBMana | SpellDescription$ Sacrifice any number of lands, then add that much {C}. -SVar:DBMana:DB$ Mana | Produced$ C | Amount$ X | References$ X | SubAbility$ DBCleanup +A:SP$ Sacrifice | Cost$ 1 R | Defined$ You | Amount$ SacXacX | SacValid$ Land | RememberSacrificed$ True | Optional$ True | SubAbility$ DBMana | SpellDescription$ Sacrifice any number of lands, then add that much {C}. +SVar:DBMana:DB$ Mana | Produced$ C | Amount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Land.YouCtrl SVar:X:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/m/mana_severance.txt b/forge-gui/res/cardsfolder/m/mana_severance.txt index 7a5d0dea9bb..adef3d6ffae 100644 --- a/forge-gui/res/cardsfolder/m/mana_severance.txt +++ b/forge-gui/res/cardsfolder/m/mana_severance.txt @@ -1,7 +1,7 @@ Name:Mana Severance ManaCost:1 U Types:Sorcery -A:SP$ ChangeZone | Cost$ 1 U | Origin$ Library | Destination$ Exile | ChangeType$ Land | ChangeNum$ XFetch | References$ XFetch | SpellDescription$ Search your library for any number of land cards and exile them. Then shuffle your library. +A:SP$ ChangeZone | Cost$ 1 U | Origin$ Library | Destination$ Exile | ChangeType$ Land | ChangeNum$ XFetch | SpellDescription$ Search your library for any number of land cards and exile them. Then shuffle your library. SVar:XFetch:Count$TypeInYourLibrary.Land AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/mana_severance.jpg diff --git a/forge-gui/res/cardsfolder/m/manaforce_mace.txt b/forge-gui/res/cardsfolder/m/manaforce_mace.txt index dcf3f2e9f35..5c0ee1ae859 100644 --- a/forge-gui/res/cardsfolder/m/manaforce_mace.txt +++ b/forge-gui/res/cardsfolder/m/manaforce_mace.txt @@ -2,7 +2,7 @@ Name:Manaforce Mace ManaCost:4 Types:Artifact Equipment K:Equip:3 -S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ Domain — Equipped creature gets +1/+1 for each basic land type among lands you control. +S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ X | Description$ Domain — Equipped creature gets +1/+1 for each basic land type among lands you control. SVar:X:Count$Domain SVar:BuffedBy:Plains,Island,Swamp,Mountain,Forest SVar:Picture:http://www.wizards.com/global/images/magic/general/manaforce_mace.jpg diff --git a/forge-gui/res/cardsfolder/m/manaplasm.txt b/forge-gui/res/cardsfolder/m/manaplasm.txt index 4b9aa8a38b8..cf5826dcd23 100644 --- a/forge-gui/res/cardsfolder/m/manaplasm.txt +++ b/forge-gui/res/cardsfolder/m/manaplasm.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Ooze PT:1/1 T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever you cast a spell, CARDNAME gets +X/+X until end of turn, where X is that spell's converted mana cost. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +X SVar:X:TriggerCount$CastSACMC SVar:BuffedBy:Card Oracle:Whenever you cast a spell, Manaplasm gets +X/+X until end of turn, where X is that spell's converted mana cost. diff --git a/forge-gui/res/cardsfolder/m/mangaras_equity.txt b/forge-gui/res/cardsfolder/m/mangaras_equity.txt index 4e67f48647e..bb47329ec1a 100644 --- a/forge-gui/res/cardsfolder/m/mangaras_equity.txt +++ b/forge-gui/res/cardsfolder/m/mangaras_equity.txt @@ -5,7 +5,7 @@ K:UpkeepCost:1 W K:ETBReplacement:Other:ChooseBlackOrRed SVar:ChooseBlackOrRed:DB$ ChooseColor | Defined$ You | Choices$ black,red | AILogic$ MostProminentHumanCreatures | SpellDescription$ As CARDNAME enters the battlefield, choose black or red. T:Mode$ DamageDone | ValidSource$ Creature.ChosenColor | ValidTarget$ Creature.White+YouCtrl,You | TriggerZones$ Battlefield | Execute$ MangarasRetribution | TriggerDescription$ Whenever a creature of the chosen color deals damage to you or a white creature you control, CARDNAME deals that much damage to that creature. -SVar:MangarasRetribution:DB$ DealDamage | Defined$ TriggeredSourceLKICopy | NumDmg$ MangaraX | References$ MangaraX +SVar:MangarasRetribution:DB$ DealDamage | Defined$ TriggeredSourceLKICopy | NumDmg$ MangaraX SVar:MangaraX:TriggerCount$DamageAmount AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/mangaras_equity.jpg diff --git a/forge-gui/res/cardsfolder/m/manor_gargoyle.txt b/forge-gui/res/cardsfolder/m/manor_gargoyle.txt index 031058c15a4..74bd2dd0422 100644 --- a/forge-gui/res/cardsfolder/m/manor_gargoyle.txt +++ b/forge-gui/res/cardsfolder/m/manor_gargoyle.txt @@ -3,7 +3,7 @@ ManaCost:5 Types:Artifact Creature Gargoyle PT:4/4 K:Defender -S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Indestructible | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Description$ CARDNAME has indestructible as long as it has defender. +S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Indestructible | CheckSVar$ X | SVarCompare$ GE1 | Description$ CARDNAME has indestructible as long as it has defender. SVar:X:Count$Valid Card.Self+withDefender A:AB$ Debuff | Cost$ 1 | Keywords$ Defender | Defined$ Self | SubAbility$ DBFlight | SpellDescription$ Until end of turn, CARDNAME loses defender and gains flying. SVar:DBFlight:DB$ Pump | Defined$ Self | KW$ Flying diff --git a/forge-gui/res/cardsfolder/m/maralen_of_the_mornsong_avatar.txt b/forge-gui/res/cardsfolder/m/maralen_of_the_mornsong_avatar.txt index 402aacc2868..d95797746f4 100644 --- a/forge-gui/res/cardsfolder/m/maralen_of_the_mornsong_avatar.txt +++ b/forge-gui/res/cardsfolder/m/maralen_of_the_mornsong_avatar.txt @@ -3,12 +3,12 @@ ManaCost:no cost Types:Vanguard HandLifeModifier:+0/-3 T:Mode$ NewGame | Execute$ TrigPayLife | TriggerZones$ Command | TriggerDescription$ At the beginning of the game, you may pay any amount of life. -SVar:TrigPayLife:AB$ StoreSVar | Cost$ PayLife | References$ X | SVar$ LifePaidOnNewGame | Type$ CountSVar | Expression$ X +SVar:TrigPayLife:AB$ StoreSVar | Cost$ PayLife | SVar$ LifePaidOnNewGame | Type$ CountSVar | Expression$ X SVar:X:Count$xPaid SVar:LifePaidOnNewGame:Number$0 S:Mode$ Continuous | EffectZone$ Command | Affected$ You | AddKeyword$ You can't draw cards. | Description$ You can't draw cards. T:Mode$ Phase | Phase$ Draw | ValidPlayer$ You | TriggerZones$ Command | Execute$ TrigDig | TriggerDescription$ At the beginning of your draw step, look at the top X cards of your library, where X is the amount of life paid with CARDNAME. Put one of them into your hand, then shuffle your library. -SVar:TrigDig:DB$ Dig | DigNum$ LifePaidOnNewGame | References$ LifePaidOnNewGame | ChangeNum$ 1 | LibraryPosition$ 0 | SubAbility$ DBShuffle +SVar:TrigDig:DB$ Dig | DigNum$ LifePaidOnNewGame | ChangeNum$ 1 | LibraryPosition$ 0 | SubAbility$ DBShuffle SVar:DBShuffle:DB$ Shuffle | Defined$ You AI:RemoveDeck:All SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Maralen of the Mornsong Avatar.full.jpg diff --git a/forge-gui/res/cardsfolder/m/marath_will_of_the_wild.txt b/forge-gui/res/cardsfolder/m/marath_will_of_the_wild.txt index 4d303cd5e1c..f243e921d03 100644 --- a/forge-gui/res/cardsfolder/m/marath_will_of_the_wild.txt +++ b/forge-gui/res/cardsfolder/m/marath_will_of_the_wild.txt @@ -4,10 +4,10 @@ Types:Legendary Creature Elemental Beast PT:0/0 K:etbCounter:P1P1:Y:no Condition:CARDNAME enters the battlefield with a number of +1/+1 counters on it equal to the amount of mana spent to cast it. SVar:Y:Count$CastTotalManaSpent -A:AB$ Charm | Cost$ XCantBe0 X SubCounter | Choices$ MarathCounters,MarathDmg,MarathToken | Defined$ You | References$ X -SVar:MarathCounters:DB$ PutCounter | ValidTgts$ Creature | CounterType$ P1P1 | CounterNum$ X | References$ X | SpellDescription$ Put X +1/+1 counters on target creature. X can't be 0. -SVar:MarathDmg:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target. X can't be 0. -SVar:MarathToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_x_x_elemental | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | LegacyImage$ g x x elemental c13 | SpellDescription$ Create an X/X green Elemental creature token. X can't be 0. +A:AB$ Charm | Cost$ XCantBe0 X SubCounter | Choices$ MarathCounters,MarathDmg,MarathToken | Defined$ You +SVar:MarathCounters:DB$ PutCounter | ValidTgts$ Creature | CounterType$ P1P1 | CounterNum$ X | SpellDescription$ Put X +1/+1 counters on target creature. X can't be 0. +SVar:MarathDmg:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target. X can't be 0. +SVar:MarathToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_x_x_elemental | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | LegacyImage$ g x x elemental c13 | SpellDescription$ Create an X/X green Elemental creature token. X can't be 0. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Marath, Will of the Wild enters the battlefield with a number of +1/+1 counters on it equal to the amount of mana spent to cast it.\n{X}, Remove X +1/+1 counters from Marath: Choose one —\n• Put X +1/+1 counters on target creature. X can't be 0.\n• Marath deals X damage to any target. X can't be 0.\n• Create an X/X green Elemental creature token. X can't be 0. diff --git a/forge-gui/res/cardsfolder/m/marauding_knight.txt b/forge-gui/res/cardsfolder/m/marauding_knight.txt index 907f36d23ea..d1bc45e3d63 100644 --- a/forge-gui/res/cardsfolder/m/marauding_knight.txt +++ b/forge-gui/res/cardsfolder/m/marauding_knight.txt @@ -3,7 +3,7 @@ ManaCost:2 B B Types:Creature Zombie Knight PT:2/2 K:Protection from white -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each Plains your opponents control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each Plains your opponents control. SVar:X:Count$Valid Plains.OppCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/marauding_knight.jpg diff --git a/forge-gui/res/cardsfolder/m/marauding_looter.txt b/forge-gui/res/cardsfolder/m/marauding_looter.txt index 039a6e3b392..5bac533c796 100644 --- a/forge-gui/res/cardsfolder/m/marauding_looter.txt +++ b/forge-gui/res/cardsfolder/m/marauding_looter.txt @@ -2,7 +2,7 @@ Name:Marauding Looter ManaCost:2 U R Types:Creature Human Pirate PT:4/3 -T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ RaidTest | References$ RaidTest | OptionalDecider$ You | Execute$ TrigLoot | TriggerDescription$ Raid — At the beginning of your end step, if you attacked this turn, you may draw a card. If you do, discard a card. +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ RaidTest | OptionalDecider$ You | Execute$ TrigLoot | TriggerDescription$ Raid — At the beginning of your end step, if you attacked this turn, you may draw a card. If you do, discard a card. SVar:TrigLoot:DB$ Draw | NumCards$ 1 | SubAbility$ DBDiscard SVar:DBDiscard:DB$ Discard | Defined$ You | Mode$ TgtChoose | NumCards$ 1 SVar:RaidTest:Count$AttackersDeclared diff --git a/forge-gui/res/cardsfolder/m/maraxus_of_keld.txt b/forge-gui/res/cardsfolder/m/maraxus_of_keld.txt index 2a485ed0e3e..8d37fdf56b0 100644 --- a/forge-gui/res/cardsfolder/m/maraxus_of_keld.txt +++ b/forge-gui/res/cardsfolder/m/maraxus_of_keld.txt @@ -2,7 +2,7 @@ Name:Maraxus of Keld ManaCost:4 R R Types:Legendary Creature Human Warrior PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of untapped artifacts, creatures, and lands you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of untapped artifacts, creatures, and lands you control. SVar:X:Count$Valid Artifact.untapped+YouCtrl,Creature.untapped+YouCtrl,Land.untapped+YouCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/maraxus_of_keld.jpg diff --git a/forge-gui/res/cardsfolder/m/march_from_the_tomb.txt b/forge-gui/res/cardsfolder/m/march_from_the_tomb.txt index d286a5b77d3..794d43a4950 100644 --- a/forge-gui/res/cardsfolder/m/march_from_the_tomb.txt +++ b/forge-gui/res/cardsfolder/m/march_from_the_tomb.txt @@ -1,7 +1,7 @@ Name:March from the Tomb ManaCost:3 W B Types:Sorcery -A:SP$ ChangeZone | Cost$ 3 W B | Origin$ Graveyard | Destination$ Battlefield | TargetMin$ 0 | TargetMax$ X | References$ X | MaxTotalTargetCMC$ 8 | ValidTgts$ Creature.Ally+YouCtrl | TgtPrompt$ Select target Ally creature card in your graveyard. | SpellDescription$ Return any number of target Ally creature cards with total converted mana cost 8 or less from your graveyard to the battlefield. +A:SP$ ChangeZone | Cost$ 3 W B | Origin$ Graveyard | Destination$ Battlefield | TargetMin$ 0 | TargetMax$ X | MaxTotalTargetCMC$ 8 | ValidTgts$ Creature.Ally+YouCtrl | TgtPrompt$ Select target Ally creature card in your graveyard. | SpellDescription$ Return any number of target Ally creature cards with total converted mana cost 8 or less from your graveyard to the battlefield. SVar:X:Count$ValidGraveyard Creature.Ally+YouCtrl AI:RemoveDeck:Random DeckNeeds:Type$Ally diff --git a/forge-gui/res/cardsfolder/m/march_of_souls.txt b/forge-gui/res/cardsfolder/m/march_of_souls.txt index e730f76db7b..5d07667288b 100644 --- a/forge-gui/res/cardsfolder/m/march_of_souls.txt +++ b/forge-gui/res/cardsfolder/m/march_of_souls.txt @@ -3,7 +3,7 @@ ManaCost:4 W Types:Sorcery A:SP$ DestroyAll | Cost$ 4 W | ValidCards$ Creature | RememberDestroyed$ True | NoRegen$ True | SubAbility$ DBRepeat | SpellDescription$ Destroy all creatures. SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBToken | SubAbility$ DBCleanup | ChangeZoneTable$ True -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ w_1_1_spirit_flying | TokenOwner$ Player.IsRemembered | LegacyImage$ w 1 1 spirit flying pls | SpellDescription$ They can't be regenerated. For each creature destroyed this way, its controller creates a 1/1 white Spirit creature token with flying. +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_spirit_flying | TokenOwner$ Player.IsRemembered | LegacyImage$ w 1 1 spirit flying pls | SpellDescription$ They can't be regenerated. For each creature destroyed this way, its controller creates a 1/1 white Spirit creature token with flying. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$FilterControlledByRemembered_Number$1 DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/m/march_of_the_multitudes.txt b/forge-gui/res/cardsfolder/m/march_of_the_multitudes.txt index 50ce5593032..506b87ae5a5 100644 --- a/forge-gui/res/cardsfolder/m/march_of_the_multitudes.txt +++ b/forge-gui/res/cardsfolder/m/march_of_the_multitudes.txt @@ -2,7 +2,7 @@ Name:March of the Multitudes ManaCost:X G W W Types:Instant K:Convoke -A:SP$ Token | Cost$ X G W W | TokenAmount$ X | References$ X | TokenScript$ w_1_1_soldier_lifelink | LegacyImage$ w 1 1 soldier lifelink grn | SpellDescription$ Create X 1/1 white Soldier creature tokens with lifelink. +A:SP$ Token | Cost$ X G W W | TokenAmount$ X | TokenScript$ w_1_1_soldier_lifelink | LegacyImage$ w 1 1 soldier lifelink grn | SpellDescription$ Create X 1/1 white Soldier creature tokens with lifelink. SVar:X:Count$xPaid DeckHas:Ability$Token & Ability$LifeGain Oracle:Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.)\nCreate X 1/1 white Soldier creature tokens with lifelink. diff --git a/forge-gui/res/cardsfolder/m/marionette_master.txt b/forge-gui/res/cardsfolder/m/marionette_master.txt index 9a87ee4dda0..5c5773e1dae 100644 --- a/forge-gui/res/cardsfolder/m/marionette_master.txt +++ b/forge-gui/res/cardsfolder/m/marionette_master.txt @@ -4,7 +4,7 @@ Types:Creature Human Artificer PT:1/3 K:Fabricate:3 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Artifact.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever an artifact you control is put into a graveyard from the battlefield, target opponent loses life equal to CARDNAME's power. -SVar:TrigLoseLife:DB$LoseLife | ValidTgts$ Opponent | TgtPrompt$ Choose target opponent | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$LoseLife | ValidTgts$ Opponent | TgtPrompt$ Choose target opponent | LifeAmount$ X SVar:X:Count$CardPower DeckHas:Ability$Counters & Ability$Token DeckHints:Type$Artifact diff --git a/forge-gui/res/cardsfolder/m/mark_of_sakiko.txt b/forge-gui/res/cardsfolder/m/mark_of_sakiko.txt index b45bb610a4d..6a70a5da86f 100644 --- a/forge-gui/res/cardsfolder/m/mark_of_sakiko.txt +++ b/forge-gui/res/cardsfolder/m/mark_of_sakiko.txt @@ -5,7 +5,7 @@ K:Enchant creature A:SP$ Attach | Cost$ 1 G | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddTrigger$ SakikoTrig | AddSVar$ SakuraManaSingle & SakuraX | Description$ Enchanted creature has "Whenever this creature deals combat damage to a player, add that much {G}. Until end of turn, you don't lose this mana as phases and steps end." SVar:SakikoTrig:Mode$ DamageDone | ValidSource$ Creature.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ SakuraManaSingle | TriggerZones$ Battlefield | TriggerDescription$ Whenever this creature deals combat damage to a player, add that much {G}. Until end of turn, you don't lose this mana as steps and phases end. -SVar:SakuraManaSingle:DB$ Mana | Produced$ G | Amount$ SakuraX | References$ SakuraX | PersistentMana$ True +SVar:SakuraManaSingle:DB$ Mana | Produced$ G | Amount$ SakuraX | PersistentMana$ True SVar:SakuraX:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/mark_of_sakiko.jpg Oracle:Enchant creature\nEnchanted creature has "Whenever this creature deals combat damage to a player, add that much {G}. Until end of turn, you don't lose this mana as steps and phases end." diff --git a/forge-gui/res/cardsfolder/m/maro.txt b/forge-gui/res/cardsfolder/m/maro.txt index beab1349175..27fd1acfa4a 100644 --- a/forge-gui/res/cardsfolder/m/maro.txt +++ b/forge-gui/res/cardsfolder/m/maro.txt @@ -2,7 +2,7 @@ Name:Maro ManaCost:2 G G Types:Creature Elemental PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. SVar:X:Count$InYourHand AI:RemoveDeck:All SVar:NeedsToPlayVar:X GE2 diff --git a/forge-gui/res/cardsfolder/m/marrow_chomper.txt b/forge-gui/res/cardsfolder/m/marrow_chomper.txt index 108a7df0aec..b2f8bd6ce5c 100644 --- a/forge-gui/res/cardsfolder/m/marrow_chomper.txt +++ b/forge-gui/res/cardsfolder/m/marrow_chomper.txt @@ -4,7 +4,7 @@ Types:Creature Zombie Lizard PT:3/3 K:Devour:2 T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 2 life for each creature it devoured. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Devoured Card/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/marrow_chomper.jpg Oracle:Devour 2 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.)\nWhen Marrow Chomper enters the battlefield, you gain 2 life for each creature it devoured. diff --git a/forge-gui/res/cardsfolder/m/marrow_gnawer.txt b/forge-gui/res/cardsfolder/m/marrow_gnawer.txt index 8351cf159a9..df7b43bec7a 100644 --- a/forge-gui/res/cardsfolder/m/marrow_gnawer.txt +++ b/forge-gui/res/cardsfolder/m/marrow_gnawer.txt @@ -3,7 +3,7 @@ ManaCost:3 B B Types:Legendary Creature Rat Rogue PT:2/3 S:Mode$ Continuous | Affected$ Creature.Rat | AddKeyword$ Fear | Description$ All Rats have fear. -A:AB$ Token | Cost$ T Sac<1/Rat> | TokenAmount$ X | References$ X | TokenScript$ b_1_1_rat | TokenOwner$ You | LegacyImage$ b 1 1 rat chk | SpellDescription$ Create X 1/1 black Rat creature tokens, where X is the number of Rats you control. +A:AB$ Token | Cost$ T Sac<1/Rat> | TokenAmount$ X | TokenScript$ b_1_1_rat | TokenOwner$ You | LegacyImage$ b 1 1 rat chk | SpellDescription$ Create X 1/1 black Rat creature tokens, where X is the number of Rats you control. SVar:X:Count$TypeYouCtrl.Rat SVar:AIPreference:SacCost$Creature.Rat+token,Creature.Rat+cmcLE3 AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/m/marsh_casualties.txt b/forge-gui/res/cardsfolder/m/marsh_casualties.txt index 24065c7f4b4..81a587f41c5 100644 --- a/forge-gui/res/cardsfolder/m/marsh_casualties.txt +++ b/forge-gui/res/cardsfolder/m/marsh_casualties.txt @@ -2,7 +2,7 @@ Name:Marsh Casualties ManaCost:B B Types:Sorcery K:Kicker:3 -A:SP$ PumpAll | Cost$ B B | ValidTgts$ Player | TgtPrompt$ Select target player | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X | References$ X | IsCurse$ True | SpellDescription$ Creatures target player controls get -1/-1 until end of turn. If this spell was kicked, those creatures get -2/-2 until end of turn instead. +A:SP$ PumpAll | Cost$ B B | ValidTgts$ Player | TgtPrompt$ Select target player | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Creatures target player controls get -1/-1 until end of turn. If this spell was kicked, those creatures get -2/-2 until end of turn instead. SVar:X:Count$Kicked.2.1 SVar:NeedsToPlayKicked:Creature.OppCtrl+toughnessEQ2 SVar:Picture:http://www.wizards.com/global/images/magic/general/marsh_casualties.jpg diff --git a/forge-gui/res/cardsfolder/m/marshaling_the_troops.txt b/forge-gui/res/cardsfolder/m/marshaling_the_troops.txt index e2a297d63b9..65d5fce1525 100644 --- a/forge-gui/res/cardsfolder/m/marshaling_the_troops.txt +++ b/forge-gui/res/cardsfolder/m/marshaling_the_troops.txt @@ -1,9 +1,9 @@ Name:Marshaling the Troops ManaCost:1 G Types:Sorcery -A:SP$ ChooseCard | Cost$ 1 G | Defined$ You | MinAmount$ 0 | Amount$ X | References$ X | Choices$ Creature.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigTap | SpellDescription$ Tap any number of untapped creatures you control. You gain 4 life for each creature tapped this way. +A:SP$ ChooseCard | Cost$ 1 G | Defined$ You | MinAmount$ 0 | Amount$ X | Choices$ Creature.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigTap | SpellDescription$ Tap any number of untapped creatures you control. You gain 4 life for each creature tapped this way. SVar:TrigTap:DB$ Tap | Defined$ Remembered | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | LifeAmount$ Z | SubAbility$ DBCleanup | References$ Y,Z +SVar:DBGainLife:DB$ GainLife | LifeAmount$ Z | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Creature.YouCtrl SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/m/marshals_anthem.txt b/forge-gui/res/cardsfolder/m/marshals_anthem.txt index da26b20c16c..b2272ad0567 100644 --- a/forge-gui/res/cardsfolder/m/marshals_anthem.txt +++ b/forge-gui/res/cardsfolder/m/marshals_anthem.txt @@ -4,7 +4,7 @@ Types:Enchantment S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Creatures you control get +1/+1. K:Multikicker:1 W T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigReturn | TriggerDescription$ When CARDNAME enters the battlefield, return up to X target creature cards from your graveyard to the battlefield, where X is the number of times CARDNAME was kicked. -SVar:TrigReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | TargetMin$ 0 | TargetMax$ X | References$ X | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature card from your graveyard. +SVar:TrigReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | TargetMin$ 0 | TargetMax$ X | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature card from your graveyard. SVar:X:Count$TimesKicked #TODO: The AI maximizes payment, even if it can't return anything from the graveyard. Otherwise the card is played just fine. AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/marshmist_titan.txt b/forge-gui/res/cardsfolder/m/marshmist_titan.txt index e8b64457183..30297bdef56 100644 --- a/forge-gui/res/cardsfolder/m/marshmist_titan.txt +++ b/forge-gui/res/cardsfolder/m/marshmist_titan.txt @@ -2,7 +2,7 @@ Name:Marshmist Titan ManaCost:6 B Types:Creature Giant PT:4/5 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {X} less to cast, where X is your devotion to black. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {X} less to cast, where X is your devotion to black. SVar:X:Count$Devotion.Black SVar:Picture:http://www.wizards.com/global/images/magic/general/marshmist_titan.jpg Oracle:This spell costs {X} less to cast, where X is your devotion to black. (Each {B} in the mana costs of permanents you control counts toward your devotion to black.) diff --git a/forge-gui/res/cardsfolder/m/martial_coup.txt b/forge-gui/res/cardsfolder/m/martial_coup.txt index 18ef4a2158f..1a3bc701b9d 100644 --- a/forge-gui/res/cardsfolder/m/martial_coup.txt +++ b/forge-gui/res/cardsfolder/m/martial_coup.txt @@ -1,8 +1,8 @@ Name:Martial Coup ManaCost:X W W Types:Sorcery -A:SP$ Token | Cost$ X W W | TokenAmount$ X | References$ X | TokenScript$ w_1_1_soldier | RememberTokens$ True | TokenOwner$ You | SubAbility$ CoupDestroy | LegacyImage$ w 1 1 soldier cfx | SpellDescription$ Create X 1/1 white Soldier creature tokens. If X is 5 or more, destroy all other creatures. -SVar:CoupDestroy:DB$ DestroyAll | ValidCards$ Creature.IsNotRemembered | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE5 | SubAbility$ DBCleanup +A:SP$ Token | Cost$ X W W | TokenAmount$ X | TokenScript$ w_1_1_soldier | RememberTokens$ True | TokenOwner$ You | SubAbility$ CoupDestroy | LegacyImage$ w 1 1 soldier cfx | SpellDescription$ Create X 1/1 white Soldier creature tokens. If X is 5 or more, destroy all other creatures. +SVar:CoupDestroy:DB$ DestroyAll | ValidCards$ Creature.IsNotRemembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE5 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid SVar:PayX:5 diff --git a/forge-gui/res/cardsfolder/m/marton_stromgald.txt b/forge-gui/res/cardsfolder/m/marton_stromgald.txt index 351578ff017..8ffbaa01d65 100644 --- a/forge-gui/res/cardsfolder/m/marton_stromgald.txt +++ b/forge-gui/res/cardsfolder/m/marton_stromgald.txt @@ -3,10 +3,10 @@ ManaCost:2 R R Types:Legendary Creature Human Knight PT:1/1 T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPumpAttack | TriggerDescription$ Whenever Márton Stromgald attacks, other attacking creatures get +1/+1 until end of turn for each attacking creature other than Márton Stromgald. -SVar:TrigPumpAttack:DB$ PumpAll | ValidCards$ Creature.attacking+Other | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPumpAttack:DB$ PumpAll | ValidCards$ Creature.attacking+Other | NumAtt$ X | NumDef$ X SVar:X:Count$Valid Creature.attacking+Other T:Mode$ Blocks | ValidCard$ Card.Self | Triggerzones$ Battlefield | Execute$ TrigPumpBlock | TriggerDescription$ Whenever Márton Stromgald blocks, other blocking creatures get +1/+1 until end of turn for each blocking creature other than Márton Stromgald. -SVar:TrigPumpBlock:DB$ PumpAll | ValidCards$ Creature.blocking+Other | NumAtt$ Y | NumDef$ Y | References$ Y +SVar:TrigPumpBlock:DB$ PumpAll | ValidCards$ Creature.blocking+Other | NumAtt$ Y | NumDef$ Y SVar:Y:Count$Valid Creature.blocking+Other SVar:Picture:http://www.wizards.com/global/images/magic/general/marton_stromgald.jpg Oracle:Whenever Márton Stromgald attacks, other attacking creatures get +1/+1 until end of turn for each attacking creature other than Márton Stromgald.\nWhenever Márton Stromgald blocks, other blocking creatures get +1/+1 until end of turn for each blocking creature other than Márton Stromgald. diff --git a/forge-gui/res/cardsfolder/m/martyr_of_ashes.txt b/forge-gui/res/cardsfolder/m/martyr_of_ashes.txt index 127996911d7..db94bfc0b30 100644 --- a/forge-gui/res/cardsfolder/m/martyr_of_ashes.txt +++ b/forge-gui/res/cardsfolder/m/martyr_of_ashes.txt @@ -2,7 +2,7 @@ Name:Martyr of Ashes ManaCost:R Types:Creature Human Shaman PT:1/1 -A:AB$ DamageAll | Cost$ 2 Reveal Sac<1/CARDNAME> | CostDesc$ {2}, Reveal X red cards from your hand, Sacrifice CARDNAME: | ValidCards$ Creature.withoutFlying | NumDmg$ X | References$ X | ValidDescription$ each creature without flying | SpellDescription$ CARDNAME deals X damage to each creature without flying. +A:AB$ DamageAll | Cost$ 2 Reveal Sac<1/CARDNAME> | CostDesc$ {2}, Reveal X red cards from your hand, Sacrifice CARDNAME: | ValidCards$ Creature.withoutFlying | NumDmg$ X | ValidDescription$ each creature without flying | SpellDescription$ CARDNAME deals X damage to each creature without flying. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{2}, Reveal X red cards from your hand, Sacrifice Martyr of Ashes: Martyr of Ashes deals X damage to each creature without flying. diff --git a/forge-gui/res/cardsfolder/m/martyr_of_bones.txt b/forge-gui/res/cardsfolder/m/martyr_of_bones.txt index 59fd584608c..cc62e793ae7 100644 --- a/forge-gui/res/cardsfolder/m/martyr_of_bones.txt +++ b/forge-gui/res/cardsfolder/m/martyr_of_bones.txt @@ -2,7 +2,7 @@ Name:Martyr of Bones ManaCost:B Types:Creature Human Wizard PT:1/1 -A:AB$ ChangeZone | Cost$ 1 Reveal Sac<1/CARDNAME> | CostDesc$ {1}, Reveal X black cards from your hand, Sacrifice CARDNAME: | Origin$ Graveyard | TargetsFromSingleZone$ True | Destination$ Exile | TargetMin$ 0 | TargetMax$ Y | ValidTgts$ Card | References$ X,Y | SpellDescription$ Exile up to X target cards from a single graveyard. +A:AB$ ChangeZone | Cost$ 1 Reveal Sac<1/CARDNAME> | CostDesc$ {1}, Reveal X black cards from your hand, Sacrifice CARDNAME: | Origin$ Graveyard | TargetsFromSingleZone$ True | Destination$ Exile | TargetMin$ 0 | TargetMax$ Y | ValidTgts$ Card | SpellDescription$ Exile up to X target cards from a single graveyard. SVar:X:TargetedObjects$Amount SVar:Y:Count$ValidHand Card.Black+YouOwn AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/martyr_of_frost.txt b/forge-gui/res/cardsfolder/m/martyr_of_frost.txt index 3d4edd2adba..25255ad49db 100644 --- a/forge-gui/res/cardsfolder/m/martyr_of_frost.txt +++ b/forge-gui/res/cardsfolder/m/martyr_of_frost.txt @@ -2,7 +2,7 @@ Name:Martyr of Frost ManaCost:U Types:Creature Human Wizard PT:1/1 -A:AB$ Counter | Cost$ 2 Reveal Sac<1/CARDNAME> | CostDesc$ {2}, Reveal X blue cards from your hand, Sacrifice CARDNAME: | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X | SpellDescription$ Counter target spell unless its controller pays {X}. +A:AB$ Counter | Cost$ 2 Reveal Sac<1/CARDNAME> | CostDesc$ {2}, Reveal X blue cards from your hand, Sacrifice CARDNAME: | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {X}. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{2}, Reveal X blue cards from your hand, Sacrifice Martyr of Frost: Counter target spell unless its controller pays {X}. diff --git a/forge-gui/res/cardsfolder/m/martyr_of_sands.txt b/forge-gui/res/cardsfolder/m/martyr_of_sands.txt index 347994eab19..85232ac850a 100644 --- a/forge-gui/res/cardsfolder/m/martyr_of_sands.txt +++ b/forge-gui/res/cardsfolder/m/martyr_of_sands.txt @@ -2,7 +2,7 @@ Name:Martyr of Sands ManaCost:W Types:Creature Human Cleric PT:1/1 -A:AB$ GainLife | Cost$ 1 Reveal Sac<1/CARDNAME> | CostDesc$ {1}, Reveal X white cards from your hand, Sacrifice CARDNAME: | LifeAmount$ Y | References$ X,Y | SpellDescription$ You gain three times X life. +A:AB$ GainLife | Cost$ 1 Reveal Sac<1/CARDNAME> | CostDesc$ {1}, Reveal X white cards from your hand, Sacrifice CARDNAME: | LifeAmount$ Y | SpellDescription$ You gain three times X life. SVar:X:Count$xPaid SVar:Y:SVar$X/Times.3 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/martyr_of_spores.txt b/forge-gui/res/cardsfolder/m/martyr_of_spores.txt index 55368dbf03e..c636f0397a4 100644 --- a/forge-gui/res/cardsfolder/m/martyr_of_spores.txt +++ b/forge-gui/res/cardsfolder/m/martyr_of_spores.txt @@ -2,7 +2,7 @@ Name:Martyr of Spores ManaCost:G Types:Creature Human Shaman PT:1/1 -A:AB$ Pump | Cost$ 1 Reveal Sac<1/CARDNAME> | CostDesc$ {1}, Reveal X green cards from your hand, Sacrifice CARDNAME: | NumAtt$ X | NumDef$ X | References$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Target creature gets +X/+X until end of turn. +A:AB$ Pump | Cost$ 1 Reveal Sac<1/CARDNAME> | CostDesc$ {1}, Reveal X green cards from your hand, Sacrifice CARDNAME: | NumAtt$ X | NumDef$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Target creature gets +X/+X until end of turn. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{1}, Reveal X green cards from your hand, Sacrifice Martyr of Spores: Target creature gets +X/+X until end of turn. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/m/martyrdom.txt b/forge-gui/res/cardsfolder/m/martyrdom.txt index 18dd0a1d31f..e570c158363 100644 --- a/forge-gui/res/cardsfolder/m/martyrdom.txt +++ b/forge-gui/res/cardsfolder/m/martyrdom.txt @@ -2,7 +2,7 @@ Name:Martyrdom ManaCost:1 W W Types:Instant A:SP$ Animate | Cost$ 1 W W | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | Abilities$ Martyr | sVars$ DamageEvent,DamageEventDmg,IsCreature | StackDescription$ Until end of turn, {c:Targeted} gains "{0}: The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to this creature instead." | SpellDescription$ Until end of turn, target creature you control gains "{0}: The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to this creature instead." Only you may activate this ability. -SVar:Martyr:AB$ Effect | Name$ Martyrdom Effect | Cost$ 0 | Activator$ Player.IsRemembered | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to redirect damage from | Amount$ 1 | ReplacementEffects$ DamageEvent | SVars$ DamageEventDmg,IsCreature | References$ DamageEvent,DamageEventDmg,IsCreature | Duration$ HostLeavesOrEOT | RememberObjects$ You,Targeted | ImprintCards$ Self | ExileOnMoved$ Battlefield | StackDescription$ The next 1 damage that would be dealt to {c:Targeted}{p:Targeted} this turn is dealt to {c:Self} instead. | SpellDescription$ The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to CARDNAME instead. +SVar:Martyr:AB$ Effect | Name$ Martyrdom Effect | Cost$ 0 | Activator$ Player.IsRemembered | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to redirect damage from | Amount$ 1 | ReplacementEffects$ DamageEvent | SVars$ DamageEventDmg,IsCreature | Duration$ HostLeavesOrEOT | RememberObjects$ You,Targeted | ImprintCards$ Self | ExileOnMoved$ Battlefield | StackDescription$ The next 1 damage that would be dealt to {c:Targeted}{p:Targeted} this turn is dealt to {c:Self} instead. | SpellDescription$ The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to CARDNAME instead. SVar:DamageEvent:Event$ DamageDone | IsPresent$ Card.IsImprinted+Creature | ValidTarget$ Player.IsRemembered,Card.IsRemembered | ReplaceWith$ DamageEventDmg | DamageTarget$ Imprinted | Description$ The next 1 damage that would be dealt to this target this turn is dealt to EFFECTSOURCE instead. SVar:DamageEventDmg:DB$ ReplaceSplitDamage | DamageTarget$ Imprinted Oracle:Until end of turn, target creature you control gains "{0}: The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to this creature instead." Only you may activate this ability. diff --git a/forge-gui/res/cardsfolder/m/marwyn_the_nurturer.txt b/forge-gui/res/cardsfolder/m/marwyn_the_nurturer.txt index 36b20f24944..a4a103def6b 100644 --- a/forge-gui/res/cardsfolder/m/marwyn_the_nurturer.txt +++ b/forge-gui/res/cardsfolder/m/marwyn_the_nurturer.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Elf Druid PT:1/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Elf.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever another Elf enters the battlefield under your control, put a +1/+1 counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 -A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | References$ X | SpellDescription$ Add an amount of {G} equal to CARDNAME's power. +A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | SpellDescription$ Add an amount of {G} equal to CARDNAME's power. SVar:X:Count$CardPower DeckHints:Type$Elf DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/m/mask_of_intolerance.txt b/forge-gui/res/cardsfolder/m/mask_of_intolerance.txt index ec7412395e6..8faa62c9f99 100644 --- a/forge-gui/res/cardsfolder/m/mask_of_intolerance.txt +++ b/forge-gui/res/cardsfolder/m/mask_of_intolerance.txt @@ -1,7 +1,7 @@ Name:Mask of Intolerance ManaCost:2 Types:Artifact -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | CheckSVar$ CheckLandTypes | References$ CheckLandTypes | SVarCompare$ GE4 | Execute$ TrigDamage | TriggerDescription$ At the beginning of each player's upkeep, if there are four or more basic land types among lands that player controls, CARDNAME deals 3 damage to that player. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | CheckSVar$ CheckLandTypesheckLandTypes | SVarCompare$ GE4 | Execute$ TrigDamage | TriggerDescription$ At the beginning of each player's upkeep, if there are four or more basic land types among lands that player controls, CARDNAME deals 3 damage to that player. SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ 3 SVar:CheckLandTypes:Count$DomainActivePlayer AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/m/mass_appeal.txt b/forge-gui/res/cardsfolder/m/mass_appeal.txt index dc0a9a210ad..4e00b27394e 100644 --- a/forge-gui/res/cardsfolder/m/mass_appeal.txt +++ b/forge-gui/res/cardsfolder/m/mass_appeal.txt @@ -1,7 +1,7 @@ Name:Mass Appeal ManaCost:2 U Types:Sorcery -A:SP$ Draw | Cost$ 2 U | NumCards$ X | References$ X | SpellDescription$ Draw a card for each Human you control. +A:SP$ Draw | Cost$ 2 U | NumCards$ X | SpellDescription$ Draw a card for each Human you control. SVar:X:Count$TypeYouCtrl.Human AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/mass_appeal.jpg diff --git a/forge-gui/res/cardsfolder/m/mass_manipulation.txt b/forge-gui/res/cardsfolder/m/mass_manipulation.txt index c15c924448c..1e06812702a 100644 --- a/forge-gui/res/cardsfolder/m/mass_manipulation.txt +++ b/forge-gui/res/cardsfolder/m/mass_manipulation.txt @@ -1,7 +1,7 @@ Name:Mass Manipulation ManaCost:X X U U U U Types:Sorcery -A:SP$ GainControl | Cost$ X X U U U U | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select X target creatures or planeswalkers | TargetMin$ X | TargetMax$ X | References$ X | SpellDescription$ Gain control of X target creatures and/or planeswalkers. +A:SP$ GainControl | Cost$ X X U U U U | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select X target creatures or planeswalkers | TargetMin$ X | TargetMax$ X | SpellDescription$ Gain control of X target creatures and/or planeswalkers. SVar:X:Count$xPaid AI:RemoveDeck:Random Oracle:Gain control of X target creatures and/or planeswalkers. diff --git a/forge-gui/res/cardsfolder/m/mass_mutiny.txt b/forge-gui/res/cardsfolder/m/mass_mutiny.txt index 21734bc55ce..b4bdf280262 100644 --- a/forge-gui/res/cardsfolder/m/mass_mutiny.txt +++ b/forge-gui/res/cardsfolder/m/mass_mutiny.txt @@ -1,7 +1,7 @@ Name:Mass Mutiny ManaCost:3 R R Types:Sorcery -A:SP$ GainControl | Cost$ 3 R R | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls to gain control of. | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SpellDescription$ For each opponent, gain control of up to one target creature that player controls until end of turn. Untap those creatures. They gain haste until end of turn. +A:SP$ GainControl | Cost$ 3 R R | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls to gain control of. | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SpellDescription$ For each opponent, gain control of up to one target creature that player controls until end of turn. Untap those creatures. They gain haste until end of turn. SVar:OneEach:PlayerCountOpponents$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/mass_mutiny.jpg Oracle:For each opponent, gain control of up to one target creature that player controls until end of turn. Untap those creatures. They gain haste until end of turn. diff --git a/forge-gui/res/cardsfolder/m/mass_polymorph.txt b/forge-gui/res/cardsfolder/m/mass_polymorph.txt index 1e5a93d98e9..4291f27e48a 100644 --- a/forge-gui/res/cardsfolder/m/mass_polymorph.txt +++ b/forge-gui/res/cardsfolder/m/mass_polymorph.txt @@ -2,7 +2,7 @@ Name:Mass Polymorph ManaCost:5 U Types:Sorcery A:SP$ ChangeZoneAll | Cost$ 5 U | ChangeType$ Creature.YouCtrl | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBMassReveal | SpellDescription$ Exile all creatures you control, then reveal cards from the top of your library until you reveal that many creature cards. Put all creature cards revealed this way onto the battlefield, then shuffle the rest of the revealed cards into your library. -SVar:DBMassReveal:DB$ DigUntil | Amount$ MassX | References$ MassX | Valid$ Creature.YouOwn | ValidDescription$ creature | RevealedDestination$ Library | RevealedLibraryPosition$ 0 | FoundDestination$ Battlefield | SubAbility$ DBMassCleanup | Shuffle$ True +SVar:DBMassReveal:DB$ DigUntil | Amount$ MassX | Valid$ Creature.YouOwn | ValidDescription$ creature | RevealedDestination$ Library | RevealedLibraryPosition$ 0 | FoundDestination$ Battlefield | SubAbility$ DBMassCleanup | Shuffle$ True SVar:DBMassCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBMassShuffle SVar:DBMassShuffle:DB$ Shuffle SVar:MassX:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/m/massacre.txt b/forge-gui/res/cardsfolder/m/massacre.txt index a46e441dee3..b9a2e89c0e5 100644 --- a/forge-gui/res/cardsfolder/m/massacre.txt +++ b/forge-gui/res/cardsfolder/m/massacre.txt @@ -1,7 +1,7 @@ Name:Massacre ManaCost:2 B B Types:Sorcery -S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | CheckSVar$ X | CheckSecondSVar$ Y | References$ X,Y | Description$ If an opponent controls a Plains and you control a Swamp, you may cast this spell without paying its mana cost. +S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | CheckSVar$ X | CheckSecondSVar$ Y | Description$ If an opponent controls a Plains and you control a Swamp, you may cast this spell without paying its mana cost. SVar:X:Count$Valid Plains.OppCtrl SVar:Y:Count$Valid Swamp.YouCtrl A:SP$ PumpAll | Cost$ 2 B B | ValidCards$ Creature | NumAtt$ -2 | NumDef$ -2 | IsCurse$ True | SpellDescription$ All creatures get -2/-2 until end of turn. diff --git a/forge-gui/res/cardsfolder/m/massive_raid.txt b/forge-gui/res/cardsfolder/m/massive_raid.txt index 741db4a1e75..9af1634bf96 100644 --- a/forge-gui/res/cardsfolder/m/massive_raid.txt +++ b/forge-gui/res/cardsfolder/m/massive_raid.txt @@ -1,7 +1,7 @@ Name:Massive Raid ManaCost:1 R R Types:Instant -A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to any target equal to the number of creatures you control. +A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage to any target equal to the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/massive_raid.jpg Oracle:Massive Raid deals damage to any target equal to the number of creatures you control. diff --git a/forge-gui/res/cardsfolder/m/master_biomancer.txt b/forge-gui/res/cardsfolder/m/master_biomancer.txt index 3143a74734b..f39f6ec741e 100644 --- a/forge-gui/res/cardsfolder/m/master_biomancer.txt +++ b/forge-gui/res/cardsfolder/m/master_biomancer.txt @@ -3,7 +3,7 @@ ManaCost:2 G U Types:Creature Elf Wizard PT:2/4 K:ETBReplacement:Other:AddExtraCounter:Mandatory:Battlefield:Creature.YouCtrl+Other -SVar:AddExtraCounter:DB$ PutCounter | ETB$ True | Defined$ ReplacedCard | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBAnimate | SpellDescription$ Each other creature you control enters the battlefield with a number of additional +1/+1 counters on it equal to CARDNAME's power and as a Mutant in addition to its other types. +SVar:AddExtraCounter:DB$ PutCounter | ETB$ True | Defined$ ReplacedCard | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBAnimate | SpellDescription$ Each other creature you control enters the battlefield with a number of additional +1/+1 counters on it equal to CARDNAME's power and as a Mutant in addition to its other types. SVar:DBAnimate:DB$ Animate | Types$ Mutant | Permanent$ True | Defined$ ReplacedCard SVar:X:Count$CardPower DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/m/master_of_etherium.txt b/forge-gui/res/cardsfolder/m/master_of_etherium.txt index dc2965a0876..98b06e1b9ad 100644 --- a/forge-gui/res/cardsfolder/m/master_of_etherium.txt +++ b/forge-gui/res/cardsfolder/m/master_of_etherium.txt @@ -3,7 +3,7 @@ ManaCost:2 U Types:Artifact Creature Vedalken Wizard PT:*/* S:Mode$ Continuous | Affected$ Creature.Artifact+Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other artifact creatures you control get +1/+1. -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of artifacts you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of artifacts you control. SVar:X:Count$Valid Artifact.YouCtrl SVar:PlayMain1:TRUE SVar:BuffedBy:Artifact diff --git a/forge-gui/res/cardsfolder/m/master_of_the_wild_hunt.txt b/forge-gui/res/cardsfolder/m/master_of_the_wild_hunt.txt index e4ba5a694ea..d2ea8534768 100644 --- a/forge-gui/res/cardsfolder/m/master_of_the_wild_hunt.txt +++ b/forge-gui/res/cardsfolder/m/master_of_the_wild_hunt.txt @@ -7,8 +7,8 @@ SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_2_2_wolf | TokenOwner A:AB$ DealDamage | Cost$ T | SubAbility$ TapWolves | ValidTgts$ Creature | NumDmg$ 0 | AILogic$ WildHunt | SpellDescription$ Tap all untapped Wolf creatures you control. Each Wolf tapped this way deals damage equal to its power to target creature. That creature deals damage equal to its power divided as its controller chooses among any number of those Wolves. | StackDescription$ Tap all untapped Wolf creatures you control. Each Wolf tapped this way deals damage equal to its power to {c:Targeted}. That creature deals damage equal to its power divided as its controller chooses among any number of those Wolves. SVar:TapWolves:DB$ TapAll | ValidCards$ Creature.Wolf+YouCtrl+untapped | RememberTapped$ True | SubAbility$ WildHuntDamage | StackDescription$ None SVar:WildHuntDamage:DB$ RepeatEach | RepeatSubAbility$ WolfStrike | UseImprinted$ True | RepeatCards$ Card.IsRemembered | DamageMap$ True | SubAbility$ HuntedDamage | StackDescription$ None -SVar:WolfStrike:DB$ DealDamage | DamageSource$ Imprinted | NumDmg$ X | References$ X | Defined$ ParentTarget | StackDescription$ None -SVar:HuntedDamage:DB$ DealDamage | DamageSource$ ParentTarget | NumDmg$ Y | References$ Y | DividerOnResolution$ ParentTargetedController | Defined$ Remembered | StackDescription$ None +SVar:WolfStrike:DB$ DealDamage | DamageSource$ Imprinted | NumDmg$ X | Defined$ ParentTarget | StackDescription$ None +SVar:HuntedDamage:DB$ DealDamage | DamageSource$ ParentTarget | NumDmg$ Y | DividerOnResolution$ ParentTargetedController | Defined$ Remembered | StackDescription$ None SVar:X:Imprinted$CardPower SVar:Y:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/master_of_the_wild_hunt.jpg diff --git a/forge-gui/res/cardsfolder/m/master_of_waves.txt b/forge-gui/res/cardsfolder/m/master_of_waves.txt index 3348035bebe..1ef1c4e82fd 100644 --- a/forge-gui/res/cardsfolder/m/master_of_waves.txt +++ b/forge-gui/res/cardsfolder/m/master_of_waves.txt @@ -5,7 +5,7 @@ PT:2/1 K:Protection from red S:Mode$ Continuous | Affected$ Creature.Elemental+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Elemental creatures you control get +1/+1. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a number of 1/0 blue Elemental creature tokens equal to your devotion to blue. (Each {U} in the mana costs of permanents you control counts toward your devotion to blue.) -SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ u_1_0_elemental | TokenOwner$ You | References$ X | LegacyImage$ u 1 0 elemental ths +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ u_1_0_elemental | TokenOwner$ You | LegacyImage$ u 1 0 elemental ths SVar:X:Count$Devotion.Blue SVar:PlayMain1:TRUE SVar:AIEvaluationModifier:SVar$AIElemPTBonus/Plus.AIElemTokenGenBonus diff --git a/forge-gui/res/cardsfolder/m/master_the_way.txt b/forge-gui/res/cardsfolder/m/master_the_way.txt index d6e17fff595..895abb75934 100644 --- a/forge-gui/res/cardsfolder/m/master_the_way.txt +++ b/forge-gui/res/cardsfolder/m/master_the_way.txt @@ -2,7 +2,7 @@ Name:Master the Way ManaCost:3 U R Types:Sorcery A:SP$ Draw | Cost$ 3 U R | NumCards$ 1 | SubAbility$ DBDamage | SpellDescription$ Draw a card. CARDNAME deals damage to any target equal to the number of cards in your hand. -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | NumDmg$ X | References$ X +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | NumDmg$ X SVar:X:Count$CardsInYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/master_the_way.jpg Oracle:Draw a card. Master the Way deals damage to any target equal to the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/m/mastery_of_the_unseen.txt b/forge-gui/res/cardsfolder/m/mastery_of_the_unseen.txt index db4f147b53d..b2e22b2a7c4 100644 --- a/forge-gui/res/cardsfolder/m/mastery_of_the_unseen.txt +++ b/forge-gui/res/cardsfolder/m/mastery_of_the_unseen.txt @@ -2,7 +2,7 @@ Name:Mastery of the Unseen ManaCost:1 W Types:Enchantment T:Mode$ TurnFaceUp | ValidCard$ Permanent.YouCtrl | Execute$ TrigGainLife | TriggerZones$ Battlefield | TriggerDescription$ Whenever a permanent you control is turned face up, you gain 1 life for each creature you control. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.YouCtrl A:AB$ Manifest | Cost$ 3 W | Amount$ 1 | Defined$ TopOfLibrary | SpellDescription$ Manifest the top card of your library. SVar:Picture:http://www.wizards.com/global/images/magic/general/mastery_of_the_unseen.jpg diff --git a/forge-gui/res/cardsfolder/m/masumaro_first_to_live.txt b/forge-gui/res/cardsfolder/m/masumaro_first_to_live.txt index 77feda06167..6a16d7e72ef 100644 --- a/forge-gui/res/cardsfolder/m/masumaro_first_to_live.txt +++ b/forge-gui/res/cardsfolder/m/masumaro_first_to_live.txt @@ -2,7 +2,7 @@ Name:Masumaro, First to Live ManaCost:3 G G G Types:Legendary Creature Spirit PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to twice the number of cards in your hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to twice the number of cards in your hand. SVar:X:Count$InYourHand/Times.2 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/masumaro_first_to_live.jpg diff --git a/forge-gui/res/cardsfolder/m/matca_rioters.txt b/forge-gui/res/cardsfolder/m/matca_rioters.txt index 7a28d629ec9..e07a8276984 100644 --- a/forge-gui/res/cardsfolder/m/matca_rioters.txt +++ b/forge-gui/res/cardsfolder/m/matca_rioters.txt @@ -2,7 +2,7 @@ Name:Matca Rioters ManaCost:2 G Types:Creature Human Warrior PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ Domain — CARDNAME's power and toughness are each equal to the number of basic land types among lands you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ Domain — CARDNAME's power and toughness are each equal to the number of basic land types among lands you control. SVar:X:Count$Domain SVar:BuffedBy:Plains,Island,Swamp,Mountain,Forest AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/m/matopi_golem.txt b/forge-gui/res/cardsfolder/m/matopi_golem.txt index fb65194b3f1..cbe9b8e5d00 100644 --- a/forge-gui/res/cardsfolder/m/matopi_golem.txt +++ b/forge-gui/res/cardsfolder/m/matopi_golem.txt @@ -2,7 +2,7 @@ Name:Matopi Golem ManaCost:5 Types:Artifact Creature Golem PT:3/3 -A:AB$ Regenerate | Cost$ 1 | RegenerationTrigger$ TrigPutCounter | References$ TrigPutCounter | SpellDescription$ Regenerate CARDNAME. When it regenerates this way, put a -1/-1 counter on it. +A:AB$ Regenerate | Cost$ 1 | RegenerationTrigger$ TrigPutCounter | SpellDescription$ Regenerate CARDNAME. When it regenerates this way, put a -1/-1 counter on it. SVar:TrigPutCounter:DB$ PutCounter | Defined$ TriggeredCardLKICopy | CounterType$ M1M1 | CounterNum$ 1 | SpellDescription$ When it regenerates this way, put a -1/-1 counter on it. DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/matopi_golem.jpg diff --git a/forge-gui/res/cardsfolder/m/mausoleum_secrets.txt b/forge-gui/res/cardsfolder/m/mausoleum_secrets.txt index 9500e8377da..eae87881dff 100644 --- a/forge-gui/res/cardsfolder/m/mausoleum_secrets.txt +++ b/forge-gui/res/cardsfolder/m/mausoleum_secrets.txt @@ -1,7 +1,7 @@ Name:Mausoleum Secrets ManaCost:1 B Types:Instant -A:SP$ ChangeZone | Cost$ 1 B | Origin$ Library | Destination$ Hand | ChangeType$ Card.Black+cmcLEX | ChangeNum$ 1 | References$ X | SpellDescription$ Undergrowth - Search your library for a black card with converted mana cost less than or equal to the number of creature cards in your graveyard, reveal it, put it into your hand, then search your library. +A:SP$ ChangeZone | Cost$ 1 B | Origin$ Library | Destination$ Hand | ChangeType$ Card.Black+cmcLEX | ChangeNum$ 1 | SpellDescription$ Undergrowth - Search your library for a black card with converted mana cost less than or equal to the number of creature cards in your graveyard, reveal it, put it into your hand, then search your library. SVar:X:Count$TypeInYourYard.Creature AI:RemoveDeck:Random Oracle:Undergrowth — Search your library for a black card with converted mana cost less than or equal to the number of creature cards in your graveyard, reveal it, put it into your hand, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/m/mausoleum_wanderer.txt b/forge-gui/res/cardsfolder/m/mausoleum_wanderer.txt index 3f7b5e56968..ef0f2307bb9 100644 --- a/forge-gui/res/cardsfolder/m/mausoleum_wanderer.txt +++ b/forge-gui/res/cardsfolder/m/mausoleum_wanderer.txt @@ -5,7 +5,7 @@ PT:1/1 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Spirit+Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever another Spirit enters the battlefield under your control, CARDNAME gets +1/+1 until end of turn. SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ 1 | NumDef$ 1 -A:AB$ Counter | Cost$ Sac<1/CARDNAME> | TargetType$ Spell | ValidTgts$ Instant,Sorcery | TgtPrompt$ Select target instant or sorcery spell | UnlessCost$ X | References$ X | SpellDescription$ Counter target instant or sorcery spell unless its controller pays {X}, where X is CARDNAME's power. +A:AB$ Counter | Cost$ Sac<1/CARDNAME> | TargetType$ Spell | ValidTgts$ Instant,Sorcery | TgtPrompt$ Select target instant or sorcery spell | UnlessCost$ X | SpellDescription$ Counter target instant or sorcery spell unless its controller pays {X}, where X is CARDNAME's power. SVar:X:Sacrificed$CardPower AI:RemoveDeck:Random SVar:BuffedBy:Spirit diff --git a/forge-gui/res/cardsfolder/m/mayael_the_anima_avatar.txt b/forge-gui/res/cardsfolder/m/mayael_the_anima_avatar.txt index 4d5e5ce15bf..b12c3957ea9 100644 --- a/forge-gui/res/cardsfolder/m/mayael_the_anima_avatar.txt +++ b/forge-gui/res/cardsfolder/m/mayael_the_anima_avatar.txt @@ -4,7 +4,7 @@ Types:Vanguard HandLifeModifier:+1/+5 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Command | Execute$ TrigDig | TriggerDescription$ At the beginning of your upkeep, reveal the top card of your library. If it's a creature card with power 5 or greater, put it into your hand. Otherwise, you may put it on the bottom of your library. SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Creature.powerGE5 | LibraryPosition2$ 0 | RememberChanged$ True | SubAbility$ DBDig -SVar:DBDig:DB$ Dig | DigNum$ 1 | DestinationZone$ Library | Optional$ True | LibraryPosition$ -1 | LibraryPosition2$ 0 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup | References$ X +SVar:DBDig:DB$ Dig | DigNum$ 1 | DestinationZone$ Library | Optional$ True | LibraryPosition$ -1 | LibraryPosition2$ 0 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup SVar:X:Remembered$Amount SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Mayael the Anima Avatar.full.jpg diff --git a/forge-gui/res/cardsfolder/m/mazes_end.txt b/forge-gui/res/cardsfolder/m/mazes_end.txt index 2669f52a0ff..0c68e24b806 100644 --- a/forge-gui/res/cardsfolder/m/mazes_end.txt +++ b/forge-gui/res/cardsfolder/m/mazes_end.txt @@ -4,7 +4,7 @@ Types:Land K:CARDNAME enters the battlefield tapped. A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. A:AB$ ChangeZone | Cost$ 3 T Return<1/CARDNAME> | ChangeType$ Gate | ChangeNum$ 1 | Origin$ Library | Destination$ Battlefield | AILogic$ MazesEnd | SubAbility$ DBWin | SpellDescription$ Search your library for a Gate card, put it onto the battlefield, then shuffle your library. If you control ten or more Gates with different names, you win the game. -SVar:DBWin:DB$ WinsGame | Defined$ You | ConditionCheckSVar$ MazeGate | ConditionSVarCompare$ GE10 | References$ MazeGate +SVar:DBWin:DB$ WinsGame | Defined$ You | ConditionCheckSVar$ MazeGate | ConditionSVarCompare$ GE10 SVar:MazeGate:Count$DifferentCardNames_Gate.YouCtrl+inZoneBattlefield AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/mazes_end.jpg diff --git a/forge-gui/res/cardsfolder/m/mechanized_production.txt b/forge-gui/res/cardsfolder/m/mechanized_production.txt index eef0684f558..eb75542bb92 100644 --- a/forge-gui/res/cardsfolder/m/mechanized_production.txt +++ b/forge-gui/res/cardsfolder/m/mechanized_production.txt @@ -5,7 +5,7 @@ K:Enchant artifact you control A:SP$ Attach | Cost$ 2 U U | ValidTgts$ Artifact.YouCtrl | AITgts$ Artifact.YouCtrl+nonLegendary | TgtPrompt$ Select target Artifact you control | AILogic$ Pump T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigCopyPermanent | TriggerDescription$ At the beginning of your upkeep, create a token that's a copy of enchanted artifact. Then if you control eight or more artifacts with the same name as one another, you win the game. SVar:TrigCopyPermanent:DB$ CopyPermanent | Defined$ Enchanted | NumCopies$ 1 | SubAbility$ DBWin -SVar:DBWin:DB$ WinsGame | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE8 | References$ X +SVar:DBWin:DB$ WinsGame | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE8 SVar:X:Count$MostCardName Artifact.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/mechanized_production.jpg Oracle:Enchant artifact you control\nAt the beginning of your upkeep, create a token that's a copy of enchanted artifact. Then if you control eight or more artifacts with the same name as one another, you win the game. diff --git a/forge-gui/res/cardsfolder/m/megatherium.txt b/forge-gui/res/cardsfolder/m/megatherium.txt index d83166c2c09..262ecbcb425 100644 --- a/forge-gui/res/cardsfolder/m/megatherium.txt +++ b/forge-gui/res/cardsfolder/m/megatherium.txt @@ -4,7 +4,7 @@ Types:Creature Beast PT:4/4 K:Trample T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you pay {1} for each card in your hand. -SVar:TrigSac:DB$Sacrifice | Defined$ Self | UnlessCost$ X | UnlessPayer$ You | References$ X +SVar:TrigSac:DB$Sacrifice | Defined$ Self | UnlessCost$ X | UnlessPayer$ You SVar:X:Count$InYourHand AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/megatherium.jpg diff --git a/forge-gui/res/cardsfolder/m/meglonoth.txt b/forge-gui/res/cardsfolder/m/meglonoth.txt index 6c8d306cb04..bfd3b3eca88 100644 --- a/forge-gui/res/cardsfolder/m/meglonoth.txt +++ b/forge-gui/res/cardsfolder/m/meglonoth.txt @@ -5,7 +5,7 @@ PT:6/6 K:Vigilance K:Trample T:Mode$ AttackerBlocked | ValidCard$ Creature | ValidBlocker$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever CARDNAME blocks a creature, CARDNAME deals damage to that creature's controller equal to CARDNAME's power. -SVar:TrigDealDamage:DB$DealDamage | Defined$ TriggeredAttackerController | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$DealDamage | Defined$ TriggeredAttackerController | NumDmg$ X SVar:X:Count$CardPower SVar:HasBlockEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/meglonoth.jpg diff --git a/forge-gui/res/cardsfolder/m/meishin_the_mind_cage.txt b/forge-gui/res/cardsfolder/m/meishin_the_mind_cage.txt index 9cea4b9a01e..826cc209036 100644 --- a/forge-gui/res/cardsfolder/m/meishin_the_mind_cage.txt +++ b/forge-gui/res/cardsfolder/m/meishin_the_mind_cage.txt @@ -1,7 +1,7 @@ Name:Meishin, the Mind Cage ManaCost:4 U U U Types:Legendary Enchantment -S:Mode$ Continuous | Affected$ Creature | AddPower$ -X | References$ X | Description$ All creatures get -X/-0, where X is the number of cards in your hand. +S:Mode$ Continuous | Affected$ Creature | AddPower$ -X | Description$ All creatures get -X/-0, where X is the number of cards in your hand. SVar:X:Count$InYourHand AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/meishin_the_mind_cage.jpg diff --git a/forge-gui/res/cardsfolder/m/meltdown.txt b/forge-gui/res/cardsfolder/m/meltdown.txt index f9290414d1c..1894b410f98 100644 --- a/forge-gui/res/cardsfolder/m/meltdown.txt +++ b/forge-gui/res/cardsfolder/m/meltdown.txt @@ -1,7 +1,7 @@ Name:Meltdown ManaCost:X R Types:Sorcery -A:SP$ DestroyAll | Cost$ X R | ValidCards$ Artifact.cmcLEX | References$ X | SpellDescription$ Destroy each artifact with converted mana cost X or less. +A:SP$ DestroyAll | Cost$ X R | ValidCards$ Artifact.cmcLEX | SpellDescription$ Destroy each artifact with converted mana cost X or less. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/meltdown.jpg diff --git a/forge-gui/res/cardsfolder/m/memoricide.txt b/forge-gui/res/cardsfolder/m/memoricide.txt index 3cb63781b32..b9466170dac 100644 --- a/forge-gui/res/cardsfolder/m/memoricide.txt +++ b/forge-gui/res/cardsfolder/m/memoricide.txt @@ -2,9 +2,9 @@ Name:Memoricide ManaCost:3 B Types:Sorcery A:SP$ NameCard | Cost$ 3 B | Defined$ You | ValidCards$ Card.nonLand | ValidDesc$ nonland | SubAbility$ ExileYard | SpellDescription$ Choose a nonland card name. Search target player's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles their library. -SVar:ExileYard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Player | TgtPrompt$ Select target player | ChangeType$ Card.NamedCard | Chooser$ You | ChangeNum$ NumInYard | Hidden$ True | SubAbility$ ExileHand | References$ NumInYard | StackDescription$ Choose a nonland card name. Search target player's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles their library. -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | References$ NumInHand | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | References$ NumInLib | StackDescription$ None +SVar:ExileYard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Player | TgtPrompt$ Select target player | ChangeType$ Card.NamedCard | Chooser$ You | ChangeNum$ NumInYard | Hidden$ True | SubAbility$ ExileHand | StackDescription$ Choose a nonland card name. Search target player's graveyard, hand, and library for any number of cards with that name and exile them. Then that player shuffles their library. +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | StackDescription$ None SVar:NumInLib:TargetedPlayer$CardsInLibrary SVar:NumInHand:TargetedPlayer$CardsInHand SVar:NumInYard:TargetedPlayer$CardsInGraveyard diff --git a/forge-gui/res/cardsfolder/m/menacing_ogre.txt b/forge-gui/res/cardsfolder/m/menacing_ogre.txt index ee9c1665d40..d41dd877bf7 100644 --- a/forge-gui/res/cardsfolder/m/menacing_ogre.txt +++ b/forge-gui/res/cardsfolder/m/menacing_ogre.txt @@ -6,7 +6,7 @@ K:Trample K:Haste T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChooseNumber | TriggerDescription$ When CARDNAME enters the battlefield, each player secretly chooses a number. Then those numbers are revealed. Each player with the highest number loses that much life. If you are one of those players, put two +1/+1 counters on CARDNAME. SVar:TrigChooseNumber:DB$ ChooseNumber | Defined$ Player | SecretlyChoose$ True | Highest$ DBLoseLife | AILogic$ HighestGetCounter | RememberHighest$ True | SubAbility$ DBPutCounter -SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | References$ X | LifeAmount$ X +SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X SVar:X:Count$ChosenNumber SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 2 | ConditionPlayerDefined$ Remembered | ConditionPlayerContains$ You | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/m/mephitic_ooze.txt b/forge-gui/res/cardsfolder/m/mephitic_ooze.txt index 9c2ca2fdc44..93c4979393a 100644 --- a/forge-gui/res/cardsfolder/m/mephitic_ooze.txt +++ b/forge-gui/res/cardsfolder/m/mephitic_ooze.txt @@ -2,7 +2,7 @@ Name:Mephitic Ooze ManaCost:4 B Types:Creature Ooze PT:0/5 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | References$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. SVar:X:Count$Valid Artifact.YouCtrl T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Creature | CombatDamage$ True | TriggerZones$ Battlefield | Execute$ TrigDestroy | TriggerDescription$ Whenever CARDNAME deals combat damage to a creature, destroy that creature. It can't be regenerated. SVar:TrigDestroy:DB$ Destroy | Defined$ TriggeredTargetLKICopy | NoRegen$ True diff --git a/forge-gui/res/cardsfolder/m/mercadian_bazaar.txt b/forge-gui/res/cardsfolder/m/mercadian_bazaar.txt index 7828f5d3327..b5248276be6 100644 --- a/forge-gui/res/cardsfolder/m/mercadian_bazaar.txt +++ b/forge-gui/res/cardsfolder/m/mercadian_bazaar.txt @@ -3,6 +3,6 @@ ManaCost:no cost Types:Land K:CARDNAME enters the battlefield tapped. A:AB$ PutCounter | Cost$ T | Defined$ Self | CounterType$ STORAGE | CounterNum$ 1 | SpellDescription$ Put a storage counter on CARDNAME. -A:AB$ Mana | Cost$ T SubCounter | Produced$ R | Amount$ X | References$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | AILogic$ ManaRitualBattery | AINoRecursiveCheck$ True | SpellDescription$ Add {R} for each storage counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ R | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | AILogic$ ManaRitualBattery | AINoRecursiveCheck$ True | SpellDescription$ Add {R} for each storage counter removed this way. SVar:X:Count$xPaid Oracle:Mercadian Bazaar enters the battlefield tapped.\n{T}: Put a storage counter on Mercadian Bazaar.\n{T}, Remove any number of storage counters from Mercadian Bazaar: Add {R} for each storage counter removed this way. diff --git a/forge-gui/res/cardsfolder/m/mercadian_lift.txt b/forge-gui/res/cardsfolder/m/mercadian_lift.txt index 00bd9b88ae2..9657d855ea4 100644 --- a/forge-gui/res/cardsfolder/m/mercadian_lift.txt +++ b/forge-gui/res/cardsfolder/m/mercadian_lift.txt @@ -2,7 +2,7 @@ Name:Mercadian Lift ManaCost:2 Types:Artifact A:AB$ PutCounter | Cost$ 1 T | CounterType$ WINCH | CounterNum$ 1 | SpellDescription$ Put a winch counter on CARDNAME. -A:AB$ ChangeZone | Cost$ T SubCounter | ChangeNum$ 1 | ChangeType$ Creature.cmcEQX | Origin$ Hand | Destination$ Battlefield | References$ X | Optional$ True | SpellDescription$ You may put a creature card with converted mana cost X from your hand onto the battlefield. +A:AB$ ChangeZone | Cost$ T SubCounter | ChangeNum$ 1 | ChangeType$ Creature.cmcEQX | Origin$ Hand | Destination$ Battlefield | Optional$ True | SpellDescription$ You may put a creature card with converted mana cost X from your hand onto the battlefield. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{1}, {T}: Put a winch counter on Mercadian Lift.\n{T}, Remove X winch counters from Mercadian Lift: You may put a creature card with converted mana cost X from your hand onto the battlefield. diff --git a/forge-gui/res/cardsfolder/m/mercadias_downfall.txt b/forge-gui/res/cardsfolder/m/mercadias_downfall.txt index 3e7171bf203..458c9d7ec27 100644 --- a/forge-gui/res/cardsfolder/m/mercadias_downfall.txt +++ b/forge-gui/res/cardsfolder/m/mercadias_downfall.txt @@ -2,7 +2,7 @@ Name:Mercadia's Downfall ManaCost:2 R Types:Instant A:SP$ RepeatEach | Cost$ 2 R | RepeatCards$ Creature.attacking | RepeatSubAbility$ DBPump | SpellDescription$ Each attacking creature gets +1/+0 until end of turn for each nonbasic land defending player controls. -SVar:DBPump:DB$ Pump | Defined$ Remembered | References$ X | NumAtt$ X +SVar:DBPump:DB$ Pump | Defined$ Remembered | NumAtt$ X SVar:X:Count$Valid Land.nonBasic+DefenderCtrlForRemembered AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/m/merchants_dockhand.txt b/forge-gui/res/cardsfolder/m/merchants_dockhand.txt index 1bad0ca234a..e74789d88df 100644 --- a/forge-gui/res/cardsfolder/m/merchants_dockhand.txt +++ b/forge-gui/res/cardsfolder/m/merchants_dockhand.txt @@ -2,6 +2,6 @@ Name:Merchant's Dockhand ManaCost:1 Types:Artifact Creature Construct PT:1/2 -A:AB$ Dig | Cost$ 3 U T tapXType | DigNum$ X | ChangeNum$ 1 | DestinationZone$ Hand | DestinationZone2$ Library | LibraryPosition$ -1 | References$ X | SpellDescription$ Look at the top X cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. +A:AB$ Dig | Cost$ 3 U T tapXType | DigNum$ X | ChangeNum$ 1 | DestinationZone$ Hand | DestinationZone2$ Library | LibraryPosition$ -1 | SpellDescription$ Look at the top X cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. SVar:X:Count$xPaid Oracle:{3}{U}, {T}, Tap X untapped artifacts you control: Look at the top X cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/m/mercurial_chemister.txt b/forge-gui/res/cardsfolder/m/mercurial_chemister.txt index 619ae283ee6..bcf0c7667c1 100644 --- a/forge-gui/res/cardsfolder/m/mercurial_chemister.txt +++ b/forge-gui/res/cardsfolder/m/mercurial_chemister.txt @@ -3,7 +3,7 @@ ManaCost:3 U R Types:Creature Human Wizard PT:2/3 A:AB$ Draw | Cost$ U T | NumCards$ 2 | SpellDescription$ Draw two cards. -A:AB$ DealDamage | Cost$ R T Discard<1/Card> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the discarded card's converted mana cost. +A:AB$ DealDamage | Cost$ R T Discard<1/Card> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the discarded card's converted mana cost. SVar:X:Discarded$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/mercurial_chemister.jpg Oracle:{U}, {T}: Draw two cards.\n{R}, {T}, Discard a card: Mercurial Chemister deals damage to target creature equal to the discarded card's converted mana cost. diff --git a/forge-gui/res/cardsfolder/m/mercy_killing.txt b/forge-gui/res/cardsfolder/m/mercy_killing.txt index 3f005670f4b..d8f0cd5b7f7 100644 --- a/forge-gui/res/cardsfolder/m/mercy_killing.txt +++ b/forge-gui/res/cardsfolder/m/mercy_killing.txt @@ -2,7 +2,7 @@ Name:Mercy Killing ManaCost:2 GW Types:Instant A:SP$ Destroy | Cost$ 2 GW | ValidTgts$ Creature | TgtPrompt$ Select target creature | Sacrifice$ True | SubAbility$ DBToken | RememberLKI$ True | SpellDescription$ Target creature's controller sacrifices it, then creates X 1/1 green and white Elf Warrior creature tokens, where X is that creature's power. -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ gw_1_1_elf_warrior | LegacyImage$ gw 1 1 elf warrior shm | TokenOwner$ TargetedController | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ gw_1_1_elf_warrior | LegacyImage$ gw 1 1 elf warrior shm | TokenOwner$ TargetedController | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/mercy_killing.jpg diff --git a/forge-gui/res/cardsfolder/m/meren_of_clan_nel_toth.txt b/forge-gui/res/cardsfolder/m/meren_of_clan_nel_toth.txt index b1bd2bd4c19..fa025593894 100644 --- a/forge-gui/res/cardsfolder/m/meren_of_clan_nel_toth.txt +++ b/forge-gui/res/cardsfolder/m/meren_of_clan_nel_toth.txt @@ -5,8 +5,8 @@ PT:3/4 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigExperience | TriggerDescription$ Whenever another creature you control dies, you get an experience counter. SVar:TrigExperience:DB$ PutCounter | Defined$ You | CounterType$ Experience | CounterNum$ 1 T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigChangeZone | TriggerDescription$ At the beginning of your end step, choose target creature card in your graveyard. If that card's converted mana cost is less than or equal to the number of experience counters you have, return it to the battlefield. Otherwise, put it into your hand. -SVar:TrigChangeZone:DB$ ChangeZone | ValidTgts$ Creature.YouOwn | Origin$ Graveyard | Destination$ Battlefield | ConditionDefined$ Targeted | ConditionPresent$ Card.cmcLEX | References$ X | SubAbility$ DBChangeZone -SVar:DBChangeZone:DB$ ChangeZone | Defined$ Targeted | Origin$ Graveyard | Destination$ Hand | ConditionDefined$ Targeted | ConditionPresent$ Card.cmcGTX | References$ X +SVar:TrigChangeZone:DB$ ChangeZone | ValidTgts$ Creature.YouOwn | Origin$ Graveyard | Destination$ Battlefield | ConditionDefined$ Targeted | ConditionPresent$ Card.cmcLEX | SubAbility$ DBChangeZone +SVar:DBChangeZone:DB$ ChangeZone | Defined$ Targeted | Origin$ Graveyard | Destination$ Hand | ConditionDefined$ Targeted | ConditionPresent$ Card.cmcGTX SVar:X:Count$YourCountersExperience SVar:Picture:http://www.wizards.com/global/images/magic/general/meren_of_clan_nel_toth.jpg Oracle:Whenever another creature you control dies, you get an experience counter.\nAt the beginning of your end step, choose target creature card in your graveyard. If that card's converted mana cost is less than or equal to the number of experience counters you have, return it to the battlefield. Otherwise, put it into your hand. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/m/merfolk_windrobber.txt b/forge-gui/res/cardsfolder/m/merfolk_windrobber.txt index 5b28122af0d..8401f9ce0bf 100755 --- a/forge-gui/res/cardsfolder/m/merfolk_windrobber.txt +++ b/forge-gui/res/cardsfolder/m/merfolk_windrobber.txt @@ -5,7 +5,7 @@ PT:1/1 K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigMill | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player mills a card. SVar:TrigMill:DB$ Mill | Defined$ TriggeredTarget | NumCards$ 1 -A:AB$ Draw | Cost$ Sac<1/CARDNAME> | NumCards$ 1 | CheckSVar$ X | SVarCompare$ GE8 | References$ X | SpellDescription$ Draw a card. Activate this ability only if an opponent has eight or more cards in their graveyard. +A:AB$ Draw | Cost$ Sac<1/CARDNAME> | NumCards$ 1 | CheckSVar$ X | SVarCompare$ GE8 | SpellDescription$ Draw a card. Activate this ability only if an opponent has eight or more cards in their graveyard. SVar:X:PlayerCountOpponents$HighestCardsInGraveyard DeckHas:Ability$Mill & Ability$Sacrifice Oracle:Flying\nWhenever Merfolk Windrobber deals combat damage to a player, that player mills a card. (They put the top card of their library into their graveyard.)\nSacrifice Merfolk Windrobber: Draw a card. Activate this ability only if an opponent has eight or more cards in their graveyard. diff --git a/forge-gui/res/cardsfolder/m/merieke_ri_berit.txt b/forge-gui/res/cardsfolder/m/merieke_ri_berit.txt index 8faa699cf53..30e173cc457 100644 --- a/forge-gui/res/cardsfolder/m/merieke_ri_berit.txt +++ b/forge-gui/res/cardsfolder/m/merieke_ri_berit.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human PT:1/1 K:CARDNAME doesn't untap during your untap step. A:AB$ GainControl | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | LoseControl$ LeavesPlay,LoseControl | SubAbility$ DBEffect | SpellDescription$ Gain control of target creature for as long as you control CARDNAME. When CARDNAME leaves the battlefield or becomes untapped, destroy that creature. It can't be regenerated. -SVar:DBEffect:DB$ Effect | RememberObjects$ ParentTarget | ForgetOnMoved$ Battlefield | Triggers$ LeavesPlay,Untap | References$ LeavesPlay,Untap | Duration$ UntilHostLeavesPlay +SVar:DBEffect:DB$ Effect | RememberObjects$ ParentTarget | ForgetOnMoved$ Battlefield | Triggers$ LeavesPlay,Untap | Duration$ UntilHostLeavesPlay SVar:LeavesPlay:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.EffectSource | Execute$ DBDestroy | TriggerDescription$ When EFFECTSOURCE leaves the battlefield, or becomes untapped, destroy that creature. It can't be regenerated. SVar:Untap:Mode$ Untaps | ValidCard$ Card.EffectSource | Execute$ DBDestroy | Secondary$ True | TriggerDescription$ When EFFECTSOURCE leaves the battlefield, or becomes untapped, destroy that creature. It can't be regenerated. SVar:DBDestroy:DB$ Destroy | Defined$ Remembered | NoRegen$ True diff --git a/forge-gui/res/cardsfolder/m/messenger_jays.txt b/forge-gui/res/cardsfolder/m/messenger_jays.txt index 4d9347a183f..1e207f99605 100644 --- a/forge-gui/res/cardsfolder/m/messenger_jays.txt +++ b/forge-gui/res/cardsfolder/m/messenger_jays.txt @@ -7,7 +7,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigVote:DB$ Vote | Defined$ Player | StoreVoteNum$ True | VoteType$ Feather,Quill | SubAbility$ DBVoteFeather | AiLogic$ FeatherOrQuill SVar:DBVoteFeather:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ VoteNumFeather | SubAbility$ DBVoteQuill SVar:DBVoteQuill:DB$ Draw | NumCards$ VoteNumQuill | SubAbility$ DBDiscard | RememberDrawn$ True -SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ X | Mode$ TgtChoose | References$ X | SubAbility$ DBCleanup +SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ X | Mode$ TgtChoose | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount DeckHas:Ability$Counters & Ability$Discard diff --git a/forge-gui/res/cardsfolder/m/metallurgic_summonings.txt b/forge-gui/res/cardsfolder/m/metallurgic_summonings.txt index 51e5344465c..b2289e4db6a 100644 --- a/forge-gui/res/cardsfolder/m/metallurgic_summonings.txt +++ b/forge-gui/res/cardsfolder/m/metallurgic_summonings.txt @@ -2,7 +2,7 @@ Name:Metallurgic Summonings ManaCost:3 U U Types:Enchantment T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever you cast an instant or sorcery spell, create an X/X colorless Construct artifact creature token, where X is that spell's converted mana cost. -SVar:TrigToken:DB$Token | TokenAmount$ 1 | TokenScript$ c_x_x_a_construct | TokenPower$ X | TokenToughness$ X | References$ X | TokenOwner$ You | LegacyImage$ c x x a construct kld +SVar:TrigToken:DB$Token | TokenAmount$ 1 | TokenScript$ c_x_x_a_construct | TokenPower$ X | TokenToughness$ X | TokenOwner$ You | LegacyImage$ c x x a construct kld A:AB$ ChangeZoneAll | Cost$ 3 U U Exile<1/CARDNAME> | ChangeType$ Instant.YouOwn,Sorcery.YouOwn | IsPresent$ Card.Artifact+YouCtrl | PresentCompare$ GE6 | Origin$ Graveyard | Destination$ Hand | SpellDescription$ Return all instant and sorcery cards from your graveyard to your hand. Activate this ability only if you control six or more artifacts. SVar:X:TriggerCount$CastSACMC SVar:BuffedBy:Instant,Sorcery diff --git a/forge-gui/res/cardsfolder/m/metalwork_colossus.txt b/forge-gui/res/cardsfolder/m/metalwork_colossus.txt index 11aa81c0900..e5c984ffe2a 100644 --- a/forge-gui/res/cardsfolder/m/metalwork_colossus.txt +++ b/forge-gui/res/cardsfolder/m/metalwork_colossus.txt @@ -2,7 +2,7 @@ Name:Metalwork Colossus ManaCost:11 Types:Artifact Creature Construct PT:10/10 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {X} less to cast, where X is the total converted mana cost of noncreature artifacts you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {X} less to cast, where X is the total converted mana cost of noncreature artifacts you control. A:AB$ ChangeZone | Cost$Sac<2/Artifact> | Origin$ Graveyard | Destination$ Hand | ActivationZone$ Graveyard | SpellDescription$ Return CARDNAME from your graveyard to your hand. SVar:DiscardMe:1 SVar:X:Count$SumCMC_Artifact.nonCreature+YouCtrl diff --git a/forge-gui/res/cardsfolder/m/metalworker.txt b/forge-gui/res/cardsfolder/m/metalworker.txt index bdb6e31389b..73f05f4cb47 100644 --- a/forge-gui/res/cardsfolder/m/metalworker.txt +++ b/forge-gui/res/cardsfolder/m/metalworker.txt @@ -3,7 +3,7 @@ ManaCost:3 Types:Artifact Creature Construct PT:1/2 A:AB$ Reveal | Cost$ T | RevealValid$ Card.Artifact+YouCtrl | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBMetalWorkerMana | SpellDescription$ Reveal any number of artifact cards in your hand. Add {C}{C} for each card revealed this way. -SVar:DBMetalWorkerMana:DB$ Mana | Produced$ C | Amount$ MetalWorkerX | References$ MetalWorkerX,X | SubAbility$ DBMetalWorkerCleanup +SVar:DBMetalWorkerMana:DB$ Mana | Produced$ C | Amount$ MetalWorkerX | SubAbility$ DBMetalWorkerCleanup SVar:DBMetalWorkerCleanup:DB$ Cleanup | ClearRemembered$ True SVar:MetalWorkerX:Remembered$Amount.Twice AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/metamorphosis.txt b/forge-gui/res/cardsfolder/m/metamorphosis.txt index 04a5c7ac0e6..70f554b191e 100644 --- a/forge-gui/res/cardsfolder/m/metamorphosis.txt +++ b/forge-gui/res/cardsfolder/m/metamorphosis.txt @@ -1,7 +1,7 @@ Name:Metamorphosis ManaCost:G Types:Sorcery -A:SP$ Mana | Cost$ G Sac<1/Creature> | Produced$ Any | Amount$ X | References$ X | RestrictValid$ Card.Creature | SpellDescription$ Add X mana of any one color, where X is 1 plus the sacrificed creature's converted mana cost. Spend this mana only to cast creature spells. +A:SP$ Mana | Cost$ G Sac<1/Creature> | Produced$ Any | Amount$ X | RestrictValid$ Card.Creature | SpellDescription$ Add X mana of any one color, where X is 1 plus the sacrificed creature's converted mana cost. Spend this mana only to cast creature spells. SVar:X:Sacrificed$CardManaCost/Plus.1 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/metamorphosis.jpg diff --git a/forge-gui/res/cardsfolder/m/metathran_aerostat.txt b/forge-gui/res/cardsfolder/m/metathran_aerostat.txt index a8768babc6b..bc63540ceef 100644 --- a/forge-gui/res/cardsfolder/m/metathran_aerostat.txt +++ b/forge-gui/res/cardsfolder/m/metathran_aerostat.txt @@ -3,7 +3,7 @@ ManaCost:2 U U Types:Creature Metathran PT:2/2 K:Flying -A:AB$ ChangeZone | Cost$ X U | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature.cmcEQX | References$ X | ChangeNum$ 1 | RememberChanged$ True | SubAbility$ DBReturn | SpellDescription$ You may put a creature card with converted mana cost X from your hand onto the battlefield. If you do, return CARDNAME to its owner's hand. +A:AB$ ChangeZone | Cost$ X U | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature.cmcEQX | ChangeNum$ 1 | RememberChanged$ True | SubAbility$ DBReturn | SpellDescription$ You may put a creature card with converted mana cost X from your hand onto the battlefield. If you do, return CARDNAME to its owner's hand. SVar:DBReturn:DB$ ChangeZone | Origin$ Battlefield | Destination$ Hand | Defined$ Self | ConditionDefined$ Remembered | ConditionPresent$ Creature | ConditionCompare$ EQ1 | SubAbility$ Cleanup SVar:X:Count$xPaid SVar:Cleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/m/meteor_blast.txt b/forge-gui/res/cardsfolder/m/meteor_blast.txt index d0f349a8843..eb0fdc90de1 100644 --- a/forge-gui/res/cardsfolder/m/meteor_blast.txt +++ b/forge-gui/res/cardsfolder/m/meteor_blast.txt @@ -1,6 +1,6 @@ Name:Meteor Blast ManaCost:X R R R Types:Sorcery -A:SP$ DealDamage | Cost$ X R R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select X targets | TargetMin$ X | TargetMax$ X | NumDmg$ 4 | References$ X | SpellDescription$ CARDNAME deals 4 damage to each of X targets. +A:SP$ DealDamage | Cost$ X R R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select X targets | TargetMin$ X | TargetMax$ X | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to each of X targets. SVar:X:Count$xPaid Oracle:Meteor Blast deals 4 damage to each of X targets. diff --git a/forge-gui/res/cardsfolder/m/meteor_shower.txt b/forge-gui/res/cardsfolder/m/meteor_shower.txt index eb21bfda14c..ba36bcee4fa 100644 --- a/forge-gui/res/cardsfolder/m/meteor_shower.txt +++ b/forge-gui/res/cardsfolder/m/meteor_shower.txt @@ -1,7 +1,7 @@ Name:Meteor Shower ManaCost:X X R Types:Sorcery -A:SP$ DealDamage | Cost$ X X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select targets to distribute damage to | NumDmg$ DistroDmg | TargetMin$ 1 | TargetMax$ MaxTgts | DividedAsYouChoose$ DistroDmg | References$ DistroDmg,X,MaxTgts,NumPlayers,NumCreaturesAndPlaneswalkers | SpellDescription$ CARDNAME deals X plus 1 damage divided as you choose among any number of targets. +A:SP$ DealDamage | Cost$ X X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select targets to distribute damage to | NumDmg$ DistroDmg | TargetMin$ 1 | TargetMax$ MaxTgts | DividedAsYouChoose$ DistroDmg | SpellDescription$ CARDNAME deals X plus 1 damage divided as you choose among any number of targets. SVar:NumPlayers:PlayerCountPlayers$Amount/Plus.NumCreaturesAndPlaneswalkers SVar:NumCreaturesAndPlaneswalkers:Count$Valid Creature,Planeswalker SVar:MaxTgts:SVar$NumPlayers/Plus.1 diff --git a/forge-gui/res/cardsfolder/m/michonne_ruthless_survivor.txt b/forge-gui/res/cardsfolder/m/michonne_ruthless_survivor.txt index 2dd17b385a2..fb0d6e18b6b 100644 --- a/forge-gui/res/cardsfolder/m/michonne_ruthless_survivor.txt +++ b/forge-gui/res/cardsfolder/m/michonne_ruthless_survivor.txt @@ -5,7 +5,7 @@ Types:Legendary Creature Human Warrior PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When NICKNAME enters the battlefield, create two Walker tokens. SVar:TrigToken:DB$ Token | TokenAmount$ 2 | TokenScript$ walker | TokenOwner$ You -S:Mode$ Continuous | Affected$ Card.Self | CheckSVar$ Equipped | SVarCompare$ EQ1 | References$ Equipped | AddHiddenKeyword$ CARDNAME must be blocked if able. | Description$ As long as NICKNAME is equipped, she must be blocked if able. +S:Mode$ Continuous | Affected$ Card.Self | CheckSVar$ Equipped | SVarCompare$ EQ1 | AddHiddenKeyword$ CARDNAME must be blocked if able. | Description$ As long as NICKNAME is equipped, she must be blocked if able. SVar:Equipped:Count$Valid Card.Self+equipped SVar:EquipMe:Once T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | CheckSVar$ Zombies | NoResolvingCheck$ True | SVarCompare$ GE2 | Execute$ TrigPump | TriggerDescription$ Whenever NICKNAME and at least two Zombies attack, she gains indestructible until end of turn. diff --git a/forge-gui/res/cardsfolder/m/midnight_oil.txt b/forge-gui/res/cardsfolder/m/midnight_oil.txt index b14b431c172..f67ac5dc091 100644 --- a/forge-gui/res/cardsfolder/m/midnight_oil.txt +++ b/forge-gui/res/cardsfolder/m/midnight_oil.txt @@ -5,7 +5,7 @@ K:etbCounter:HOUR:7 T:Mode$ Phase | Phase$ Draw | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ At the beginning of your draw step, draw an additional card and remove two hour counters from CARDNAME. SVar:TrigDraw:DB$Draw | NumCards$ 1 | SubAbility$ DBRemoveCounter SVar:DBRemoveCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ HOUR | CounterNum$ 2 -S:Mode$ Continuous | Affected$ You | SetMaxHandSize$ X | References$ X | Description$ Your maximum hand size is equal to the number of hour counters on Midnight Oil. +S:Mode$ Continuous | Affected$ You | SetMaxHandSize$ X | Description$ Your maximum hand size is equal to the number of hour counters on Midnight Oil. T:Mode$ Discarded | ValidCard$ Card.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever you discard a card, you lose 1 life. SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 1 SVar:X:Count$CardCounters.HOUR diff --git a/forge-gui/res/cardsfolder/m/midnight_ritual.txt b/forge-gui/res/cardsfolder/m/midnight_ritual.txt index c93a9bde8bf..e328fd81ed7 100644 --- a/forge-gui/res/cardsfolder/m/midnight_ritual.txt +++ b/forge-gui/res/cardsfolder/m/midnight_ritual.txt @@ -1,8 +1,8 @@ Name:Midnight Ritual ManaCost:X 2 B Types:Sorcery -A:SP$ ChangeZone | Cost$ X 2 B | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Choose X target creature cards in your graveyard | ValidTgts$ Creature.YouOwn | TargetMin$ X | TargetMax$ X | References$ X | SubAbility$ DBToken | StackDescription$ {p:You} exiles {c:Targeted} from their graveyard. For each creature card exiled this way, {p:You} creates a 2/2 black Zombie creature token. | SpellDescription$ Exile X target creature cards from your graveyard. For each creature card exiled this way, create a 2/2 black Zombie creature token. -SVar:DBToken:DB$ Token | TokenScript$ b_2_2_zombie | TokenOwner$ You | TokenAmount$ X | References$ X +A:SP$ ChangeZone | Cost$ X 2 B | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Choose X target creature cards in your graveyard | ValidTgts$ Creature.YouOwn | TargetMin$ X | TargetMax$ X | SubAbility$ DBToken | StackDescription$ {p:You} exiles {c:Targeted} from their graveyard. For each creature card exiled this way, {p:You} creates a 2/2 black Zombie creature token. | SpellDescription$ Exile X target creature cards from your graveyard. For each creature card exiled this way, create a 2/2 black Zombie creature token. +SVar:DBToken:DB$ Token | TokenScript$ b_2_2_zombie | TokenOwner$ You | TokenAmount$ X SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Exile X target creature cards from your graveyard. For each creature card exiled this way, create a 2/2 black Zombie creature token. diff --git a/forge-gui/res/cardsfolder/m/midsummer_revel.txt b/forge-gui/res/cardsfolder/m/midsummer_revel.txt index 33f8aa2a335..b83d1a4f166 100644 --- a/forge-gui/res/cardsfolder/m/midsummer_revel.txt +++ b/forge-gui/res/cardsfolder/m/midsummer_revel.txt @@ -2,7 +2,7 @@ Name:Midsummer Revel ManaCost:3 G G Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME. -A:AB$ Token | Cost$ G Sac<1/CARDNAME> | LegacyImage$ g 3 3 beast usg | TokenAmount$ X | References$ X | TokenScript$ g_3_3_beast | TokenOwner$ You | SpellDescription$ Create X 3/3 green Beast creature tokens. +A:AB$ Token | Cost$ G Sac<1/CARDNAME> | LegacyImage$ g 3 3 beast usg | TokenAmount$ X | TokenScript$ g_3_3_beast | TokenOwner$ You | SpellDescription$ Create X 3/3 green Beast creature tokens. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ VERSE | CounterNum$ 1 AI:RemoveDeck:All SVar:X:Count$CardCounters.VERSE diff --git a/forge-gui/res/cardsfolder/m/might_beyond_reason.txt b/forge-gui/res/cardsfolder/m/might_beyond_reason.txt index 59abde5346a..72291de09ba 100644 --- a/forge-gui/res/cardsfolder/m/might_beyond_reason.txt +++ b/forge-gui/res/cardsfolder/m/might_beyond_reason.txt @@ -1,7 +1,7 @@ Name:Might Beyond Reason ManaCost:3 G Types:Instant -A:SP$ PutCounter | Cost$ 3 G | CounterNum$ X | CounterType$ P1P1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | References$ X | SpellDescription$ Put two +1/+1 counters on target creature. Delirium — Put three +1/+1 counters on that creature instead if there are four or more card types among cards in your graveyard. +A:SP$ PutCounter | Cost$ 3 G | CounterNum$ X | CounterType$ P1P1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Put two +1/+1 counters on target creature. Delirium — Put three +1/+1 counters on that creature instead if there are four or more card types among cards in your graveyard. SVar:X:Count$Delirium.3.2 DeckHints:Ability$Graveyard & Ability$Discard DeckHas:Ability$Delirium diff --git a/forge-gui/res/cardsfolder/m/might_makes_right.txt b/forge-gui/res/cardsfolder/m/might_makes_right.txt index 53ed72461b4..4a694773c62 100644 --- a/forge-gui/res/cardsfolder/m/might_makes_right.txt +++ b/forge-gui/res/cardsfolder/m/might_makes_right.txt @@ -1,7 +1,7 @@ Name:Might Makes Right ManaCost:5 R Types:Enchantment -T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigGainControl | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ EQY | References$ X,Y | TriggerDescription$ At the beginning of combat on your turn, if you control each creature on the battlefield with the greatest power, gain control of target creature an opponent controls until end of turn. Untap that creature. It gains haste until end of turn. +T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigGainControl | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ EQY | TriggerDescription$ At the beginning of combat on your turn, if you control each creature on the battlefield with the greatest power, gain control of target creature an opponent controls until end of turn. Untap that creature. It gains haste until end of turn. SVar:TrigGainControl:DB$ GainControl | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | LoseControl$ EOT | Untap$ True | AddKWs$ Haste SVar:X:Count$Valid Creature.greatestPower SVar:Y:Count$Valid Creature.greatestPower+YouCtrl diff --git a/forge-gui/res/cardsfolder/m/might_of_alara.txt b/forge-gui/res/cardsfolder/m/might_of_alara.txt index f88e3b0fbf5..fd7ec1b3d44 100644 --- a/forge-gui/res/cardsfolder/m/might_of_alara.txt +++ b/forge-gui/res/cardsfolder/m/might_of_alara.txt @@ -1,7 +1,7 @@ Name:Might of Alara ManaCost:G Types:Instant -A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Domain — Target creature gets +1/+1 until end of turn for each basic land type among lands you control. +A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Domain — Target creature gets +1/+1 until end of turn for each basic land type among lands you control. SVar:X:Count$Domain AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/might_of_alara.jpg diff --git a/forge-gui/res/cardsfolder/m/might_of_murasa.txt b/forge-gui/res/cardsfolder/m/might_of_murasa.txt index e3642962550..ce1c117bc2e 100755 --- a/forge-gui/res/cardsfolder/m/might_of_murasa.txt +++ b/forge-gui/res/cardsfolder/m/might_of_murasa.txt @@ -2,6 +2,6 @@ Name:Might of Murasa ManaCost:1 G Types:Instant K:Kicker:2 G -A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X | SpellDescription$ Target creature gets +3/+3 until end of turn. If this spell was kicked, that creature gets +5/+5 until end of turn instead. +A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | SpellDescription$ Target creature gets +3/+3 until end of turn. If this spell was kicked, that creature gets +5/+5 until end of turn instead. SVar:X:Count$Kicked.5.3 Oracle:Kicker {2}{G} (You may pay an additional {2}{G} as you cast this spell.)\nTarget creature gets +3/+3 until end of turn. If this spell was kicked, that creature gets +5/+5 until end of turn instead. diff --git a/forge-gui/res/cardsfolder/m/might_of_old_krosa.txt b/forge-gui/res/cardsfolder/m/might_of_old_krosa.txt index f164c1fbc8f..1a4a31bc938 100644 --- a/forge-gui/res/cardsfolder/m/might_of_old_krosa.txt +++ b/forge-gui/res/cardsfolder/m/might_of_old_krosa.txt @@ -1,7 +1,7 @@ Name:Might of Old Krosa ManaCost:G Types:Instant -A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X | AILogic$ Main1IfAble | SpellDescription$ Target creature gets +2/+2 until end of turn. If you cast this spell during your main phase, that creature gets +4/+4 until end of turn instead. +A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | AILogic$ Main1IfAble | SpellDescription$ Target creature gets +2/+2 until end of turn. If you cast this spell during your main phase, that creature gets +4/+4 until end of turn instead. SVar:X:Count$IfCastInOwnMainPhase.4.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/might_of_old_krosa.jpg Oracle:Target creature gets +2/+2 until end of turn. If you cast this spell during your main phase, that creature gets +4/+4 until end of turn instead. diff --git a/forge-gui/res/cardsfolder/m/might_of_the_masses.txt b/forge-gui/res/cardsfolder/m/might_of_the_masses.txt index 1a5655ff746..34570f5ee5a 100644 --- a/forge-gui/res/cardsfolder/m/might_of_the_masses.txt +++ b/forge-gui/res/cardsfolder/m/might_of_the_masses.txt @@ -1,7 +1,7 @@ Name:Might of the Masses ManaCost:G Types:Instant -A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Target creature gets +1/+1 until end of turn for each creature you control. +A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Target creature gets +1/+1 until end of turn for each creature you control. SVar:X:Count$TypeYouCtrl.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/might_of_the_masses.jpg Oracle:Target creature gets +1/+1 until end of turn for each creature you control. diff --git a/forge-gui/res/cardsfolder/m/might_of_the_nephilim.txt b/forge-gui/res/cardsfolder/m/might_of_the_nephilim.txt index 38557105461..3ed7a7616c4 100644 --- a/forge-gui/res/cardsfolder/m/might_of_the_nephilim.txt +++ b/forge-gui/res/cardsfolder/m/might_of_the_nephilim.txt @@ -1,7 +1,7 @@ Name:Might of the Nephilim ManaCost:1 G Types:Instant -A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Target creature gets +2/+2 until end of turn for each of its colors. +A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Target creature gets +2/+2 until end of turn for each of its colors. SVar:X:Targeted$CardNumColors/Times.2 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/might_of_the_nephilim.jpg diff --git a/forge-gui/res/cardsfolder/m/militant_angel.txt b/forge-gui/res/cardsfolder/m/militant_angel.txt index 366b2a865b8..eb33e9235eb 100644 --- a/forge-gui/res/cardsfolder/m/militant_angel.txt +++ b/forge-gui/res/cardsfolder/m/militant_angel.txt @@ -5,6 +5,6 @@ PT:3/4 K:Flying K:Lifelink T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a number of 2/2 white Knight creature tokens with vigilance equal to the number of opponents you attacked this turn. -SVar:TrigToken:DB$ Token | TokenOwner$ You | TokenAmount$ X | TokenScript$ w_2_2_knight_vigilance | LegacyImage$ w 2 2 knight vigilance gnt | References$ X | SpellDescription$ Create a number of 2/2 white Knight creature tokens with vigilance equal to the number of opponents you attacked this turn. +SVar:TrigToken:DB$ Token | TokenOwner$ You | TokenAmount$ X | TokenScript$ w_2_2_knight_vigilance | LegacyImage$ w 2 2 knight vigilance gnt | SpellDescription$ Create a number of 2/2 white Knight creature tokens with vigilance equal to the number of opponents you attacked this turn. SVar:X:TriggeredCardController$OpponentsAttackedThisTurn Oracle:Flying, lifelink\nWhen Militant Angel enters the battlefield, create a number of 2/2 white Knight creature tokens with vigilance equal to the number of opponents you attacked this turn. diff --git a/forge-gui/res/cardsfolder/m/militant_inquisitor.txt b/forge-gui/res/cardsfolder/m/militant_inquisitor.txt index fc21db7277f..efc68ac44e0 100644 --- a/forge-gui/res/cardsfolder/m/militant_inquisitor.txt +++ b/forge-gui/res/cardsfolder/m/militant_inquisitor.txt @@ -2,7 +2,7 @@ Name:Militant Inquisitor ManaCost:2 W Types:Creature Human Cleric PT:2/3 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | References$ X | Description$ CARDNAME gets +1/+0 for each Equipment you control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | Description$ CARDNAME gets +1/+0 for each Equipment you control. SVar:X:Count$Valid Equipment.YouCtrl SVar:BuffedBy:Equipment DeckHints:Type$Equipment diff --git a/forge-gui/res/cardsfolder/m/miming_slime.txt b/forge-gui/res/cardsfolder/m/miming_slime.txt index ebcc577855b..b125cbe2486 100644 --- a/forge-gui/res/cardsfolder/m/miming_slime.txt +++ b/forge-gui/res/cardsfolder/m/miming_slime.txt @@ -1,7 +1,7 @@ Name:Miming Slime ManaCost:2 G Types:Sorcery -A:SP$ Token | Cost$ 2 G | TokenAmount$ 1 | TokenScript$ g_x_x_ooze | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | LegacyImage$ g x x ooze gtc | SpellDescription$ Create an X/X green Ooze creature token, where X is the greatest power among creatures you control. +A:SP$ Token | Cost$ 2 G | TokenAmount$ 1 | TokenScript$ g_x_x_ooze | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | LegacyImage$ g x x ooze gtc | SpellDescription$ Create an X/X green Ooze creature token, where X is the greatest power among creatures you control. SVar:X:Count$GreatestPower_Creature.YouCtrl SVar:NeedsToPlay:Creature.YouCtrl DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/m/minamo_sightbender.txt b/forge-gui/res/cardsfolder/m/minamo_sightbender.txt index 23d62ee208e..23c17b7e8eb 100644 --- a/forge-gui/res/cardsfolder/m/minamo_sightbender.txt +++ b/forge-gui/res/cardsfolder/m/minamo_sightbender.txt @@ -2,7 +2,7 @@ Name:Minamo Sightbender ManaCost:1 U Types:Creature Human Wizard PT:1/2 -A:AB$ Pump | Cost$ X T | KW$ HIDDEN Unblockable | TgtPrompt$ Select target creature with power X or less | ValidTgts$ Creature.powerLEX | References$ X | SpellDescription$ Target creature with power X or less can't be blocked this turn. +A:AB$ Pump | Cost$ X T | KW$ HIDDEN Unblockable | TgtPrompt$ Select target creature with power X or less | ValidTgts$ Creature.powerLEX | SpellDescription$ Target creature with power X or less can't be blocked this turn. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{X}, {T}: Target creature with power X or less can't be blocked this turn. diff --git a/forge-gui/res/cardsfolder/m/mind_bomb.txt b/forge-gui/res/cardsfolder/m/mind_bomb.txt index d88976dc6fd..fbc70d00668 100644 --- a/forge-gui/res/cardsfolder/m/mind_bomb.txt +++ b/forge-gui/res/cardsfolder/m/mind_bomb.txt @@ -3,8 +3,8 @@ ManaCost:U Types:Sorcery A:SP$ RepeatEach | Cost$ U | RepeatSubAbility$ DBChoose | RepeatPlayers$ Player | SpellDescription$ Each player may discard up to three cards. CARDNAME deals damage to each player equal to 3 minus the number of cards they discarded this way. SVar:DBChoose:DB$ ChooseNumber | Defined$ Player.IsRemembered | Min$ 0 | Max$ 3 | AILogic$ LoseLife | SubAbility$ DBDiscard -SVar:DBDiscard:DB$ Discard | Defined$ Player.IsRemembered | NumCards$ X | References$ X | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBLoseLife -SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ Z | References$ Z,Y | SubAbility$ DBCleanup +SVar:DBDiscard:DB$ Discard | Defined$ Player.IsRemembered | NumCards$ X | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBLoseLife +SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ Z | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ChosenNumber SVar:Y:Count$RememberedSize/Minus.1 diff --git a/forge-gui/res/cardsfolder/m/mind_burst.txt b/forge-gui/res/cardsfolder/m/mind_burst.txt index 47e86b0b14a..6613e97db33 100644 --- a/forge-gui/res/cardsfolder/m/mind_burst.txt +++ b/forge-gui/res/cardsfolder/m/mind_burst.txt @@ -1,7 +1,7 @@ Name:Mind Burst ManaCost:1 B Types:Sorcery -A:SP$ Discard | Cost$ 1 B | ValidTgts$ Player | NumCards$ X | References$ X | Mode$ TgtChoose | SpellDescription$ Target player discards X cards, where X is one plus the number of cards named Mind Burst in all graveyards. +A:SP$ Discard | Cost$ 1 B | ValidTgts$ Player | NumCards$ X | Mode$ TgtChoose | SpellDescription$ Target player discards X cards, where X is one plus the number of cards named Mind Burst in all graveyards. SVar:X:Count$NamedInAllYards.Mind Burst/Plus.1 DeckHints:Name$Mind Burst SVar:Picture:http://www.wizards.com/global/images/magic/general/mind_burst.jpg diff --git a/forge-gui/res/cardsfolder/m/mind_carver.txt b/forge-gui/res/cardsfolder/m/mind_carver.txt index 987a0b33893..b3aedc61f18 100755 --- a/forge-gui/res/cardsfolder/m/mind_carver.txt +++ b/forge-gui/res/cardsfolder/m/mind_carver.txt @@ -4,7 +4,7 @@ Types:Artifact Equipment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigAttach | TriggerDescription$ When CARDNAME enters the battlefield, attach it to target creature you control. SVar:TrigAttach:DB$ Attach | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control SVar:NeedsToPlay:Creature.YouCtrl+inZoneBattlefield -S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ Y | References$ X,Y,Z | Description$ Equipped creature gets +1/+0. It gets +3/+1 instead as long as an opponent has eight or more cards in their graveyard. +S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ Y | Description$ Equipped creature gets +1/+0. It gets +3/+1 instead as long as an opponent has eight or more cards in their graveyard. SVar:X:Count$Compare Z GE8.3.1 SVar:Y:Count$Compare Z GE8.1.0 SVar:Z:PlayerCountOpponents$HighestCardsInGraveyard diff --git a/forge-gui/res/cardsfolder/m/mind_grind.txt b/forge-gui/res/cardsfolder/m/mind_grind.txt index 0ef7eaa49be..3bd4090001d 100644 --- a/forge-gui/res/cardsfolder/m/mind_grind.txt +++ b/forge-gui/res/cardsfolder/m/mind_grind.txt @@ -1,7 +1,7 @@ Name:Mind Grind ManaCost:X U B Types:Sorcery -A:SP$ DigUntil | Cost$ XCantBe0 X U B | Defined$ Player.Opponent | References$ X | Amount$ X | Valid$ Land | ValidDescription$ land | RevealedDestination$ Graveyard | SpellDescription$ Each opponent reveals cards from the top of their library until they reveal X land cards, then puts all cards revealed this way into their graveyard. X can't be 0. +A:SP$ DigUntil | Cost$ XCantBe0 X U B | Defined$ Player.Opponent | Amount$ X | Valid$ Land | ValidDescription$ land | RevealedDestination$ Graveyard | SpellDescription$ Each opponent reveals cards from the top of their library until they reveal X land cards, then puts all cards revealed this way into their graveyard. X can't be 0. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/mind_grind.jpg Oracle:Each opponent reveals cards from the top of their library until they reveal X land cards, then puts all cards revealed this way into their graveyard. X can't be 0. diff --git a/forge-gui/res/cardsfolder/m/mind_maggots.txt b/forge-gui/res/cardsfolder/m/mind_maggots.txt index 6facb2cdfe9..61bf92421e6 100644 --- a/forge-gui/res/cardsfolder/m/mind_maggots.txt +++ b/forge-gui/res/cardsfolder/m/mind_maggots.txt @@ -3,10 +3,10 @@ ManaCost:3 B Types:Creature Insect PT:2/2 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseDiscardCount | TriggerDescription$ When CARDNAME enters the battlefield, discard any number of creature cards. For each card discarded this way, put two +1/+1 counters on CARDNAME. -SVar:ChooseDiscardCount:DB$ ChooseNumber | Defined$ You | Min$ 0 | Max$ MaxChoice | References$ MaxChoice | ListTitle$ Discard how many creatures? | SubAbility$ MindMaggotsDiscard +SVar:ChooseDiscardCount:DB$ ChooseNumber | Defined$ You | Min$ 0 | Max$ MaxChoice | ListTitle$ Discard how many creatures? | SubAbility$ MindMaggotsDiscard # Used ChooseNumber here because otherwise the user must cancel for every valid card not discarded which can make it seem slow or broken. -SVar:MindMaggotsDiscard:DB$ Discard | DiscardValid$ Creature | NumCards$ ChosenMaggots | References$ ChosenMaggots | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ MindMaggotsPutCounter -SVar:MindMaggotsPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ MindMaggotsCount | References$ MindMaggotsCount,DiscardedMind | SubAbility$ MindMaggotsCleanup +SVar:MindMaggotsDiscard:DB$ Discard | DiscardValid$ Creature | NumCards$ ChosenMaggots | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ MindMaggotsPutCounter +SVar:MindMaggotsPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ MindMaggotsCount | SubAbility$ MindMaggotsCleanup SVar:MindMaggotsCleanup:DB$ Cleanup | ClearRemembered$ True SVar:MaxChoice:Count$TypeInYourHand.Creature SVar:ChosenMaggots:Count$ChosenNumber diff --git a/forge-gui/res/cardsfolder/m/mind_shatter.txt b/forge-gui/res/cardsfolder/m/mind_shatter.txt index e455b57fce1..2876812b3c0 100644 --- a/forge-gui/res/cardsfolder/m/mind_shatter.txt +++ b/forge-gui/res/cardsfolder/m/mind_shatter.txt @@ -1,7 +1,7 @@ Name:Mind Shatter ManaCost:X B B Types:Sorcery -A:SP$ Discard | Cost$ X B B | ValidTgts$ Player | NumCards$ X | References$ X | Mode$ Random | SpellDescription$ Target player discards X cards at random. +A:SP$ Discard | Cost$ X B B | ValidTgts$ Player | NumCards$ X | Mode$ Random | SpellDescription$ Target player discards X cards at random. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/mind_shatter.jpg Oracle:Target player discards X cards at random. diff --git a/forge-gui/res/cardsfolder/m/mind_sludge.txt b/forge-gui/res/cardsfolder/m/mind_sludge.txt index 88c02d0bdfd..6cb9305bee9 100644 --- a/forge-gui/res/cardsfolder/m/mind_sludge.txt +++ b/forge-gui/res/cardsfolder/m/mind_sludge.txt @@ -1,7 +1,7 @@ Name:Mind Sludge ManaCost:4 B Types:Sorcery -A:SP$ Discard | Cost$ 4 B | ValidTgts$ Player | NumCards$ X | References$ X | Mode$ TgtChoose | SpellDescription$ Target player discards a card for each Swamp you control. +A:SP$ Discard | Cost$ 4 B | ValidTgts$ Player | NumCards$ X | Mode$ TgtChoose | SpellDescription$ Target player discards a card for each Swamp you control. SVar:X:Count$TypeYouCtrl.Swamp SVar:Picture:http://www.wizards.com/global/images/magic/general/mind_sludge.jpg Oracle:Target player discards a card for each Swamp you control. diff --git a/forge-gui/res/cardsfolder/m/mind_spring.txt b/forge-gui/res/cardsfolder/m/mind_spring.txt index 6869fba8544..74e7b50bd33 100644 --- a/forge-gui/res/cardsfolder/m/mind_spring.txt +++ b/forge-gui/res/cardsfolder/m/mind_spring.txt @@ -1,7 +1,7 @@ Name:Mind Spring ManaCost:X U U Types:Sorcery -A:SP$ Draw | Cost$ X U U | NumCards$ X | References$ X | SpellDescription$ Draw X cards. +A:SP$ Draw | Cost$ X U U | NumCards$ X | SpellDescription$ Draw X cards. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/mind_spring.jpg Oracle:Draw X cards. diff --git a/forge-gui/res/cardsfolder/m/mind_twist.txt b/forge-gui/res/cardsfolder/m/mind_twist.txt index 3ae55afba8a..0eebe52c7ca 100644 --- a/forge-gui/res/cardsfolder/m/mind_twist.txt +++ b/forge-gui/res/cardsfolder/m/mind_twist.txt @@ -1,7 +1,7 @@ Name:Mind Twist ManaCost:X B Types:Sorcery -A:SP$ Discard | Cost$ X B | ValidTgts$ Player | NumCards$ X | References$ X | Mode$ Random | SpellDescription$ Target player discards X cards at random. +A:SP$ Discard | Cost$ X B | ValidTgts$ Player | NumCards$ X | Mode$ Random | SpellDescription$ Target player discards X cards at random. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/mind_twist.jpg Oracle:Target player discards X cards at random. diff --git a/forge-gui/res/cardsfolder/m/mind_unbound.txt b/forge-gui/res/cardsfolder/m/mind_unbound.txt index 8b430ae97e6..07789c45cf6 100644 --- a/forge-gui/res/cardsfolder/m/mind_unbound.txt +++ b/forge-gui/res/cardsfolder/m/mind_unbound.txt @@ -3,7 +3,7 @@ ManaCost:4 U U Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a lore counter on CARDNAME, then draw a card for each lore counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ LORE | CounterNum$ 1 | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:Count$CardCounters.LORE SVar:Picture:http://www.wizards.com/global/images/magic/general/mind_unbound.jpg Oracle:At the beginning of your upkeep, put a lore counter on Mind Unbound, then draw a card for each lore counter on Mind Unbound. diff --git a/forge-gui/res/cardsfolder/m/mind_warp.txt b/forge-gui/res/cardsfolder/m/mind_warp.txt index 8d461a31c5e..e59ae4fda72 100644 --- a/forge-gui/res/cardsfolder/m/mind_warp.txt +++ b/forge-gui/res/cardsfolder/m/mind_warp.txt @@ -1,7 +1,7 @@ Name:Mind Warp ManaCost:X 3 B Types:Sorcery -A:SP$ Discard | Cost$ X 3 B | ValidTgts$ Player | Mode$ RevealYouChoose | NumCards$ X | References$ X | SpellDescription$ Target player reveals their hand. You choose X cards from it. That player discards those cards. +A:SP$ Discard | Cost$ X 3 B | ValidTgts$ Player | Mode$ RevealYouChoose | NumCards$ X | SpellDescription$ Target player reveals their hand. You choose X cards from it. That player discards those cards. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/mind_warp.jpg Oracle:Look at target player's hand and choose X cards from it. That player discards those cards. diff --git a/forge-gui/res/cardsfolder/m/mindblaze.txt b/forge-gui/res/cardsfolder/m/mindblaze.txt index bf24a657377..92aa656fb1e 100644 --- a/forge-gui/res/cardsfolder/m/mindblaze.txt +++ b/forge-gui/res/cardsfolder/m/mindblaze.txt @@ -3,8 +3,8 @@ ManaCost:5 R Types:Sorcery A:SP$ NameCard | Cost$ 5 R | ValidCards$ Card.nonLand | ValidDesc$ nonland | SubAbility$ DBChooseNumber | SpellDescription$ Choose a nonland card name and a number greater than 0. Target player reveals their library. If that library contains exactly the chosen number of cards with the chosen name, Mindblaze deals 8 damage to that player. Then that player shuffles their library. SVar:DBChooseNumber:DB$ ChooseNumber | Min$ 1 | SubAbility$ DBDig -SVar:DBDig:DB$ Dig | DigNum$ X | References$ X | ValidTgts$ Player | TgtPrompt$ Select target player | Reveal$ True | NoMove$ True | RememberRevealed$ True | DestinationZone$ Library | LibraryPosition$ 0 | LibraryPosition2$ 0 | SubAbility$ DBDamage -SVar:DBDamage:DB$ DealDamage | NumDmg$ 8 | Defined$ Targeted | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQZ | References$ Y,Z | SubAbility$ DBShuffle +SVar:DBDig:DB$ Dig | DigNum$ X | ValidTgts$ Player | TgtPrompt$ Select target player | Reveal$ True | NoMove$ True | RememberRevealed$ True | DestinationZone$ Library | LibraryPosition$ 0 | LibraryPosition2$ 0 | SubAbility$ DBDamage +SVar:DBDamage:DB$ DealDamage | NumDmg$ 8 | Defined$ Targeted | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQZ | SubAbility$ DBShuffle SVar:DBShuffle:DB$ Shuffle | Defined$ ParentTarget | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:TargetedPlayer$CardsInLibrary diff --git a/forge-gui/res/cardsfolder/m/mindbreak_trap.txt b/forge-gui/res/cardsfolder/m/mindbreak_trap.txt index 76e493ac3f5..04efaa469f2 100644 --- a/forge-gui/res/cardsfolder/m/mindbreak_trap.txt +++ b/forge-gui/res/cardsfolder/m/mindbreak_trap.txt @@ -1,8 +1,8 @@ Name:Mindbreak Trap ManaCost:2 U U Types:Instant Trap -SVar:AltCost:Cost$ 0 | CheckSVar$ OppCastThisTurn | SVarCompare$ GE3 | References$ OppCastThisTurn | Description$ If an opponent cast three or more spells this turn, you may pay {0} rather than pay this spell's mana cost. -A:SP$ ChangeZone | Cost$ 2 U U | TargetType$ Spell | ValidTgts$ Card | TgtZone$ Stack | Origin$ Stack | Destination$ Exile | TargetMin$ 0 | TargetMax$ MaxTgts | References$ MaxTgts | Fizzle$ True | StackDescription$ SpellDescription | SpellDescription$ Exile any number of target spells. +SVar:AltCost:Cost$ 0 | CheckSVar$ OppCastThisTurn | SVarCompare$ GE3 | Description$ If an opponent cast three or more spells this turn, you may pay {0} rather than pay this spell's mana cost. +A:SP$ ChangeZone | Cost$ 2 U U | TargetType$ Spell | ValidTgts$ Card | TgtZone$ Stack | Origin$ Stack | Destination$ Exile | TargetMin$ 0 | TargetMax$ MaxTgts | Fizzle$ True | StackDescription$ SpellDescription | SpellDescription$ Exile any number of target spells. SVar:OppCastThisTurn:Count$ThisTurnCast_Card.OppCtrl SVar:MaxTgts:Count$SpellsOnStack AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/mindcrank.txt b/forge-gui/res/cardsfolder/m/mindcrank.txt index 23af2bbbb21..0b2813c79b5 100644 --- a/forge-gui/res/cardsfolder/m/mindcrank.txt +++ b/forge-gui/res/cardsfolder/m/mindcrank.txt @@ -2,7 +2,7 @@ Name:Mindcrank ManaCost:2 Types:Artifact T:Mode$ LifeLost | ValidPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ Whenever an opponent loses life, that player mills that many cards. (Damage dealt by sources without infect causes loss of life.) -SVar:TrigMill:DB$ Mill | Defined$ TriggeredPlayer | NumCards$ X | References$ X +SVar:TrigMill:DB$ Mill | Defined$ TriggeredPlayer | NumCards$ X SVar:X:TriggerCount$LifeAmount AI:RemoveDeck:Random SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/m/mindleecher.txt b/forge-gui/res/cardsfolder/m/mindleecher.txt index 8f1dd03f299..f19cfe9012f 100644 --- a/forge-gui/res/cardsfolder/m/mindleecher.txt +++ b/forge-gui/res/cardsfolder/m/mindleecher.txt @@ -11,6 +11,6 @@ SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:STPlay:Mode$ Continuous | MayLookAt$ You | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may look at and play a card as long as it remains exiled. SVar:TrigCleanup:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Exile | Destination$ Any | TriggerZones$ Command | Execute$ DBExileSelf | Static$ True SVar:TrigCleanup2:Mode$ Phase | Phase$ Cleanup | Static$ True | CheckSVar$ X | SVarCompare$ EQ0 | Execute$ DBExileSelf -SVar:DBExileSelf:DB$ ChangeZone | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ EQ0 | Defined$ Self | Origin$ Command | Destination$ Exile +SVar:DBExileSelf:DB$ ChangeZone | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | Defined$ Self | Origin$ Command | Destination$ Exile SVar:X:Count$ValidExile Card.IsRemembered Oracle:Mutate {4}{B} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.)\nFlying\nWhenever this creature mutates, exile the top card of each opponent's library face down. You may look at and play those cards for as long as they remain exiled. diff --git a/forge-gui/res/cardsfolder/m/mindmoil.txt b/forge-gui/res/cardsfolder/m/mindmoil.txt index e470c436cb0..3af5ed35ebf 100644 --- a/forge-gui/res/cardsfolder/m/mindmoil.txt +++ b/forge-gui/res/cardsfolder/m/mindmoil.txt @@ -3,7 +3,7 @@ ManaCost:4 R Types:Enchantment T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ You | Execute$ TrigChangeZone | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a spell, put the cards in your hand on the bottom of your library in any order, then draw that many cards. SVar:TrigChangeZone:DB$ ChangeZoneAll | Origin$ Hand | Destination$ Library | ChangeType$ Card.YouOwn | RememberChanged$ True | LibraryPosition$ -1 | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ RemTossed | References$ RemTossed | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | NumCards$ RemTossed | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Tossed:Count$InYourHand SVar:RemTossed:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/m/minds_aglow.txt b/forge-gui/res/cardsfolder/m/minds_aglow.txt index e9ee572b853..ed7fb16f483 100644 --- a/forge-gui/res/cardsfolder/m/minds_aglow.txt +++ b/forge-gui/res/cardsfolder/m/minds_aglow.txt @@ -3,9 +3,9 @@ ManaCost:U Types:Sorcery A:SP$ RepeatEach | Cost$ U | RepeatPlayers$ Player | StartingWithActivator$ True | RepeatSubAbility$ DBPay | SubAbility$ DBDraw | StackDescription$ SpellDescription | SpellDescription$ Join forces — Starting with you, each player may pay any amount of mana. Each player draws X cards, where X is the total amount of mana paid this way. SVar:DBPay:DB$ ChooseNumber | Defined$ Player.IsRemembered | ChooseAnyNumber$ True | ListTitle$ Pay Any Mana |SubAbility$ DBStore -SVar:DBStore:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ CountSVar | Expression$ JoinForcesAmount/Plus.X | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | UnlessAI$ OnlyOwn | References$ X,JoinForcesAmount -SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ JoinForcesAmount | SubAbility$ DBReset | References$ JoinForcesAmount | StackDescription$ None -SVar:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 | References$ JoinForcesAmount +SVar:DBStore:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ CountSVar | Expression$ JoinForcesAmount/Plus.X | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | UnlessAI$ OnlyOwn +SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ JoinForcesAmount | SubAbility$ DBReset | StackDescription$ None +SVar:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 SVar:X:Count$ChosenNumber SVar:JoinForcesAmount:Number$0 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/mindshrieker.txt b/forge-gui/res/cardsfolder/m/mindshrieker.txt index 4634604bc13..11d100cff3a 100644 --- a/forge-gui/res/cardsfolder/m/mindshrieker.txt +++ b/forge-gui/res/cardsfolder/m/mindshrieker.txt @@ -4,7 +4,7 @@ Types:Creature Spirit Bird PT:1/1 K:Flying A:AB$ Mill | Cost$ 2 | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ 1 | SubAbility$ DBPump | RememberMilled$ True | SpellDescription$ Target player mills a card. Mindshrieker gets +X/+X until end of turn, where X is the milled card's converted mana cost. -SVar:DBPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +X | References$ X | SubAbility$ DBCleanup +SVar:DBPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost Oracle:Flying\n{2}: Target player mills a card. Mindshrieker gets +X/+X until end of turn, where X is the milled card's converted mana cost. diff --git a/forge-gui/res/cardsfolder/m/mindswipe.txt b/forge-gui/res/cardsfolder/m/mindswipe.txt index 64fb82e99af..c9c2aa1ef0f 100644 --- a/forge-gui/res/cardsfolder/m/mindswipe.txt +++ b/forge-gui/res/cardsfolder/m/mindswipe.txt @@ -1,8 +1,8 @@ Name:Mindswipe ManaCost:X U R Types:Instant -A:SP$ Counter | Cost$ X U R | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SubAbility$ DBBurn | References$ X | SpellDescription$ Counter target spell unless its controller pays {X}. Mindswipe deals {X} damage to that spell's controller. -SVar:DBBurn:DB$DealDamage | NumDmg$ X | References$ X | Defined$ TargetedController +A:SP$ Counter | Cost$ X U R | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SubAbility$ DBBurn | SpellDescription$ Counter target spell unless its controller pays {X}. Mindswipe deals {X} damage to that spell's controller. +SVar:DBBurn:DB$DealDamage | NumDmg$ X | Defined$ TargetedController SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/mindswipe.jpg Oracle:Counter target spell unless its controller pays {X}. Mindswipe deals X damage to that spell's controller. diff --git a/forge-gui/res/cardsfolder/m/mindwrack_demon.txt b/forge-gui/res/cardsfolder/m/mindwrack_demon.txt index dd249f6d9ce..fd17d320f3d 100644 --- a/forge-gui/res/cardsfolder/m/mindwrack_demon.txt +++ b/forge-gui/res/cardsfolder/m/mindwrack_demon.txt @@ -7,7 +7,7 @@ K:Trample T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigMill | TriggerDescription$ When CARDNAME enters the battlefield, mill four cards. SVar:TrigMill:DB$ Mill | NumCards$ 4 | Defined$ You T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigLoseLife | TriggerZones$ Battlefield | TriggerDescription$ Delirium — At the beginning of your upkeep, you lose 4 life unless there are four or more card types among cards in your graveyard. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X SVar:X:Count$Delirium.0.4 DeckHints:Ability$Graveyard & Ability$Discard DeckHas:Ability$Delirium diff --git a/forge-gui/res/cardsfolder/m/minion_of_the_wastes.txt b/forge-gui/res/cardsfolder/m/minion_of_the_wastes.txt index 024251e1a28..b29cac5ffb4 100644 --- a/forge-gui/res/cardsfolder/m/minion_of_the_wastes.txt +++ b/forge-gui/res/cardsfolder/m/minion_of_the_wastes.txt @@ -4,7 +4,7 @@ Types:Creature Minion PT:*/* K:Trample R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ PayLife | Description$ As CARDNAME enters the battlefield, pay any amount of life. -SVar:PayLife:AB$ StoreSVar | Cost$ Mandatory PayLife | References$ X | SVar$ LifePaidOnETB | Type$ Calculate | Expression$ X | SubAbility$ MoveToPlay +SVar:PayLife:AB$ StoreSVar | Cost$ Mandatory PayLife | SVar$ LifePaidOnETB | Type$ Calculate | Expression$ X | SubAbility$ MoveToPlay SVar:MoveToPlay:DB$ ChangeZone | Defined$ ReplacedCard | Origin$ All | Destination$ Battlefield S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ LifePaidOnETB | SetToughness$ LifePaidOnETB | Description$ CARDNAME's power and toughness are each equal to the life paid as it entered the battlefield. SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/m/minions_murmurs.txt b/forge-gui/res/cardsfolder/m/minions_murmurs.txt index 5997ee6e0ae..b43f15f0f3c 100644 --- a/forge-gui/res/cardsfolder/m/minions_murmurs.txt +++ b/forge-gui/res/cardsfolder/m/minions_murmurs.txt @@ -1,8 +1,8 @@ Name:Minions' Murmurs ManaCost:2 B B Types:Sorcery -A:SP$ Draw | Cost$ 2 B B | NumCards$ X | References$ X | SpellDescription$ You draw X cards and you lose X life, where X is the number of creatures you control. | SubAbility$ DB1 -SVar:DB1:DB$LoseLife | LifeAmount$ X | References$ X +A:SP$ Draw | Cost$ 2 B B | NumCards$ X | SpellDescription$ You draw X cards and you lose X life, where X is the number of creatures you control. | SubAbility$ DB1 +SVar:DB1:DB$LoseLife | LifeAmount$ X SVar:X:Count$TypeYouCtrl.Creature AI:RemoveDeck:All SVar:Picture:http://resources.wizards.com/magic/cards/fut/en-us/card130316.jpg diff --git a/forge-gui/res/cardsfolder/m/minotaur_explorer.txt b/forge-gui/res/cardsfolder/m/minotaur_explorer.txt index 5f58cbf9301..9afb763ddc3 100644 --- a/forge-gui/res/cardsfolder/m/minotaur_explorer.txt +++ b/forge-gui/res/cardsfolder/m/minotaur_explorer.txt @@ -4,7 +4,7 @@ Types:Creature Minotaur Scout PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you discard a card at random. SVar:TrigDiscard:DB$ Discard | NumCards$ 1 | Mode$ Random | Optional$ True | RememberDiscarded$ True | SubAbility$ DBSacrifice -SVar:DBSacrifice:DB$ Sacrifice | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBCleanup +SVar:DBSacrifice:DB$ Sacrifice | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:NeedsToPlayVar:Y GE2 diff --git a/forge-gui/res/cardsfolder/m/minotaur_illusionist.txt b/forge-gui/res/cardsfolder/m/minotaur_illusionist.txt index 0377cfa82d7..77d068f417b 100644 --- a/forge-gui/res/cardsfolder/m/minotaur_illusionist.txt +++ b/forge-gui/res/cardsfolder/m/minotaur_illusionist.txt @@ -3,7 +3,7 @@ ManaCost:3 U R Types:Creature Minotaur Wizard PT:3/4 A:AB$ Pump | Cost$ 1 U | Defined$ Self | KW$ Shroud | SpellDescription$ CARDNAME gains shroud until end of turn. -A:AB$ DealDamage | Cost$ R Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to its power to target creature. +A:AB$ DealDamage | Cost$ R Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to its power to target creature. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/minotaur_illusionist.jpg Oracle:{1}{U}: Minotaur Illusionist gains shroud until end of turn. (It can't be the target of spells or abilities.)\n{R}, Sacrifice Minotaur Illusionist: It deals damage equal to its power to target creature. diff --git a/forge-gui/res/cardsfolder/m/minotaur_tactician.txt b/forge-gui/res/cardsfolder/m/minotaur_tactician.txt index 1cb476e577d..0d93443ee93 100644 --- a/forge-gui/res/cardsfolder/m/minotaur_tactician.txt +++ b/forge-gui/res/cardsfolder/m/minotaur_tactician.txt @@ -3,8 +3,8 @@ ManaCost:3 R Types:Creature Minotaur PT:1/1 K:Haste -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Description$ CARDNAME gets +1/+1 as long as you control a white creature. -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ Y | SVarCompare$ GE1 | References$ Y | Description$ CARDNAME gets +1/+1 as long as you control a blue creature. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ GE1 | Description$ CARDNAME gets +1/+1 as long as you control a white creature. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ Y | SVarCompare$ GE1 | Description$ CARDNAME gets +1/+1 as long as you control a blue creature. SVar:X:Count$Valid Creature.YouCtrl+White SVar:Y:Count$Valid Creature.YouCtrl+Blue SVar:BuffedBy:Creature.White,Creature.Blue diff --git a/forge-gui/res/cardsfolder/m/mire_kavu.txt b/forge-gui/res/cardsfolder/m/mire_kavu.txt index 95549ceb212..c85c082293a 100644 --- a/forge-gui/res/cardsfolder/m/mire_kavu.txt +++ b/forge-gui/res/cardsfolder/m/mire_kavu.txt @@ -2,7 +2,7 @@ Name:Mire Kavu ManaCost:3 R Types:Creature Kavu PT:3/2 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Description$ CARDNAME gets +1/+1 as long as you control a Swamp. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ GE1 | Description$ CARDNAME gets +1/+1 as long as you control a Swamp. SVar:X:Count$Valid Swamp.YouCtrl AI:RemoveDeck:Random SVar:BuffedBy:Swamp diff --git a/forge-gui/res/cardsfolder/m/miren_the_moaning_well.txt b/forge-gui/res/cardsfolder/m/miren_the_moaning_well.txt index f9ce8d8f566..8f29bc223e8 100644 --- a/forge-gui/res/cardsfolder/m/miren_the_moaning_well.txt +++ b/forge-gui/res/cardsfolder/m/miren_the_moaning_well.txt @@ -2,7 +2,7 @@ Name:Miren, the Moaning Well ManaCost:no cost Types:Legendary Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ GainLife | Cost$ 3 T Sac<1/Creature> | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the sacrificed creature's toughness. +A:AB$ GainLife | Cost$ 3 T Sac<1/Creature> | LifeAmount$ X | SpellDescription$ You gain life equal to the sacrificed creature's toughness. SVar:X:Sacrificed$CardToughness AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/miren_the_moaning_well.jpg diff --git a/forge-gui/res/cardsfolder/m/mires_toll.txt b/forge-gui/res/cardsfolder/m/mires_toll.txt index 4025df28ba1..a7f1199543f 100644 --- a/forge-gui/res/cardsfolder/m/mires_toll.txt +++ b/forge-gui/res/cardsfolder/m/mires_toll.txt @@ -1,7 +1,7 @@ Name:Mire's Toll ManaCost:B Types:Sorcery -A:SP$ Discard | Cost$ B | ValidTgts$ Player | Mode$ RevealYouChoose | RevealNumber$ X | References$ X | NumCards$ 1 | SpellDescription$ Target player reveals a number of cards from their hand equal to the number of Swamps you control. You choose one of them. That player discards that card. +A:SP$ Discard | Cost$ B | ValidTgts$ Player | Mode$ RevealYouChoose | RevealNumber$ X | NumCards$ 1 | SpellDescription$ Target player reveals a number of cards from their hand equal to the number of Swamps you control. You choose one of them. That player discards that card. SVar:X:Count$TypeYouCtrl.Swamp SVar:Picture:http://www.wizards.com/global/images/magic/general/mires_toll.jpg Oracle:Target player reveals a number of cards from their hand equal to the number of Swamps you control. You choose one of them. That player discards that card. diff --git a/forge-gui/res/cardsfolder/m/mirran_mettle.txt b/forge-gui/res/cardsfolder/m/mirran_mettle.txt index b53a0f5d9cc..3877389306d 100644 --- a/forge-gui/res/cardsfolder/m/mirran_mettle.txt +++ b/forge-gui/res/cardsfolder/m/mirran_mettle.txt @@ -1,7 +1,7 @@ Name:Mirran Mettle ManaCost:G Types:Instant -A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Target creature gets +2/+2 until end of turn. Metalcraft — That creature gets +4/+4 until end of turn instead if you control three or more artifacts. +A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Target creature gets +2/+2 until end of turn. Metalcraft — That creature gets +4/+4 until end of turn instead if you control three or more artifacts. SVar:X:Count$Metalcraft.4.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/mirran_mettle.jpg Oracle:Target creature gets +2/+2 until end of turn.\nMetalcraft — That creature gets +4/+4 until end of turn instead if you control three or more artifacts. diff --git a/forge-gui/res/cardsfolder/m/mirrodin_besieged.txt b/forge-gui/res/cardsfolder/m/mirrodin_besieged.txt index d18063858a5..158d8eb9f3a 100644 --- a/forge-gui/res/cardsfolder/m/mirrodin_besieged.txt +++ b/forge-gui/res/cardsfolder/m/mirrodin_besieged.txt @@ -10,7 +10,7 @@ SVar:Phyrexian:DB$ Animate | Defined$ Self | Triggers$ TrigEnd | Permanent$ True SVar:TrigEnd:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | ValidPlayer$ You | Execute$ Filter | TriggerDescription$ At the beginning of your end step, draw a card, then discard a card. Then if there are fifteen or more artifact cards in your graveyard, target opponent loses the game. SVar:Filter:DB$ Draw | Defined$ You | NumCards$ 1 | SubAbility$ DBDiscard SVar:DBDiscard:DB$Discard | Defined$ You | Mode$ TgtChoose | NumCards$ 1 | SubAbility$ DBLose -SVar:DBLose:DB$ LosesGame | ValidTgts$ Opponent | ConditionCheckSVar$ CheckGraveyard | ConditionSVarCompare$ GE15 | References$ CheckGraveyard +SVar:DBLose:DB$ LosesGame | ValidTgts$ Opponent | ConditionCheckSVar$ CheckGraveyard | ConditionSVarCompare$ GE15 SVar:CheckGraveyard:Count$ValidGraveyard Card.Artifact+YouOwn DeckHas:Ability$Token Oracle:As Mirrodin Besieged enters the battlefield, choose Mirran or Phyrexian.\n• Mirran — Whenever you cast an artifact spell, create a 1/1 colorless Myr artifact creature token.\n• Phyrexian — At the beginning of your end step, draw a card, then discard a card. Then if there are fifteen or more artifact cards in your graveyard, target opponent loses the game. diff --git a/forge-gui/res/cardsfolder/m/mirror_entity.txt b/forge-gui/res/cardsfolder/m/mirror_entity.txt index cb3917da4fc..664130c75ac 100644 --- a/forge-gui/res/cardsfolder/m/mirror_entity.txt +++ b/forge-gui/res/cardsfolder/m/mirror_entity.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Creature Shapeshifter PT:1/1 K:Changeling -A:AB$ AnimateAll | Cost$ X | Power$ X | Toughness$ X | References$ X | Types$ AllCreatureTypes | ValidCards$ Creature.YouCtrl | SpellDescription$ Until end of turn, creatures you control have base power and toughness X/X and gain all creature types. | StackDescription$ SpellDescription +A:AB$ AnimateAll | Cost$ X | Power$ X | Toughness$ X | Types$ AllCreatureTypes | ValidCards$ Creature.YouCtrl | SpellDescription$ Until end of turn, creatures you control have base power and toughness X/X and gain all creature types. | StackDescription$ SpellDescription SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/mirror_entity.jpg diff --git a/forge-gui/res/cardsfolder/m/mirror_entity_avatar.txt b/forge-gui/res/cardsfolder/m/mirror_entity_avatar.txt index cd9353c753a..9b6eecb54b3 100644 --- a/forge-gui/res/cardsfolder/m/mirror_entity_avatar.txt +++ b/forge-gui/res/cardsfolder/m/mirror_entity_avatar.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Vanguard HandLifeModifier:+1/-2 A:AB$ ChooseType | ActivationZone$ Command | Cost$ X | Defined$ You | Type$ Creature | AILogic$ MostProminentComputerControls | SubAbility$ DBAnimate | SpellDescription$ Choose a creature type. Until end of turn, creatures you control of the chosen type have base power and toughness X/X and gain all creature types. -SVar:DBAnimate:DB$ AnimateAll | Power$ X | Toughness$ X | References$ X | Types$ AllCreatureTypes | ValidCards$ Creature.YouCtrl+ChosenType +SVar:DBAnimate:DB$ AnimateAll | Power$ X | Toughness$ X | Types$ AllCreatureTypes | ValidCards$ Creature.YouCtrl+ChosenType SVar:X:Count$xPaid SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Mirror Entity Avatar.full.jpg Oracle:Hand +1, life -2\n{X}: Choose a creature type. Until end of turn, creatures you control of the chosen type have base power and toughness X/X and gain all creature types. diff --git a/forge-gui/res/cardsfolder/m/mirror_mad_phantasm.txt b/forge-gui/res/cardsfolder/m/mirror_mad_phantasm.txt index 1e58bfb4e33..f51c90cfdd1 100644 --- a/forge-gui/res/cardsfolder/m/mirror_mad_phantasm.txt +++ b/forge-gui/res/cardsfolder/m/mirror_mad_phantasm.txt @@ -4,7 +4,7 @@ Types:Creature Spirit PT:5/1 K:Flying A:AB$ ChangeZone | Cost$ 1 U | Defined$ Self | Origin$ Battlefield | Destination$ Library | Shuffle$ True | RememberChanged$ True | SubAbility$ DBDig | SpellDescription$ CARDNAME's owner shuffles it into their library. If that player does, they reveal cards from the top of that library until a card named CARDNAME is revealed. That player puts that card onto the battlefield and all other cards revealed this way into their graveyard. -SVar:DBDig:DB$ DigUntil | Cost$ G T | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | Valid$ Card.namedMirror-Mad Phantasm | ValidDescription$ Mirror-Mad Phantasm | FoundDestination$ Battlefield | RevealedDestination$ Graveyard | SubAbility$ DBCleanup +SVar:DBDig:DB$ DigUntil | Cost$ G T | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | Valid$ Card.namedMirror-Mad Phantasm | ValidDescription$ Mirror-Mad Phantasm | FoundDestination$ Battlefield | RevealedDestination$ Graveyard | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount DeckHints:Name$Mirror-Mad Phantasm diff --git a/forge-gui/res/cardsfolder/m/mirrorwood_treefolk.txt b/forge-gui/res/cardsfolder/m/mirrorwood_treefolk.txt index b44896282f9..a89eb55cf03 100644 --- a/forge-gui/res/cardsfolder/m/mirrorwood_treefolk.txt +++ b/forge-gui/res/cardsfolder/m/mirrorwood_treefolk.txt @@ -2,7 +2,7 @@ Name:Mirrorwood Treefolk ManaCost:3 G Types:Creature Treefolk PT:2/4 -A:AB$ Effect | Cost$ 2 R W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to redirect the damage to | ReplacementEffects$ SelflessDamage | SVars$ SelflessDamage,SelflessDmg,ExileEffect | References$ SelflessDamage,SelflessDmg,ExileEffect | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next time damage would be dealt to CARDNAME this turn, that damage is dealt to any target instead. +A:AB$ Effect | Cost$ 2 R W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to redirect the damage to | ReplacementEffects$ SelflessDamage | SVars$ SelflessDamage,SelflessDmg,ExileEffect | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next time damage would be dealt to CARDNAME this turn, that damage is dealt to any target instead. SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ Creature.EffectSource | ReplaceWith$ SelflessDmg | DamageTarget$ Remembered | Description$ The next time damage would be dealt to EFFECTSOURCE this turn, that damage is dealt to any target instead. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ Remembered | VarType$ GameEntity | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile | Static$ True diff --git a/forge-gui/res/cardsfolder/m/mishra.txt b/forge-gui/res/cardsfolder/m/mishra.txt index 4507409a93e..a09e8119d68 100644 --- a/forge-gui/res/cardsfolder/m/mishra.txt +++ b/forge-gui/res/cardsfolder/m/mishra.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Vanguard HandLifeModifier:+0/-3 R:Event$ DamageDone | ActiveZones$ Command | ValidSource$ Creature.YouCtrl | ReplaceWith$ DmgTwice | Description$ If a creature you control would deal damage, it deals double that damage instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Mishra.full.jpg Oracle:Hand +0, life -3\nIf a creature you control would deal damage, it deals double that damage instead. diff --git a/forge-gui/res/cardsfolder/m/mishras_helix.txt b/forge-gui/res/cardsfolder/m/mishras_helix.txt index 18aa7734642..a74dce91292 100644 --- a/forge-gui/res/cardsfolder/m/mishras_helix.txt +++ b/forge-gui/res/cardsfolder/m/mishras_helix.txt @@ -1,7 +1,7 @@ Name:Mishra's Helix ManaCost:5 Types:Artifact -A:AB$ Tap | Cost$ X T | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Land | TgtPrompt$ Select X target lands | SpellDescription$ Tap X target lands. +A:AB$ Tap | Cost$ X T | TargetMin$ X | TargetMax$ X | ValidTgts$ Land | TgtPrompt$ Select X target lands | SpellDescription$ Tap X target lands. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{X}, {T}: Tap X target lands. diff --git a/forge-gui/res/cardsfolder/m/mist_of_stagnation.txt b/forge-gui/res/cardsfolder/m/mist_of_stagnation.txt index b5eb5adab5b..0d37e66a1fc 100644 --- a/forge-gui/res/cardsfolder/m/mist_of_stagnation.txt +++ b/forge-gui/res/cardsfolder/m/mist_of_stagnation.txt @@ -3,7 +3,7 @@ ManaCost:3 U U Types:Enchantment S:Mode$ Continuous | Affected$ Permanent | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | Description$ Permanents don't untap during their controllers' untap steps. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ TrigChoose | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's upkeep, that player chooses a permanent for each card in their graveyard, then untaps those permanents. -SVar:TrigChoose:DB$ ChooseCard | Defined$ TriggeredPlayer | Amount$ X | References$ X | Choices$ Permanent.ActivePlayerCtrl | ChoiceTitle$ Choose a permanent to untap | RememberChosen$ True | AILogic$ Untap | SubAbility$ DBUntap +SVar:TrigChoose:DB$ ChooseCard | Defined$ TriggeredPlayer | Amount$ X | Choices$ Permanent.ActivePlayerCtrl | ChoiceTitle$ Choose a permanent to untap | RememberChosen$ True | AILogic$ Untap | SubAbility$ DBUntap SVar:DBUntap:DB$ UntapAll | ValidCards$ Permanent.IsRemembered | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ValidGraveyard Card.ActivePlayerCtrl diff --git a/forge-gui/res/cardsfolder/m/mizzix_of_the_izmagnus.txt b/forge-gui/res/cardsfolder/m/mizzix_of_the_izmagnus.txt index d35731c5246..161d7568c53 100644 --- a/forge-gui/res/cardsfolder/m/mizzix_of_the_izmagnus.txt +++ b/forge-gui/res/cardsfolder/m/mizzix_of_the_izmagnus.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Goblin Wizard PT:2/2 T:Mode$ SpellCast | ValidCard$ Instant.cmcGTX,Sorcery.cmcGTX | ValidActivatingPlayer$ You | Execute$ TrigExperience | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast an instant or sorcery spell with converted mana cost greater than the number of experience counters you have, you get an experience counter. SVar:TrigExperience:DB$ PutCounter | Defined$ You | CounterType$ Experience | CounterNum$ 1 -S:Mode$ ReduceCost | ValidCard$ Instant,Sorcery | Type$ Spell | Activator$ You | Amount$ X | References$ X | Description$ Instant and sorcery spells you cast cost {1} less to cast for each experience counter you have. +S:Mode$ ReduceCost | ValidCard$ Instant,Sorcery | Type$ Spell | Activator$ You | Amount$ X | Description$ Instant and sorcery spells you cast cost {1} less to cast for each experience counter you have. SVar:X:Count$YourCountersExperience SVar:Picture:http://www.wizards.com/global/images/magic/general/mizzix_of_the_izmagnus.jpg Oracle:Whenever you cast an instant or sorcery spell with converted mana cost greater than the number of experience counters you have, you get an experience counter.\nInstant and sorcery spells you cast cost {1} less to cast for each experience counter you have. diff --git a/forge-gui/res/cardsfolder/m/mob_justice.txt b/forge-gui/res/cardsfolder/m/mob_justice.txt index 3d3216fb930..d7ba0cd7dfa 100644 --- a/forge-gui/res/cardsfolder/m/mob_justice.txt +++ b/forge-gui/res/cardsfolder/m/mob_justice.txt @@ -1,7 +1,7 @@ Name:Mob Justice ManaCost:1 R Types:Sorcery -A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target player or planeswalker equal to the number of creatures you control. +A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target player or planeswalker equal to the number of creatures you control. SVar:X:Count$TypeYouCtrl.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/mob_justice.jpg Oracle:Mob Justice deals damage to target player or planeswalker equal to the number of creatures you control. diff --git a/forge-gui/res/cardsfolder/m/mob_mentality.txt b/forge-gui/res/cardsfolder/m/mob_mentality.txt index 25a1848649a..ce012d5264c 100644 --- a/forge-gui/res/cardsfolder/m/mob_mentality.txt +++ b/forge-gui/res/cardsfolder/m/mob_mentality.txt @@ -4,8 +4,8 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ R | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Trample | Description$ Enchanted creature has trample. -T:Mode$ AttackersDeclared | AttackingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPump | IsPresent$ Creature.YouCtrl+attacking+nonWall | PresentCompare$ EQX | References$ X | TriggerDescription$ Whenever all non-Wall creatures you control attack, enchanted creature gets +X/+0 until end of turn, where X is the number of attacking creatures. -SVar:TrigPump:DB$ Pump | Defined$ Enchanted | NumAtt$ X | References$ X +T:Mode$ AttackersDeclared | AttackingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPump | IsPresent$ Creature.YouCtrl+attacking+nonWall | PresentCompare$ EQX | TriggerDescription$ Whenever all non-Wall creatures you control attack, enchanted creature gets +X/+0 until end of turn, where X is the number of attacking creatures. +SVar:TrigPump:DB$ Pump | Defined$ Enchanted | NumAtt$ X SVar:X:Count$Valid Creature.YouCtrl+nonWall SVar:Picture:http://www.wizards.com/global/images/magic/general/mob_mentality.jpg Oracle:Enchant creature\nEnchanted creature has trample.\nWhenever all non-Wall creatures you control attack, enchanted creature gets +X/+0 until end of turn, where X is the number of attacking creatures. diff --git a/forge-gui/res/cardsfolder/m/mobilized_district.txt b/forge-gui/res/cardsfolder/m/mobilized_district.txt index ac39681bd5e..06f11893ddb 100644 --- a/forge-gui/res/cardsfolder/m/mobilized_district.txt +++ b/forge-gui/res/cardsfolder/m/mobilized_district.txt @@ -2,7 +2,7 @@ Name:Mobilized District ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ Animate | Cost$ 4 | Defined$ Self | Power$ 3 | Toughness$ 3 | Types$ Creature,Citizen | Keywords$ Vigilance | ReduceCost$ X | References$ X | SpellDescription$ CARDNAME becomes a 3/3 Citizen creature with vigilance until end of turn. It's still a land. This ability costs {1} less to activate for each legendary creature and planeswalker you control. +A:AB$ Animate | Cost$ 4 | Defined$ Self | Power$ 3 | Toughness$ 3 | Types$ Creature,Citizen | Keywords$ Vigilance | ReduceCost$ X | SpellDescription$ CARDNAME becomes a 3/3 Citizen creature with vigilance until end of turn. It's still a land. This ability costs {1} less to activate for each legendary creature and planeswalker you control. SVar:X:Count$Valid Creature.Legendary+YouCtrl,Planeswalker.Legendary+YouCtrl SVar:BuffedBy:Creature.Legendary,Planeswalker.Legendary AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/m/modo_the_gnarled_oracle.txt b/forge-gui/res/cardsfolder/m/modo_the_gnarled_oracle.txt index 9dc726290c4..ccca79a2710 100644 --- a/forge-gui/res/cardsfolder/m/modo_the_gnarled_oracle.txt +++ b/forge-gui/res/cardsfolder/m/modo_the_gnarled_oracle.txt @@ -2,7 +2,7 @@ Name:M'Odo, the Gnarled Oracle ManaCost:B U G Types:Legendary Creature Zombie Elf Wizard PT:0/3 -A:AB$ DigUntil | Cost$ X Discard<1/Card> | ValidTgts$ Player | TgtPrompt$ Select target player | Valid$ Creature.cmcLEX | References$ X | FoundDestination$ Battlefield | RevealedDestination$ Library | Shuffle$ True | GainControl$ True | CostDesc$ Eminence — {X}, Discard a card: | SpellDescription$ Target player reveals cards from the top of their library until they reveal a creature card with converted mana cost X or less. Put that card onto the battlefield under your control, then that player shuffles the rest into their library. Activate this ability only if M'Odo, the Gnarled Oracle is on the battlefield or in the command zone. -A:AB$ DigUntil | Cost$ X Discard<1/Card> | ValidTgts$ Player | TgtPrompt$ Select target player | Valid$ Creature.cmcLEX | References$ X | FoundDestination$ Battlefield | RevealedDestination$ Library | Shuffle$ True | GainControl$ True | ActivationZone$ Command | CostDesc$ Eminence — {X}, Discard a card: | SpellDescription$ Target player reveals cards from the top of their library until they reveal a creature card with converted mana cost X or less. Put that card onto the battlefield under your control, then that player shuffles the rest into their library. Activate this ability only if M'Odo, the Gnarled Oracle is on the battlefield or in the command zone. +A:AB$ DigUntil | Cost$ X Discard<1/Card> | ValidTgts$ Player | TgtPrompt$ Select target player | Valid$ Creature.cmcLEX | FoundDestination$ Battlefield | RevealedDestination$ Library | Shuffle$ True | GainControl$ True | CostDesc$ Eminence — {X}, Discard a card: | SpellDescription$ Target player reveals cards from the top of their library until they reveal a creature card with converted mana cost X or less. Put that card onto the battlefield under your control, then that player shuffles the rest into their library. Activate this ability only if M'Odo, the Gnarled Oracle is on the battlefield or in the command zone. +A:AB$ DigUntil | Cost$ X Discard<1/Card> | ValidTgts$ Player | TgtPrompt$ Select target player | Valid$ Creature.cmcLEX | FoundDestination$ Battlefield | RevealedDestination$ Library | Shuffle$ True | GainControl$ True | ActivationZone$ Command | CostDesc$ Eminence — {X}, Discard a card: | SpellDescription$ Target player reveals cards from the top of their library until they reveal a creature card with converted mana cost X or less. Put that card onto the battlefield under your control, then that player shuffles the rest into their library. Activate this ability only if M'Odo, the Gnarled Oracle is on the battlefield or in the command zone. SVar:X:Count$xPaid Oracle:Eminence — {X}, Discard a card: Target player reveals cards from the top of their library until they reveal a creature card with converted mana cost X or less. Put that card onto the battlefield under your control, then that player shuffles the rest into their library. Activate this ability only if M'Odo, the Gnarled Oracle is on the battlefield or in the command zone. diff --git a/forge-gui/res/cardsfolder/m/mogg_conscripts.txt b/forge-gui/res/cardsfolder/m/mogg_conscripts.txt index 6d1a2f4deb0..27089048fa0 100644 --- a/forge-gui/res/cardsfolder/m/mogg_conscripts.txt +++ b/forge-gui/res/cardsfolder/m/mogg_conscripts.txt @@ -2,7 +2,7 @@ Name:Mogg Conscripts ManaCost:R Types:Creature Goblin PT:2/2 -S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can't attack. | CheckSVar$ X | SVarCompare$ EQ0 | References$ X | Description$ CARDNAME can't attack unless you've cast a creature spell this turn. +S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can't attack. | CheckSVar$ X | SVarCompare$ EQ0 | Description$ CARDNAME can't attack unless you've cast a creature spell this turn. SVar:X:Count$ThisTurnCast_Creature.YouCtrl SVar:BuffedBy:Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/mogg_conscripts.jpg diff --git a/forge-gui/res/cardsfolder/m/mogg_infestation.txt b/forge-gui/res/cardsfolder/m/mogg_infestation.txt index 88ba8b2674b..8ea9c1e216c 100644 --- a/forge-gui/res/cardsfolder/m/mogg_infestation.txt +++ b/forge-gui/res/cardsfolder/m/mogg_infestation.txt @@ -2,7 +2,7 @@ Name:Mogg Infestation ManaCost:3 R R Types:Sorcery A:SP$ DestroyAll | Cost$ 3 R R | ValidTgts$ Player | TgtPrompt$ Select target player | ValidCards$ Creature | ValidDescription$ all creatures targeted player controls | RememberDestroyed$ True | SubAbility$ DBTokenInfestation | SpellDescription$ Destroy all creatures target player controls. For each creature that died this way, that player creates two 1/1 red Goblin creature tokens. -SVar:DBTokenInfestation:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ r_1_1_goblin | TokenOwner$ Targeted | LegacyImage$ r 1 1 goblin sth +SVar:DBTokenInfestation:DB$ Token | TokenAmount$ X | TokenScript$ r_1_1_goblin | TokenOwner$ Targeted | LegacyImage$ r 1 1 goblin sth SVar:X:Remembered$Amount.Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/mogg_infestation.jpg Oracle:Destroy all creatures target player controls. For each creature that died this way, that player creates two 1/1 red Goblin creature tokens. diff --git a/forge-gui/res/cardsfolder/m/mogg_maniac.txt b/forge-gui/res/cardsfolder/m/mogg_maniac.txt index 63f10091a0d..c2800b12317 100644 --- a/forge-gui/res/cardsfolder/m/mogg_maniac.txt +++ b/forge-gui/res/cardsfolder/m/mogg_maniac.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Goblin PT:1/1 T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to target opponent or planeswalker. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/mogg_maniac.jpg diff --git a/forge-gui/res/cardsfolder/m/mogg_salvage.txt b/forge-gui/res/cardsfolder/m/mogg_salvage.txt index debde464dd4..2887cfe3ae5 100644 --- a/forge-gui/res/cardsfolder/m/mogg_salvage.txt +++ b/forge-gui/res/cardsfolder/m/mogg_salvage.txt @@ -1,7 +1,7 @@ Name:Mogg Salvage ManaCost:2 R Types:Instant -S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | CheckSVar$ X | CheckSecondSVar$ Y | References$ X,Y | Description$ If an opponent controls an Island and you control a Mountain, you may cast this spell without paying its mana cost. +S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | CheckSVar$ X | CheckSecondSVar$ Y | Description$ If an opponent controls an Island and you control a Mountain, you may cast this spell without paying its mana cost. SVar:X:Count$Valid Island.OppCtrl SVar:Y:Count$Valid Mountain.YouCtrl A:SP$ Destroy | Cost$ 2 R | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | SpellDescription$ Destroy target artifact. diff --git a/forge-gui/res/cardsfolder/m/mogg_squad.txt b/forge-gui/res/cardsfolder/m/mogg_squad.txt index 5234960dd32..0ff1311cef2 100644 --- a/forge-gui/res/cardsfolder/m/mogg_squad.txt +++ b/forge-gui/res/cardsfolder/m/mogg_squad.txt @@ -2,7 +2,7 @@ Name:Mogg Squad ManaCost:1 R Types:Creature Goblin PT:3/3 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ -X | AddToughness$ -X | References$ X | Description$ CARDNAME gets -1/-1 for each other creature on the battlefield. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ -X | AddToughness$ -X | Description$ CARDNAME gets -1/-1 for each other creature on the battlefield. SVar:X:Count$Valid Creature.Other SVar:AntiBuffedBy:Creature AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/mogis_god_of_slaughter.txt b/forge-gui/res/cardsfolder/m/mogis_god_of_slaughter.txt index 2fda19e6432..e7d6920e8d3 100644 --- a/forge-gui/res/cardsfolder/m/mogis_god_of_slaughter.txt +++ b/forge-gui/res/cardsfolder/m/mogis_god_of_slaughter.txt @@ -3,7 +3,7 @@ ManaCost:2 B R Types:Legendary Enchantment Creature God PT:7/5 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | References$ X | Description$ As long as your devotion to black and red is less than seven, CARDNAME isn't a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | Description$ As long as your devotion to black and red is less than seven, CARDNAME isn't a creature. SVar:X:Count$DevotionDual.Black.Red T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.Opponent | Execute$ TrigDmg | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each opponent's upkeep, CARDNAME deals 2 damage to that player unless they sacrifice a creature. SVar:TrigDmg:DB$ DealDamage | NumDmg$ 2 | Defined$ TriggeredPlayer | UnlessCost$ Sac<1/Creature> | UnlessAI$ LifeLE2 | UnlessPayer$ TriggeredPlayer diff --git a/forge-gui/res/cardsfolder/m/mogiss_marauder.txt b/forge-gui/res/cardsfolder/m/mogiss_marauder.txt index 9b11e18ec40..e2e76f4cf16 100644 --- a/forge-gui/res/cardsfolder/m/mogiss_marauder.txt +++ b/forge-gui/res/cardsfolder/m/mogiss_marauder.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Creature Human Berserker PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, up to X target creatures each gain intimidate and haste until end of turn, where X is your devotion to black. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ X | References$ X | KW$ Intimidate & Haste | TgtPrompt$ Select target creature +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ X | KW$ Intimidate & Haste | TgtPrompt$ Select target creature SVar:X:Count$Devotion.Black SVar:PlayMain1:ALWAYS SVar:Picture:http://www.wizards.com/global/images/magic/general/mogiss_marauder.jpg diff --git a/forge-gui/res/cardsfolder/m/molder.txt b/forge-gui/res/cardsfolder/m/molder.txt index 06e84bb52d6..1ac3403d148 100644 --- a/forge-gui/res/cardsfolder/m/molder.txt +++ b/forge-gui/res/cardsfolder/m/molder.txt @@ -1,7 +1,7 @@ Name:Molder ManaCost:X G Types:Instant -A:SP$ Destroy | Cost$ X G | ValidTgts$ Artifact.cmcEQX,Enchantment.cmcEQX | TgtPrompt$ Select target artifact or enchantment | NoRegen$ True | References$ X | SubAbility$ DBGainLife | SpellDescription$ Destroy target artifact or enchantment with converted mana cost X. It can't be regenerated. You gain X life. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +A:SP$ Destroy | Cost$ X G | ValidTgts$ Artifact.cmcEQX,Enchantment.cmcEQX | TgtPrompt$ Select target artifact or enchantment | NoRegen$ True | SubAbility$ DBGainLife | SpellDescription$ Destroy target artifact or enchantment with converted mana cost X. It can't be regenerated. You gain X life. +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$xPaid Oracle:Destroy target artifact or enchantment with converted mana cost X. It can't be regenerated. You gain X life. diff --git a/forge-gui/res/cardsfolder/m/molderhulk.txt b/forge-gui/res/cardsfolder/m/molderhulk.txt index 3b73ed052b6..ea0bf90caea 100644 --- a/forge-gui/res/cardsfolder/m/molderhulk.txt +++ b/forge-gui/res/cardsfolder/m/molderhulk.txt @@ -2,7 +2,7 @@ Name:Molderhulk ManaCost:7 B G Types:Creature Fungus Zombie PT:6/6 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ Undergrowth - This spell costs {1} less to cast for each creature card in your graveyard. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ Undergrowth - This spell costs {1} less to cast for each creature card in your graveyard. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, return target land card from your graveyard to the battlefield. SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Land.YouCtrl | TgtPrompt$ Select target land card from your graveyard SVar:X:Count$TypeInYourYard.Creature diff --git a/forge-gui/res/cardsfolder/m/molimo_maro_sorcerer.txt b/forge-gui/res/cardsfolder/m/molimo_maro_sorcerer.txt index 4e88bf1486e..e00eb4439c4 100644 --- a/forge-gui/res/cardsfolder/m/molimo_maro_sorcerer.txt +++ b/forge-gui/res/cardsfolder/m/molimo_maro_sorcerer.txt @@ -3,7 +3,7 @@ ManaCost:4 G G G Types:Legendary Creature Elemental PT:*/* K:Trample -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. SVar:X:Count$Valid Land.YouCtrl SVar:BuffedBy:Land SVar:NeedsToPlayVar:X GE5 diff --git a/forge-gui/res/cardsfolder/m/molten_disaster.txt b/forge-gui/res/cardsfolder/m/molten_disaster.txt index e251e8a29ad..33b7b1471c7 100644 --- a/forge-gui/res/cardsfolder/m/molten_disaster.txt +++ b/forge-gui/res/cardsfolder/m/molten_disaster.txt @@ -3,6 +3,6 @@ ManaCost:X R R Types:Sorcery K:Kicker:R S:Mode$ Continuous | Affected$ Self | AffectedZone$ Stack | EffectZone$ All | IsPresent$ Card.Self+kicked | PresentZone$ Stack | CharacteristicDefining$ True | AddKeyword$ Split second | Description$ If this spell was kicked, it has split second. (As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.) -A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | References$ X | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals X damage to each creature without flying and each player. +A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals X damage to each creature without flying and each player. SVar:X:Count$xPaid Oracle:Kicker {R} (You may pay an additional {R} as you cast this spell.)\nIf this spell was kicked, it has split second. (As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.)\nMolten Disaster deals X damage to each creature without flying and each player. diff --git a/forge-gui/res/cardsfolder/m/molten_hydra.txt b/forge-gui/res/cardsfolder/m/molten_hydra.txt index 3eb78798fe7..96a2bdafa1e 100644 --- a/forge-gui/res/cardsfolder/m/molten_hydra.txt +++ b/forge-gui/res/cardsfolder/m/molten_hydra.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Hydra PT:1/1 A:AB$ PutCounter | Cost$ 1 R R | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on CARDNAME. -A:AB$ DealDamage | Cost$ T SubCounter | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to any target equal to the number of +1/+1 counters removed this way. +A:AB$ DealDamage | Cost$ T SubCounter | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage to any target equal to the number of +1/+1 counters removed this way. SVar:X:SVar$CostCountersRemoved SVar:Picture:http://www.wizards.com/global/images/magic/general/molten_hydra.jpg Oracle:{1}{R}{R}: Put a +1/+1 counter on Molten Hydra.\n{T}, Remove all +1/+1 counters from Molten Hydra: It deals damage to any target equal to the number of +1/+1 counters removed this way. diff --git a/forge-gui/res/cardsfolder/m/molten_primordial.txt b/forge-gui/res/cardsfolder/m/molten_primordial.txt index 5642f73f707..cc27cb4f4c6 100644 --- a/forge-gui/res/cardsfolder/m/molten_primordial.txt +++ b/forge-gui/res/cardsfolder/m/molten_primordial.txt @@ -4,7 +4,7 @@ Types:Creature Avatar PT:6/4 K:Haste T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TakeOneEach | TriggerDescription$ When CARDNAME enters the battlefield, for each opponent, take control of up to one target creature that player controls until end of turn. Untap those creatures. They have haste until end of turn. -SVar:TakeOneEach:DB$ GainControl | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Choose target creature each opponent controls | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | LoseControl$ EOT | Untap$ True | AddKWs$ Haste +SVar:TakeOneEach:DB$ GainControl | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Choose target creature each opponent controls | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | LoseControl$ EOT | Untap$ True | AddKWs$ Haste SVar:OneEach:PlayerCountOpponents$Amount SVar:PlayMain1:OPPONENTCREATURES SVar:Picture:http://www.wizards.com/global/images/magic/general/molten_primordial.jpg diff --git a/forge-gui/res/cardsfolder/m/molten_psyche.txt b/forge-gui/res/cardsfolder/m/molten_psyche.txt index b7c755264aa..1d580b40c70 100644 --- a/forge-gui/res/cardsfolder/m/molten_psyche.txt +++ b/forge-gui/res/cardsfolder/m/molten_psyche.txt @@ -3,8 +3,8 @@ ManaCost:1 R R Types:Sorcery A:SP$ RepeatEach | Cost$ 1 R R | RepeatPlayers$ Player | RepeatSubAbility$ ShuffleHand | SpellDescription$ Each player shuffles the cards from their hand into their library, then draws that many cards. Metalcraft — If you control three or more artifacts, CARDNAME deals damage to each opponent equal to the number of cards that player has drawn this turn. SVar:ShuffleHand:DB$ ChangeZoneAll | Defined$ Player.IsRemembered | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | RememberChanged$ True | Shuffle$ True | SubAbility$ PsychoDraw -SVar:PsychoDraw:DB$ Draw | NumCards$ X | References$ X | Defined$ Player.IsRemembered | SubAbility$ MindFlame -SVar:MindFlame:DB$ DealDamage | Defined$ Player.Opponent+IsRemembered | NumDmg$ Y | References$ Y | ConditionPresent$ Artifact.YouCtrl | ConditionCompare$ GE3 | StackDescription$ None | SubAbility$ DBCleanup +SVar:PsychoDraw:DB$ Draw | NumCards$ X | Defined$ Player.IsRemembered | SubAbility$ MindFlame +SVar:MindFlame:DB$ DealDamage | Defined$ Player.Opponent+IsRemembered | NumDmg$ Y | ConditionPresent$ Artifact.YouCtrl | ConditionCompare$ GE3 | StackDescription$ None | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount/Minus.1 SVar:Y:PlayerCountRemembered$CardsDrawn diff --git a/forge-gui/res/cardsfolder/m/molten_slagheap.txt b/forge-gui/res/cardsfolder/m/molten_slagheap.txt index 52345d6fd97..3c9a19c34b3 100644 --- a/forge-gui/res/cardsfolder/m/molten_slagheap.txt +++ b/forge-gui/res/cardsfolder/m/molten_slagheap.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. A:AB$ PutCounter | Cost$ 1 T | CounterType$ STORAGE | CounterNum$ 1 | SpellDescription$ Put a storage counter on CARDNAME. -A:AB$ Mana | Cost$ 1 SubCounter | Produced$ Combo B R | Amount$ X | CostDesc$ {1}, Remove X storage counters from CARDNAME: | References$ X | SpellDescription$ Add X mana in any combination of {B} and/or {R}. +A:AB$ Mana | Cost$ 1 SubCounter | Produced$ Combo B R | Amount$ X | CostDesc$ {1}, Remove X storage counters from CARDNAME: | SpellDescription$ Add X mana in any combination of {B} and/or {R}. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{T}: Add {C}.\n{1}, {T}: Put a storage counter on Molten Slagheap.\n{1}, Remove X storage counters from Molten Slagheap: Add X mana in any combination of {B} and/or {R}. diff --git a/forge-gui/res/cardsfolder/m/momentous_fall.txt b/forge-gui/res/cardsfolder/m/momentous_fall.txt index 9241ad7641a..18ecc8e14ef 100644 --- a/forge-gui/res/cardsfolder/m/momentous_fall.txt +++ b/forge-gui/res/cardsfolder/m/momentous_fall.txt @@ -1,8 +1,8 @@ Name:Momentous Fall ManaCost:2 G G Types:Instant -A:SP$ Draw | Cost$ 2 G G Sac<1/Creature> | NumCards$ XPower | References$ XPower | SubAbility$ DBGainLife | SpellDescription$ You draw cards equal to the sacrificed creature's power, then you gain life equal to its toughness. -SVar:DBGainLife:DB$GainLife | LifeAmount$ XToughness | References$ XToughness +A:SP$ Draw | Cost$ 2 G G Sac<1/Creature> | NumCards$ XPower | SubAbility$ DBGainLife | SpellDescription$ You draw cards equal to the sacrificed creature's power, then you gain life equal to its toughness. +SVar:DBGainLife:DB$GainLife | LifeAmount$ XToughness SVar:XPower:Sacrificed$CardPower SVar:XToughness:Sacrificed$CardToughness AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/m/momentum.txt b/forge-gui/res/cardsfolder/m/momentum.txt index e91c282b7e4..9745f81d320 100644 --- a/forge-gui/res/cardsfolder/m/momentum.txt +++ b/forge-gui/res/cardsfolder/m/momentum.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 2 G | ValidTgts$ Creature | AILogic$ Pump -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ Enchanted creature gets +1/+1 for each growth counter on CARDNAME. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ X | AddToughness$ X | Description$ Enchanted creature gets +1/+1 for each growth counter on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a growth counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ GROWTH | CounterNum$ 1 SVar:X:Count$CardCounters.GROWTH diff --git a/forge-gui/res/cardsfolder/m/momir_vig_simic_visionary_avatar.txt b/forge-gui/res/cardsfolder/m/momir_vig_simic_visionary_avatar.txt index 7ede2a54760..34ed1b39345 100644 --- a/forge-gui/res/cardsfolder/m/momir_vig_simic_visionary_avatar.txt +++ b/forge-gui/res/cardsfolder/m/momir_vig_simic_visionary_avatar.txt @@ -2,7 +2,7 @@ Name:Momir Vig, Simic Visionary Avatar ManaCost:no cost Types:Vanguard HandLifeModifier:+0/+4 -A:AB$ NameCard | Cost$ X Discard<1/Card> | AILogic$ MomirAvatar | ActivationZone$ Command | AtRandom$ True | ValidCards$ Creature | ValidAttribute$ cmcEQX | References$ X | Amount$ 1 | SubAbility$ DBToken | SorcerySpeed$ True | ActivationLimit$ 1 | AILogic$ MomirAvatar | SpellDescription$ Create a token that's a copy of a creature card with converted mana cost X chosen at random. Activate this ability only any time you could cast a sorcery and only once each turn. | StackDescription$ SpellDescription +A:AB$ NameCard | Cost$ X Discard<1/Card> | AILogic$ MomirAvatar | ActivationZone$ Command | AtRandom$ True | ValidCards$ Creature | ValidAttribute$ cmcEQX | Amount$ 1 | SubAbility$ DBToken | SorcerySpeed$ True | ActivationLimit$ 1 | AILogic$ MomirAvatar | SpellDescription$ Create a token that's a copy of a creature card with converted mana cost X chosen at random. Activate this ability only any time you could cast a sorcery and only once each turn. | StackDescription$ SpellDescription SVar:DBToken:DB$ CopyPermanent | ValidSupportedCopy$ Card | DefinedName$ NamedCard | NumCopies$ 1 | StackDescription$ SVar:X:Count$xPaid SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Momir Vig, Simic Visionary Avatar.full.jpg diff --git a/forge-gui/res/cardsfolder/m/monkey_cage.txt b/forge-gui/res/cardsfolder/m/monkey_cage.txt index c297a0310b5..84678b241bf 100644 --- a/forge-gui/res/cardsfolder/m/monkey_cage.txt +++ b/forge-gui/res/cardsfolder/m/monkey_cage.txt @@ -3,7 +3,7 @@ ManaCost:5 Types:Artifact T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature |TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ When a creature enters the battlefield, sacrifice CARDNAME and create X 2/2 green Monkey creature tokens, where X is that creature's converted mana cost. SVar:TrigSac:DB$Sacrifice | Defined$ Self | SubAbility$ DBToken | RememberSacrificed$ True -SVar:DBToken:DB$Token | ConditionDefined$ Remembered | ConditionPresent$ Card.Self | TokenAmount$ X | References$ X | TokenScript$ g_2_2_monkey | TokenOwner$ You | LegacyImage$ g 2 2 monkey mmq +SVar:DBToken:DB$Token | ConditionDefined$ Remembered | ConditionPresent$ Card.Self | TokenAmount$ X | TokenScript$ g_2_2_monkey | TokenOwner$ You | LegacyImage$ g 2 2 monkey mmq SVar:X:TriggeredCard$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/monkey_cage.jpg Oracle:When a creature enters the battlefield, sacrifice Monkey Cage and create X 2/2 green Monkey creature tokens, where X is that creature's converted mana cost. diff --git a/forge-gui/res/cardsfolder/m/monsoon.txt b/forge-gui/res/cardsfolder/m/monsoon.txt index 03b1633b1fd..38d17efd155 100644 --- a/forge-gui/res/cardsfolder/m/monsoon.txt +++ b/forge-gui/res/cardsfolder/m/monsoon.txt @@ -3,7 +3,7 @@ ManaCost:2 R G Types:Enchantment T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigTap | TriggerDescription$ At the beginning of each player's end step, tap all untapped Islands that player controls and CARDNAME deals X damage to the player, where X is the number of Islands tapped this way. SVar:TrigTap:DB$ TapAll | ValidCards$ Island.ActivePlayerCtrl+untapped | RememberTapped$ True | SubAbility$ DBDmg -SVar:DBDmg:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDmg:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount S:Mode$ Continuous | Affected$ Island | AddSVar$ AITap diff --git a/forge-gui/res/cardsfolder/m/monstrous_onslaught.txt b/forge-gui/res/cardsfolder/m/monstrous_onslaught.txt index 47bff247426..86f21babadd 100644 --- a/forge-gui/res/cardsfolder/m/monstrous_onslaught.txt +++ b/forge-gui/res/cardsfolder/m/monstrous_onslaught.txt @@ -1,7 +1,7 @@ Name:Monstrous Onslaught ManaCost:3 G G Types:Sorcery -A:SP$ DealDamage | Cost$ 3 G G | ValidTgts$ Creature | TgtPrompt$ Select target creature to distribute damage to | NumDmg$ OrigPower | TargetMin$ Min | TargetMax$ OrigPower | References$ Min,OrigPower | DividedAsYouChoose$ OrigPower | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of target creatures, where X is the greatest power among creatures you control as you cast this spell. +A:SP$ DealDamage | Cost$ 3 G G | ValidTgts$ Creature | TgtPrompt$ Select target creature to distribute damage to | NumDmg$ OrigPower | TargetMin$ Min | TargetMax$ OrigPowerin,OrigPower | DividedAsYouChoose$ OrigPower | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of target creatures, where X is the greatest power among creatures you control as you cast this spell. T:Mode$ SpellCast | ValidCard$ Card.Self | Static$ True | Execute$ CountPowerAtCast SVar:CountPowerAtCast:DB$ StoreSVar | SVar$ OrigPower | Type$ Count | Expression$ GreatestPower_Creature.YouCtrl SVar:OrigPower:Count$GreatestPower_Creature.YouCtrl diff --git a/forge-gui/res/cardsfolder/m/moodmark_painter.txt b/forge-gui/res/cardsfolder/m/moodmark_painter.txt index fb2d28f9799..f162b544856 100644 --- a/forge-gui/res/cardsfolder/m/moodmark_painter.txt +++ b/forge-gui/res/cardsfolder/m/moodmark_painter.txt @@ -3,7 +3,7 @@ ManaCost:2 B B Types:Creature Human Shaman PT:2/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, target creature gains menace and gets +X/+0 until end of turn, where X is the number of creature cards in your graveyard. (It can't blocked except by two or more creatures.) -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ 0 | KW$ Menace | References$ X +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ 0 | KW$ Menace SVar:X:Count$TypeInYourYard.Creature SVar:PlayMain1:TRUE Oracle:Undergrowth — When Moodmark Painter enters the battlefield, target creature gains menace and gets +X/+0 until end of turn, where X is the number of creature cards in your graveyard. (It can't be blocked except by two or more creatures.) diff --git a/forge-gui/res/cardsfolder/m/moonlight_hunt.txt b/forge-gui/res/cardsfolder/m/moonlight_hunt.txt index 388abe0e1de..883f0e5034f 100644 --- a/forge-gui/res/cardsfolder/m/moonlight_hunt.txt +++ b/forge-gui/res/cardsfolder/m/moonlight_hunt.txt @@ -3,7 +3,7 @@ ManaCost:1 G Types:Instant A:SP$ DealDamage | Cost$ 1 G | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creature you don't control | NumDmg$ 0 | SubAbility$ MoonlightDamage | SpellDescription$ Choose target creature you don't control. Each creature you control that's a Wolf or a Werewolf deals damage equal to its power to that creature. SVar:MoonlightDamage:DB$ RepeatEach | RepeatSubAbility$ WolfStrike | UseImprinted$ True | RepeatCards$ Creature.Wolf+YouCtrl,Creature.Werewolf+YouCtrl | StackDescription$ None | DamageMap$ True -SVar:WolfStrike:DB$ DealDamage | DamageSource$ Imprinted | NumDmg$ X | References$ X | Defined$ ParentTarget | StackDescription$ None +SVar:WolfStrike:DB$ DealDamage | DamageSource$ Imprinted | NumDmg$ X | Defined$ ParentTarget | StackDescription$ None SVar:X:Imprinted$CardPower AI:RemoveDeck:Random DeckHints:Type$Wolf & Type$Werewolf diff --git a/forge-gui/res/cardsfolder/m/morbid_bloom.txt b/forge-gui/res/cardsfolder/m/morbid_bloom.txt index c2a6da890e9..26e57cc8e75 100644 --- a/forge-gui/res/cardsfolder/m/morbid_bloom.txt +++ b/forge-gui/res/cardsfolder/m/morbid_bloom.txt @@ -2,7 +2,7 @@ Name:Morbid Bloom ManaCost:4 B G Types:Sorcery A:SP$ ChangeZone | Cost$ 4 B G | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Creature | SubAbility$ DBToken | SpellDescription$ Exile target creature card from a graveyard, then create X 1/1 green Saproling creature tokens, where X is the exiled card's toughness. -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling arb +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling arb SVar:X:Targeted$CardToughness DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/morbid_bloom.jpg diff --git a/forge-gui/res/cardsfolder/m/morbid_curiosity.txt b/forge-gui/res/cardsfolder/m/morbid_curiosity.txt index 2de9077c126..7ecbf7c0ed7 100644 --- a/forge-gui/res/cardsfolder/m/morbid_curiosity.txt +++ b/forge-gui/res/cardsfolder/m/morbid_curiosity.txt @@ -1,6 +1,6 @@ Name:Morbid Curiosity ManaCost:1 B B Types:Sorcery -A:SP$ Draw | Cost$ 1 B B Sac<1/Artifact;Creature/artifact or creature> | NumCards$ X | References$ X | SpellDescription$ Draw cards equal to the converted mana cost of the sacrificed permanent. +A:SP$ Draw | Cost$ 1 B B Sac<1/Artifact;Creature/artifact or creature> | NumCards$ X | SpellDescription$ Draw cards equal to the converted mana cost of the sacrificed permanent. SVar:X:Sacrificed$CardManaCost Oracle:As an additional cost to cast this spell, sacrifice an artifact or creature.\nDraw cards equal to the converted mana cost of the sacrificed permanent. diff --git a/forge-gui/res/cardsfolder/m/mordant_dragon.txt b/forge-gui/res/cardsfolder/m/mordant_dragon.txt index b75c83a5e6f..81c837bbf0c 100644 --- a/forge-gui/res/cardsfolder/m/mordant_dragon.txt +++ b/forge-gui/res/cardsfolder/m/mordant_dragon.txt @@ -5,7 +5,7 @@ PT:5/5 K:Flying A:AB$ Pump | Cost$ 1 R | Defined$ Self | NumAtt$ +1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn. T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | OptionalDecider$ You | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may have it deal that much damage to target creature that player controls. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature.DefenderCtrl | NumDmg$ X | References$ X | TgtPrompt$ Select target creature. +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature.DefenderCtrl | NumDmg$ X | TgtPrompt$ Select target creature. SVar:X:Count$CardPower SVar:MustBeBlocked:True Oracle:Flying\n{1}{R}: Mordant Dragon gets +1/+0 until end of turn.\nWhenever Mordant Dragon deals combat damage to a player, you may have it deal that much damage to target creature that player controls. diff --git a/forge-gui/res/cardsfolder/m/morgue_burst.txt b/forge-gui/res/cardsfolder/m/morgue_burst.txt index ee71a9d712a..c4e5543aaa5 100644 --- a/forge-gui/res/cardsfolder/m/morgue_burst.txt +++ b/forge-gui/res/cardsfolder/m/morgue_burst.txt @@ -2,7 +2,7 @@ Name:Morgue Burst ManaCost:4 B R Types:Sorcery A:SP$ ChangeZone | Cost$ 4 B R | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Select target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | RememberChanged$ True | SubAbility$ DBDmg | SpellDescription$ Return target creature card from your graveyard to your hand. CARDNAME deals damage to any target equal to the power of the card returned this way. -SVar:DBDmg:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Choose any target | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDmg:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Choose any target | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/morgue_burst.jpg diff --git a/forge-gui/res/cardsfolder/m/moritte_of_the_frost.txt b/forge-gui/res/cardsfolder/m/moritte_of_the_frost.txt index d3b68929ccd..ae249674380 100644 --- a/forge-gui/res/cardsfolder/m/moritte_of_the_frost.txt +++ b/forge-gui/res/cardsfolder/m/moritte_of_the_frost.txt @@ -5,7 +5,7 @@ PT:0/0 K:Changeling K:ETBReplacement:Copy:DBCopy:Optional SVar:DBCopy:DB$ Clone | Choices$ Permanent.Other+YouCtrl | AddTypes$ Legendary,Snow | SubAbility$ DBConditionEffect | AddKeywords$ Changeling (This card is every creature type.) | SpellDescription$ You may have Moritte of the Frost enter the battlefield as a copy of a permanent you control, except it’s legendary and snow in addition to its other types and, if it’s a creature, it enters with two additional +1/+1 counters on it and has changeling. -SVar:DBConditionEffect:DB$ Effect | RememberObjects$ Self | Name$ Moritte of the Frost Effect | ReplacementEffects$ ETBCreat | SVars$ DBPutP1P1,ToBattlefield,DBExile | References$ ETBCreat,DBPutP1P1,ToBattlefield,DBExile +SVar:DBConditionEffect:DB$ Effect | RememberObjects$ Self | Name$ Moritte of the Frost Effect | ReplacementEffects$ ETBCreat | SVars$ DBPutP1P1,ToBattlefield,DBExileTBCreat,DBPutP1P1,ToBattlefield,DBExile SVar:ETBCreat:Event$ Moved | ValidCard$ Creature.IsRemembered | Destination$ Battlefield | ReplaceWith$ DBPutP1P1 | Description$ If it’s a creature, it enters with two additional +1/+1 counters on it. SVar:DBPutP1P1:DB$ PutCounter | Defined$ ReplacedCard | CounterType$ P1P1 | ETB$ True | CounterNum$ 2 | SubAbility$ ToBattlefield SVar:ToBattlefield:DB$ InternalEtbReplacement | SubAbility$ DBExile diff --git a/forge-gui/res/cardsfolder/m/morkrut_banshee.txt b/forge-gui/res/cardsfolder/m/morkrut_banshee.txt index c62034975db..305c31df268 100644 --- a/forge-gui/res/cardsfolder/m/morkrut_banshee.txt +++ b/forge-gui/res/cardsfolder/m/morkrut_banshee.txt @@ -2,7 +2,7 @@ Name:Morkrut Banshee ManaCost:3 B B Types:Creature Spirit PT:4/4 -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | CheckSVar$ Morbid | SVarCompare$ GE1 | References$ Morbid | Execute$ TrigPump | TriggerDescription$ Morbid — When CARDNAME enters the battlefield, if a creature died this turn, target creature gets -4/-4 until end of turn. +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | CheckSVar$ Morbid | SVarCompare$ GE1 | Execute$ TrigPump | TriggerDescription$ Morbid — When CARDNAME enters the battlefield, if a creature died this turn, target creature gets -4/-4 until end of turn. SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | IsCurse$ True | NumAtt$ -4 | NumDef$ -4 SVar:Morbid:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/morkrut_banshee.jpg diff --git a/forge-gui/res/cardsfolder/m/morphic_pool.txt b/forge-gui/res/cardsfolder/m/morphic_pool.txt index 72e16c3e0a8..33f41bd9086 100644 --- a/forge-gui/res/cardsfolder/m/morphic_pool.txt +++ b/forge-gui/res/cardsfolder/m/morphic_pool.txt @@ -2,7 +2,7 @@ Name:Morphic Pool ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. SVar:ETBCheckSVar2:PlayerCountOpponents$Amount A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add {U}. A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}. diff --git a/forge-gui/res/cardsfolder/m/morphic_tide.txt b/forge-gui/res/cardsfolder/m/morphic_tide.txt index 19d2e5b5e56..61f4da562c9 100644 --- a/forge-gui/res/cardsfolder/m/morphic_tide.txt +++ b/forge-gui/res/cardsfolder/m/morphic_tide.txt @@ -4,7 +4,7 @@ Types:Phenomenon T:Mode$ PlaneswalkedTo | ValidCard$ Card.Self | Execute$ TrigPut | TriggerDescription$ When you encounter CARDNAME, starting with you, each player may put a permanent card from their hand onto the battlefield. (Then planeswalk away from this phenomenon.) SVar:TrigPut:DB$ RepeatEach | StartingWithActivator$ True | RepeatPlayers$ Player | RepeatSubAbility$ DBShuffle | SubAbility$ ChangePermanent SVar:DBShuffle:DB$ ChangeZoneAll | ChangeType$ Permanent.RememberedPlayerOwn | Imprint$ True | Origin$ Battlefield | Destination$ Library | Shuffle$ True | SubAbility$ DBDig -SVar:DBDig:DB$ Dig | Defined$ Remembered | NoMove$ True | DigNum$ WarpX | References$ WarpX | RememberRevealed$ True | Reveal$ True | SubAbility$ DBCleanImprint +SVar:DBDig:DB$ Dig | Defined$ Remembered | NoMove$ True | DigNum$ WarpX | RememberRevealed$ True | Reveal$ True | SubAbility$ DBCleanImprint SVar:DBCleanImprint:DB$ Cleanup | ClearImprinted$ True SVar:WarpX:Imprinted$Amount SVar:ChangePermanent:DB$ ChangeZoneAll | ChangeType$ Artifact.IsRemembered,Creature.IsRemembered,Land.IsRemembered,Planeswalker.IsRemembered | Origin$ Library | Destination$ Battlefield | ForgetChanged$ True | SubAbility$ ChangeEnchantment diff --git a/forge-gui/res/cardsfolder/m/mortal_flesh_is_weak.txt b/forge-gui/res/cardsfolder/m/mortal_flesh_is_weak.txt index 1ae871498b0..dd649efb0ce 100644 --- a/forge-gui/res/cardsfolder/m/mortal_flesh_is_weak.txt +++ b/forge-gui/res/cardsfolder/m/mortal_flesh_is_weak.txt @@ -2,7 +2,7 @@ Name:Mortal Flesh Is Weak ManaCost:no cost Types:Scheme T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ ShowTheWeakness | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, each opponent's life total becomes the lowest life total among your opponents. -SVar:ShowTheWeakness:DB$ SetLife | Defined$ Player.Opponent | LifeAmount$ X | References$ X +SVar:ShowTheWeakness:DB$ SetLife | Defined$ Player.Opponent | LifeAmount$ X SVar:X:PlayerCountOpponents$LowestLifeTotal SVar:Picture:https://downloads.cardforge.org/images/cards/ARC/Mortal Flesh Is Weak.full.jpg Oracle:When you set this scheme in motion, each opponent's life total becomes the lowest life total among your opponents. diff --git a/forge-gui/res/cardsfolder/m/mortis_dogs.txt b/forge-gui/res/cardsfolder/m/mortis_dogs.txt index 6c174f8a50f..b33622d04f2 100644 --- a/forge-gui/res/cardsfolder/m/mortis_dogs.txt +++ b/forge-gui/res/cardsfolder/m/mortis_dogs.txt @@ -5,6 +5,6 @@ PT:2/2 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +2/+0 until end of turn. SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ 2 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, target player loses life equal to its power. -SVar:TrigLoseLife:DB$ LoseLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ MortisX | References$ MortisX +SVar:TrigLoseLife:DB$ LoseLife | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ MortisX SVar:MortisX:TriggeredCard$CardPower Oracle:Whenever Mortis Dogs attacks, it gets +2/+0 until end of turn.\nWhen Mortis Dogs dies, target player loses life equal to its power. diff --git a/forge-gui/res/cardsfolder/m/mortivore.txt b/forge-gui/res/cardsfolder/m/mortivore.txt index 01b2ac41d99..bddad20a83e 100644 --- a/forge-gui/res/cardsfolder/m/mortivore.txt +++ b/forge-gui/res/cardsfolder/m/mortivore.txt @@ -2,7 +2,7 @@ Name:Mortivore ManaCost:2 B B Types:Creature Lhurgoyf PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creature cards in all graveyards. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creature cards in all graveyards. SVar:X:Count$TypeInAllYards.Creature A:AB$ Regenerate | Cost$ B | SpellDescription$ Regenerate CARDNAME. SVar:NeedsToPlayVar:X GE2 diff --git a/forge-gui/res/cardsfolder/m/mosswort_bridge.txt b/forge-gui/res/cardsfolder/m/mosswort_bridge.txt index 7f4c4773350..ac684f274ae 100644 --- a/forge-gui/res/cardsfolder/m/mosswort_bridge.txt +++ b/forge-gui/res/cardsfolder/m/mosswort_bridge.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land K:Hideaway A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add {G}. -A:AB$ Play | Cost$ G T | Defined$ Remembered | Amount$ All | Controller$ You | WithoutManaCost$ True | Optional$ True | References$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 | ForgetRemembered$ True | AILogic$ CheckCondition | SpellDescription$ You may play the exiled card without paying its mana cost if creatures you control have total power 10 or greater. +A:AB$ Play | Cost$ G T | Defined$ Remembered | Amount$ All | Controller$ You | WithoutManaCost$ True | Optional$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 | ForgetRemembered$ True | AILogic$ CheckCondition | SpellDescription$ You may play the exiled card without paying its mana cost if creatures you control have total power 10 or greater. SVar:X:Count$SumPower_Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/mosswort_bridge.jpg Oracle:Hideaway (This land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library.)\n{T}: Add {G}.\n{G}, {T}: You may play the exiled card without paying its mana cost if creatures you control have total power 10 or greater. diff --git a/forge-gui/res/cardsfolder/m/mount_keralia.txt b/forge-gui/res/cardsfolder/m/mount_keralia.txt index 02c5764f18d..c4e68ea6f47 100644 --- a/forge-gui/res/cardsfolder/m/mount_keralia.txt +++ b/forge-gui/res/cardsfolder/m/mount_keralia.txt @@ -4,7 +4,7 @@ Types:Plane Regatha T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Command | Execute$ BuildPressure | TriggerDescription$ At the beginning of your end step, put a pressure counter on CARDNAME. SVar:BuildPressure:DB$ PutCounter | Defined$ Self | CounterType$ PRESSURE | CounterNum$ 1 T:Mode$ PlaneswalkedFrom | ValidCard$ Plane.Self | Execute$ Eruption | TriggerDescription$ When you planeswalk away from CARDNAME, it deals damage equal to the number of pressure counters on it to each creature and each planeswalker. -SVar:Eruption:DB$ DamageAll | ValidCards$ Creature,Planeswalker | ValidDescription$ each creature and each planeswalker. | NumDmg$ KeraliaX | References$ KeraliaX +SVar:Eruption:DB$ DamageAll | ValidCards$ Creature,Planeswalker | ValidDescription$ each creature and each planeswalker. | NumDmg$ KeraliaX T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, prevent all damage that planes named CARDNAME would deal this game to permanents you control. SVar:RolledChaos:DB$ Effect | Name$ Mount Keralia Effect | ReplacementEffects$ RPrevent | EffectOwner$ You | Duration$ Permanent | SpellDescription$ Prevent all damage that planes named CARDNAME would deal this game to permanents you control. SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ Permanent.YouCtrl | ValidSource$ Plane.namedMount Keralia | Description$ Prevent all damage that planes named Mount Keralia would deal this game to permanents you control. diff --git a/forge-gui/res/cardsfolder/m/mourning_thrull.txt b/forge-gui/res/cardsfolder/m/mourning_thrull.txt index 1351d3e1369..d02b13d8401 100644 --- a/forge-gui/res/cardsfolder/m/mourning_thrull.txt +++ b/forge-gui/res/cardsfolder/m/mourning_thrull.txt @@ -4,7 +4,7 @@ Types:Creature Thrull PT:1/1 K:Flying T:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/mourning_thrull.jpg diff --git a/forge-gui/res/cardsfolder/m/mouth_feed.txt b/forge-gui/res/cardsfolder/m/mouth_feed.txt index 7f8e05a4bc3..d1c1078d740 100644 --- a/forge-gui/res/cardsfolder/m/mouth_feed.txt +++ b/forge-gui/res/cardsfolder/m/mouth_feed.txt @@ -13,6 +13,6 @@ Name:Feed ManaCost:3 G Types:Sorcery K:Aftermath -A:SP$ Draw | Cost$ 3 G | NumCards$ X | References$ X | SpellDescription$ Draw a card for each creature you control with power 3 or greater. +A:SP$ Draw | Cost$ 3 G | NumCards$ X | SpellDescription$ Draw a card for each creature you control with power 3 or greater. SVar:X:Count$Valid Creature.YouCtrl+powerGE3 Oracle:Aftermath (Cast this spell only from your graveyard. Then exile it.)\nDraw a card for each creature you control with power 3 or greater. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/m/mowu_loyal_companion.txt b/forge-gui/res/cardsfolder/m/mowu_loyal_companion.txt index 67c7e22767a..d3225107ca7 100644 --- a/forge-gui/res/cardsfolder/m/mowu_loyal_companion.txt +++ b/forge-gui/res/cardsfolder/m/mowu_loyal_companion.txt @@ -5,7 +5,7 @@ PT:3/3 K:Trample K:Vigilance R:Event$ AddCounter | ActiveZones$ Battlefield | ValidCard$ Card.Self | ValidCounterType$ P1P1 | ReplaceWith$ AddOneMoreCounters | Description$ If one or more +1/+1 counters would be put on CARDNAME, that many plus one +1/+1 counters are put on it instead. -SVar:AddOneMoreCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X | References$ X +SVar:AddOneMoreCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X SVar:X:ReplaceCount$CounterNum/Plus.1 AI:RemoveDeck:Random DeckNeeds:Ability$Counters diff --git a/forge-gui/res/cardsfolder/m/mox_diamond.txt b/forge-gui/res/cardsfolder/m/mox_diamond.txt index 896b6f9e674..10fe4afe1e9 100644 --- a/forge-gui/res/cardsfolder/m/mox_diamond.txt +++ b/forge-gui/res/cardsfolder/m/mox_diamond.txt @@ -4,8 +4,8 @@ Types:Artifact A:AB$ Mana | Cost$ T | Produced$ Any | SpellDescription$ Add one mana of any color. R:Event$ Moved | Destination$ Battlefield | ValidCard$ Card.Self | ReplaceWith$ PayBeforeETB | Description$ If CARDNAME would enter the battlefield, you may discard a land card instead. If you do, put CARDNAME onto the battlefield. If you don't, put it into its owner's graveyard. SVar:PayBeforeETB:DB$ Discard | DiscardValid$ Land | Mode$ TgtChoose | RememberDiscarded$ True | Optional$ True | AILogic$ Always | SubAbility$ MoveToGraveyard -SVar:MoveToGraveyard:DB$ ChangeZone | Origin$ All | Destination$ Graveyard | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ MoveToBattlefield -SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X | SubAbility$ DBCleanup +SVar:MoveToGraveyard:DB$ ChangeZone | Origin$ All | Destination$ Graveyard | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ MoveToBattlefield +SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:NeedsToPlayVar:Y GE1 diff --git a/forge-gui/res/cardsfolder/m/mudbrawler_cohort.txt b/forge-gui/res/cardsfolder/m/mudbrawler_cohort.txt index 211d0c34ecb..3a19e8c9f77 100644 --- a/forge-gui/res/cardsfolder/m/mudbrawler_cohort.txt +++ b/forge-gui/res/cardsfolder/m/mudbrawler_cohort.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Goblin Warrior PT:1/1 K:Haste -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Description$ CARDNAME gets +1/+1 as long as you control another red creature. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ GE1 | Description$ CARDNAME gets +1/+1 as long as you control another red creature. SVar:X:Count$Valid Creature.YouCtrl+Red+Other SVar:BuffedBy:Creature.Red SVar:Picture:http://www.wizards.com/global/images/magic/general/mudbrawler_cohort.jpg diff --git a/forge-gui/res/cardsfolder/m/mudslide.txt b/forge-gui/res/cardsfolder/m/mudslide.txt index d8bebea789c..9b3b52d5664 100644 --- a/forge-gui/res/cardsfolder/m/mudslide.txt +++ b/forge-gui/res/cardsfolder/m/mudslide.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Enchantment S:Mode$ Continuous | Affected$ Creature.withoutFlying | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | Description$ Creatures without flying don't untap during their controllers' untap steps. T:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | Execute$ TrigChoose | TriggerDescription$ At the beginning of each player's upkeep, that player may choose any number of tapped creatures without flying they control and pay {2} for each creature chosen this way. If the player does, untap those creatures. -SVar:TrigChoose:DB$ ChooseCard | Defined$ TriggeredPlayer | Amount$ X | References$ X | Choices$ Creature.tapped+withoutFlying | TargetControls$ True | ChoiceTitle$ Choose any number of tapped nongreen creatures you control | ChoiceZone$ Battlefield | SubAbility$ DBUntap +SVar:TrigChoose:DB$ ChooseCard | Defined$ TriggeredPlayer | Amount$ X | Choices$ Creature.tapped+withoutFlying | TargetControls$ True | ChoiceTitle$ Choose any number of tapped nongreen creatures you control | ChoiceZone$ Battlefield | SubAbility$ DBUntap SVar:DBUntap:DB$ RepeatEach | DefinedCards$ ChosenCard | RepeatSubAbility$ UntapEach SVar:UntapEach:DB$ Untap | Defined$ Remembered | UnlessCost$ 2 | UnlessPayer$ RememberedController | UnlessSwitched$ True | ShowCurrentCard$ Remembered SVar:X:Count$Valid Creature.tapped+withoutFlying+ActivePlayerCtrl diff --git a/forge-gui/res/cardsfolder/m/multani.txt b/forge-gui/res/cardsfolder/m/multani.txt index 5c71b62db90..ce6aba24b84 100644 --- a/forge-gui/res/cardsfolder/m/multani.txt +++ b/forge-gui/res/cardsfolder/m/multani.txt @@ -2,7 +2,7 @@ Name:Multani ManaCost:no cost Types:Vanguard HandLifeModifier:-3/-2 -S:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.YouCtrl | AddPower$ X | References$ X | Description$ Creatures you control get +X/+0, where X is the number of cards in your hand. +S:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.YouCtrl | AddPower$ X | Description$ Creatures you control get +X/+0, where X is the number of cards in your hand. SVar:X:Count$CardsInYourHand SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Multani.full.jpg Oracle:Hand -3, life -2\nCreatures you control get +X/+0, where X is the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/m/multani_maro_sorcerer.txt b/forge-gui/res/cardsfolder/m/multani_maro_sorcerer.txt index 90fe0512bf6..64e5a6fab9c 100644 --- a/forge-gui/res/cardsfolder/m/multani_maro_sorcerer.txt +++ b/forge-gui/res/cardsfolder/m/multani_maro_sorcerer.txt @@ -3,7 +3,7 @@ ManaCost:4 G G Types:Legendary Creature Elemental PT:*/* K:Shroud -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the total number of cards in all players' hands. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the total number of cards in all players' hands. SVar:X:Count$NumInAllHands SVar:Picture:http://www.wizards.com/global/images/magic/general/multani_maro_sorcerer.jpg Oracle:Shroud (This creature can't be the target of spells or abilities.)\nMultani, Maro-Sorcerer's power and toughness are each equal to the total number of cards in all players' hands. diff --git a/forge-gui/res/cardsfolder/m/multani_yavimayas_avatar.txt b/forge-gui/res/cardsfolder/m/multani_yavimayas_avatar.txt index 3d944e8135a..b6573f21dab 100644 --- a/forge-gui/res/cardsfolder/m/multani_yavimayas_avatar.txt +++ b/forge-gui/res/cardsfolder/m/multani_yavimayas_avatar.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Elemental Avatar PT:0/0 K:Reach K:Trample -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each land you control and each land card in your graveyard. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each land you control and each land card in your graveyard. SVar:X:Count$Valid Land.YouCtrl/Plus.Y SVar:Y:Count$TypeInYourYard.Land A:AB$ ChangeZone | Cost$ 1 G Return<2/Land> | Origin$ Graveyard | Destination$ Hand | ActivationZone$ Graveyard | SpellDescription$ Return CARDNAME from your graveyard to your hand. diff --git a/forge-gui/res/cardsfolder/m/multanis_decree.txt b/forge-gui/res/cardsfolder/m/multanis_decree.txt index 36595e08676..2061cb09a88 100644 --- a/forge-gui/res/cardsfolder/m/multanis_decree.txt +++ b/forge-gui/res/cardsfolder/m/multanis_decree.txt @@ -2,7 +2,7 @@ Name:Multani's Decree ManaCost:3 G Types:Sorcery A:SP$ DestroyAll | Cost$ 3 G | ValidCards$ Enchantment | RememberDestroyed$ True | SubAbility$ DBGainLife | SpellDescription$ Destroy all enchantments. You gain 2 life for each enchantment destroyed this way. -SVar:DBGainLife:DB$GainLife | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | LifeAmount$ X SVar:X:Remembered$Amount.Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/multanis_decree.jpg Oracle:Destroy all enchantments. You gain 2 life for each enchantment destroyed this way. diff --git a/forge-gui/res/cardsfolder/m/munitions_expert.txt b/forge-gui/res/cardsfolder/m/munitions_expert.txt index 6d82b9af30b..9ef247964f3 100644 --- a/forge-gui/res/cardsfolder/m/munitions_expert.txt +++ b/forge-gui/res/cardsfolder/m/munitions_expert.txt @@ -4,7 +4,7 @@ Types:Creature Goblin PT:1/1 K:Flash T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamage | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may have it deal damage to target creature or planeswalker equal to the number of Goblins you control. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X SVar:X:Count$TypeYouCtrl.Goblin DeckHints:Type$Goblin Oracle:Flash\nWhen Munitions Expert enters the battlefield, you may have it deal damage to target creature or planeswalker equal to the number of Goblins you control. diff --git a/forge-gui/res/cardsfolder/m/murasa_pyromancer.txt b/forge-gui/res/cardsfolder/m/murasa_pyromancer.txt index cbd488f2857..c59b4da83fb 100644 --- a/forge-gui/res/cardsfolder/m/murasa_pyromancer.txt +++ b/forge-gui/res/cardsfolder/m/murasa_pyromancer.txt @@ -4,7 +4,7 @@ Types:Creature Human Shaman Ally PT:3/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | OptionalDecider$ You | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may have CARDNAME deal damage to target creature equal to the number of Allies you control. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Ally.Other+YouCtrl | OptionalDecider$ You | TriggerZones$ Battlefield | Execute$ TrigDamage | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may have CARDNAME deal damage to target creature equal to the number of Allies you control. -SVar:TrigDamage:DB$DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ NumAllies | References$ NumAllies +SVar:TrigDamage:DB$DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ NumAllies SVar:NumAllies:Count$Valid Ally.YouCtrl SVar:PlayMain1:TRUE SVar:BuffedBy:Ally diff --git a/forge-gui/res/cardsfolder/m/murder_investigation.txt b/forge-gui/res/cardsfolder/m/murder_investigation.txt index 19b7fdffb1f..e74cd2d9e8e 100644 --- a/forge-gui/res/cardsfolder/m/murder_investigation.txt +++ b/forge-gui/res/cardsfolder/m/murder_investigation.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature you control A:SP$ Attach | Cost$ 1 W | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | AILogic$ Pump T:Mode$ ChangesZone | ValidCard$ Card.AttachedBy | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigToken | TriggerDescription$ When enchanted creature dies, create X 1/1 white Soldier creature tokens, where X is its power. -SVar:TrigToken:DB$Token | TokenAmount$ X | References$ X | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier gtc +SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier gtc SVar:X:TriggeredCard$CardPower DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/murder_investigation.jpg diff --git a/forge-gui/res/cardsfolder/m/murderous_betrayal.txt b/forge-gui/res/cardsfolder/m/murderous_betrayal.txt index b81df1c11be..f846eddb680 100644 --- a/forge-gui/res/cardsfolder/m/murderous_betrayal.txt +++ b/forge-gui/res/cardsfolder/m/murderous_betrayal.txt @@ -1,7 +1,7 @@ Name:Murderous Betrayal ManaCost:B B B Types:Enchantment -A:AB$ Destroy | Cost$ B B PayLife | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target non black creature | NoRegen$ True | CostDesc$ {B}{B}, Pay half your life, rounded up: | References$ X | SpellDescription$ Destroy target nonblack creature. It can't be regenerated. +A:AB$ Destroy | Cost$ B B PayLife | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target non black creature | NoRegen$ True | CostDesc$ {B}{B}, Pay half your life, rounded up: | SpellDescription$ Destroy target nonblack creature. It can't be regenerated. SVar:X:Count$YourLifeTotal/HalfUp AI:RemoveDeck:All SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/m/murderous_redcap.txt b/forge-gui/res/cardsfolder/m/murderous_redcap.txt index 54ce4522ec2..0a319e893ba 100644 --- a/forge-gui/res/cardsfolder/m/murderous_redcap.txt +++ b/forge-gui/res/cardsfolder/m/murderous_redcap.txt @@ -4,7 +4,7 @@ Types:Creature Goblin Assassin PT:2/2 K:Persist T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals damage equal to its power to any target. -SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$CardPower SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/murderous_redcap.jpg diff --git a/forge-gui/res/cardsfolder/m/murderous_redcap_avatar.txt b/forge-gui/res/cardsfolder/m/murderous_redcap_avatar.txt index 31af6f17653..a4a9b0bdc1e 100644 --- a/forge-gui/res/cardsfolder/m/murderous_redcap_avatar.txt +++ b/forge-gui/res/cardsfolder/m/murderous_redcap_avatar.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Vanguard HandLifeModifier:+0/-2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl+HasCounters | TriggerZones$ Command | Execute$ TrigDamage | TriggerDescription$ Whenever a creature enters the battlefield under your control with a counter on it, you may have it deal damage equal to its power to any target. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | DamageSource$ TriggeredCard | NumDmg$ Damage | References$ Damage +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | DamageSource$ TriggeredCard | NumDmg$ Damage SVar:Damage:TriggeredCard$CardPower SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Murderous Redcap Avatar.full.jpg Oracle:Hand +0, life -2\nWhenever a creature enters the battlefield under your control with a counter on it, you may have it deal damage equal to its power to any target. diff --git a/forge-gui/res/cardsfolder/m/muscle_burst.txt b/forge-gui/res/cardsfolder/m/muscle_burst.txt index 12cc4de4069..32d5e3c1864 100644 --- a/forge-gui/res/cardsfolder/m/muscle_burst.txt +++ b/forge-gui/res/cardsfolder/m/muscle_burst.txt @@ -1,7 +1,7 @@ Name:Muscle Burst ManaCost:1 G Types:Instant -A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X,Y | SpellDescription$ Target creature gets +X/+X until end of turn, where X is 3 plus the number of cards named Muscle Burst in all graveyards. +A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is 3 plus the number of cards named Muscle Burst in all graveyards. SVar:X:Count$NamedInAllYards.Muscle Burst/Plus.Y SVar:Y:Count$ValidGraveyard Card.hasKeywordCARDNAME count as Muscle Burst./Plus.3 DeckHints:Name$Diligent Farmhand|Muscle Burst diff --git a/forge-gui/res/cardsfolder/m/musician.txt b/forge-gui/res/cardsfolder/m/musician.txt index de5c5e189d4..e99a1651171 100644 --- a/forge-gui/res/cardsfolder/m/musician.txt +++ b/forge-gui/res/cardsfolder/m/musician.txt @@ -7,7 +7,7 @@ A:AB$ PutCounter | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target crea SVar:PayThePiper:DB$ Animate | Defined$ Targeted | Permanent$ True | Keywords$ At the beginning of your upkeep, destroy this creature unless you pay {1} for each music counter on it | Triggers$ TrigMusicianPay | sVars$ MusiciansSpite,MusicX | ConditionDefined$ Targeted | ConditionPresent$ Card.withoutAt the beginning of your upkeep, destroy this creature unless you pay {1} for each music counter on it | ConditionCompare$ GE1 #The keyword added does nothing itself other than create a keyword string to check against in the conditional SVar:TrigMusicianPay:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ MusiciansSpite | Secondary$ True | TriggerDescription$ At the beginning of your upkeep, destroy this creature unless you pay 1 for each music counter on it. -SVar:MusiciansSpite:DB$ Destroy | Defined$ Self | UnlessCost$ MusicX | UnlessPayer$ You | References$ MusicX +SVar:MusiciansSpite:DB$ Destroy | Defined$ Self | UnlessCost$ MusicX | UnlessPayer$ You SVar:MusicX:Count$CardCounters.MUSIC SVar:NeedsToPlayVar:Z GE5 SVar:Z:Count$Valid Land.YouCtrl+inZoneBattlefield diff --git a/forge-gui/res/cardsfolder/m/mutilate.txt b/forge-gui/res/cardsfolder/m/mutilate.txt index be18dac853e..24b079bad95 100644 --- a/forge-gui/res/cardsfolder/m/mutilate.txt +++ b/forge-gui/res/cardsfolder/m/mutilate.txt @@ -1,7 +1,7 @@ Name:Mutilate ManaCost:2 B B Types:Sorcery -A:SP$ PumpAll | Cost$ 2 B B | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X | References$ X | IsCurse$ True | SpellDescription$ All creatures get -1/-1 until end of turn for each Swamp you control. +A:SP$ PumpAll | Cost$ 2 B B | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ All creatures get -1/-1 until end of turn for each Swamp you control. SVar:X:Count$Valid Swamp.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/mutilate.jpg Oracle:All creatures get -1/-1 until end of turn for each Swamp you control. diff --git a/forge-gui/res/cardsfolder/m/mutiny.txt b/forge-gui/res/cardsfolder/m/mutiny.txt index ef1538c789e..45ca72f5c1d 100644 --- a/forge-gui/res/cardsfolder/m/mutiny.txt +++ b/forge-gui/res/cardsfolder/m/mutiny.txt @@ -2,7 +2,7 @@ Name:Mutiny ManaCost:R Types:Sorcery A:SP$ Pump | Cost$ R | ValidTgts$ Creature.OppCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature an opponent controls | SubAbility$ MutinyDamage | StackDescription$ None | SpellDescription$ Target creature an opponent controls deals damage equal to its power to another target creature that player controls. -SVar:MutinyDamage:DB$ DealDamage | ValidTgts$ Creature.OppCtrl | TargetUnique$ True | AILogic$ PowerDmg | NumDmg$ X | References$ X | DamageSource$ ParentTarget +SVar:MutinyDamage:DB$ DealDamage | ValidTgts$ Creature.OppCtrl | TargetUnique$ True | AILogic$ PowerDmg | NumDmg$ X | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/mutiny.jpg //Not perfect yet, there seems to be no check whether the creature's controller is the same? diff --git a/forge-gui/res/cardsfolder/m/muxus_goblin_grandee.txt b/forge-gui/res/cardsfolder/m/muxus_goblin_grandee.txt index 0e080c61994..c08f060fbc0 100755 --- a/forge-gui/res/cardsfolder/m/muxus_goblin_grandee.txt +++ b/forge-gui/res/cardsfolder/m/muxus_goblin_grandee.txt @@ -5,7 +5,7 @@ PT:4/4 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDig | TriggerDescription$ When CARDNAME enters the battlefield, reveal the top six cards of your library. Put all Goblin creature cards with converted mana cost 5 or less from among them onto the battlefield and the rest on the bottom of your library in a random order. SVar:TrigDig:DB$ Dig | DigNum$ 6 | Reveal$ True | ChangeNum$ All | ChangeValid$ Creature.Goblin+cmcLE5 | DestinationZone$ Battlefield | DestinationZone2$ Library | LibraryPosition$ -1 | RestRandomOrder$ True T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+1 until end of turn for each other Goblin you control. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X SVar:X:Count$Valid Goblin.Other+YouCtrl DeckHints:Type$Goblin Oracle:When Muxus, Goblin Grandee enters the battlefield, reveal the top six cards of your library. Put all Goblin creature cards with converted mana cost 5 or less from among them onto the battlefield and the rest on the bottom of your library in a random order.\nWhenever Muxus attacks, it gets +1/+1 until end of turn for each other Goblin you control. diff --git a/forge-gui/res/cardsfolder/m/muzzio_visionary_architect.txt b/forge-gui/res/cardsfolder/m/muzzio_visionary_architect.txt index 8a7b3236354..82dccc6511e 100644 --- a/forge-gui/res/cardsfolder/m/muzzio_visionary_architect.txt +++ b/forge-gui/res/cardsfolder/m/muzzio_visionary_architect.txt @@ -2,7 +2,7 @@ Name:Muzzio, Visionary Architect ManaCost:1 U U Types:Legendary Creature Human Artificer PT:1/3 -A:AB$ Dig | Cost$ 3 U T | DigNum$ X | References$ X | Optional$ True | ChangeValid$ Artifact | DestinationZone$ Battlefield | AILogic$ AtOppEndOfTurn | SpellDescription$ Look at the top X cards of your library, where X is the highest converted mana cost among artifacts you control. You may reveal an artifact card from among them and put it onto the battlefield. Put the rest on the bottom of your library in any order. +A:AB$ Dig | Cost$ 3 U T | DigNum$ X | Optional$ True | ChangeValid$ Artifact | DestinationZone$ Battlefield | AILogic$ AtOppEndOfTurn | SpellDescription$ Look at the top X cards of your library, where X is the highest converted mana cost among artifacts you control. You may reveal an artifact card from among them and put it onto the battlefield. Put the rest on the bottom of your library in any order. SVar:X:Count$HighestCMC_Artifact.YouCtrl+inZoneBattlefield SVar:Picture:http://www.wizards.com/global/images/magic/general/muzzio_visionary_architect.jpg Oracle:{3}{U}, {T}: Look at the top X cards of your library, where X is the highest converted mana cost among artifacts you control. You may reveal an artifact card from among them and put it onto the battlefield. Put the rest on the bottom of your library in any order. diff --git a/forge-gui/res/cardsfolder/m/mwonvuli_ooze.txt b/forge-gui/res/cardsfolder/m/mwonvuli_ooze.txt index f1869139198..62f0efd157f 100644 --- a/forge-gui/res/cardsfolder/m/mwonvuli_ooze.txt +++ b/forge-gui/res/cardsfolder/m/mwonvuli_ooze.txt @@ -3,7 +3,7 @@ ManaCost:G Types:Creature Ooze PT:1+*/1+* K:Cumulative upkeep:2 -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | References$ X,Y | Description$ CARDNAME's power and toughness are each equal to 1 plus twice the number of age counters on it. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | Description$ CARDNAME's power and toughness are each equal to 1 plus twice the number of age counters on it. SVar:Y:Number$1/Plus.X SVar:X:Count$CardCounters.AGE/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/mwonvuli_ooze.jpg diff --git a/forge-gui/res/cardsfolder/m/my_laughter_echoes.txt b/forge-gui/res/cardsfolder/m/my_laughter_echoes.txt index 96b57e4401c..5f9ed221421 100644 --- a/forge-gui/res/cardsfolder/m/my_laughter_echoes.txt +++ b/forge-gui/res/cardsfolder/m/my_laughter_echoes.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Ongoing Scheme T:Mode$ SetInMotion | ValidCards$ Card.Other | SchemeType$ NonOngoing | Execute$ Abandon | TriggerZones$ Command | TriggerDescription$ Whenever you set a non-ongoing scheme in motion, you may abandon this scheme. If you do, set that scheme in motion again. SVar:Abandon:DB$ Abandon | Optional$ True | RememberAbandoned$ True | SubAbility$ DBSetInMotionAgain -SVar:DBSetInMotionAgain:DB$ SetInMotion | Again$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup | References$ X +SVar:DBSetInMotionAgain:DB$ SetInMotion | Again$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:https://downloads.cardforge.org/images/cards/E01/My Laughter Echoes.full.jpg diff --git a/forge-gui/res/cardsfolder/m/mycoloth.txt b/forge-gui/res/cardsfolder/m/mycoloth.txt index c5b5693c8e5..3972895f961 100644 --- a/forge-gui/res/cardsfolder/m/mycoloth.txt +++ b/forge-gui/res/cardsfolder/m/mycoloth.txt @@ -4,7 +4,7 @@ Types:Creature Fungus PT:4/4 K:Devour:2 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your upkeep, create a 1/1 green Saproling creature token for each +1/+1 counter on CARDNAME. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling ala +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling ala SVar:X:Count$CardCounters.P1P1 DeckHas:Ability$Counters & Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/mycoloth.jpg diff --git a/forge-gui/res/cardsfolder/m/mycosynth_fiend.txt b/forge-gui/res/cardsfolder/m/mycosynth_fiend.txt index 809515d4ed4..160dc5b3338 100644 --- a/forge-gui/res/cardsfolder/m/mycosynth_fiend.txt +++ b/forge-gui/res/cardsfolder/m/mycosynth_fiend.txt @@ -2,7 +2,7 @@ Name:Mycosynth Fiend ManaCost:2 G Types:Creature Horror PT:2/2 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each poison counter your opponents have. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each poison counter your opponents have. SVar:X:Count$TotalOppPoisonCounters AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/mycosynth_fiend.jpg diff --git a/forge-gui/res/cardsfolder/m/myojin_of_lifes_web.txt b/forge-gui/res/cardsfolder/m/myojin_of_lifes_web.txt index d9ed8ff45d4..9ede9ced872 100644 --- a/forge-gui/res/cardsfolder/m/myojin_of_lifes_web.txt +++ b/forge-gui/res/cardsfolder/m/myojin_of_lifes_web.txt @@ -5,7 +5,7 @@ PT:8/8 T:Mode$ ChangesZone | ValidCard$ Card.wasCastFromHand+Self | Destination$ Battlefield | Static$ True | Execute$ ETBCounter | TriggerDescription$ CARDNAME enters the battlefield with a divinity counter on it if you cast it from your hand. SVar:ETBCounter:DB$PutCounter | Defined$ Self | CounterType$ DIVINITY | CounterNum$ 1 S:Mode$ Continuous | Affected$ Card.Self+counters_GE1_DIVINITY | AddKeyword$ Indestructible | Description$ CARDNAME has indestructible as long as it has a divinity counter on it. -A:AB$ ChangeZone | Cost$ SubCounter<1/DIVINITY> | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature | ChangeNum$ X | References$ X | SpellDescription$ Put any number of creature cards from your hand onto the battlefield. +A:AB$ ChangeZone | Cost$ SubCounter<1/DIVINITY> | Origin$ Hand | Destination$ Battlefield | ChangeType$ Creature | ChangeNum$ X | SpellDescription$ Put any number of creature cards from your hand onto the battlefield. SVar:X:Count$InYourHand.Creature AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/myojin_of_lifes_web.jpg diff --git a/forge-gui/res/cardsfolder/m/myojin_of_seeing_winds.txt b/forge-gui/res/cardsfolder/m/myojin_of_seeing_winds.txt index fff77f37375..dba642e16ca 100644 --- a/forge-gui/res/cardsfolder/m/myojin_of_seeing_winds.txt +++ b/forge-gui/res/cardsfolder/m/myojin_of_seeing_winds.txt @@ -5,7 +5,7 @@ PT:3/3 T:Mode$ ChangesZone | ValidCard$ Card.wasCastFromHand+Self | Destination$ Battlefield | Static$ True | Execute$ ETBCounter | TriggerDescription$ CARDNAME enters the battlefield with a divinity counter on it if you cast it from your hand. SVar:ETBCounter:DB$PutCounter | Defined$ Self | CounterType$ DIVINITY | CounterNum$ 1 S:Mode$ Continuous | Affected$ Card.Self+counters_GE1_DIVINITY | AddKeyword$ Indestructible | Description$ CARDNAME has indestructible as long as it has a divinity counter on it. -A:AB$ Draw | Cost$ SubCounter<1/DIVINITY> | NumCards$ X | References$ X | SpellDescription$ Draw a card for each permanent you control. +A:AB$ Draw | Cost$ SubCounter<1/DIVINITY> | NumCards$ X | SpellDescription$ Draw a card for each permanent you control. SVar:X:Count$Valid Permanent.YouCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/myojin_of_seeing_winds.jpg diff --git a/forge-gui/res/cardsfolder/m/myr_adapter.txt b/forge-gui/res/cardsfolder/m/myr_adapter.txt index 0f4fc68c6a0..ce69a0c6e69 100644 --- a/forge-gui/res/cardsfolder/m/myr_adapter.txt +++ b/forge-gui/res/cardsfolder/m/myr_adapter.txt @@ -2,7 +2,7 @@ Name:Myr Adapter ManaCost:3 Types:Artifact Creature Myr PT:1/1 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each Equipment attached to it. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each Equipment attached to it. SVar:X:Count$Valid Equipment.Attached SVar:EquipMe:Multiple SVar:Picture:http://www.wizards.com/global/images/magic/general/myr_adapter.jpg diff --git a/forge-gui/res/cardsfolder/m/myr_battlesphere.txt b/forge-gui/res/cardsfolder/m/myr_battlesphere.txt index b1fdae49309..72f7db3863c 100644 --- a/forge-gui/res/cardsfolder/m/myr_battlesphere.txt +++ b/forge-gui/res/cardsfolder/m/myr_battlesphere.txt @@ -5,7 +5,7 @@ PT:4/7 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create four 1/1 colorless Myr artifact creature tokens. SVar:TrigToken:DB$ Token | TokenAmount$ 4 | TokenScript$ c_1_1_a_myr | TokenOwner$ You | LegacyImage$ c 1 1 myr som T:Mode$ Attacks | ValidCard$ Card.Self | OptionalDecider$ You | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, you may tap X untapped Myr you control. If you do, CARDNAME gets +X/+0 until end of turn and deals X damage to the player or planeswalker it's attacking. -SVar:TrigPump:AB$ Pump | Cost$ tapXType | Defined$ Self | References$ X | NumAtt$ +X | NumDef$ +0 | SubAbility$ DBDealDamage +SVar:TrigPump:AB$ Pump | Cost$ tapXType | Defined$ Self | NumAtt$ +X | NumDef$ +0 | SubAbility$ DBDealDamage SVar:DBDealDamage:DB$ DealDamage | Defined$ TriggeredDefender | NumDmg$ X SVar:X:Count$xPaid DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/m/myr_incubator.txt b/forge-gui/res/cardsfolder/m/myr_incubator.txt index 5c724762b0b..54e58db2d0d 100644 --- a/forge-gui/res/cardsfolder/m/myr_incubator.txt +++ b/forge-gui/res/cardsfolder/m/myr_incubator.txt @@ -1,8 +1,8 @@ Name:Myr Incubator ManaCost:6 Types:Artifact -A:AB$ ChangeZone | Cost$ 6 Sac<1/CARDNAME> | Origin$ Library | Destination$ Exile | ChangeType$ Artifact | ChangeNum$ X | References$ X | RememberChanged$ True | ForgetOtherRemembered$ True | Shuffle$ True | SubAbility$ Token | SpellDescription$ Search your library for any number of artifact cards, exile them, then create that many 1/1 colorless Myr artifact creature tokens. Then shuffle your library. -SVar:Token:DB$Token | TokenAmount$ Y | References$ Y | TokenScript$ c_1_1_a_myr | TokenOwner$ You | LegacyImage$ c 1 1 a myr mrd | SubAbility$ DBCleanup +A:AB$ ChangeZone | Cost$ 6 Sac<1/CARDNAME> | Origin$ Library | Destination$ Exile | ChangeType$ Artifact | ChangeNum$ X | RememberChanged$ True | ForgetOtherRemembered$ True | Shuffle$ True | SubAbility$ Token | SpellDescription$ Search your library for any number of artifact cards, exile them, then create that many 1/1 colorless Myr artifact creature tokens. Then shuffle your library. +SVar:Token:DB$Token | TokenAmount$ Y | TokenScript$ c_1_1_a_myr | TokenOwner$ You | LegacyImage$ c 1 1 a myr mrd | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Count$InYourLibrary.Artifact SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/m/myriad_construct.txt b/forge-gui/res/cardsfolder/m/myriad_construct.txt index 126c695db3c..b5a0682e717 100755 --- a/forge-gui/res/cardsfolder/m/myriad_construct.txt +++ b/forge-gui/res/cardsfolder/m/myriad_construct.txt @@ -4,13 +4,13 @@ Types:Artifact Creature Construct PT:4/4 K:Kicker:3 R:Event$ Moved | ValidCard$ Card.Self+kicked | Destination$ Battlefield | ReplaceWith$ DBPutCounter | Description$ If CARDNAME was kicked, it enters the battlefield with a +1/+1 counter on it for each nonbasic land your opponents control. -SVar:DBPutCounter:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBMoveToPlay +SVar:DBPutCounter:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBMoveToPlay SVar:DBMoveToPlay:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard SVar:X:Count$LastStateBattlefield Land.nonBasic+OppCtrl SVar:NeedsToPlayKicked:Land.nonBasic+OppCtrl T:Mode$ BecomesTarget | ValidTarget$ Card.Self | TriggerZones$ Battlefield | SourceType$ Spell | Execute$ TrigSac | TriggerDescription$ When CARDNAME becomes the target of a spell, sacrifice it and create a number of 1/1 colorless Construct artifact creature tokens equal to its power. SVar:TrigSac:DB$ Destroy | Defined$ Self | Sacrifice$ True | RememberLKI$ True | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ Y | References$ Y | TokenScript$ c_1_1_a_construct | TokenOwner$ You | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ Y | TokenScript$ c_1_1_a_construct | TokenOwner$ You | SubAbility$ DBCleanup SVar:Y:RememberedLKI$CardPower SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True DeckHas:Ability$Token & Ability$Counters diff --git a/forge-gui/res/cardsfolder/m/mysteries_of_the_deep.txt b/forge-gui/res/cardsfolder/m/mysteries_of_the_deep.txt index 4587b10b8a1..e70143d3386 100644 --- a/forge-gui/res/cardsfolder/m/mysteries_of_the_deep.txt +++ b/forge-gui/res/cardsfolder/m/mysteries_of_the_deep.txt @@ -1,7 +1,7 @@ Name:Mysteries of the Deep ManaCost:4 U Types:Instant -A:SP$ Draw | Cost$ 4 U | NumCards$ X | References$ X | SpellDescription$ Draw two cards. Landfall — If you had a land enter the battlefield under your control this turn, draw three cards instead. +A:SP$ Draw | Cost$ 4 U | NumCards$ X | SpellDescription$ Draw two cards. Landfall — If you had a land enter the battlefield under your control this turn, draw three cards instead. SVar:X:Count$Landfall.3.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/mysteries_of_the_deep.jpg Oracle:Draw two cards.\nLandfall — If you had a land enter the battlefield under your control this turn, draw three cards instead. diff --git a/forge-gui/res/cardsfolder/m/mystic_genesis.txt b/forge-gui/res/cardsfolder/m/mystic_genesis.txt index 68f4ee2a09e..50998cf6d2a 100644 --- a/forge-gui/res/cardsfolder/m/mystic_genesis.txt +++ b/forge-gui/res/cardsfolder/m/mystic_genesis.txt @@ -2,7 +2,7 @@ Name:Mystic Genesis ManaCost:2 G U U Types:Instant A:SP$ Counter | Cost$ 2 G U U | TargetType$ Spell | RememberCounteredCMC$ True | ValidTgts$ Card | SubAbility$ DBToken | SpellDescription$ Counter target spell. Create an X/X green Ooze creature token, where X is that spell's converted mana cost. -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_x_x_ooze | TokenOwner$ You | LegacyImage$ g x x ooze gtc | TokenPower$ X | TokenToughness$ X | References$ X | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_x_x_ooze | TokenOwner$ You | LegacyImage$ g x x ooze gtc | TokenPower$ X | TokenToughness$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedNumber SVar:Picture:http://www.wizards.com/global/images/magic/general/mystic_genesis.jpg diff --git a/forge-gui/res/cardsfolder/m/mystical_dispute.txt b/forge-gui/res/cardsfolder/m/mystical_dispute.txt index 2bc300fc49a..dce7afdf69e 100644 --- a/forge-gui/res/cardsfolder/m/mystical_dispute.txt +++ b/forge-gui/res/cardsfolder/m/mystical_dispute.txt @@ -4,5 +4,5 @@ Types:Instant S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ XBlue | Relative$ True | EffectZone$ All | Description$ CARDNAME costs {2} less to cast if it targets a blue spell. SVar:XBlue:Count$Compare CheckTgt GE1.2.0 SVar:CheckTgt:Targeted$Valid Card.Blue -A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ 3 | References$ XBlue,CheckTgt | SpellDescription$ This spell costs {2} less to cast if it targets a blue spell. Counter target spell unless its controller pays {3}. +A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ 3 | SpellDescription$ This spell costs {2} less to cast if it targets a blue spell. Counter target spell unless its controller pays {3}. Oracle:This spell costs {2} less to cast if it targets a blue spell.\nCounter target spell unless its controller pays {3}. diff --git a/forge-gui/res/cardsfolder/n/naar_isle.txt b/forge-gui/res/cardsfolder/n/naar_isle.txt index 83f96809583..f78ad1e3d11 100644 --- a/forge-gui/res/cardsfolder/n/naar_isle.txt +++ b/forge-gui/res/cardsfolder/n/naar_isle.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Plane Wildfire T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Command | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a flame counter on CARDNAME, then CARDNAME deals damage to you equal to the number of flame counters on it. SVar:TrigPutCounter:DB$ PutCounter | CounterType$ FLAME | CounterNum$ 1 | SubAbility$ DBDmg -SVar:DBDmg:DB$ DealDamage | Defined$ You | NumDmg$ Y | References$ Y +SVar:DBDmg:DB$ DealDamage | Defined$ You | NumDmg$ Y SVar:Y:Count$CardCounters.FLAME T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, CARDNAME deals 3 damage to target player or planeswalker. SVar:RolledChaos:DB$ DealDamage | ValidTgts$ Player,Planeswalker | NumDmg$ 3 diff --git a/forge-gui/res/cardsfolder/n/nadier_agent_of_the_duskenel.txt b/forge-gui/res/cardsfolder/n/nadier_agent_of_the_duskenel.txt index 9f03cb95f8e..66ab99885ad 100644 --- a/forge-gui/res/cardsfolder/n/nadier_agent_of_the_duskenel.txt +++ b/forge-gui/res/cardsfolder/n/nadier_agent_of_the_duskenel.txt @@ -6,7 +6,7 @@ K:Partner T:Mode$ ChangesZone | ValidCard$ Card.token+YouCtrl | Origin$ Battlefield | Destination$ Any | Execute$ TrigCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a token you control leaves the battlefield, put a +1/+1 counter on CARDNAME. SVar:TrigCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ 1 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Any | Execute$ TrigToken | TriggerDescription$ When NICKNAME leaves the battlefield, create a number of 1/1 green Elf Warrior creature tokens equal to its power. -SVar:TrigToken:DB$ Token | TokenScript$ g_1_1_elf_warrior | TokenAmount$ X | References$ X +SVar:TrigToken:DB$ Token | TokenScript$ g_1_1_elf_warrior | TokenAmount$ X SVar:X:TriggeredCard$CardPower DeckHas:Ability$Token & Ability$Counters DeckHints:Ability$Token & Type$Elf diff --git a/forge-gui/res/cardsfolder/n/nahiri_heir_of_the_ancients.txt b/forge-gui/res/cardsfolder/n/nahiri_heir_of_the_ancients.txt index 8c488c95e0f..294427c603c 100644 --- a/forge-gui/res/cardsfolder/n/nahiri_heir_of_the_ancients.txt +++ b/forge-gui/res/cardsfolder/n/nahiri_heir_of_the_ancients.txt @@ -7,7 +7,7 @@ SVar:DBChooseToken:DB$ ChooseCard | DefinedCards$ Remembered | Mandatory$ True | SVar:DBAttach:DB$ Attach | Optional$ True | Choices$ Equipment.YouCtrl | ChoiceTitle$ Choose an Equipment you control | Defined$ ChosenCard | SubAbility$ DBCleanup | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearChosenCard$ True A:AB$ Dig | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | DigNum$ 6 | ChangeNum$ 1 | Optional$ True | ForceRevealToController$ True | ChangeValid$ Card.Warrior,Card.Equipment | RestRandomOrder$ True | SpellDescription$ Look at the top six cards of your library. You may reveal a Warrior or Equipment card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. -A:AB$ DealDamage | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target creature or planeswalker equal to twice the number of Equipment you control. +A:AB$ DealDamage | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target creature or planeswalker equal to twice the number of Equipment you control. SVar:X:Count$Valid Equipment.YouCtrl/Twice DeckNeeds:Type$Equipment DeckHints:Type$Warrior diff --git a/forge-gui/res/cardsfolder/n/nahiri_storm_of_stone.txt b/forge-gui/res/cardsfolder/n/nahiri_storm_of_stone.txt index a31a5809052..5c9ab0be6d8 100644 --- a/forge-gui/res/cardsfolder/n/nahiri_storm_of_stone.txt +++ b/forge-gui/res/cardsfolder/n/nahiri_storm_of_stone.txt @@ -4,6 +4,6 @@ Types:Legendary Planeswalker Nahiri Loyalty:6 S:Mode$ Continuous | Affected$ Creature.YouCtrl | EffectZone$ Battlefield | AddKeyword$ First Strike | Condition$ PlayerTurn | Description$ As long as it's your turn, creatures you control have first strike and equip abilities you activate cost {1} less to activate. S:Mode$ ReduceCost | ValidCard$ Card | ValidSpell$ Activated.Equip | Activator$ You | Amount$ 1 | Condition$ PlayerTurn | Secondary$ True | Description$ Equip abilities you activate cost {1} less to activate. -A:AB$ DealDamage | Cost$ SubCounter | Planeswalker$ True | ValidTgts$ Creature.tapped | TgtPrompt$ Select target tapped creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target tapped creature. +A:AB$ DealDamage | Cost$ SubCounter | Planeswalker$ True | ValidTgts$ Creature.tapped | TgtPrompt$ Select target tapped creature | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target tapped creature. SVar:X:Count$xPaid Oracle:As long as it's your turn, creatures you control have first strike and equip abilities you activate cost {1} less to activate.\n[−X]: Nahiri, Storm of Stone deals X damage to target tapped creature. diff --git a/forge-gui/res/cardsfolder/n/nahiris_lithoforming.txt b/forge-gui/res/cardsfolder/n/nahiris_lithoforming.txt index 38794fcdd7f..33eeddbe83a 100755 --- a/forge-gui/res/cardsfolder/n/nahiris_lithoforming.txt +++ b/forge-gui/res/cardsfolder/n/nahiris_lithoforming.txt @@ -1,11 +1,11 @@ Name:Nahiri's Lithoforming ManaCost:X R R Types:Sorcery -A:SP$ Sacrifice | Cost$ X R R | SacValid$ Land | Amount$ X | References$ X | RememberSacrificed$ True | SubAbility$ DBDraw | StackDescription$ SpellDescription | SpellDescription$ Sacrifice X lands. For each land sacrificed this way, draw a card. You may play X additional lands this turn. Lands you control enter the battlefield tapped this turn. -SVar:DBDraw:DB$ Draw | NumCards$ Y | References$ Y | SubAbility$ DBStoreSVar | StackDescription$ None +A:SP$ Sacrifice | Cost$ X R R | SacValid$ Land | Amount$ X | RememberSacrificed$ True | SubAbility$ DBDraw | StackDescription$ SpellDescription | SpellDescription$ Sacrifice X lands. For each land sacrificed this way, draw a card. You may play X additional lands this turn. Lands you control enter the battlefield tapped this turn. +SVar:DBDraw:DB$ Draw | NumCards$ Y | SubAbility$ DBStoreSVar | StackDescription$ None SVar:DBStoreSVar:DB$ StoreSVar | SVar$ XLands | Type$ CountSVar | Expression$ X | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | StaticAbilities$ PlayMoreLand | ReplacementEffects$ LandETB | SVars$ XLands,ETBTapped | SubAbility$ DBCleanup -SVar:PlayMoreLand:Mode$ Continuous | Affected$ You | AdjustLandPlays$ XLands | References$ XLands | EffectZone$ Command | Description$ You may play X additional lands this turn. +SVar:PlayMoreLand:Mode$ Continuous | Affected$ You | AdjustLandPlays$ XLands | EffectZone$ Command | Description$ You may play X additional lands this turn. SVar:LandETB:Event$ Moved | ValidCard$ Land.YouCtrl | Destination$ Battlefield | ReplaceWith$ ETBTapped | Description$ Lands you control enter the battlefield tapped this turn. SVar:ETBTapped:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Tapped$ True | Defined$ ReplacedCard SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/n/nahiris_wrath.txt b/forge-gui/res/cardsfolder/n/nahiris_wrath.txt index 30042d49132..6022780cef3 100644 --- a/forge-gui/res/cardsfolder/n/nahiris_wrath.txt +++ b/forge-gui/res/cardsfolder/n/nahiris_wrath.txt @@ -1,7 +1,7 @@ Name:Nahiri's Wrath ManaCost:2 R Types:Sorcery -A:SP$ DealDamage | Cost$ 2 R Discard | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | TargetMin$ 0 | TargetMax$ X | NumDmg$ Y | References$ X,Y | SpellDescription$ CARDNAME deals damage equal to the total converted mana cost of the discarded cards to each of up to X target creatures and/or planeswalkers. +A:SP$ DealDamage | Cost$ 2 R Discard | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | TargetMin$ 0 | TargetMax$ X | NumDmg$ Y | SpellDescription$ CARDNAME deals damage equal to the total converted mana cost of the discarded cards to each of up to X target creatures and/or planeswalkers. SVar:X:Count$xPaid SVar:Y:Discarded$CardManaCost AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/n/nameless_one.txt b/forge-gui/res/cardsfolder/n/nameless_one.txt index b897f8925ec..0bf4d321cf2 100644 --- a/forge-gui/res/cardsfolder/n/nameless_one.txt +++ b/forge-gui/res/cardsfolder/n/nameless_one.txt @@ -3,7 +3,7 @@ ManaCost:3 U Types:Creature Wizard Avatar PT:*/* K:Morph:2 U -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | CheckSVar$ Y | SVarCompare$ EQ1 | References$ X,Y | Description$ CARDNAME's power and toughness are each equal to the number of Wizards on the battlefield. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ CARDNAME's power and toughness are each equal to the number of Wizards on the battlefield. SVar:X:Count$Valid Wizard SVar:Y:Count$Valid Card.Self+faceUp SVar:BuffedBy:Wizard diff --git a/forge-gui/res/cardsfolder/n/nameless_race.txt b/forge-gui/res/cardsfolder/n/nameless_race.txt index 61d7483f0b2..76372c1c604 100644 --- a/forge-gui/res/cardsfolder/n/nameless_race.txt +++ b/forge-gui/res/cardsfolder/n/nameless_race.txt @@ -4,7 +4,7 @@ Types:Creature PT:*/* K:Trample R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ PayLife | Description$ As CARDNAME enters the battlefield, pay any amount of life. The amount you pay can't be more than the total number of white nontoken permanents your opponents control plus the total number of white cards in their graveyards. -SVar:PayLife:AB$ StoreSVar | Cost$ Mandatory PayLife | XMaxLimit$ Limit | References$ X,Limit,Active,Buried | SVar$ LifePaidOnETB | Type$ Calculate | Expression$ X | SubAbility$ MoveToPlay +SVar:PayLife:AB$ StoreSVar | Cost$ Mandatory PayLife | XMaxLimit$ Limit | SVar$ LifePaidOnETB | Type$ Calculate | Expression$ X | SubAbility$ MoveToPlay SVar:MoveToPlay:DB$ ChangeZone | Defined$ ReplacedCard | Origin$ All | Destination$ Battlefield #Dont use References, when the variable is set by StoreSVar S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ LifePaidOnETB | SetToughness$ LifePaidOnETB | Description$ CARDNAME's power and toughness are each equal to the life paid as it entered the battlefield. diff --git a/forge-gui/res/cardsfolder/n/nantuko_blightcutter.txt b/forge-gui/res/cardsfolder/n/nantuko_blightcutter.txt index d6a57edbd6b..0f93dca1de4 100644 --- a/forge-gui/res/cardsfolder/n/nantuko_blightcutter.txt +++ b/forge-gui/res/cardsfolder/n/nantuko_blightcutter.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Insect Druid PT:2/2 K:Protection from black -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Condition$ Threshold | Description$ Threshold — CARDNAME gets +1/+1 for each black permanent your opponents control as long as seven or more cards are in your graveyard. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Condition$ Threshold | Description$ Threshold — CARDNAME gets +1/+1 for each black permanent your opponents control as long as seven or more cards are in your graveyard. SVar:X:Count$Valid Permanent.Black+OppCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/nantuko_blightcutter.jpg Oracle:Protection from black\nThreshold — Nantuko Blightcutter gets +1/+1 for each black permanent your opponents control as long as seven or more cards are in your graveyard. diff --git a/forge-gui/res/cardsfolder/n/nantuko_cultivator.txt b/forge-gui/res/cardsfolder/n/nantuko_cultivator.txt index f34d33244c8..f1b1e6edfa4 100644 --- a/forge-gui/res/cardsfolder/n/nantuko_cultivator.txt +++ b/forge-gui/res/cardsfolder/n/nantuko_cultivator.txt @@ -3,9 +3,9 @@ ManaCost:3 G Types:Creature Insect Druid PT:2/2 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigNantukoDiscardLand | TriggerDescription$ When CARDNAME enters the battlefield, you may discard any number of land cards. Put that many +1/+1 counters on CARDNAME and draw that many cards. -SVar:TrigNantukoDiscardLand:DB$ Discard | DiscardValid$ Land | NumCards$ NantukoX | References$ NantukoX | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBNantukoPutCounter -SVar:DBNantukoPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ NantukoY | References$ NantukoY | SubAbility$ DBNantukoDraw -SVar:DBNantukoDraw:DB$ Draw | NumCards$ NantukoY | References$ NantukoY | SubAbility$ DBNantukoCleanup +SVar:TrigNantukoDiscardLand:DB$ Discard | DiscardValid$ Land | NumCards$ NantukoX | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBNantukoPutCounter +SVar:DBNantukoPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ NantukoY | SubAbility$ DBNantukoDraw +SVar:DBNantukoDraw:DB$ Draw | NumCards$ NantukoY | SubAbility$ DBNantukoCleanup SVar:DBNantukoCleanup:DB$ Cleanup | ClearRemembered$ True SVar:NantukoX:Count$TypeInYourHand.Land SVar:NantukoY:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/n/nantuko_mentor.txt b/forge-gui/res/cardsfolder/n/nantuko_mentor.txt index 34cf116c048..69fcb698526 100644 --- a/forge-gui/res/cardsfolder/n/nantuko_mentor.txt +++ b/forge-gui/res/cardsfolder/n/nantuko_mentor.txt @@ -2,7 +2,7 @@ Name:Nantuko Mentor ManaCost:2 G Types:Creature Insect Druid PT:1/1 -A:AB$ Pump | Cost$ 2 G T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is that creature's power. +A:AB$ Pump | Cost$ 2 G T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is that creature's power. SVar:X:Targeted$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/nantuko_mentor.jpg diff --git a/forge-gui/res/cardsfolder/n/nantuko_shrine.txt b/forge-gui/res/cardsfolder/n/nantuko_shrine.txt index 1f5616ff926..82e5de57eae 100644 --- a/forge-gui/res/cardsfolder/n/nantuko_shrine.txt +++ b/forge-gui/res/cardsfolder/n/nantuko_shrine.txt @@ -3,7 +3,7 @@ ManaCost:1 G G Types:Enchantment T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigTokenRem | TriggerDescription$ Whenever a player casts a spell, that player creates X 1/1 green Squirrel creature tokens, where X is the number of cards in all graveyards with the same name as that spell. SVar:TrigTokenRem:DB$ Pump | Defined$ TriggeredCard | PumpZone$ Stack | RememberObjects$ TriggeredCard | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_squirrel | TokenOwner$ TriggeredActivator | LegacyImage$ g 1 1 squirrel ody | References$ X | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_squirrel | TokenOwner$ TriggeredActivator | LegacyImage$ g 1 1 squirrel ody | SubAbility$ DBCleanup SVar:X:Count$ValidGraveyard Card.sharesNameWith Remembered SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/n/narset_of_the_ancient_way.txt b/forge-gui/res/cardsfolder/n/narset_of_the_ancient_way.txt index e17aa2108f4..0b37e1fcdfa 100644 --- a/forge-gui/res/cardsfolder/n/narset_of_the_ancient_way.txt +++ b/forge-gui/res/cardsfolder/n/narset_of_the_ancient_way.txt @@ -6,7 +6,7 @@ A:AB$ GainLife | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | LifeAmount$ SVar:DBMana:DB$ Mana | Produced$ Combo U R W | Amount$ 1 | RestrictValid$ Card.nonCreature | StackDescription$ None A:AB$ Draw | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | NumCards$ 1 | SpellDescription$ Draw a card, then discard a card. | SubAbility$ DBDiscard | StackDescription$ SpellDescription | SpellDescription$ Draw a card, then you may discard a card. When you discard a nonland card this way, CARDNAME deals damage equal to that card's converted mana cost to target creature or planeswalker. SVar:DBDiscard:DB$ Discard | Defined$ You | Mode$ TgtChoose | Optional$ True | NumCards$ 1 | RememberDiscarded$ True | SubAbility$ DBDamage | StackDescription$ None -SVar:DBDamage:DB$ DealDamage | ConditionDefined$ Remembered | ConditionPresent$ Card.nonLand | ConditionCompare$ EQ1 | NumDmg$ X | References$ X | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | SubAbility$ DBCleanup | StackDescription$ None +SVar:DBDamage:DB$ DealDamage | ConditionDefined$ Remembered | ConditionPresent$ Card.nonLand | ConditionCompare$ EQ1 | NumDmg$ X | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | SubAbility$ DBCleanup | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost A:AB$ Effect | Cost$ SubCounter<6/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Narset of the Ancient Way | Image$ emblem_narset_of_the_ancient_way | Triggers$ TrigSpellCast | SVars$ EffSpellCast | Duration$ Permanent | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "Whenever you cast a noncreature spell, this emblem deals 2 damage to any target." diff --git a/forge-gui/res/cardsfolder/n/natures_panoply.txt b/forge-gui/res/cardsfolder/n/natures_panoply.txt index 975812897b1..ecce8080e98 100644 --- a/forge-gui/res/cardsfolder/n/natures_panoply.txt +++ b/forge-gui/res/cardsfolder/n/natures_panoply.txt @@ -2,7 +2,7 @@ Name:Nature's Panoply ManaCost:G Types:Instant K:Strive:2 G -A:SP$ PutCounter | Cost$ G | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets,IncreaseCost | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Choose any number of target creatures. Put a +1/+1 counter on each of them. +A:SP$ PutCounter | Cost$ G | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxTargets | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Choose any number of target creatures. Put a +1/+1 counter on each of them. SVar:MaxTargets:Count$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/natures_panoply.jpg Oracle:Strive — This spell costs {2}{G} more to cast for each target beyond the first.\nChoose any number of target creatures. Put a +1/+1 counter on each of them. diff --git a/forge-gui/res/cardsfolder/n/natures_resurgence.txt b/forge-gui/res/cardsfolder/n/natures_resurgence.txt index a73e0d7c8cd..6c93cb30a3a 100644 --- a/forge-gui/res/cardsfolder/n/natures_resurgence.txt +++ b/forge-gui/res/cardsfolder/n/natures_resurgence.txt @@ -2,7 +2,7 @@ Name:Nature's Resurgence ManaCost:2 G G Types:Sorcery A:SP$ RepeatEach | Cost$ 2 G G | RepeatPlayers$ Player | RepeatSubAbility$ DBDraw | SpellDescription$ Each player draws a card for each creature card in their graveyard. -SVar:DBDraw:DB$ Draw | Defined$ Remembered | NumCards$ X | References$ X +SVar:DBDraw:DB$ Draw | Defined$ Remembered | NumCards$ X SVar:X:Count$ValidGraveyard Creature.RememberedPlayerCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/natures_resurgence.jpg Oracle:Each player draws a card for each creature card in their graveyard. diff --git a/forge-gui/res/cardsfolder/n/natures_way.txt b/forge-gui/res/cardsfolder/n/natures_way.txt index ad0f39b33a3..f117c3130f6 100644 --- a/forge-gui/res/cardsfolder/n/natures_way.txt +++ b/forge-gui/res/cardsfolder/n/natures_way.txt @@ -2,7 +2,7 @@ Name:Nature's Way ManaCost:1 G Types:Sorcery A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature.YouCtrl | AILogic$ PowerDmg | KW$ Vigilance & Trample | TgtPrompt$ Select target creature you control | SubAbility$ SoulsDamage | StackDescription$ None | SpellDescription$ Target creature you control gains vigilance and trample until end of turn. It deals damage equal to its power to target creature you don't control. -SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | References$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget +SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/natures_way.jpg Oracle:Target creature you control gains vigilance and trample until end of turn. It deals damage equal to its power to target creature you don't control. diff --git a/forge-gui/res/cardsfolder/n/navigators_ruin.txt b/forge-gui/res/cardsfolder/n/navigators_ruin.txt index 16fe583ba9a..0805ed5dbe4 100644 --- a/forge-gui/res/cardsfolder/n/navigators_ruin.txt +++ b/forge-gui/res/cardsfolder/n/navigators_ruin.txt @@ -1,7 +1,7 @@ Name:Navigator's Ruin ManaCost:2 U Types:Enchantment -T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | CheckSVar$ RaidTest | References$ RaidTest | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ Raid — At the beginning of your end step, if you attacked this turn, target opponent mills four cards. +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | CheckSVar$ RaidTest | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ Raid — At the beginning of your end step, if you attacked this turn, target opponent mills four cards. SVar:TrigMill:DB$ Mill | NumCards$ 4 | ValidTgts$ Opponent | TgtPrompt$ Select target opponent SVar:RaidTest:Count$AttackersDeclared Oracle:Raid — At the beginning of your end step, if you attacked this turn, target opponent mills four cards. diff --git a/forge-gui/res/cardsfolder/n/naya.txt b/forge-gui/res/cardsfolder/n/naya.txt index fe6dddd04a5..788b261ed94 100644 --- a/forge-gui/res/cardsfolder/n/naya.txt +++ b/forge-gui/res/cardsfolder/n/naya.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Plane Alara S:Mode$ Continuous | Affected$ You | EffectZone$ Command | AdjustLandPlays$ Unlimited | Description$ You may play any number of lands on each of your turns. T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, target red, green, or white creature you control gets +1/+1 until end of turn for each land you control. -SVar:RolledChaos:DB$ Pump | ValidTgts$ Creature.Red+YouCtrl,Creature.Green+YouCtrl,Creature.White+YouCtrl | TgtPrompt$ Select target red, green, or white creature you control | NumAtt$ Y | NumDef$ Y | References$ Y +SVar:RolledChaos:DB$ Pump | ValidTgts$ Creature.Red+YouCtrl,Creature.Green+YouCtrl,Creature.White+YouCtrl | TgtPrompt$ Select target red, green, or white creature you control | NumAtt$ Y | NumDef$ Y SVar:Y:Count$Valid Land.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/naya.jpg SVar:AIRollPlanarDieParams:Mode$ Always | HasColorCreatureInPlay$ RGW diff --git a/forge-gui/res/cardsfolder/n/naya_hushblade.txt b/forge-gui/res/cardsfolder/n/naya_hushblade.txt index 7319f98fb1b..0f62415a24a 100644 --- a/forge-gui/res/cardsfolder/n/naya_hushblade.txt +++ b/forge-gui/res/cardsfolder/n/naya_hushblade.txt @@ -2,7 +2,7 @@ Name:Naya Hushblade ManaCost:RW G Types:Creature Elf Rogue PT:2/1 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | AddKeyword$ Shroud | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Description$ As long as you control another multicolored permanent, CARDNAME gets +1/+1 and has shroud. (It can't be the target of spells or abilities.) +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | AddKeyword$ Shroud | CheckSVar$ X | SVarCompare$ GE1 | Description$ As long as you control another multicolored permanent, CARDNAME gets +1/+1 and has shroud. (It can't be the target of spells or abilities.) SVar:X:Count$Valid Permanent.MultiColor+Other+YouCtrl SVar:BuffedBy:Permanent.MultiColor SVar:Picture:http://www.wizards.com/global/images/magic/general/naya_hushblade.jpg diff --git a/forge-gui/res/cardsfolder/n/naya_soulbeast.txt b/forge-gui/res/cardsfolder/n/naya_soulbeast.txt index 976df974a1f..c2a98b6617b 100644 --- a/forge-gui/res/cardsfolder/n/naya_soulbeast.txt +++ b/forge-gui/res/cardsfolder/n/naya_soulbeast.txt @@ -8,7 +8,7 @@ SVar:TrigRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBRev SVar:DBReveal:DB$ Dig | Defined$ Player.IsRemembered | DigNum$ 1 | Reveal$ True | NoMove$ True | RememberRevealed$ True R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ SoulbestETB | Secondary$ True | Description$ CARDNAME enters the battlefield with X +1/+1 counters on it, where X is the total converted mana cost of all cards revealed this way. SVar:SoulbestETB:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | SubAbility$ SoulbestCounters -SVar:SoulbestCounters:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBCleanup +SVar:SoulbestCounters:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/n/nebuchadnezzar.txt b/forge-gui/res/cardsfolder/n/nebuchadnezzar.txt index 8e4615b07fc..8d70637affd 100644 --- a/forge-gui/res/cardsfolder/n/nebuchadnezzar.txt +++ b/forge-gui/res/cardsfolder/n/nebuchadnezzar.txt @@ -3,7 +3,7 @@ ManaCost:3 U B Types:Legendary Creature Human Wizard PT:3/3 A:AB$ NameCard | Cost$ X T | Defined$ You | SubAbility$ DBReveal | PlayerTurn$ True | SpellDescription$ Choose a card name. Target opponent reveals X cards at random from their hand. Then that player discards all cards with that name revealed this way. Activate this ability only during your turn. -SVar:DBReveal:DB$ Reveal | ValidTgts$ Opponent | Random$ True | NumCards$ X | References$ X | RememberRevealed$ True | SubAbility$ DBDiscard +SVar:DBReveal:DB$ Reveal | ValidTgts$ Opponent | Random$ True | NumCards$ X | RememberRevealed$ True | SubAbility$ DBDiscard SVar:DBDiscard:DB$ Discard | DefinedCards$ ValidHand Card.IsRemembered+NamedCard | Defined$ Targeted | Mode$ Defined | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/n/necra_sanctuary.txt b/forge-gui/res/cardsfolder/n/necra_sanctuary.txt index c47d30ff976..ecfc0819ed2 100644 --- a/forge-gui/res/cardsfolder/n/necra_sanctuary.txt +++ b/forge-gui/res/cardsfolder/n/necra_sanctuary.txt @@ -2,8 +2,8 @@ Name:Necra Sanctuary ManaCost:2 B Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Permanent.YouCtrl+Green,Permanent.YouCtrl+White | Execute$ TrigLoseLife | TriggerDescription$ At the beginning of your upkeep, if you control a green or white permanent, target player loses 1 life. If you control a green permanent and a white permanent, that player loses 3 life instead. -SVar:TrigLoseLife:DB$LoseLife | ValidTgts$ Player | TgtPrompt$ Select target player to lose life | LifeAmount$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X,Y,Z | SubAbility$ DBLoseLife -SVar:DBLoseLife:DB$LoseLife | Defined$ Targeted | LifeAmount$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X,Y,Z +SVar:TrigLoseLife:DB$LoseLife | ValidTgts$ Player | TgtPrompt$ Select target player to lose life | LifeAmount$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBLoseLife +SVar:DBLoseLife:DB$LoseLife | Defined$ Targeted | LifeAmount$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 SVar:Y:Count$Valid Permanent.Green+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.White+YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z diff --git a/forge-gui/res/cardsfolder/n/necravolver.txt b/forge-gui/res/cardsfolder/n/necravolver.txt index 4ab131fe671..2d5d3109f73 100644 --- a/forge-gui/res/cardsfolder/n/necravolver.txt +++ b/forge-gui/res/cardsfolder/n/necravolver.txt @@ -10,7 +10,7 @@ SVar:VolverStomp:DB$ Animate | Defined$ Self | Keywords$ Trample | Permanent$ Tr SVar:VolverPumped:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ETB$ True | SubAbility$ VolverLife | SpellDescription$ If CARDNAME was kicked with its {W} kicker, it enters the battlefield with a +1/+1 counter on it and with "Whenever CARDNAME deals damage, you gain that much life." SVar:VolverLife:DB$ Animate | Defined$ Self | Triggers$ PseudoLifelink | sVars$ VolverTrigGain,VolverX | Permanent$ True SVar:PseudoLifelink:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ VolverTrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. -SVar:VolverTrigGain:DB$ GainLife | Defined$ You | LifeAmount$ VolverX | References$ VolverX +SVar:VolverTrigGain:DB$ GainLife | Defined$ You | LifeAmount$ VolverX SVar:VolverX:TriggerCount$DamageAmount AI:RemoveDeck:Random DeckNeeds:Color$Green|White diff --git a/forge-gui/res/cardsfolder/n/necrologia.txt b/forge-gui/res/cardsfolder/n/necrologia.txt index 4ff5eee975e..59a6fffd513 100644 --- a/forge-gui/res/cardsfolder/n/necrologia.txt +++ b/forge-gui/res/cardsfolder/n/necrologia.txt @@ -2,6 +2,6 @@ Name:Necrologia ManaCost:3 B B Types:Instant Text:Cast this spell only during your end step.\r\n -A:SP$ Draw | Cost$ 3 B B PayLife | NumCards$ X | Defined$ You | ActivationPhases$ End of Turn | PlayerTurn$ True | References$ X | SpellDescription$ Draw X cards. +A:SP$ Draw | Cost$ 3 B B PayLife | NumCards$ X | Defined$ You | ActivationPhases$ End of Turn | PlayerTurn$ True | SpellDescription$ Draw X cards. SVar:X:Count$xPaid Oracle:Cast this spell only during your end step.\nAs an additional cost to cast this spell, pay X life.\nDraw X cards. diff --git a/forge-gui/res/cardsfolder/n/necromancers_covenant.txt b/forge-gui/res/cardsfolder/n/necromancers_covenant.txt index 6edbd3273a6..d4b571876d5 100644 --- a/forge-gui/res/cardsfolder/n/necromancers_covenant.txt +++ b/forge-gui/res/cardsfolder/n/necromancers_covenant.txt @@ -3,7 +3,7 @@ ManaCost:3 W B B Types:Enchantment T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChange | TriggerDescription$ When CARDNAME enters the battlefield, exile all creature cards from target player's graveyard, then create a 2/2 black Zombie creature token for each card exiled this way. SVar:TrigChange:DB$ ChangeZoneAll | ValidTgts$ Player | TgtPrompt$ Select target player | Origin$ Graveyard | Destination$ Exile | ChangeType$ Creature | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ DBToken -SVar:DBToken:DB$ Token | LegacyImage$ b 2 2 zombie arb | TokenScript$ b_2_2_zombie | TokenOwner$ You | TokenAmount$ X | References$ X | SubAbility$ DBClearRemember +SVar:DBToken:DB$ Token | LegacyImage$ b 2 2 zombie arb | TokenScript$ b_2_2_zombie | TokenOwner$ You | TokenAmount$ X | SubAbility$ DBClearRemember S:Mode$ Continuous | Affected$ Zombie.YouCtrl | AddKeyword$ Lifelink | Description$ Zombies you control have lifelink. SVar:DBClearRemember:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/n/necromancers_stockpile.txt b/forge-gui/res/cardsfolder/n/necromancers_stockpile.txt index 2cb4f1b3ce2..22438432eb9 100644 --- a/forge-gui/res/cardsfolder/n/necromancers_stockpile.txt +++ b/forge-gui/res/cardsfolder/n/necromancers_stockpile.txt @@ -2,7 +2,7 @@ Name:Necromancer's Stockpile ManaCost:1 B Types:Enchantment A:AB$ Draw | Cost$ 1 B Discard<1/Creature> | NumCards$ 1 | SubAbility$ DBToken | SpellDescription$ Draw a card. If the discarded card was a Zombie card, create a tapped 2/2 black Zombie creature token. -SVar:DBToken:DB$ Token | TokenScript$ b_2_2_zombie | LegacyImage$ b 2 2 zombie m15 | TokenOwner$ You | TokenAmount$ 1 | TokenTapped$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +SVar:DBToken:DB$ Token | TokenScript$ b_2_2_zombie | LegacyImage$ b 2 2 zombie m15 | TokenOwner$ You | TokenAmount$ 1 | TokenTapped$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:Discarded$Valid Card.Zombie AI:RemoveDeck:Random AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/n/necromantic_summons.txt b/forge-gui/res/cardsfolder/n/necromantic_summons.txt index 8c49a224aa6..c49f7970700 100644 --- a/forge-gui/res/cardsfolder/n/necromantic_summons.txt +++ b/forge-gui/res/cardsfolder/n/necromantic_summons.txt @@ -2,7 +2,7 @@ Name:Necromantic Summons ManaCost:4 B Types:Sorcery A:SP$ ChangeZone | Cost$ 4 B | ValidTgts$ Creature | TgtPrompt$ Select target creature card in a graveyard | Origin$ Graveyard | Destination$ Battlefield | RememberTargets$ True | GainControl$ True | SubAbility$ DBCounter | SpellDescription$ Put target creature card from a graveyard onto the battlefield under your control. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, that creature enters the battlefield with two additional +1/+1 counters on it. -SVar:DBCounter:DB$ PutCounter | Defined$ Targeted | CounterType$ P1P1 | CounterNum$ 2 | Static$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X | SubAbility$ DBCleanup +SVar:DBCounter:DB$ PutCounter | Defined$ Targeted | CounterType$ P1P1 | CounterNum$ 2 | Static$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | SubAbility$ DBCleanup SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/necromantic_summons.jpg diff --git a/forge-gui/res/cardsfolder/n/necromentia.txt b/forge-gui/res/cardsfolder/n/necromentia.txt index 21f25978c61..b6b48ba6dec 100755 --- a/forge-gui/res/cardsfolder/n/necromentia.txt +++ b/forge-gui/res/cardsfolder/n/necromentia.txt @@ -3,10 +3,10 @@ ManaCost:1 B B Types:Sorcery A:SP$ NameCard | Cost$ 1 B B | Defined$ You | ValidCards$ Card.nonBasic | ValidDesc$ card other than a basic land | SubAbility$ ExileYard | StackDescription$ SpellDescription | SpellDescription$ Choose a card name other than a basic land card name. Search target opponent's graveyard, hand, and library for any number of cards with that name and exile them. That player shuffles their library, then creates a 2/2 black Zombie creature token for each card exiled from their hand this way. -SVar:ExileYard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Player.Opponent | TgtPrompt$ Select target opponent | ChangeType$ Card.NamedCard | Chooser$ You | ChangeNum$ NumInYard | References$ NumInYard | Hidden$ True | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInHand | References$ NumInHand | Chooser$ You | RememberChanged$ True | SubAbility$ ExileLib | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInLib | References$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBToken | StackDescription$ None -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ b_2_2_zombie | TokenOwner$ Targeted | SubAbility$ DBCleanup +SVar:ExileYard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Player.Opponent | TgtPrompt$ Select target opponent | ChangeType$ Card.NamedCard | Chooser$ You | ChangeNum$ NumInYard | Hidden$ True | SubAbility$ ExileHand | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInHand | Chooser$ You | RememberChanged$ True | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBToken | StackDescription$ None +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenOwner$ Targeted | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:NumInLib:TargetedPlayer$CardsInLibrary diff --git a/forge-gui/res/cardsfolder/n/necroplasm.txt b/forge-gui/res/cardsfolder/n/necroplasm.txt index 3aca5379b05..c3da0db09da 100644 --- a/forge-gui/res/cardsfolder/n/necroplasm.txt +++ b/forge-gui/res/cardsfolder/n/necroplasm.txt @@ -6,7 +6,7 @@ K:Dredge:2 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a +1/+1 counter on CARDNAME. T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDestroy | TriggerDescription$ At the beginning of your end step, destroy each creature with converted mana cost equal to the number of +1/+1 counters on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 -SVar:TrigDestroy:DB$ DestroyAll | ValidCards$ Creature.cmcEQX | References$ X +SVar:TrigDestroy:DB$ DestroyAll | ValidCards$ Creature.cmcEQX SVar:X:Count$CardCounters.P1P1 AI:RemoveDeck:Random DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/n/necropolis.txt b/forge-gui/res/cardsfolder/n/necropolis.txt index a65f8b1ccd0..42f444d0925 100644 --- a/forge-gui/res/cardsfolder/n/necropolis.txt +++ b/forge-gui/res/cardsfolder/n/necropolis.txt @@ -3,7 +3,7 @@ ManaCost:5 Types:Artifact Creature Wall PT:0/1 K:Defender -A:AB$ PutCounter | Cost$ ExileFromGrave<1/Creature> | CounterType$ P0P1 | CounterNum$ X | References$ X | AILogic$ ExiledCreatureFromGraveCMC | SpellDescription$ Put X +0/+1 counters on CARDNAME, where X is the exiled card's converted mana cost. +A:AB$ PutCounter | Cost$ ExileFromGrave<1/Creature> | CounterType$ P0P1 | CounterNum$ X | AILogic$ ExiledCreatureFromGraveCMC | SpellDescription$ Put X +0/+1 counters on CARDNAME, where X is the exiled card's converted mana cost. SVar:X:Exiled$CardManaCost SVar:AIPreference:ExileFromGraveCost$Creature.cmcGE1+inZoneGraveyard SVar:Picture:http://www.wizards.com/global/images/magic/general/necropolis.jpg diff --git a/forge-gui/res/cardsfolder/n/necropolis_fiend.txt b/forge-gui/res/cardsfolder/n/necropolis_fiend.txt index dfb66b41b62..7395957b69f 100644 --- a/forge-gui/res/cardsfolder/n/necropolis_fiend.txt +++ b/forge-gui/res/cardsfolder/n/necropolis_fiend.txt @@ -4,7 +4,7 @@ Types:Creature Demon PT:4/5 K:Delve K:Flying -A:AB$ Pump | Cost$ X T ExileFromGrave | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | References$ X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn. +A:AB$ Pump | Cost$ X T ExileFromGrave | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn. SVar:X:Count$xPaid DeckHints:Ability$Graveyard SVar:Picture:http://www.wizards.com/global/images/magic/general/necropolis_fiend.jpg diff --git a/forge-gui/res/cardsfolder/n/necropolis_regent.txt b/forge-gui/res/cardsfolder/n/necropolis_regent.txt index 2afbd0bfb82..14cebcc1fc4 100644 --- a/forge-gui/res/cardsfolder/n/necropolis_regent.txt +++ b/forge-gui/res/cardsfolder/n/necropolis_regent.txt @@ -4,7 +4,7 @@ Types:Creature Vampire PT:6/5 K:Flying T:Mode$ DamageDone | ValidSource$ Creature.YouCtrl | ValidTarget$ Player | TriggerZones$ Battlefield | CombatDamage$ True | Execute$ TrigPutCounter | TriggerDescription$ Whenever a creature you control deals combat damage to a player, put that many +1/+1 counters on it. -SVar:TrigPutCounter:DB$ PutCounter | Defined$ TriggeredSourceLKICopy | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | Defined$ TriggeredSourceLKICopy | CounterType$ P1P1 | CounterNum$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/necropolis_regent.jpg Oracle:Flying\nWhenever a creature you control deals combat damage to a player, put that many +1/+1 counters on it. diff --git a/forge-gui/res/cardsfolder/n/necropotence_avatar.txt b/forge-gui/res/cardsfolder/n/necropotence_avatar.txt index a0232b9992f..b16c50e257c 100644 --- a/forge-gui/res/cardsfolder/n/necropotence_avatar.txt +++ b/forge-gui/res/cardsfolder/n/necropotence_avatar.txt @@ -5,8 +5,8 @@ HandLifeModifier:+0/+4 S:Mode$ Continuous | Affected$ You | EffectZone$ Command | AddKeyword$ Skip your draw step. | Description$ Skip your draw step. T:Mode$ Phase | Phase$ End Of Turn | ValidPlayer$ You | TriggerZones$ Command | CheckSVar$ Turns | SVarCompare$ GT1 | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your end step, if it's not the first turn of the game, put a death counter on Necropotence Avatar. You draw X cards and you lose X life, where X is the number of death counters on Necropotence Avatar. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ DEATH | CounterNum$ 1 | SubAbility$ TrigDraw -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | SubAbility$ DBLoseLife | References$ X -SVar:DBLoseLife:DB$LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | SubAbility$ DBLoseLife +SVar:DBLoseLife:DB$LoseLife | Defined$ You | LifeAmount$ X SVar:X:Count$CardCounters.DEATH SVar:Turns:Count$TotalTurns SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Necropotence Avatar.full.jpg diff --git a/forge-gui/res/cardsfolder/n/necrotic_wound.txt b/forge-gui/res/cardsfolder/n/necrotic_wound.txt index 391feacc720..a52d028cb19 100644 --- a/forge-gui/res/cardsfolder/n/necrotic_wound.txt +++ b/forge-gui/res/cardsfolder/n/necrotic_wound.txt @@ -1,6 +1,6 @@ Name:Necrotic Wound ManaCost:B Types:Instant -A:SP$ Pump | Cost$ B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | References$ X | ReplaceDyingDefined$ Targeted | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of creature cards in your graveyard. If that creature would die this turn, exile it instead. +A:SP$ Pump | Cost$ B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | ReplaceDyingDefined$ Targeted | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of creature cards in your graveyard. If that creature would die this turn, exile it instead. SVar:X:Count$TypeInYourYard.Creature Oracle:Undergrowth — Target creature gets -X/-X until end of turn, where X is the number of creature cards in your graveyard. If that creature would die this turn, exile it instead. diff --git a/forge-gui/res/cardsfolder/n/needle_specter.txt b/forge-gui/res/cardsfolder/n/needle_specter.txt index 2f452af2a0e..09c658b4787 100644 --- a/forge-gui/res/cardsfolder/n/needle_specter.txt +++ b/forge-gui/res/cardsfolder/n/needle_specter.txt @@ -5,7 +5,7 @@ PT:1/1 K:Flying K:Wither T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDiscard | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player discards that many cards. -SVar:TrigDiscard:DB$ Discard | Defined$ TriggeredTarget | NumCards$ X | References$ X | Mode$ TgtChoose +SVar:TrigDiscard:DB$ Discard | Defined$ TriggeredTarget | NumCards$ X | Mode$ TgtChoose SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/needle_specter.jpg Oracle:Flying\nWither (This deals damage to creatures in the form of -1/-1 counters.)\nWhenever Needle Specter deals combat damage to a player, that player discards that many cards. diff --git a/forge-gui/res/cardsfolder/n/needlebite_trap.txt b/forge-gui/res/cardsfolder/n/needlebite_trap.txt index 38d091405b3..b695915b655 100644 --- a/forge-gui/res/cardsfolder/n/needlebite_trap.txt +++ b/forge-gui/res/cardsfolder/n/needlebite_trap.txt @@ -1,7 +1,7 @@ Name:Needlebite Trap ManaCost:5 B B Types:Instant Trap -SVar:AltCost:Cost$ B | CheckSVar$ OppLifeGained | References$ OppLifeGained | Description$ If an opponent gained life this turn, you may pay {B} rather than pay this spell's mana cost. +SVar:AltCost:Cost$ B | CheckSVar$ OppLifeGained | Description$ If an opponent gained life this turn, you may pay {B} rather than pay this spell's mana cost. SVar:OppLifeGained:PlayerCountOpponents$LifeGainedThisTurn A:SP$ LoseLife | Cost$ 5 B B | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ 5 | SubAbility$ DBGainLife | SpellDescription$ Target player loses 5 life and you gain 5 life. SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 5 diff --git a/forge-gui/res/cardsfolder/n/nefarious_lich.txt b/forge-gui/res/cardsfolder/n/nefarious_lich.txt index cc2f9fc5cfa..e44ff057a5a 100644 --- a/forge-gui/res/cardsfolder/n/nefarious_lich.txt +++ b/forge-gui/res/cardsfolder/n/nefarious_lich.txt @@ -2,14 +2,14 @@ Name:Nefarious Lich ManaCost:B B B B Types:Enchantment R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ You | ReplaceWith$ ExileCards | Description$ If damage would be dealt to you, exile that many cards from your graveyard instead. If you can't, you lose the game. -SVar:ExileCards:DB$ ChangeZone | Hidden$ True | Mandatory$ True | ChangeType$ Card | ChangeNum$ X | DefinedPlayer$ ReplacedTarget | Origin$ Graveyard | Destination$ Exile | References$ CheckYard,X | ConditionCheckSVar$ CheckYard | ConditionSVarCompare$ GEX | SubAbility$ DBLose | RememberChanged$ True -SVar:DBLose:DB$ LosesGame | Defined$ You | ConditionCheckSVar$ CheckExile | ConditionSVarCompare$ LTX | References$ CheckExile,X | SubAbility$ DBCleanup +SVar:ExileCards:DB$ ChangeZone | Hidden$ True | Mandatory$ True | ChangeType$ Card | ChangeNum$ X | DefinedPlayer$ ReplacedTarget | Origin$ Graveyard | Destination$ Exile | ConditionCheckSVar$ CheckYard | ConditionSVarCompare$ GEX | SubAbility$ DBLose | RememberChanged$ True +SVar:DBLose:DB$ LosesGame | Defined$ You | ConditionCheckSVar$ CheckExile | ConditionSVarCompare$ LTX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:CheckYard:Count$ValidGraveyard Card.YouOwn SVar:CheckExile:Count$ValidExile Card.IsRemembered SVar:X:ReplaceCount$DamageAmount R:Event$ GainLife | ActiveZones$ Battlefield | ValidPlayer$ You | AiLogic$ LichDraw | ReplaceWith$ Draw | Description$ If you would gain life, draw that many cards instead. -SVar:Draw:DB$ Draw | Defined$ You | NumCards$ Y | References$ Y +SVar:Draw:DB$ Draw | Defined$ You | NumCards$ Y SVar:Y:ReplaceCount$LifeGained T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | TriggerController$ TriggeredCardController | Execute$ TrigLose | TriggerDescription$ When CARDNAME leaves the battlefield, you lose the game. SVar:TrigLose:DB$ LosesGame | Defined$ You diff --git a/forge-gui/res/cardsfolder/n/neheb_dreadhorde_champion.txt b/forge-gui/res/cardsfolder/n/neheb_dreadhorde_champion.txt index e6e4ce3c6b6..71773fbb9de 100644 --- a/forge-gui/res/cardsfolder/n/neheb_dreadhorde_champion.txt +++ b/forge-gui/res/cardsfolder/n/neheb_dreadhorde_champion.txt @@ -5,8 +5,8 @@ PT:5/4 K:Trample T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player,Planeswalker | Execute$ TrigDiscard | CombatDamage$ True | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME deals combat damage to a player or planeswalker, you may discard any number of cards. If you do, draw that many cards and add that many {R}. Until end of turn, you don't lose this mana as steps and phases end. SVar:TrigDiscard:DB$ Discard | AnyNumber$True | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBMana -SVar:DBMana:DB$ Mana | Produced$ R | Amount$ X | References$ X | PersistentMana$ True | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBMana +SVar:DBMana:DB$ Mana | Produced$ R | Amount$ X | PersistentMana$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount Oracle:Trample\nWhenever Neheb, Dreadhorde Champion deals combat damage to a player or planeswalker, you may discard any number of cards. If you do, draw that many cards and add that much {R}. Until end of turn, you don't lose this mana as steps and phases end. diff --git a/forge-gui/res/cardsfolder/n/neheb_the_eternal.txt b/forge-gui/res/cardsfolder/n/neheb_the_eternal.txt index 54dbff82591..91a95daac15 100644 --- a/forge-gui/res/cardsfolder/n/neheb_the_eternal.txt +++ b/forge-gui/res/cardsfolder/n/neheb_the_eternal.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Zombie Minotaur Warrior PT:4/6 K:Afflict:3 T:Mode$ Phase | Phase$ Main2 | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigMana | TriggerDescription$ At the beginning of your postcombat main phase, add {R} for each 1 life your opponents have lost this turn. -SVar:TrigMana:DB$Mana | Produced$ R | Amount$ X | References$ X +SVar:TrigMana:DB$Mana | Produced$ R | Amount$ X SVar:X:Count$LifeOppsLostThisTurn SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/neheb_the_eternal.jpg diff --git a/forge-gui/res/cardsfolder/n/nemesis_of_mortals.txt b/forge-gui/res/cardsfolder/n/nemesis_of_mortals.txt index be2caeeca5e..7e3c9feadc4 100644 --- a/forge-gui/res/cardsfolder/n/nemesis_of_mortals.txt +++ b/forge-gui/res/cardsfolder/n/nemesis_of_mortals.txt @@ -2,7 +2,7 @@ Name:Nemesis of Mortals ManaCost:4 G G Types:Creature Snake PT:5/5 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature card in your graveyard. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature card in your graveyard. K:Monstrosity:5:7 G G:X SVar:X:Count$ValidGraveyard Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/nemesis_of_mortals.jpg diff --git a/forge-gui/res/cardsfolder/n/neoform.txt b/forge-gui/res/cardsfolder/n/neoform.txt index 9f313595051..e10f9bc45fa 100644 --- a/forge-gui/res/cardsfolder/n/neoform.txt +++ b/forge-gui/res/cardsfolder/n/neoform.txt @@ -1,7 +1,7 @@ Name:Neoform ManaCost:G U Types:Sorcery -A:SP$ ChangeZone | Cost$ G U Sac<1/Creature> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcEQX | ChangeNum$ 1 | References$ X | RememberChanged$ True | SubAbility$ DBCounter | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card with converted mana cost equal to 1 plus the sacrificed creature's converted mana cost, put that card onto the battlefield with an additional +1/+1 counter on it, then shuffle your library. +A:SP$ ChangeZone | Cost$ G U Sac<1/Creature> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcEQX | ChangeNum$ 1 | RememberChanged$ True | SubAbility$ DBCounter | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card with converted mana cost equal to 1 plus the sacrificed creature's converted mana cost, put that card onto the battlefield with an additional +1/+1 counter on it, then shuffle your library. SVar:DBCounter:DB$ PutCounter | Defined$ Remembered | CounterType$ P1P1 | CounterNum$ 1 | Static$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Sacrificed$CardManaCost/Plus.1 diff --git a/forge-gui/res/cardsfolder/n/nessian_game_warden.txt b/forge-gui/res/cardsfolder/n/nessian_game_warden.txt index 6f9d37575af..7d515e228e9 100644 --- a/forge-gui/res/cardsfolder/n/nessian_game_warden.txt +++ b/forge-gui/res/cardsfolder/n/nessian_game_warden.txt @@ -3,7 +3,7 @@ ManaCost:3 G G Types:Creature Beast PT:4/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDig | TriggerDescription$ When CARDNAME enters the battlefield, look at the top X cards of your library, where X is the number of forests you control. 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$ X | References$ X | ChangeNum$ 1 | Optional$ True | ChangeValid$ Creature +SVar:TrigDig:DB$ Dig | DigNum$ X | ChangeNum$ 1 | Optional$ True | ChangeValid$ Creature SVar:X:Count$Valid Forest.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/nessian_game_warden.jpg Oracle:When Nessian Game Warden enters the battlefield, look at the top X cards of your library, where X is the number of Forests you control. 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. diff --git a/forge-gui/res/cardsfolder/n/nest_of_scarabs.txt b/forge-gui/res/cardsfolder/n/nest_of_scarabs.txt index c7c821a18a5..609931464bb 100644 --- a/forge-gui/res/cardsfolder/n/nest_of_scarabs.txt +++ b/forge-gui/res/cardsfolder/n/nest_of_scarabs.txt @@ -2,7 +2,7 @@ Name:Nest of Scarabs ManaCost:2 B Types:Enchantment T:Mode$ CounterAddedOnce | ValidCard$ Creature | ValidSource$ You | CounterType$ M1M1 | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever you put one or more -1/-1 counters on a creature, create that many 1/1 black Insect creature tokens. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ b_1_1_insect | TokenOwner$ You | LegacyImage$ b 1 1 insect akh +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ b_1_1_insect | TokenOwner$ You | LegacyImage$ b 1 1 insect akh SVar:X:TriggerCount$Amount DeckHints:Ability$Counters DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/n/netherborn_altar.txt b/forge-gui/res/cardsfolder/n/netherborn_altar.txt index 7c054cafdda..52661c0aa2c 100755 --- a/forge-gui/res/cardsfolder/n/netherborn_altar.txt +++ b/forge-gui/res/cardsfolder/n/netherborn_altar.txt @@ -2,7 +2,7 @@ Name:Netherborn Altar ManaCost:1 B Types:Artifact A:AB$ ChangeZone | Cost$ T AddCounter<1/SOUL> | ChangeType$ Card.IsCommander+YouOwn | SelectPrompt$ Select a commander | ChangeNum$ 1 | Mandatory$ True | Origin$ Command | Destination$ Hand | Hidden$ True | SubAbility$ DBLoseLife | StackDescription$ SpellDescription | SpellDescription$ Put your commander into your hand from the command zone. Then you lose 3 life for each soul counter on CARDNAME. -SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X SVar:X:Count$CardCounters.SOUL/Times.3 DeckHas:Ability$Counters AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/n/netherborn_phalanx.txt b/forge-gui/res/cardsfolder/n/netherborn_phalanx.txt index 2aa517e40ec..2992c12cb48 100644 --- a/forge-gui/res/cardsfolder/n/netherborn_phalanx.txt +++ b/forge-gui/res/cardsfolder/n/netherborn_phalanx.txt @@ -5,7 +5,7 @@ PT:2/4 K:Transmute:1 B B T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEachOpp | TriggerDescription$ When CARDNAME enters the battlefield, each opponent loses 1 life for each creature they control. SVar:TrigEachOpp:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ TrigLoseLife -SVar:TrigLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:TrigLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Creature.RememberedPlayerCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/netherborn_phalanx.jpg diff --git a/forge-gui/res/cardsfolder/n/nethroi_apex_of_death.txt b/forge-gui/res/cardsfolder/n/nethroi_apex_of_death.txt index c74292dfddc..fac3d463ef7 100755 --- a/forge-gui/res/cardsfolder/n/nethroi_apex_of_death.txt +++ b/forge-gui/res/cardsfolder/n/nethroi_apex_of_death.txt @@ -6,6 +6,6 @@ K:Mutate:4 GW B B K:Deathtouch K:Lifelink T:Mode$ Mutates | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ Whenever this creature mutates, return any number of target creature cards with total power 10 or less from your graveyard to the battlefield. -SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | TargetMin$ 0 | TargetMax$ X | References$ X | ValidTgts$ Creature.YouOwn | MaxTotalTargetPower$ 10 | TgtPrompt$ Select any number of creature cards with total power 10 or less +SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | TargetMin$ 0 | TargetMax$ X | ValidTgts$ Creature.YouOwn | MaxTotalTargetPower$ 10 | TgtPrompt$ Select any number of creature cards with total power 10 or less SVar:X:Count$ValidGraveyard Creature.YouOwn Oracle:Mutate {4}{G/W}{B}{B} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.)\nDeathtouch, lifelink\nWhenever this creature mutates, return any number of target creature cards with total power 10 or less from your graveyard to the battlefield. diff --git a/forge-gui/res/cardsfolder/n/neurok_spy.txt b/forge-gui/res/cardsfolder/n/neurok_spy.txt index 208a6f6d6b7..3f34f232ef0 100644 --- a/forge-gui/res/cardsfolder/n/neurok_spy.txt +++ b/forge-gui/res/cardsfolder/n/neurok_spy.txt @@ -2,7 +2,7 @@ Name:Neurok Spy ManaCost:2 U Types:Creature Human Rogue PT:2/2 -S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ Unblockable | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Description$ CARDNAME can't be blocked as long as defending player controls an artifact. +S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ Unblockable | CheckSVar$ X | SVarCompare$ GE1 | Description$ CARDNAME can't be blocked as long as defending player controls an artifact. SVar:X:Count$Valid Artifact.DefenderCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/neurok_spy.jpg Oracle:Neurok Spy can't be blocked as long as defending player controls an artifact. diff --git a/forge-gui/res/cardsfolder/n/neverending_torment.txt b/forge-gui/res/cardsfolder/n/neverending_torment.txt index eda52ce178a..4aa06add504 100644 --- a/forge-gui/res/cardsfolder/n/neverending_torment.txt +++ b/forge-gui/res/cardsfolder/n/neverending_torment.txt @@ -2,7 +2,7 @@ Name:Neverending Torment ManaCost:4 B B Types:Sorcery K:Epic -A:SP$ ChangeZone | Cost$ 4 B B | Origin$ Library | Destination$ Exile | ValidTgts$ Player | ChangeType$ Card | ChangeNum$ X | References$ X | IsCurse$ True | SpellDescription$ Search target player's library for X cards, where X is the number of cards in your hand, and exile it. Then that player shuffles their library. +A:SP$ ChangeZone | Cost$ 4 B B | Origin$ Library | Destination$ Exile | ValidTgts$ Player | ChangeType$ Card | ChangeNum$ X | IsCurse$ True | SpellDescription$ Search target player's library for X cards, where X is the number of cards in your hand, and exile it. Then that player shuffles their library. SVar:X:Count$InYourHand AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/neverending_torment.jpg diff --git a/forge-gui/res/cardsfolder/n/nevinyrral_urborg_tyrant.txt b/forge-gui/res/cardsfolder/n/nevinyrral_urborg_tyrant.txt index 9bd70ccfae8..76fbff10e99 100755 --- a/forge-gui/res/cardsfolder/n/nevinyrral_urborg_tyrant.txt +++ b/forge-gui/res/cardsfolder/n/nevinyrral_urborg_tyrant.txt @@ -6,7 +6,7 @@ K:Hexproof:Card.Artifact:artifacts K:Hexproof:Card.Creature:creatures K:Hexproof:Card.Enchantment:enchantments T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a tapped 2/2 black Zombie creature token for each creature that died this turn. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ b_2_2_zombie | TokenTapped$ True | TokenOwner$ You +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenTapped$ True | TokenOwner$ You SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigPayCost | TriggerController$ TriggeredCardController | TriggerDescription$ When NICKNAME dies, you may pay {1}. When you do, destroy all artifacts, creatures, and enchantments. SVar:TrigPayCost:AB$ ImmediateTrigger | Cost$ 1 | Execute$ TrigDestroy | TriggerDescription$ When you do, destroy all artifacts, creatures, and enchantments. diff --git a/forge-gui/res/cardsfolder/n/new_frontiers.txt b/forge-gui/res/cardsfolder/n/new_frontiers.txt index bf6df9fb5d7..bfdb77c3297 100644 --- a/forge-gui/res/cardsfolder/n/new_frontiers.txt +++ b/forge-gui/res/cardsfolder/n/new_frontiers.txt @@ -1,7 +1,7 @@ Name:New Frontiers ManaCost:X G Types:Sorcery -A:SP$ ChangeZone | Optional$ True | Cost$ X G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | DefinedPlayer$ Player | ChangeNum$ X | Tapped$ True | References$ X | Shuffle$ True | SpellDescription$ Each player may search their library for up to X basic land cards and put them onto the battlefield tapped. Then each player who searched their library this way shuffles it. +A:SP$ ChangeZone | Optional$ True | Cost$ X G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | DefinedPlayer$ Player | ChangeNum$ X | Tapped$ True | Shuffle$ True | SpellDescription$ Each player may search their library for up to X basic land cards and put them onto the battlefield tapped. Then each player who searched their library this way shuffles it. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/new_frontiers.jpg diff --git a/forge-gui/res/cardsfolder/n/neyith_of_the_dire_hunt.txt b/forge-gui/res/cardsfolder/n/neyith_of_the_dire_hunt.txt index 48f0ee04f95..d7107082d80 100644 --- a/forge-gui/res/cardsfolder/n/neyith_of_the_dire_hunt.txt +++ b/forge-gui/res/cardsfolder/n/neyith_of_the_dire_hunt.txt @@ -6,6 +6,6 @@ T:Mode$ FightOnce | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Ex T:Mode$ AttackerBlockedOnce | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDraw | Secondary$ True | TriggerDescription$ Whenever one or more creatures you control fight or become blocked, draw a card. SVar:TrigDraw:DB$ Draw | NumCards$ 1 T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigPump | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, you may pay {2}{R/G}. If you do, double target creature's power until end of turn. That creature must be blocked this combat if able. -SVar:TrigPump:AB$ Pump | Cost$ 2 RG | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X | KW$ HIDDEN CARDNAME must be blocked if able. +SVar:TrigPump:AB$ Pump | Cost$ 2 RG | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | KW$ HIDDEN CARDNAME must be blocked if able. SVar:X:Targeted$CardPower Oracle:Whenever one or more creatures you control fight or become blocked, draw a card.\nAt the beginning of combat on your turn, you may pay {2}{R/G}. If you do, double target creature's power until end of turn. That creature must be blocked this combat if able. ({R/G} can be paid with either {R} or {G}.) diff --git a/forge-gui/res/cardsfolder/n/nezumi_graverobber_nighteyes_the_desecrator.txt b/forge-gui/res/cardsfolder/n/nezumi_graverobber_nighteyes_the_desecrator.txt index e38fd709a5c..5ef3a0cb5a9 100644 --- a/forge-gui/res/cardsfolder/n/nezumi_graverobber_nighteyes_the_desecrator.txt +++ b/forge-gui/res/cardsfolder/n/nezumi_graverobber_nighteyes_the_desecrator.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Creature Rat Rogue PT:2/1 A:AB$ ChangeZone | Cost$ 1 B | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Card.OppOwn | SubAbility$ DBFlip | SpellDescription$ Exile target card from an opponent's graveyard. If no cards are in that graveyard, flip CARDNAME. -SVar:DBFlip:DB$SetState | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | Mode$ Flip +SVar:DBFlip:DB$SetState | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | Mode$ Flip SVar:X:Count$InOppYard AlternateMode:Flip SVar:Picture:http://www.wizards.com/global/images/magic/general/nezumi_graverobber.jpg diff --git a/forge-gui/res/cardsfolder/n/nezumi_shortfang_stabwhisker_the_odious.txt b/forge-gui/res/cardsfolder/n/nezumi_shortfang_stabwhisker_the_odious.txt index 2042fec4e6e..2cb4c833ceb 100644 --- a/forge-gui/res/cardsfolder/n/nezumi_shortfang_stabwhisker_the_odious.txt +++ b/forge-gui/res/cardsfolder/n/nezumi_shortfang_stabwhisker_the_odious.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Creature Rat Rogue PT:1/1 A:AB$ Discard | Cost$ 1 B T | ValidTgts$ Opponent | NumCards$ 1 | Mode$ TgtChoose | SubAbility$ DBFlip | SpellDescription$ Target opponent discards a card. Then if that player has no cards in hand, flip Nezumi Shortfang. -SVar:DBFlip:DB$ SetState | Defined$ Self | ConditionCheckSVar$ A | ConditionSVarCompare$ EQ0 | References$ A | Mode$ Flip +SVar:DBFlip:DB$ SetState | Defined$ Self | ConditionCheckSVar$ A | ConditionSVarCompare$ EQ0 | Mode$ Flip SVar:A:TargetedPlayer$CardsInHand SVar:Picture:http://www.wizards.com/global/images/magic/general/nezumi_shortfang.jpg AlternateMode:Flip @@ -17,7 +17,7 @@ Colors:black Types:Legendary Creature Rat Shaman PT:3/3 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ At the beginning of each opponent's upkeep, that player loses 1 life for each card fewer than three in their hand. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredPlayer | LifeAmount$ DiffX | References$ DiffX +SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredPlayer | LifeAmount$ DiffX SVar:DiffX:TriggeredPlayer$CardsInHand/NMinus.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/stabwhisker_the_odious.jpg Oracle:At the beginning of each opponent's upkeep, that player loses 1 life for each card fewer than three in their hand. diff --git a/forge-gui/res/cardsfolder/n/niambi_esteemed_speaker.txt b/forge-gui/res/cardsfolder/n/niambi_esteemed_speaker.txt index 93db0ed7422..aa4dfdad914 100755 --- a/forge-gui/res/cardsfolder/n/niambi_esteemed_speaker.txt +++ b/forge-gui/res/cardsfolder/n/niambi_esteemed_speaker.txt @@ -5,7 +5,7 @@ PT:2/1 K:Flash T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may return another target creature you control to its owner's hand. If you do, you gain life equal to that creature's converted mana cost. SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Battlefield | Destination$ Hand | ValidTgts$ Creature.Other+YouCtrl | TgtPrompt$ Select another creature you control | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Targeted$CardManaCost DeckHas:Ability$LifeGain A:AB$ Draw | Cost$ 1 W U T Discard<1/Card.Legendary/legendary> | NumCards$ 2 | SpellDescription$ Draw two cards. diff --git a/forge-gui/res/cardsfolder/n/nicol_bolas_the_ravager_nicol_bolas_the_arisen.txt b/forge-gui/res/cardsfolder/n/nicol_bolas_the_ravager_nicol_bolas_the_arisen.txt index bb070ae36ed..9d4efd913a0 100644 --- a/forge-gui/res/cardsfolder/n/nicol_bolas_the_ravager_nicol_bolas_the_arisen.txt +++ b/forge-gui/res/cardsfolder/n/nicol_bolas_the_ravager_nicol_bolas_the_arisen.txt @@ -21,6 +21,6 @@ Loyalty:7 A:AB$ Draw | Cost$ AddCounter<2/LOYALTY> | NumCards$ 2 | Planeswalker$ True | SpellDescription$ Draw two cards. A:AB$ DealDamage | Cost$ SubCounter<3/LOYALTY> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target | Planeswalker$ True | NumDmg$ 10 | SpellDescription$ CARDNAME deals 10 damage to target creature or planeswalker. A:AB$ ChangeZone | Cost$ SubCounter<4/LOYALTY> | Origin$ Graveyard | Destination$ Battlefield | Planeswalker$ True | GainControl$ True | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Choose target creature or planeswalker card in a graveyard | SpellDescription$ Put target creature or planeswalker card from a graveyard onto the battlefield under your control. -A:AB$ Dig | Cost$ SubCounter<12/LOYALTY> | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | ValidTgts$ Player | TgtPrompt$ Choose a player | Planeswalker$ True | Ultimate$ True | References$ X | SpellDescription$ Exile all but the bottom card of target player's library. +A:AB$ Dig | Cost$ SubCounter<12/LOYALTY> | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | ValidTgts$ Player | TgtPrompt$ Choose a player | Planeswalker$ True | Ultimate$ True | SpellDescription$ Exile all but the bottom card of target player's library. SVar:X:Count$InTargetedLibrary.Card/Minus.1 Oracle:[+2]: Draw two cards.\n[−3]: Nicol Bolas, the Arisen deals 10 damage to target creature or planeswalker.\n[−4]: Put target creature or planeswalker card from a graveyard onto the battlefield under your control.\n[−12]: Exile all but the bottom card of target player's library. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/n/night_dealings.txt b/forge-gui/res/cardsfolder/n/night_dealings.txt index b9d364f888d..86751dcd9e0 100644 --- a/forge-gui/res/cardsfolder/n/night_dealings.txt +++ b/forge-gui/res/cardsfolder/n/night_dealings.txt @@ -2,8 +2,8 @@ Name:Night Dealings ManaCost:2 B B Types:Enchantment T:Mode$ DamageDone | ValidSource$ Card.YouCtrl,Emblem.YouCtrl | ValidTarget$ Player.Other | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a source you control deals damage to another player, put that many theft counters on CARDNAME. -SVar:TrigPutCounter:DB$ PutCounter | CounterType$ THEFT | CounterNum$ Y | References$ Y -A:AB$ ChangeZone | Cost$ 2 B B SubCounter | Origin$ Library | Destination$ Hand | ChangeType$ Card.nonLand+YouCtrl+cmcEQX | ChangeNum$ 1 | Reveal$ True | Shuffle$ True | References$ X | SpellDescription$ Search your library for a nonland card with converted mana cost X, reveal it, and put it into your hand. Then shuffle your library. +SVar:TrigPutCounter:DB$ PutCounter | CounterType$ THEFT | CounterNum$ Y +A:AB$ ChangeZone | Cost$ 2 B B SubCounter | Origin$ Library | Destination$ Hand | ChangeType$ Card.nonLand+YouCtrl+cmcEQX | ChangeNum$ 1 | Reveal$ True | Shuffle$ True | SpellDescription$ Search your library for a nonland card with converted mana cost X, reveal it, and put it into your hand. Then shuffle your library. SVar:X:Count$xPaid SVar:Y:TriggerCount$DamageAmount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/n/night_revelers.txt b/forge-gui/res/cardsfolder/n/night_revelers.txt index 22650414f4c..73c2dc1ec19 100644 --- a/forge-gui/res/cardsfolder/n/night_revelers.txt +++ b/forge-gui/res/cardsfolder/n/night_revelers.txt @@ -2,7 +2,7 @@ Name:Night Revelers ManaCost:4 R Types:Creature Vampire PT:4/4 -S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Haste | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Description$ CARDNAME has haste as long as an opponent controls a human. +S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Haste | CheckSVar$ X | SVarCompare$ GE1 | Description$ CARDNAME has haste as long as an opponent controls a human. SVar:X:Count$Valid Human.OppCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/night_revelers.jpg Oracle:Night Revelers has haste as long as an opponent controls a Human. diff --git a/forge-gui/res/cardsfolder/n/nighthawk_scavenger.txt b/forge-gui/res/cardsfolder/n/nighthawk_scavenger.txt index 3355a6f2005..bd9c52dcd02 100644 --- a/forge-gui/res/cardsfolder/n/nighthawk_scavenger.txt +++ b/forge-gui/res/cardsfolder/n/nighthawk_scavenger.txt @@ -5,6 +5,6 @@ PT:1+*/3 K:Flying K:Deathtouch K:Lifelink -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | References$ X | Description$ CARDNAME's power is equal to 1 plus the number of card types among cards in your opponents' graveyards. (Cards in graveyards have only the characteristics of their front face.) +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | Description$ CARDNAME's power is equal to 1 plus the number of card types among cards in your opponents' graveyards. (Cards in graveyards have only the characteristics of their front face.) SVar:X:Count$OppTypesInGrave/Plus.1 Oracle:Flying, deathtouch, lifelink\nNighthawk Scavenger's power is equal to 1 plus the number of card types among cards in your opponents' graveyards. (Cards in graveyards have only the characteristics of their front face.) diff --git a/forge-gui/res/cardsfolder/n/nighthowler.txt b/forge-gui/res/cardsfolder/n/nighthowler.txt index 6ef11d8461f..557a6ee1e29 100644 --- a/forge-gui/res/cardsfolder/n/nighthowler.txt +++ b/forge-gui/res/cardsfolder/n/nighthowler.txt @@ -3,7 +3,7 @@ ManaCost:1 B B Types:Enchantment Creature Horror PT:0/0 K:Bestow:2 B B -S:Mode$ Continuous | Affected$ Card.Self,Card.EnchantedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME and enchanted creature each get +X/+X, where X is the number of creature cards in all graveyards. +S:Mode$ Continuous | Affected$ Card.Self,Card.EnchantedBy | AddPower$ X | AddToughness$ X | Description$ CARDNAME and enchanted creature each get +X/+X, where X is the number of creature cards in all graveyards. SVar:X:Count$TypeInAllYards.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/nighthowler.jpg Oracle:Bestow {2}{B}{B} (If you cast this card for its bestow cost, it's an Aura spell with enchant creature. It becomes a creature again if it's not attached to a creature.)\nNighthowler and enchanted creature each get +X/+X, where X is the number of creature cards in all graveyards. diff --git a/forge-gui/res/cardsfolder/n/nightmare.txt b/forge-gui/res/cardsfolder/n/nightmare.txt index e163ae18db3..b34131f5e55 100644 --- a/forge-gui/res/cardsfolder/n/nightmare.txt +++ b/forge-gui/res/cardsfolder/n/nightmare.txt @@ -3,7 +3,7 @@ ManaCost:5 B Types:Creature Nightmare Horse PT:*/* K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Swamps you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Swamps you control. SVar:X:Count$Valid Swamp.YouCtrl SVar:BuffedBy:Swamp SVar:NeedsToPlayVar:X GE4 diff --git a/forge-gui/res/cardsfolder/n/nightmare_incursion.txt b/forge-gui/res/cardsfolder/n/nightmare_incursion.txt index 7673f622931..e57058677b2 100644 --- a/forge-gui/res/cardsfolder/n/nightmare_incursion.txt +++ b/forge-gui/res/cardsfolder/n/nightmare_incursion.txt @@ -1,7 +1,7 @@ Name:Nightmare Incursion ManaCost:5 B Types:Sorcery -A:SP$ ChangeZone | Cost$ 5 B | Origin$ Library | Destination$ Exile | ValidTgts$ Player | ChangeType$ Card | ChangeNum$ X | References$ X | IsCurse$ True | Shuffle$ True | SpellDescription$ Search target player's library for up to X cards, where X is the number of Swamps you control, and exile them. Then that player shuffles their library. +A:SP$ ChangeZone | Cost$ 5 B | Origin$ Library | Destination$ Exile | ValidTgts$ Player | ChangeType$ Card | ChangeNum$ X | IsCurse$ True | Shuffle$ True | SpellDescription$ Search target player's library for up to X cards, where X is the number of Swamps you control, and exile them. Then that player shuffles their library. SVar:X:Count$Valid Swamp.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/nightmare_incursion.jpg Oracle:Search target player's library for up to X cards, where X is the number of Swamps you control, and exile them. Then that player shuffles their library. diff --git a/forge-gui/res/cardsfolder/n/nightmare_lash.txt b/forge-gui/res/cardsfolder/n/nightmare_lash.txt index 42c2442d8d6..f8f0f4e5de6 100644 --- a/forge-gui/res/cardsfolder/n/nightmare_lash.txt +++ b/forge-gui/res/cardsfolder/n/nightmare_lash.txt @@ -2,7 +2,7 @@ Name:Nightmare Lash ManaCost:4 Types:Artifact Equipment K:Equip:PayLife<3> -S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ Equipped creature gets +1/+1 for each Swamp you control. +S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ X | Description$ Equipped creature gets +1/+1 for each Swamp you control. SVar:X:Count$Valid Swamp.YouCtrl SVar:BuffedBy:Swamp AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/n/nightmare_shepherd.txt b/forge-gui/res/cardsfolder/n/nightmare_shepherd.txt index 093d677807a..f320316b2ab 100644 --- a/forge-gui/res/cardsfolder/n/nightmare_shepherd.txt +++ b/forge-gui/res/cardsfolder/n/nightmare_shepherd.txt @@ -5,7 +5,7 @@ PT:4/4 K:Flying T:Mode$ ChangesZone | ValidCard$ Creature.nonToken+Other+YouCtrl | Origin$ Battlefield | Destination$ Graveyard | TriggerZones$ Battlefield | Execute$ TrigExile | OptionalDecider$ You | TriggerDescription$ Whenever another nontoken creature you control dies, you may exile it. If you do, create a token that's a copy of that creature, except it's 1/1 and it's Nightmare in addition to its other types. SVar:TrigExile:DB$ ChangeZone | Defined$ TriggeredNewCardLKICopy | Origin$ Graveyard | Destination$ Exile | RememberChanged$ True | SubAbility$ DBCopy -SVar:DBCopy:DB$ CopyPermanent | Defined$ TriggeredCardLKICopy | SetPower$ 1 | SetToughness$ 1 | AddTypes$ Nightmare | ConditionDefined$ TriggeredNewCardLKICopy | ConditionPresent$ Card | ConditionCompare$ EQExiledCount | References$ ExiledCount | SubAbility$ DBCleanup +SVar:DBCopy:DB$ CopyPermanent | Defined$ TriggeredCardLKICopy | SetPower$ 1 | SetToughness$ 1 | AddTypes$ Nightmare | ConditionDefined$ TriggeredNewCardLKICopy | ConditionPresent$ Card | ConditionCompare$ EQExiledCount | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:ExiledCount:Count$RememberedSize DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/n/nightmare_unmaking.txt b/forge-gui/res/cardsfolder/n/nightmare_unmaking.txt index d0a3d61850f..eadd11ba74c 100644 --- a/forge-gui/res/cardsfolder/n/nightmare_unmaking.txt +++ b/forge-gui/res/cardsfolder/n/nightmare_unmaking.txt @@ -2,8 +2,8 @@ Name:Nightmare Unmaking ManaCost:3 B B Types:Sorcery A:SP$ Charm | Cost$ 3 B B | Choices$ Exile1,Exile2 -SVar:Exile1:DB$ ChangeZoneAll | ChangeType$ Creature.powerGTX | References$ X | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile each creature with power greater than the number of cards in your hand. -SVar:Exile2:DB$ ChangeZoneAll | ChangeType$ Creature.powerLTX | References$ X | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile each creature with power less than the number of cards in your hand. +SVar:Exile1:DB$ ChangeZoneAll | ChangeType$ Creature.powerGTX | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile each creature with power greater than the number of cards in your hand. +SVar:Exile2:DB$ ChangeZoneAll | ChangeType$ Creature.powerLTX | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile each creature with power less than the number of cards in your hand. SVar:X:Count$InYourHand AI:RemoveDeck:All Oracle:Choose one —\n• Exile each creature with power greater than the number of cards in your hand.\n• Exile each creature with power less than the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/n/nightmares_thirst.txt b/forge-gui/res/cardsfolder/n/nightmares_thirst.txt index c8a46e12d6f..e5ce9926d60 100644 --- a/forge-gui/res/cardsfolder/n/nightmares_thirst.txt +++ b/forge-gui/res/cardsfolder/n/nightmares_thirst.txt @@ -2,7 +2,7 @@ Name:Nightmare's Thirst ManaCost:B Types:Instant A:SP$ GainLife | Cost$ B | LifeAmount$ 1 | SubAbility$ DBLifeCurse | SpellDescription$ You gain 1 life. Target creature gets -X/-X until end of turn, where X is the amount of life you gained this turn. -SVar:DBLifeCurse:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | References$ X | NumAtt$ -X | NumDef$ -X | IsCurse$ True +SVar:DBLifeCurse:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True SVar:X:Count$LifeYouGainedThisTurn DeckHas:Ability$LifeGain Oracle:You gain 1 life. Target creature gets -X/-X until end of turn, where X is the amount of life you gained this turn. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/n/nightmarish_end.txt b/forge-gui/res/cardsfolder/n/nightmarish_end.txt index 17645f361e3..ff55ac154bd 100644 --- a/forge-gui/res/cardsfolder/n/nightmarish_end.txt +++ b/forge-gui/res/cardsfolder/n/nightmarish_end.txt @@ -1,7 +1,7 @@ Name:Nightmarish End ManaCost:2 B Types:Instant -A:SP$ Pump | Cost$ 2 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | References$ X | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of cards in your hand. +A:SP$ Pump | Cost$ 2 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of cards in your hand. SVar:X:Count$InYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/nightmarish_end.jpg Oracle:Target creature gets -X/-X until end of turn, where X is the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/n/nightpack_ambusher.txt b/forge-gui/res/cardsfolder/n/nightpack_ambusher.txt index c775cc7ee5a..661663a1a27 100644 --- a/forge-gui/res/cardsfolder/n/nightpack_ambusher.txt +++ b/forge-gui/res/cardsfolder/n/nightpack_ambusher.txt @@ -5,7 +5,7 @@ PT:4/4 K:Flash S:Mode$ Continuous | Affected$ Wolf.Other+YouCtrl,Werewolf.Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other Wolves and Werewolves you control get +1/+1. SVar:PlayMain1:TRUE -T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ EQ0 | References$ X | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your end step, if you didn't cast a spell this turn, create a 2/2 green Wolf creature token. +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ EQ0 | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your end step, if you didn't cast a spell this turn, create a 2/2 green Wolf creature token. SVar:TrigToken:DB$ Token | TokenOwner$ You | TokenScript$ g_2_2_wolf | LegacyImage$ g 2 2 wolf m20 | TokenAmount$ 1 SVar:X:Count$ThisTurnCast_Card.YouCtrl DeckHints:Type$Wolf & Type$Werewolf diff --git a/forge-gui/res/cardsfolder/n/nightshade_assassin.txt b/forge-gui/res/cardsfolder/n/nightshade_assassin.txt index e4d5818ea3e..934005aca29 100644 --- a/forge-gui/res/cardsfolder/n/nightshade_assassin.txt +++ b/forge-gui/res/cardsfolder/n/nightshade_assassin.txt @@ -6,7 +6,7 @@ K:First Strike K:Madness:1 B T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigReveal | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may reveal X black cards in your hand. If you do, target creature gets -X/-X until end of turn. SVar:TrigReveal:DB$ Reveal | Defined$ You | RevealValid$ Card.Black | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBPump -SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | IsCurse$ True | SubAbility$ DBNightshadeCleanup | References$ X +SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | IsCurse$ True | SubAbility$ DBNightshadeCleanup SVar:DBNightshadeCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount.Negative AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/n/nightshade_seer.txt b/forge-gui/res/cardsfolder/n/nightshade_seer.txt index 65879632883..a9f72a880e3 100644 --- a/forge-gui/res/cardsfolder/n/nightshade_seer.txt +++ b/forge-gui/res/cardsfolder/n/nightshade_seer.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Creature Human Wizard PT:1/1 A:AB$ Reveal | Cost$ 2 B T | Defined$ You | RevealValid$ Card.Black | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBNightshadePump | SpellDescription$ Reveal any number of black cards in your hand. Target creature gets -X/-X until end of turn, where X is the number of cards revealed this way. -SVar:DBNightshadePump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ NightshadeX | NumDef$ NightshadeX | IsCurse$ True | SubAbility$ DBNightshadeCleanup | References$ NightshadeX +SVar:DBNightshadePump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ NightshadeX | NumDef$ NightshadeX | IsCurse$ True | SubAbility$ DBNightshadeCleanup SVar:DBNightshadeCleanup:DB$ Cleanup | ClearRemembered$ True SVar:NightshadeX:Remembered$Amount.Negative AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/n/nightstalker_engine.txt b/forge-gui/res/cardsfolder/n/nightstalker_engine.txt index 257302c3d85..aa8c8ee191b 100644 --- a/forge-gui/res/cardsfolder/n/nightstalker_engine.txt +++ b/forge-gui/res/cardsfolder/n/nightstalker_engine.txt @@ -2,7 +2,7 @@ Name:Nightstalker Engine ManaCost:4 B Types:Creature Nightstalker PT:*/3 -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | References$ X | Description$ CARDNAME's power is equal to the number of creature cards in your graveyard. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | Description$ CARDNAME's power is equal to the number of creature cards in your graveyard. SVar:X:Count$TypeInYourYard.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/nightstalker_engine.jpg Oracle:Nightstalker Engine's power is equal to the number of creature cards in your graveyard. diff --git a/forge-gui/res/cardsfolder/n/nikara_lair_scavenger.txt b/forge-gui/res/cardsfolder/n/nikara_lair_scavenger.txt index 9d09e697033..c869fd8677c 100755 --- a/forge-gui/res/cardsfolder/n/nikara_lair_scavenger.txt +++ b/forge-gui/res/cardsfolder/n/nikara_lair_scavenger.txt @@ -5,7 +5,7 @@ PT:2/2 K:Partner:Yannik, Scavenging Sentinel:Yannik K:Menace T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Creature.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Whenever another creature you control leaves the battlefield, if it had one or more counters on it, you draw a card and you lose 1 life. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBLoseLife -SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 1 | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE1 +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBLoseLife +SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:TriggeredCard$CardCounters.ALL Oracle:Partner with Yannik, Scavenging Sentinel (When this creature enters the battlefield, target player may put Yannik into their hand from their library, then shuffle.)\nMenace\nWhenever another creature you control leaves the battlefield, if it had one or more counters on it, you draw a card and you lose 1 life. diff --git a/forge-gui/res/cardsfolder/n/niko_aris.txt b/forge-gui/res/cardsfolder/n/niko_aris.txt index a2fd54ce075..f09cd07136e 100644 --- a/forge-gui/res/cardsfolder/n/niko_aris.txt +++ b/forge-gui/res/cardsfolder/n/niko_aris.txt @@ -9,7 +9,7 @@ A:AB$ Effect | Cost$ AddCounter<1/LOYALTY> | Name$ Niko Aris Effect | Planeswalk SVar:DBPump:DB$ Pump | KW$ HIDDEN Unblockable | Defined$ Targeted SVar:Trig:Mode$ DamageDealtOnce | ValidSource$ Creature.IsRemembered | Execute$ Eff | TriggerDescription$ Whenever this creature deals damage this turn, return it to its owner's hand. SVar:Eff:DB$ ChangeZone | ValidTgts$ Creature.IsRemembered | Origin$ Battlefield | Destination$ Hand -A:AB$ DealDamage | Cost$ SubCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature.tapped | NumDmg$ Y | References$ Y | TgtPrompt$ Select target tapped creature | SpellDescription$ CARDNAME deals 2 damage to target tapped creature for each card you've drawn this turn. +A:AB$ DealDamage | Cost$ SubCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature.tapped | NumDmg$ Y | TgtPrompt$ Select target tapped creature | SpellDescription$ CARDNAME deals 2 damage to target tapped creature for each card you've drawn this turn. SVar:Y:Count$YouDrewThisTurn/Twice A:AB$ Token | Cost$ SubCounter<1/LOYALTY> | Planeswalker$ True | TokenAmount$ 1 | TokenScript$ shard | TokenOwner$ You | SpellDescription$ Create a Shard token. DeckHas:Ability$Token & Ability$Sacrifice diff --git a/forge-gui/res/cardsfolder/n/niko_defies_destiny.txt b/forge-gui/res/cardsfolder/n/niko_defies_destiny.txt index 49ab426f6b7..92d58364c16 100644 --- a/forge-gui/res/cardsfolder/n/niko_defies_destiny.txt +++ b/forge-gui/res/cardsfolder/n/niko_defies_destiny.txt @@ -2,7 +2,7 @@ Name:Niko Defies Destiny ManaCost:1 W U Types:Enchantment Saga K:Saga:3:DBGainLife,DBMana,DBChangeZone -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X | SpellDescription$ You gain 2 life for each foretold card you own in exile. +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | SpellDescription$ You gain 2 life for each foretold card you own in exile. SVar:X:Count$ValidExile Card.foretold+YouOwn/Times.2 SVar:DBMana:DB$ Mana | Produced$ W U | RestrictValid$ Static.Foretelling,Card.withForetell | SpellDescription$ Add {W}{U}. Spend this mana only to foretell cards or cast spells that have foretell. SVar:DBChangeZone:DB$ChangeZone | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Card.YouOwn+withForetell | SpellDescription$ Return target card with foretell from your graveyard to your hand. diff --git a/forge-gui/res/cardsfolder/n/nim_devourer.txt b/forge-gui/res/cardsfolder/n/nim_devourer.txt index 87149ef8a09..6bd2c91a990 100644 --- a/forge-gui/res/cardsfolder/n/nim_devourer.txt +++ b/forge-gui/res/cardsfolder/n/nim_devourer.txt @@ -2,7 +2,7 @@ Name:Nim Devourer ManaCost:3 B B Types:Creature Zombie PT:4/1 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | References$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. SVar:X:Count$Valid Artifact.YouCtrl A:AB$ ChangeZone | Cost$ B B | Origin$ Graveyard | Destination$ Battlefield | ActivationZone$ Graveyard | PlayerTurn$ True | ActivationPhases$ Upkeep | SubAbility$ DBSac | SpellDescription$ Return CARDNAME from your graveyard to the battlefield, then sacrifice a creature. Activate this ability only during your upkeep. SVar:DBSac:DB$ Sacrifice | Defined$ You | SacValid$ Creature diff --git a/forge-gui/res/cardsfolder/n/nim_grotesque.txt b/forge-gui/res/cardsfolder/n/nim_grotesque.txt index 3cc376b2746..5c214cb8be4 100644 --- a/forge-gui/res/cardsfolder/n/nim_grotesque.txt +++ b/forge-gui/res/cardsfolder/n/nim_grotesque.txt @@ -2,7 +2,7 @@ Name:Nim Grotesque ManaCost:6 B Types:Creature Zombie PT:3/6 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | References$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. SVar:X:Count$Valid Artifact.YouCtrl SVar:BuffedBy:Artifact AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/n/nim_lasher.txt b/forge-gui/res/cardsfolder/n/nim_lasher.txt index f30c8b2a0cc..498fd74f29b 100644 --- a/forge-gui/res/cardsfolder/n/nim_lasher.txt +++ b/forge-gui/res/cardsfolder/n/nim_lasher.txt @@ -2,7 +2,7 @@ Name:Nim Lasher ManaCost:2 B Types:Creature Zombie PT:1/1 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | References$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. SVar:X:Count$Valid Artifact.YouCtrl SVar:BuffedBy:Artifact AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/n/nim_shambler.txt b/forge-gui/res/cardsfolder/n/nim_shambler.txt index bf34a3798e8..8ac49997d44 100644 --- a/forge-gui/res/cardsfolder/n/nim_shambler.txt +++ b/forge-gui/res/cardsfolder/n/nim_shambler.txt @@ -2,7 +2,7 @@ Name:Nim Shambler ManaCost:2 B B Types:Creature Zombie PT:2/1 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | References$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. A:AB$ Regenerate | Cost$ Sac<1/Creature> | SpellDescription$ Regenerate CARDNAME. SVar:X:Count$Valid Artifact.YouCtrl SVar:BuffedBy:Artifact diff --git a/forge-gui/res/cardsfolder/n/nim_shrieker.txt b/forge-gui/res/cardsfolder/n/nim_shrieker.txt index dbcd36e6076..b150185f267 100644 --- a/forge-gui/res/cardsfolder/n/nim_shrieker.txt +++ b/forge-gui/res/cardsfolder/n/nim_shrieker.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Creature Zombie PT:0/1 K:Flying -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | References$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | Description$ CARDNAME gets +1/+0 for each artifact you control. SVar:X:Count$Valid Artifact.YouCtrl SVar:NeedsToPlayVar:X GE2 AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/n/nimana_skitter_sneak.txt b/forge-gui/res/cardsfolder/n/nimana_skitter_sneak.txt index e86b9397742..b92f6f681ec 100755 --- a/forge-gui/res/cardsfolder/n/nimana_skitter_sneak.txt +++ b/forge-gui/res/cardsfolder/n/nimana_skitter_sneak.txt @@ -2,6 +2,6 @@ Name:Nimana Skitter-Sneak ManaCost:3 B Types:Creature Human Rogue PT:3/4 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddKeyword$ Menace | CheckSVar$ X | SVarCompare$ GE8 | References$ X | Description$ As long as an opponent has eight or more cards in their graveyard, CARDNAME gets +1/+0 and has menace. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddKeyword$ Menace | CheckSVar$ X | SVarCompare$ GE8 | Description$ As long as an opponent has eight or more cards in their graveyard, CARDNAME gets +1/+0 and has menace. SVar:X:PlayerCountOpponents$HighestCardsInGraveyard Oracle:As long as an opponent has eight or more cards in their graveyard, Nimana Skitter-Sneak gets +1/+0 and has menace. (It can't be blocked except by two or more creatures.) diff --git a/forge-gui/res/cardsfolder/n/nimble_trapfinder.txt b/forge-gui/res/cardsfolder/n/nimble_trapfinder.txt index f26269b9d70..8772ca561e0 100644 --- a/forge-gui/res/cardsfolder/n/nimble_trapfinder.txt +++ b/forge-gui/res/cardsfolder/n/nimble_trapfinder.txt @@ -2,9 +2,9 @@ Name:Nimble Trapfinder ManaCost:1 U Types:Creature Human Rogue PT:2/1 -S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ Unblockable | CheckSVar$ JoinedParty | SVarCompare$ GE1 | References$ JoinedParty | Description$ CARDNAME can't be blocked if you had another Cleric, Rogue, Warrior, or Wizard enter the battlefield under your control this turn. +S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ Unblockable | CheckSVar$ JoinedParty | SVarCompare$ GE1oinedParty | Description$ CARDNAME can't be blocked if you had another Cleric, Rogue, Warrior, or Wizard enter the battlefield under your control this turn. SVar:JoinedParty:Count$ThisTurnEntered_Battlefield_Cleric.YouCtrl+Other,Rogue.YouCtrl+Other,Warrior.YouCtrl+Other,Wizard.YouCtrl+Other -T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ EQ4 | References$ X | Execute$ TrigAnimateAll | TriggerDescription$ At the beginning of combat on your turn, if you have a full party, creatures you control gain "Whenever this creature deals combat damage to a player, draw a card" until end of turn. +T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ EQ4 | Execute$ TrigAnimateAll | TriggerDescription$ At the beginning of combat on your turn, if you have a full party, creatures you control gain "Whenever this creature deals combat damage to a player, draw a card" until end of turn. SVar:TrigAnimateAll:DB$ AnimateAll | ValidCards$ Creature.YouCtrl | Triggers$ TrigCDPlayer | sVars$ TrigDraw SVar:TrigCDPlayer:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDraw | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, draw a card. SVar:TrigDraw:DB$ Draw | NumCards$ 1 diff --git a/forge-gui/res/cardsfolder/n/nimbus_champion.txt b/forge-gui/res/cardsfolder/n/nimbus_champion.txt index 342db16dac3..8b78630f967 100644 --- a/forge-gui/res/cardsfolder/n/nimbus_champion.txt +++ b/forge-gui/res/cardsfolder/n/nimbus_champion.txt @@ -4,7 +4,7 @@ Types:Creature Avatar Warrior PT:4/4 K:Flying T:Mode$ Attacks | ValidCard$ Card.Self | OptionalDecider$ You | TriggerZones$ Battlefield | Execute$ TrigBounce | TriggerDescription$ Whenever CARDNAME attacks, you may return target creature to its owner's hand if that creature's power is less than or equal to the number of Warriors your team controls. -SVar:TrigBounce:DB$ ChangeZone | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | IsCurse$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X,Y +SVar:TrigBounce:DB$ ChangeZone | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | IsCurse$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 SVar:Y:Count$Valid Warrior.YourTeamCtrl SVar:X:Targeted$Valid Creature.powerLEY SVar:HasAttackEffect:TRUE diff --git a/forge-gui/res/cardsfolder/n/nin_the_pain_artist.txt b/forge-gui/res/cardsfolder/n/nin_the_pain_artist.txt index b65266764af..182d338dddb 100644 --- a/forge-gui/res/cardsfolder/n/nin_the_pain_artist.txt +++ b/forge-gui/res/cardsfolder/n/nin_the_pain_artist.txt @@ -2,8 +2,8 @@ Name:Nin, the Pain Artist ManaCost:U R Types:Legendary Creature Vedalken Wizard PT:1/1 -A:AB$ DealDamage | Cost$ X U R T | References$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBDraw | AILogic$ NinThePainArtist | SpellDescription$ CARDNAME deals X damage to target creature. That creature's controller draws X cards. -SVar:DBDraw:DB$Draw | Defined$ TargetedController | NumCards$ X | References$ X +A:AB$ DealDamage | Cost$ X U R T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBDraw | AILogic$ NinThePainArtist | SpellDescription$ CARDNAME deals X damage to target creature. That creature's controller draws X cards. +SVar:DBDraw:DB$Draw | Defined$ TargetedController | NumCards$ X SVar:X:Count$xPaid AI:RemoveDeck:Random Oracle:{X}{U}{R}, {T}: Nin, the Pain Artist deals X damage to target creature. That creature's controller draws X cards. diff --git a/forge-gui/res/cardsfolder/n/nirkana_cutthroat.txt b/forge-gui/res/cardsfolder/n/nirkana_cutthroat.txt index 39edaaa9073..f822301460d 100644 --- a/forge-gui/res/cardsfolder/n/nirkana_cutthroat.txt +++ b/forge-gui/res/cardsfolder/n/nirkana_cutthroat.txt @@ -4,8 +4,8 @@ Types:Creature Vampire Warrior PT:3/2 K:Level up:2 B SVar:maxLevel:3 -S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 3 | AddKeyword$ Deathtouch | CheckSVar$ X | SVarCompare$ EQ1 | References$ X | Description$ LEVEL 1-2 4/3 CARDNAME has Deathtouch -S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 5 | SetToughness$ 4 | AddKeyword$ First Strike & Deathtouch | CheckSVar$ Y | SVarCompare$ EQ1 | References$ Y | Description$ LEVEL 3+ 5/4 CARDNAME has First Strike and Deathtouch +S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 3 | AddKeyword$ Deathtouch | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-2 4/3 CARDNAME has Deathtouch +S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 5 | SetToughness$ 4 | AddKeyword$ First Strike & Deathtouch | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 3+ 5/4 CARDNAME has First Strike and Deathtouch SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LE2_LEVEL SVar:Y:Count$Valid Card.Self+counters_GE3_LEVEL SVar:Picture:http://www.wizards.com/global/images/magic/general/nirkana_cutthroat.jpg diff --git a/forge-gui/res/cardsfolder/n/nissa_of_shadowed_boughs.txt b/forge-gui/res/cardsfolder/n/nissa_of_shadowed_boughs.txt index d23885f88a9..b40b3b8117b 100644 --- a/forge-gui/res/cardsfolder/n/nissa_of_shadowed_boughs.txt +++ b/forge-gui/res/cardsfolder/n/nissa_of_shadowed_boughs.txt @@ -8,7 +8,7 @@ A:AB$ Untap | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Land SVar:DBChoice:DB$ GenericChoice | Defined$ You | Choices$ Animate,NoAnimate | StackDescription$ You may have it become a 3/3 Elemental creature with haste and menace until end of turn. It's still a land. SVar:Animate:DB$ Animate | Defined$ Targeted | Power$ 3 | Toughness$ 3 | Types$ Creature,Elemental | Keywords$ Haste & Menace | SpellDescription$ Target land becomes a 3/3 Elemental creature with haste and menace until end of turn. SVar:NoAnimate:DB$ Pump | SpellDescription$ Target land does not become a 3/3 Elemental creature with haste and menace until end of turn. -A:AB$ ChangeZone | Cost$ SubCounter<5/LOYALTY> | Planeswalker$ True | Ultimate$ True | ChangeType$ Creature.YouOwn+cmcLEX | References$ X | ChangeNum$ 1 | Origin$ Hand,Graveyard | Destination$ Battlefield | RememberChanged$ True | SubAbility$ DBPutCounter | StackDescription$ SpellDescription | SpellDescription$ You may put a creature card with converted mana cost less than or equal to the number of lands you control onto the battlefield from your hand or graveyard with two +1/+1 counters on it. +A:AB$ ChangeZone | Cost$ SubCounter<5/LOYALTY> | Planeswalker$ True | Ultimate$ True | ChangeType$ Creature.YouOwn+cmcLEX | ChangeNum$ 1 | Origin$ Hand,Graveyard | Destination$ Battlefield | RememberChanged$ True | SubAbility$ DBPutCounter | StackDescription$ SpellDescription | SpellDescription$ You may put a creature card with converted mana cost less than or equal to the number of lands you control onto the battlefield from your hand or graveyard with two +1/+1 counters on it. SVar:DBPutCounter:DB$ PutCounter | Defined$ Remembered | CounterType$ P1P1 | CounterNum$ 2 | SubAbility$ DBCleanup | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Land.YouCtrl diff --git a/forge-gui/res/cardsfolder/n/nissa_revane.txt b/forge-gui/res/cardsfolder/n/nissa_revane.txt index 31d44a8c1aa..592156f76f7 100644 --- a/forge-gui/res/cardsfolder/n/nissa_revane.txt +++ b/forge-gui/res/cardsfolder/n/nissa_revane.txt @@ -3,8 +3,8 @@ ManaCost:2 G G Types:Legendary Planeswalker Nissa Loyalty:2 A:AB$ ChangeZone | Cost$ AddCounter<1/LOYALTY> | Origin$ Library | Destination$ Battlefield | ChangeType$ Permanent.namedNissa's Chosen | ChangeNum$ 1 | Planeswalker$ True | StackDescription$ SpellDescription | SpellDescription$ Search your library for a card named Nissa's Chosen and put it onto the battlefield. Then shuffle your library. -A:AB$ GainLife | Cost$ AddCounter<1/LOYALTY> | LifeAmount$ XLife | Planeswalker$ True | References$ XLife | SpellDescription$ You gain 2 life for each Elf you control. -A:AB$ ChangeZone | Cost$ SubCounter<7/LOYALTY> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.Elf | ChangeNum$ XFetch | Planeswalker$ True | Ultimate$ True | StackDescription$ SpellDescription | References$ XFetch | SpellDescription$ Search your library for any number of Elf creature cards and put them onto the battlefield. Then shuffle your library. +A:AB$ GainLife | Cost$ AddCounter<1/LOYALTY> | LifeAmount$ XLife | Planeswalker$ TrueLife | SpellDescription$ You gain 2 life for each Elf you control. +A:AB$ ChangeZone | Cost$ SubCounter<7/LOYALTY> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.Elf | ChangeNum$ XFetch | Planeswalker$ True | Ultimate$ True | StackDescription$ SpellDescriptionFetch | SpellDescription$ Search your library for any number of Elf creature cards and put them onto the battlefield. Then shuffle your library. SVar:XLife:Count$TypeYouCtrl.Elf/Times.2 SVar:XFetch:Count$TypeInYourLibrary.Elf AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/n/nissa_steward_of_elements.txt b/forge-gui/res/cardsfolder/n/nissa_steward_of_elements.txt index 864dfccd1be..fb7f6441b6e 100644 --- a/forge-gui/res/cardsfolder/n/nissa_steward_of_elements.txt +++ b/forge-gui/res/cardsfolder/n/nissa_steward_of_elements.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Nissa Loyalty:X SVar:X:Count$xPaid A:AB$ Scry | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | ScryNum$ 2 | SpellDescription$ Scry 2. -A:AB$ Dig | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | DigNum$ 1 | ChangeNum$ 1 | Optional$ True | ChangeValid$ Land,Creature.cmcLEY | ForceRevealToController$ True | PromptToSkipOptionalAbility$ True | References$ Y | AILogic$ AlwaysConfirm | OptionalAbilityPrompt$ Would you like to put the permanent onto the battlefield? | DestinationZone$ Battlefield | LibraryPosition2$ 0 | SpellDescription$ Look at the top card of your library. If it's a land card or a creature card with converted mana cost less than or equal to the number of loyalty counters on Nissa, Steward of Elements, you may put that card onto the battlefield. +A:AB$ Dig | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | DigNum$ 1 | ChangeNum$ 1 | Optional$ True | ChangeValid$ Land,Creature.cmcLEY | ForceRevealToController$ True | PromptToSkipOptionalAbility$ True | AILogic$ AlwaysConfirm | OptionalAbilityPrompt$ Would you like to put the permanent onto the battlefield? | DestinationZone$ Battlefield | LibraryPosition2$ 0 | SpellDescription$ Look at the top card of your library. If it's a land card or a creature card with converted mana cost less than or equal to the number of loyalty counters on Nissa, Steward of Elements, you may put that card onto the battlefield. A:AB$ Untap | Cost$ SubCounter<6/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Land.YouCtrl | TargetMin$ 0 | TargetMax$ 2 | RememberTargets$ True | SubAbility$ Animate | SpellDescription$ Untap up to two target lands you control. They become 5/5 Elemental creatures with flying and haste until end of turn. They're still lands. SVar:Animate:DB$ Animate | Defined$ Remembered | Power$ 5 | Toughness$ 5 | Types$ Creature,Elemental | Keywords$ Flying & Haste | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/n/nissa_voice_of_zendikar.txt b/forge-gui/res/cardsfolder/n/nissa_voice_of_zendikar.txt index 00f3498705d..5694241c451 100644 --- a/forge-gui/res/cardsfolder/n/nissa_voice_of_zendikar.txt +++ b/forge-gui/res/cardsfolder/n/nissa_voice_of_zendikar.txt @@ -4,8 +4,8 @@ Types:Legendary Planeswalker Nissa Loyalty:3 A:AB$ Token | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | TokenAmount$ 1 | LegacyImage$ g 0 1 plant ogw | TokenScript$ g_0_1_plant | SpellDescription$ Create a 0/1 green Plant creature token. A:AB$ PutCounterAll | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on each creature you control. -A:AB$ GainLife | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | LifeAmount$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ You gain X life and draw X cards, where X is the number of lands you control. -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X +A:AB$ GainLife | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | LifeAmount$ X | SubAbility$ DBDraw | SpellDescription$ You gain X life and draw X cards, where X is the number of lands you control. +SVar:DBDraw:DB$ Draw | NumCards$ X SVar:X:Count$Valid Land.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/nissa_voice_of_zendikar.jpg Oracle:[+1]: Create a 0/1 green Plant creature token.\n[−2]: Put a +1/+1 counter on each creature you control.\n[−7]: You gain X life and draw X cards, where X is the number of lands you control. diff --git a/forge-gui/res/cardsfolder/n/nissa_who_shakes_the_world.txt b/forge-gui/res/cardsfolder/n/nissa_who_shakes_the_world.txt index b9079fbd4ee..2dfb414bc76 100644 --- a/forge-gui/res/cardsfolder/n/nissa_who_shakes_the_world.txt +++ b/forge-gui/res/cardsfolder/n/nissa_who_shakes_the_world.txt @@ -9,7 +9,7 @@ SVar:DBUntap:DB$ Untap | Defined$ Targeted | SubAbility$ DBAnimate SVar:DBAnimate:DB$ Animate | Defined$ Targeted | Power$ 0 | Toughness$ 0 | Types$ Creature,Elemental | Keywords$ Vigilance & Haste | Permanent$ True A:AB$ Effect | Cost$ SubCounter<8/LOYALTY> | Name$ Emblem - Nissa, Who Shakes the World | Image$ emblem_nissa_who_shakes_the_world | Duration$ Permanent | Stackable$ False | Planeswalker$ True | Ultimate$ True | StaticAbilities$ STIndestructible | SubAbility$ DBChangeZone | SpellDescription$ You get an emblem with "Lands you control have indestructible." Search your library for any number of Forest cards, put them onto the battlefield tapped, then shuffle your library. SVar:STIndestructible:Mode$ Continuous | EffectZone$ Command | Affected$ Land.YouCtrl | AffectedZone$ Battlefield | AddKeyword$ Indestructible | Description$ Lands you control have indestructible. -SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Forest | ChangeNum$ XFetch | References$ XFetch | Tapped$ True | StackDescription$ Search your library for any number of Forest cards, put them onto the battlefield tapped, then shuffle your library. +SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Forest | ChangeNum$ XFetch | Tapped$ True | StackDescription$ Search your library for any number of Forest cards, put them onto the battlefield tapped, then shuffle your library. SVar:XFetch:Count$TypeInYourLibrary.Forest DeckHas:Ability$Counters Oracle:Whenever you tap a Forest for mana, add an additional {G}.\n[+1]: Put three +1/+1 counters on up to one target noncreature land you control. Untap it. It becomes a 0/0 Elemental creature with vigilance and haste that's still a land.\n[−8]: You get an emblem with "Lands you control have indestructible." Search your library for any number of Forest cards, put them onto the battlefield tapped, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/n/nissa_worldwaker.txt b/forge-gui/res/cardsfolder/n/nissa_worldwaker.txt index 3a35e437e9f..1785bbec65d 100644 --- a/forge-gui/res/cardsfolder/n/nissa_worldwaker.txt +++ b/forge-gui/res/cardsfolder/n/nissa_worldwaker.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Nissa Loyalty:3 A:AB$ Animate | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Land.YouCtrl | TgtPrompt$ Select target land you control | Power$ 4 | Toughness$ 4 | Types$ Creature,Elemental | Permanent$ True | Keywords$ Trample | SpellDescription$ Target land you control becomes a 4/4 Elemental creature with trample. It's still a land. A:AB$ Untap | Cost$ AddCounter<1/LOYALTY> | ValidTgts$ Forest | TgtPrompt$ Choose target forest | TargetMin$ 0 | TargetMax$ 4 | Planeswalker$ True | SpellDescription$ Untap up to four target Forests. -A:AB$ ChangeZone | Cost$ SubCounter<7/LOYALTY> | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ XFetch | Planeswalker$ True | Ultimate$ True | StackDescription$ SpellDescription | References$ XFetch | RememberChanged$ True | SubAbility$ DBAnimate | SpellDescription$ Search your library for any number of basic land cards, put them onto the battlefield, then shuffle your library. Those lands become 4/4 Elemental creatures with trample. They're still lands. +A:AB$ ChangeZone | Cost$ SubCounter<7/LOYALTY> | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ XFetch | Planeswalker$ True | Ultimate$ True | StackDescription$ SpellDescription | RememberChanged$ True | SubAbility$ DBAnimate | SpellDescription$ Search your library for any number of basic land cards, put them onto the battlefield, then shuffle your library. Those lands become 4/4 Elemental creatures with trample. They're still lands. SVar:DBAnimate:DB$ Animate | Defined$ Remembered | Power$ 4 | Toughness$ 4 | Types$ Creature,Elemental | Permanent$ True | Keywords$ Trample | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:XFetch:Count$ValidLibrary Land.Basic+YouCtrl diff --git a/forge-gui/res/cardsfolder/n/nissas_judgment.txt b/forge-gui/res/cardsfolder/n/nissas_judgment.txt index 567fd590b1c..8d30db25c20 100644 --- a/forge-gui/res/cardsfolder/n/nissas_judgment.txt +++ b/forge-gui/res/cardsfolder/n/nissas_judgment.txt @@ -2,7 +2,7 @@ Name:Nissa's Judgment ManaCost:4 G Types:Sorcery A:SP$ PutCounter | Cost$ 4 G | AILogic$ PowerDmg | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DealToCreature | SpellDescription$ Support 2. (Put a +1/+1 counter on each of up to two target creatures.) -SVar:DealToCreature:DB$ EachDamage | AILogic$ PowerDmg | ValidCards$ Creature.YouCtrl+counters_GE1_P1P1 | NumDmg$ X | References$ X | TgtPrompt$ Choose target creature opponent controls | ValidTgts$ Creature.OppCtrl | TargetMin$ 0 | TargetMax$ 1 | SpellDescription$ Each creature you control with a +1/+1 counter deals damage equal to its power to target creature opponent controls. +SVar:DealToCreature:DB$ EachDamage | AILogic$ PowerDmg | ValidCards$ Creature.YouCtrl+counters_GE1_P1P1 | NumDmg$ X | TgtPrompt$ Choose target creature opponent controls | ValidTgts$ Creature.OppCtrl | TargetMin$ 0 | TargetMax$ 1 | SpellDescription$ Each creature you control with a +1/+1 counter deals damage equal to its power to target creature opponent controls. SVar:X:Count$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/nissas_judgment.jpg diff --git a/forge-gui/res/cardsfolder/n/nissas_pilgrimage.txt b/forge-gui/res/cardsfolder/n/nissas_pilgrimage.txt index da5daff2493..f7e0641e0b5 100644 --- a/forge-gui/res/cardsfolder/n/nissas_pilgrimage.txt +++ b/forge-gui/res/cardsfolder/n/nissas_pilgrimage.txt @@ -1,7 +1,7 @@ Name:Nissa's Pilgrimage ManaCost:2 G Types:Sorcery -A:SP$ ChangeZone | Cost$ 2 G | Origin$ Library | Destination$ Library | ChangeType$ Land.Basic+Forest | ChangeNum$ X | References$ X,Y | RememberChanged$ True | SubAbility$ DBBattlefield | Shuffle$ False | StackDescription$ SpellDescription | SpellDescription$ Search your library for up to two basic Forest cards, reveal those cards, and put one onto the battlefield tapped and the rest into your hand. Then shuffle your library. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, search your library for up to three basic Forest cards instead of two. +A:SP$ ChangeZone | Cost$ 2 G | Origin$ Library | Destination$ Library | ChangeType$ Land.Basic+Forest | ChangeNum$ X,Y | RememberChanged$ True | SubAbility$ DBBattlefield | Shuffle$ False | StackDescription$ SpellDescription | SpellDescription$ Search your library for up to two basic Forest cards, reveal those cards, and put one onto the battlefield tapped and the rest into your hand. Then shuffle your library. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, search your library for up to three basic Forest cards instead of two. SVar:DBBattlefield:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | Tapped$ True | SubAbility$ DBHand | ChangeType$ Card.IsRemembered | ChangeNum$ 1 | ForgetChanged$ True | Mandatory$ True | NoLooking$ True | SelectPrompt$ Select a card to go to the battlefield | Shuffle$ False | StackDescription$ None SVar:DBHand:DB$ ChangeZone | Origin$ Library | Destination$ Hand | Defined$ Remembered | NoLooking$ True | StackDescription$ None | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/n/nissas_revelation.txt b/forge-gui/res/cardsfolder/n/nissas_revelation.txt index 88761a43e5c..238b2daae33 100644 --- a/forge-gui/res/cardsfolder/n/nissas_revelation.txt +++ b/forge-gui/res/cardsfolder/n/nissas_revelation.txt @@ -3,8 +3,8 @@ ManaCost:5 G G Types:Sorcery A:SP$Scry | Cost$ 5 G G | ScryNum$ 5 | SubAbility$ DBReveal | SpellDescription$ Scry 5, then reveal the top card of your library. If it's a creature card, you draw cards equal to its power and you gain life equal to its toughness. SVar:DBReveal:DB$ Dig | DigNum$ 1 | Reveal$ True | RememberRevealed$ True | DestinationZone$ Library | LibraryPosition$ 0 | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X,Z | ConditionCheckSVar$ Z | ConditionSVarCompare$ EQ1 | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | LifeAmount$ Y | References$ Y,Z | ConditionCheckSVar$ Z | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | NumCards$ X | ConditionCheckSVar$ Z | ConditionSVarCompare$ EQ1 | SubAbility$ DBGainLife +SVar:DBGainLife:DB$ GainLife | LifeAmount$ Y | ConditionCheckSVar$ Z | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardPower SVar:Y:Remembered$CardToughness diff --git a/forge-gui/res/cardsfolder/n/no_quarter.txt b/forge-gui/res/cardsfolder/n/no_quarter.txt index 527c08086ea..d3f0b93a9c6 100644 --- a/forge-gui/res/cardsfolder/n/no_quarter.txt +++ b/forge-gui/res/cardsfolder/n/no_quarter.txt @@ -1,8 +1,8 @@ Name:No Quarter ManaCost:3 R Types:Enchantment -T:Mode$ AttackerBlockedByCreature | ValidCard$ Creature | ValidBlocker$ LessPowerThanAttacker | References$ AttackerPower | TriggerZones$ Battlefield | Execute$ DestroyBlocker | TriggerDescription$ Whenever a creature becomes blocked by a creature with lesser power, destroy the blocking creature. -T:Mode$ AttackerBlockedByCreature | ValidCard$ LessPowerThanBlocker | ValidBlocker$ Creature | References$ BlockerPower | TriggerZones$ Battlefield | Execute$ DestroyAttacker | TriggerDescription$ Whenever a creature blocks a creature with lesser power, destroy the attacking creature. +T:Mode$ AttackerBlockedByCreature | ValidCard$ Creature | ValidBlocker$ LessPowerThanAttacker | TriggerZones$ Battlefield | Execute$ DestroyBlocker | TriggerDescription$ Whenever a creature becomes blocked by a creature with lesser power, destroy the blocking creature. +T:Mode$ AttackerBlockedByCreature | ValidCard$ LessPowerThanBlocker | ValidBlocker$ Creature | TriggerZones$ Battlefield | Execute$ DestroyAttacker | TriggerDescription$ Whenever a creature blocks a creature with lesser power, destroy the attacking creature. SVar:DestroyBlocker:DB$ Destroy | Defined$ TriggeredBlockerLKICopy SVar:DestroyAttacker:DB$ Destroy | Defined$ TriggeredAttackerLKICopy SVar:AttackerPower:Count$ TriggeredAttacker.Power diff --git a/forge-gui/res/cardsfolder/n/noble_purpose.txt b/forge-gui/res/cardsfolder/n/noble_purpose.txt index 3bf3a35da07..2a62f500dbc 100644 --- a/forge-gui/res/cardsfolder/n/noble_purpose.txt +++ b/forge-gui/res/cardsfolder/n/noble_purpose.txt @@ -2,7 +2,7 @@ Name:Noble Purpose ManaCost:3 W W Types:Enchantment T:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Creature.YouCtrl | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature you control deals combat damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/noble_purpose.jpg Oracle:Whenever a creature you control deals combat damage, you gain that much life. diff --git a/forge-gui/res/cardsfolder/n/noetic_scales.txt b/forge-gui/res/cardsfolder/n/noetic_scales.txt index c393c123d11..c43d13ea20e 100644 --- a/forge-gui/res/cardsfolder/n/noetic_scales.txt +++ b/forge-gui/res/cardsfolder/n/noetic_scales.txt @@ -2,7 +2,7 @@ Name:Noetic Scales ManaCost:4 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigBounce | TriggerDescription$ At the beginning of each player's upkeep, return to its owner's hand each creature that player controls with power greater than the number of cards in their hand. -SVar:TrigBounce:DB$ ChangeZoneAll | ChangeType$ Creature.ActivePlayerCtrl+powerGTX | Origin$ Battlefield | Destination$ Hand | References$ X +SVar:TrigBounce:DB$ ChangeZoneAll | ChangeType$ Creature.ActivePlayerCtrl+powerGTX | Origin$ Battlefield | Destination$ Hand SVar:X:Count$ValidHand Card.ActivePlayerCtrl AI:RemoveDeck:Random SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/n/nomad_decoy.txt b/forge-gui/res/cardsfolder/n/nomad_decoy.txt index 9d200bf5c32..dc0713934e4 100644 --- a/forge-gui/res/cardsfolder/n/nomad_decoy.txt +++ b/forge-gui/res/cardsfolder/n/nomad_decoy.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Creature Human Nomad PT:1/2 A:AB$ Tap | Cost$ W T | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ Tap target creature. -A:AB$ Tap | Cost$ W W T | ValidTgts$ Creature | TgtPrompt$ Select target creature | TargetMin$ 2 | TargetMax$ 2 | CheckSVar$ X | SVarCompare$ GE7 | References$ X | SpellDescription$ Tap two target creatures. Activate this ability only if seven or more cards are in your graveyard. | PrecostDesc$ Threshold — +A:AB$ Tap | Cost$ W W T | ValidTgts$ Creature | TgtPrompt$ Select target creature | TargetMin$ 2 | TargetMax$ 2 | CheckSVar$ X | SVarCompare$ GE7 | SpellDescription$ Tap two target creatures. Activate this ability only if seven or more cards are in your graveyard. | PrecostDesc$ Threshold — SVar:X:Count$InYourYard SVar:NonCombatPriority:1 SVar:Picture:http://www.wizards.com/global/images/magic/general/nomad_decoy.jpg diff --git a/forge-gui/res/cardsfolder/n/nomads_assembly.txt b/forge-gui/res/cardsfolder/n/nomads_assembly.txt index 596a6435d2e..fccdb1777e7 100644 --- a/forge-gui/res/cardsfolder/n/nomads_assembly.txt +++ b/forge-gui/res/cardsfolder/n/nomads_assembly.txt @@ -2,7 +2,7 @@ Name:Nomads' Assembly ManaCost:4 W W Types:Sorcery K:Rebound -A:SP$ Token | Cost$ 4 W W | TokenAmount$ X | References$ X | TokenScript$ w_1_1_kor_soldier | TokenOwner$ You | LegacyImage$ w 1 1 kor soldier roe | SpellDescription$ Create a 1/1 white Kor Soldier creature token for each creature you control. +A:SP$ Token | Cost$ 4 W W | TokenAmount$ X | TokenScript$ w_1_1_kor_soldier | TokenOwner$ You | LegacyImage$ w 1 1 kor soldier roe | SpellDescription$ Create a 1/1 white Kor Soldier creature token for each creature you control. SVar:X:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/nomads_assembly.jpg Oracle:Create a 1/1 white Kor Soldier creature token for each creature you control.\nRebound (If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost.) diff --git a/forge-gui/res/cardsfolder/n/nomads_en_kor.txt b/forge-gui/res/cardsfolder/n/nomads_en_kor.txt index f8b9cfe02ef..8e44669e61d 100644 --- a/forge-gui/res/cardsfolder/n/nomads_en_kor.txt +++ b/forge-gui/res/cardsfolder/n/nomads_en_kor.txt @@ -2,7 +2,7 @@ Name:Nomads en-Kor ManaCost:W Types:Creature Kor Nomad Soldier PT:1/1 -A:AB$ Effect | Cost$ 0 | Name$ en-Kor Redirection | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage to | ReplacementEffects$ EnKor | SVars$ EnKorDmg | References$ EnKor,EnKorDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature you control instead. +A:AB$ Effect | Cost$ 0 | Name$ en-Kor Redirection | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage to | ReplacementEffects$ EnKor | SVars$ EnKorDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature you control instead. SVar:EnKor:Event$ DamageDone | ValidTarget$ Creature.EffectSource | ReplaceWith$ EnKorDmg | DamageTarget$ Remembered | Description$ The next 1 damage that would be dealt to EFFECTSOURCE this turn is dealt to target creature you control instead. SVar:EnKorDmg:DB$ ReplaceSplitDamage | DamageTarget$ Remembered AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/n/nostalgic_dreams.txt b/forge-gui/res/cardsfolder/n/nostalgic_dreams.txt index e8654743606..789ffadce30 100644 --- a/forge-gui/res/cardsfolder/n/nostalgic_dreams.txt +++ b/forge-gui/res/cardsfolder/n/nostalgic_dreams.txt @@ -1,7 +1,7 @@ Name:Nostalgic Dreams ManaCost:G G Types:Sorcery -A:SP$ ChangeZone | Cost$ G G Discard | CostDesc$ As an additional cost to cast this spell, discard X cards. | Origin$ Graveyard | Destination$ Hand | TargetMin$ X | TargetMax$ X | References$ X | TgtPrompt$ Choose X target cards to return from your graveyard | ValidTgts$ Card.YouOwn | SubAbility$ DBChange | SpellDescription$ Return X target cards from your graveyard to your hand. Exile CARDNAME. +A:SP$ ChangeZone | Cost$ G G Discard | CostDesc$ As an additional cost to cast this spell, discard X cards. | Origin$ Graveyard | Destination$ Hand | TargetMin$ X | TargetMax$ X | TgtPrompt$ Choose X target cards to return from your graveyard | ValidTgts$ Card.YouOwn | SubAbility$ DBChange | SpellDescription$ Return X target cards from your graveyard to your hand. Exile CARDNAME. SVar:DBChange:DB$ ChangeZone | Origin$ Stack | Destination$ Exile SVar:X:Count$xPaid AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/n/not_of_this_world.txt b/forge-gui/res/cardsfolder/n/not_of_this_world.txt index 77f254b1b77..12a4c81fc75 100644 --- a/forge-gui/res/cardsfolder/n/not_of_this_world.txt +++ b/forge-gui/res/cardsfolder/n/not_of_this_world.txt @@ -1,8 +1,8 @@ Name:Not of This World ManaCost:7 Types:Tribal Instant Eldrazi -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ CostReduction | Relative$ True | References$ CostReduction,CheckTgt | EffectZone$ All | Description$ This spell costs {7} less to cast if it targets a spell or ability that targets a creature you control with power 7 or greater. -A:SP$ Counter | Cost$ 7 | TargetType$ Spell,Activated,Triggered | TgtPrompt$ Select target spell or ability that targets a permanent you control | ValidTgts$ Card | TargetValidTargeting$ Permanent.YouCtrl+inZoneBattlefield | References$ CostReduction,CheckTgt | SpellDescription$ Counter target spell or ability that targets a permanent you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ CostReduction | Relative$ TrueostReduction,CheckTgt | EffectZone$ All | Description$ This spell costs {7} less to cast if it targets a spell or ability that targets a creature you control with power 7 or greater. +A:SP$ Counter | Cost$ 7 | TargetType$ Spell,Activated,Triggered | TgtPrompt$ Select target spell or ability that targets a permanent you control | ValidTgts$ Card | TargetValidTargeting$ Permanent.YouCtrl+inZoneBattlefieldostReduction,CheckTgt | SpellDescription$ Counter target spell or ability that targets a permanent you control. SVar:CostReduction:Count$Compare CheckTgt GE1.7.0 SVar:CheckTgt:TargetedByTarget$Valid Card.powerGE7+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/not_of_this_world.jpg diff --git a/forge-gui/res/cardsfolder/n/notorious_throng.txt b/forge-gui/res/cardsfolder/n/notorious_throng.txt index 21cc824baba..6b9d20ad8ae 100644 --- a/forge-gui/res/cardsfolder/n/notorious_throng.txt +++ b/forge-gui/res/cardsfolder/n/notorious_throng.txt @@ -2,7 +2,7 @@ Name:Notorious Throng ManaCost:3 U Types:Tribal Sorcery Rogue K:Prowl:5 U -A:SP$ Token | Cost$ 3 U | TokenAmount$ X | References$ X | TokenScript$ b_1_1_faerie_rogue_flying | TokenOwner$ You | LegacyImage$ b 1 1 faerie rogue flying mor | SubAbility$ DBTakeTurn | SpellDescription$ Create X 1/1 black Faerie Rogue creature tokens with flying, where X is the damage dealt to your opponents this turn. If CARDNAME's prowl cost was paid, take an extra turn after this one. +A:SP$ Token | Cost$ 3 U | TokenAmount$ X | TokenScript$ b_1_1_faerie_rogue_flying | TokenOwner$ You | LegacyImage$ b 1 1 faerie rogue flying mor | SubAbility$ DBTakeTurn | SpellDescription$ Create X 1/1 black Faerie Rogue creature tokens with flying, where X is the damage dealt to your opponents this turn. If CARDNAME's prowl cost was paid, take an extra turn after this one. SVar:DBTakeTurn:DB$ AddTurn | NumTurns$ 1 | ConditionDefined$ Self | ConditionPresent$ Card.prowled SVar:X:Count$TotalOppDamageThisTurn DeckNeeds:Type$Rogue diff --git a/forge-gui/res/cardsfolder/n/nourishing_shoal.txt b/forge-gui/res/cardsfolder/n/nourishing_shoal.txt index 5dcb8c063a3..b07ae371c21 100644 --- a/forge-gui/res/cardsfolder/n/nourishing_shoal.txt +++ b/forge-gui/res/cardsfolder/n/nourishing_shoal.txt @@ -2,7 +2,7 @@ Name:Nourishing Shoal ManaCost:X G G Types:Instant Arcane SVar:AltCost:Cost$ ExileFromHand<1/Card.Green+Other/green card> | Description$ You may exile a green card with converted mana cost X from your hand rather than pay this spell's mana cost. -A:SP$ GainLife | Cost$ X G G | LifeAmount$ Z | References$ X,Y,Z | SpellDescription$ You gain X life. +A:SP$ GainLife | Cost$ X G G | LifeAmount$ Z | SpellDescription$ You gain X life. SVar:X:Count$xPaid SVar:Y:Exiled$CardManaCost SVar:Z:SVar$Y/Plus.X diff --git a/forge-gui/res/cardsfolder/n/nova_pentacle.txt b/forge-gui/res/cardsfolder/n/nova_pentacle.txt index 306cd4257c3..9ec446ca86e 100644 --- a/forge-gui/res/cardsfolder/n/nova_pentacle.txt +++ b/forge-gui/res/cardsfolder/n/nova_pentacle.txt @@ -2,7 +2,7 @@ Name:Nova Pentacle ManaCost: 4 Types:Artifact A:AB$ ChooseSource | Cost$ 3 T | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice would deal damage to you this turn, that damage is dealt to target creature of an opponent's choice instead. -SVar:DBEffect:DB$ Effect | TargetingPlayer$ Player.Opponent | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDamage,SelflessDmg,ExileEffect | References$ SelflessDamage,OutOfSight,SelflessDmg,ExileEffect | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 | AILogic$ RedirectFromOppToCreature +SVar:DBEffect:DB$ Effect | TargetingPlayer$ Player.Opponent | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDamage,SelflessDmg,ExileEffect | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 | AILogic$ RedirectFromOppToCreature SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ You | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ SelflessDmg | DamageTarget$ Remembered | Description$ The next time a source of your choice would deal damage to you this turn, that damage is dealt to target creature of an opponent's choice instead. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ Remembered | VarType$ Card | SubAbility$ ExileEffect #Zone Change for the source of your choice diff --git a/forge-gui/res/cardsfolder/n/noxious_gearhulk.txt b/forge-gui/res/cardsfolder/n/noxious_gearhulk.txt index 52ced432ad1..4b52e59097b 100644 --- a/forge-gui/res/cardsfolder/n/noxious_gearhulk.txt +++ b/forge-gui/res/cardsfolder/n/noxious_gearhulk.txt @@ -5,7 +5,7 @@ PT:5/4 K:Menace T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDestroy | OptionalDecider$ You | RememberLKI$ True | TriggerDescription$ When CARDNAME enters the battlefield, you may destroy another target creature. If a creature is destroyed this way, you gain life equal to its toughness. SVar:TrigDestroy:DB$ Destroy | ValidTgts$ Creature.Other | TgtPrompt$ Select another target creature. | RememberLKI$ True | SubAbility$ DBGainLife -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/noxious_gearhulk.jpg diff --git a/forge-gui/res/cardsfolder/n/null_champion.txt b/forge-gui/res/cardsfolder/n/null_champion.txt index de8a1bbb68b..85fad95825d 100644 --- a/forge-gui/res/cardsfolder/n/null_champion.txt +++ b/forge-gui/res/cardsfolder/n/null_champion.txt @@ -4,8 +4,8 @@ Types:Creature Zombie Warrior PT:1/1 K:Level up:3 SVar:maxLevel:4 -S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 2 | CheckSVar$ X | SVarCompare$ EQ1 | References$ X | Description$ LEVEL 1-3 4/2 -S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 7 | SetToughness$ 3 | AddAbility$ Regen | CheckSVar$ Y | SVarCompare$ EQ1 | References$ Y | Description$ LEVEL 4+ 7/3 CARDNAME has "{B}: Regenerate CARDNAME." +S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 4 | SetToughness$ 2 | CheckSVar$ X | SVarCompare$ EQ1 | Description$ LEVEL 1-3 4/2 +S:Mode$ Continuous | Affected$ Card.Self | SetPower$ 7 | SetToughness$ 3 | AddAbility$ Regen | CheckSVar$ Y | SVarCompare$ EQ1 | Description$ LEVEL 4+ 7/3 CARDNAME has "{B}: Regenerate CARDNAME." SVar:Regen:AB$Regenerate | Cost$ B | SpellDescription$ Regenerate CARDNAME. SVar:X:Count$Valid Card.Self+counters_GE1_LEVEL+counters_LE3_LEVEL SVar:Y:Count$Valid Card.Self+counters_GE4_LEVEL diff --git a/forge-gui/res/cardsfolder/n/nullstone_gargoyle.txt b/forge-gui/res/cardsfolder/n/nullstone_gargoyle.txt index 4ab367a7fb3..69d8c9cd80a 100644 --- a/forge-gui/res/cardsfolder/n/nullstone_gargoyle.txt +++ b/forge-gui/res/cardsfolder/n/nullstone_gargoyle.txt @@ -3,7 +3,7 @@ ManaCost:9 Types:Artifact Creature Gargoyle PT:4/5 K:Flying -T:Mode$ SpellCast | ValidCard$ Card.nonCreature | CheckSVar$ X | References$ X | SVarCompare$ EQ1 | NoResolvingCheck$ True | TriggerZones$ Battlefield | Execute$ TrigCounter | TriggerDescription$ Whenever the first noncreature spell of a turn is cast, counter that spell. +T:Mode$ SpellCast | ValidCard$ Card.nonCreature | CheckSVar$ X | SVarCompare$ EQ1 | NoResolvingCheck$ True | TriggerZones$ Battlefield | Execute$ TrigCounter | TriggerDescription$ Whenever the first noncreature spell of a turn is cast, counter that spell. SVar:TrigCounter:DB$ Counter | Defined$ TriggeredSpellAbility SVar:X:Count$ThisTurnCast_Card.nonCreature AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/n/numa_joraga_chieftain.txt b/forge-gui/res/cardsfolder/n/numa_joraga_chieftain.txt index c2831a50248..0d4b8eb2ffc 100755 --- a/forge-gui/res/cardsfolder/n/numa_joraga_chieftain.txt +++ b/forge-gui/res/cardsfolder/n/numa_joraga_chieftain.txt @@ -3,8 +3,8 @@ ManaCost:2 G Types:Legendary Creature Elf Warrior PT:2/2 T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigPayCost | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, you may pay {X}{X}. When you do, distribute X +1/+1 counters among any number of target Elves. -SVar:TrigPayCost:AB$ ImmediateTrigger | Cost$ X X | References$ X | Execute$ TrigPutCounters | TriggerDescription$ When you pay {X}{X}, distribute X +1/+1 counters among any number of target Elf creatures you control. -SVar:TrigPutCounters:DB$ PutCounter | ValidTgts$ Creature.Elf+YouCtrl | TgtPrompt$ Select any number of target Elf creatures you control to distribute counters to | CounterType$ P1P1 | CounterNum$ Y | TargetMin$ 1 | TargetMax$ X | DividedAsYouChoose$ X | References$ X +SVar:TrigPayCost:AB$ ImmediateTrigger | Cost$ X X | Execute$ TrigPutCounters | TriggerDescription$ When you pay {X}{X}, distribute X +1/+1 counters among any number of target Elf creatures you control. +SVar:TrigPutCounters:DB$ PutCounter | ValidTgts$ Creature.Elf+YouCtrl | TgtPrompt$ Select any number of target Elf creatures you control to distribute counters to | CounterType$ P1P1 | CounterNum$ Y | TargetMin$ 1 | TargetMax$ X | DividedAsYouChoose$ X SVar:X:Count$xPaid K:Partner DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/n/nykthos_shrine_to_nyx.txt b/forge-gui/res/cardsfolder/n/nykthos_shrine_to_nyx.txt index 4879b4e86e3..6b9e36de4cf 100644 --- a/forge-gui/res/cardsfolder/n/nykthos_shrine_to_nyx.txt +++ b/forge-gui/res/cardsfolder/n/nykthos_shrine_to_nyx.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Legendary Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. A:AB$ ChooseColor | Cost$ 2 T | SubAbility$ DBMana | AILogic$ MostProminentComputerControls | AINoRecursiveCheck$ True | SpellDescription$ Choose a color. Add an amount of mana of that color equal to your devotion to that color. (Your devotion to a color is the number of mana symbols of that color in the mana costs of permanents you control.) -SVar:DBMana:DB$ Mana | Produced$ Chosen | Amount$ X | References$ X +SVar:DBMana:DB$ Mana | Produced$ Chosen | Amount$ X SVar:X:Count$Devotion.Chosen SVar:Picture:http://www.wizards.com/global/images/magic/general/nykthos_shrine_to_nyx.jpg Oracle:{T}: Add {C}.\n{2}, {T}: Choose a color. Add an amount of mana of that color equal to your devotion to that color. (Your devotion to a color is the number of mana symbols of that color in the mana costs of permanents you control.) diff --git a/forge-gui/res/cardsfolder/n/nylea_god_of_the_hunt.txt b/forge-gui/res/cardsfolder/n/nylea_god_of_the_hunt.txt index 830a03ebfa3..bc94209b96b 100644 --- a/forge-gui/res/cardsfolder/n/nylea_god_of_the_hunt.txt +++ b/forge-gui/res/cardsfolder/n/nylea_god_of_the_hunt.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Legendary Enchantment Creature God PT:6/6 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | References$ X | Description$ As long as your devotion to green is less than 5, CARDNAME isn't a creature. (Each {G} in the mana costs of permanents you control counts towards your devotion to green.) +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | Description$ As long as your devotion to green is less than 5, CARDNAME isn't a creature. (Each {G} in the mana costs of permanents you control counts towards your devotion to green.) SVar:X:Count$Devotion.Green S:Mode$ Continuous | Affected$ Creature.Other+YouCtrl | AddKeyword$ Trample | Description$ Other creatures you control have trample. A:AB$ Pump | Cost$ 3 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +2 | NumDef$ +2 | SpellDescription$ Target creature gets +2/+2 until end of turn. diff --git a/forge-gui/res/cardsfolder/n/nylea_keen_eyed.txt b/forge-gui/res/cardsfolder/n/nylea_keen_eyed.txt index 95784ba2d8c..19663ea762d 100644 --- a/forge-gui/res/cardsfolder/n/nylea_keen_eyed.txt +++ b/forge-gui/res/cardsfolder/n/nylea_keen_eyed.txt @@ -3,12 +3,12 @@ ManaCost:3 G Types:Legendary Enchantment Creature God PT:5/6 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | References$ X | Description$ As long as your devotion to green is less than five, CARDNAME is not a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | Description$ As long as your devotion to green is less than five, CARDNAME is not a creature. SVar:X:Count$Devotion.Green SVar:BuffedBy:Permanent.Green S:Mode$ ReduceCost | ValidCard$ Creature | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Creature spells you cast cost {1} less to cast. A:AB$ Dig | Cost$ 2 G | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Creature | DestinationZone$ Hand | LibraryPosition2$ 0 | RememberChanged$ True | SubAbility$ DBDig | StackDescription$ SpellDescription | SpellDescription$ Reveal the top card of your library. If it's a creature card, put it into your hand. Otherwise, you may put it into your graveyard. -SVar:DBDig:DB$ Dig | DigNum$ 1 | DestinationZone$ Library | DestinationZone2$ Graveyard | Optional$ True | LibraryPosition$ 0 | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup | References$ Y +SVar:DBDig:DB$ Dig | DigNum$ 1 | DestinationZone$ Library | DestinationZone2$ Graveyard | Optional$ True | LibraryPosition$ 0 | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup SVar:Y:Remembered$Amount SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True Oracle:Indestructible\nAs long as your devotion to green is less than five, Nylea isn't a creature.\nCreature spells you cast cost {1} less to cast.\n{2}{G}: Reveal the top card of your library. If it's a creature card, put it into your hand. Otherwise, you may put it into your graveyard. diff --git a/forge-gui/res/cardsfolder/n/nyleas_colossus.txt b/forge-gui/res/cardsfolder/n/nyleas_colossus.txt index 497b5b6022c..08aea395421 100644 --- a/forge-gui/res/cardsfolder/n/nyleas_colossus.txt +++ b/forge-gui/res/cardsfolder/n/nyleas_colossus.txt @@ -4,7 +4,7 @@ Types:Enchantment Creature Giant PT:6/6 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Constellation Whenever CARDNAME or another enchantment enters the battlefield under your control, double target creature's power and toughness until end of turn. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Enchantment.Other+YouCtrl | TriggerZones$ Battlefield | Secondary$ True | Execute$ TrigPump | TriggerDescription$ Constellation Whenever CARDNAME or another enchantment enters the battlefield under your control, double target creature's power and toughness until end of turn. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +Y | References$ X,Y | RememberTargets$ True | SubAbility$ DBCleanup +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +Y | RememberTargets$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardPower SVar:Y:Remembered$CardToughness diff --git a/forge-gui/res/cardsfolder/n/nyleas_disciple.txt b/forge-gui/res/cardsfolder/n/nyleas_disciple.txt index 57db54a3bbe..788962b59ed 100644 --- a/forge-gui/res/cardsfolder/n/nyleas_disciple.txt +++ b/forge-gui/res/cardsfolder/n/nyleas_disciple.txt @@ -3,7 +3,7 @@ ManaCost:2 G G Types:Creature Centaur Archer PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain life equal to your devotion to green. -SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X SVar:X:Count$Devotion.Green SVar:Picture:http://www.wizards.com/global/images/magic/general/nyleas_disciple.jpg Oracle:When Nylea's Disciple enters the battlefield, you gain life equal to your devotion to green. (Each {G} in the mana costs of permanents you control counts toward your devotion to green.) diff --git a/forge-gui/res/cardsfolder/n/nyleas_huntmaster.txt b/forge-gui/res/cardsfolder/n/nyleas_huntmaster.txt index eb367783bec..30a29b55f04 100644 --- a/forge-gui/res/cardsfolder/n/nyleas_huntmaster.txt +++ b/forge-gui/res/cardsfolder/n/nyleas_huntmaster.txt @@ -3,6 +3,6 @@ ManaCost:3 G Types:Creature Centaur Shaman PT:4/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, target creature you control gets +X/+0 until end of turn, where X is your devotion to green. (Each {G} in the mana costs of permanents you control counts toward your devotion to green.) -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X SVar:X:Count$Devotion.Green Oracle:When Nylea's Huntmaster enters the battlefield, target creature you control gets +X/+0 until end of turn, where X is your devotion to green. (Each {G} in the mana costs of permanents you control counts toward your devotion to green.) diff --git a/forge-gui/res/cardsfolder/n/nyleas_intervention.txt b/forge-gui/res/cardsfolder/n/nyleas_intervention.txt index 532805117b1..0692c0a3a1d 100644 --- a/forge-gui/res/cardsfolder/n/nyleas_intervention.txt +++ b/forge-gui/res/cardsfolder/n/nyleas_intervention.txt @@ -1,9 +1,9 @@ Name:Nylea's Intervention ManaCost:X G G Types:Sorcery -A:SP$ Charm | Cost$ X G G | Choices$ DBSearch,DBDamage | References$ X -SVar:DBSearch:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Land | ChangeNum$ X | References$ X | SpellDescription$ Search your library for up to X land cards, reveal them, put them into your hand, then shuffle your library. -SVar:DBDamage:DB$ DamageAll | ValidCards$ Creature.withFlying | NumDmg$ XX | References$ X,XX | SpellDescription$ CARDNAME deals twice X damage to each creature with flying. +A:SP$ Charm | Cost$ X G G | Choices$ DBSearch,DBDamage +SVar:DBSearch:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Land | ChangeNum$ X | SpellDescription$ Search your library for up to X land cards, reveal them, put them into your hand, then shuffle your library. +SVar:DBDamage:DB$ DamageAll | ValidCards$ Creature.withFlying | NumDmg$ XX | SpellDescription$ CARDNAME deals twice X damage to each creature with flying. SVar:X:Count$xPaid SVar:XX:SVar$X/Twice Oracle:Choose one —\n• Search your library for up to X land cards, reveal them, put them into your hand, then shuffle your library.\n• Nylea's Intervention deals twice X damage to each creature with flying. diff --git a/forge-gui/res/cardsfolder/n/nyx_lotus.txt b/forge-gui/res/cardsfolder/n/nyx_lotus.txt index 0f465626fd5..54200993dae 100644 --- a/forge-gui/res/cardsfolder/n/nyx_lotus.txt +++ b/forge-gui/res/cardsfolder/n/nyx_lotus.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Legendary Artifact K:CARDNAME enters the battlefield tapped. A:AB$ ChooseColor | Cost$ T | AILogic$ MostProminentInComputerDeck | SubAbility$ DBMana | SpellDescription$ Choose a color. Add an amount of mana of that color equal to your devotion to that color. -SVar:DBMana:DB$ Mana | Produced$ Chosen | Amount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBMana:DB$ Mana | Produced$ Chosen | Amount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearChosenColor$ True SVar:X:Count$Devotion.Chosen Oracle:Nyx Lotus enters the battlefield tapped.\n{T}: Choose a color. Add an amount of mana of that color equal to your devotion to that color. (Your devotion to a color is the number of mana symbols of that color in the mana costs of permanents you control.) diff --git a/forge-gui/res/cardsfolder/n/nyxathid.txt b/forge-gui/res/cardsfolder/n/nyxathid.txt index 6a73a3b21c3..3f9041af772 100644 --- a/forge-gui/res/cardsfolder/n/nyxathid.txt +++ b/forge-gui/res/cardsfolder/n/nyxathid.txt @@ -4,7 +4,7 @@ Types:Creature Elemental PT:7/7 K:ETBReplacement:Other:ChooseP SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ -X | AddToughness$ -X | References$ X | Description$ CARDNAME gets -1/-1 for each card in the chosen player's hand. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ -X | AddToughness$ -X | Description$ CARDNAME gets -1/-1 for each card in the chosen player's hand. SVar:X:Count$InChosenHand SVar:NeedsToPlayVar:Z LE5 SVar:Z:Count$InOppHand diff --git a/forge-gui/res/cardsfolder/o/oath_of_jace.txt b/forge-gui/res/cardsfolder/o/oath_of_jace.txt index e30b08148a2..1652e4eafb8 100644 --- a/forge-gui/res/cardsfolder/o/oath_of_jace.txt +++ b/forge-gui/res/cardsfolder/o/oath_of_jace.txt @@ -5,7 +5,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ 3 | SubAbility$ DBDiscard SVar:DBDiscard:DB$Discard | Defined$ You | NumCards$ 2 | Mode$ TgtChoose T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigScry | TriggerDescription$ At the beginning of your upkeep, scry X, where X is the number of planeswalkers you control. -SVar:TrigScry:DB$ Scry | ScryNum$ X | References$ X +SVar:TrigScry:DB$ Scry | ScryNum$ X SVar:X:Count$Valid Planeswalker.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/oath_of_jace.jpg Oracle:When Oath of Jace enters the battlefield, draw three cards, then discard two cards.\nAt the beginning of your upkeep, scry X, where X is the number of planeswalkers you control. diff --git a/forge-gui/res/cardsfolder/o/oath_of_lim_dul.txt b/forge-gui/res/cardsfolder/o/oath_of_lim_dul.txt index 2151186ba97..5636d190bcf 100644 --- a/forge-gui/res/cardsfolder/o/oath_of_lim_dul.txt +++ b/forge-gui/res/cardsfolder/o/oath_of_lim_dul.txt @@ -2,7 +2,7 @@ Name:Oath of Lim-Dul ManaCost:3 B Types:Enchantment T:Mode$ LifeLost | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigLimDulSac | TriggerDescription$ Whenever you lose life, for each 1 life you lost, sacrifice a permanent other than Oath of Lim-Dûl unless you discard a card. (Damage dealt to you causes you to lose life.) -SVar:TrigLimDulSac:DB$ Repeat | MaxRepeat$ X | RepeatSubAbility$ DBSac | References$ X | Mandatory$ True +SVar:TrigLimDulSac:DB$ Repeat | MaxRepeat$ X | RepeatSubAbility$ DBSac | Mandatory$ True SVar:DBSac:DB$ Sacrifice | SacValid$ Permanent.Other | Amount$ 1 | UnlessCost$ Discard<1/Card> | UnlessPayer$ You A:AB$ Draw | Cost$ B B | NumCards$ 1 | SpellDescription$ Draw a card. SVar:X:TriggerCount$LifeAmount diff --git a/forge-gui/res/cardsfolder/o/ob_nixilis_of_the_black_oath.txt b/forge-gui/res/cardsfolder/o/ob_nixilis_of_the_black_oath.txt index 297eb7fd9c8..ff4ef0efea8 100644 --- a/forge-gui/res/cardsfolder/o/ob_nixilis_of_the_black_oath.txt +++ b/forge-gui/res/cardsfolder/o/ob_nixilis_of_the_black_oath.txt @@ -9,8 +9,8 @@ SVar:AFLifeLost:Number$0 A:AB$ Token | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | LegacyImage$ b 5 5 demon flying c14 | TokenAmount$ 1 | TokenScript$ b_5_5_demon_flying | TokenOwner$ You | SubAbility$ DBLoselife | SpellDescription$ Create a 5/5 black Demon creature token with flying. You lose 2 life. SVar:DBLoselife:DB$ LoseLife | LifeAmount$ 2 A:AB$ Effect | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Ob Nixilis of the Black Oath | Image$ emblem_ob_nixilis_of_the_black_oath | Stackable$ False | Abilities$ ObGainLife | SVars$ DBDraw,X | Duration$ Permanent | SpellDescription$ You get an emblem with "{1}{B}, Sacrifice a creature: You gain X life and draw X cards, where X is the sacrificed creature's power." -SVar:ObGainLife:AB$ GainLife | Cost$ 1 B Sac<1/Creature> | ActivationZone$ Command | LifeAmount$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ You gain X life and draw X cards, where X is the sacrificed creature's power. -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X +SVar:ObGainLife:AB$ GainLife | Cost$ 1 B Sac<1/Creature> | ActivationZone$ Command | LifeAmount$ X | SubAbility$ DBDraw | SpellDescription$ You gain X life and draw X cards, where X is the sacrificed creature's power. +SVar:DBDraw:DB$ Draw | NumCards$ X SVar:X:Sacrificed$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/ob_nixilis_of_the_black_oath.jpg diff --git a/forge-gui/res/cardsfolder/o/oblivion_sower.txt b/forge-gui/res/cardsfolder/o/oblivion_sower.txt index e3557935053..26ce8e7d498 100644 --- a/forge-gui/res/cardsfolder/o/oblivion_sower.txt +++ b/forge-gui/res/cardsfolder/o/oblivion_sower.txt @@ -5,7 +5,7 @@ PT:5/8 T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When you cast this spell, target opponent exiles the top four cards of their library, then you may put any number of land cards that player owns from exile onto the battlefield under your control. SVar:TrigExile:DB$ Dig | DigNum$ 4 | ChangeNum$ All | DestinationZone$ Exile | ValidTgts$ Opponent | SubAbility$ DBPump | TgtPrompt$ Choose target opponent SVar:DBPump:DB$ Pump | RememberObjects$ Targeted | SubAbility$ DBSower -SVar:DBSower:DB$ ChangeZone | Origin$ Exile | Destination$ Battlefield | Hidden$ True | ChangeType$ Land.RememberedPlayerOwn | GainControl$ True | ChangeNum$ X | References$ X | SubAbility$ DBCleanup +SVar:DBSower:DB$ ChangeZone | Origin$ Exile | Destination$ Battlefield | Hidden$ True | ChangeType$ Land.RememberedPlayerOwn | GainControl$ True | ChangeNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ValidExile Land.RememberedPlayerOwn Oracle:When you cast this spell, target opponent exiles the top four cards of their library, then you may put any number of land cards that player owns from exile onto the battlefield under your control. diff --git a/forge-gui/res/cardsfolder/o/oboro_envoy.txt b/forge-gui/res/cardsfolder/o/oboro_envoy.txt index accd008ba88..c0ea31d69a4 100644 --- a/forge-gui/res/cardsfolder/o/oboro_envoy.txt +++ b/forge-gui/res/cardsfolder/o/oboro_envoy.txt @@ -3,7 +3,7 @@ ManaCost:3 U Types:Creature Moonfolk Wizard PT:1/3 K:Flying -A:AB$ Pump | Cost$ 2 Return<1/Land> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | References$ X | IsCurse$ True | SpellDescription$ Target creature gets -X/-0 until end of turn, where X is the number of cards in your hand. +A:AB$ Pump | Cost$ 2 Return<1/Land> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | IsCurse$ True | SpellDescription$ Target creature gets -X/-0 until end of turn, where X is the number of cards in your hand. SVar:X:Count$InYourHand AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/oboro_envoy.jpg diff --git a/forge-gui/res/cardsfolder/o/obosh_the_preypiercer.txt b/forge-gui/res/cardsfolder/o/obosh_the_preypiercer.txt index a2734f74382..2d295bd98d4 100644 --- a/forge-gui/res/cardsfolder/o/obosh_the_preypiercer.txt +++ b/forge-gui/res/cardsfolder/o/obosh_the_preypiercer.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Hellion Horror PT:3/5 K:Companion:Card.cmcM21,Land:Your starting deck contains only cards with odd converted mana costs and land cards. R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.YouCtrl+cmcM21 | ValidTarget$ Permanent,Player | ReplaceWith$ DmgTwice | Description$ If a source you control with an odd converted mana cost would deal damage to a permanent or player, it deals double that damage to that permanent or player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ Y | References$ Y +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ Y SVar:Y:ReplaceCount$DamageAmount/Twice SVar:PlayMain1:TRUE Oracle:Companion — Your starting deck contains only cards with odd converted mana costs and land cards. (If this card is your chosen companion, you may put it into your hand from outside the game for {3} any time you could cast a sorcery.)\nIf a source you control with an odd converted mana cost would deal damage to a permanent or player, it deals double that damage to that permanent or player instead. diff --git a/forge-gui/res/cardsfolder/o/obstinate_familiar.txt b/forge-gui/res/cardsfolder/o/obstinate_familiar.txt index 343501eb3da..fdd0cbd18d7 100644 --- a/forge-gui/res/cardsfolder/o/obstinate_familiar.txt +++ b/forge-gui/res/cardsfolder/o/obstinate_familiar.txt @@ -2,7 +2,7 @@ Name:Obstinate Familiar ManaCost:R Types:Creature Lizard PT:1/1 -R:Event$ Draw | ActiveZones$ Battlefield | ValidPlayer$ You | Optional$ True | Prevent$ True | AICheckSVar$ AIHandling | AISVarCompare$ EQ0 | References$ AIHandling | Description$ If you would draw a card, you may skip that draw instead. +R:Event$ Draw | ActiveZones$ Battlefield | ValidPlayer$ You | Optional$ True | Prevent$ True | AICheckSVar$ AIHandling | AISVarCompare$ EQ0 | Description$ If you would draw a card, you may skip that draw instead. SVar:AIHandling:Count$InYourLibrary SVar:Picture:http://www.wizards.com/global/images/magic/general/obstinate_familiar.jpg Oracle:If you would draw a card, you may skip that draw instead. diff --git a/forge-gui/res/cardsfolder/o/obuun_mul_daya_ancestor.txt b/forge-gui/res/cardsfolder/o/obuun_mul_daya_ancestor.txt index 5b868dc4f4b..70701ce2bed 100644 --- a/forge-gui/res/cardsfolder/o/obuun_mul_daya_ancestor.txt +++ b/forge-gui/res/cardsfolder/o/obuun_mul_daya_ancestor.txt @@ -3,7 +3,7 @@ ManaCost:1 R G W Types:Legendary Creature Elf Spirit PT:3/3 T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAnimate | TriggerDescription$ At the beginning of combat on your turn, up to one target land you control becomes an X/X Elemental creature with trample and haste until end of turn, where X is CARDNAME’s power. It’s still a land. -SVar:TrigAnimate:DB$ Animate | ValidTgts$ Land.YouCtrl | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select up to one target land you control | Power$ X | Toughness$ X | References$ X | Types$ Elemental,Creature | Keywords$ Trample & Haste +SVar:TrigAnimate:DB$ Animate | ValidTgts$ Land.YouCtrl | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select up to one target land you control | Power$ X | Toughness$ X | Types$ Elemental,Creature | Keywords$ Trample & Haste T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Landfall - Whenever a land enters the battlefield under your control, put a +1/+1 counter on target creature. SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ 1 SVar:X:Count$CardPower diff --git a/forge-gui/res/cardsfolder/o/obzedat_ghost_council.txt b/forge-gui/res/cardsfolder/o/obzedat_ghost_council.txt index 15f0579cc5b..b4a71d4a1eb 100644 --- a/forge-gui/res/cardsfolder/o/obzedat_ghost_council.txt +++ b/forge-gui/res/cardsfolder/o/obzedat_ghost_council.txt @@ -7,7 +7,7 @@ SVar:TrigDrain:DB$ LoseLife | ValidTgts$ Opponent | LifeAmount$ 2 | SubAbility$ SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigExile | OptionalDecider$ You | TriggerDescription$ At the beginning of your end step you may exile CARDNAME. If you do, return it to the battlefield under it's owner's control at the beginning of your next upkeep. It gains haste. SVar:TrigExile:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destination$ Exile | SubAbility$ DBDelaytrig -SVar:DBDelaytrig:DB$ Effect | Name$ Obzedat Effect | Triggers$ TrigEOT | SVars$ ObzedatReturn,ObzedatPump,ObzedatCleanup | References$ TrigEOT,ObzedatReturn,ObzedatPump,ObzedatCleanup | RememberObjects$ Self | Duration$ Permanent +SVar:DBDelaytrig:DB$ Effect | Name$ Obzedat Effect | Triggers$ TrigEOT | SVars$ ObzedatReturn,ObzedatPump,ObzedatCleanup | RememberObjects$ Self | Duration$ Permanent SVar:TrigEOT:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ ObzedatReturn | TriggerDescription$ Return CARDNAME to the battlefield under it's owner's control. It gains haste. SVar:ObzedatReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ Exile | Destination$ Battlefield | SubAbility$ ObzedatPump SVar:ObzedatPump:DB$ Pump | Defined$ Remembered | KW$ Haste | Permanent$ True | SubAbility$ ObzedatCleanup diff --git a/forge-gui/res/cardsfolder/o/of_one_mind.txt b/forge-gui/res/cardsfolder/o/of_one_mind.txt index 96f69d1a1ec..f7e38d3441e 100755 --- a/forge-gui/res/cardsfolder/o/of_one_mind.txt +++ b/forge-gui/res/cardsfolder/o/of_one_mind.txt @@ -1,7 +1,7 @@ Name:Of One Mind ManaCost:2 U Types:Sorcery -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 2 | EffectZone$ All | CheckSVar$ Z | SVarCompare$ GE2 | References$ X,Y,Z | Description$ CARDNAME costs {2} less to cast if you control a Human creature and a non-Human creature. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 2 | EffectZone$ All | CheckSVar$ Z | SVarCompare$ GE2 | Description$ CARDNAME costs {2} less to cast if you control a Human creature and a non-Human creature. SVar:X:Count$Valid Creature.Human+YouCtrl/LimitMax.1 SVar:Y:Count$Valid Creature.nonHuman+YouCtrl/LimitMax.1 SVar:Z:SVar$X/Plus.Y diff --git a/forge-gui/res/cardsfolder/o/okaun_eye_of_chaos.txt b/forge-gui/res/cardsfolder/o/okaun_eye_of_chaos.txt index 904a4141037..240d2e2463d 100644 --- a/forge-gui/res/cardsfolder/o/okaun_eye_of_chaos.txt +++ b/forge-gui/res/cardsfolder/o/okaun_eye_of_chaos.txt @@ -6,7 +6,7 @@ K:Partner:Zndrsplt, Eye of Wisdom:Zndrsplt T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigFlip | TriggerDescription$ At the beginning of combat on your turn, flip a coin until you lose a flip. SVar:TrigFlip:DB$ FlipACoin | FlipUntilYouLose$ True T:Mode$ FlippedCoin | ValidResult$ Win | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever a player wins a coin flip, double CARDNAME's power and toughness until end of turn. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +Y | References$ X,Y +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +Y SVar:X:Count$CardPower SVar:Y:Count$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/okaun_eye_of_chaos.jpg diff --git a/forge-gui/res/cardsfolder/o/oketras_last_mercy.txt b/forge-gui/res/cardsfolder/o/oketras_last_mercy.txt index 91d513c2dc5..9350053d387 100644 --- a/forge-gui/res/cardsfolder/o/oketras_last_mercy.txt +++ b/forge-gui/res/cardsfolder/o/oketras_last_mercy.txt @@ -1,7 +1,7 @@ Name:Oketra's Last Mercy ManaCost:1 W W Types:Sorcery -A:SP$ SetLife | Cost$ 1 W W | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBNoUntap | SpellDescription$ Your life total becomes equal to your starting life total. +A:SP$ SetLife | Cost$ 1 W W | Defined$ You | LifeAmount$ X | SubAbility$ DBNoUntap | SpellDescription$ Your life total becomes equal to your starting life total. SVar:DBNoUntap:DB$ Effect | StaticAbilities$ DontUntap | Triggers$ RemoveEffect | SVars$ ExileEffect | Duration$ Permanent | Name$ Oketra's Last Mercy Effect | SpellDescription$ Lands you control don't untap during your next untap step. SVar:DontUntap:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Battlefield | Affected$ Land.YouCtrl | AddHiddenKeyword$ This card doesn't untap during your next untap step. SVar:RemoveEffect:Mode$ Phase | Phase$ Untap | ValidPlayer$ You | TriggerZones$ Command | Static$ True | Execute$ ExileEffect diff --git a/forge-gui/res/cardsfolder/o/okina_nightwatch.txt b/forge-gui/res/cardsfolder/o/okina_nightwatch.txt index cf583513189..c62decf46a2 100644 --- a/forge-gui/res/cardsfolder/o/okina_nightwatch.txt +++ b/forge-gui/res/cardsfolder/o/okina_nightwatch.txt @@ -2,7 +2,7 @@ Name:Okina Nightwatch ManaCost:4 G Types:Creature Human Monk PT:4/3 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 3 | AddToughness$ 3 | CheckSVar$ X | SVarCompare$ GTY | References$ X,Y | Description$ As long as you have more cards in hand than each opponent, CARDNAME gets +3/+3. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 3 | AddToughness$ 3 | CheckSVar$ X | SVarCompare$ GTY | Description$ As long as you have more cards in hand than each opponent, CARDNAME gets +3/+3. SVar:X:Count$InYourHand SVar:Y:PlayerCountOpponents$HighestCardsInHand SVar:Picture:http://www.wizards.com/global/images/magic/general/okina_nightwatch.jpg diff --git a/forge-gui/res/cardsfolder/o/old_man_of_the_sea.txt b/forge-gui/res/cardsfolder/o/old_man_of_the_sea.txt index 22c2598ee49..e2c58052672 100644 --- a/forge-gui/res/cardsfolder/o/old_man_of_the_sea.txt +++ b/forge-gui/res/cardsfolder/o/old_man_of_the_sea.txt @@ -3,7 +3,7 @@ ManaCost:1 U U Types:Creature Djinn PT:2/3 K:You may choose not to untap CARDNAME during your untap step. -A:AB$ GainControl | Cost$ T | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power less than or equal to Old Man's. | LoseControl$ Untap,LeavesPlay,LoseControl,StaticCommandCheck | StaticCommandCheckSVar$ Y | StaticCommandSVarCompare$ GTX | References$ X,Y | SpellDescription$ Gain control of target creature with power less than or equal to Old Man of the Sea's power for as long as Old Man of the Sea remains tapped and that creature's power remains less than or equal to Old Man of the Sea's power. +A:AB$ GainControl | Cost$ T | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power less than or equal to Old Man's. | LoseControl$ Untap,LeavesPlay,LoseControl,StaticCommandCheck | StaticCommandCheckSVar$ Y | StaticCommandSVarCompare$ GTX | SpellDescription$ Gain control of target creature with power less than or equal to Old Man of the Sea's power for as long as Old Man of the Sea remains tapped and that creature's power remains less than or equal to Old Man of the Sea's power. SVar:X:Count$CardPower # the hostcard of SVar Y is the controlled card SVar:Y:Count$CardPower diff --git a/forge-gui/res/cardsfolder/o/omen_of_fire.txt b/forge-gui/res/cardsfolder/o/omen_of_fire.txt index 9a8db38de85..e130639bfe8 100644 --- a/forge-gui/res/cardsfolder/o/omen_of_fire.txt +++ b/forge-gui/res/cardsfolder/o/omen_of_fire.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Instant A:SP$ ChangeZoneAll | Cost$ 3 R R | ChangeType$ Island | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return all Islands to their owners' hands. Each player sacrifices a Plains or a white permanent for each white permanent they control. | SubAbility$ DBSac SVar:DBSac:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBSacEach -SVar:DBSacEach:DB$ Sacrifice | Defined$ Player.IsRemembered | Amount$ OppX | SacValid$ Plains,Permanent.White | References$ OppX +SVar:DBSacEach:DB$ Sacrifice | Defined$ Player.IsRemembered | Amount$ OppX | SacValid$ Plains,Permanent.White SVar:OppX:Count$Valid Permanent.White+RememberedPlayerCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/omen_of_fire.jpg diff --git a/forge-gui/res/cardsfolder/o/omnath_locus_of_creation.txt b/forge-gui/res/cardsfolder/o/omnath_locus_of_creation.txt index 5dc8c6826b9..9a7eb08ec27 100644 --- a/forge-gui/res/cardsfolder/o/omnath_locus_of_creation.txt +++ b/forge-gui/res/cardsfolder/o/omnath_locus_of_creation.txt @@ -6,7 +6,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ LandfallReset | Static$ True T:Mode$ TurnBegin | ValidPlayer$ Player | Static$ True | TriggerZones$ Battlefield | Execute$ LandfallReset -SVar:LandfallReset:DB$ StoreSVar | SVar$ LandfallAmount | Type$ Number | Expression$ 0 | References$ LandfallAmount +SVar:LandfallReset:DB$ StoreSVar | SVar$ LandfallAmount | Type$ Number | Expression$ 0 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigLandfallCount | TriggerDescription$ Landfall - Whenever a land enters the battlefield under your control, you gain 4 life if this is the first time this ability has resolved this turn. If it's the second time, add {R}{G}{W}{U}. If it's the third time, CARDNAME deals 4 damage to each opponent and each planeswalker you don't control. SVar:TrigLandfallCount:DB$ StoreSVar | SVar$ LandfallAmount | Type$ CountSVar | SubAbility$ DBGainLife | Expression$ LandfallAmount/Plus.1 SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 4 | ConditionCheckSVar$ LandfallAmount | ConditionSVarCompare$ EQ1 | SubAbility$ DBMana diff --git a/forge-gui/res/cardsfolder/o/omnath_locus_of_mana.txt b/forge-gui/res/cardsfolder/o/omnath_locus_of_mana.txt index c8d0e96e527..8696f7846d6 100644 --- a/forge-gui/res/cardsfolder/o/omnath_locus_of_mana.txt +++ b/forge-gui/res/cardsfolder/o/omnath_locus_of_mana.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Legendary Creature Elemental PT:1/1 S:Mode$ Continuous | Affected$ You | AddKeyword$ Green mana doesn't empty from your mana pool as steps and phases end. | Description$ You don't lose unspent green mana as steps and phases end. -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each unspent green mana you have. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each unspent green mana you have. SVar:X:Count$ManaPool:green AI:RemoveDeck:All Oracle:You don't lose unspent green mana as steps and phases end.\nOmnath, Locus of Mana gets +1/+1 for each unspent green mana you have. diff --git a/forge-gui/res/cardsfolder/o/omnath_locus_of_the_roil.txt b/forge-gui/res/cardsfolder/o/omnath_locus_of_the_roil.txt index 8c75b3fe602..b9f82bbd871 100644 --- a/forge-gui/res/cardsfolder/o/omnath_locus_of_the_roil.txt +++ b/forge-gui/res/cardsfolder/o/omnath_locus_of_the_roil.txt @@ -3,7 +3,7 @@ ManaCost:1 G U R Types:Legendary Creature Elemental PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals damage to any target equal to the number of Elementals you control. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$Valid Elemental.YouCtrl T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a land enters the battlefield under your control, put a +1/+1 counter on target Elemental you control. If you control eight or more lands, draw a card. SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Elemental.YouCtrl | TgtPrompt$ Select target Elemental you control | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBDraw diff --git a/forge-gui/res/cardsfolder/o/once_and_future.txt b/forge-gui/res/cardsfolder/o/once_and_future.txt index 6aa3b03f15f..882e22b118d 100644 --- a/forge-gui/res/cardsfolder/o/once_and_future.txt +++ b/forge-gui/res/cardsfolder/o/once_and_future.txt @@ -3,8 +3,8 @@ ManaCost:3 G Types:Instant A:SP$ ChangeZone | Cost$ 3 G | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Select target card in your graveyard to return to your hand | ValidTgts$ Card.YouOwn | SubAbility$ DBPump | AIManaPref$ G | StackDescription$ SpellDescription | SpellDescription$ Return target card from your graveyard to your hand. Put up to one other target card from your graveyard on top of your library. Exile CARDNAME. Adamant — If at least three green mana was spent to cast this spell, instead return those cards to your hand and exile CARDNAME. SVar:DBPump:DB$ Pump | TargetMin$ 0 | TargetMax$ 1 | TgtZone$ Graveyard | TgtPrompt$ Select up to one target card in your graveyard to put on top of your library | ValidTgts$ Card.YouOwn | TargetUnique$ True | RememberObjects$ ThisTargetedCard | SubAbility$ DBReturn | StackDescription$ None -SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Library | Hidden$ True | Defined$ Remembered | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBReturn2 -SVar:DBReturn2:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Hidden$ True | Defined$ Remembered | ConditionCheckSVar$ X | References$ X | SubAbility$ DBExile +SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Library | Hidden$ True | Defined$ Remembered | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBReturn2 +SVar:DBReturn2:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Hidden$ True | Defined$ Remembered | ConditionCheckSVar$ X | SubAbility$ DBExile SVar:DBExile:DB$ ChangeZone | Defined$ Self | Origin$ Stack | Destination$ Exile | SubAbility$ DBCleanup | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Adamant.Green.1.0 diff --git a/forge-gui/res/cardsfolder/o/ondu_cleric.txt b/forge-gui/res/cardsfolder/o/ondu_cleric.txt index 9b6d5b071f4..59670fe7818 100644 --- a/forge-gui/res/cardsfolder/o/ondu_cleric.txt +++ b/forge-gui/res/cardsfolder/o/ondu_cleric.txt @@ -4,7 +4,7 @@ Types:Creature Kor Cleric Ally PT:1/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self| OptionalDecider$ You | Execute$ TrigGainLife | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may gain life equal to the number of Allies you control. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Ally.Other+YouCtrl | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigGainLife | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may gain life equal to the number of Allies you control. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Ally.YouCtrl SVar:BuffedBy:Ally AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/o/one_with_the_machine.txt b/forge-gui/res/cardsfolder/o/one_with_the_machine.txt index 7541a36f281..3144a208001 100644 --- a/forge-gui/res/cardsfolder/o/one_with_the_machine.txt +++ b/forge-gui/res/cardsfolder/o/one_with_the_machine.txt @@ -1,6 +1,6 @@ Name:One with the Machine ManaCost:3 U Types:Sorcery -A:SP$ Draw | Cost$ 3 U | Defined$ You | NumCards$ X | References$ X | SpellDescription$ Draw cards equal to the highest converted mana cost among artifacts you control. +A:SP$ Draw | Cost$ 3 U | Defined$ You | NumCards$ X | SpellDescription$ Draw cards equal to the highest converted mana cost among artifacts you control. SVar:X:Count$HighestCMC_Artifact.YouCtrl+inZoneBattlefield Oracle:Draw cards equal to the highest converted mana cost among artifacts you control. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/o/only_blood_ends_your_nightmares.txt b/forge-gui/res/cardsfolder/o/only_blood_ends_your_nightmares.txt index d4e88744a8c..2da4bf5c0c6 100644 --- a/forge-gui/res/cardsfolder/o/only_blood_ends_your_nightmares.txt +++ b/forge-gui/res/cardsfolder/o/only_blood_ends_your_nightmares.txt @@ -4,7 +4,7 @@ Types:Scheme T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ TrigSacEach | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, each opponent sacrifices a creature. Then each opponent who didn't sacrifice a creature discards two cards. SVar:TrigSacEach:DB$ Sacrifice | Defined$ Player.Opponent | SacValid$ Creature | RememberSacrificed$ True | SubAbility$ DBRepeat SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBDiscard | SubAbility$ DBCleanup -SVar:DBDiscard:DB$ Discard | Defined$ Player.IsRemembered | Mode$ TgtChoose | NumCards$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X +SVar:DBDiscard:DB$ Discard | Defined$ Player.IsRemembered | Mode$ TgtChoose | NumCards$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Card.RememberedPlayerCtrl SVar:Picture:https://downloads.cardforge.org/images/cards/ARC/Only Blood Ends Your Nightmares.full.jpg diff --git a/forge-gui/res/cardsfolder/o/onward_victory.txt b/forge-gui/res/cardsfolder/o/onward_victory.txt index 705c15d9d98..3f571a15c66 100644 --- a/forge-gui/res/cardsfolder/o/onward_victory.txt +++ b/forge-gui/res/cardsfolder/o/onward_victory.txt @@ -2,7 +2,7 @@ Name:Onward ManaCost:2 R AlternateMode: Split Types:Instant -A:SP$ Pump | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X | SpellDescription$ Target creature gets +X/+0 until end of turn, where X is its power. +A:SP$ Pump | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SpellDescription$ Target creature gets +X/+0 until end of turn, where X is its power. SVar:X:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/onward_victory.jpg Oracle:Target creature gets +X/+0 until end of turn, where X is its power. diff --git a/forge-gui/res/cardsfolder/o/oona_queen_of_the_fae.txt b/forge-gui/res/cardsfolder/o/oona_queen_of_the_fae.txt index 3e1ccab358c..49170311847 100644 --- a/forge-gui/res/cardsfolder/o/oona_queen_of_the_fae.txt +++ b/forge-gui/res/cardsfolder/o/oona_queen_of_the_fae.txt @@ -4,8 +4,8 @@ Types:Legendary Creature Faerie Wizard PT:5/5 K:Flying A:AB$ ChooseColor | Cost$ X UB | Defined$ You | AILogic$ MostProminentInHumanDeck | SubAbility$ DBExile | SpellDescription$ Choose a color. Target opponent exiles the top X cards of their library. For each card of the chosen color exiled this way, create a 1/1 blue and black Faerie Rogue creature token with flying. -SVar:DBExile:DB$ Dig | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | DigNum$ X | ChangeNum$ All | References$ X | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBToken -SVar:DBToken:DB$Token | TokenAmount$ Y | References$ Y | TokenScript$ ub_1_1_faerie_rogue_flying | TokenOwner$ You | SubAbility$ Clear +SVar:DBExile:DB$ Dig | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBToken +SVar:DBToken:DB$Token | TokenAmount$ Y | TokenScript$ ub_1_1_faerie_rogue_flying | TokenOwner$ You | SubAbility$ Clear SVar:Clear:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid SVar:Y:Remembered$Valid Card.ChosenColor diff --git a/forge-gui/res/cardsfolder/o/ooze_garden.txt b/forge-gui/res/cardsfolder/o/ooze_garden.txt index 291c6dd2c30..e658a99490d 100644 --- a/forge-gui/res/cardsfolder/o/ooze_garden.txt +++ b/forge-gui/res/cardsfolder/o/ooze_garden.txt @@ -1,7 +1,7 @@ Name:Ooze Garden ManaCost:1 G Types:Enchantment -A:AB$ Token | Cost$ 1 G Sac<1/Creature.nonOoze/non-Ooze creature> | TokenAmount$ 1 | TokenScript$ g_x_x_ooze | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | LegacyImage$ g x x ooze ala | SorcerySpeed$ True | SpellDescription$ Create an X/X green Ooze creature token, where X is the sacrificed creature's power. Activate this ability only any time you could cast a sorcery. +A:AB$ Token | Cost$ 1 G Sac<1/Creature.nonOoze/non-Ooze creature> | TokenAmount$ 1 | TokenScript$ g_x_x_ooze | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | LegacyImage$ g x x ooze ala | SorcerySpeed$ True | SpellDescription$ Create an X/X green Ooze creature token, where X is the sacrificed creature's power. Activate this ability only any time you could cast a sorcery. SVar:X:Sacrificed$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/ooze_garden.jpg Oracle:{1}{G}, Sacrifice a non-Ooze creature: Create an X/X green Ooze creature token, where X is the sacrificed creature's power. Activate this ability only any time you could cast a sorcery. diff --git a/forge-gui/res/cardsfolder/o/opal_eye_kondas_yojimbo.txt b/forge-gui/res/cardsfolder/o/opal_eye_kondas_yojimbo.txt index 7738f661564..6ea5fea5329 100644 --- a/forge-gui/res/cardsfolder/o/opal_eye_kondas_yojimbo.txt +++ b/forge-gui/res/cardsfolder/o/opal_eye_kondas_yojimbo.txt @@ -5,7 +5,7 @@ PT:1/4 K:Defender K:Bushido:1 A:AB$ ChooseSource | Cost$ T | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice would deal damage this turn, that damage is dealt to CARDNAME instead. -SVar:DBEffect:DB$ Effect | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,OutOfSight | References$ SelflessDamage,OutOfSight,SelflessDmg,ExileEffect | Duration$ HostLeavesOrEOT | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 +SVar:DBEffect:DB$ Effect | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,OutOfSight | Duration$ HostLeavesOrEOT | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ You | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ SelflessDmg | DamageTarget$ EffectSource | Description$ The next time a source of your choice would deal damage to you this turn, that damage is dealt to EFFECTSOURCE instead. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ EffectSource | VarType$ Card | SubAbility$ ExileEffect SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Defined$ ChosenCard | Execute$ ExileEffect | Static$ True diff --git a/forge-gui/res/cardsfolder/o/opalescence.txt b/forge-gui/res/cardsfolder/o/opalescence.txt index fc9e07db32b..5b2b964d20a 100644 --- a/forge-gui/res/cardsfolder/o/opalescence.txt +++ b/forge-gui/res/cardsfolder/o/opalescence.txt @@ -1,7 +1,7 @@ Name:Opalescence ManaCost:2 W W Types:Enchantment -S:Mode$ Continuous | Affected$ Enchantment.nonAura+Other | SetPower$ AffectedX | SetToughness$ AffectedX | References$ AffectedX | AddType$ Creature | Description$ Each other non-Aura enchantment is a creature in addition to its other types and has base power and base toughness each equal to its converted mana cost. +S:Mode$ Continuous | Affected$ Enchantment.nonAura+Other | SetPower$ AffectedX | SetToughness$ AffectedX | AddType$ Creature | Description$ Each other non-Aura enchantment is a creature in addition to its other types and has base power and base toughness each equal to its converted mana cost. SVar:AffectedX:Count$CardManaCost SVar:PlayMain1:ALWAYS AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/o/opaline_bracers.txt b/forge-gui/res/cardsfolder/o/opaline_bracers.txt index 382799f2231..fed4f0b469c 100644 --- a/forge-gui/res/cardsfolder/o/opaline_bracers.txt +++ b/forge-gui/res/cardsfolder/o/opaline_bracers.txt @@ -2,7 +2,7 @@ Name:Opaline Bracers ManaCost:4 Types:Artifact Equipment K:Equip:2 -S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ Equipped creature gets +X/+X, where X is the number of charge counters on CARDNAME. +S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ X | Description$ Equipped creature gets +X/+X, where X is the number of charge counters on CARDNAME. K:Sunburst SVar:X:Count$CardCounters.CHARGE SVar:NeedsToPlayVar:Z GE1 diff --git a/forge-gui/res/cardsfolder/o/open_into_wonder.txt b/forge-gui/res/cardsfolder/o/open_into_wonder.txt index 2e9596a90e0..133f3e28a36 100644 --- a/forge-gui/res/cardsfolder/o/open_into_wonder.txt +++ b/forge-gui/res/cardsfolder/o/open_into_wonder.txt @@ -1,7 +1,7 @@ Name:Open into Wonder ManaCost:X U U Types:Sorcery -A:SP$ Pump | Cost$ X U U | ValidTgts$ Creature | KW$ HIDDEN Unblockable | AILogic$ Pump | TargetMin$ X | TargetMax$ X | TgtPrompt$ Select X target creatures | References$ X | SubAbility$ DBAnimate | StackDescription$ X target creatures [{c:Targeted}] can't be blocked this turn. Until end of turn, those creatures gain "Whenever this creature deals combat damage to a player, draw a card." | SpellDescription$ X target creatures can't be blocked this turn. Until end of turn, those creatures gain "Whenever this creature deals combat damage to a player, draw a card." +A:SP$ Pump | Cost$ X U U | ValidTgts$ Creature | KW$ HIDDEN Unblockable | AILogic$ Pump | TargetMin$ X | TargetMax$ X | TgtPrompt$ Select X target creatures | SubAbility$ DBAnimate | StackDescription$ X target creatures [{c:Targeted}] can't be blocked this turn. Until end of turn, those creatures gain "Whenever this creature deals combat damage to a player, draw a card." | SpellDescription$ X target creatures can't be blocked this turn. Until end of turn, those creatures gain "Whenever this creature deals combat damage to a player, draw a card." SVar:DBAnimate:DB$ Animate | Defined$ Targeted | Triggers$ OpenIntoWonderTrigger | sVars$ OpenIntoWonderDraw | StackDescription$ None SVar:OpenIntoWonderTrigger:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ OpenIntoWonderDraw | CombatDamage$ True | TriggerDescription$ Whenever this creature deals combat damage to a player, draw a card. SVar:OpenIntoWonderDraw:DB$Draw | NumCards$ 1 diff --git a/forge-gui/res/cardsfolder/o/ophiomancer.txt b/forge-gui/res/cardsfolder/o/ophiomancer.txt index 57f5a80bbdb..55231e0c697 100644 --- a/forge-gui/res/cardsfolder/o/ophiomancer.txt +++ b/forge-gui/res/cardsfolder/o/ophiomancer.txt @@ -2,7 +2,7 @@ Name:Ophiomancer ManaCost:2 B Types:Creature Human Shaman PT:2/2 -T:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | Execute$ TrigToken | CheckSVar$ X | SVarCompare$ EQ0 | References$ X | TriggerDescription$ At the beginning of each upkeep, if you control no Snakes, create a 1/1 black Snake creature token with deathtouch. +T:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | Execute$ TrigToken | CheckSVar$ X | SVarCompare$ EQ0 | TriggerDescription$ At the beginning of each upkeep, if you control no Snakes, create a 1/1 black Snake creature token with deathtouch. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ b_1_1_snake_deathtouch | TokenOwner$ You | LegacyImage$ b 1 1 snake deathtouch c13 SVar:X:Count$Valid Snake.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/ophiomancer.jpg diff --git a/forge-gui/res/cardsfolder/o/oppressive_will.txt b/forge-gui/res/cardsfolder/o/oppressive_will.txt index e02a536f0e4..55c3a634d81 100644 --- a/forge-gui/res/cardsfolder/o/oppressive_will.txt +++ b/forge-gui/res/cardsfolder/o/oppressive_will.txt @@ -1,7 +1,7 @@ Name:Oppressive Will ManaCost:2 U Types:Instant -A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X | SpellDescription$ Counter target spell unless its controller pays {1} for each card in your hand. +A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {1} for each card in your hand. SVar:X:Count$InYourHand AI:RemoveDeck:All Oracle:Counter target spell unless its controller pays {1} for each card in your hand. diff --git a/forge-gui/res/cardsfolder/o/oracle_of_nectars.txt b/forge-gui/res/cardsfolder/o/oracle_of_nectars.txt index ce9455492d7..ec203008020 100644 --- a/forge-gui/res/cardsfolder/o/oracle_of_nectars.txt +++ b/forge-gui/res/cardsfolder/o/oracle_of_nectars.txt @@ -2,7 +2,7 @@ Name:Oracle of Nectars ManaCost:2 GW Types:Creature Elf Cleric PT:2/2 -A:AB$ GainLife | LifeAmount$ X | Cost$ T X | References$ X | SpellDescription$ You gain X life. +A:AB$ GainLife | LifeAmount$ X | Cost$ T X | SpellDescription$ You gain X life. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/oracle_of_nectars.jpg Oracle:{X}, {T}: You gain X life. diff --git a/forge-gui/res/cardsfolder/o/oracles_attendants.txt b/forge-gui/res/cardsfolder/o/oracles_attendants.txt index d0b6bec683f..ca226106a21 100644 --- a/forge-gui/res/cardsfolder/o/oracles_attendants.txt +++ b/forge-gui/res/cardsfolder/o/oracles_attendants.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Human Soldier PT:1/5 A:AB$ ChooseSource | Cost$ T | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ All damage that would be dealt to target creature this turn by a source of your choice is dealt to CARDNAME instead. -SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect the damage from | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,ExileEffect | References$ SelflessDamage,OutOfSight,SelflessDmg,ExileEffect | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 +SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect the damage from | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,ExileEffect | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ Creature.IsRemembered | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ SelflessDmg | DamageTarget$ EffectSource | Description$ The next time a source of your choice would deal damage to target creature this turn, that damage is dealt to EFFECTSOURCE instead. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ EffectSource | VarType$ Card #Zone Change for the source of your choice diff --git a/forge-gui/res/cardsfolder/o/oracles_vault.txt b/forge-gui/res/cardsfolder/o/oracles_vault.txt index 81274db4259..0db3ff1de3c 100644 --- a/forge-gui/res/cardsfolder/o/oracles_vault.txt +++ b/forge-gui/res/cardsfolder/o/oracles_vault.txt @@ -5,7 +5,7 @@ A:AB$ Dig | Cost$ 2 T | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZ SVar:DBEffect1:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play1 | SubAbility$ DBPutCounter | ExileOnMoved$ Exile SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ BRICK | CounterNum$ 1 | SubAbility$ DBCleanup SVar:Play1:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. -A:AB$ Dig | Cost$ T | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect2 | CheckSVar$ X | SVarCompare$ GE3 | References$ X | AILogic$ ExileAndPlayUntilEOT | SpellDescription$ Exile the top card of your library. Until end of turn, you may play that card without paying its mana cost. Activate this ability only if there are three or more brick counters on CARDNAME. +A:AB$ Dig | Cost$ T | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect2 | CheckSVar$ X | SVarCompare$ GE3 | AILogic$ ExileAndPlayUntilEOT | SpellDescription$ Exile the top card of your library. Until end of turn, you may play that card without paying its mana cost. Activate this ability only if there are three or more brick counters on CARDNAME. SVar:DBEffect2:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play2 | SubAbility$ DBCleanup | ExileOnMoved$ Exile SVar:Play2:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | MayPlayWithoutManaCost$ True | AffectedZone$ Exile | Description$ You may play remembered card without paying its mana cost. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/o/orah_skyclave_hierophant.txt b/forge-gui/res/cardsfolder/o/orah_skyclave_hierophant.txt index efbdbdc6a1b..a473d4cbdbb 100755 --- a/forge-gui/res/cardsfolder/o/orah_skyclave_hierophant.txt +++ b/forge-gui/res/cardsfolder/o/orah_skyclave_hierophant.txt @@ -5,7 +5,7 @@ PT:3/3 K:Lifelink T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigReturn | TriggerDescription$ Whenever CARDNAME or another Cleric you control dies, return target Cleric with lesser converted mana cost from your graveyard to the battlefield. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Cleric.YouCtrl+Other | Execute$ TrigReturn | Secondary$ True | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME or another Cleric you control dies, return target Cleric card with lesser converted mana cost from your graveyard to the battlefield. -SVar:TrigReturn:DB$ ChangeZone | ValidTgts$ Cleric.cmcLTX+YouOwn | TgtPrompt$ Choose target Cleric card with lesser converted mana cost | References$ X | Origin$ Graveyard | Destination$ Battlefield +SVar:TrigReturn:DB$ ChangeZone | ValidTgts$ Cleric.cmcLTX+YouOwn | TgtPrompt$ Choose target Cleric card with lesser converted mana cost | Origin$ Graveyard | Destination$ Battlefield SVar:X:TriggeredCard$CardManaCost DeckHas:Ability$Graveyard DeckHints:Type$Cleric diff --git a/forge-gui/res/cardsfolder/o/oran_rief_hydra.txt b/forge-gui/res/cardsfolder/o/oran_rief_hydra.txt index 169ce64cb19..eaf914925c0 100644 --- a/forge-gui/res/cardsfolder/o/oran_rief_hydra.txt +++ b/forge-gui/res/cardsfolder/o/oran_rief_hydra.txt @@ -4,7 +4,7 @@ Types:Creature Hydra PT:5/5 K:Trample T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Landfall — Whenever a land enters the battlefield under your control, put a +1/+1 counter on CARDNAME. If that land is a Forest, put two +1/+1 counters on CARDNAME instead. -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X SVar:X:TriggeredCard$Valid Forest/Plus.1 SVar:BuffedBy:Land Oracle:Trample\nLandfall — Whenever a land enters the battlefield under your control, put a +1/+1 counter on Oran-Rief Hydra. If that land is a Forest, put two +1/+1 counters on Oran-Rief Hydra instead. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/o/orchard_elemental.txt b/forge-gui/res/cardsfolder/o/orchard_elemental.txt index 1762d4ffd96..609f3b57916 100644 --- a/forge-gui/res/cardsfolder/o/orchard_elemental.txt +++ b/forge-gui/res/cardsfolder/o/orchard_elemental.txt @@ -4,8 +4,8 @@ Types:Creature Elemental PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ Council's dilemma — When CARDNAME enters the battlefield, starting with you, each player votes for sprout or harvest. Put two +1/+1 counters on CARDNAME for each sprout vote. You gain 3 life for each harvest vote. SVar:TrigChangeZone:DB$ Vote | Defined$ Player | StoreVoteNum$ True | VoteType$ Sprout,Harvest | SubAbility$ DBVoteSprout | AiLogic$ SproutOrHarvest -SVar:DBVoteSprout:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ Counters | SubAbility$ DBVoteHarvest | References$ Counters -SVar:DBVoteHarvest:DB$ GainLife | LifeAmount$ Life | Defined$ You | References$ Life +SVar:DBVoteSprout:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ Counters | SubAbility$ DBVoteHarvest +SVar:DBVoteHarvest:DB$ GainLife | LifeAmount$ Life | Defined$ You SVar:Counters:SVar$VoteNumSprout/Times.2 SVar:Life:SVar$VoteNumHarvest/Times.3 DeckHas:Ability$Counters & Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/o/orchard_warden.txt b/forge-gui/res/cardsfolder/o/orchard_warden.txt index 09fee21783e..4f0491c0f13 100644 --- a/forge-gui/res/cardsfolder/o/orchard_warden.txt +++ b/forge-gui/res/cardsfolder/o/orchard_warden.txt @@ -3,7 +3,7 @@ ManaCost:4 G G Types:Creature Treefolk Shaman PT:4/6 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Treefolk.YouCtrl+Other | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigGainLife | TriggerDescription$ Whenever another Treefolk creature enters the battlefield under your control, you may gain life equal to that creature's toughness. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ Life | References$ Life +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ Life SVar:Life:TriggeredCard$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/orchard_warden.jpg Oracle:Whenever another Treefolk creature enters the battlefield under your control, you may gain life equal to that creature's toughness. diff --git a/forge-gui/res/cardsfolder/o/orcish_settlers.txt b/forge-gui/res/cardsfolder/o/orcish_settlers.txt index 43585d4a8c2..c568aabe954 100644 --- a/forge-gui/res/cardsfolder/o/orcish_settlers.txt +++ b/forge-gui/res/cardsfolder/o/orcish_settlers.txt @@ -2,7 +2,7 @@ Name:Orcish Settlers ManaCost:1 R Types:Creature Orc PT:1/1 -A:AB$ Destroy | Cost$ X X R T Sac<1/CARDNAME> | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Land | TgtPrompt$ Select X target lands | SpellDescription$ Destroy X target lands. +A:AB$ Destroy | Cost$ X X R T Sac<1/CARDNAME> | TargetMin$ X | TargetMax$ X | ValidTgts$ Land | TgtPrompt$ Select X target lands | SpellDescription$ Destroy X target lands. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{X}{X}{R}, {T}, Sacrifice Orcish Settlers: Destroy X target lands. diff --git a/forge-gui/res/cardsfolder/o/orcish_squatters_avatar.txt b/forge-gui/res/cardsfolder/o/orcish_squatters_avatar.txt index a88e7baf1e6..4166d6f58db 100644 --- a/forge-gui/res/cardsfolder/o/orcish_squatters_avatar.txt +++ b/forge-gui/res/cardsfolder/o/orcish_squatters_avatar.txt @@ -4,7 +4,7 @@ Types:Vanguard HandLifeModifier:-1/-1 T:Mode$ Phase | PreCombatMain$ True | ValidPlayer$ You | TriggerZones$ Command | Execute$ TrigGetMana | TriggerDescription$ At the beginning of your precombat main phase, add {C} for each land target opponent controls. SVar:TrigGetMana:DB$ Pump | ValidTgts$ Player | RememberObjects$ Targeted | SubAbility$ DBMana -SVar:DBMana:DB$ Mana | Produced$ C | Amount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBMana:DB$ Mana | Produced$ C | Amount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Land.RememberedPlayerCtrl SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Orcish Squatters Avatar.full.jpg diff --git a/forge-gui/res/cardsfolder/o/ordered_migration.txt b/forge-gui/res/cardsfolder/o/ordered_migration.txt index 4267667358e..7a2b2e237eb 100644 --- a/forge-gui/res/cardsfolder/o/ordered_migration.txt +++ b/forge-gui/res/cardsfolder/o/ordered_migration.txt @@ -1,7 +1,7 @@ Name:Ordered Migration ManaCost:3 W U Types:Sorcery -A:SP$ Token | Cost$ 3 W U | TokenAmount$ X | References$ X | TokenScript$ u_1_1_bird_flying | TokenOwner$ You | LegacyImage$ u 1 1 bird flying inv | SpellDescription$ Domain — Create a 1/1 blue Bird creature token with flying for each basic land type among lands you control. +A:SP$ Token | Cost$ 3 W U | TokenAmount$ X | TokenScript$ u_1_1_bird_flying | TokenOwner$ You | LegacyImage$ u 1 1 bird flying inv | SpellDescription$ Domain — Create a 1/1 blue Bird creature token with flying for each basic land type among lands you control. SVar:X:Count$Domain AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/ordered_migration.jpg diff --git a/forge-gui/res/cardsfolder/o/ore_scale_guardian.txt b/forge-gui/res/cardsfolder/o/ore_scale_guardian.txt index 425e84ed812..c9b71c2a07f 100644 --- a/forge-gui/res/cardsfolder/o/ore_scale_guardian.txt +++ b/forge-gui/res/cardsfolder/o/ore_scale_guardian.txt @@ -2,7 +2,7 @@ Name:Ore-Scale Guardian ManaCost:5 R R Types:Creature Dragon PT:4/4 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each land card in your graveyard. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each land card in your graveyard. SVar:X:Count$TypeInYourYard.Land K:Flying K:Haste diff --git a/forge-gui/res/cardsfolder/o/oreskos_explorer.txt b/forge-gui/res/cardsfolder/o/oreskos_explorer.txt index 57f741cebb4..8c46dba4b62 100644 --- a/forge-gui/res/cardsfolder/o/oreskos_explorer.txt +++ b/forge-gui/res/cardsfolder/o/oreskos_explorer.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Creature Cat Scout PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigSearch | TriggerDescription$ When CARDNAME enters the battlefield, search your library for up to X Plains cards, where X is the number of players who control more lands than you. Reveal those cards, put them into your hand, then shuffle your library. -SVar:TrigSearch:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Plains | ChangeNum$ X | Shuffle$ True | References$ X +SVar:TrigSearch:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Plains | ChangeNum$ X | Shuffle$ True SVar:X:PlayerCountPropertywithAtLeast1MoreLandsThanYou$Amount AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/oreskos_explorer.jpg diff --git a/forge-gui/res/cardsfolder/o/organ_harvest.txt b/forge-gui/res/cardsfolder/o/organ_harvest.txt index d2c0ded240b..9c6f553d639 100644 --- a/forge-gui/res/cardsfolder/o/organ_harvest.txt +++ b/forge-gui/res/cardsfolder/o/organ_harvest.txt @@ -2,8 +2,8 @@ Name:Organ Harvest ManaCost:B Types:Sorcery A:SP$ RepeatEach | Cost$ B | RepeatSubAbility$ DBSac | RepeatPlayers$ NonOpponent | ChangeZoneTable$ True | SpellDescription$ Your team may sacrifice any number of creatures. For each creature sacrificed this way, you add {B}{B}. -SVar:DBSac:DB$ Sacrifice | Defined$ Remembered | Amount$ SacX | References$ SacX | SacValid$ Creature | RememberSacrificed$ True | Optional$ True | SubAbility$ DBMana -SVar:DBMana:DB$ Mana | Produced$ B | Amount$ ManaX | References$ ManaX | SubAbility$ DBCleanup +SVar:DBSac:DB$ Sacrifice | Defined$ Remembered | Amount$ SacX | SacValid$ Creature | RememberSacrificed$ True | Optional$ True | SubAbility$ DBMana +SVar:DBMana:DB$ Mana | Produced$ B | Amount$ ManaX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Creature SVar:ManaX:Remembered$Amount.Twice diff --git a/forge-gui/res/cardsfolder/o/orims_prayer.txt b/forge-gui/res/cardsfolder/o/orims_prayer.txt index 6af34864f54..9fda23e9950 100644 --- a/forge-gui/res/cardsfolder/o/orims_prayer.txt +++ b/forge-gui/res/cardsfolder/o/orims_prayer.txt @@ -2,7 +2,7 @@ Name:Orim's Prayer ManaCost:1 W W Types:Enchantment T:Mode$ AttackersDeclared | AttackedTarget$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever one or more creatures attack you, you gain 1 life for each attacking creature. -SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X SVar:X:Count$Valid Creature.attacking SVar:Picture:http://www.wizards.com/global/images/magic/general/orims_prayer.jpg Oracle:Whenever one or more creatures attack you, you gain 1 life for each attacking creature. diff --git a/forge-gui/res/cardsfolder/o/orims_thunder.txt b/forge-gui/res/cardsfolder/o/orims_thunder.txt index 5ca2ec8e2e3..a824c4adcea 100644 --- a/forge-gui/res/cardsfolder/o/orims_thunder.txt +++ b/forge-gui/res/cardsfolder/o/orims_thunder.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Instant K:Kicker:R A:SP$ Destroy | Cost$ 2 W | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | SubAbility$ DBDamage | SpellDescription$ Destroy target artifact or enchantment. -SVar:DBDamage:DB$DealDamage | Condition$ Kicked | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | TargetMin$ Y | TargetMax$ Y | SpellDescription$ If CARDNAME was kicked, it deals damage equal to that permanent's converted mana cost to target creature. +SVar:DBDamage:DB$DealDamage | Condition$ Kicked | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | TargetMin$ Y | TargetMax$ Y | SpellDescription$ If CARDNAME was kicked, it deals damage equal to that permanent's converted mana cost to target creature. SVar:X:Targeted$CardManaCost SVar:Y:Count$Kicked.1.0 DeckHints:Color$Red diff --git a/forge-gui/res/cardsfolder/o/orims_touch.txt b/forge-gui/res/cardsfolder/o/orims_touch.txt index 9a02399852e..21f063d337d 100644 --- a/forge-gui/res/cardsfolder/o/orims_touch.txt +++ b/forge-gui/res/cardsfolder/o/orims_touch.txt @@ -2,7 +2,7 @@ Name:Orim's Touch ManaCost:W Types:Instant K:Kicker:1 -A:SP$ PreventDamage | Cost$ W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | Amount$ X | References$ X | SpellDescription$ Prevent the next 2 damage that would be dealt to any target this turn. If this spell was kicked, prevent the next 4 damage that would be dealt to that permanent or player this turn instead. +A:SP$ PreventDamage | Cost$ W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | Amount$ X | SpellDescription$ Prevent the next 2 damage that would be dealt to any target this turn. If this spell was kicked, prevent the next 4 damage that would be dealt to that permanent or player this turn instead. SVar:X:Count$Kicked.4.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/orims_touch.jpg Oracle:Kicker {1} (You may pay an additional {1} as you cast this spell.)\nPrevent the next 2 damage that would be dealt to any target this turn. If this spell was kicked, prevent the next 4 damage that would be dealt to that permanent or player this turn instead. diff --git a/forge-gui/res/cardsfolder/o/orochi_eggwatcher_shidako_broodmistress.txt b/forge-gui/res/cardsfolder/o/orochi_eggwatcher_shidako_broodmistress.txt index cc3f09242fe..ac02eff25cc 100644 --- a/forge-gui/res/cardsfolder/o/orochi_eggwatcher_shidako_broodmistress.txt +++ b/forge-gui/res/cardsfolder/o/orochi_eggwatcher_shidako_broodmistress.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Snake Shaman PT:1/1 A:AB$ Token | Cost$ 2 G T | TokenAmount$ 1 | TokenOwner$ You | TokenScript$ g_1_1_snake | LegacyImage$ g 1 1 snake chk | SubAbility$ DBFlip | SpellDescription$ Create a 1/1 green Snake creature token. If you control ten or more creatures, flip CARDNAME. -SVar:DBFlip:DB$ SetState | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 | References$ X | Mode$ Flip +SVar:DBFlip:DB$ SetState | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 | Mode$ Flip SVar:X:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/orochi_eggwatcher.jpg AlternateMode:Flip diff --git a/forge-gui/res/cardsfolder/o/orochi_hatchery.txt b/forge-gui/res/cardsfolder/o/orochi_hatchery.txt index 9e6259c449b..54f415eefc4 100644 --- a/forge-gui/res/cardsfolder/o/orochi_hatchery.txt +++ b/forge-gui/res/cardsfolder/o/orochi_hatchery.txt @@ -2,7 +2,7 @@ Name:Orochi Hatchery ManaCost:X X Types:Artifact K:etbCounter:CHARGE:X -A:AB$ Token | Cost$ 5 T | TokenAmount$ Y | References$ Y | TokenController$ You | TokenScript$ g_1_1_snake | LegacyImage$ g 1 1 snake chk | SpellDescription$ Create a 1/1 green Snake creature token for each charge counter on CARDNAME. +A:AB$ Token | Cost$ 5 T | TokenAmount$ Y | TokenController$ You | TokenScript$ g_1_1_snake | LegacyImage$ g 1 1 snake chk | SpellDescription$ Create a 1/1 green Snake creature token for each charge counter on CARDNAME. SVar:X:Count$xPaid SVar:Y:Count$CardCounters.CHARGE SVar:NeedsToPlayVar:Z GE4 diff --git a/forge-gui/res/cardsfolder/o/orzhov_charm.txt b/forge-gui/res/cardsfolder/o/orzhov_charm.txt index 2c76465a4e6..3472e34889f 100644 --- a/forge-gui/res/cardsfolder/o/orzhov_charm.txt +++ b/forge-gui/res/cardsfolder/o/orzhov_charm.txt @@ -6,7 +6,7 @@ SVar:ReturnAll:DB$ Pump | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target SVar:DBChangeZoneAll:DB$ ChangeZoneAll | ChangeType$ Creature.IsRemembered,Aura.AttachedTo Creature.IsRemembered+YouCtrl | Origin$ Battlefield | Destination$ Hand | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:DBDestroy:DB$ Destroy | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBLoseLife | SpellDescription$ Destroy target creature and you lose life equal to that creature's toughness. -SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X SVar:X:TargetedLKI$CardToughness SVar:DBZombify:DB$ ChangeZone | ValidTgts$ Creature.cmcLE1+YouOwn | TgtPrompt$ Select target creature card with converted mana cost 1 or less in your graveyard | Origin$ Graveyard | Destination$ Battlefield | SpellDescription$ Return target creature card with converted mana cost 1 or less from your graveyard to the battlefield. AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/o/orzhova.txt b/forge-gui/res/cardsfolder/o/orzhova.txt index 8c5995226dd..bf321887139 100644 --- a/forge-gui/res/cardsfolder/o/orzhova.txt +++ b/forge-gui/res/cardsfolder/o/orzhova.txt @@ -4,7 +4,7 @@ Types:Plane Ravnica T:Mode$ PlaneswalkedFrom | ValidCard$ Plane.Self | Execute$ OrzhovaDeal | TriggerDescription$ When you planeswalk away from CARDNAME, each player returns all creature cards from their graveyard to the battlefield. SVar:OrzhovaDeal:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, for each opponent, exile up to one target creature card from that player's graveyard. -SVar:RolledChaos:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature each opponent controls. | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True +SVar:RolledChaos:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature each opponent controls. | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True SVar:OneEach:PlayerCountOpponents$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/orzhova.jpg SVar:AIRollPlanarDieParams:Mode$ Always diff --git a/forge-gui/res/cardsfolder/o/osai_vultures.txt b/forge-gui/res/cardsfolder/o/osai_vultures.txt index e904533b9c4..4fb8538c404 100644 --- a/forge-gui/res/cardsfolder/o/osai_vultures.txt +++ b/forge-gui/res/cardsfolder/o/osai_vultures.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Creature Bird PT:1/1 K:Flying -T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | Execute$ TrigPutCounter | References$ X | TriggerDescription$ At the beginning of each end step, if a creature died this turn, put a carrion counter on CARDNAME. +T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of each end step, if a creature died this turn, put a carrion counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | CounterType$ CARRION | CounterNum$ 1 | Defined$ Self A:AB$ Pump | Cost$ SubCounter<2/CARRION> | NumAtt$ 1 | NumDef$ 1 | Defined$ Self | CostDesc$ Remove two carrion counters from Osai Vultures: | SpellDescription$ CARDNAME gets +1/+1 until end of turn. SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature diff --git a/forge-gui/res/cardsfolder/o/otherworld_atlas.txt b/forge-gui/res/cardsfolder/o/otherworld_atlas.txt index f7f5c238c0d..b01616f0827 100644 --- a/forge-gui/res/cardsfolder/o/otherworld_atlas.txt +++ b/forge-gui/res/cardsfolder/o/otherworld_atlas.txt @@ -2,7 +2,7 @@ Name:Otherworld Atlas ManaCost:4 Types:Artifact A:AB$ PutCounter | Cost$ T | CounterType$ CHARGE | CounterNum$ 1 | SpellDescription$ Put a charge counter on CARDNAME. -A:AB$ Draw | Cost$ T | Defined$ Player | NumCards$ X | References$ X | SpellDescription$ Each player draws a card for each charge counter on CARDNAME. +A:AB$ Draw | Cost$ T | Defined$ Player | NumCards$ X | SpellDescription$ Each player draws a card for each charge counter on CARDNAME. SVar:X:Count$CardCounters.CHARGE AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/otherworld_atlas.jpg diff --git a/forge-gui/res/cardsfolder/o/outflank.txt b/forge-gui/res/cardsfolder/o/outflank.txt index 91018e361cc..8821011b7ec 100644 --- a/forge-gui/res/cardsfolder/o/outflank.txt +++ b/forge-gui/res/cardsfolder/o/outflank.txt @@ -1,6 +1,6 @@ Name:Outflank ManaCost:W Types:Instant -A:SP$ DealDamage | Cost$ W | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target attacking or blocking creature equal to the number of creatures you control. +A:SP$ DealDamage | Cost$ W | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target attacking or blocking creature equal to the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl Oracle:Outflank deals damage to target attacking or blocking creature equal to the number of creatures you control. diff --git a/forge-gui/res/cardsfolder/o/outmaneuver.txt b/forge-gui/res/cardsfolder/o/outmaneuver.txt index 836475b857d..c07120e901f 100644 --- a/forge-gui/res/cardsfolder/o/outmaneuver.txt +++ b/forge-gui/res/cardsfolder/o/outmaneuver.txt @@ -1,7 +1,7 @@ Name:Outmaneuver ManaCost:X R Types:Instant -A:SP$ Pump | Cost$ X R | KW$ HIDDEN CARDNAME assigns its combat damage as though it weren't blocked. | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Creature.blocked | TgtPrompt$ Select X target blocked creatures | StackDescription$ X target blocked creatures [{c:Targeted}] assign their combat damage this turn as though they weren't blocked. | SpellDescription$ X target blocked creatures assign their combat damage this turn as though they weren't blocked. +A:SP$ Pump | Cost$ X R | KW$ HIDDEN CARDNAME assigns its combat damage as though it weren't blocked. | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature.blocked | TgtPrompt$ Select X target blocked creatures | StackDescription$ X target blocked creatures [{c:Targeted}] assign their combat damage this turn as though they weren't blocked. | SpellDescription$ X target blocked creatures assign their combat damage this turn as though they weren't blocked. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:X target blocked creatures assign their combat damage this turn as though they weren't blocked. diff --git a/forge-gui/res/cardsfolder/o/outmuscle.txt b/forge-gui/res/cardsfolder/o/outmuscle.txt index b4ba7dee0b7..7a55cd39175 100644 --- a/forge-gui/res/cardsfolder/o/outmuscle.txt +++ b/forge-gui/res/cardsfolder/o/outmuscle.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Sorcery A:SP$ PutCounter | Cost$ 3 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Choose target creature you control | RememberTargets$ True | CounterType$ P1P1 | CounterNum$ 1 | AILogic$ Fight | AIManaPref$ G | SubAbility$ DBFight | SpellDescription$ Put a +1/+1 counter on target creature you control, then it fights target creature you don't control. (Each deals damage equal to its power to the other.) Adamant — If at least three green mana was spent to cast this spell, the creature you control gains indestructible until end of turn. SVar:DBFight:DB$ Fight | Defined$ ParentTarget | ValidTgts$ Creature.YouDontCtrl | AILogic$ Always | TgtPrompt$ Choose target creature you don't control | SubAbility$ DBPump -SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ Indestructible | ConditionCheckSVar$ X | References$ X | SubAbility$ DBCleanup +SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ Indestructible | ConditionCheckSVar$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Adamant.Green.1.0 DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/o/outnumber.txt b/forge-gui/res/cardsfolder/o/outnumber.txt index f55f4325959..b21049a96e4 100644 --- a/forge-gui/res/cardsfolder/o/outnumber.txt +++ b/forge-gui/res/cardsfolder/o/outnumber.txt @@ -1,7 +1,7 @@ Name:Outnumber ManaCost:R Types:Instant -A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of creatures you control. +A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/outnumber.jpg Oracle:Outnumber deals damage to target creature equal to the number of creatures you control. diff --git a/forge-gui/res/cardsfolder/o/outrage_shaman.txt b/forge-gui/res/cardsfolder/o/outrage_shaman.txt index bc141fccde7..820e635715f 100644 --- a/forge-gui/res/cardsfolder/o/outrage_shaman.txt +++ b/forge-gui/res/cardsfolder/o/outrage_shaman.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Creature Goblin Shaman PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ Chroma — When CARDNAME enters the battlefield, it deals damage to target creature equal to the number of red mana symbols in the mana costs of permanents you control. -SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X SVar:X:Count$Chroma.Red SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/outrage_shaman.jpg diff --git a/forge-gui/res/cardsfolder/o/outrider_en_kor.txt b/forge-gui/res/cardsfolder/o/outrider_en_kor.txt index 46cfad641e1..d17dd30e93f 100644 --- a/forge-gui/res/cardsfolder/o/outrider_en_kor.txt +++ b/forge-gui/res/cardsfolder/o/outrider_en_kor.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Creature Kor Rebel Knight PT:2/2 K:Flanking -A:AB$ Effect | Cost$ 0 | Name$ en-Kor Redirection | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage to | ReplacementEffects$ EnKor | SVars$ EnKorDmg | References$ EnKor,EnKorDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature you control instead. +A:AB$ Effect | Cost$ 0 | Name$ en-Kor Redirection | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage to | ReplacementEffects$ EnKor | SVars$ EnKorDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature you control instead. SVar:EnKor:Event$ DamageDone | ValidTarget$ Creature.EffectSource | ReplaceWith$ EnKorDmg | DamageTarget$ Remembered | Description$ The next 1 damage that would be dealt to EFFECTSOURCE this turn is dealt to target creature you control instead. SVar:EnKorDmg:DB$ ReplaceSplitDamage | DamageTarget$ Remembered AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/o/overbeing_of_myth.txt b/forge-gui/res/cardsfolder/o/overbeing_of_myth.txt index 9c7775544b8..166669294ab 100644 --- a/forge-gui/res/cardsfolder/o/overbeing_of_myth.txt +++ b/forge-gui/res/cardsfolder/o/overbeing_of_myth.txt @@ -2,7 +2,7 @@ Name:Overbeing of Myth ManaCost:GU GU GU GU GU Types:Creature Spirit Avatar PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. SVar:X:Count$InYourHand SVar:NeedsToPlayVar:X GE3 T:Mode$ Phase | Phase$ Draw | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ At the beginning of your draw step, draw an additional card. diff --git a/forge-gui/res/cardsfolder/o/overblaze.txt b/forge-gui/res/cardsfolder/o/overblaze.txt index 5f8e8a4a85d..b622503c4e7 100644 --- a/forge-gui/res/cardsfolder/o/overblaze.txt +++ b/forge-gui/res/cardsfolder/o/overblaze.txt @@ -2,9 +2,9 @@ Name:Overblaze ManaCost:3 R Types:Instant Arcane K:Splice:Arcane:2 R R -A:SP$ Effect | Cost$ 3 R | Name$ Overblaze Effect | ValidTgts$ Permanent,Player | RememberObjects$ Targeted | ReplacementEffects$ OverblazeEvent | SVars$ DmgTwice,X | References$ OverblazeEvent,DmgTwice,X | SpellDescription$ Each time target permanent would deal damage to a permanent or player this turn, it deals double that damage to that permanent or player instead. +A:SP$ Effect | Cost$ 3 R | Name$ Overblaze Effect | ValidTgts$ Permanent,Player | RememberObjects$ Targeted | ReplacementEffects$ OverblazeEvent | SVars$ DmgTwice,XverblazeEvent,DmgTwice,X | SpellDescription$ Each time target permanent would deal damage to a permanent or player this turn, it deals double that damage to that permanent or player instead. SVar:OverblazeEvent:Event$ DamageDone | ValidSource$ Permanent.IsRemembered | ValidTarget$ Permanent,Player | ReplaceWith$ DmgTwice | Description$ Each time target permanent would deal noncombat damage to a permanent or player this turn, it deals double that damage instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:PlayMain1:TRUE AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/o/overgrown_battlement.txt b/forge-gui/res/cardsfolder/o/overgrown_battlement.txt index 6b4892dba9b..927fef8fd26 100644 --- a/forge-gui/res/cardsfolder/o/overgrown_battlement.txt +++ b/forge-gui/res/cardsfolder/o/overgrown_battlement.txt @@ -3,7 +3,7 @@ ManaCost:1 G Types:Creature Wall PT:0/4 K:Defender -A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | References$ X | SpellDescription$ Add {G} for each Creature with defender you control. +A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | SpellDescription$ Add {G} for each Creature with defender you control. SVar:X:Count$Valid Creature.withDefender+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/overgrown_battlement.jpg Oracle:Defender\n{T}: Add {G} for each creature with defender you control. diff --git a/forge-gui/res/cardsfolder/o/overload.txt b/forge-gui/res/cardsfolder/o/overload.txt index 22e901058c6..9420724359e 100644 --- a/forge-gui/res/cardsfolder/o/overload.txt +++ b/forge-gui/res/cardsfolder/o/overload.txt @@ -2,7 +2,7 @@ Name:Overload ManaCost:R Types:Instant K:Kicker:2 -A:SP$ Destroy | Cost$ R | ValidTgts$ Artifact | AITgts$ Artifact.cmcLEX | References$ X,Y | TgtPrompt$ Select target artifact with converted mana cost 2 or less (5 or less if kicked) | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX | SpellDescription$ Destroy target artifact if its converted mana cost is 2 or less. If this spell was kicked, destroy that artifact if its converted mana cost is 5 or less instead. +A:SP$ Destroy | Cost$ R | ValidTgts$ Artifact | AITgts$ Artifact.cmcLEX,Y | TgtPrompt$ Select target artifact with converted mana cost 2 or less (5 or less if kicked) | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX | SpellDescription$ Destroy target artifact if its converted mana cost is 2 or less. If this spell was kicked, destroy that artifact if its converted mana cost is 5 or less instead. SVar:X:Count$Kicked.5.2 SVar:Y:Targeted$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/overload.jpg diff --git a/forge-gui/res/cardsfolder/o/override.txt b/forge-gui/res/cardsfolder/o/override.txt index e9dcab44f26..e95ab38238e 100644 --- a/forge-gui/res/cardsfolder/o/override.txt +++ b/forge-gui/res/cardsfolder/o/override.txt @@ -1,7 +1,7 @@ Name:Override ManaCost:2 U Types:Instant -A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X | SpellDescription$ Counter target spell unless its controller pays {1} for each artifact you control. +A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {1} for each artifact you control. SVar:X:Count$Valid Artifact.YouCtrl DeckNeeds:Type$Artifact SVar:Picture:http://www.wizards.com/global/images/magic/general/override.jpg diff --git a/forge-gui/res/cardsfolder/o/overrule.txt b/forge-gui/res/cardsfolder/o/overrule.txt index b6ce710bc9f..5918fb3bc55 100644 --- a/forge-gui/res/cardsfolder/o/overrule.txt +++ b/forge-gui/res/cardsfolder/o/overrule.txt @@ -1,8 +1,8 @@ Name:Overrule ManaCost:X W U Types:Instant -A:SP$ Counter | Cost$ X W U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ Counter target spell unless its controller pays {X}. You gain X life. -SVar:DBGainLife:DB$GainLife | LifeAmount$ X | References$ X +A:SP$ Counter | Cost$ X W U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SubAbility$ DBGainLife | SpellDescription$ Counter target spell unless its controller pays {X}. You gain X life. +SVar:DBGainLife:DB$GainLife | LifeAmount$ X SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/overrule.jpg Oracle:Counter target spell unless its controller pays {X}. You gain X life. diff --git a/forge-gui/res/cardsfolder/o/overwhelming_forces.txt b/forge-gui/res/cardsfolder/o/overwhelming_forces.txt index 9e23d0bf443..102d5107e7b 100644 --- a/forge-gui/res/cardsfolder/o/overwhelming_forces.txt +++ b/forge-gui/res/cardsfolder/o/overwhelming_forces.txt @@ -2,7 +2,7 @@ Name:Overwhelming Forces ManaCost:6 B B Types:Sorcery A:SP$ DestroyAll | Cost$ 6 B B | ValidCards$ Creature | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | RememberDestroyed$ True | SubAbility$ DBDrawCard | SpellDescription$ Destroy all creatures target opponent controls. Draw a card for each creature destroyed this way. -SVar:DBDrawCard:DB$ Draw | NumCards$ X | References$ X +SVar:DBDrawCard:DB$ Draw | NumCards$ X SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/overwhelming_forces.jpg Oracle:Destroy all creatures target opponent controls. Draw a card for each creature destroyed this way. diff --git a/forge-gui/res/cardsfolder/o/overwhelming_intellect.txt b/forge-gui/res/cardsfolder/o/overwhelming_intellect.txt index 995fec2cbda..f2d45fe6f3e 100644 --- a/forge-gui/res/cardsfolder/o/overwhelming_intellect.txt +++ b/forge-gui/res/cardsfolder/o/overwhelming_intellect.txt @@ -2,7 +2,7 @@ Name:Overwhelming Intellect ManaCost:4 U U Types:Instant A:SP$ Counter | Cost$ 4 U U | TargetType$ Spell | TgtPrompt$ Select target Creature spell | ValidTgts$ Creature | SubAbility$ DBDraw | RememberCounteredCMC$ True | SpellDescription$ Counter target creature spell. Draw cards equal to that spell's converted mana cost. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedNumber SVar:Picture:http://www.wizards.com/global/images/magic/general/overwhelming_intellect.jpg diff --git a/forge-gui/res/cardsfolder/o/overwhelming_stampede.txt b/forge-gui/res/cardsfolder/o/overwhelming_stampede.txt index e3321a7e294..d1cf90ca718 100644 --- a/forge-gui/res/cardsfolder/o/overwhelming_stampede.txt +++ b/forge-gui/res/cardsfolder/o/overwhelming_stampede.txt @@ -1,7 +1,7 @@ Name:Overwhelming Stampede ManaCost:3 G G Types:Sorcery -A:SP$ PumpAll | Cost$ 3 G G | ValidCards$ Creature.YouCtrl | NumAtt$ +X | NumDef$ +X | References$ X | KW$ Trample | SpellDescription$ Until end of turn, creatures you control gain trample and get +X/+X, where X is the greatest power among creatures you control. +A:SP$ PumpAll | Cost$ 3 G G | ValidCards$ Creature.YouCtrl | NumAtt$ +X | NumDef$ +X | KW$ Trample | SpellDescription$ Until end of turn, creatures you control gain trample and get +X/+X, where X is the greatest power among creatures you control. SVar:X:Count$GreatestPower_Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/overwhelming_stampede.jpg Oracle:Until end of turn, creatures you control gain trample and get +X/+X, where X is the greatest power among creatures you control. diff --git a/forge-gui/res/cardsfolder/o/ovinomancer.txt b/forge-gui/res/cardsfolder/o/ovinomancer.txt index 40aa28f196d..68f2f8a2252 100644 --- a/forge-gui/res/cardsfolder/o/ovinomancer.txt +++ b/forge-gui/res/cardsfolder/o/ovinomancer.txt @@ -6,7 +6,7 @@ T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefi A:AB$ Destroy | Cost$ Return<1/CARDNAME> T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NoRegen$ True | SubAbility$ DBToken | SpellDescription$ Destroy target creature. It can't be regenerated. SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_0_1_sheep | TokenOwner$ TargetedController | LegacyImage$ g 0 1 sheep vis SVar:TrigBounce:DB$ ChangeZone | Origin$ Battlefield | Destination$ Hand | Hidden$ True | ChangeType$ Land.Basic+YouCtrl | ChangeNum$ 3 | Optional$ True | RememberChanged$ True | SubAbility$ DBSacSelf -SVar:DBSacSelf:DB$ Sacrifice | Defined$ Self | SubAbility$ DBCleanup | ConditionCheckSVar$ X | ConditionSVarCompare$ LT3 | References$ X +SVar:DBSacSelf:DB$ Sacrifice | Defined$ Self | SubAbility$ DBCleanup | ConditionCheckSVar$ X | ConditionSVarCompare$ LT3 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/o/oviya_pashiri_sage_lifecrafter.txt b/forge-gui/res/cardsfolder/o/oviya_pashiri_sage_lifecrafter.txt index 4e2bc074d90..7025289e31d 100644 --- a/forge-gui/res/cardsfolder/o/oviya_pashiri_sage_lifecrafter.txt +++ b/forge-gui/res/cardsfolder/o/oviya_pashiri_sage_lifecrafter.txt @@ -3,7 +3,7 @@ ManaCost:G Types:Legendary Creature Human Artificer PT:1/2 A:AB$ Token | Cost$ 2 G T | TokenAmount$ 1 | TokenScript$ c_1_1_a_servo | TokenOwner$ You | LegacyImage$ c 1 1 a servo kld | SpellDescription$ Create a 1/1 colorless Servo artifact creature token. -A:AB$ Token | Cost$ 4 G T | TokenAmount$ 1 | TokenScript$ c_x_x_a_construct | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | LegacyImage$ c x x a construct kld | References$ X | SpellDescription$ Create an X/X colorless Construct artifact creature token, where X is the number of creatures you control. +A:AB$ Token | Cost$ 4 G T | TokenAmount$ 1 | TokenScript$ c_x_x_a_construct | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | LegacyImage$ c x x a construct kld | SpellDescription$ Create an X/X colorless Construct artifact creature token, where X is the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/oviya_pashiri_sage_lifecrafter.jpg diff --git a/forge-gui/res/cardsfolder/p/pack_rat.txt b/forge-gui/res/cardsfolder/p/pack_rat.txt index 89325e7c697..d8db7cf000c 100644 --- a/forge-gui/res/cardsfolder/p/pack_rat.txt +++ b/forge-gui/res/cardsfolder/p/pack_rat.txt @@ -2,7 +2,7 @@ Name:Pack Rat ManaCost:1 B Types:Creature Rat PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Rats you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Rats you control. A:AB$ CopyPermanent | Cost$ 2 B Discard<1/Card> | Defined$ Self | NumCopies$ 1 | SpellDescription$ Create a token that's a copy of CARDNAME. SVar:X:Count$Valid Rat.YouCtrl SVar:BuffedBy:Rat diff --git a/forge-gui/res/cardsfolder/p/packs_disdain.txt b/forge-gui/res/cardsfolder/p/packs_disdain.txt index ffda4b28308..aecbc44263a 100644 --- a/forge-gui/res/cardsfolder/p/packs_disdain.txt +++ b/forge-gui/res/cardsfolder/p/packs_disdain.txt @@ -2,7 +2,7 @@ Name:Pack's Disdain ManaCost:1 B Types:Instant A:SP$ ChooseType | Cost$ 1 B | Defined$ You | Type$ Creature | SubAbility$ DBPump| SpellDescription$ Choose a creature type. Target creature gets -1/-1 until end of turn for each permanent of the chosen type you control. -SVar:DBPump:DB$ Pump | NumAtt$ -X | NumDef$ -X | References$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature. +SVar:DBPump:DB$ Pump | NumAtt$ -X | NumDef$ -X | ValidTgts$ Creature | TgtPrompt$ Select target creature. SVar:X:Count$Valid Permanent.ChosenType+YouCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/packs_disdain.jpg diff --git a/forge-gui/res/cardsfolder/p/pact_of_the_serpent.txt b/forge-gui/res/cardsfolder/p/pact_of_the_serpent.txt index 5807eb000b0..3a7072e2abf 100644 --- a/forge-gui/res/cardsfolder/p/pact_of_the_serpent.txt +++ b/forge-gui/res/cardsfolder/p/pact_of_the_serpent.txt @@ -2,8 +2,8 @@ Name:Pact of the Serpent ManaCost:1 B B Types:Sorcery A:SP$ ChooseType | Defined$ You | Type$ Creature | SubAbility$ DBDraw | StackDescription$ SpellDescription | SpellDescription$ Choose a creature type. Target player draws X cards and loses X life, where X is the number of creatures they control of the chosen type. -SVar:DBDraw:DB$ Draw | Defined$ Targeted | ValidTgts$ Player | TgtPrompt$ Choose target player | NumCards$ X | References$ X | SubAbility$ DBLoseLife | StackDescription$ None -SVar:DBLoseLife:DB$ LoseLife | Defined$ Targeted | LifeAmount$ X | References$ X | StackDescription$ None +SVar:DBDraw:DB$ Draw | Defined$ Targeted | ValidTgts$ Player | TgtPrompt$ Choose target player | NumCards$ X | SubAbility$ DBLoseLife | StackDescription$ None +SVar:DBLoseLife:DB$ LoseLife | Defined$ Targeted | LifeAmount$ X | StackDescription$ None SVar:X:TargetedPlayer$Valid Creature.YouCtrl+ChosenType AI:RemoveDeck:All Oracle:Choose a creature type. Target player draws X cards and loses X life, where X is the number of creatures they control of the chosen type. diff --git a/forge-gui/res/cardsfolder/p/pain_kami.txt b/forge-gui/res/cardsfolder/p/pain_kami.txt index d991c5fe070..615b08838d7 100644 --- a/forge-gui/res/cardsfolder/p/pain_kami.txt +++ b/forge-gui/res/cardsfolder/p/pain_kami.txt @@ -2,7 +2,7 @@ Name:Pain Kami ManaCost:2 R Types:Creature Spirit PT:2/2 -A:AB$ DealDamage | Cost$ X R Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature. +A:AB$ DealDamage | Cost$ X R Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature. SVar:X:Count$xPaid AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/pain_kami.jpg diff --git a/forge-gui/res/cardsfolder/p/pain_seer.txt b/forge-gui/res/cardsfolder/p/pain_seer.txt index f4da9053dc8..da9ddfe125e 100644 --- a/forge-gui/res/cardsfolder/p/pain_seer.txt +++ b/forge-gui/res/cardsfolder/p/pain_seer.txt @@ -4,7 +4,7 @@ Types:Creature Human Wizard PT:2/2 T:Mode$ Untaps | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ SeerDig | TriggerDescription$ Inspired — Whenever CARDNAME becomes untapped, reveal the top card of your library and put that card into your hand. You lose life equal to its converted mana cost. SVar:SeerDig:DB$ Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | RememberChanged$ True | SubAbility$ SeersCost -SVar:SeersCost:DB$ LoseLife | LifeAmount$ PainX | SubAbility$ DBCleanup | References$ PainX +SVar:SeersCost:DB$ LoseLife | LifeAmount$ PainX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:PainX:Remembered$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/pain_seer.jpg diff --git a/forge-gui/res/cardsfolder/p/painbringer.txt b/forge-gui/res/cardsfolder/p/painbringer.txt index d2b85b4cbdc..9f401e0e516 100644 --- a/forge-gui/res/cardsfolder/p/painbringer.txt +++ b/forge-gui/res/cardsfolder/p/painbringer.txt @@ -2,7 +2,7 @@ Name:Painbringer ManaCost:2 B B Types:Creature Human Minion PT:1/1 -A:AB$ Pump | Cost$ T ExileFromGrave | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | References$ X | CostDesc$ {T}, Exile any number of cards from your graveyard: | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of cards exiled this way. +A:AB$ Pump | Cost$ T ExileFromGrave | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | CostDesc$ {T}, Exile any number of cards from your graveyard: | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of cards exiled this way. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{T}, Exile any number of cards from your graveyard: Target creature gets -X/-X until end of turn, where X is the number of cards exiled this way. diff --git a/forge-gui/res/cardsfolder/p/painful_truths.txt b/forge-gui/res/cardsfolder/p/painful_truths.txt index 4da134804fd..604854fa364 100644 --- a/forge-gui/res/cardsfolder/p/painful_truths.txt +++ b/forge-gui/res/cardsfolder/p/painful_truths.txt @@ -1,8 +1,8 @@ Name:Painful Truths ManaCost:2 B Types:Sorcery -A:SP$ Draw | Cost$ 2 B | NumCards$ X | References$ X | SpellDescription$ Converge — You draw X cards and you lose X life, where X is the number of colors of mana spent to cast this spell. | SubAbility$ DB1 -SVar:DB1:DB$LoseLife | LifeAmount$ X | References$ X +A:SP$ Draw | Cost$ 2 B | NumCards$ X | SpellDescription$ Converge — You draw X cards and you lose X life, where X is the number of colors of mana spent to cast this spell. | SubAbility$ DB1 +SVar:DB1:DB$LoseLife | LifeAmount$ X SVar:X:Count$Converge SVar:Picture:http://www.wizards.com/global/images/magic/general/painful_truths.jpg Oracle:Converge — You draw X cards and you lose X life, where X is the number of colors of mana spent to cast this spell. diff --git a/forge-gui/res/cardsfolder/p/pains_reward.txt b/forge-gui/res/cardsfolder/p/pains_reward.txt index e7c71e2208d..60e233236e0 100644 --- a/forge-gui/res/cardsfolder/p/pains_reward.txt +++ b/forge-gui/res/cardsfolder/p/pains_reward.txt @@ -2,7 +2,7 @@ Name:Pain's Reward ManaCost:2 B Types:Sorcery A:SP$ BidLife | Cost$ 2 B | StartBidding$ Any | AILogic$ Min | AIBidMax$ 10 | BidSubAbility$ DBLoseLife | SpellDescription$ Each player may bid life. You start the bidding with a bid of any number. In turn order, each player may top the high bid. The bidding ends if the high bid stands. The high bidder loses life equal to the high bid and draws four cards. -SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X | References$ X | SubAbility$ DBDraw +SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | Defined$ Remembered | NumCards$ 4 SVar:X:Count$ChosenNumber SVar:Picture:http://www.wizards.com/global/images/magic/general/pains_reward.jpg diff --git a/forge-gui/res/cardsfolder/p/pako_arcane_retriever.txt b/forge-gui/res/cardsfolder/p/pako_arcane_retriever.txt index 838cf20ab35..12608079c2c 100755 --- a/forge-gui/res/cardsfolder/p/pako_arcane_retriever.txt +++ b/forge-gui/res/cardsfolder/p/pako_arcane_retriever.txt @@ -6,7 +6,7 @@ K:Partner:Haldan, Avid Arcanist:Haldan K:Haste T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, exile the top card of each player's library and put a counter counter on each of them. Put a +1/+1 counter on CARDNAME for each noncreature card exiled this way. SVar:TrigExile:DB$ Dig | DigNum$ 1 | ChangeNum$ All | Defined$ Player | DestinationZone$ Exile | ExileWithCounter$ FETCH | RememberChanged$ True | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBCleanup +SVar:DBPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ValidExile Card.IsRemembered+nonCreature DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/p/paladin_of_atonement.txt b/forge-gui/res/cardsfolder/p/paladin_of_atonement.txt index 2b3c6eb7335..c026ed41c79 100644 --- a/forge-gui/res/cardsfolder/p/paladin_of_atonement.txt +++ b/forge-gui/res/cardsfolder/p/paladin_of_atonement.txt @@ -2,10 +2,10 @@ Name:Paladin of Atonement ManaCost:1 W Types:Creature Vampire Knight PT:1/1 -T:Mode$ Phase | Phase$ Upkeep | CheckSVar$ X | References$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of each upkeep, if you lost life last turn, put a +1/+1 counter on CARDNAME. +T:Mode$ Phase | Phase$ Upkeep | CheckSVar$ X | SVarCompare$ GE1 | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of each upkeep, if you lost life last turn, put a +1/+1 counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, you gain life equal to its toughness. -SVar:TrigGainLife:DB$GainLife | Defined$ TriggeredCardController | LifeAmount$ Y | References$ Y +SVar:TrigGainLife:DB$GainLife | Defined$ TriggeredCardController | LifeAmount$ Y SVar:X:Count$Controller$LifeLostLastTurn SVar:Y:TriggeredCard$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/paladin_of_atonement.jpg diff --git a/forge-gui/res/cardsfolder/p/paladin_of_prahv.txt b/forge-gui/res/cardsfolder/p/paladin_of_prahv.txt index e8b5ce20059..bb07ed6e559 100644 --- a/forge-gui/res/cardsfolder/p/paladin_of_prahv.txt +++ b/forge-gui/res/cardsfolder/p/paladin_of_prahv.txt @@ -3,7 +3,7 @@ ManaCost:4 W W Types:Creature Human Knight PT:3/4 T:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount A:AB$ Effect | Cost$ 1 W Reveal<1/CARDNAME> | Name$ Paladin of Prahv Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature | Triggers$ TrigDamage | SVars$ TrigGain,X | RememberObjects$ Targeted | Forecast$ True | SpellDescription$ Whenever target creature deals damage this turn, you gain that much life. (Activate this ability only during your upkeep and only once each turn.) SVar:TrigDamage:Mode$ DamageDealtOnce | ValidSource$ Creature.IsRemembered | Execute$ TrigGain | TriggerDescription$ Whenever the targeted creature deals damage, you gain that much life. diff --git a/forge-gui/res/cardsfolder/p/pallimud.txt b/forge-gui/res/cardsfolder/p/pallimud.txt index 57d2c30f04d..cf0d526a632 100644 --- a/forge-gui/res/cardsfolder/p/pallimud.txt +++ b/forge-gui/res/cardsfolder/p/pallimud.txt @@ -4,7 +4,7 @@ Types:Creature Beast PT:*/3 K:ETBReplacement:Other:ChooseP SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. -S:Mode$ Continuous | EffectZone$ Battlefield | CharacteristicDefining$ True | SetPower$ X | References$ X | Description$ CARDNAME's power is equal to the number of tapped lands the chosen player controls. +S:Mode$ Continuous | EffectZone$ Battlefield | CharacteristicDefining$ True | SetPower$ X | Description$ CARDNAME's power is equal to the number of tapped lands the chosen player controls. SVar:X:Count$Valid Land.tapped+ChosenCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/pallimud.jpg Oracle:As Pallimud enters the battlefield, choose an opponent.\nPallimud's power is equal to the number of tapped lands the chosen player controls. diff --git a/forge-gui/res/cardsfolder/p/panacea.txt b/forge-gui/res/cardsfolder/p/panacea.txt index d65de63929c..0711e81fc25 100644 --- a/forge-gui/res/cardsfolder/p/panacea.txt +++ b/forge-gui/res/cardsfolder/p/panacea.txt @@ -1,7 +1,7 @@ Name:Panacea ManaCost:4 Types:Artifact -A:AB$ PreventDamage | Cost$ X X T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | Amount$ X | References$ X | SpellDescription$ Prevent the next X damage that would be dealt to any target this turn. +A:AB$ PreventDamage | Cost$ X X T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | Amount$ X | SpellDescription$ Prevent the next X damage that would be dealt to any target this turn. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/panacea.jpg diff --git a/forge-gui/res/cardsfolder/p/pandemonium.txt b/forge-gui/res/cardsfolder/p/pandemonium.txt index c653308b53f..3e1448c1c48 100644 --- a/forge-gui/res/cardsfolder/p/pandemonium.txt +++ b/forge-gui/res/cardsfolder/p/pandemonium.txt @@ -2,7 +2,7 @@ Name:Pandemonium ManaCost:3 R Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature | TriggerZones$ Battlefield | Execute$ TrigDamage | OptionalDecider$ TriggeredCardController | TriggerDescription$ Whenever a creature enters the battlefield, that creature's controller may have it deal damage equal to its power to any target of their choice. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | DamageSource$ TriggeredCard | TargetingPlayer$ TriggeredCardController +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | DamageSource$ TriggeredCard | TargetingPlayer$ TriggeredCardController SVar:X:TriggeredCard$CardPower SVar:PlayMain1:TRUE SVar:AIPriorityModifier:9 diff --git a/forge-gui/res/cardsfolder/p/panoptic_mirror.txt b/forge-gui/res/cardsfolder/p/panoptic_mirror.txt index 4919f269181..5296aa3f87a 100644 --- a/forge-gui/res/cardsfolder/p/panoptic_mirror.txt +++ b/forge-gui/res/cardsfolder/p/panoptic_mirror.txt @@ -1,7 +1,7 @@ Name:Panoptic Mirror ManaCost:5 Types:Artifact -A:AB$ ChangeZone | Cost$ X T | Imprint$ True | Origin$ Hand | Destination$ Exile | ChangeType$ Instant.cmcEQX,Sorcery.cmcEQX | References$ X | ChangeNum$ 1 | PrecostDesc$ Imprint — | SpellDescription$ You may exile an instant or sorcery card with converted mana cost X from your hand. +A:AB$ ChangeZone | Cost$ X T | Imprint$ True | Origin$ Hand | Destination$ Exile | ChangeType$ Instant.cmcEQX,Sorcery.cmcEQX | ChangeNum$ 1 | PrecostDesc$ Imprint — | SpellDescription$ You may exile an instant or sorcery card with converted mana cost X from your hand. SVar:X:Count$xPaid T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | OptionalDecider$ You | TriggerZones$ Battlefield | Execute$ TrigCopy | TriggerDescription$ At the beginning of your upkeep, you may copy a card exiled with Panoptic Mirror. If you do, you may cast the copy without paying its mana cost. SVar:TrigCopy:DB$ Play | Valid$ Card.IsImprinted+ExiledWithSource | ValidZone$ Exile | WithoutManaCost$ True | Optional$ True | CopyCard$ True diff --git a/forge-gui/res/cardsfolder/p/paradoxical_outcome.txt b/forge-gui/res/cardsfolder/p/paradoxical_outcome.txt index 046e3c0a450..500c5c129d4 100644 --- a/forge-gui/res/cardsfolder/p/paradoxical_outcome.txt +++ b/forge-gui/res/cardsfolder/p/paradoxical_outcome.txt @@ -1,8 +1,8 @@ Name:Paradoxical Outcome ManaCost:3 U Types:Instant -A:SP$ ChangeZone | Cost$ 3 U | ValidTgts$ Permanent.nonLand+nonToken+YouCtrl | TgtPrompt$ Select target nonland, nontoken permanent you control | TargetMin$ 0 | TargetMax$ X | Origin$ Battlefield | Destination$ Hand | References$ X | RememberChanged$ True | SubAbility$ DBDraw | SpellDescription$ Return any number of target nonland, nontoken permanents you control to their owners' hands. Draw a card for each card returned to your hand this way. -SVar:DBDraw:DB$Draw | NumCards$ Y | References$ Y | SubAbility$ DBCleanup +A:SP$ ChangeZone | Cost$ 3 U | ValidTgts$ Permanent.nonLand+nonToken+YouCtrl | TgtPrompt$ Select target nonland, nontoken permanent you control | TargetMin$ 0 | TargetMax$ X | Origin$ Battlefield | Destination$ Hand | RememberChanged$ True | SubAbility$ DBDraw | SpellDescription$ Return any number of target nonland, nontoken permanents you control to their owners' hands. Draw a card for each card returned to your hand this way. +SVar:DBDraw:DB$Draw | NumCards$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Permanent.nonLand+nonToken+YouCtrl SVar:Y:Remembered$Valid Card.YouOwn diff --git a/forge-gui/res/cardsfolder/p/parallectric_feedback.txt b/forge-gui/res/cardsfolder/p/parallectric_feedback.txt index 1bab7b2db54..41dda7a8f8e 100644 --- a/forge-gui/res/cardsfolder/p/parallectric_feedback.txt +++ b/forge-gui/res/cardsfolder/p/parallectric_feedback.txt @@ -2,7 +2,7 @@ Name:Parallectric Feedback ManaCost:3 R Types:Instant A:SP$ Pump | Cost$ 3 R | ValidTgts$ Card | TgtZone$ Stack | TgtPrompt$ Select target spell | PumpZone$ Stack | StackDescription$ None | SubAbility$ DBDmg | SpellDescription$ CARDNAME deals damage to target spell's controller equal to that spell's converted mana cost. -SVar:DBDmg:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | References$ X +SVar:DBDmg:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X SVar:X:Targeted$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/parallectric_feedback.jpg diff --git a/forge-gui/res/cardsfolder/p/parallel_lives.txt b/forge-gui/res/cardsfolder/p/parallel_lives.txt index 96a95c4084e..e134337e6e1 100644 --- a/forge-gui/res/cardsfolder/p/parallel_lives.txt +++ b/forge-gui/res/cardsfolder/p/parallel_lives.txt @@ -2,7 +2,7 @@ Name:Parallel Lives ManaCost:3 G Types:Enchantment R:Event$ CreateToken | ActiveZones$ Battlefield | ValidPlayer$ You | ReplaceWith$ DoubleToken | EffectOnly$ True | Description$ If an effect would create one or more tokens under your control, it creates twice that many of those tokens instead. -SVar:DoubleToken:DB$ ReplaceEffect | VarName$ TokenNum | VarValue$ X | References$ X +SVar:DoubleToken:DB$ ReplaceEffect | VarName$ TokenNum | VarValue$ X SVar:X:ReplaceCount$TokenNum/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/parallel_lives.jpg Oracle:If an effect would create one or more tokens under your control, it creates twice that many of those tokens instead. diff --git a/forge-gui/res/cardsfolder/p/paraselene.txt b/forge-gui/res/cardsfolder/p/paraselene.txt index a67b9336812..64325dea78b 100644 --- a/forge-gui/res/cardsfolder/p/paraselene.txt +++ b/forge-gui/res/cardsfolder/p/paraselene.txt @@ -2,7 +2,7 @@ Name:Paraselene ManaCost:2 W Types:Sorcery A:SP$ DestroyAll | Cost$ 2 W | ValidCards$ Enchantment | RememberDestroyed$ True | SubAbility$ DBGainLife | SpellDescription$ Destroy all enchantments. You gain 1 life for each enchantment destroyed this way. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/paraselene.jpg Oracle:Destroy all enchantments. You gain 1 life for each enchantment destroyed this way. diff --git a/forge-gui/res/cardsfolder/p/part_water.txt b/forge-gui/res/cardsfolder/p/part_water.txt index d1f91391571..3d6f0cc9e77 100644 --- a/forge-gui/res/cardsfolder/p/part_water.txt +++ b/forge-gui/res/cardsfolder/p/part_water.txt @@ -1,7 +1,7 @@ Name:Part Water ManaCost:X X U Types:Sorcery -A:SP$ Pump | Cost$ X X U | KW$ Islandwalk | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | StackDescription$ X target creatures [{c:Targeted}] gain islandwalk until end of turn. | SpellDescription$ X target creatures gain islandwalk until end of turn. (They can't be blocked as long as defending player controls an Island.) +A:SP$ Pump | Cost$ X X U | KW$ Islandwalk | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | StackDescription$ X target creatures [{c:Targeted}] gain islandwalk until end of turn. | SpellDescription$ X target creatures gain islandwalk until end of turn. (They can't be blocked as long as defending player controls an Island.) SVar:X:Count$xPaid AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/p/parting_thoughts.txt b/forge-gui/res/cardsfolder/p/parting_thoughts.txt index d8b5dc95fad..cc07fe899ca 100644 --- a/forge-gui/res/cardsfolder/p/parting_thoughts.txt +++ b/forge-gui/res/cardsfolder/p/parting_thoughts.txt @@ -2,8 +2,8 @@ Name:Parting Thoughts ManaCost:2 B Types:Sorcery A:SP$ Destroy | Cost$ 2 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberDestroyed$ True | SpellDescription$ Destroy target creature. You draw X cards and you lose X life, where X is the number of counters on that creature. | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X | SubAbility$ DBLoseLife -SVar:DBLoseLife:DB$LoseLife | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | NumCards$ X | SubAbility$ DBLoseLife +SVar:DBLoseLife:DB$LoseLife | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardCounters.ALL SVar:Picture:http://www.wizards.com/global/images/magic/general/parting_thoughts.jpg diff --git a/forge-gui/res/cardsfolder/p/path_of_bravery.txt b/forge-gui/res/cardsfolder/p/path_of_bravery.txt index 298f5fddeda..cdc4a217054 100644 --- a/forge-gui/res/cardsfolder/p/path_of_bravery.txt +++ b/forge-gui/res/cardsfolder/p/path_of_bravery.txt @@ -1,12 +1,12 @@ Name:Path of Bravery ManaCost:2 W Types:Enchantment -S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ GEY | References$ X,Y | Description$ As long as your life total is greater than or equal to your starting life total, creatures you control get +1/+1. +S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ GEY | Description$ As long as your life total is greater than or equal to your starting life total, creatures you control get +1/+1. SVar:X:Count$YourLifeTotal SVar:Y:Count$YourStartingLife SVar:Z:Count$Valid Creature.attacking+YouCtrl T:Mode$ AttackersDeclared | AttackingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever one or more creatures you control attack, you gain life equal to the number of attacking creatures. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ Z | References$ Z +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ Z SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/path_of_bravery.jpg Oracle:As long as your life total is greater than or equal to your starting life total, creatures you control get +1/+1.\nWhenever one or more creatures you control attack, you gain life equal to the number of attacking creatures. diff --git a/forge-gui/res/cardsfolder/p/pathbreaker_ibex.txt b/forge-gui/res/cardsfolder/p/pathbreaker_ibex.txt index 71196665884..d55c8dc6e65 100644 --- a/forge-gui/res/cardsfolder/p/pathbreaker_ibex.txt +++ b/forge-gui/res/cardsfolder/p/pathbreaker_ibex.txt @@ -3,7 +3,7 @@ ManaCost:4 G G Types:Creature Goat PT:3/3 T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, creatures you control gain trample and get +X/+X until end of turn, where X is the greatest power among creatures you control. -SVar:TrigPump:DB$ PumpAll | ValidCards$ Creature.YouCtrl | NumAtt$ X | NumDef$ X | References$ X | KW$ Trample +SVar:TrigPump:DB$ PumpAll | ValidCards$ Creature.YouCtrl | NumAtt$ X | NumDef$ X | KW$ Trample SVar:X:Count$GreatestPower_Creature.YouCtrl SVar:HasAttackEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/pathbreaker_ibex.jpg diff --git a/forge-gui/res/cardsfolder/p/patient_rebuilding.txt b/forge-gui/res/cardsfolder/p/patient_rebuilding.txt index 5aab5bcfbea..c129879fa21 100644 --- a/forge-gui/res/cardsfolder/p/patient_rebuilding.txt +++ b/forge-gui/res/cardsfolder/p/patient_rebuilding.txt @@ -3,7 +3,7 @@ ManaCost:3 U U Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ At the beginning of your upkeep, target opponent mills three cards, then you draw a card for each land card put into their graveyard this way. SVar:TrigMill:DB$ Mill | NumCards$ 3 | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | RememberMilled$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ValidGraveyard Land.IsRemembered Oracle:At the beginning of your upkeep, target opponent mills three cards, then you draw a card for each land card put into their graveyard this way. diff --git a/forge-gui/res/cardsfolder/p/patriarchs_desire.txt b/forge-gui/res/cardsfolder/p/patriarchs_desire.txt index 68fd6ccf2b1..38fdb0f07b0 100644 --- a/forge-gui/res/cardsfolder/p/patriarchs_desire.txt +++ b/forge-gui/res/cardsfolder/p/patriarchs_desire.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 3 B | ValidTgts$ Creature | AILogic$ Curse -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ X | AddToughness$ -X | References$ X | Description$ Enchanted creature gets +2/-2. Threshold — Enchanted creature gets an additional +2/-2 as long as seven or more cards are in your graveyard. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ X | AddToughness$ -X | Description$ Enchanted creature gets +2/-2. Threshold — Enchanted creature gets an additional +2/-2 as long as seven or more cards are in your graveyard. SVar:X:Count$Threshold.4.2 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/patriarchs_desire.jpg diff --git a/forge-gui/res/cardsfolder/p/patricians_scorn.txt b/forge-gui/res/cardsfolder/p/patricians_scorn.txt index 5931b29ad6e..292b09c7a7b 100644 --- a/forge-gui/res/cardsfolder/p/patricians_scorn.txt +++ b/forge-gui/res/cardsfolder/p/patricians_scorn.txt @@ -2,7 +2,7 @@ Name:Patrician's Scorn ManaCost:3 W Types:Instant A:SP$ DestroyAll | Cost$ 3 W | ValidCards$ Enchantment | SpellDescription$ Destroy all enchantments. -A:SP$ DestroyAll | Cost$ 0 | ValidCards$ Enchantment | CheckSVar$ X | SVarCompare$ GE1 | References$ X | SpellDescription$ If you've cast another white spell this turn, you may cast this spell without paying its mana cost. Destroy all enchantments. +A:SP$ DestroyAll | Cost$ 0 | ValidCards$ Enchantment | CheckSVar$ X | SVarCompare$ GE1 | SpellDescription$ If you've cast another white spell this turn, you may cast this spell without paying its mana cost. Destroy all enchantments. SVar:X:Count$ThisTurnCast_Card.White+Other+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/patricians_scorn.jpg Oracle:If you've cast another white spell this turn, you may cast this spell without paying its mana cost.\nDestroy all enchantments. diff --git a/forge-gui/res/cardsfolder/p/pay_tribute_to_me.txt b/forge-gui/res/cardsfolder/p/pay_tribute_to_me.txt index 3a962fd118d..a0e382a1c27 100644 --- a/forge-gui/res/cardsfolder/p/pay_tribute_to_me.txt +++ b/forge-gui/res/cardsfolder/p/pay_tribute_to_me.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Scheme T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ DBSac | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, each opponent sacrifices a creature. If you control six or more lands, each opponent sacrifices another creature. SVar:DBSac:DB$ Sacrifice | SacValid$ Creature | Defined$ Player.Opponent | SubAbility$ DBSac2 -SVar:DBSac2:DB$ Sacrifice | SacValid$ Creature | Defined$ Player.Opponent | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE6 +SVar:DBSac2:DB$ Sacrifice | SacValid$ Creature | Defined$ Player.Opponent | ConditionCheckSVar$ X | ConditionSVarCompare$ GE6 SVar:X:Count$Valid Land.YouCtrl SVar:Picture:https://downloads.cardforge.org/images/cards/ARC/Pay Tribute to Me.full.jpg Oracle:When you set this scheme in motion, each opponent sacrifices a creature. If you control six or more lands, each opponent sacrifices another creature. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/p/peach_garden_oath.txt b/forge-gui/res/cardsfolder/p/peach_garden_oath.txt index 5c309390bff..2e1e6899787 100644 --- a/forge-gui/res/cardsfolder/p/peach_garden_oath.txt +++ b/forge-gui/res/cardsfolder/p/peach_garden_oath.txt @@ -1,7 +1,7 @@ Name:Peach Garden Oath ManaCost:W Types:Sorcery -A:SP$ GainLife | Cost$ W | LifeAmount$ X | References$ X | SpellDescription$ You gain 2 life for each creature you control. +A:SP$ GainLife | Cost$ W | LifeAmount$ X | SpellDescription$ You gain 2 life for each creature you control. SVar:X:Count$TypeYouCtrl.Creature/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/peach_garden_oath.jpg Oracle:You gain 2 life for each creature you control. diff --git a/forge-gui/res/cardsfolder/p/peema_aether_seer.txt b/forge-gui/res/cardsfolder/p/peema_aether_seer.txt index 2564446d96e..acf2390147c 100644 --- a/forge-gui/res/cardsfolder/p/peema_aether_seer.txt +++ b/forge-gui/res/cardsfolder/p/peema_aether_seer.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Creature Elf Druid PT:3/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get an amount of {E} (energy counters) equal to the greatest power among creatures you control. -SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ X | References$ X +SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ X SVar:X:Count$GreatestPower_Creature.YouCtrl A:AB$ Pump | Cost$ PayEnergy<3> | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ HIDDEN CARDNAME blocks each combat if able. | SpellDescription$ Target creature blocks this turn if able. SVar:Picture:http://www.wizards.com/global/images/magic/general/peema_aether_seer.jpg diff --git a/forge-gui/res/cardsfolder/p/peer_into_the_abyss.txt b/forge-gui/res/cardsfolder/p/peer_into_the_abyss.txt index f04ad7cbd20..ab5959e02a0 100755 --- a/forge-gui/res/cardsfolder/p/peer_into_the_abyss.txt +++ b/forge-gui/res/cardsfolder/p/peer_into_the_abyss.txt @@ -1,8 +1,8 @@ Name:Peer into the Abyss ManaCost:4 B B B Types:Sorcery -A:SP$ Draw | Cost$ 4 B B B | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X | References$ X | SubAbility$ DBLoseLife | SpellDescription$ Target player draws cards equal to half the number of cards in their library and loses half their life. Round up each time. -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ Y | References$ Y | Defined$ Targeted +A:SP$ Draw | Cost$ 4 B B B | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X | SubAbility$ DBLoseLife | SpellDescription$ Target player draws cards equal to half the number of cards in their library and loses half their life. Round up each time. +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ Y | Defined$ Targeted SVar:X:TargetedPlayer$CardsInLibrary/HalfUp SVar:Y:TargetedPlayer$LifeTotal/HalfUp Oracle:Target player draws cards equal to half the number of cards in their library and loses half their life. Round up each time. diff --git a/forge-gui/res/cardsfolder/p/peer_pressure.txt b/forge-gui/res/cardsfolder/p/peer_pressure.txt index e0deb2a1e7a..6297cf804ad 100644 --- a/forge-gui/res/cardsfolder/p/peer_pressure.txt +++ b/forge-gui/res/cardsfolder/p/peer_pressure.txt @@ -2,7 +2,7 @@ Name:Peer Pressure ManaCost:3 U Types:Sorcery A:SP$ ChooseType | Cost$ 3 U | Defined$ You | Type$ Creature | SubAbility$ ApplyPressure | SpellDescription$ Choose a creature type. If you control more creatures of that type than each other player, you gain control of all creatures of that type. (This effect lasts indefinitely.) -SVar:ApplyPressure:DB$ GainControl | AllValid$ Creature.ChosenType | NewController$ You | ConditionCheckSVar$ YourPeerGroup | ConditionSVarCompare$ GTY | References$ YourPeerGroup,Y +SVar:ApplyPressure:DB$ GainControl | AllValid$ Creature.ChosenType | NewController$ You | ConditionCheckSVar$ YourPeerGroup | ConditionSVarCompare$ GTY SVar:YourPeerGroup:Count$Valid Creature.ChosenType+YouCtrl SVar:Y:PlayerCountOther$HighestValid Creature.ChosenType+YouCtrl AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/p/pelt_collector.txt b/forge-gui/res/cardsfolder/p/pelt_collector.txt index d05c265f3aa..9f0846b1b72 100644 --- a/forge-gui/res/cardsfolder/p/pelt_collector.txt +++ b/forge-gui/res/cardsfolder/p/pelt_collector.txt @@ -3,10 +3,10 @@ ManaCost:G Types:Creature Elf Warrior PT:1/1 S:Mode$ Continuous | Affected$ Card.Self+counters_GE3_P1P1 | AddKeyword$ Trample | Description$ As long as CARDNAME has three or more +1/+1 counters on it, it has trample. -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl+powerGTX+Other | References$ X | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever another creature you control enters the battlefield or dies, if that creature's power is greater than CARDNAME's, put a +1/+1 counter on CARDNAME. -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouCtrl+powerGTX+Other | References$ X | TriggerZones$ Battlefield | Secondary$ True | Execute$ TrigPutCounter | TriggerDescription$ Whenever another creature you control enters the battlefield or dies, if that creature's power is greater than CARDNAME's, put a +1/+1 counter on CARDNAME. +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl+powerGTX+Other | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever another creature you control enters the battlefield or dies, if that creature's power is greater than CARDNAME's, put a +1/+1 counter on CARDNAME. +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouCtrl+powerGTX+Other | TriggerZones$ Battlefield | Secondary$ True | Execute$ TrigPutCounter | TriggerDescription$ Whenever another creature you control enters the battlefield or dies, if that creature's power is greater than CARDNAME's, put a +1/+1 counter on CARDNAME. SVar:X:Count$CardPower SVar:Y:TriggeredCard$CardPower -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ LTY | References$ X,Y +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ LTY DeckHas:Ability$Counters Oracle:Whenever another creature you control enters the battlefield or dies, if that creature's power is greater than Pelt Collector's, put a +1/+1 counter on Pelt Collector.\nAs long as Pelt Collector has three or more +1/+1 counters on it, it has trample. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/p/pennon_blade.txt b/forge-gui/res/cardsfolder/p/pennon_blade.txt index a42fda04d27..33efbd438b1 100644 --- a/forge-gui/res/cardsfolder/p/pennon_blade.txt +++ b/forge-gui/res/cardsfolder/p/pennon_blade.txt @@ -2,7 +2,7 @@ Name:Pennon Blade ManaCost:3 Types:Artifact Equipment K:Equip:4 -S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ Equipped creature gets +1/+1 for each creature you control. +S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ X | Description$ Equipped creature gets +1/+1 for each creature you control. SVar:X:Count$Valid Creature.YouCtrl SVar:BuffedBy:Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/pennon_blade.jpg diff --git a/forge-gui/res/cardsfolder/p/people_of_the_woods.txt b/forge-gui/res/cardsfolder/p/people_of_the_woods.txt index 24cf4bf5a9f..0d533b6b17e 100644 --- a/forge-gui/res/cardsfolder/p/people_of_the_woods.txt +++ b/forge-gui/res/cardsfolder/p/people_of_the_woods.txt @@ -2,7 +2,7 @@ Name:People of the Woods ManaCost:G G Types:Creature Human PT:1/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetToughness$ X | References$ X | Description$ CARDNAME's toughness is equal to the number of Forests you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetToughness$ X | Description$ CARDNAME's toughness is equal to the number of Forests you control. SVar:X:Count$Valid Forest.YouCtrl SVar:BuffedBy:Forest SVar:Picture:http://www.wizards.com/global/images/magic/general/people_of_the_woods.jpg diff --git a/forge-gui/res/cardsfolder/p/permafrost_trap.txt b/forge-gui/res/cardsfolder/p/permafrost_trap.txt index d8261af4156..0a4ea1c8905 100644 --- a/forge-gui/res/cardsfolder/p/permafrost_trap.txt +++ b/forge-gui/res/cardsfolder/p/permafrost_trap.txt @@ -1,7 +1,7 @@ Name:Permafrost Trap ManaCost:2 U U Types:Instant Trap -SVar:AltCost:Cost$ U | CheckSVar$ GreenCreats | References$ GreenCreats | Description$ If an opponent had a green creature enter the battlefield under their control this turn, you may pay {U} rather than pay this spell's mana cost. +SVar:AltCost:Cost$ U | CheckSVar$ GreenCreats | Description$ If an opponent had a green creature enter the battlefield under their control this turn, you may pay {U} rather than pay this spell's mana cost. A:SP$ Tap | Cost$ 2 U U | TargetMin$ 0 | TargetMax$ 2 | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBPump | SpellDescription$ Tap up to two target creatures. Those creatures don't untap during their controller's next untap step. SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ HIDDEN This card doesn't untap during your next untap step. | Permanent$ True | StackDescription$ {c:Targeted} don't untap during {p:TargetedController}'s next untap step. SVar:GreenCreats:Count$ThisTurnEntered_Battlefield_Creature.Green+OppCtrl diff --git a/forge-gui/res/cardsfolder/p/pernicious_deed.txt b/forge-gui/res/cardsfolder/p/pernicious_deed.txt index 36d9a59c5f5..0686741bea1 100644 --- a/forge-gui/res/cardsfolder/p/pernicious_deed.txt +++ b/forge-gui/res/cardsfolder/p/pernicious_deed.txt @@ -1,7 +1,7 @@ Name:Pernicious Deed ManaCost:1 B G Types:Enchantment -A:AB$ DestroyAll | Cost$ X Sac<1/CARDNAME> | ValidCards$ Artifact.cmcLEX,Creature.cmcLEX,Enchantment.cmcLEX | References$ X | SpellDescription$ Destroy each artifact, creature, and enchantment with converted mana cost X or less. +A:AB$ DestroyAll | Cost$ X Sac<1/CARDNAME> | ValidCards$ Artifact.cmcLEX,Creature.cmcLEX,Enchantment.cmcLEX | SpellDescription$ Destroy each artifact, creature, and enchantment with converted mana cost X or less. SVar:X:Count$xPaid AI:RemoveDeck:Random SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/p/perpetual_timepiece.txt b/forge-gui/res/cardsfolder/p/perpetual_timepiece.txt index ce3090fb04f..2b9cd344b15 100644 --- a/forge-gui/res/cardsfolder/p/perpetual_timepiece.txt +++ b/forge-gui/res/cardsfolder/p/perpetual_timepiece.txt @@ -2,7 +2,7 @@ Name:Perpetual Timepiece ManaCost:2 Types:Artifact A:AB$ Mill | Cost$ T | Defined$ You | NumCards$ 2 | SpellDescription$ Mill two cards. -A:AB$ ChangeZone | Cost$ 2 Exile<1/CARDNAME> | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | References$ X | Shuffle$ True | TgtPrompt$ Choose any number of target cards in your graveyard | ValidTgts$ Card.YouCtrl | SpellDescription$ Shuffle any number of target cards from your graveyard into your library. +A:AB$ ChangeZone | Cost$ 2 Exile<1/CARDNAME> | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | Shuffle$ True | TgtPrompt$ Choose any number of target cards in your graveyard | ValidTgts$ Card.YouCtrl | SpellDescription$ Shuffle any number of target cards from your graveyard into your library. SVar:X:Count$InYourYard AI:RemoveDeck:All Oracle:{T}: Mill two cards.\n{2}, Exile Perpetual Timepiece: Shuffle any number of target cards from your graveyard into your library. diff --git a/forge-gui/res/cardsfolder/p/personal_incarnation.txt b/forge-gui/res/cardsfolder/p/personal_incarnation.txt index a2d3ebbc1a5..efd41733824 100644 --- a/forge-gui/res/cardsfolder/p/personal_incarnation.txt +++ b/forge-gui/res/cardsfolder/p/personal_incarnation.txt @@ -2,12 +2,12 @@ Name:Personal Incarnation ManaCost:3 W W W Types:Creature Avatar Incarnation PT:6/6 -A:AB$ Effect | Cost$ 0 | Activator$ Player.Owner | Name$ Personal Incarnation Redirection | ReplacementEffects$ RedirectDamage | SVars$ RedirectDmg | References$ RedirectDamage,RedirectDmg | Duration$ HostLeavesOrEOT | EffectOwner$ CardOwner | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to its owner instead. Only CARDNAME's owner may activate this ability. +A:AB$ Effect | Cost$ 0 | Activator$ Player.Owner | Name$ Personal Incarnation Redirection | ReplacementEffects$ RedirectDamage | SVars$ RedirectDmg | Duration$ HostLeavesOrEOT | EffectOwner$ CardOwner | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to its owner instead. Only CARDNAME's owner may activate this ability. SVar:RedirectDamage:Event$ DamageDone | ValidTarget$ Creature.EffectSource | ReplaceWith$ RedirectDmg | DamageTarget$ You | Description$ The next 1 damage that would be dealt to EFFECTSOURCE this turn is dealt to its owner instead. Only EFFECTSOURCE's owner may activate this ability. SVar:RedirectDmg:DB$ ReplaceSplitDamage | DamageTarget$ You T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, its owner loses half their life, rounded up. SVar:TrigLoseLife:DB$ Pump | RememberObjects$ TriggeredCardOwner | SubAbility$ DBLoseLife -SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ HavocX | References$ HavocX | SubAbility$ DBCleanup +SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ HavocX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:HavocX:PlayerCountRemembered$LifeTotal/HalfUp AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/p/pestilence_rats.txt b/forge-gui/res/cardsfolder/p/pestilence_rats.txt index 3081afd2933..7d87974d7f0 100644 --- a/forge-gui/res/cardsfolder/p/pestilence_rats.txt +++ b/forge-gui/res/cardsfolder/p/pestilence_rats.txt @@ -2,7 +2,7 @@ Name:Pestilence Rats ManaCost:2 B Types:Creature Rat PT:*/3 -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | References$ X | Description$ CARDNAME's power is equal to the number of other Rats on the battlefield. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | Description$ CARDNAME's power is equal to the number of other Rats on the battlefield. SVar:X:Count$Valid Rat.Other SVar:BuffedBy:Rat AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/p/petalmane_baku.txt b/forge-gui/res/cardsfolder/p/petalmane_baku.txt index 78deace7265..e1938fe90fa 100644 --- a/forge-gui/res/cardsfolder/p/petalmane_baku.txt +++ b/forge-gui/res/cardsfolder/p/petalmane_baku.txt @@ -4,7 +4,7 @@ Types:Creature Spirit PT:1/2 T:Mode$ SpellCast | ValidCard$ Spirit,Arcane | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ Whenever you cast a Spirit or Arcane spell, you may put a ki counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ KI | CounterNum$ 1 -A:AB$ Mana | Cost$ 1 SubCounter | Produced$ Any | Amount$ X | References$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add X mana of any one color. +A:AB$ Mana | Cost$ 1 SubCounter | Produced$ Any | Amount$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add X mana of any one color. SVar:X:Count$xPaid AI:RemoveDeck:Random DeckHints:Type$Spirit|Arcane diff --git a/forge-gui/res/cardsfolder/p/phage_the_untouchable_avatar.txt b/forge-gui/res/cardsfolder/p/phage_the_untouchable_avatar.txt index c684c2bb402..337b5b772ca 100644 --- a/forge-gui/res/cardsfolder/p/phage_the_untouchable_avatar.txt +++ b/forge-gui/res/cardsfolder/p/phage_the_untouchable_avatar.txt @@ -2,10 +2,10 @@ Name:Phage the Untouchable Avatar ManaCost:no cost Types:Vanguard HandLifeModifier:+0/-5 -A:AB$ Effect | Cost$ PayLife<1> | ActivationZone$ Command | Triggers$ TrigPhageDestroy | SVars$ PhageAvatarDestroy | References$ TrigPhageDestroy,PhageAvatarDestroy | SpellDescription$ Until end of turn, whenever a creature deals combat damage to you, destroy that creature. +A:AB$ Effect | Cost$ PayLife<1> | ActivationZone$ Command | Triggers$ TrigPhageDestroy | SVars$ PhageAvatarDestroy | SpellDescription$ Until end of turn, whenever a creature deals combat damage to you, destroy that creature. SVar:TrigPhageDestroy:Mode$ DamageDone | ValidSource$ Creature | ValidTarget$ You | TriggerZones$ Command | CombatDamage$ True | Execute$ PhageAvatarDestroy | TriggerDescription$ Whenever a creature deals combat damage to you, destroy that creature. SVar:PhageAvatarDestroy:DB$ Destroy | Defined$ TriggeredSourceLKICopy -A:AB$ Effect | Cost$ PayLife<1> | ActivationZone$ Command | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | Triggers$ TrigPhageCreature | SVars$ PhageAvatarDestroy2 | RememberObjects$ Targeted | References$ TrigPhageCreature,PhageAvatarDestroy2 | SpellDescription$ Until end of turn, whenever target creature you control deals combat damage to a creature, destroy the damaged creature. +A:AB$ Effect | Cost$ PayLife<1> | ActivationZone$ Command | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | Triggers$ TrigPhageCreature | SVars$ PhageAvatarDestroy2 | RememberObjects$ Targeted | SpellDescription$ Until end of turn, whenever target creature you control deals combat damage to a creature, destroy the damaged creature. SVar:TrigPhageCreature:Mode$ DamageDone | ValidSource$ Creature.IsRemembered | ValidTarget$ Creature | TriggerZones$ Command | CombatDamage$ True | Execute$ PhageAvatarDestroy2 | TriggerDescription$ Whenever target creature you control deals combat damage to a creature, destroy the damaged creature. SVar:PhageAvatarDestroy2:DB$ Destroy | Defined$ TriggeredTargetLKICopy SVar:Picture:https://downloads.cardforge.org/images/cards/VAN/Phage the Untouchable Avatar.full.jpg diff --git a/forge-gui/res/cardsfolder/p/phalanx_formation.txt b/forge-gui/res/cardsfolder/p/phalanx_formation.txt index 7a982779547..71c32dbcf55 100644 --- a/forge-gui/res/cardsfolder/p/phalanx_formation.txt +++ b/forge-gui/res/cardsfolder/p/phalanx_formation.txt @@ -2,7 +2,7 @@ Name:Phalanx Formation ManaCost:2 W Types:Instant K:Strive:1 W -A:SP$ Pump | Cost$ 2 W | ValidTgts$ Creature | KW$ Double Strike | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | SpellDescription$ Any number of target creatures each gain double strike until end of turn. +A:SP$ Pump | Cost$ 2 W | ValidTgts$ Creature | KW$ Double Strike | TargetMin$ 0 | TargetMax$ MaxTargets | SpellDescription$ Any number of target creatures each gain double strike until end of turn. SVar:MaxTargets:Count$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/phalanx_formation.jpg Oracle:Strive — This spell costs {1}{W} more to cast for each target beyond the first.\nAny number of target creatures each gain double strike until end of turn. (They deal both first-strike and regular combat damage.) diff --git a/forge-gui/res/cardsfolder/p/phantasmal_mount.txt b/forge-gui/res/cardsfolder/p/phantasmal_mount.txt index a71d7a53997..9e0e5000ab2 100644 --- a/forge-gui/res/cardsfolder/p/phantasmal_mount.txt +++ b/forge-gui/res/cardsfolder/p/phantasmal_mount.txt @@ -4,7 +4,7 @@ Types:Creature Illusion Horse PT:1/1 K:Flying A:AB$ Pump | Cost$ T | ValidTgts$ Creature.YouCtrl+toughnessLE2 | TgtPrompt$ Select target creature you control with toughness 2 or less | NumAtt$ +1 | NumDef$ +1 | KW$ Flying | SubAbility$ PhantasmalMountEffect | SpellDescription$ Target creature you control with toughness 2 or less gets +1/+1 and gains flying until end of turn. When CARDNAME leaves the battlefield this turn, sacrifice that creature. When the creature leaves the battlefield this turn, sacrifice CARDNAME. -SVar:PhantasmalMountEffect:DB$ Effect | Name$ Phantasmal Mount Effect | Triggers$ LostTheMount,LostTheTarget | SVars$ ExileEffect,SacMount,SacTarget | References$ LostTheMount,LostTheTarget,ExileEffect,SacMount,SacTarget | RememberObjects$ Targeted | ImprintCards$ Self +SVar:PhantasmalMountEffect:DB$ Effect | Name$ Phantasmal Mount Effect | Triggers$ LostTheMount,LostTheTarget | SVars$ ExileEffect,SacMount,SacTarget | RememberObjects$ Targeted | ImprintCards$ Self SVar:LostTheMount:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Battlefield | Destination$ Any | Execute$ SacMount | TriggerDescription$ When the targeted creature leaves the battlefield this turn, sacrifice Phantasmal Mount. SVar:SacMount:DB$ SacrificeAll | Defined$ Imprinted | SubAbility$ ExileEffect SVar:LostTheTarget:Mode$ ChangesZone | ValidCard$ Card.IsImprinted | Origin$ Battlefield | Destination$ Any | Execute$ SacTarget | TriggerDescription$ When Phantasmal Mount leaves the battlefield this turn, sacrifice the targeted creature. diff --git a/forge-gui/res/cardsfolder/p/phantasmal_sphere.txt b/forge-gui/res/cardsfolder/p/phantasmal_sphere.txt index 6d7f82457f9..fdc36b5758c 100644 --- a/forge-gui/res/cardsfolder/p/phantasmal_sphere.txt +++ b/forge-gui/res/cardsfolder/p/phantasmal_sphere.txt @@ -7,7 +7,7 @@ T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | E SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ SacSelf SVar:SacSelf:DB$ Sacrifice | Defined$ Card.Self | UnlessCost$ X | UnlessPayer$ You T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ OrbToken | TriggerDescription$ When CARDNAME leaves the battlefield, target opponent creates an X/X blue Orb creature token with flying, where X is the number of +1/+1 counters on CARDNAME. -SVar:OrbToken:DB$ Token | LegacyImage$ u x x orb all | ValidTgts$ Opponent | TokenOwner$ Targeted | TokenScript$ u_x_x_orb_flying | TokenPower$ XLKI | TokenToughness$ XLKI | References$ XLKI | TokenAmount$ 1 +SVar:OrbToken:DB$ Token | LegacyImage$ u x x orb all | ValidTgts$ Opponent | TokenOwner$ Targeted | TokenScript$ u_x_x_orb_flying | TokenPower$ XLKI | TokenToughness$ XLKI | TokenAmount$ 1 SVar:X:Count$CardCounters.P1P1 SVar:XLKI:TriggeredCard$CardCounters.P1P1 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/p/phantom_nishoba.txt b/forge-gui/res/cardsfolder/p/phantom_nishoba.txt index e57f8b5232e..27ebcdff3b6 100644 --- a/forge-gui/res/cardsfolder/p/phantom_nishoba.txt +++ b/forge-gui/res/cardsfolder/p/phantom_nishoba.txt @@ -5,7 +5,7 @@ PT:0/0 K:etbCounter:P1P1:7 K:Trample T:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ DBRemoveCounters | PreventionEffect$ True | Description$ If damage would be dealt to CARDNAME, prevent that damage. Remove a +1/+1 counter from CARDNAME. SVar:DBRemoveCounters:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 diff --git a/forge-gui/res/cardsfolder/p/phantom_nomad.txt b/forge-gui/res/cardsfolder/p/phantom_nomad.txt index a39bb6f42d7..41db97ff96f 100644 --- a/forge-gui/res/cardsfolder/p/phantom_nomad.txt +++ b/forge-gui/res/cardsfolder/p/phantom_nomad.txt @@ -8,7 +8,7 @@ T:Mode$ Phase | Static$ True | Phase$ EndCombat | Execute$ DBCleanup R:Event$ DamageDone | IsCombat$ True | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ DBRemoveCountersInCombat | PreventionEffect$ True | Description$ If damage would be dealt to CARDNAME, prevent that damage. Remove a +1/+1 counter from CARDNAME. R:Event$ DamageDone | IsCombat$ False | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ DBRemoveCounters | PreventionEffect$ True | Secondary$ True | Description$ If damage would be dealt to CARDNAME, prevent that damage. Remove a +1/+1 counter from CARDNAME. SVar:DBRemoveCountersInCombat:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ TimesFlagged | ConditionSVarCompare$ EQ0 | SubAbility$ DBFlagRemoveCounters -SVar:DBFlagRemoveCounters:DB$ StoreSVar | SVar$ TimesFlagged | Type$ CountSVar | Expression$ TimesFlagged/Plus.1 | References$ TimesFlagged +SVar:DBFlagRemoveCounters:DB$ StoreSVar | SVar$ TimesFlagged | Type$ CountSVar | Expression$ TimesFlagged/Plus.1 SVar:DBRemoveCounters:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 SVar:TimesFlagged:Number$0 SVar:DBCleanup:DB$ StoreSVar | SVar$ TimesFlagged | Type$ Number | Expression$ 0 diff --git a/forge-gui/res/cardsfolder/p/pharika_god_of_affliction.txt b/forge-gui/res/cardsfolder/p/pharika_god_of_affliction.txt index 7d78d13c66a..47c3bf67ece 100644 --- a/forge-gui/res/cardsfolder/p/pharika_god_of_affliction.txt +++ b/forge-gui/res/cardsfolder/p/pharika_god_of_affliction.txt @@ -3,7 +3,7 @@ ManaCost:1 B G Types:Legendary Enchantment Creature God PT:5/5 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | References$ X | Description$ As long as your devotion to black and green is less than seven, CARDNAME isn't a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | Description$ As long as your devotion to black and green is less than seven, CARDNAME isn't a creature. SVar:X:Count$DevotionDual.Black.Green A:AB$ ChangeZone | Cost$ B G | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Creature | AITgts$ Card.YouOwn | AILogic$ AtOppEOT | AITgtOwnCards$ True | SubAbility$ DBToken | SpellDescription$ Exile target creature card from a graveyard. Its owner creates a 1/1 black and green Snake enchantment creature token with deathtouch. SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ bg_1_1_e_snake_deathtouch | TokenOwner$ TargetedController | LegacyImage$ bg 1 1 e snake deathtouch jou diff --git a/forge-gui/res/cardsfolder/p/phenax_god_of_deception.txt b/forge-gui/res/cardsfolder/p/phenax_god_of_deception.txt index 9478ae0b9ee..b692f28bf9d 100644 --- a/forge-gui/res/cardsfolder/p/phenax_god_of_deception.txt +++ b/forge-gui/res/cardsfolder/p/phenax_god_of_deception.txt @@ -3,10 +3,10 @@ ManaCost:3 U B Types:Legendary Enchantment Creature God PT:4/7 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | References$ X | Description$ As long as your devotion to blue and black is less than seven, CARDNAME isn't a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | Description$ As long as your devotion to blue and black is less than seven, CARDNAME isn't a creature. SVar:X:Count$DevotionDual.Blue.Black S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddAbility$ PhenaxMill | AddSVar$ PhenaxToughness | Description$ Creatures you control have "{T}: Target player mills X cards, where X is this creature's toughness." -SVar:PhenaxMill:AB$ Mill | Cost$ T | ValidTgts$ Player | NumCards$ PhenaxToughness | References$ PhenaxToughness | SpellDescription$ Target player mills X cards, where X is CARDNAME's toughness. +SVar:PhenaxMill:AB$ Mill | Cost$ T | ValidTgts$ Player | NumCards$ PhenaxToughness | SpellDescription$ Target player mills X cards, where X is CARDNAME's toughness. SVar:PhenaxToughness:Count$CardToughness SVar:BuffedBy:Permanent.Black,Permanent.Blue Oracle:Indestructible\nAs long as your devotion to blue and black is less than seven, Phenax isn't a creature.\nCreatures you control have "{T}: Target player mills X cards, where X is this creature's toughness." diff --git a/forge-gui/res/cardsfolder/p/phosphorescent_feast.txt b/forge-gui/res/cardsfolder/p/phosphorescent_feast.txt index 9efceeaea2c..89acc5af3d9 100644 --- a/forge-gui/res/cardsfolder/p/phosphorescent_feast.txt +++ b/forge-gui/res/cardsfolder/p/phosphorescent_feast.txt @@ -2,7 +2,7 @@ Name:Phosphorescent Feast ManaCost:2 G G G Types:Sorcery A:SP$ Reveal | Cost$ 2 G G G | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBGainLife | SpellDescription$ Chroma — Reveal any number of cards in your hand. You gain 2 life for each green mana symbol in those cards' mana costs. -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$ChromaSource.Green/Twice AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/p/phthisis.txt b/forge-gui/res/cardsfolder/p/phthisis.txt index b467311b361..f834c811375 100644 --- a/forge-gui/res/cardsfolder/p/phthisis.txt +++ b/forge-gui/res/cardsfolder/p/phthisis.txt @@ -3,7 +3,7 @@ ManaCost:3 B B B B Types:Sorcery K:Suspend:5:1 B A:SP$ Destroy | Cost$ 3 B B B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberLKI$ True | SubAbility$ DBLoseLife | SpellDescription$ Destroy target creature. Its controller loses life equal to its power plus its toughness. -SVar:DBLoseLife:DB$ LoseLife | Defined$ TargetedController | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBLoseLife:DB$ LoseLife | Defined$ TargetedController | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardSumPT SVar:Picture:http://www.wizards.com/global/images/magic/general/phthisis.jpg diff --git a/forge-gui/res/cardsfolder/p/phylath_world_sculptor.txt b/forge-gui/res/cardsfolder/p/phylath_world_sculptor.txt index 682674b1e4e..0ada7f4b0e7 100755 --- a/forge-gui/res/cardsfolder/p/phylath_world_sculptor.txt +++ b/forge-gui/res/cardsfolder/p/phylath_world_sculptor.txt @@ -3,7 +3,7 @@ ManaCost:4 R G Types:Legendary Creature Elemental PT:5/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a 0/1 green Plant creature token for each basic land you control. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_0_1_plant | TokenOwner$ You +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_0_1_plant | TokenOwner$ You SVar:X:Count$Valid Land.Basic+YouCtrl T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Landfall - Whenever a land enters the battlefield under your control, put four +1/+1 counters on target Plant you control. SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Plant.YouCtrl | TgtPrompt$ Select target Plant you control | CounterType$ P1P1 | CounterNum$ 4 diff --git a/forge-gui/res/cardsfolder/p/phyrexian_delver.txt b/forge-gui/res/cardsfolder/p/phyrexian_delver.txt index b1da0f85a52..44e746285a5 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_delver.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_delver.txt @@ -4,7 +4,7 @@ Types:Creature Zombie PT:3/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, return target creature card from your graveyard to the battlefield. You lose life equal to that card's converted mana cost. SVar:TrigChangeZone:DB$ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Choose target creature card in your graveyard | GainControl$ True | ChangeNum$ 1 | SubAbility$ DBLoseLifeYou -SVar:DBLoseLifeYou:DB$LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBLoseLifeYou:DB$LoseLife | Defined$ You | LifeAmount$ X SVar:X:Targeted$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_delver.jpg diff --git a/forge-gui/res/cardsfolder/p/phyrexian_devourer.txt b/forge-gui/res/cardsfolder/p/phyrexian_devourer.txt index 6304610ebd3..07577f5bfc3 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_devourer.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_devourer.txt @@ -4,7 +4,7 @@ Types:Artifact Creature Construct PT:1/1 T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Creature.Self+powerGE7 | PresentCompare$ GE1 | Execute$ TrigSac | TriggerDescription$ When CARDNAME's power is 7 or greater, sacrifice it. SVar:TrigSac:DB$Sacrifice | Defined$ Self -A:AB$ PutCounter | Cost$ ExileFromTop<1/Card> | Defined$ Self | CounterNum$ X | References$ X | CounterType$ P1P1 | SpellDescription$ Put X +1/+1 counters on CARDNAME, where X is the exiled card's converted mana cost. +A:AB$ PutCounter | Cost$ ExileFromTop<1/Card> | Defined$ Self | CounterNum$ X | CounterType$ P1P1 | SpellDescription$ Put X +1/+1 counters on CARDNAME, where X is the exiled card's converted mana cost. SVar:X:Exiled$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_devourer.jpg diff --git a/forge-gui/res/cardsfolder/p/phyrexian_dreadnought.txt b/forge-gui/res/cardsfolder/p/phyrexian_dreadnought.txt index fbbf6de0833..860e735735d 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_dreadnought.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_dreadnought.txt @@ -5,8 +5,8 @@ PT:12/12 K:Trample T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ ChooseCreatures | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you sacrifice any number of creatures with total power 12 or greater. SVar:ChooseCreatures:DB$ ChooseCard | Defined$ You | Amount$ X | MinAmount$ 0 | Choices$ Creature.YouCtrl | ChoiceTitle$ Sacrifice any number of creatures with total power 12 or greater. | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ SacrificeSelf -SVar:SacrificeSelf:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ TotalPower | ConditionSVarCompare$ LT12 | SubAbility$ SacrificeCreatures | References$ TotalPower -SVar:SacrificeCreatures:DB$ SacrificeAll | Defined$ Remembered | ConditionCheckSVar$ TotalPower | ConditionSVarCompare$ GE12 | SubAbility$ DBCleanup | References$ TotalPower +SVar:SacrificeSelf:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ TotalPower | ConditionSVarCompare$ LT12 | SubAbility$ SacrificeCreatures +SVar:SacrificeCreatures:DB$ SacrificeAll | Defined$ Remembered | ConditionCheckSVar$ TotalPower | ConditionSVarCompare$ GE12 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:TotalPower:Remembered$CardPower SVar:X:Count$Valid Creature.YouCtrl diff --git a/forge-gui/res/cardsfolder/p/phyrexian_etchings.txt b/forge-gui/res/cardsfolder/p/phyrexian_etchings.txt index baf041d3b42..cc7f41ade1e 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_etchings.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_etchings.txt @@ -3,9 +3,9 @@ ManaCost:B B B Types:Enchantment K:Cumulative upkeep:B T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | Execute$ TrigDraw | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your end step, draw a card for each age counter on CARDNAME. -SVar:TrigDraw:DB$ Draw | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | NumCards$ X T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigLoseLife | ValidCard$ Card.Self | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, you lose 2 life for each age counter on it. -SVar:TrigLoseLife:DB$ LoseLife | LifeAmount$ Y | References$ Y +SVar:TrigLoseLife:DB$ LoseLife | LifeAmount$ Y SVar:X:Count$CardCounters.AGE SVar:Y:TriggeredCard$CardCounters.AGE/Times.2 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/p/phyrexian_hydra.txt b/forge-gui/res/cardsfolder/p/phyrexian_hydra.txt index 713322e1f05..7dbf3153ffe 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_hydra.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_hydra.txt @@ -4,7 +4,7 @@ Types:Creature Hydra PT:7/7 K:Infect R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ Counters | PreventionEffect$ True | Description$ If damage would be dealt to CARDNAME, prevent that damage. Put a -1/-1 counter on CARDNAME for each 1 damage prevented this way. -SVar:Counters:DB$ PutCounter | Defined$ ReplacedTarget | CounterType$ M1M1 | CounterNum$ X | References$ X +SVar:Counters:DB$ PutCounter | Defined$ ReplacedTarget | CounterType$ M1M1 | CounterNum$ X SVar:X:ReplaceCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_hydra.jpg Oracle:Infect (This creature deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters.)\nIf damage would be dealt to Phyrexian Hydra, prevent that damage. Put a -1/-1 counter on Phyrexian Hydra for each 1 damage prevented this way. diff --git a/forge-gui/res/cardsfolder/p/phyrexian_ingester.txt b/forge-gui/res/cardsfolder/p/phyrexian_ingester.txt index 632344133d5..4c4f4b16ebe 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_ingester.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_ingester.txt @@ -6,7 +6,7 @@ T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefi SVar:TrigExile:DB$ChangeZone | Imprint$ True | ValidTgts$ Creature.nonToken | TgtPrompt$ Select target nontoken creature | Origin$ Battlefield | Destination$ Exile T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Any | Execute$ TrigReset | Static$ True SVar:TrigReset:DB$ Cleanup | ClearImprinted$ True -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ Y | References$ X,Y | Description$ CARDNAME gets +X/+Y, where X is the exiled creature card's power and Y is its toughness. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ Y | Description$ CARDNAME gets +X/+Y, where X is the exiled creature card's power and Y is its toughness. T:Mode$ ChangesZone | ValidCard$ Card.IsImprinted+ExiledWithSource | Origin$ Exile | Execute$ DBForget | Static$ True SVar:DBForget:DB$ Pump | ForgetImprinted$ TriggeredCard SVar:X:Imprinted$CardPower diff --git a/forge-gui/res/cardsfolder/p/phyrexian_negator.txt b/forge-gui/res/cardsfolder/p/phyrexian_negator.txt index 470f2f3389e..ccde9e56cfa 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_negator.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_negator.txt @@ -4,7 +4,7 @@ Types:Creature Horror PT:5/5 K:Trample T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | Execute$ TrigSac | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, sacrifice that many permanents. -SVar:TrigSac:DB$ Sacrifice | Amount$ X | SacValid$ Permanent | References$ X +SVar:TrigSac:DB$ Sacrifice | Amount$ X | SacValid$ Permanent SVar:X:TriggerCount$DamageAmount AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_negator.jpg diff --git a/forge-gui/res/cardsfolder/p/phyrexian_obliterator.txt b/forge-gui/res/cardsfolder/p/phyrexian_obliterator.txt index ec4e33d3e1e..72b60be0a3a 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_obliterator.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_obliterator.txt @@ -4,7 +4,7 @@ Types:Creature Horror PT:5/5 K:Trample T:Mode$ DamageDone | ValidTarget$ Card.Self | Execute$ TrigSac | TriggerZones$ Battlefield | TriggerDescription$ Whenever a source deals damage to CARDNAME, that source's controller sacrifices that many permanents. -SVar:TrigSac:DB$Sacrifice | Amount$ X | References$ X | SacValid$ Permanent | Defined$ TriggeredSourceController +SVar:TrigSac:DB$Sacrifice | Amount$ X | SacValid$ Permanent | Defined$ TriggeredSourceController SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_obliterator.jpg diff --git a/forge-gui/res/cardsfolder/p/phyrexian_processor.txt b/forge-gui/res/cardsfolder/p/phyrexian_processor.txt index 899947c154f..5ac6308fd85 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_processor.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_processor.txt @@ -2,7 +2,7 @@ Name:Phyrexian Processor ManaCost:4 Types:Artifact R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ PayLife | Description$ As CARDNAME enters the battlefield, pay any amount of life. -SVar:PayLife:AB$ StoreSVar | Cost$ Mandatory PayLife | References$ X | SVar$ LifePaidOnETB | Type$ Calculate | Expression$ X | SubAbility$ MoveToPlay +SVar:PayLife:AB$ StoreSVar | Cost$ Mandatory PayLife | SVar$ LifePaidOnETB | Type$ Calculate | Expression$ X | SubAbility$ MoveToPlay SVar:MoveToPlay:DB$ ChangeZone | Defined$ ReplacedCard | Origin$ All | Destination$ Battlefield A:AB$ Token | Cost$ 4 T | TokenAmount$ 1 | TokenScript$ b_x_x_minion | TokenOwner$ You | TokenPower$ LifePaidOnETB | TokenToughness$ LifePaidOnETB | LegacyImage$ b x x minion usg | SpellDescription$ Create an X/X black Minion creature token, where X is the life paid as CARDNAME entered the battlefield. SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/p/phyrexian_purge.txt b/forge-gui/res/cardsfolder/p/phyrexian_purge.txt index 3f0c4bf6b92..e53e5cbba7e 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_purge.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_purge.txt @@ -1,7 +1,7 @@ Name:Phyrexian Purge ManaCost:2 B R Types:Sorcery -A:SP$ Destroy | Cost$ 2 B R PayLife | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxPayLifeLimit | References$ X,Y,MaxPayLifeLimit | SpellDescription$ This spell costs 3 life more to cast for each target. Destroy any number of target creatures. +A:SP$ Destroy | Cost$ 2 B R PayLife | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxPayLifeLimit,Y,MaxPayLifeLimit | SpellDescription$ This spell costs 3 life more to cast for each target. Destroy any number of target creatures. SVar:MaxPayLifeLimit:Count$YourLifeTotal/DivideEvenlyDown.3 SVar:X:SVar$Y/Times.3 SVar:Y:Targeted$Amount diff --git a/forge-gui/res/cardsfolder/p/phyrexian_rebirth.txt b/forge-gui/res/cardsfolder/p/phyrexian_rebirth.txt index 8cf851e272b..3d58d81841f 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_rebirth.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_rebirth.txt @@ -2,7 +2,7 @@ Name:Phyrexian Rebirth ManaCost:4 W W Types:Sorcery A:SP$ DestroyAll | Cost$ 4 W W | ValidCards$ Creature | RememberDestroyed$ True | SubAbility$ DBToken | SpellDescription$ Destroy all creatures, then create an X/X colorless Horror artifact creature token, where X is the number of creatures destroyed this way. -SVar:DBToken:DB$Token | TokenAmount$ 1 | TokenScript$ c_x_x_a_horror | TokenOwner$ You | LegacyImage$ c x x a horror mbs | TokenPower$ X | TokenToughness$ X | References$ X +SVar:DBToken:DB$Token | TokenAmount$ 1 | TokenScript$ c_x_x_a_horror | TokenOwner$ You | LegacyImage$ c x x a horror mbs | TokenPower$ X | TokenToughness$ X SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_rebirth.jpg Oracle:Destroy all creatures, then create an X/X colorless Horror artifact creature token, where X is the number of creatures destroyed this way. diff --git a/forge-gui/res/cardsfolder/p/phyrexian_swarmlord.txt b/forge-gui/res/cardsfolder/p/phyrexian_swarmlord.txt index 3d574676bd7..799e0915353 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_swarmlord.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_swarmlord.txt @@ -4,7 +4,7 @@ Types:Creature Insect Horror PT:4/4 K:Infect T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your upkeep, create a 1/1 green Insect creature token with infect for each poison counter your opponents have. -SVar:TrigToken:DB$Token | TokenAmount$ X | References$ X | TokenScript$ g_1_1_insect_infect | TokenOwner$ You | LegacyImage$ g 1 1 insect infect nph +SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ g_1_1_insect_infect | TokenOwner$ You | LegacyImage$ g 1 1 insect infect nph SVar:X:Count$TotalOppPoisonCounters SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_swarmlord.jpg Oracle:Infect (This creature deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters.)\nAt the beginning of your upkeep, create a 1/1 green Insect creature token with infect for each poison counter your opponents have. diff --git a/forge-gui/res/cardsfolder/p/phyrexian_totem.txt b/forge-gui/res/cardsfolder/p/phyrexian_totem.txt index cfb92b33ef9..8bd815256e0 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_totem.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_totem.txt @@ -4,7 +4,7 @@ Types:Artifact A:AB$ Mana | Cost$ T | Produced$ B | Amount$ 1 | SpellDescription$ Add {B}. A:AB$ Animate | Cost$ 2 B | Defined$ Self | Power$ 5 | Toughness$ 5 | Types$ Creature,Artifact,Horror | Colors$ Black | Keywords$ Trample | SpellDescription$ CARDNAME becomes a 5/5 black Horror artifact creature with trample until end of turn. T:Mode$ DamageDoneOnce | ValidTarget$ Creature.Self | Execute$ TrigSac | TriggerDescription$ Whenever CARDNAME is dealt damage, if it's a creature, sacrifice that many permanents. -SVar:TrigSac:DB$Sacrifice | SacValid$ Permanent | Amount$ X | References$ X +SVar:TrigSac:DB$Sacrifice | SacValid$ Permanent | Amount$ X SVar:X:TriggerCount$DamageAmount AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_totem.jpg diff --git a/forge-gui/res/cardsfolder/p/phyrexian_unlife.txt b/forge-gui/res/cardsfolder/p/phyrexian_unlife.txt index cd21652eb35..bf3087c7793 100644 --- a/forge-gui/res/cardsfolder/p/phyrexian_unlife.txt +++ b/forge-gui/res/cardsfolder/p/phyrexian_unlife.txt @@ -2,7 +2,7 @@ Name:Phyrexian Unlife ManaCost:2 W Types:Enchantment S:Mode$ Continuous | Affected$ You | AddKeyword$ You don't lose the game for having 0 or less life. | Description$ You don't lose the game for having 0 or less life. -S:Mode$ Continuous | CheckSVar$ UnlifeCondition | SVarCompare$ LE0 | References$ UnlifeCondition | Affected$ You | AddKeyword$ All damage is dealt to you as though its source had infect. | Description$ As long as you have 0 or less life, all damage is dealt to you as though its source had infect. +S:Mode$ Continuous | CheckSVar$ UnlifeCondition | SVarCompare$ LE0 | Affected$ You | AddKeyword$ All damage is dealt to you as though its source had infect. | Description$ As long as you have 0 or less life, all damage is dealt to you as though its source had infect. SVar:UnlifeCondition:Count$YourLifeTotal SVar:NonStackingEffect:True SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_unlife.jpg diff --git a/forge-gui/res/cardsfolder/p/phytohydra.txt b/forge-gui/res/cardsfolder/p/phytohydra.txt index 2d1e74eff83..427aa93914d 100644 --- a/forge-gui/res/cardsfolder/p/phytohydra.txt +++ b/forge-gui/res/cardsfolder/p/phytohydra.txt @@ -3,7 +3,7 @@ ManaCost:2 G W W Types:Creature Plant Hydra PT:1/1 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ Counters | Description$ If damage would be dealt to Phytohydra, put that many +1/+1 counters on it instead. -SVar:Counters:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:Counters:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X SVar:X:ReplaceCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/phytohydra.jpg Oracle:If damage would be dealt to Phytohydra, put that many +1/+1 counters on it instead. diff --git a/forge-gui/res/cardsfolder/p/pick_the_brain.txt b/forge-gui/res/cardsfolder/p/pick_the_brain.txt index e3fdc792eb3..1399ccccdbf 100644 --- a/forge-gui/res/cardsfolder/p/pick_the_brain.txt +++ b/forge-gui/res/cardsfolder/p/pick_the_brain.txt @@ -2,9 +2,9 @@ Name:Pick the Brain ManaCost:2 B Types:Sorcery A:SP$ ChangeZone | Cost$ 2 B | Origin$ Hand | Destination$ Exile | ValidTgts$ Opponent | DefinedPlayer$ Targeted | Chooser$ You | ChangeType$ Card.nonLand | ChangeNum$ 1 | IsCurse$ True | Mandatory$ True | RememberChanged$ True | SubAbility$ ExileYard | SpellDescription$ Target opponent reveals their hand. You choose a nonland card from it and exile that card. Delirium — If there are four or more card types among cards in your graveyard, search that player's graveyard, hand, and library for any number of cards with the same name as the exiled card, exile those cards, then that player shuffles their library. -SVar:ExileYard:DB$ ChangeZone | Condition$ Delirium | Origin$ Graveyard | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Remembered.sameName | ChangeNum$ NumInYard | References$ NumInYard | Chooser$ You | Hidden$ True | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Condition$ Delirium | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | References$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Condition$ Delirium | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | References$ NumInLib | Chooser$ You | Shuffle$ True | StackDescription$ None | SubAbility$ DBCleanup +SVar:ExileYard:DB$ ChangeZone | Condition$ Delirium | Origin$ Graveyard | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Remembered.sameName | ChangeNum$ NumInYard | Chooser$ You | Hidden$ True | SubAbility$ ExileHand | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Condition$ Delirium | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Condition$ Delirium | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Shuffle$ True | StackDescription$ None | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:NumInHand:TargetedPlayer$CardsInHand SVar:NumInLib:TargetedPlayer$CardsInLibrary diff --git a/forge-gui/res/cardsfolder/p/pillaging_horde.txt b/forge-gui/res/cardsfolder/p/pillaging_horde.txt index a3f960397e1..2e80cc30580 100644 --- a/forge-gui/res/cardsfolder/p/pillaging_horde.txt +++ b/forge-gui/res/cardsfolder/p/pillaging_horde.txt @@ -4,7 +4,7 @@ Types:Creature Human Barbarian PT:5/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you discard a card at random. SVar:TrigDiscard:DB$ Discard | NumCards$ 1 | Mode$ Random | Optional$ True | RememberDiscarded$ True | SubAbility$ DBSacrifice -SVar:DBSacrifice:DB$ Sacrifice | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBCleanup +SVar:DBSacrifice:DB$ Sacrifice | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:NeedsToPlayVar:Y GE2 diff --git a/forge-gui/res/cardsfolder/p/pillar_of_war.txt b/forge-gui/res/cardsfolder/p/pillar_of_war.txt index a4876c00fd0..323d1030ea3 100644 --- a/forge-gui/res/cardsfolder/p/pillar_of_war.txt +++ b/forge-gui/res/cardsfolder/p/pillar_of_war.txt @@ -3,7 +3,7 @@ ManaCost:3 Types:Artifact Creature Golem PT:3/3 K:Defender -S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can attack as though it didn't have defender. | CheckSVar$ X | References$ X | Description$ As long as CARDNAME is enchanted, it can attack as though it didn't have defender. +S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can attack as though it didn't have defender. | CheckSVar$ X | Description$ As long as CARDNAME is enchanted, it can attack as though it didn't have defender. SVar:X:Count$Valid Card.Self+enchanted SVar:EnchantMe:Once SVar:Picture:http://www.wizards.com/global/images/magic/general/pillar_of_war.jpg diff --git a/forge-gui/res/cardsfolder/p/pious_kitsune.txt b/forge-gui/res/cardsfolder/p/pious_kitsune.txt index ba9bac36906..7711c7ba049 100644 --- a/forge-gui/res/cardsfolder/p/pious_kitsune.txt +++ b/forge-gui/res/cardsfolder/p/pious_kitsune.txt @@ -4,7 +4,7 @@ Types:Creature Fox Cleric PT:1/2 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a devotion counter on CARDNAME. Then if a creature named Eight-and-a-Half-Tails is on the battlefield, you gain 1 life for each devotion counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ DEVOTION | CounterNum$ 1 | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X | ConditionCheckSVar$ PiousCheckName | ConditionSVarCompare$ GE1 +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | ConditionCheckSVar$ PiousCheckName | ConditionSVarCompare$ GE1 SVar:PiousCheckName:Count$Valid Creature.namedEight-and-a-Half-Tails SVar:X:Count$CardCounters.DEVOTION A:AB$ GainLife | Cost$ T SubCounter<1/DEVOTION> | LifeAmount$ 1 | SpellDescription$ You gain 1 life. diff --git a/forge-gui/res/cardsfolder/p/pious_warrior.txt b/forge-gui/res/cardsfolder/p/pious_warrior.txt index 48d17ca3cde..cb8d306bb32 100644 --- a/forge-gui/res/cardsfolder/p/pious_warrior.txt +++ b/forge-gui/res/cardsfolder/p/pious_warrior.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Human Rebel Warrior PT:2/3 T:Mode$ DamageDoneOnce | CombatDamage$ True | ValidTarget$ Card.Self | Execute$ TrigGain | TriggerDescription$ Whenever CARDNAME is dealt combat damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/pious_warrior.jpg diff --git a/forge-gui/res/cardsfolder/p/pipers_melody.txt b/forge-gui/res/cardsfolder/p/pipers_melody.txt index 4ac258e5f44..71d03703244 100644 --- a/forge-gui/res/cardsfolder/p/pipers_melody.txt +++ b/forge-gui/res/cardsfolder/p/pipers_melody.txt @@ -1,7 +1,7 @@ Name:Piper's Melody ManaCost:G Types:Sorcery -A:SP$ ChangeZone | Cost$ G | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | References$ X | Shuffle$ True | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | SpellDescription$ Shuffle any number of target creature cards from your graveyard into your library. +A:SP$ ChangeZone | Cost$ G | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | Shuffle$ True | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | SpellDescription$ Shuffle any number of target creature cards from your graveyard into your library. SVar:X:Count$TypeInYourYard.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/pipers_melody.jpg Oracle:Shuffle any number of target creature cards from your graveyard into your library. diff --git a/forge-gui/res/cardsfolder/p/pir_imaginative_rascal.txt b/forge-gui/res/cardsfolder/p/pir_imaginative_rascal.txt index 36a6ff7ce03..7e9470c0477 100644 --- a/forge-gui/res/cardsfolder/p/pir_imaginative_rascal.txt +++ b/forge-gui/res/cardsfolder/p/pir_imaginative_rascal.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human PT:1/1 K:Partner:Toothy, Imaginary Friend:Toothy R:Event$ AddCounter | ActiveZones$ Battlefield | ValidCard$ Permanent.YourTeamCtrl | ReplaceWith$ AddOneMoreCounters | Description$ If one or more counters would be put on a permanent your team controls, that many plus one of each of those kinds of counters are put on that permanent instead. -SVar:AddOneMoreCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X | References$ X +SVar:AddOneMoreCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X SVar:X:ReplaceCount$CounterNum/Plus.1 DeckNeeds:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/pir_imaginative_rascal.jpg diff --git a/forge-gui/res/cardsfolder/p/plague_rats.txt b/forge-gui/res/cardsfolder/p/plague_rats.txt index 9865712f4a5..9ab51d77836 100644 --- a/forge-gui/res/cardsfolder/p/plague_rats.txt +++ b/forge-gui/res/cardsfolder/p/plague_rats.txt @@ -2,7 +2,7 @@ Name:Plague Rats ManaCost:2 B Types:Creature Rat PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures named Plague Rats on the battlefield. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures named Plague Rats on the battlefield. SVar:X:Count$Valid Creature.namedPlague Rats SVar:BuffedBy:Creature.namedPlague Rats AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/p/plaguebearer.txt b/forge-gui/res/cardsfolder/p/plaguebearer.txt index 16da89011a9..8b0168f1ba0 100644 --- a/forge-gui/res/cardsfolder/p/plaguebearer.txt +++ b/forge-gui/res/cardsfolder/p/plaguebearer.txt @@ -2,6 +2,6 @@ Name:Plaguebearer ManaCost:1 B Types:Creature Zombie PT:1/1 -A:AB$ Destroy | Cost$ X X B | ValidTgts$ Creature.nonBlack+cmcEQX | TgtPrompt$ Select target nonblack creature | References$ X | SpellDescription$ Destroy target nonblack creature with converted mana cost X. +A:AB$ Destroy | Cost$ X X B | ValidTgts$ Creature.nonBlack+cmcEQX | TgtPrompt$ Select target nonblack creature | SpellDescription$ Destroy target nonblack creature with converted mana cost X. SVar:X:Count$xPaid Oracle:{X}{X}{B}: Destroy target nonblack creature with converted mana cost X. diff --git a/forge-gui/res/cardsfolder/p/planar_despair.txt b/forge-gui/res/cardsfolder/p/planar_despair.txt index c9a475ad40b..f0fa8415be6 100644 --- a/forge-gui/res/cardsfolder/p/planar_despair.txt +++ b/forge-gui/res/cardsfolder/p/planar_despair.txt @@ -1,7 +1,7 @@ Name:Planar Despair ManaCost:3 B B Types:Sorcery -A:SP$ PumpAll | Cost$ 3 B B | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X | References$ X | IsCurse$ True | SpellDescription$ Domain — All creatures get -1/-1 until end of turn for each basic land type among lands you control. +A:SP$ PumpAll | Cost$ 3 B B | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Domain — All creatures get -1/-1 until end of turn for each basic land type among lands you control. SVar:X:Count$Domain AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/planar_despair.jpg diff --git a/forge-gui/res/cardsfolder/p/planequake.txt b/forge-gui/res/cardsfolder/p/planequake.txt index 1ca18a970ff..012318663ee 100644 --- a/forge-gui/res/cardsfolder/p/planequake.txt +++ b/forge-gui/res/cardsfolder/p/planequake.txt @@ -1,6 +1,6 @@ Name:Planequake ManaCost:X R Types:Sorcery -A:SP$ DamageAll | Cost$ X R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying and each planeswalker. If X is 10 or more, open the "Uncovered Cavern" plot booster. +A:SP$ DamageAll | Cost$ X R | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying and each planeswalker. If X is 10 or more, open the "Uncovered Cavern" plot booster. SVar:X:Count$xPaid Oracle:Planequake deals X damage to each creature without flying and each planeswalker. If X is 10 or more, open the "Uncovered Cavern" plot booster. diff --git a/forge-gui/res/cardsfolder/p/planeswalkers_favor.txt b/forge-gui/res/cardsfolder/p/planeswalkers_favor.txt index 1b6f8a65eb3..17743edcfad 100644 --- a/forge-gui/res/cardsfolder/p/planeswalkers_favor.txt +++ b/forge-gui/res/cardsfolder/p/planeswalkers_favor.txt @@ -2,7 +2,7 @@ Name:Planeswalker's Favor ManaCost:2 G Types:Enchantment A:AB$ Reveal | Cost$ 3 G | Random$ True | RememberRevealed$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBPump | SpellDescription$ Target opponent reveals a card at random from their hand. Target creature gets +X/+X until end of turn, where X is the revealed card's converted mana cost. -SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SubAbility$ DBCleanup +SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/p/planeswalkers_fury.txt b/forge-gui/res/cardsfolder/p/planeswalkers_fury.txt index 399d1e1c0cb..a98ce97f4a4 100644 --- a/forge-gui/res/cardsfolder/p/planeswalkers_fury.txt +++ b/forge-gui/res/cardsfolder/p/planeswalkers_fury.txt @@ -2,7 +2,7 @@ Name:Planeswalker's Fury ManaCost:2 R Types:Enchantment A:AB$ Reveal | Cost$ 3 R | Random$ True | RememberRevealed$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SorcerySpeed$ True | SubAbility$ DBDamage | SpellDescription$ Target opponent reveals a card at random from their hand. CARDNAME deals damage equal to that card's converted mana cost to that player. Activate this ability only any time you could cast a sorcery. -SVar:DBDamage:DB$ DealDamage | Defined$ ParentTarget | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDamage:DB$ DealDamage | Defined$ ParentTarget | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/p/planeswalkers_mirth.txt b/forge-gui/res/cardsfolder/p/planeswalkers_mirth.txt index c14beab253f..39b12a6967c 100644 --- a/forge-gui/res/cardsfolder/p/planeswalkers_mirth.txt +++ b/forge-gui/res/cardsfolder/p/planeswalkers_mirth.txt @@ -2,7 +2,7 @@ Name:Planeswalker's Mirth ManaCost:2 W Types:Enchantment A:AB$ Reveal | Cost$ 3 W | Random$ True | RememberRevealed$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBGain | SpellDescription$ Target opponent reveals a card at random from their hand. You gain life equal to that card's converted mana cost. -SVar:DBGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGain:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/p/planeswalkers_scorn.txt b/forge-gui/res/cardsfolder/p/planeswalkers_scorn.txt index b85376b6f3e..37bbab6f54d 100644 --- a/forge-gui/res/cardsfolder/p/planeswalkers_scorn.txt +++ b/forge-gui/res/cardsfolder/p/planeswalkers_scorn.txt @@ -2,7 +2,7 @@ Name:Planeswalker's Scorn ManaCost:2 B Types:Enchantment A:AB$ Reveal | Cost$ 3 B | Random$ True | RememberRevealed$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SorcerySpeed$ True | SubAbility$ DBPump | SpellDescription$ Target opponent reveals a card at random from their hand. Target creature gets -X/-X until end of turn, where X is the revealed card's converted mana cost. Activate this ability only any time you could cast a sorcery. -SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | References$ X | IsCurse$ True | SubAbility$ DBCleanup +SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/p/plasm_capture.txt b/forge-gui/res/cardsfolder/p/plasm_capture.txt index 17b23986ff2..ee89a35c3c7 100644 --- a/forge-gui/res/cardsfolder/p/plasm_capture.txt +++ b/forge-gui/res/cardsfolder/p/plasm_capture.txt @@ -4,7 +4,7 @@ Types:Instant A:SP$ Counter | Cost$ G G U U | TargetType$ Spell | RememberCounteredCMC$ True | ValidTgts$ Card | SubAbility$ DBDelTrig | SpellDescription$ Counter target spell. At the beginning of your next precombat main phase, add X mana in any combination of colors, where X is that spell's converted mana cost. SVar:DBDelTrig:DB$ DelayedTrigger | Mode$ Phase | PreCombatMain$ True | ValidPlayer$ You | Execute$ AddMana | TriggerDescription$ At the beginning of your next precombat main phase, add X mana in any combination of colors, where X is that spell's converted mana cost. | RememberNumber$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:AddMana:DB$ Mana | Produced$ Combo Any | Amount$ X | References$ X | AILogic$ MostProminentInComputerHand +SVar:AddMana:DB$ Mana | Produced$ Combo Any | Amount$ X | AILogic$ MostProminentInComputerHand SVar:X:Count$TriggerRememberAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/plasm_capture.jpg Oracle:Counter target spell. At the beginning of your next precombat main phase, add X mana in any combination of colors, where X is that spell's converted mana cost. diff --git a/forge-gui/res/cardsfolder/p/pledge_of_unity.txt b/forge-gui/res/cardsfolder/p/pledge_of_unity.txt index 2a3ef4350b4..91cacd4b818 100644 --- a/forge-gui/res/cardsfolder/p/pledge_of_unity.txt +++ b/forge-gui/res/cardsfolder/p/pledge_of_unity.txt @@ -2,7 +2,7 @@ Name:Pledge of Unity ManaCost:1 G W Types:Instant A:SP$ PutCounterAll | Cost$ 1 G W | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBGainLife | SpellDescription$ Put a +1/+1 counter on each creature you control. You gain 1 life for each creature you control. -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X SVar:X:Count$Valid Creature.YouCtrl DeckHas:Ability$Counters Oracle:Put a +1/+1 counter on each creature you control. You gain 1 life for each creature you control. diff --git a/forge-gui/res/cardsfolder/p/plow_through_reito.txt b/forge-gui/res/cardsfolder/p/plow_through_reito.txt index 407afced0cc..f06c9e17440 100644 --- a/forge-gui/res/cardsfolder/p/plow_through_reito.txt +++ b/forge-gui/res/cardsfolder/p/plow_through_reito.txt @@ -1,8 +1,8 @@ Name:Plow Through Reito ManaCost:1 W Types:Instant Arcane -A:SP$ ChangeZone | Cost$ 1 W | Origin$ Battlefield | Destination$ Hand | ChangeType$ Plains.YouCtrl | ChangeNum$ X | References$ X | Hidden$ True | RememberChanged$ True | SubAbility$ ReitoPump | SpellDescription$ Sweep — Return any number of Plains you control to their owner's hand. Target creature gets +1/+1 until end of turn for each Plains returned this way. -SVar:ReitoPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ Y | NumDef$ Y | References$ Y +A:SP$ ChangeZone | Cost$ 1 W | Origin$ Battlefield | Destination$ Hand | ChangeType$ Plains.YouCtrl | ChangeNum$ X | Hidden$ True | RememberChanged$ True | SubAbility$ ReitoPump | SpellDescription$ Sweep — Return any number of Plains you control to their owner's hand. Target creature gets +1/+1 until end of turn for each Plains returned this way. +SVar:ReitoPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ Y | NumDef$ Y SVar:X:Count$Valid Plains.YouCtrl SVar:Y:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/p/plunge_into_darkness.txt b/forge-gui/res/cardsfolder/p/plunge_into_darkness.txt index e3e7b41fcc9..85aee180758 100644 --- a/forge-gui/res/cardsfolder/p/plunge_into_darkness.txt +++ b/forge-gui/res/cardsfolder/p/plunge_into_darkness.txt @@ -3,13 +3,13 @@ ManaCost:1 B Types:Instant K:Entwine:B A:SP$ Charm | Cost$ 1 B | Choices$ DBSac,DBChooseNumber | CharmNum$ 1 -SVar:DBSac:DB$ Sacrifice | Defined$ You | Amount$ SacX | References$ SacX | SacValid$ Creature | RememberSacrificed$ True | Optional$ True | SubAbility$ DBGainLife | SpellDescription$ Sacrifice any number of creatures, then you gain 3 life for each sacrificed creature. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ GainLifeX | References$ GainLifeX | SubAbility$ DBCleanup +SVar:DBSac:DB$ Sacrifice | Defined$ You | Amount$ SacX | SacValid$ Creature | RememberSacrificed$ True | Optional$ True | SubAbility$ DBGainLife | SpellDescription$ Sacrifice any number of creatures, then you gain 3 life for each sacrificed creature. +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ GainLifeX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Creature.YouCtrl SVar:GainLifeX:Count$RememberedSize/Thrice -SVar:DBChooseNumber:DB$ ChooseNumber | Defined$ You | ListTitle$ Pay X life? | Max$ LifeAmountX | AILogic$ DigACard | References$ LifeAmountX | SubAbility$ DBLoseLife | SpellDescription$ Pay X life, then look at the top X cards of your library. Put one of those cards into your hand, and exile the rest. -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ Y | References$ Y | SubAbility$ DBDig +SVar:DBChooseNumber:DB$ ChooseNumber | Defined$ You | ListTitle$ Pay X life? | Max$ LifeAmountX | AILogic$ DigACard | SubAbility$ DBLoseLife | SpellDescription$ Pay X life, then look at the top X cards of your library. Put one of those cards into your hand, and exile the rest. +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ Y | SubAbility$ DBDig SVar:DBDig:DB$ Dig | DigNum$ AFLifeLost | DestinationZone2$ Exile SVar:Y:Count$ChosenNumber SVar:LifeAmountX:Count$YourLifeTotal/LimitMin.0 diff --git a/forge-gui/res/cardsfolder/p/pollen_remedy.txt b/forge-gui/res/cardsfolder/p/pollen_remedy.txt index 0cfcea81a0f..ad8369def3e 100644 --- a/forge-gui/res/cardsfolder/p/pollen_remedy.txt +++ b/forge-gui/res/cardsfolder/p/pollen_remedy.txt @@ -2,7 +2,7 @@ Name:Pollen Remedy ManaCost:W Types:Instant K:Kicker:Sac<1/Land> -A:SP$ PreventDamage | Cost$ W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to prevent damage to | Amount$ 5 | TargetMin$ 1 | TargetMax$ X | References$ X | DividedAsYouChoose$ X | SpellDescription$ Prevent the next 3 damage that would be dealt this turn to any number of targets, divided as you choose. If this spell was kicked, prevent the next 6 damage this way instead. +A:SP$ PreventDamage | Cost$ W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to prevent damage to | Amount$ 5 | TargetMin$ 1 | TargetMax$ X | DividedAsYouChoose$ X | SpellDescription$ Prevent the next 3 damage that would be dealt this turn to any number of targets, divided as you choose. If this spell was kicked, prevent the next 6 damage this way instead. SVar:X:Count$Kicked.6.3 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/pollen_remedy.jpg diff --git a/forge-gui/res/cardsfolder/p/pollenbright_wings.txt b/forge-gui/res/cardsfolder/p/pollenbright_wings.txt index 1b3e0e738a2..9b72d755c46 100644 --- a/forge-gui/res/cardsfolder/p/pollenbright_wings.txt +++ b/forge-gui/res/cardsfolder/p/pollenbright_wings.txt @@ -5,7 +5,7 @@ K:Enchant creature A:SP$ Attach | Cost$ 4 G W | ValidTgts$ Creature | AITgts$ Card.powerGE1 | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Flying | Description$ Enchanted creature has flying. T:Mode$ DamageDone | ValidSource$ Card.AttachedBy | Execute$ TrigToken | ValidTarget$ Player | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals combat damage to a player, create that many 1/1 green Saproling creature tokens. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling rav +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling rav SVar:X:TriggerCount$DamageAmount DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/pollenbright_wings.jpg diff --git a/forge-gui/res/cardsfolder/p/polukranos_unchained.txt b/forge-gui/res/cardsfolder/p/polukranos_unchained.txt index fa82e3c5fb4..27d03f240da 100644 --- a/forge-gui/res/cardsfolder/p/polukranos_unchained.txt +++ b/forge-gui/res/cardsfolder/p/polukranos_unchained.txt @@ -5,7 +5,7 @@ PT:0/0 K:etbCounter:P1P1:X:nocondition:CARDNAME enters the battlefield with six +1/+1 counters on it. It escapes with twelve +1/+1 counters on it instead. SVar:X:Count$Escaped.12.6 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self+counters_GE1_P1P1 | ReplaceWith$ Counters | PreventionEffect$ True | Description$ If damage would be dealt to CARDNAME while it has a +1/+1 counter on it, prevent that damage and remove that many +1/+1 counters from CARDNAME. -SVar:Counters:DB$ RemoveCounter | Defined$ ReplacedTarget | CounterType$ P1P1 | CounterNum$ Y | References$ Y +SVar:Counters:DB$ RemoveCounter | Defined$ ReplacedTarget | CounterType$ P1P1 | CounterNum$ Y SVar:Y:ReplaceCount$DamageAmount A:AB$ Fight | Cost$ 1 B G | Defined$ Self | ValidTgts$ Creature.Other | TgtPrompt$ Select another target creature | SpellDescription$ CARDNAME fights another target creature. K:Escape:4 B G ExileFromGrave<6/Card.Other/other> diff --git a/forge-gui/res/cardsfolder/p/polukranos_world_eater.txt b/forge-gui/res/cardsfolder/p/polukranos_world_eater.txt index a7f63e3a4b8..dc75f8e5981 100644 --- a/forge-gui/res/cardsfolder/p/polukranos_world_eater.txt +++ b/forge-gui/res/cardsfolder/p/polukranos_world_eater.txt @@ -4,9 +4,9 @@ Types:Legendary Creature Hydra PT:5/5 K:Monstrosity:X:X X G T:Mode$ BecomeMonstrous | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigDmg | TriggerDescription$ When CARDNAME becomes monstrous, it deals X damage divided as you choose among any number of target creatures your opponents control. Each of those creatures deals damage equal to its power to CARDNAME. -SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature.OppCtrl | AILogic$ Polukranos | TgtPrompt$ Select target creature your opponents control distribute damage to | NumDmg$ MonstrosityX | TargetMin$ 1 | TargetMax$ MaxTgts | DividedAsYouChoose$ MonstrosityX | References$ MonstrosityX,MaxTgts | SubAbility$ DBDmg +SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature.OppCtrl | AILogic$ Polukranos | TgtPrompt$ Select target creature your opponents control distribute damage to | NumDmg$ MonstrosityX | TargetMin$ 1 | TargetMax$ MaxTgts | DividedAsYouChoose$ MonstrosityX | SubAbility$ DBDmg SVar:DBDmg:DB$ RepeatEach | RepeatSubAbility$ PolukranosFight | UseImprinted$ True | DefinedCards$ Targeted | StackDescription$ None | DamageMap$ True -SVar:PolukranosFight:DB$ DealDamage | DamageSource$ Imprinted | NumDmg$ Y | References$ Y | Defined$ Self | StackDescription$ None +SVar:PolukranosFight:DB$ DealDamage | DamageSource$ Imprinted | NumDmg$ Y | Defined$ Self | StackDescription$ None SVar:X:Count$xPaid SVar:Y:Imprinted$CardPower SVar:MonstrosityX:TriggerCount$MonstrosityAmount diff --git a/forge-gui/res/cardsfolder/p/polymorphous_rush.txt b/forge-gui/res/cardsfolder/p/polymorphous_rush.txt index 6b24884cb3d..5960846fc86 100644 --- a/forge-gui/res/cardsfolder/p/polymorphous_rush.txt +++ b/forge-gui/res/cardsfolder/p/polymorphous_rush.txt @@ -3,7 +3,7 @@ ManaCost:2 U Types:Instant K:Strive:1 U A:SP$ ChooseCard | Cost$ 2 U | Defined$ You | Amount$ 1 | Choices$ Creature | Mandatory$ True | SubAbility$ Pump4Tgt | AILogic$ Clone | SpellDescription$ Choose a creature on the battlefield. Any number of target creatures you control each become a copy of that creature until end of turn. -SVar:Pump4Tgt:DB$ RepeatEach | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Choose target creature you control | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | DefinedCards$ Targeted | RepeatSubAbility$ ShapeTgt | SubAbility$ DBCleanup +SVar:Pump4Tgt:DB$ RepeatEach | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Choose target creature you control | TargetMin$ 0 | TargetMax$ MaxTargets | DefinedCards$ Targeted | RepeatSubAbility$ ShapeTgt | SubAbility$ DBCleanup SVar:ShapeTgt:DB$ Clone | Defined$ ChosenCard | CloneTarget$ Remembered | Duration$ UntilEndOfTurn SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True SVar:MaxTargets:Count$Valid Creature.YouCtrl diff --git a/forge-gui/res/cardsfolder/p/pools_of_becoming.txt b/forge-gui/res/cardsfolder/p/pools_of_becoming.txt index 797f2452f79..6ea81a5af78 100644 --- a/forge-gui/res/cardsfolder/p/pools_of_becoming.txt +++ b/forge-gui/res/cardsfolder/p/pools_of_becoming.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Plane Bolas's Meditation Realm T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Command | Execute$ TrigChangeZone | TriggerDescription$ At the beginning of your end step, put the cards in your hand on the bottom of your library in any order, then draw that many cards. SVar:TrigChangeZone:DB$ ChangeZoneAll | ChangeType$ Card.YouOwn | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | RememberChanged$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ Y | References$ Y | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | NumCards$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Remembered$Amount T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, reveal the top three cards of your planar deck. Each of the revealed cards' {CHAOS} abilities triggers. Then put the revealed cards on the bottom of your planar deck in any order. diff --git a/forge-gui/res/cardsfolder/p/porcuparrot.txt b/forge-gui/res/cardsfolder/p/porcuparrot.txt index c0f42ca3f6d..a8b6568b9b2 100644 --- a/forge-gui/res/cardsfolder/p/porcuparrot.txt +++ b/forge-gui/res/cardsfolder/p/porcuparrot.txt @@ -3,6 +3,6 @@ ManaCost:3 R Types:Creature Bird Beast PT:3/4 K:Mutate:2 R -A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ This creature deals X damage to any target, where X is the number of times this creature has mutated. +A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ This creature deals X damage to any target, where X is the number of times this creature has mutated. SVar:X:Count$TimesMutated Oracle:Mutate {2}{R} (If you cast this spell for its mutate cost, put it over or under target non-Human creature you own. They mutate into the creature on top plus all abilities from under it.)\n{T}: This creature deals X damage to any target, where X is the number of times this creature has mutated. diff --git a/forge-gui/res/cardsfolder/p/postmortem_lunge.txt b/forge-gui/res/cardsfolder/p/postmortem_lunge.txt index 21f31af7c35..512125d672d 100644 --- a/forge-gui/res/cardsfolder/p/postmortem_lunge.txt +++ b/forge-gui/res/cardsfolder/p/postmortem_lunge.txt @@ -1,7 +1,7 @@ Name:Postmortem Lunge ManaCost:X PB Types:Sorcery -A:SP$ ChangeZone | Cost$ X PB | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouOwn+cmcEQX | TgtPrompt$ Choose target creature with CMC equal to X. | References$ X | SubAbility$ DBHaste | AILogic$ BeforeCombat | SpellDescription$ Return target creature card with converted mana cost X from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step. +A:SP$ ChangeZone | Cost$ X PB | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouOwn+cmcEQX | TgtPrompt$ Choose target creature with CMC equal to X. | SubAbility$ DBHaste | AILogic$ BeforeCombat | SpellDescription$ Return target creature card with converted mana cost X from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step. SVar:DBHaste:DB$ Animate | Defined$ Targeted | Keywords$ Haste | Permanent$ True | AtEOT$ Exile SVar:X:Count$xPaid AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/p/powder_keg.txt b/forge-gui/res/cardsfolder/p/powder_keg.txt index 788d8a6c3de..2ad4ec2479e 100644 --- a/forge-gui/res/cardsfolder/p/powder_keg.txt +++ b/forge-gui/res/cardsfolder/p/powder_keg.txt @@ -3,7 +3,7 @@ ManaCost:2 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a fuse counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ FUSE | CounterNum$ 1 -A:AB$ DestroyAll | Cost$ T Sac<1/CARDNAME> | ValidCards$ Artifact.cmcEQX,Creature.cmcEQX | References$ X | SpellDescription$ Destroy each artifact and creature with converted mana cost equal to the number of fuse counters on CARDNAME. +A:AB$ DestroyAll | Cost$ T Sac<1/CARDNAME> | ValidCards$ Artifact.cmcEQX,Creature.cmcEQX | SpellDescription$ Destroy each artifact and creature with converted mana cost equal to the number of fuse counters on CARDNAME. SVar:X:Count$CardCounters.FUSE AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/powder_keg.jpg diff --git a/forge-gui/res/cardsfolder/p/power_armor.txt b/forge-gui/res/cardsfolder/p/power_armor.txt index 474cbd1a62f..fa7bef7118e 100644 --- a/forge-gui/res/cardsfolder/p/power_armor.txt +++ b/forge-gui/res/cardsfolder/p/power_armor.txt @@ -1,7 +1,7 @@ Name:Power Armor ManaCost:4 Types:Artifact -A:AB$ Pump | Cost$ 3 T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | PrecostDesc$ Domain — | SpellDescription$ Target creature gets +1/+1 until end of turn for each basic land type among lands you control. +A:AB$ Pump | Cost$ 3 T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | PrecostDesc$ Domain — | SpellDescription$ Target creature gets +1/+1 until end of turn for each basic land type among lands you control. SVar:X:Count$Domain SVar:BuffedBy:Plains,Island,Swamp,Mountain,Forest AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/p/power_leak.txt b/forge-gui/res/cardsfolder/p/power_leak.txt index 18b782eaf87..5a741c8c2f4 100644 --- a/forge-gui/res/cardsfolder/p/power_leak.txt +++ b/forge-gui/res/cardsfolder/p/power_leak.txt @@ -4,11 +4,11 @@ Types:Enchantment Aura K:Enchant enchantment A:SP$ Attach | Cost$ 1 U | ValidTgts$ Enchantment | AILogic$ Curse T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ EnchantedController | Execute$ DBPay | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of the upkeep of enchanted enchantment's controller, that player may pay any amount of mana. CARDNAME deals 2 damage to that player. Prevent X of that damage, where X is the amount of mana that player paid this way. -S:Mode$ PreventDamage | Target$ EnchantedController | Source$ Card.Self | Amount$ PaidAmount | References$ PaidAmount | Secondary$ True +S:Mode$ PreventDamage | Target$ EnchantedController | Source$ Card.Self | Amount$ PaidAmount | Secondary$ True SVar:DBPay:DB$ ChooseNumber | Defined$ EnchantedController | ChooseAnyNumber$ True | ListTitle$ Pay Any Mana | AILogic$ PowerLeakMaxMana.2 | SubAbility$ DBStore -SVar:DBStore:DB$ StoreSVar | SVar$ PaidAmount | Type$ CountSVar | Expression$ X | UnlessCost$ X | UnlessPayer$ EnchantedController | UnlessSwitched$ True | References$ X,PaidAmount | SubAbility$ DBDmg -SVar:DBDmg:DB$ DealDamage | Defined$ EnchantedController | NumDmg$ 2 | SubAbility$ DBReset | References$ PaidAmount | StackDescription$ None -SVar:DBReset:DB$ StoreSVar | SVar$ PaidAmount | Type$ Number | Expression$ 0 | References$ PaidAmount +SVar:DBStore:DB$ StoreSVar | SVar$ PaidAmount | Type$ CountSVar | Expression$ X | UnlessCost$ X | UnlessPayer$ EnchantedController | UnlessSwitched$ True | SubAbility$ DBDmg +SVar:DBDmg:DB$ DealDamage | Defined$ EnchantedController | NumDmg$ 2 | SubAbility$ DBReset | StackDescription$ None +SVar:DBReset:DB$ StoreSVar | SVar$ PaidAmount | Type$ Number | Expression$ 0 SVar:X:Count$ChosenNumber SVar:PaidAmount:Number$0 SVar:Picture:http://www.wizards.com/global/images/magic/general/power_leak.jpg diff --git a/forge-gui/res/cardsfolder/p/power_sink.txt b/forge-gui/res/cardsfolder/p/power_sink.txt index eedc7bf9495..6e8af5cb786 100644 --- a/forge-gui/res/cardsfolder/p/power_sink.txt +++ b/forge-gui/res/cardsfolder/p/power_sink.txt @@ -1,7 +1,7 @@ Name:Power Sink ManaCost:X U Types:Instant -A:SP$ Counter | Cost$ X U | References$ X | UnlessCost$ X | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SubAbility$ TapLands | UnlessResolveSubs$ WhenNotPaid | SpellDescription$ Counter target spell unless its controller pays {X}. If that player doesn't, they tap all lands with mana abilities they control and lose all unspent mana. | StackDescription$ Countering [{s:Targeted}] unless {p:TargetedController} pays X. +A:SP$ Counter | Cost$ X U | UnlessCost$ X | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SubAbility$ TapLands | UnlessResolveSubs$ WhenNotPaid | SpellDescription$ Counter target spell unless its controller pays {X}. If that player doesn't, they tap all lands with mana abilities they control and lose all unspent mana. | StackDescription$ Countering [{s:Targeted}] unless {p:TargetedController} pays X. SVar:TapLands:DB$ TapAll | ValidCards$ Land.hasManaAbility | Defined$ TargetedController | SubAbility$ ManaLose | StackDescription$ If {p:TargetedController} doesn't, that player taps all lands with mana abilities they control and SVar:ManaLose:DB$ DrainMana | Defined$ TargetedController SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/p/power_surge.txt b/forge-gui/res/cardsfolder/p/power_surge.txt index 61ded589035..98bb1768f5c 100644 --- a/forge-gui/res/cardsfolder/p/power_surge.txt +++ b/forge-gui/res/cardsfolder/p/power_surge.txt @@ -2,7 +2,7 @@ Name:Power Surge ManaCost:R R Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of each player's upkeep, CARDNAME deals X damage to that player, where X is the number of untapped lands they controlled at the beginning of this turn. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:TriggeredPlayer$NumPowerSurgeLands S:Mode$ Continuous | Affected$ Land | AddSVar$ AITap SVar:AITap:SVar:AITapDown:True diff --git a/forge-gui/res/cardsfolder/p/power_without_equal.txt b/forge-gui/res/cardsfolder/p/power_without_equal.txt index 0ec87889bc0..3cab4154f48 100644 --- a/forge-gui/res/cardsfolder/p/power_without_equal.txt +++ b/forge-gui/res/cardsfolder/p/power_without_equal.txt @@ -5,7 +5,7 @@ T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ DBDraw | TriggerZones$ Com SVar:DBDraw:DB$ Draw | NumCards$ 3 | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | Name$ Enter the Infinite Effect | StaticAbilities$ STHandSize | Duration$ UntilYourNextTurn | SubAbility$ DBPlay SVar:STHandSize:Mode$ Continuous | EffectZone$ Command | Affected$ You | SetMaxHandSize$ Unlimited | Description$ You have no maximum hand size. -SVar:DBPlay:DB$ Play | Valid$ Card.YouCtrl+nonLand | ValidZone$ Hand | Controller$ You | WithoutManaCost$ True | Amount$ 3 | Optional$ True | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE6 +SVar:DBPlay:DB$ Play | Valid$ Card.YouCtrl+nonLand | ValidZone$ Hand | Controller$ You | WithoutManaCost$ True | Amount$ 3 | Optional$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE6 SVar:X:Count$Valid Land.YouCtrl SVar:Picture:https://downloads.cardforge.org/images/cards/ARC/Power Without Equal.full.jpg Oracle:When you set this scheme in motion, draw three cards. You have no maximum hand size until your next turn. If you control six or more lands, you may cast up to three spells from your hand without paying their mana costs. diff --git a/forge-gui/res/cardsfolder/p/powerstone_shard.txt b/forge-gui/res/cardsfolder/p/powerstone_shard.txt index 02f33dd8a8b..40e31350c0d 100644 --- a/forge-gui/res/cardsfolder/p/powerstone_shard.txt +++ b/forge-gui/res/cardsfolder/p/powerstone_shard.txt @@ -1,7 +1,7 @@ Name:Powerstone Shard ManaCost:3 Types:Artifact -A:AB$ Mana | Cost$ T | Produced$ C | Amount$ X | References$ X | SpellDescription$ Add {C} for each artifact you control named Powerstone Shard. +A:AB$ Mana | Cost$ T | Produced$ C | Amount$ X | SpellDescription$ Add {C} for each artifact you control named Powerstone Shard. SVar:X:Count$Valid Artifact.namedPowerstone Shard+YouCtrl SVar:BuffedBy:Artifact.namedPowerstone Shard Oracle:{T}: Add {C} for each artifact you control named Powerstone Shard. diff --git a/forge-gui/res/cardsfolder/p/pox.txt b/forge-gui/res/cardsfolder/p/pox.txt index 9165599809f..335c3b859c0 100644 --- a/forge-gui/res/cardsfolder/p/pox.txt +++ b/forge-gui/res/cardsfolder/p/pox.txt @@ -2,10 +2,10 @@ Name:Pox ManaCost:B B B Types:Sorcery A:SP$ RepeatEach | Cost$ B B B | RepeatPlayers$ Player | RepeatSubAbility$ DBLoseLife | AILifeThreshold$ 1 | SpellDescription$ Each player loses a third of their life, then discards a third of the cards in their hand, then sacrifices a third of the creatures they control, then sacrifices a third of the lands they control. Round up each time. -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ A | References$ A | Defined$ Player.IsRemembered | SubAbility$ DBDiscard -SVar:DBDiscard:DB$ Discard | NumCards$ C | References$ C | Defined$ Player.IsRemembered | Mode$ TgtChoose | SubAbility$ DBCreature -SVar:DBCreature:DB$ Sacrifice | SacValid$ Creature | Amount$ E | References$ E | Defined$ Player.IsRemembered | SubAbility$ DBLand -SVar:DBLand:DB$ Sacrifice | SacValid$ Land | Amount$ G | References$ G | Defined$ Player.IsRemembered +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ A | Defined$ Player.IsRemembered | SubAbility$ DBDiscard +SVar:DBDiscard:DB$ Discard | NumCards$ C | Defined$ Player.IsRemembered | Mode$ TgtChoose | SubAbility$ DBCreature +SVar:DBCreature:DB$ Sacrifice | SacValid$ Creature | Amount$ E | Defined$ Player.IsRemembered | SubAbility$ DBLand +SVar:DBLand:DB$ Sacrifice | SacValid$ Land | Amount$ G | Defined$ Player.IsRemembered SVar:A:PlayerCountRemembered$LifeTotal/ThirdUp SVar:C:PlayerCountRemembered$CardsInHand/ThirdUp SVar:E:PlayerCountRemembered$Valid Creature.RememberedPlayerCtrl/ThirdUp diff --git a/forge-gui/res/cardsfolder/p/practiced_tactics.txt b/forge-gui/res/cardsfolder/p/practiced_tactics.txt index dd3ce7d5709..173eab1892d 100755 --- a/forge-gui/res/cardsfolder/p/practiced_tactics.txt +++ b/forge-gui/res/cardsfolder/p/practiced_tactics.txt @@ -2,7 +2,7 @@ Name:Practiced Tactics ManaCost:W Types:Instant A:SP$ Pump | Cost$ W | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Choose target attacking or blocking creature | SubAbility$ DBDamage | StackDescription$ SpellDescription | SpellDescription$ Choose target attacking or blocking creature. CARDNAME deals damage to that creature equal to twice the number of creatures in your party. -SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X SVar:X:Count$Party/Twice DeckHas:Ability$Party DeckHints:Type$Cleric|Rogue|Warrior|Wizard diff --git a/forge-gui/res/cardsfolder/p/prahv.txt b/forge-gui/res/cardsfolder/p/prahv.txt index be2396dbeac..9580fd60579 100644 --- a/forge-gui/res/cardsfolder/p/prahv.txt +++ b/forge-gui/res/cardsfolder/p/prahv.txt @@ -6,7 +6,7 @@ SVar:CheckThisTurnCast:Count$ThisTurnCast_Card.YouCtrl S:Mode$ CantBeCast | EffectZone$ Command | ValidCard$ Card | Caster$ You | CheckSVar$ CheckThisTurnAttacked | Description$ If you attacked with creatures this turn, you can't cast spells. SVar:CheckThisTurnAttacked:Count$AttackersDeclared T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, you gain life equal to the number of cards in your hand. -SVar:RolledChaos:DB$ GainLife | LifeAmount$ PrahvX | References$ PrahvX | Defined$ You +SVar:RolledChaos:DB$ GainLife | LifeAmount$ PrahvX | Defined$ You SVar:PrahvX:Count$InYourHand SVar:AIRollPlanarDieParams:Mode$ Always | CardsInHandGE$ 2 SVar:Picture:http://www.wizards.com/global/images/magic/general/prahv.jpg diff --git a/forge-gui/res/cardsfolder/p/prairie_stream.txt b/forge-gui/res/cardsfolder/p/prairie_stream.txt index d341aa1f2b0..73000566d96 100644 --- a/forge-gui/res/cardsfolder/p/prairie_stream.txt +++ b/forge-gui/res/cardsfolder/p/prairie_stream.txt @@ -2,7 +2,7 @@ Name:Prairie Stream ManaCost:no cost Types:Land Plains Island R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ LandTapped | Description$ CARDNAME enters the battlefield tapped unless you control two or more basic lands. -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar | ConditionSVarCompare$ LE1 | References$ ETBCheckSVar | SubAbility$ MoveToPlay +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar | ConditionSVarCompare$ LE1 | SubAbility$ MoveToPlay SVar:MoveToPlay:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard SVar:ETBCheckSVar:Count$LastStateBattlefield Land.Basic+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/prairie_stream.jpg diff --git a/forge-gui/res/cardsfolder/p/predators_gambit.txt b/forge-gui/res/cardsfolder/p/predators_gambit.txt index 827a87d5c95..6e999d0d990 100644 --- a/forge-gui/res/cardsfolder/p/predators_gambit.txt +++ b/forge-gui/res/cardsfolder/p/predators_gambit.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ B | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 2 | AddToughness$ 1 | Description$ Enchanted creature gets +2/+1. -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Intimidate | CheckSVar$ X | SVarCompare$ EQ1 | References$ X | Description$ If enchanted creature's controller controls no other creatures, it has intimidate. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Intimidate | CheckSVar$ X | SVarCompare$ EQ1 | Description$ If enchanted creature's controller controls no other creatures, it has intimidate. SVar:X:Count$EnchantedControllerCreatures SVar:Picture:http://www.wizards.com/global/images/magic/general/predators_gambit.jpg Oracle:Enchant creature\nEnchanted creature gets +2/+1.\nEnchanted creature has intimidate as long as its controller controls no other creatures. (It can't be blocked except by artifact creatures and/or creatures that share a color with it.) diff --git a/forge-gui/res/cardsfolder/p/predators_howl.txt b/forge-gui/res/cardsfolder/p/predators_howl.txt index 96492bf995e..505872e118b 100644 --- a/forge-gui/res/cardsfolder/p/predators_howl.txt +++ b/forge-gui/res/cardsfolder/p/predators_howl.txt @@ -1,7 +1,7 @@ Name:Predator's Howl ManaCost:3 G Types:Instant -A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenScript$ g_2_2_wolf | TokenOwner$ You | LegacyImage$ g 2 2 wolf cns | References$ X | SpellDescription$ Create a 2/2 green Wolf creature token. Morbid — Create three 2/2 green Wolf creature tokens instead if a creature died this turn. +A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenScript$ g_2_2_wolf | TokenOwner$ You | LegacyImage$ g 2 2 wolf cns | SpellDescription$ Create a 2/2 green Wolf creature token. Morbid — Create three 2/2 green Wolf creature tokens instead if a creature died this turn. SVar:X:Count$Morbid.3.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/predators_howl.jpg Oracle:Create a 2/2 green Wolf creature token.\nMorbid — Create three 2/2 green Wolf creature tokens instead if a creature died this turn. diff --git a/forge-gui/res/cardsfolder/p/predators_rapport.txt b/forge-gui/res/cardsfolder/p/predators_rapport.txt index 99d11a307f8..a49d8b68b5a 100644 --- a/forge-gui/res/cardsfolder/p/predators_rapport.txt +++ b/forge-gui/res/cardsfolder/p/predators_rapport.txt @@ -2,7 +2,7 @@ Name:Predator's Rapport ManaCost:2 G Types:Instant A:SP$ Pump | Cost$ 2 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | SubAbility$ DBGainLife | StackDescription$ SpellDescription | SpellDescription$ Choose target creature you control. You gain life equal to that creature's power plus its toughness. -SVar:DBGainLife:DB$ GainLife | Defined$ TargetedController | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ TargetedController | LifeAmount$ X SVar:X:Targeted$CardSumPT SVar:Picture:http://www.wizards.com/global/images/magic/general/predators_rapport.jpg Oracle:Choose target creature you control. You gain life equal to that creature's power plus its toughness. diff --git a/forge-gui/res/cardsfolder/p/predatory_advantage.txt b/forge-gui/res/cardsfolder/p/predatory_advantage.txt index a3ca1645a8e..3012cde5069 100644 --- a/forge-gui/res/cardsfolder/p/predatory_advantage.txt +++ b/forge-gui/res/cardsfolder/p/predatory_advantage.txt @@ -1,7 +1,7 @@ Name:Predatory Advantage ManaCost:3 R G Types:Enchantment -T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Opponent | CheckSVar$ X | SVarCompare$ EQ0 | References$ X | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of each opponent's end step, if that player didn't cast a creature spell this turn, create a 2/2 green Lizard creature token. +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Opponent | CheckSVar$ X | SVarCompare$ EQ0 | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of each opponent's end step, if that player didn't cast a creature spell this turn, create a 2/2 green Lizard creature token. SVar:TrigToken:DB$Token | TokenScript$ g_2_2_lizard | LegacyImage$ g 2 2 lizard arb | TokenAmount$ 1 | TokenOwner$ You SVar:X:Count$ThisTurnCast_Creature.ActivePlayerCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/predatory_advantage.jpg diff --git a/forge-gui/res/cardsfolder/p/predatory_urge.txt b/forge-gui/res/cardsfolder/p/predatory_urge.txt index f24f07ef7a5..855fb495264 100644 --- a/forge-gui/res/cardsfolder/p/predatory_urge.txt +++ b/forge-gui/res/cardsfolder/p/predatory_urge.txt @@ -4,8 +4,8 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 3 G | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddAbility$ DamageTgt | AddSVar$ DamageThis & PredatoryX & PredatoryY | Description$ Enchanted creature has "{T}: This creature deals damage equal to its power to target creature. That creature deals damage equal to its power to this creature." -SVar:DamageTgt:AB$DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ PredatoryX | References$ PredatoryX | SubAbility$ DamageThis | SpellDescription$ CARDNAME deals damage equal to its power to target creature. That creature deals damage equal to its power to CARDNAME. -SVar:DamageThis:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ PredatoryY | References$ PredatoryY +SVar:DamageTgt:AB$DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ PredatoryX | SubAbility$ DamageThis | SpellDescription$ CARDNAME deals damage equal to its power to target creature. That creature deals damage equal to its power to CARDNAME. +SVar:DamageThis:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ PredatoryY SVar:PredatoryX:Count$CardPower SVar:PredatoryY:Targeted$CardPower SVar:NonStackingAttachEffect:True diff --git a/forge-gui/res/cardsfolder/p/predict.txt b/forge-gui/res/cardsfolder/p/predict.txt index 6660a21ce40..8775ae61c7b 100644 --- a/forge-gui/res/cardsfolder/p/predict.txt +++ b/forge-gui/res/cardsfolder/p/predict.txt @@ -3,7 +3,7 @@ ManaCost:1 U Types:Instant A:SP$ NameCard | Cost$ 1 U | Defined$ You | SubAbility$ DBMill | SpellDescription$ Choose a card name, then target player mills a card. If a card with the chosen name was milled this way, you draw two cards. Otherwise, you draw a card. SVar:DBMill:DB$ Mill | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ 1 | RememberMilled$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBDraw2 +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBDraw2 SVar:DBDraw2:DB$ Draw | Defined$ You | NumCards$ 1 SVar:X:Remembered$Valid Card.NamedCard AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/p/presence_of_the_wise.txt b/forge-gui/res/cardsfolder/p/presence_of_the_wise.txt index aad7e5e0c8d..0cff349ed4c 100644 --- a/forge-gui/res/cardsfolder/p/presence_of_the_wise.txt +++ b/forge-gui/res/cardsfolder/p/presence_of_the_wise.txt @@ -1,7 +1,7 @@ Name:Presence of the Wise ManaCost:2 W W Types:Sorcery -A:SP$ GainLife | Cost$ 2 W W | LifeAmount$ X | References$ X | SpellDescription$ You gain 2 life for each card in your hand. +A:SP$ GainLife | Cost$ 2 W W | LifeAmount$ X | SpellDescription$ You gain 2 life for each card in your hand. SVar:X:Count$CardsInYourHand/Times.2 SVar:NeedsToPlayVar:Z GE3 SVar:Z:Count$InYourHand diff --git a/forge-gui/res/cardsfolder/p/price_of_fame.txt b/forge-gui/res/cardsfolder/p/price_of_fame.txt index e29205ac3ef..38e17676cdb 100644 --- a/forge-gui/res/cardsfolder/p/price_of_fame.txt +++ b/forge-gui/res/cardsfolder/p/price_of_fame.txt @@ -1,8 +1,8 @@ Name:Price of Fame ManaCost:3 B Types:Instant -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ CostReduction | Relative$ True | EffectZone$ All | References$ CostReduction,CheckTgt | Description$ CARDNAME costs {2} less to cast if it targets a legendary creature. -A:SP$ Destroy | Cost$ 3 B | ValidTgts$ Creature | SubAbility$ DBSurveil | TgtPrompt$ Select target creature | References$ CostReduction,CheckTgt | SpellDescription$ Destroy target creature. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ CostReduction | Relative$ True | EffectZone$ All | Description$ CARDNAME costs {2} less to cast if it targets a legendary creature. +A:SP$ Destroy | Cost$ 3 B | ValidTgts$ Creature | SubAbility$ DBSurveil | TgtPrompt$ Select target creature | SpellDescription$ Destroy target creature. SVar:CostReduction:Count$Compare CheckTgt GE1.2.0 SVar:CheckTgt:Targeted$Valid Creature.Legendary SVar:DBSurveil:DB$ Surveil | Amount$ 2 diff --git a/forge-gui/res/cardsfolder/p/price_of_knowledge.txt b/forge-gui/res/cardsfolder/p/price_of_knowledge.txt index 4ff28f73af7..7e22da2a8dd 100644 --- a/forge-gui/res/cardsfolder/p/price_of_knowledge.txt +++ b/forge-gui/res/cardsfolder/p/price_of_knowledge.txt @@ -3,7 +3,7 @@ ManaCost:6 B Types:Enchantment S:Mode$ Continuous | Affected$ Player | SetMaxHandSize$ Unlimited | Description$ Players have no maximum hand size. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigDmg | TriggerDescription$ At the beginning of each opponent's upkeep, CARDNAME deals damage to that player equal to the number of cards in that player's hand. -SVar:TrigDmg:DB$ DealDamage | NumDmg$ X | References$ X | Defined$ TriggeredPlayer +SVar:TrigDmg:DB$ DealDamage | NumDmg$ X | Defined$ TriggeredPlayer SVar:X:TriggeredPlayer$CardsInHand SVar:Picture:http://www.wizards.com/global/images/magic/general/price_of_knowledge.jpg Oracle:Players have no maximum hand size.\nAt the beginning of each opponent's upkeep, Price of Knowledge deals damage to that player equal to the number of cards in that player's hand. diff --git a/forge-gui/res/cardsfolder/p/price_of_progress.txt b/forge-gui/res/cardsfolder/p/price_of_progress.txt index 3e75ebb26b3..93337486f1d 100644 --- a/forge-gui/res/cardsfolder/p/price_of_progress.txt +++ b/forge-gui/res/cardsfolder/p/price_of_progress.txt @@ -2,7 +2,7 @@ Name:Price of Progress ManaCost:1 R Types:Instant A:SP$ RepeatEach | Cost$ 1 R | RepeatPlayers$ Player | RepeatSubAbility$ DBDamage | DamageMap$ True | AILogic$ PriceOfProgress | SpellDescription$ CARDNAME deals 2 damage to each player for each nonbasic land they control. -SVar:DBDamage:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ Remembered | NumDmg$ X SVar:X:Count$Valid Land.nonBasic+RememberedPlayerCtrl/Times.2 AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/price_of_progress.jpg diff --git a/forge-gui/res/cardsfolder/p/pride_of_conquerors.txt b/forge-gui/res/cardsfolder/p/pride_of_conquerors.txt index ff44c3d11ba..d7dd0b6b6f9 100644 --- a/forge-gui/res/cardsfolder/p/pride_of_conquerors.txt +++ b/forge-gui/res/cardsfolder/p/pride_of_conquerors.txt @@ -2,7 +2,7 @@ Name:Pride of Conquerors ManaCost:1 W Types:Instant K:Ascend -A:SP$ PumpAll | Cost$ 1 W | ValidCards$ Creature.YouCtrl | NumAtt$ X | NumDef$ X | References$ X | SpellDescription$ Creatures you control get +1/+1 until end of turn. If you have the city's blessing, those creatures get +2/+2 until end of turn instead. +A:SP$ PumpAll | Cost$ 1 W | ValidCards$ Creature.YouCtrl | NumAtt$ X | NumDef$ X | SpellDescription$ Creatures you control get +1/+1 until end of turn. If you have the city's blessing, those creatures get +2/+2 until end of turn instead. SVar:X:Count$Blessing.2.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/pride_of_conquerors.jpg Oracle:Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.)\nCreatures you control get +1/+1 until end of turn. If you have the city's blessing, those creatures get +2/+2 until end of turn instead. diff --git a/forge-gui/res/cardsfolder/p/pride_of_the_clouds.txt b/forge-gui/res/cardsfolder/p/pride_of_the_clouds.txt index 3bc044aa98c..8c65eb1e3f5 100644 --- a/forge-gui/res/cardsfolder/p/pride_of_the_clouds.txt +++ b/forge-gui/res/cardsfolder/p/pride_of_the_clouds.txt @@ -3,7 +3,7 @@ ManaCost:W U Types:Creature Elemental Cat PT:1/1 K:Flying -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each other creature with flying on the battlefield. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each other creature with flying on the battlefield. A:AB$ Token | Cost$ 2 W U Reveal<1/CARDNAME> | Forecast$ True | TokenAmount$ 1 | TokenScript$ wu_1_1_bird_flying | TokenOwner$ You | SpellDescription$ Create a 1/1 white and blue Bird creature token with flying. (Activate this ability only during your upkeep and only once each turn.) SVar:X:Count$Valid Creature.withFlying+Other SVar:BuffedBy:Creature.withFlying diff --git a/forge-gui/res/cardsfolder/p/priest_of_forgotten_gods.txt b/forge-gui/res/cardsfolder/p/priest_of_forgotten_gods.txt index c6bbd084646..0d3e5bad371 100644 --- a/forge-gui/res/cardsfolder/p/priest_of_forgotten_gods.txt +++ b/forge-gui/res/cardsfolder/p/priest_of_forgotten_gods.txt @@ -2,7 +2,7 @@ Name:Priest of Forgotten Gods ManaCost:1 B Types:Creature Human Cleric PT:1/2 -A:AB$ LoseLife | Cost$ T Sac<2/Creature.Other/other creature> | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgts | References$ MaxTgts | LifeAmount$ 2 | SubAbility$ DBSac | SpellDescription$ Any number of target players each lose 2 life and sacrifice a creature. You add {B}{B} and draw a card. +A:AB$ LoseLife | Cost$ T Sac<2/Creature.Other/other creature> | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgts | LifeAmount$ 2 | SubAbility$ DBSac | SpellDescription$ Any number of target players each lose 2 life and sacrifice a creature. You add {B}{B} and draw a card. SVar:MaxTgts:PlayerCountPlayers$Amount SVar:DBSac:DB$ Sacrifice | SacValid$ Creature | Defined$ Targeted | Amount$ 1 | SubAbility$ DBMana SVar:DBMana:DB$ Mana | Produced$ B | Amount$ 2 | AILogic$ Always | SubAbility$ DBDraw diff --git a/forge-gui/res/cardsfolder/p/priest_of_the_haunted_edge.txt b/forge-gui/res/cardsfolder/p/priest_of_the_haunted_edge.txt index d0e00049f6f..118995e3601 100644 --- a/forge-gui/res/cardsfolder/p/priest_of_the_haunted_edge.txt +++ b/forge-gui/res/cardsfolder/p/priest_of_the_haunted_edge.txt @@ -2,7 +2,7 @@ Name:Priest of the Haunted Edge ManaCost:1 B Types:Snow Creature Zombie Cleric PT:0/4 -A:AB$ Pump | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X | SorcerySpeed$ True | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of snow lands you control. +A:AB$ Pump | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SorcerySpeed$ True | SpellDescription$ Target creature gets -X/-X until end of turn, where X is the number of snow lands you control. SVar:X:Count$Valid Land.Snow+YouCtrl DeckHints:Type$Snow Oracle:{T}, Sacrifice Priest of the Haunted Edge: Target creature gets -X/-X until end of turn, where X is the number of snow lands you control. Activate this ability only any time you could cast a sorcery. diff --git a/forge-gui/res/cardsfolder/p/priest_of_titania.txt b/forge-gui/res/cardsfolder/p/priest_of_titania.txt index f79fdcf31db..7f9dabce74b 100644 --- a/forge-gui/res/cardsfolder/p/priest_of_titania.txt +++ b/forge-gui/res/cardsfolder/p/priest_of_titania.txt @@ -2,7 +2,7 @@ Name:Priest of Titania ManaCost:1 G Types:Creature Elf Druid PT:1/1 -A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | References$ X | SpellDescription$ Add {G} for each Elf on the battlefield. +A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | SpellDescription$ Add {G} for each Elf on the battlefield. SVar:X:Count$Valid Elf SVar:Picture:http://www.wizards.com/global/images/magic/general/priest_of_titania.jpg Oracle:{T}: Add {G} for each Elf on the battlefield. diff --git a/forge-gui/res/cardsfolder/p/priest_of_yawgmoth.txt b/forge-gui/res/cardsfolder/p/priest_of_yawgmoth.txt index 87bedcfbc33..2fa5fdba586 100644 --- a/forge-gui/res/cardsfolder/p/priest_of_yawgmoth.txt +++ b/forge-gui/res/cardsfolder/p/priest_of_yawgmoth.txt @@ -2,7 +2,7 @@ Name:Priest of Yawgmoth ManaCost:1 B Types:Creature Human Cleric PT:1/2 -A:AB$ Mana | Cost$ T Sac<1/Artifact> | Produced$ B | Amount$ X | References$ X | SpellDescription$ Add an amount of black mana equal to the sacrificed artifact's converted mana cost. +A:AB$ Mana | Cost$ T Sac<1/Artifact> | Produced$ B | Amount$ X | SpellDescription$ Add an amount of black mana equal to the sacrificed artifact's converted mana cost. SVar:X:Sacrificed$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/priest_of_yawgmoth.jpg diff --git a/forge-gui/res/cardsfolder/p/primal_amulet_primal_wellspring.txt b/forge-gui/res/cardsfolder/p/primal_amulet_primal_wellspring.txt index d9036d6f932..aed79dd4d26 100644 --- a/forge-gui/res/cardsfolder/p/primal_amulet_primal_wellspring.txt +++ b/forge-gui/res/cardsfolder/p/primal_amulet_primal_wellspring.txt @@ -4,13 +4,13 @@ Types:Artifact S:Mode$ ReduceCost | ValidCard$ Instant,Sorcery | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Instant and sorcery spells you cast cost {1} less to cast. T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigCharge | TriggerDescription$ Whenever you cast an instant or sorcery spell, put a charge counter on CARDNAME. Then if there are four or more charge counters on it, you may remove those counters and transform it. SVar:TrigCharge:DB$ PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1 | SubAbility$ DBStoreSVar -SVar:DBStoreSVar:DB$ StoreSVar | SVar$ FullyCharged | Type$ Number | Expression$ 1 | ConditionCheckSVar$ ChargeCounter | ConditionSVarCompare$ GE1 | References$ ChargeCounter,FullyCharged | SubAbility$ DBRemoveCtrs -SVar:DBRemoveCtrs:DB$ RemoveCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ All | Optional$ True | ConditionCheckSVar$ FullyCharged | ConditionSVarCompare$ GE1 | References$ FullyCharged | SubAbility$ DBTransform -SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform | ConditionCheckSVar$ Discharged | ConditionSVarCompare$ EQ1 | References$ Discharged +SVar:DBStoreSVar:DB$ StoreSVar | SVar$ FullyCharged | Type$ Number | Expression$ 1 | ConditionCheckSVar$ ChargeCounter | ConditionSVarCompare$ GE1 | SubAbility$ DBRemoveCtrs +SVar:DBRemoveCtrs:DB$ RemoveCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ All | Optional$ True | ConditionCheckSVar$ FullyCharged | ConditionSVarCompare$ GE1 | SubAbility$ DBTransform +SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform | ConditionCheckSVar$ Discharged | ConditionSVarCompare$ EQ1 SVar:ChargeCounter:Count$Valid Card.Self+counters_GE4_CHARGE SVar:Discharged:Count$Valid Card.Self+counters_EQ0_CHARGE T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | Execute$ DBInitSVar | Static$ True -SVar:DBInitSVar:DB$ StoreSVar | SVar$ FullyCharged | Type$ Number | Expression$ 0 | References$ FullyCharged +SVar:DBInitSVar:DB$ StoreSVar | SVar$ FullyCharged | Type$ Number | Expression$ 0 SVar:FullyCharged:Number$0 AlternateMode:DoubleFaced Oracle:Instant and sorcery spells you cast cost {1} less to cast.\nWhenever you cast an instant or sorcery spell, put a charge counter on Primal Amulet. Then if there are four or more charge counters on it, you may remove those counters and transform it. diff --git a/forge-gui/res/cardsfolder/p/primal_bellow.txt b/forge-gui/res/cardsfolder/p/primal_bellow.txt index 1af48ab0299..5a8a6af4ac2 100644 --- a/forge-gui/res/cardsfolder/p/primal_bellow.txt +++ b/forge-gui/res/cardsfolder/p/primal_bellow.txt @@ -1,7 +1,7 @@ Name:Primal Bellow ManaCost:G Types:Instant -A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Target creature gets +1/+1 until end of turn for each Forest you control. +A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Target creature gets +1/+1 until end of turn for each Forest you control. SVar:X:Count$TypeYouCtrl.Forest SVar:Picture:http://www.wizards.com/global/images/magic/general/primal_bellow.jpg Oracle:Target creature gets +1/+1 until end of turn for each Forest you control. diff --git a/forge-gui/res/cardsfolder/p/primal_empathy.txt b/forge-gui/res/cardsfolder/p/primal_empathy.txt index 0f7a0520c31..9acc327603a 100755 --- a/forge-gui/res/cardsfolder/p/primal_empathy.txt +++ b/forge-gui/res/cardsfolder/p/primal_empathy.txt @@ -2,7 +2,7 @@ Name:Primal Empathy ManaCost:1 G U Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigBranch | TriggerDescription$ At the beginning of your upkeep, draw a card if you control a creature with the greatest power among creatures on the battlefield. Otherwise, put a +1/+1 counter on a creature you control. -SVar:TrigBranch:DB$ Branch | References$ Y,Z | ConditionPresent$ Creature.YouCtrl | ConditionCompare$ GE1 | BranchConditionSVar$ Y | BranchConditionSVarCompare$ GEZ | TrueSubAbility$ Draw | FalseSubAbility$ PutCounter +SVar:TrigBranch:DB$ Branch | ConditionPresent$ Creature.YouCtrl | ConditionCompare$ GE1 | BranchConditionSVar$ Y | BranchConditionSVarCompare$ GEZ | TrueSubAbility$ Draw | FalseSubAbility$ PutCounter SVar:Draw:DB$ Draw | Defined$ You | NumCards$ 1 SVar:PutCounter:DB$ PutCounter | Choices$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 1 SVar:Y:Count$GreatestPower_Creature.YouCtrl diff --git a/forge-gui/res/cardsfolder/p/primal_growth.txt b/forge-gui/res/cardsfolder/p/primal_growth.txt index f95b7f46b40..6d8fc3a96a5 100644 --- a/forge-gui/res/cardsfolder/p/primal_growth.txt +++ b/forge-gui/res/cardsfolder/p/primal_growth.txt @@ -2,7 +2,7 @@ Name:Primal Growth ManaCost:2 G Types:Sorcery K:Kicker:Sac<1/Creature> -A:SP$ ChangeZone | Cost$ 2 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | References$ X | ChangeNum$ X | SpellDescription$ Search your library for a basic land card, put that card onto the battlefield, then shuffle your library. If this spell was kicked, instead search your library for up to two basic land cards, put them onto the battlefield, then shuffle your library. +A:SP$ ChangeZone | Cost$ 2 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ X | SpellDescription$ Search your library for a basic land card, put that card onto the battlefield, then shuffle your library. If this spell was kicked, instead search your library for up to two basic land cards, put them onto the battlefield, then shuffle your library. SVar:X:Count$Kicked.2.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/primal_growth.jpg Oracle:Kicker—Sacrifice a creature. (You may sacrifice a creature in addition to any other costs as you cast this spell.)\nSearch your library for a basic land card, put that card onto the battlefield, then shuffle your library. If this spell was kicked, instead search your library for up to two basic land cards, put them onto the battlefield, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/p/primal_might.txt b/forge-gui/res/cardsfolder/p/primal_might.txt index f1a49006340..e51ad38cda6 100755 --- a/forge-gui/res/cardsfolder/p/primal_might.txt +++ b/forge-gui/res/cardsfolder/p/primal_might.txt @@ -1,7 +1,7 @@ Name:Primal Might ManaCost:X G Types:Sorcery -A:SP$ Pump | Cost$ X G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ +X | NumDef$ +X | References$ X | SubAbility$ DBFight | SpellDescription$ Target creature you control gets +X/+X until end of turn. Then it fights up to one target creature you don't control. +A:SP$ Pump | Cost$ X G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ +X | NumDef$ +X | SubAbility$ DBFight | SpellDescription$ Target creature you control gets +X/+X until end of turn. Then it fights up to one target creature you don't control. SVar:DBFight:DB$ Fight | Defined$ ParentTarget | ValidTgts$ Creature.YouDontCtrl | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select up to one target creature you don't control SVar:X:Count$xPaid SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/p/primal_order.txt b/forge-gui/res/cardsfolder/p/primal_order.txt index 11813a0f288..00e189c0d63 100644 --- a/forge-gui/res/cardsfolder/p/primal_order.txt +++ b/forge-gui/res/cardsfolder/p/primal_order.txt @@ -2,7 +2,7 @@ Name:Primal Order ManaCost:2 G G Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of each player's upkeep, CARDNAME deals damage to that player equal to the number of nonbasic lands they control. -SVar:TrigDamage:DB$DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:Count$Valid Land.nonBasic+ActivePlayerCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/primal_order.jpg diff --git a/forge-gui/res/cardsfolder/p/primal_vigor.txt b/forge-gui/res/cardsfolder/p/primal_vigor.txt index cfd00dd5261..3192f00044e 100644 --- a/forge-gui/res/cardsfolder/p/primal_vigor.txt +++ b/forge-gui/res/cardsfolder/p/primal_vigor.txt @@ -2,9 +2,9 @@ Name:Primal Vigor ManaCost:4 G Types:Enchantment R:Event$ CreateToken | ActiveZones$ Battlefield | ValidPlayer$ Player | ReplaceWith$ DoubleToken | Description$ If one or more tokens would be created, twice that many of those tokens are created instead. -SVar:DoubleToken:DB$ ReplaceEffect | VarName$ TokenNum | VarValue$ X | References$ X +SVar:DoubleToken:DB$ ReplaceEffect | VarName$ TokenNum | VarValue$ X R:Event$ AddCounter | ActiveZones$ Battlefield | ValidCard$ Creature | ValidCounterType$ P1P1 | ReplaceWith$ DoubleP1P1Counters | Description$ If one or more +1/+1 counters would be put on a creature, twice that many +1/+1 counters are put on that creature instead. -SVar:DoubleP1P1Counters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ Y | References$ Y +SVar:DoubleP1P1Counters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ Y SVar:X:ReplaceCount$TokenNum/Twice SVar:Y:ReplaceCount$CounterNum/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/primal_vigor.jpg diff --git a/forge-gui/res/cardsfolder/p/primal_whisperer.txt b/forge-gui/res/cardsfolder/p/primal_whisperer.txt index a3d879f8a17..6c5c4e170cf 100644 --- a/forge-gui/res/cardsfolder/p/primal_whisperer.txt +++ b/forge-gui/res/cardsfolder/p/primal_whisperer.txt @@ -3,7 +3,7 @@ ManaCost:4 G Types:Creature Elf Soldier PT:2/2 K:Morph:3 G -S:Mode$ Continuous | Affected$ Card.Self+faceUp | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +2/+2 for each face-down creature on the battlefield. +S:Mode$ Continuous | Affected$ Card.Self+faceUp | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +2/+2 for each face-down creature on the battlefield. SVar:X:Count$Valid Creature.faceDown/Times.2 AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/primal_whisperer.jpg diff --git a/forge-gui/res/cardsfolder/p/primalcrux.txt b/forge-gui/res/cardsfolder/p/primalcrux.txt index 0a34d91f769..f5a8845945e 100644 --- a/forge-gui/res/cardsfolder/p/primalcrux.txt +++ b/forge-gui/res/cardsfolder/p/primalcrux.txt @@ -3,7 +3,7 @@ ManaCost:G G G G G G Types:Creature Elemental PT:*/* K:Trample -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ Chroma — CARDNAME's power and toughness are each equal to the number of green mana symbols in the mana costs of permanents you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ Chroma — CARDNAME's power and toughness are each equal to the number of green mana symbols in the mana costs of permanents you control. SVar:X:Count$Chroma.Green SVar:NoZeroToughnessAI:True SVar:Picture:http://www.wizards.com/global/images/magic/general/primalcrux.jpg diff --git a/forge-gui/res/cardsfolder/p/prime_speaker_vannifar.txt b/forge-gui/res/cardsfolder/p/prime_speaker_vannifar.txt index 7c7c423cf6c..0196ac2ee02 100644 --- a/forge-gui/res/cardsfolder/p/prime_speaker_vannifar.txt +++ b/forge-gui/res/cardsfolder/p/prime_speaker_vannifar.txt @@ -2,7 +2,7 @@ Name:Prime Speaker Vannifar ManaCost:2 G U Types:Legendary Creature Elf Ooze Wizard PT:2/4 -A:AB$ ChangeZone | Cost$ T Sac<1/Creature.Other/another creature> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcEQX | References$ X | ChangeNum$ 1 | SorcerySpeed$ True | AILogic$ SacAndUpgrade | SpellDescription$ Search your library for a creature card with converted mana cost equal to 1 plus the sacrificed creature's converted mana cost, put that card onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery. +A:AB$ ChangeZone | Cost$ T Sac<1/Creature.Other/another creature> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcEQX | ChangeNum$ 1 | SorcerySpeed$ True | AILogic$ SacAndUpgrade | SpellDescription$ Search your library for a creature card with converted mana cost equal to 1 plus the sacrificed creature's converted mana cost, put that card onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery. SVar:X:Sacrificed$CardManaCost/Plus.1 # AI Preference is needed to make the AI consider the ability. Further constraints are defined by AILogic SacAndUpgrade. SVar:AIPreference:SacCost$Creature diff --git a/forge-gui/res/cardsfolder/p/prime_speaker_zegana.txt b/forge-gui/res/cardsfolder/p/prime_speaker_zegana.txt index c69d81216f5..53278a1bcbb 100644 --- a/forge-gui/res/cardsfolder/p/prime_speaker_zegana.txt +++ b/forge-gui/res/cardsfolder/p/prime_speaker_zegana.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Merfolk Wizard PT:1/1 K:etbCounter:P1P1:X:no Condition:CARDNAME enters the battlefield with X +1/+1 counters on it, where X is the greatest power among other creatures you control. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw cards equal to its power. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ Y | References$ Y +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ Y SVar:X:Count$GreatestPower_Creature.YouCtrl SVar:Y:TriggeredCard$CardPower SVar:NeedsToPlayVar:X GE3 diff --git a/forge-gui/res/cardsfolder/p/primeval_protector.txt b/forge-gui/res/cardsfolder/p/primeval_protector.txt index b9f1a6e1a60..36c8083b690 100644 --- a/forge-gui/res/cardsfolder/p/primeval_protector.txt +++ b/forge-gui/res/cardsfolder/p/primeval_protector.txt @@ -2,7 +2,7 @@ Name:Primeval Protector ManaCost:10 G Types:Creature Avatar PT:10/10 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature your opponents control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature your opponents control. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounters | TriggerDescription$ When CARDNAME enters the battlefield, put a +1/+1 counter on each other creature you control. SVar:TrigPutCounters:DB$ PutCounterAll | ValidCards$ Creature.YouCtrl+Other | CounterType$ P1P1 | CounterNum$ 1 SVar:X:Count$Valid Creature.OppCtrl diff --git a/forge-gui/res/cardsfolder/p/primitive_justice.txt b/forge-gui/res/cardsfolder/p/primitive_justice.txt index 664003e54f4..cd61adc573d 100644 --- a/forge-gui/res/cardsfolder/p/primitive_justice.txt +++ b/forge-gui/res/cardsfolder/p/primitive_justice.txt @@ -1,9 +1,9 @@ Name:Primitive Justice ManaCost:1 R Types:Sorcery -A:SP$ Destroy | Cost$ X 1 R | XColor$ RG | Announce$ AdditionalCostPayTimes | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | TargetMin$ TargetNum | TargetMax$ TargetNum | References$ AdditionalCostPayTimes,TargetNum,X | SubAbility$ DBGainLife | SpellDescription$ Destroy target artifact. For each additional {1}{R} you paid, destroy another target artifact. For each additional {1}{G} you paid, destroy another target artifact, and you gain 1 life. -S:Mode$ RaiseCost | ValidCard$ Card.Self | Type$ Spell | Amount$ IncreaseCost | References$ IncreaseCost | EffectZone$ All |Description$ As an additional cost to cast this spell, you may pay {1}{R} and/or {1}{G} any number of times. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ GreenManaPaid | References$ GreenManaPaid +A:SP$ Destroy | Cost$ X 1 R | XColor$ RG | Announce$ AdditionalCostPayTimes | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | TargetMin$ TargetNum | TargetMax$ TargetNum | SubAbility$ DBGainLife | SpellDescription$ Destroy target artifact. For each additional {1}{R} you paid, destroy another target artifact. For each additional {1}{G} you paid, destroy another target artifact, and you gain 1 life. +S:Mode$ RaiseCost | ValidCard$ Card.Self | Type$ Spell | Amount$ IncreaseCost | EffectZone$ All |Description$ As an additional cost to cast this spell, you may pay {1}{R} and/or {1}{G} any number of times. +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ GreenManaPaid SVar:AdditionalCostPayTimes:Number$0 SVar:TargetNum:SVar$AdditionalCostPayTimes/Plus.1 SVar:IncreaseCost:SVar$AdditionalCostPayTimes diff --git a/forge-gui/res/cardsfolder/p/primordial_ooze.txt b/forge-gui/res/cardsfolder/p/primordial_ooze.txt index 91957fa1e03..65d17616312 100644 --- a/forge-gui/res/cardsfolder/p/primordial_ooze.txt +++ b/forge-gui/res/cardsfolder/p/primordial_ooze.txt @@ -5,8 +5,8 @@ PT:1/1 K:CARDNAME attacks each combat if able. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a +1/+1 counter on CARDNAME. Then you may pay {X}, where X is the number of +1/+1 counters on it. If you don't, tap CARDNAME and it deals X damage to you. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBTap -SVar:DBTap:DB$ Tap | Defined$ Self | UnlessCost$ X | UnlessPayer$ You | UnlessResolveSubs$ WhenNotPaid | SubAbility$ DBDmg | References$ X -SVar:DBDmg:DB$ DealDamage | NumDmg$ X | Defined$ You | References$ X +SVar:DBTap:DB$ Tap | Defined$ Self | UnlessCost$ X | UnlessPayer$ You | UnlessResolveSubs$ WhenNotPaid | SubAbility$ DBDmg +SVar:DBDmg:DB$ DealDamage | NumDmg$ X | Defined$ You SVar:X:Count$CardCounters.P1P1 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/primordial_ooze.jpg diff --git a/forge-gui/res/cardsfolder/p/prismatic_boon.txt b/forge-gui/res/cardsfolder/p/prismatic_boon.txt index dc52a3a38dc..7f0348c7762 100644 --- a/forge-gui/res/cardsfolder/p/prismatic_boon.txt +++ b/forge-gui/res/cardsfolder/p/prismatic_boon.txt @@ -1,6 +1,6 @@ Name:Prismatic Boon ManaCost:X W U Types:Instant -A:SP$ Protection | Cost$ X W U | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | Gains$ Choice | Choices$ AnyColor | StackDescription$ Choose a color. X target creatures [{c:Targeted}] gain protection from the chosen color until end of turn. | SpellDescription$ Choose a color. X target creatures gain protection from the chosen color until end of turn. +A:SP$ Protection | Cost$ X W U | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | Gains$ Choice | Choices$ AnyColor | StackDescription$ Choose a color. X target creatures [{c:Targeted}] gain protection from the chosen color until end of turn. | SpellDescription$ Choose a color. X target creatures gain protection from the chosen color until end of turn. SVar:X:Count$xPaid Oracle:Choose a color. X target creatures gain protection from the chosen color until end of turn. diff --git a/forge-gui/res/cardsfolder/p/prismatic_geoscope.txt b/forge-gui/res/cardsfolder/p/prismatic_geoscope.txt index 524df5dfdaa..ba07677d245 100644 --- a/forge-gui/res/cardsfolder/p/prismatic_geoscope.txt +++ b/forge-gui/res/cardsfolder/p/prismatic_geoscope.txt @@ -2,6 +2,6 @@ Name:Prismatic Geoscope ManaCost:5 Types:Artifact K:CARDNAME enters the battlefield tapped. -A:AB$ Mana | Cost$ T | Produced$ Combo Any | Amount$ X | References$ X | PrecostDesc$ Domain — | SpellDescription$ Add X mana in any combination of colors, where X is the number of basic land types among lands you control. +A:AB$ Mana | Cost$ T | Produced$ Combo Any | Amount$ X | PrecostDesc$ Domain — | SpellDescription$ Add X mana in any combination of colors, where X is the number of basic land types among lands you control. SVar:X:Count$Domain SVar:Picture:http://www.wizards.com/global/images/magic/general/prismatic_geoscope.jpg Oracle:Prismatic Geoscope enters the battlefield tapped.\nDomain — {T}: Add X mana in any combination of colors, where X is the number of basic land types among lands you control. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/p/private_research.txt b/forge-gui/res/cardsfolder/p/private_research.txt index 0cbb573df5e..afb9eb16d45 100644 --- a/forge-gui/res/cardsfolder/p/private_research.txt +++ b/forge-gui/res/cardsfolder/p/private_research.txt @@ -6,7 +6,7 @@ A:SP$ Attach | Cost$ U | ValidTgts$ Creature | AILogic$ Pump T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPrivateResearchPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a page counter on CARDNAME. SVar:TrigPrivateResearchPutCounter:DB$PutCounter | Defined$ Self | CounterType$ PAGE | CounterNum$ 1 T:Mode$ ChangesZone | ValidCard$ Card.AttachedBy | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigPrivateResearchDraw | TriggerDescription$ When enchanted creature dies, draw a card for each page counter on CARDNAME. -SVar:TrigPrivateResearchDraw:DB$Draw | NumCards$ PrivateResearchX | References$ PrivateResearchX +SVar:TrigPrivateResearchDraw:DB$Draw | NumCards$ PrivateResearchX SVar:PrivateResearchX:Count$CardCounters.PAGE SVar:Picture:http://www.wizards.com/global/images/magic/general/private_research.jpg Oracle:Enchant creature\nAt the beginning of your upkeep, you may put a page counter on Private Research.\nWhen enchanted creature dies, draw a card for each page counter on Private Research. diff --git a/forge-gui/res/cardsfolder/p/profane_command.txt b/forge-gui/res/cardsfolder/p/profane_command.txt index ce6bd0aaac3..0f35da29d72 100644 --- a/forge-gui/res/cardsfolder/p/profane_command.txt +++ b/forge-gui/res/cardsfolder/p/profane_command.txt @@ -1,11 +1,11 @@ Name:Profane Command ManaCost:X B B Types:Sorcery -A:SP$ Charm | Cost$ X B B | Choices$ DBLose,DBChange,DBWeaken,DBSearch | CharmNum$ 2 | References$ X -SVar:DBLose:DB$ LoseLife | ValidTgts$ Player | TgtPrompt$ Select target player to lose life | LifeAmount$ X | References$ X | SpellDescription$ Target player loses X life. -SVar:DBChange:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | References$ X | TgtPrompt$ Choose target creature in your graveyard | ValidTgts$ Creature.YouCtrl+cmcLEX | SpellDescription$ Return target creature card with converted mana cost X or less from your graveyard to the battlefield. -SVar:DBWeaken:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature to get -X/-X | IsCurse$ True | NumAtt$ -X | NumDef$ -X | References$ X | SpellDescription$ Target creature gets -X/-X until end of turn. -SVar:DBSearch:DB$ Pump | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ X | KW$ Fear | References$ X | TgtPrompt$ Select target creature to gain Fear | SpellDescription$ Up to X target creatures gain fear until end of turn. (They can't be blocked except by artifact creatures and/or black creatures.) +A:SP$ Charm | Cost$ X B B | Choices$ DBLose,DBChange,DBWeaken,DBSearch | CharmNum$ 2 +SVar:DBLose:DB$ LoseLife | ValidTgts$ Player | TgtPrompt$ Select target player to lose life | LifeAmount$ X | SpellDescription$ Target player loses X life. +SVar:DBChange:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature in your graveyard | ValidTgts$ Creature.YouCtrl+cmcLEX | SpellDescription$ Return target creature card with converted mana cost X or less from your graveyard to the battlefield. +SVar:DBWeaken:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature to get -X/-X | IsCurse$ True | NumAtt$ -X | NumDef$ -X | SpellDescription$ Target creature gets -X/-X until end of turn. +SVar:DBSearch:DB$ Pump | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ X | KW$ Fear | TgtPrompt$ Select target creature to gain Fear | SpellDescription$ Up to X target creatures gain fear until end of turn. (They can't be blocked except by artifact creatures and/or black creatures.) SVar:X:Count$xPaid #X Will get overwritten by Announce AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/p/profane_prayers.txt b/forge-gui/res/cardsfolder/p/profane_prayers.txt index f0d02e78735..6b9697efcdb 100644 --- a/forge-gui/res/cardsfolder/p/profane_prayers.txt +++ b/forge-gui/res/cardsfolder/p/profane_prayers.txt @@ -1,8 +1,8 @@ Name:Profane Prayers ManaCost:2 B B Types:Sorcery -A:SP$ DealDamage | Cost$ 2 B B | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ Profane Prayers deals X damage to any target and you gain X life, where X is the number of Clerics on the battlefield. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +A:SP$ DealDamage | Cost$ 2 B B | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBGainLife | SpellDescription$ Profane Prayers deals X damage to any target and you gain X life, where X is the number of Clerics on the battlefield. +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$TypeOnBattlefield.Cleric AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/profane_prayers.jpg diff --git a/forge-gui/res/cardsfolder/p/profane_transfusion.txt b/forge-gui/res/cardsfolder/p/profane_transfusion.txt index d2d09f49ece..d48ca1b371e 100755 --- a/forge-gui/res/cardsfolder/p/profane_transfusion.txt +++ b/forge-gui/res/cardsfolder/p/profane_transfusion.txt @@ -2,7 +2,7 @@ Name:Profane Transfusion ManaCost:6 B B B Types:Sorcery A:SP$ ExchangeLife | Cost$ 6 B B B | TargetMin$ 2 | TargetMax$ 2 | ValidTgts$ Player | TgtPrompt$ Select target player | RememberDifference$ True | SubAbility$ DBToken | SpellDescription$ Two target players exchange life totals. You create an X/X colorless Horror artifact creature token, where X is the difference between those players' life totals. -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ c_x_x_a_horror | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | SubAbility$ DBCleanup | StackDescription$ {p:You} creates an X/X colorless Horror artifact creature token, where X is the difference between those players' life totals. +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ c_x_x_a_horror | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | SubAbility$ DBCleanup | StackDescription$ {p:You} creates an X/X colorless Horror artifact creature token, where X is the difference between those players' life totals. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedNumber/Abs DeckHas:Ablity$Token diff --git a/forge-gui/res/cardsfolder/p/profaner_of_the_dead.txt b/forge-gui/res/cardsfolder/p/profaner_of_the_dead.txt index fc83348252d..16aa78095d4 100644 --- a/forge-gui/res/cardsfolder/p/profaner_of_the_dead.txt +++ b/forge-gui/res/cardsfolder/p/profaner_of_the_dead.txt @@ -4,7 +4,7 @@ Types:Creature Naga Wizard PT:3/3 K:Exploit T:Mode$ Exploited | ValidCard$ Creature | ValidSource$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigChangeZoneAll | TriggerDescription$ When CARDNAME exploits a creature, return to their owners' hands all creatures your opponents control with toughness less than the exploited creature's toughness. -SVar:TrigChangeZoneAll:DB$ ChangeZoneAll | Origin$ Battlefield | Destination$ Hand | ChangeType$ Creature.toughnessLTX+OppCtrl | References$ X | AbilityCount$ X +SVar:TrigChangeZoneAll:DB$ ChangeZoneAll | Origin$ Battlefield | Destination$ Hand | ChangeType$ Creature.toughnessLTX+OppCtrl | AbilityCount$ X SVar:X:TriggeredExploited$CardToughness AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/profaner_of_the_dead.jpg diff --git a/forge-gui/res/cardsfolder/p/prohibit.txt b/forge-gui/res/cardsfolder/p/prohibit.txt index f1ba0333b86..1ec0bf66936 100644 --- a/forge-gui/res/cardsfolder/p/prohibit.txt +++ b/forge-gui/res/cardsfolder/p/prohibit.txt @@ -2,7 +2,7 @@ Name:Prohibit ManaCost:1 U Types:Instant K:Kicker:2 -A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX | References$ X,Y | SpellDescription$ Counter target spell if its converted mana cost is 2 or less. If this spell was kicked, counter that spell if its converted mana cost is 4 or less instead. +A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX,Y | SpellDescription$ Counter target spell if its converted mana cost is 2 or less. If this spell was kicked, counter that spell if its converted mana cost is 4 or less instead. SVar:X:Count$Kicked.4.2 SVar:Y:Targeted$CardManaCost AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/p/promise_of_bunrei.txt b/forge-gui/res/cardsfolder/p/promise_of_bunrei.txt index d8b43638c7a..4b42d464612 100644 --- a/forge-gui/res/cardsfolder/p/promise_of_bunrei.txt +++ b/forge-gui/res/cardsfolder/p/promise_of_bunrei.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Enchantment T:Mode$ ChangesZone | ValidCard$ Creature.YouCtrl | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigSac | TriggerZones$ Battlefield | TriggerDescription$ When a creature you control dies, sacrifice CARDNAME. If you do, create four 1/1 colorless Spirit creature tokens. SVar:TrigSac:DB$ SacrificeAll | ValidCards$ Card.Self | RememberSacrificed$ True | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ 4 | TokenScript$ c_1_1_spirit | TokenOwner$ You | LegacyImage$ c 1 1 spirit sok | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup | References$ X +SVar:DBToken:DB$ Token | TokenAmount$ 4 | TokenScript$ c_1_1_spirit | TokenOwner$ You | LegacyImage$ c 1 1 spirit sok | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/promise_of_bunrei.jpg diff --git a/forge-gui/res/cardsfolder/p/promise_of_power.txt b/forge-gui/res/cardsfolder/p/promise_of_power.txt index 01c4ea2a9ec..a523b333e51 100644 --- a/forge-gui/res/cardsfolder/p/promise_of_power.txt +++ b/forge-gui/res/cardsfolder/p/promise_of_power.txt @@ -5,7 +5,7 @@ K:Entwine:4 A:SP$ Charm | Cost$ 2 B B B | Choices$ DBDraw,DBToken | CharmNum$ 1 SVar:DBDraw:DB$ Draw | NumCards$ 5 | SpellDescription$ You draw five cards and you lose 5 life. | SubAbility$ DBLoseLife SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 5 -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ b_x_x_demon_flying | TokenOwner$ You | LegacyImage$ b x x demon flying mrd | TokenPower$ X | TokenToughness$ X | References$ X | SpellDescription$ Create an X/X black Demon creature token with flying, where X is the number of cards in your hand. +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ b_x_x_demon_flying | TokenOwner$ You | LegacyImage$ b x x demon flying mrd | TokenPower$ X | TokenToughness$ X | SpellDescription$ Create an X/X black Demon creature token with flying, where X is the number of cards in your hand. SVar:X:Count$NumCardsInYourHand AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/promise_of_power.jpg diff --git a/forge-gui/res/cardsfolder/p/proper_burial.txt b/forge-gui/res/cardsfolder/p/proper_burial.txt index f17ae1eb868..d62690f2774 100644 --- a/forge-gui/res/cardsfolder/p/proper_burial.txt +++ b/forge-gui/res/cardsfolder/p/proper_burial.txt @@ -2,7 +2,7 @@ Name:Proper Burial ManaCost:3 W Types:Enchantment T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigGain | TriggerDescription$ Whenever a creature you control dies, you gain life equal to that creature's toughness. -SVar:TrigGain:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggeredCard$CardToughness SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/proper_burial.jpg diff --git a/forge-gui/res/cardsfolder/p/prosperity.txt b/forge-gui/res/cardsfolder/p/prosperity.txt index 633d14cf599..80d7d5c5764 100644 --- a/forge-gui/res/cardsfolder/p/prosperity.txt +++ b/forge-gui/res/cardsfolder/p/prosperity.txt @@ -1,7 +1,7 @@ Name:Prosperity ManaCost:X U Types:Sorcery -A:SP$ Draw | Cost$ X U | Defined$ Player | NumCards$ X | References$ X | SpellDescription$ Each player draws X cards. +A:SP$ Draw | Cost$ X U | Defined$ Player | NumCards$ X | SpellDescription$ Each player draws X cards. SVar:X:Count$xPaid AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/prosperity.jpg diff --git a/forge-gui/res/cardsfolder/p/prossh_skyraider_of_kher.txt b/forge-gui/res/cardsfolder/p/prossh_skyraider_of_kher.txt index 7bd3c3aa3e3..98b0242f5f2 100644 --- a/forge-gui/res/cardsfolder/p/prossh_skyraider_of_kher.txt +++ b/forge-gui/res/cardsfolder/p/prossh_skyraider_of_kher.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Dragon PT:5/5 K:Flying T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When you cast CARDNAME, create X 0/1 red Kobold creature tokens named Kobolds of Kher Keep, where X is the amount of mana spent to cast CARDNAME. -SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ kobolds_of_kher_keep | TokenOwner$ You | LegacyImage$ kobolds of kher keep c13 | References$ X +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ kobolds_of_kher_keep | TokenOwner$ You | LegacyImage$ kobolds of kher keep c13 SVar:X:Count$CastTotalManaSpent A:AB$ Pump | Cost$ Sac<1/Creature.Other/another creature> | Defined$ Self | NumAtt$ 1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn. DeckHas:Ability$Sacrifice & Ability$Token diff --git a/forge-gui/res/cardsfolder/p/protean_hulk.txt b/forge-gui/res/cardsfolder/p/protean_hulk.txt index 694cea653a2..15d1443e202 100644 --- a/forge-gui/res/cardsfolder/p/protean_hulk.txt +++ b/forge-gui/res/cardsfolder/p/protean_hulk.txt @@ -3,7 +3,7 @@ ManaCost:5 G G Types:Creature Beast PT:6/6 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigChangeZone | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, search your library for any number of creature cards with total converted mana cost 6 or less and put them onto the battlefield. Then shuffle your library. -SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeNum$ X | WithTotalCMC$ 6 | ChangeType$ Creature.YouCtrl | Optional$ True | References$ X +SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeNum$ X | WithTotalCMC$ 6 | ChangeType$ Creature.YouCtrl | Optional$ True SVar:X:Count$ValidLibrary Creature.YouCtrl SVar:SacMe:4 SVar:Picture:http://www.wizards.com/global/images/magic/general/protean_hulk.jpg diff --git a/forge-gui/res/cardsfolder/p/protean_hydra.txt b/forge-gui/res/cardsfolder/p/protean_hydra.txt index 6706bcc64eb..90a87adf05e 100644 --- a/forge-gui/res/cardsfolder/p/protean_hydra.txt +++ b/forge-gui/res/cardsfolder/p/protean_hydra.txt @@ -5,7 +5,7 @@ PT:0/0 K:etbCounter:P1P1:X SVar:X:Count$xPaid R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ Counters | PreventionEffect$ True | Description$ If damage would be dealt to CARDNAME, prevent that damage and remove that many +1/+1 counters from it. -SVar:Counters:DB$ RemoveCounter | Defined$ ReplacedTarget | CounterType$ P1P1 | CounterNum$ Y | References$ Y +SVar:Counters:DB$ RemoveCounter | Defined$ ReplacedTarget | CounterType$ P1P1 | CounterNum$ Y SVar:Y:ReplaceCount$DamageAmount T:Mode$ CounterRemoved | ValidCard$ Card.Self | TriggerZones$ Battlefield | CounterType$ P1P1 | Execute$ ProteanPutCounter | TriggerDescription$ Whenever a +1/+1 counter is removed from CARDNAME, put two +1/+1 counters on it at the beginning of the next end step. SVar:ProteanPutCounter:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | Execute$ DBPutCounters | RememberObjects$ TriggeredCardLKICopy | TriggerDescription$ Put two +1/+1 counters on it at the beginning of the next end step. diff --git a/forge-gui/res/cardsfolder/p/protean_raider.txt b/forge-gui/res/cardsfolder/p/protean_raider.txt index 7f89dd84d7d..e26b8301b95 100644 --- a/forge-gui/res/cardsfolder/p/protean_raider.txt +++ b/forge-gui/res/cardsfolder/p/protean_raider.txt @@ -2,7 +2,7 @@ Name:Protean Raider ManaCost:1 U R Types:Creature Shapeshifter Pirate PT:2/2 -R:Event$ Moved | Destination$ Battlefield | ValidCard$ Card.Self | Layer$ Copy | Optional$ True | ReplaceWith$ DBCopy | CheckSVar$ RaidTest | References$ RaidTest | Description$ Raid — If you attacked this turn, you may have CARDNAME enter the battlefield as a copy of any creature on the battlefield. +R:Event$ Moved | Destination$ Battlefield | ValidCard$ Card.Self | Layer$ Copy | Optional$ True | ReplaceWith$ DBCopy | CheckSVar$ RaidTest | Description$ Raid — If you attacked this turn, you may have CARDNAME enter the battlefield as a copy of any creature on the battlefield. SVar:DBCopy:DB$ Clone | Choices$ Creature.Other | SubAbility$ DBChangeZone | SpellDescription$ Raid — If you attacked this turn, you may have CARDNAME enter the battlefield as a copy of any creature on the battlefield. SVar:DBChangeZone:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard SVar:RaidTest:Count$AttackersDeclared diff --git a/forge-gui/res/cardsfolder/p/prototype_portal.txt b/forge-gui/res/cardsfolder/p/prototype_portal.txt index 76cb36611b5..b2c59c34bff 100644 --- a/forge-gui/res/cardsfolder/p/prototype_portal.txt +++ b/forge-gui/res/cardsfolder/p/prototype_portal.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | OptionalDecider$ You | Execute$ TrigExile | TriggerDescription$ Imprint — When CARDNAME enters the battlefield, you may exile an artifact card from your hand. SVar:TrigExile:DB$ ChangeZone | Imprint$ True | Origin$ Hand | Destination$ Exile | ChangeType$ Artifact | ChangeNum$ 1 -A:AB$ CopyPermanent | Cost$ X T | Defined$ Imprinted.ExiledWithSource | References$ X | AILogic$ AtOppEOT | SpellDescription$ Create a token that's a copy of the exiled card. X is the converted mana cost of that card. +A:AB$ CopyPermanent | Cost$ X T | Defined$ Imprinted.ExiledWithSource | AILogic$ AtOppEOT | SpellDescription$ Create a token that's a copy of the exiled card. X is the converted mana cost of that card. SVar:X:Imprinted$CardManaCost T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsImprinted+ExiledWithSource | Execute$ DBForget SVar:DBForget:DB$ Pump | ForgetImprinted$ TriggeredCard diff --git a/forge-gui/res/cardsfolder/p/psychic_allergy.txt b/forge-gui/res/cardsfolder/p/psychic_allergy.txt index 1a8f2b3935a..748f34723ba 100644 --- a/forge-gui/res/cardsfolder/p/psychic_allergy.txt +++ b/forge-gui/res/cardsfolder/p/psychic_allergy.txt @@ -4,7 +4,7 @@ Types:Enchantment K:ETBReplacement:Other:ChooseColor SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color. | AILogic$ MostProminentInHumanDeck T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigDamageOpp | TriggerDescription$ At the beginning of each opponent's upkeep, CARDNAME deals X damage to that player, where X is the number of nontoken permanents of the chosen color they control -SVar:TrigDamageOpp:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDamageOpp:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:Count$Valid Permanent.ActivePlayerCtrl+ChosenColor+nonToken T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDestroy | TriggerDescription$ At the beginning of your upkeep, destroy CARDNAME unless you sacrifice two Islands. SVar:TrigDestroy:DB$ Destroy | Defined$ Self | UnlessPayer$ You | UnlessCost$ Sac<2/Island> diff --git a/forge-gui/res/cardsfolder/p/psychic_drain.txt b/forge-gui/res/cardsfolder/p/psychic_drain.txt index dd03f876cfc..01b949f2e39 100644 --- a/forge-gui/res/cardsfolder/p/psychic_drain.txt +++ b/forge-gui/res/cardsfolder/p/psychic_drain.txt @@ -1,7 +1,7 @@ Name:Psychic Drain ManaCost:X U B Types:Sorcery -A:SP$ Mill | Cost$ X U B | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X | References$ X | SubAbility$ DBYouGainLife | SpellDescription$ Target player mills X cards and you gain X life. -SVar:DBYouGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +A:SP$ Mill | Cost$ X U B | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X | SubAbility$ DBYouGainLife | SpellDescription$ Target player mills X cards and you gain X life. +SVar:DBYouGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$xPaid Oracle:Target player mills X cards and you gain X life. diff --git a/forge-gui/res/cardsfolder/p/psychic_rebuttal.txt b/forge-gui/res/cardsfolder/p/psychic_rebuttal.txt index 07f3b660767..fc09bd2cd5e 100644 --- a/forge-gui/res/cardsfolder/p/psychic_rebuttal.txt +++ b/forge-gui/res/cardsfolder/p/psychic_rebuttal.txt @@ -2,7 +2,7 @@ Name:Psychic Rebuttal ManaCost:1 U Types:Instant A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | TargetValidTargeting$ You | TgtPrompt$ Select target spell that targets you | ValidTgts$ Instant,Sorcery | RememberCountered$ True | SubAbility$ DBCopy | SpellDescription$ Counter target instant or sorcery spell that targets you.Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, you may copy the spell countered this way. You may choose new targets for the copy. -SVar:DBCopy:DB$ CopySpellAbility | Defined$ Remembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X | MayChooseTarget$ True | SubAbility$ DBCleanup +SVar:DBCopy:DB$ CopySpellAbility | Defined$ Remembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | MayChooseTarget$ True | SubAbility$ DBCleanup SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True Oracle:Counter target instant or sorcery spell that targets you.\nSpell mastery — If there are two or more instant and/or sorcery cards in your graveyard, you may copy the spell countered this way. You may choose new targets for the copy. diff --git a/forge-gui/res/cardsfolder/p/psychic_spiral.txt b/forge-gui/res/cardsfolder/p/psychic_spiral.txt index 5f6fbd82846..c3deebfa31d 100644 --- a/forge-gui/res/cardsfolder/p/psychic_spiral.txt +++ b/forge-gui/res/cardsfolder/p/psychic_spiral.txt @@ -2,7 +2,7 @@ Name:Psychic Spiral ManaCost:4 U Types:Instant A:SP$ ChangeZoneAll | Cost$ 4 U | ChangeType$ Card.YouOwn | Origin$ Graveyard | Destination$ Library | Shuffle$ True | RememberChanged$ True | SubAbility$ DBMill | SpellDescription$ Shuffle all cards from your graveyard into your library. Target player mills that many cards. -SVar:DBMill:DB$ Mill | ValidTgts$ Player | TgtPrompt$ Select target player to mill | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:DBMill:DB$ Mill | ValidTgts$ Player | TgtPrompt$ Select target player to mill | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:NeedsToPlayVar:SpiralYet GE6 diff --git a/forge-gui/res/cardsfolder/p/psychic_transfer.txt b/forge-gui/res/cardsfolder/p/psychic_transfer.txt index 77cfddfc4ec..d7cbd6cc609 100644 --- a/forge-gui/res/cardsfolder/p/psychic_transfer.txt +++ b/forge-gui/res/cardsfolder/p/psychic_transfer.txt @@ -1,7 +1,7 @@ Name:Psychic Transfer ManaCost:4 U Types:Sorcery -A:SP$ ExchangeLife | Cost$ 4 U | ValidTgts$ Player | ConditionCheckSVar$ X | ConditionSVarCompare$ LE5 | References$ X,Y,Z | SpellDescription$ If the difference between your life total and target player's life total is 5 or less, exchange life totals with that player. +A:SP$ ExchangeLife | Cost$ 4 U | ValidTgts$ Player | ConditionCheckSVar$ X | ConditionSVarCompare$ LE5 | SpellDescription$ If the difference between your life total and target player's life total is 5 or less, exchange life totals with that player. SVar:X:SVar$Y/Abs SVar:Y:Count$YourLifeTotal/Minus.Z SVar:Z:Count$TargetedLifeTotal diff --git a/forge-gui/res/cardsfolder/p/psychosis_crawler.txt b/forge-gui/res/cardsfolder/p/psychosis_crawler.txt index 0eb9092349b..e705ac99bad 100644 --- a/forge-gui/res/cardsfolder/p/psychosis_crawler.txt +++ b/forge-gui/res/cardsfolder/p/psychosis_crawler.txt @@ -2,7 +2,7 @@ Name:Psychosis Crawler ManaCost:5 Types:Artifact Creature Horror PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. SVar:X:Count$InYourHand T:Mode$ Drawn | ValidCard$ Card.YouOwn | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever you draw a card, each opponent loses 1 life. SVar:TrigLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 1 diff --git a/forge-gui/res/cardsfolder/p/puffer_extract.txt b/forge-gui/res/cardsfolder/p/puffer_extract.txt index 2e09aa3eb5a..ffdd4ff2240 100644 --- a/forge-gui/res/cardsfolder/p/puffer_extract.txt +++ b/forge-gui/res/cardsfolder/p/puffer_extract.txt @@ -1,7 +1,7 @@ Name:Puffer Extract ManaCost:5 Types:Artifact -A:AB$ Pump | Cost$ X T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | AtEOT$ Destroy | SpellDescription$ Target creature you control gets +X/+X until end of turn. Destroy it at the beginning of the next end step. +A:AB$ Pump | Cost$ X T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | AtEOT$ Destroy | SpellDescription$ Target creature you control gets +X/+X until end of turn. Destroy it at the beginning of the next end step. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/puffer_extract.jpg Oracle:{X}, {T}: Target creature you control gets +X/+X until end of turn. Destroy it at the beginning of the next end step. diff --git a/forge-gui/res/cardsfolder/p/pull_from_tomorrow.txt b/forge-gui/res/cardsfolder/p/pull_from_tomorrow.txt index be54318abc0..6c9209e7346 100644 --- a/forge-gui/res/cardsfolder/p/pull_from_tomorrow.txt +++ b/forge-gui/res/cardsfolder/p/pull_from_tomorrow.txt @@ -1,7 +1,7 @@ Name:Pull from Tomorrow ManaCost:X U U Types:Instant -A:SP$ Draw | Cost$ X U U | NumCards$ X | References$ X | SpellDescription$ Draw X cards, then discard a card. | SubAbility$ DBDiscard +A:SP$ Draw | Cost$ X U U | NumCards$ X | SpellDescription$ Draw X cards, then discard a card. | SubAbility$ DBDiscard SVar:DBDiscard:DB$Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/pull_from_tomorrow.jpg diff --git a/forge-gui/res/cardsfolder/p/pulse_of_the_dross.txt b/forge-gui/res/cardsfolder/p/pulse_of_the_dross.txt index 4a6ce45c131..76814a51330 100644 --- a/forge-gui/res/cardsfolder/p/pulse_of_the_dross.txt +++ b/forge-gui/res/cardsfolder/p/pulse_of_the_dross.txt @@ -2,7 +2,7 @@ Name:Pulse of the Dross ManaCost:1 B B Types:Sorcery A:SP$ Discard | Cost$ 1 B B | ValidTgts$ Player | TgtPrompt$ Select target player | Mode$ RevealYouChoose | RevealNumber$ 3 | NumCards$ 1 | SubAbility$ ReturnDross | SpellDescription$ Target player reveals three cards from their hand and you choose one of them. That player discards that card. Then if that player has more cards in hand than you, return CARDNAME to its owner's hand. -SVar:ReturnDross:DB$ ChangeZone | ConditionCheckSVar$ X | ConditionSVarCompare$ GTY | Defined$ Self | Origin$ Stack | Destination$ Hand | References$ X,Y +SVar:ReturnDross:DB$ ChangeZone | ConditionCheckSVar$ X | ConditionSVarCompare$ GTY | Defined$ Self | Origin$ Stack | Destination$ Hand SVar:X:Count$InTargetedHand SVar:Y:Count$InYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/pulse_of_the_dross.jpg diff --git a/forge-gui/res/cardsfolder/p/pulse_of_the_fields.txt b/forge-gui/res/cardsfolder/p/pulse_of_the_fields.txt index 251fecc9694..7bcbddfacbc 100644 --- a/forge-gui/res/cardsfolder/p/pulse_of_the_fields.txt +++ b/forge-gui/res/cardsfolder/p/pulse_of_the_fields.txt @@ -2,7 +2,7 @@ Name:Pulse of the Fields ManaCost:1 W W Types:Instant A:SP$ GainLife | Cost$ 1 W W | Defined$ You | LifeAmount$ 4 | SubAbility$ TrigReturn | SpellDescription$ You gain 4 life. Then if an opponent has more life than you, return CARDNAME to its owner's hand. -SVar:TrigReturn:DB$ ChangeZone | ConditionLifeTotal$ You | ConditionLifeAmount$ LTX | References$ X | Defined$ Self | Origin$ Stack | Destination$ Hand | ConditionDescription$ If an opponent has more life than you, +SVar:TrigReturn:DB$ ChangeZone | ConditionLifeTotal$ You | ConditionLifeAmount$ LTX | Defined$ Self | Origin$ Stack | Destination$ Hand | ConditionDescription$ If an opponent has more life than you, SVar:X:PlayerCountOpponents$HighestLifeTotal SVar:Picture:http://www.wizards.com/global/images/magic/general/pulse_of_the_fields.jpg Oracle:You gain 4 life. Then if an opponent has more life than you, return Pulse of the Fields to its owner's hand. diff --git a/forge-gui/res/cardsfolder/p/pulse_of_the_forge.txt b/forge-gui/res/cardsfolder/p/pulse_of_the_forge.txt index b565e48fe66..b027cad06e8 100644 --- a/forge-gui/res/cardsfolder/p/pulse_of_the_forge.txt +++ b/forge-gui/res/cardsfolder/p/pulse_of_the_forge.txt @@ -2,7 +2,7 @@ Name:Pulse of the Forge ManaCost:1 R R Types:Instant A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ 4 | SubAbility$ ReheatTheForge | SpellDescription$ CARDNAME deals 4 damage to target player or planeswalker. Then if that player or that planeswalker's controller has more life than you, return CARDNAME to its owner's hand. -SVar:ReheatTheForge:DB$ ChangeZone | ConditionLifeTotal$ TargetedOrController | ConditionLifeAmount$ GTX | References$ X | Defined$ Self | Origin$ Stack | Destination$ Hand | ConditionDescription$ If that player or that planeswalker's controller has more life than you, +SVar:ReheatTheForge:DB$ ChangeZone | ConditionLifeTotal$ TargetedOrController | ConditionLifeAmount$ GTX | Defined$ Self | Origin$ Stack | Destination$ Hand | ConditionDescription$ If that player or that planeswalker's controller has more life than you, SVar:X:Count$YourLifeTotal SVar:Picture:http://www.wizards.com/global/images/magic/general/pulse_of_the_forge.jpg Oracle:Pulse of the Forge deals 4 damage to target player or planeswalker. Then if that player or that planeswalker's controller has more life than you, return Pulse of the Forge to its owner's hand. diff --git a/forge-gui/res/cardsfolder/p/pulse_of_the_grid.txt b/forge-gui/res/cardsfolder/p/pulse_of_the_grid.txt index 4b6ac6528c6..f9366b57641 100644 --- a/forge-gui/res/cardsfolder/p/pulse_of_the_grid.txt +++ b/forge-gui/res/cardsfolder/p/pulse_of_the_grid.txt @@ -3,7 +3,7 @@ ManaCost:1 U U Types:Instant A:SP$ Draw | Cost$ 1 U U | NumCards$ 2 | SubAbility$ DBDiscard | SpellDescription$ Draw two cards, then discard a card. Then if an opponent has more cards in hand than you, return CARDNAME to its owner's hand. SVar:DBDiscard:DB$Discard | NumCards$ 1 | Mode$ TgtChoose | SubAbility$ TrigReturn -SVar:TrigReturn:DB$ ChangeZone | Defined$ Self | Origin$ Stack | Destination$ Hand | ConditionCheckSVar$ X | ConditionSVarCompare$ GTY | References$ X,Y +SVar:TrigReturn:DB$ ChangeZone | Defined$ Self | Origin$ Stack | Destination$ Hand | ConditionCheckSVar$ X | ConditionSVarCompare$ GTY SVar:Y:Count$CardsInYourHand SVar:X:PlayerCountOpponents$HighestCardsInHand SVar:Picture:http://www.wizards.com/global/images/magic/general/pulse_of_the_grid.jpg diff --git a/forge-gui/res/cardsfolder/p/pulse_of_the_tangle.txt b/forge-gui/res/cardsfolder/p/pulse_of_the_tangle.txt index b6f9aac3cb1..eabbd195e81 100644 --- a/forge-gui/res/cardsfolder/p/pulse_of_the_tangle.txt +++ b/forge-gui/res/cardsfolder/p/pulse_of_the_tangle.txt @@ -2,7 +2,7 @@ Name:Pulse of the Tangle ManaCost:1 G G Types:Sorcery A:SP$ Token | Cost$ 1 G G | TokenAmount$ 1 | TokenScript$ g_3_3_beast | TokenOwner$ You | LegacyImage$ g 3 3 beast dst | SubAbility$ DBBounce | SpellDescription$ Create a 3/3 green Beast creature token. Then if an opponent controls more creatures than you, return CARDNAME to its owner's hand. -SVar:DBBounce:DB$ChangeZone | Origin$ Stack | Destination$ Hand | ConditionPresent$ Creature.OppCtrl | ConditionCompare$ GTX | References$ X +SVar:DBBounce:DB$ChangeZone | Origin$ Stack | Destination$ Hand | ConditionPresent$ Creature.OppCtrl | ConditionCompare$ GTX SVar:X:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/pulse_of_the_tangle.jpg Oracle:Create a 3/3 green Beast creature token. Then if an opponent controls more creatures than you, return Pulse of the Tangle to its owner's hand. diff --git a/forge-gui/res/cardsfolder/p/pure_reflection.txt b/forge-gui/res/cardsfolder/p/pure_reflection.txt index 1ebb9fcca88..aa48831886b 100644 --- a/forge-gui/res/cardsfolder/p/pure_reflection.txt +++ b/forge-gui/res/cardsfolder/p/pure_reflection.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Enchantment T:Mode$ SpellCast | ValidCard$ Creature | Execute$ TrigDestroy | ValidActivatingPlayer$ Player | TriggerZones$ Battlefield | TriggerDescription$ Whenever a player casts a creature spell, destroy all Reflections. Then that player creates an X/X white Reflection creature token, where X is the converted mana cost of that spell. SVar:TrigDestroy:DB$ DestroyAll | ValidCards$ Reflection | SubAbility$ DBToken | SpellDescription$ Destroy all Reflections -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenPower$ X | TokenToughness$ X | References$ X | TokenScript$ w_x_x_reflection | TokenOwner$ TriggeredActivator | LegacyImage$ w x x reflection inv +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenPower$ X | TokenToughness$ X | TokenScript$ w_x_x_reflection | TokenOwner$ TriggeredActivator | LegacyImage$ w x x reflection inv SVar:X:TriggeredCard$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/pure_reflection.jpg Oracle:Whenever a player casts a creature spell, destroy all Reflections. Then that player creates an X/X white Reflection creature token, where X is the converted mana cost of that spell. diff --git a/forge-gui/res/cardsfolder/p/purity.txt b/forge-gui/res/cardsfolder/p/purity.txt index e52f69bcf78..f8c3db8ccc3 100644 --- a/forge-gui/res/cardsfolder/p/purity.txt +++ b/forge-gui/res/cardsfolder/p/purity.txt @@ -4,7 +4,7 @@ Types:Creature Elemental Incarnation PT:6/6 K:Flying R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ You | ReplaceWith$ GainLife | PreventionEffect$ True | IsCombat$ False | Description$ If noncombat damage would be dealt to you, prevent that damage. You gain life equal to the damage prevented this way. -SVar:GainLife:DB$ GainLife | Defined$ ReplacedTarget | LifeAmount$ X | References$ X +SVar:GainLife:DB$ GainLife | Defined$ ReplacedTarget | LifeAmount$ X SVar:X:ReplaceCount$DamageAmount T:Mode$ ChangesZone | Origin$ Any | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigShuffle | TriggerDescription$ When CARDNAME is put into a graveyard from anywhere, shuffle it into its owner's library. SVar:TrigShuffle:DB$ ChangeZone | Origin$ Graveyard | Destination$ Library | Shuffle$ True | Defined$ TriggeredCardLKICopy diff --git a/forge-gui/res/cardsfolder/p/purphoros_bronze_blooded.txt b/forge-gui/res/cardsfolder/p/purphoros_bronze_blooded.txt index 3ccbc1b3194..6c878c58521 100644 --- a/forge-gui/res/cardsfolder/p/purphoros_bronze_blooded.txt +++ b/forge-gui/res/cardsfolder/p/purphoros_bronze_blooded.txt @@ -3,7 +3,7 @@ ManaCost:4 R Types:Legendary Enchantment Creature God PT:7/6 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | References$ X | Description$ As long as your devotion to red is less than five, CARDNAME is not a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | Description$ As long as your devotion to red is less than five, CARDNAME is not a creature. SVar:X:Count$Devotion.Red SVar:BuffedBy:Permanent.Red S:Mode$ Continuous | Affected$ Creature.YouCtrl+Other | AddKeyword$ Haste | Description$ Other creatures you control have haste. diff --git a/forge-gui/res/cardsfolder/p/purphoros_god_of_the_forge.txt b/forge-gui/res/cardsfolder/p/purphoros_god_of_the_forge.txt index 28782379145..c194eee2b63 100644 --- a/forge-gui/res/cardsfolder/p/purphoros_god_of_the_forge.txt +++ b/forge-gui/res/cardsfolder/p/purphoros_god_of_the_forge.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Legendary Enchantment Creature God PT:6/5 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | References$ X | Description$ As long as your devotion to red is less than 5, CARDNAME isn't a creature. (Each {R} in the mana costs of permanents you control counts towards your devotion to red.) +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | Description$ As long as your devotion to red is less than 5, CARDNAME isn't a creature. (Each {R} in the mana costs of permanents you control counts towards your devotion to red.) SVar:X:Count$Devotion.Red T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDmg | TriggerDescription$ Whenever another creature enters the battlefield under your control, CARDNAME deals 2 damage to each opponent. SVar:TrigDmg:DB$ DealDamage | Defined$ Player.Opponent | NumDmg$ 2 diff --git a/forge-gui/res/cardsfolder/p/purphoross_intervention.txt b/forge-gui/res/cardsfolder/p/purphoross_intervention.txt index 30c80e094f3..19c6be6eb11 100644 --- a/forge-gui/res/cardsfolder/p/purphoross_intervention.txt +++ b/forge-gui/res/cardsfolder/p/purphoross_intervention.txt @@ -1,11 +1,11 @@ Name:Purphoros's Intervention ManaCost:X R Types:Sorcery -A:SP$ Charm | Cost$ X R | Choices$ DBToken,DBDealDamage | References$ X -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ r_x_1_elemental_trample_haste | TokenOwner$ You | TokenPower$ X | References$ X | LegacyImage$ r x 1 elemental trample haste thb | RememberTokens$ True | SubAbility$ DBPump | SpellDescription$ Create an X/1 red Elemental creature token with trample and haste. Sacrifice it at the beginning of the next end step. +A:SP$ Charm | Cost$ X R | Choices$ DBToken,DBDealDamage +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ r_x_1_elemental_trample_haste | TokenOwner$ You | TokenPower$ X | LegacyImage$ r x 1 elemental trample haste thb | RememberTokens$ True | SubAbility$ DBPump | SpellDescription$ Create an X/1 red Elemental creature token with trample and haste. Sacrifice it at the beginning of the next end step. SVar:DBPump:DB$ Pump | Defined$ Remembered | AtEOT$ Sacrifice | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ XX | References$ X,XX | SpellDescription$ CARDNAME deals twice X damage to target creature or planeswalker. +SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ XX | SpellDescription$ CARDNAME deals twice X damage to target creature or planeswalker. SVar:X:Count$xPaid SVar:XX:SVar$X/Twice DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/p/putrid_cyclops.txt b/forge-gui/res/cardsfolder/p/putrid_cyclops.txt index beaafdbfb0b..9046fc6ea09 100644 --- a/forge-gui/res/cardsfolder/p/putrid_cyclops.txt +++ b/forge-gui/res/cardsfolder/p/putrid_cyclops.txt @@ -5,7 +5,7 @@ PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSrcy | TriggerDescription$ When CARDNAME enters the battlefield, scry 1, then reveal the top card of your library. Putrid Cyclops gets -X/-X until end of turn, where X is that card's converted mana cost. (To scry 1, look at the top card of your library, then you may put that card on the bottom of your library.) SVar:TrigSrcy:DB$ Scry | ScryNum$ 1 | SubAbility$ DBReveal SVar:DBReveal:DB$ Dig | DigNum$ 1 | Reveal$ True | DestinationZone$ Library | LibraryPosition$ 0 | SubAbility$ DBPump -SVar:DBPump:DB$ Pump | Defined$ TriggeredCard | NumAtt$ -X | NumDef$ -X | References$ X +SVar:DBPump:DB$ Pump | Defined$ TriggeredCard | NumAtt$ -X | NumDef$ -X SVar:X:Count$TopOfLibraryCMC AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/putrid_cyclops.jpg diff --git a/forge-gui/res/cardsfolder/p/pygmy_hippo.txt b/forge-gui/res/cardsfolder/p/pygmy_hippo.txt index c08e5a734df..7b7f8592522 100644 --- a/forge-gui/res/cardsfolder/p/pygmy_hippo.txt +++ b/forge-gui/res/cardsfolder/p/pygmy_hippo.txt @@ -7,7 +7,7 @@ SVar:TrigActivateManaAbility:DB$ ActivateAbility | Defined$ DefendingPlayer | Ty SVar:DBEmptyPool:DB$ DrainMana | Defined$ DefendingPlayer | SubAbility$ DBPump | RememberDrainedMana$ True SVar:DBPump:DB$ Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage | SubAbility$ DBDelTrig SVar:DBDelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ Main2 | Execute$ TrigAddMana | TriggerDescription$ At the beginning of your postcombat main phase, you add an amount of {C} equal to the amount of mana the defending player lost this way | SubAbility$ DBCleanup | RememberNumber$ True -SVar:TrigAddMana:DB$ Mana | Produced$ C | Amount$ X | References$ X +SVar:TrigAddMana:DB$ Mana | Produced$ C | Amount$ X SVar:X:Count$TriggerRememberAmount SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/p/pygmy_kavu.txt b/forge-gui/res/cardsfolder/p/pygmy_kavu.txt index 59ed20440c5..0c528f46cdb 100644 --- a/forge-gui/res/cardsfolder/p/pygmy_kavu.txt +++ b/forge-gui/res/cardsfolder/p/pygmy_kavu.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Creature Kavu PT:1/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card for each black creature your opponents control. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X SVar:X:Count$Valid Creature.Black+OppCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/pygmy_kavu.jpg diff --git a/forge-gui/res/cardsfolder/p/pyramid_of_the_pantheon.txt b/forge-gui/res/cardsfolder/p/pyramid_of_the_pantheon.txt index fde08eb0048..ea527471276 100644 --- a/forge-gui/res/cardsfolder/p/pyramid_of_the_pantheon.txt +++ b/forge-gui/res/cardsfolder/p/pyramid_of_the_pantheon.txt @@ -3,7 +3,7 @@ ManaCost:1 Types:Artifact A:AB$ Mana | Cost$ 2 T | Produced$ Any | SubAbility$ DBPutCounter | SpellDescription$ Add one mana of any color. Put a brick counter on CARDNAME. SVar:DBPutCounter:DB$PutCounter | Defined$ Self | CounterType$ BRICK | CounterNum$ 1 -A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 3 | CheckSVar$ X | SVarCompare$ GE3 | References$ X | SpellDescription$ Add three mana of any one color. Activate this ability only if there are three or more brick counters on CARDNAME. +A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 3 | CheckSVar$ X | SVarCompare$ GE3 | SpellDescription$ Add three mana of any one color. Activate this ability only if there are three or more brick counters on CARDNAME. SVar:X:Count$CardCounters.BRICK SVar:Picture:http://www.wizards.com/global/images/magic/general/pyramid_of_the_pantheon.jpg Oracle:{2}, {T}: Add one mana of any color. Put a brick counter on Pyramid of the Pantheon.\n{T}: Add three mana of any one color. Activate this ability only if there are three or more brick counters on Pyramid of the Pantheon. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/p/pyre_of_heroes.txt b/forge-gui/res/cardsfolder/p/pyre_of_heroes.txt index c8ee0ff8a87..dd2df5cc823 100644 --- a/forge-gui/res/cardsfolder/p/pyre_of_heroes.txt +++ b/forge-gui/res/cardsfolder/p/pyre_of_heroes.txt @@ -1,7 +1,7 @@ Name:Pyre of Heroes ManaCost:2 Types:Artifact -A:AB$ ChangeZone | Cost$ 2 T Sac<1/Creature> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcEQX+sharesCreatureTypeWith Sacrificed | References$ X | ChangeNum$ 1 | SorcerySpeed$ True | AILogic$ SacAndUpgrade | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card that shares a creature type with the sacrificed creature and has converted mana cost equal to 1 plus that creature's converted mana cost. Put that card onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery. +A:AB$ ChangeZone | Cost$ 2 T Sac<1/Creature> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcEQX+sharesCreatureTypeWith Sacrificed | ChangeNum$ 1 | SorcerySpeed$ True | AILogic$ SacAndUpgrade | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card that shares a creature type with the sacrificed creature and has converted mana cost equal to 1 plus that creature's converted mana cost. Put that card onto the battlefield, then shuffle your library. Activate this ability only any time you could cast a sorcery. SVar:X:Sacrificed$CardManaCost/Plus.1 SVar:AIPreference:SacCost$Creature DeckHas:Ability$Sacrifice diff --git a/forge-gui/res/cardsfolder/p/pyroblast.txt b/forge-gui/res/cardsfolder/p/pyroblast.txt index 01e646fc70d..81649c2fe0b 100644 --- a/forge-gui/res/cardsfolder/p/pyroblast.txt +++ b/forge-gui/res/cardsfolder/p/pyroblast.txt @@ -2,7 +2,7 @@ Name:Pyroblast ManaCost:R Types:Instant A:SP$ Charm | Cost$ R | Choices$ DBCounter,DBDestroy | CharmNum$ 1 -SVar:DBCounter:DB$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | AITgts$ Card.Blue | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SpellDescription$ Counter target spell if it's blue. +SVar:DBCounter:DB$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | AITgts$ Card.Blue | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SpellDescription$ Counter target spell if it's blue. SVar:DBDestroy:DB$ Destroy | ValidTgts$ Permanent | AITgts$ Card.Blue | TgtPrompt$ Select target permanent | ConditionDefined$ Targeted | ConditionPresent$ Card.Blue | ConditionCompare$ GE1 | SpellDescription$ Destroy target permanent if it's blue. SVar:X:Targeted$Valid Card.Blue AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/p/pyromancers_gauntlet.txt b/forge-gui/res/cardsfolder/p/pyromancers_gauntlet.txt index f14ed8881f9..3b288a27e2e 100644 --- a/forge-gui/res/cardsfolder/p/pyromancers_gauntlet.txt +++ b/forge-gui/res/cardsfolder/p/pyromancers_gauntlet.txt @@ -2,7 +2,7 @@ Name:Pyromancer's Gauntlet ManaCost:5 Types:Artifact R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Instant.YouCtrl+Red,Sorcery.YouCtrl+Red,Planeswalker.YouCtrl+Red | ValidTarget$ Permanent,Player | ReplaceWith$ DmgPlus2 | Description$ If a red instant or sorcery spell you control or a red planeswalker you control would deal damage to a permanent or player, it deals that much damage plus 2 to that permanent or player instead. -SVar:DmgPlus2:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgPlus2:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Plus.2 AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/pyromancers_gauntlet.jpg diff --git a/forge-gui/res/cardsfolder/p/pyromancers_swath.txt b/forge-gui/res/cardsfolder/p/pyromancers_swath.txt index 9b806cafc5c..d8b76d270e1 100644 --- a/forge-gui/res/cardsfolder/p/pyromancers_swath.txt +++ b/forge-gui/res/cardsfolder/p/pyromancers_swath.txt @@ -2,7 +2,7 @@ Name:Pyromancer's Swath ManaCost:2 R Types:Enchantment R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Instant.YouCtrl,Sorcery.YouCtrl | ValidTarget$ Permanent,Player | ReplaceWith$ DmgPlus2 | Description$ If an instant or sorcery source you control would deal damage to a permanent or player, it deals that much damage plus 2 to that permanent or player instead. -SVar:DmgPlus2:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgPlus2:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Plus.2 T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ At the beginning of each end step, discard your hand. SVar:TrigDiscard:DB$Discard | Mode$ Hand diff --git a/forge-gui/res/cardsfolder/p/pyromancy.txt b/forge-gui/res/cardsfolder/p/pyromancy.txt index ad6069814ea..93e298317d3 100644 --- a/forge-gui/res/cardsfolder/p/pyromancy.txt +++ b/forge-gui/res/cardsfolder/p/pyromancy.txt @@ -1,7 +1,7 @@ Name:Pyromancy ManaCost:2 R R Types:Enchantment -A:AB$ DealDamage | Cost$ 3 Discard<1/Random> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to any target equal to the converted mana cost of the discarded card. +A:AB$ DealDamage | Cost$ 3 Discard<1/Random> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage to any target equal to the converted mana cost of the discarded card. SVar:X:Discarded$CardManaCost AI:RemoveDeck:All SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/q/qasali_ambusher.txt b/forge-gui/res/cardsfolder/q/qasali_ambusher.txt index 293c760ce83..36ff5381dde 100644 --- a/forge-gui/res/cardsfolder/q/qasali_ambusher.txt +++ b/forge-gui/res/cardsfolder/q/qasali_ambusher.txt @@ -3,7 +3,7 @@ ManaCost:1 G W Types:Creature Cat Warrior PT:2/3 K:Reach -S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | CheckSVar$ X | CheckSecondSVar$ Y | CheckThirdSVar$ Z | References$ X,Y,Z | MayPlay$ True | MayPlayWithoutManaCost$ True | MayPlayWithFlash$ True | MayPlayDontGrantZonePermissions$ True | Description$ If a creature is attacking you and you control a Forest and a Plains, you may cast CARDNAME without paying its mana cost and as though it had flash. +S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | CheckSVar$ X | CheckSecondSVar$ Y | CheckThirdSVar$ Z | MayPlay$ True | MayPlayWithoutManaCost$ True | MayPlayWithFlash$ True | MayPlayDontGrantZonePermissions$ True | Description$ If a creature is attacking you and you control a Forest and a Plains, you may cast CARDNAME without paying its mana cost and as though it had flash. SVar:X:Count$Valid Creature.attackingYou SVar:Y:Count$Valid Forest.YouCtrl SVar:Z:Count$Valid Plains.YouCtrl diff --git a/forge-gui/res/cardsfolder/q/quag_sickness.txt b/forge-gui/res/cardsfolder/q/quag_sickness.txt index ea1077c56b4..9dc8ef0cd96 100644 --- a/forge-gui/res/cardsfolder/q/quag_sickness.txt +++ b/forge-gui/res/cardsfolder/q/quag_sickness.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 2 B | ValidTgts$ Creature | AILogic$ Curse -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | AddToughness$ -X | References$ X | Description$ Enchanted creature gets -1/-1 for each Swamp you control. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | AddToughness$ -X | Description$ Enchanted creature gets -1/-1 for each Swamp you control. SVar:X:Count$Valid Swamp.YouCtrl SVar:BuffedBy:Swamp SVar:Picture:http://www.wizards.com/global/images/magic/general/quag_sickness.jpg diff --git a/forge-gui/res/cardsfolder/q/quarantine_field.txt b/forge-gui/res/cardsfolder/q/quarantine_field.txt index be0fdb7d902..a861c46131c 100644 --- a/forge-gui/res/cardsfolder/q/quarantine_field.txt +++ b/forge-gui/res/cardsfolder/q/quarantine_field.txt @@ -4,7 +4,7 @@ Types:Enchantment K:etbCounter:ISOLATION:X SVar:X:Count$xPaid T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, for each isolation counter on it, exile up to one target nonland permanent an opponent controls until CARDNAME leaves the battlefield. -SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Permanent.nonLand+OppCtrl | TargetMin$ 0 | TargetMax$ Y | References$ Y | TgtPrompt$ Select target nonland permanent an opponent controls | ConditionPresent$ Card.Self | SubAbility$ DBEffect +SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Permanent.nonLand+OppCtrl | TargetMin$ 0 | TargetMax$ Y | TgtPrompt$ Select target nonland permanent an opponent controls | ConditionPresent$ Card.Self | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | Triggers$ ComeBack | RememberObjects$ Targeted | ImprintCards$ Self | SVars$ TrigReturn,ExileSelf | ConditionPresent$ Card.Self | Duration$ Permanent | ForgetOnMoved$ Exile SVar:ComeBack:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsImprinted | Execute$ TrigReturn | TriggerZones$ Command | TriggerController$ TriggeredCardController | Static$ True | TriggerDescription$ That permanent is exiled until EFFECTSOURCE leaves the battlefield. SVar:TrigReturn:DB$ ChangeZoneAll | Origin$ Exile | Destination$ Battlefield | ChangeType$ Card.IsRemembered | SubAbility$ ExileSelf diff --git a/forge-gui/res/cardsfolder/q/quarry_colossus.txt b/forge-gui/res/cardsfolder/q/quarry_colossus.txt index fc7f33a0c2d..75ad2d64b25 100644 --- a/forge-gui/res/cardsfolder/q/quarry_colossus.txt +++ b/forge-gui/res/cardsfolder/q/quarry_colossus.txt @@ -3,7 +3,7 @@ ManaCost:5 W W Types:Creature Giant PT:5/6 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, put target creature into its owner's library just beneath the top X cards of that library, where X is the number of Plains you control. -SVar:TrigChangeZone:DB$ ChangeZone | ValidTgts$ Creature | Origin$ Battlefield | Destination$ Library | LibraryPosition$ X | References$ X | SpellDescription$ Put target nonland permanent into its owner's library just beneath the top X cards of that library. +SVar:TrigChangeZone:DB$ ChangeZone | ValidTgts$ Creature | Origin$ Battlefield | Destination$ Library | LibraryPosition$ X | SpellDescription$ Put target nonland permanent into its owner's library just beneath the top X cards of that library. SVar:X:Count$Valid Plains.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/quarry_colossus.jpg Oracle:When Quarry Colossus enters the battlefield, put target creature into its owner's library just beneath the top X cards of that library, where X is the number of Plains you control. diff --git a/forge-gui/res/cardsfolder/q/quartzwood_crasher.txt b/forge-gui/res/cardsfolder/q/quartzwood_crasher.txt index 32c44e72d8f..63b671ce24a 100755 --- a/forge-gui/res/cardsfolder/q/quartzwood_crasher.txt +++ b/forge-gui/res/cardsfolder/q/quartzwood_crasher.txt @@ -4,7 +4,7 @@ Types:Creature Dinosaur Beast PT:6/6 K:Trample T:Mode$ DamageDoneOnce | CombatDamage$ True | ValidSource$ Creature.YouCtrl+withTrample | TriggerZones$ Battlefield | ValidTarget$ Player | Execute$ DBToken | TriggerDescription$ Whenever one or more creatures you control with trample deal combat damage to a player, create an X/X green Dinosaur Beast creature token with trample, where X is the amount of damage those creatures dealt to that player. -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenOwner$ You | TokenScript$ g_x_x_dinosaur_beast_trample | TokenPower$ X | TokenToughness$ X | References$ X | TokenOwner$ You | LegacyImage$ g x x dinosaur beast trample iko +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenOwner$ You | TokenScript$ g_x_x_dinosaur_beast_trample | TokenPower$ X | TokenToughness$ X | TokenOwner$ You | LegacyImage$ g x x dinosaur beast trample iko SVar:X:TriggerCount$DamageAmount DeckHas:Ability$Token Oracle:Trample\nWhenever one or more creatures you control with trample deal combat damage to a player, create an X/X green Dinosaur Beast creature token with trample, where X is the amount of damage those creatures dealt to that player. diff --git a/forge-gui/res/cardsfolder/q/quash.txt b/forge-gui/res/cardsfolder/q/quash.txt index a9f8115bad9..ecacbca610e 100644 --- a/forge-gui/res/cardsfolder/q/quash.txt +++ b/forge-gui/res/cardsfolder/q/quash.txt @@ -3,8 +3,8 @@ ManaCost:2 U U Types:Instant A:SP$ Counter | Cost$ 2 U U | TargetType$ Spell | ValidTgts$ Instant,Sorcery | RememberCountered$ True | ForgetOtherTargets$ True | SubAbility$ ExileYard | SpellDescription$ Counter target instant or sorcery spell. Search its controller's graveyard, hand, and library for all cards with the same name as that spell and exile them. Then that player shuffles their library. SVar:ExileYard:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Exile | Defined$ TargetedController | ChangeType$ Remembered.sameName | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | References$ NumInHand | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | References$ NumInLib | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:NumInHand:TargetedController$CardsInHand SVar:NumInLib:TargetedController$CardsInLibrary SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/q/quest_for_pure_flame.txt b/forge-gui/res/cardsfolder/q/quest_for_pure_flame.txt index 19569b22dc4..1edf34f5900 100644 --- a/forge-gui/res/cardsfolder/q/quest_for_pure_flame.txt +++ b/forge-gui/res/cardsfolder/q/quest_for_pure_flame.txt @@ -3,9 +3,9 @@ ManaCost:R Types:Enchantment T:Mode$ DamageDone | ValidSource$ Card.YouCtrl | ValidTarget$ Opponent | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ Whenever a source you control deals damage to an opponent, you may put a quest counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ QUEST | CounterNum$ 1 -A:AB$ Effect | Name$ Pure Flame Effect | Cost$ SubCounter<4/QUEST> Sac<1/CARDNAME> | ReplacementEffects$ DamageEvent | SVars$ DmgTwice,X | References$ DamageEvent,DmgTwice,X | SpellDescription$ If any source you control would deal damage to a permanent or player this turn, it deals double that damage to that permanent or player instead. +A:AB$ Effect | Name$ Pure Flame Effect | Cost$ SubCounter<4/QUEST> Sac<1/CARDNAME> | ReplacementEffects$ DamageEvent | SVars$ DmgTwice,XamageEvent,DmgTwice,X | SpellDescription$ If any source you control would deal damage to a permanent or player this turn, it deals double that damage to that permanent or player instead. SVar:DamageEvent:Event$ DamageDone | ValidSource$ Card.YouCtrl,Emblem.YouCtrl | ValidTarget$ Permanent,Player | ReplaceWith$ DmgTwice | Description$ If any source you control would deal damage to a permanent or player this turn, it deals double that damage to that permanent or player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice SVar:PlayMain1:TRUE AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/q/questing_beast.txt b/forge-gui/res/cardsfolder/q/questing_beast.txt index 5b44b3a7498..7798cb5b444 100644 --- a/forge-gui/res/cardsfolder/q/questing_beast.txt +++ b/forge-gui/res/cardsfolder/q/questing_beast.txt @@ -8,6 +8,6 @@ K:Haste K:CantBeBlockedBy Creature.powerLE2 S:Mode$ CantPreventDamage | IsCombat$ True | ValidSource$ Creature.YouCtrl | Description$ Combat damage that would be dealt by creatures you control can't be prevented. T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | CombatDamage$ True | TriggerZones$ Battlefield | Execute$ MoreDamage | TriggerDescription$ Whenever CARDNAME deals combat damage to an opponent, it deals that much damage to target planeswalker that player controls. -SVar:MoreDamage:DB$ DealDamage | ValidTgts$ Planeswalker.ControlledBy TriggeredTarget | TgtPrompt$ Select target planeswalker that player controls | NumDmg$ X | References$ X +SVar:MoreDamage:DB$ DealDamage | ValidTgts$ Planeswalker.ControlledBy TriggeredTarget | TgtPrompt$ Select target planeswalker that player controls | NumDmg$ X SVar:X:TriggerCount$DamageAmount Oracle:Vigilance, deathtouch, haste\nQuesting Beast can't be blocked by creatures with power 2 or less.\nCombat damage that would be dealt by creatures you control can't be prevented.\nWhenever Questing Beast deals combat damage to an opponent, it deals that much damage to target planeswalker that player controls. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/q/quietus_spike.txt b/forge-gui/res/cardsfolder/q/quietus_spike.txt index 71165dc665e..303e47755f7 100644 --- a/forge-gui/res/cardsfolder/q/quietus_spike.txt +++ b/forge-gui/res/cardsfolder/q/quietus_spike.txt @@ -4,7 +4,7 @@ Types:Artifact Equipment K:Equip:3 S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddKeyword$ Deathtouch | Description$ Equipped creature has deathtouch. T:Mode$ DamageDone | ValidSource$ Creature.EquippedBy | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigLoseLifeOpp | TriggerDescription$ Whenever equipped creature deals combat damage to a player, that player loses half their life, rounded up. -SVar:TrigLoseLifeOpp:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ QuietusX | References$ QuietusX +SVar:TrigLoseLifeOpp:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ QuietusX SVar:QuietusX:TriggeredTarget$LifeTotal/HalfUp SVar:Picture:http://www.wizards.com/global/images/magic/general/quietus_spike.jpg Oracle:Equipped creature has deathtouch.\nWhenever equipped creature deals combat damage to a player, that player loses half their life, rounded up.\nEquip {3} diff --git a/forge-gui/res/cardsfolder/q/quillmane_baku.txt b/forge-gui/res/cardsfolder/q/quillmane_baku.txt index 3f9a9f7e786..52a98005384 100644 --- a/forge-gui/res/cardsfolder/q/quillmane_baku.txt +++ b/forge-gui/res/cardsfolder/q/quillmane_baku.txt @@ -4,7 +4,7 @@ Types:Creature Spirit PT:3/3 T:Mode$ SpellCast | ValidCard$ Spirit,Arcane | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ Whenever you cast a Spirit or Arcane spell, you may put a ki counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ KI | CounterNum$ 1 -A:AB$ ChangeZone | Cost$ 1 T SubCounter | Origin$ Battlefield | Destination$ Hand | ValidTgts$ Creature.cmcLEX | ChangeNum$ 1 | References$ X | SpellDescription$ Return target creature with converted mana cost X or less to its owner's hand. +A:AB$ ChangeZone | Cost$ 1 T SubCounter | Origin$ Battlefield | Destination$ Hand | ValidTgts$ Creature.cmcLEX | ChangeNum$ 1 | SpellDescription$ Return target creature with converted mana cost X or less to its owner's hand. SVar:X:Count$xPaid AI:RemoveDeck:Random DeckHints:Type$Spirit|Arcane diff --git a/forge-gui/res/cardsfolder/r/rabble_rouser.txt b/forge-gui/res/cardsfolder/r/rabble_rouser.txt index 3f4b000c85b..2930ef2a6f1 100644 --- a/forge-gui/res/cardsfolder/r/rabble_rouser.txt +++ b/forge-gui/res/cardsfolder/r/rabble_rouser.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Creature Goblin Shaman PT:1/1 K:Bloodthirst:1 -A:AB$ PumpAll | Cost$ R T | ValidCards$ Creature.attacking | NumAtt$ X | References$ X | SpellDescription$ Attacking creatures get +X/+0 until end of turn, where X is CARDNAME's power. +A:AB$ PumpAll | Cost$ R T | ValidCards$ Creature.attacking | NumAtt$ X | SpellDescription$ Attacking creatures get +X/+0 until end of turn, where X is CARDNAME's power. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/rabble_rouser.jpg Oracle:Bloodthirst 1 (If an opponent was dealt damage this turn, this creature enters the battlefield with a +1/+1 counter on it.)\n{R}, {T}: Attacking creatures get +X/+0 until end of turn, where X is Rabble-Rouser's power. diff --git a/forge-gui/res/cardsfolder/r/rabid_bite.txt b/forge-gui/res/cardsfolder/r/rabid_bite.txt index 592514da4fc..b12ff224209 100644 --- a/forge-gui/res/cardsfolder/r/rabid_bite.txt +++ b/forge-gui/res/cardsfolder/r/rabid_bite.txt @@ -2,7 +2,7 @@ Name:Rabid Bite ManaCost:1 G Types:Sorcery A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature.YouCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you control | SubAbility$ SoulsDamage | StackDescription$ None | SpellDescription$ Target creature you control deals damage equal to its power to target creature you don't control -SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | References$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget +SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/rabid_bite.jpg Oracle:Target creature you control deals damage equal to its power to target creature you don't control. diff --git a/forge-gui/res/cardsfolder/r/rabid_elephant.txt b/forge-gui/res/cardsfolder/r/rabid_elephant.txt index 1fdfb17e5e8..bc04037592c 100644 --- a/forge-gui/res/cardsfolder/r/rabid_elephant.txt +++ b/forge-gui/res/cardsfolder/r/rabid_elephant.txt @@ -3,6 +3,6 @@ ManaCost:4 G Types:Creature Elephant PT:3/4 T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME becomes blocked, it gets +2/+2 until end of turn for each creature blocking it. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +X SVar:X:TriggerCount$NumBlockers/Times.2 Oracle:Whenever Rabid Elephant becomes blocked, it gets +2/+2 until end of turn for each creature blocking it. diff --git a/forge-gui/res/cardsfolder/r/rabid_wombat.txt b/forge-gui/res/cardsfolder/r/rabid_wombat.txt index 706d6ce77bf..9eb919d672b 100644 --- a/forge-gui/res/cardsfolder/r/rabid_wombat.txt +++ b/forge-gui/res/cardsfolder/r/rabid_wombat.txt @@ -3,7 +3,7 @@ ManaCost:2 G G Types:Creature Wombat PT:0/1 K:Vigilance -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +2/+2 for each Aura attached to it. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +2/+2 for each Aura attached to it. SVar:X:Count$Valid Aura.Attached/Times.2 SVar:EnchantMe:Multiple SVar:Picture:http://www.wizards.com/global/images/magic/general/rabid_wombat.jpg diff --git a/forge-gui/res/cardsfolder/r/rackling.txt b/forge-gui/res/cardsfolder/r/rackling.txt index baf4b4cc55d..15efe7f8489 100644 --- a/forge-gui/res/cardsfolder/r/rackling.txt +++ b/forge-gui/res/cardsfolder/r/rackling.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact Creature Construct PT:2/2 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.Opponent | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of each opponent's upkeep, CARDNAME deals X damage to that player, where X is 3 minus the number of cards in their hand. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:TriggeredPlayer$CardsInHand/NMinus.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/rackling.jpg Oracle:At the beginning of each opponent's upkeep, Rackling deals X damage to that player, where X is 3 minus the number of cards in their hand. diff --git a/forge-gui/res/cardsfolder/r/radha_heart_of_keld.txt b/forge-gui/res/cardsfolder/r/radha_heart_of_keld.txt index b77b83e3c46..8f913c806ec 100644 --- a/forge-gui/res/cardsfolder/r/radha_heart_of_keld.txt +++ b/forge-gui/res/cardsfolder/r/radha_heart_of_keld.txt @@ -5,7 +5,7 @@ PT:3/3 S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ First Strike | Condition$ PlayerTurn | Description$ As long as it's your turn, CARDNAME has first strike. S:Mode$ Continuous | Affected$ Card.TopLibrary+YouCtrl | AffectedZone$ Library | MayLookAt$ Player | Description$ Play with the top card of your library revealed. S:Mode$ Continuous | Affected$ Land.TopLibrary+YouCtrl | AffectedZone$ Library | MayPlay$ True | Description$ You may play the top card of your library if it's a land card. -A:AB$ Pump | Cost$ 4 R G | Defined$ Self | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is the number of lands you control. +A:AB$ Pump | Cost$ 4 R G | Defined$ Self | NumAtt$ +X | NumDef$ +X | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is the number of lands you control. SVar:X:Count$TypeYouCtrl.Land SVar:BuffedBy:Land Oracle:As long as it's your turn, Radha, Heart of Keld has first strike.\nYou may look at the top card of your library any time, and you may play lands from the top of your library.\n{4}{R}{G}: Radha gets +X/+X until end of turn, where X is the number of lands you control. diff --git a/forge-gui/res/cardsfolder/r/radiant_archangel.txt b/forge-gui/res/cardsfolder/r/radiant_archangel.txt index dfbca5376f6..e4c0a4f7962 100644 --- a/forge-gui/res/cardsfolder/r/radiant_archangel.txt +++ b/forge-gui/res/cardsfolder/r/radiant_archangel.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Angel PT:3/3 K:Flying K:Vigilance -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each other creature with flying on the battlefield. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each other creature with flying on the battlefield. SVar:X:Count$Valid Creature.Other+withFlying SVar:BuffedBy:Creature.withFlying SVar:Picture:http://resources.wizards.com/magic/cards/gu/en-us/card12368.jpg diff --git a/forge-gui/res/cardsfolder/r/radiant_essence.txt b/forge-gui/res/cardsfolder/r/radiant_essence.txt index 4d6ba12463a..0efd59c9711 100644 --- a/forge-gui/res/cardsfolder/r/radiant_essence.txt +++ b/forge-gui/res/cardsfolder/r/radiant_essence.txt @@ -2,7 +2,7 @@ Name:Radiant Essence ManaCost:1 G W Types:Creature Spirit PT:2/3 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 2 | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Description$ CARDNAME gets +1/+2 as long as an opponent controls a black permanent. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 2 | CheckSVar$ X | SVarCompare$ GE1 | Description$ CARDNAME gets +1/+2 as long as an opponent controls a black permanent. SVar:X:Count$Valid Creature.OppCtrl+Black AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/radiant_essence.jpg diff --git a/forge-gui/res/cardsfolder/r/radiant_flames.txt b/forge-gui/res/cardsfolder/r/radiant_flames.txt index 53b58250f89..33c07790538 100644 --- a/forge-gui/res/cardsfolder/r/radiant_flames.txt +++ b/forge-gui/res/cardsfolder/r/radiant_flames.txt @@ -1,7 +1,7 @@ Name:Radiant Flames ManaCost:2 R Types:Sorcery -A:SP$ DamageAll | Cost$ 2 R | NumDmg$ X | ValidCards$ Creature | ValidDescription$ each creature. | References$ X | SpellDescription$ Converge — CARDNAME deals X damage to each creature, where X is the number of colors of mana spent to cast this spell. +A:SP$ DamageAll | Cost$ 2 R | NumDmg$ X | ValidCards$ Creature | ValidDescription$ each creature. | SpellDescription$ Converge — CARDNAME deals X damage to each creature, where X is the number of colors of mana spent to cast this spell. SVar:X:Count$Converge AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/radiant_flames.jpg diff --git a/forge-gui/res/cardsfolder/r/rage_extractor.txt b/forge-gui/res/cardsfolder/r/rage_extractor.txt index 4aa3f23eeab..a26411e4523 100644 --- a/forge-gui/res/cardsfolder/r/rage_extractor.txt +++ b/forge-gui/res/cardsfolder/r/rage_extractor.txt @@ -2,7 +2,7 @@ Name:Rage Extractor ManaCost:4 PR Types:Artifact T:Mode$ SpellCast | ValidCard$ Card.CostsPhyrexianMana | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever you cast a spell with {P} in its mana cost, CARDNAME deals damage equal to that spell's converted mana cost to any target. -SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:TriggerCount$CastSACMC SVar:BuffedBy:Card.CostsPhyrexianMana AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/r/ragged_veins.txt b/forge-gui/res/cardsfolder/r/ragged_veins.txt index 9178146bb64..058187ffefb 100644 --- a/forge-gui/res/cardsfolder/r/ragged_veins.txt +++ b/forge-gui/res/cardsfolder/r/ragged_veins.txt @@ -5,7 +5,7 @@ K:Flash K:Enchant creature A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature | AILogic$ Curse T:Mode$ DamageDoneOnce | ValidTarget$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever enchanted creature is dealt damage, its controller loses that much life. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredTargetController | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredTargetController | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/ragged_veins.jpg Oracle:Flash\nEnchant creature\nWhenever enchanted creature is dealt damage, its controller loses that much life. diff --git a/forge-gui/res/cardsfolder/r/raiding_party.txt b/forge-gui/res/cardsfolder/r/raiding_party.txt index 6c4eb42fef1..7e6a771a163 100644 --- a/forge-gui/res/cardsfolder/r/raiding_party.txt +++ b/forge-gui/res/cardsfolder/r/raiding_party.txt @@ -3,9 +3,9 @@ ManaCost:2 R Types:Enchantment S:Mode$ CantTarget | ValidCard$ Card.Self | ValidSource$ Card.White | Description$ CARDNAME can't be the target of white spells or abilities from white sources. A:AB$ RepeatEach | Cost$ Sac<1/Orc/Orc> | CostDesc$ Sacrifice an Orc: | RepeatPlayers$ Player | RepeatSubAbility$ ChooseCardsToTap | SubAbility$ DBDestroy | SpellDescription$ Each player may tap any number of untapped white creatures they control. For each creature tapped this way, that player chooses up to two Plains. Then destroy all Plains that weren't chosen this way by any player. -SVar:ChooseCardsToTap:DB$ ChooseCard | Defined$ Remembered | MinAmount$ 0 | Amount$ NumCreatures | References$ NumCreatures,NumPlainsDiv2 | Choices$ Creature.untapped+White+RememberedPlayerCtrl | ChoiceTitle$ Choose any number of untapped white creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | AIMaxAmount$ NumPlainsDiv2 | SubAbility$ DBTap +SVar:ChooseCardsToTap:DB$ ChooseCard | Defined$ Remembered | MinAmount$ 0 | Amount$ NumCreaturesumCreatures,NumPlainsDiv2 | Choices$ Creature.untapped+White+RememberedPlayerCtrl | ChoiceTitle$ Choose any number of untapped white creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | AIMaxAmount$ NumPlainsDiv2 | SubAbility$ DBTap SVar:DBTap:DB$ Tap | Defined$ Remembered | SubAbility$ ChoosePlainsToSave -SVar:ChoosePlainsToSave:DB$ ChooseCard | Defined$ Remembered | MinAmount$ 0 | Amount$ TappedXTwo | References$ TappedXTwo | Choices$ Plains | ChoiceTitle$ Choose up to two Plains for each creature tapped | ChoiceZone$ Battlefield | ImprintChosen$ True | AILogic$ OwnCard | SubAbility$ DBCleanup +SVar:ChoosePlainsToSave:DB$ ChooseCard | Defined$ Remembered | MinAmount$ 0 | Amount$ TappedXTwo | Choices$ Plains | ChoiceTitle$ Choose up to two Plains for each creature tapped | ChoiceZone$ Battlefield | ImprintChosen$ True | AILogic$ OwnCard | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearChosenCard$ True SVar:DBDestroy:DB$ DestroyAll | ValidCards$ Plains.IsNotImprinted | SubAbility$ DBCleanImp | AILogic$ RaidingParty | StackDescription$ None SVar:DBCleanImp:DB$ Cleanup | ClearImprinted$ True diff --git a/forge-gui/res/cardsfolder/r/rain_of_daggers.txt b/forge-gui/res/cardsfolder/r/rain_of_daggers.txt index ebd09126241..a97fddd8d07 100644 --- a/forge-gui/res/cardsfolder/r/rain_of_daggers.txt +++ b/forge-gui/res/cardsfolder/r/rain_of_daggers.txt @@ -2,7 +2,7 @@ Name:Rain of Daggers ManaCost:4 B B Types:Sorcery A:SP$ DestroyAll | Cost$ 4 B B | ValidCards$ Creature | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | RememberDestroyed$ True | SubAbility$ DBLoseLife | SpellDescription$ Destroy all creatures target opponent controls. You lose 2 life for each creature destroyed this way. -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X SVar:X:Remembered$Amount.Twice AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/rain_of_daggers.jpg diff --git a/forge-gui/res/cardsfolder/r/rain_of_gore.txt b/forge-gui/res/cardsfolder/r/rain_of_gore.txt index 6d7e0b0dbdb..c548420fcaf 100644 --- a/forge-gui/res/cardsfolder/r/rain_of_gore.txt +++ b/forge-gui/res/cardsfolder/r/rain_of_gore.txt @@ -2,7 +2,7 @@ Name:Rain of Gore ManaCost:B R Types:Enchantment R:Event$ GainLife | ActiveZones$ Battlefield | ValidSource$ Card | SourceController$ True | AiLogic$ LoseLife | ReplaceWith$ RLoseLife | Description$ If a spell or ability would cause its controller to gain life, that player loses that much life instead. -SVar:RLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ ReplacedPlayer | References$ X +SVar:RLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ ReplacedPlayer SVar:X:ReplaceCount$LifeGained SVar:NonStackingEffect:True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/r/raka_sanctuary.txt b/forge-gui/res/cardsfolder/r/raka_sanctuary.txt index a11cf6aaca5..e6eb6271ada 100644 --- a/forge-gui/res/cardsfolder/r/raka_sanctuary.txt +++ b/forge-gui/res/cardsfolder/r/raka_sanctuary.txt @@ -1,9 +1,9 @@ Name:Raka Sanctuary ManaCost:2 R Types:Enchantment -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE1 | References$ X,Y,Z | Execute$ TrigDmg | TriggerDescription$ At the beginning of your upkeep, if you control a white or blue permanent, CARDNAME deals 1 damage to target creature. If you control a white permanent and a blue permanent, CARDNAME deals 3 damage instead. -SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature to deal damage to | NumDmg$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBDmg | References$ X,Y,Z -SVar:DBDmg:DB$ DealDamage | Defined$ Targeted | NumDmg$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X,Y,Z +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GE1 | Execute$ TrigDmg | TriggerDescription$ At the beginning of your upkeep, if you control a white or blue permanent, CARDNAME deals 1 damage to target creature. If you control a white permanent and a blue permanent, CARDNAME deals 3 damage instead. +SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature to deal damage to | NumDmg$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBDmg +SVar:DBDmg:DB$ DealDamage | Defined$ Targeted | NumDmg$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 SVar:Y:Count$Valid Permanent.White+YouCtrl/LimitMax.1 SVar:Z:Count$Valid Permanent.Blue+YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z diff --git a/forge-gui/res/cardsfolder/r/rakavolver.txt b/forge-gui/res/cardsfolder/r/rakavolver.txt index 97d65cbd7bd..789ba8dafde 100644 --- a/forge-gui/res/cardsfolder/r/rakavolver.txt +++ b/forge-gui/res/cardsfolder/r/rakavolver.txt @@ -8,7 +8,7 @@ K:ETBReplacement:Other:VolverPumped:Mandatory::Card.Self+kicked 2 SVar:VolverStrength:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 2 | ETB$ True | SubAbility$ VolverLife | SpellDescription$ If CARDNAME was kicked with its {1}{W} kicker, it enters the battlefield with two +1/+1 counters on it and with "Whenever CARDNAME deals damage, you gain that much life." SVar:VolverLife:DB$ Animate | Defined$ Self | Triggers$ PseudoLifelink | sVars$ VolverTrigGain,VolverX | Permanent$ True SVar:PseudoLifelink:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ VolverTrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. -SVar:VolverTrigGain:DB$ GainLife | Defined$ You | LifeAmount$ VolverX | References$ VolverX +SVar:VolverTrigGain:DB$ GainLife | Defined$ You | LifeAmount$ VolverX SVar:VolverX:TriggerCount$DamageAmount SVar:VolverPumped:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ETB$ True | SubAbility$ VolverLaunch | SpellDescription$ If CARDNAME was kicked with its {U} kicker, it enters the battlefield with a +1/+1 counter on it and with flying. SVar:VolverLaunch:DB$ Animate | Defined$ Self | Keywords$ Flying | Permanent$ True diff --git a/forge-gui/res/cardsfolder/r/rakdos_lord_of_riots.txt b/forge-gui/res/cardsfolder/r/rakdos_lord_of_riots.txt index c2ee22a4ec1..e0186ca55bf 100644 --- a/forge-gui/res/cardsfolder/r/rakdos_lord_of_riots.txt +++ b/forge-gui/res/cardsfolder/r/rakdos_lord_of_riots.txt @@ -5,7 +5,7 @@ PT:6/6 K:Flying K:Trample S:Mode$ CantBeCast | ValidCard$ Card.Self | CheckSVar$ X | SVarCompare$ EQ0 | EffectZone$ All | Description$ You can't cast this spell unless an opponent lost life this turn. -S:Mode$ ReduceCost | ValidCard$ Creature | Type$ Spell | Activator$ You | Amount$ X | References$ X | Description$ Creature spells you cast cost {1} less to cast for each 1 life your opponents have lost this turn. +S:Mode$ ReduceCost | ValidCard$ Creature | Type$ Spell | Activator$ You | Amount$ X | Description$ Creature spells you cast cost {1} less to cast for each 1 life your opponents have lost this turn. SVar:X:Count$LifeOppsLostThisTurn SVar:Picture:http://www.wizards.com/global/images/magic/general/rakdos_lord_of_riots.jpg Oracle:You can't cast this spell unless an opponent lost life this turn.\nFlying, trample\nCreature spells you cast cost {1} less to cast for each 1 life your opponents have lost this turn. diff --git a/forge-gui/res/cardsfolder/r/rakdos_riteknife.txt b/forge-gui/res/cardsfolder/r/rakdos_riteknife.txt index 7d9ae7e2db3..58227136054 100644 --- a/forge-gui/res/cardsfolder/r/rakdos_riteknife.txt +++ b/forge-gui/res/cardsfolder/r/rakdos_riteknife.txt @@ -2,9 +2,9 @@ Name:Rakdos Riteknife ManaCost:2 Types:Artifact Equipment K:Equip:2 -S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | References$ X | AddAbility$ RitualSac | Description$ Equipped creature gets +1/+0 for each blood counter on CARDNAME and has "{T}, Sacrifice a creature: Put a blood counter on CARDNAME." +S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddAbility$ RitualSac | Description$ Equipped creature gets +1/+0 for each blood counter on CARDNAME and has "{T}, Sacrifice a creature: Put a blood counter on CARDNAME." SVar:RitualSac:AB$ PutCounter | Cost$ T Sac<1/Creature> | Defined$ OriginalHost | CounterType$ BLOOD | CounterNum$ 1 | SpellDescription$ Put a blood counter on ORIGINALHOST. -A:AB$ Sacrifice | Cost$ B R Sac<1/CARDNAME> | ValidTgts$ Player | SacValid$ Permanent | SacMessage$ Permanent | Amount$ X | References$ X | SpellDescription$ Target player sacrifices a permanent for each blood counter on CARDNAME. +A:AB$ Sacrifice | Cost$ B R Sac<1/CARDNAME> | ValidTgts$ Player | SacValid$ Permanent | SacMessage$ Permanent | Amount$ X | SpellDescription$ Target player sacrifices a permanent for each blood counter on CARDNAME. SVar:X:Count$CardCounters.BLOOD AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/rakdos_riteknife.jpg diff --git a/forge-gui/res/cardsfolder/r/rakdos_the_defiler.txt b/forge-gui/res/cardsfolder/r/rakdos_the_defiler.txt index 5506f1526a5..38a9603aaab 100644 --- a/forge-gui/res/cardsfolder/r/rakdos_the_defiler.txt +++ b/forge-gui/res/cardsfolder/r/rakdos_the_defiler.txt @@ -6,8 +6,8 @@ K:Flying K:Trample T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ Whenever CARDNAME attacks, sacrifice half the non-Demon permanents you control, rounded up. T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigSac2 | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player sacrifices half the non-Demon permanents they control, rounded up. -SVar:TrigSac:DB$ Sacrifice | Defined$ You | Amount$ X | References$ X | SacValid$ Permanent.nonDemon | SacMessage$ non-Demon Permanent -SVar:TrigSac2:DB$ Sacrifice | Defined$ TriggeredTarget | Amount$ Y | References$ Y | SacValid$ Permanent.nonDemon | SacMessage$ non-Demon Permanent +SVar:TrigSac:DB$ Sacrifice | Defined$ You | Amount$ X | SacValid$ Permanent.nonDemon | SacMessage$ non-Demon Permanent +SVar:TrigSac2:DB$ Sacrifice | Defined$ TriggeredTarget | Amount$ Y | SacValid$ Permanent.nonDemon | SacMessage$ non-Demon Permanent SVar:X:Count$Valid Permanent.nonDemon+YouCtrl/HalfUp SVar:Y:TriggeredTarget$Valid Permanent.nonDemon+YouCtrl/HalfUp AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/r/rakdoss_return.txt b/forge-gui/res/cardsfolder/r/rakdoss_return.txt index a75cd65a0a7..d8da180cedb 100644 --- a/forge-gui/res/cardsfolder/r/rakdoss_return.txt +++ b/forge-gui/res/cardsfolder/r/rakdoss_return.txt @@ -1,8 +1,8 @@ Name:Rakdos's Return ManaCost:X B R Types:Sorcery -A:SP$ DealDamage | Cost$ X B R | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ X | References$ X | SubAbility$ DBDiscardOpp | SpellDescription$ CARDNAME deals X damage to target opponent or planeswalker. That player or that planeswalker's controller discards X cards. -SVar:DBDiscardOpp:DB$Discard | Defined$ TargetedOrController | NumCards$ X | References$ X | Mode$ TgtChoose +A:SP$ DealDamage | Cost$ X B R | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ X | SubAbility$ DBDiscardOpp | SpellDescription$ CARDNAME deals X damage to target opponent or planeswalker. That player or that planeswalker's controller discards X cards. +SVar:DBDiscardOpp:DB$Discard | Defined$ TargetedOrController | NumCards$ X | Mode$ TgtChoose SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/rakdoss_return.jpg Oracle:Rakdos's Return deals X damage to target opponent or planeswalker. That player or that planeswalker's controller discards X cards. diff --git a/forge-gui/res/cardsfolder/r/raksha_golden_cub.txt b/forge-gui/res/cardsfolder/r/raksha_golden_cub.txt index d2692a64210..55eb0159362 100644 --- a/forge-gui/res/cardsfolder/r/raksha_golden_cub.txt +++ b/forge-gui/res/cardsfolder/r/raksha_golden_cub.txt @@ -3,7 +3,7 @@ ManaCost:5 W W Types:Legendary Creature Cat Soldier PT:3/4 K:Vigilance -S:Mode$ Continuous | Affected$ Creature.Cat+YouCtrl | AddPower$ 2 | AddToughness$ 2 | CheckSVar$ X | SVarCompare$ EQ1 | References$ X | AddKeyword$ Double Strike | Description$ As long as CARDNAME is equipped, Cat creatures you control get +2/+2 and have double strike. +S:Mode$ Continuous | Affected$ Creature.Cat+YouCtrl | AddPower$ 2 | AddToughness$ 2 | CheckSVar$ X | SVarCompare$ EQ1 | AddKeyword$ Double Strike | Description$ As long as CARDNAME is equipped, Cat creatures you control get +2/+2 and have double strike. SVar:X:Count$Valid Card.Self+equipped SVar:EquipMe:Once AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/r/rakshasa_vizier.txt b/forge-gui/res/cardsfolder/r/rakshasa_vizier.txt index 41f5d8d8c85..d398d4be5e0 100644 --- a/forge-gui/res/cardsfolder/r/rakshasa_vizier.txt +++ b/forge-gui/res/cardsfolder/r/rakshasa_vizier.txt @@ -3,7 +3,7 @@ ManaCost:2 B G U Types:Creature Cat Demon PT:4/4 T:Mode$ ChangesZoneAll | ValidCards$ Card.YouOwn | Origin$ Graveyard | Destination$ Exile | TriggerZones$ Battlefield | Execute$ TrigPutcounter | TriggerDescription$ Whenever one or more cards are put into exile from your graveyard, put that many +1/+1 counters on CARDNAME. -SVar:TrigPutcounter:DB$ PutCounter | CounterType$ P1P1 | Defined$ Self | CounterNum$ X | References$ X +SVar:TrigPutcounter:DB$ PutCounter | CounterType$ P1P1 | Defined$ Self | CounterNum$ X SVar:X:TriggerCount$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/rakshasa_vizier.jpg Oracle:Whenever one or more cards are put into exile from your graveyard, put that many +1/+1 counters on Rakshasa Vizier. diff --git a/forge-gui/res/cardsfolder/r/rakshasas_disdain.txt b/forge-gui/res/cardsfolder/r/rakshasas_disdain.txt index 53226d6418d..6ca8bd4326b 100644 --- a/forge-gui/res/cardsfolder/r/rakshasas_disdain.txt +++ b/forge-gui/res/cardsfolder/r/rakshasas_disdain.txt @@ -1,7 +1,7 @@ Name:Rakshasa's Disdain ManaCost:2 U Types:Instant -A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X | SpellDescription$ Counter target spell unless its controller pays {1} for each card in your graveyard. +A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {1} for each card in your graveyard. SVar:X:Count$InYourYard DeckHints:Ability$Graveyard SVar:Picture:http://www.wizards.com/global/images/magic/general/rakshasas_disdain.jpg diff --git a/forge-gui/res/cardsfolder/r/ral_izzet_viceroy.txt b/forge-gui/res/cardsfolder/r/ral_izzet_viceroy.txt index 535fff82941..089d303b61d 100644 --- a/forge-gui/res/cardsfolder/r/ral_izzet_viceroy.txt +++ b/forge-gui/res/cardsfolder/r/ral_izzet_viceroy.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Ral Loyalty:5 A:AB$ Dig | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | DigNum$ 2 | ChangeNum$ 1 | DestinationZone2$ Graveyard | SpellDescription$ Look at the top two cards of your library. Put one of them into your hand and the other into your graveyard. DeckHas:Ability$Graveyard -A:AB$ DealDamage | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X,Y | SpellDescription$ CARDNAME deals damage to target creature equal to the total number of instant and sorcery cards you own in exile and in your graveyard. +A:AB$ DealDamage | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the total number of instant and sorcery cards you own in exile and in your graveyard. SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn/Plus.Y SVar:Y:Count$ValidExile Instant.YouOwn,Sorcery.YouOwn A:AB$ Effect | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Ral | Image$ emblem_ral | Triggers$ TrigSpellCast | SVars$ EffSpellCast,EffDraw | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "Whenever you cast an instant or sorcery spell, this emblem deals 4 damage to any target and you draw two cards." diff --git a/forge-gui/res/cardsfolder/r/rally_for_the_throne.txt b/forge-gui/res/cardsfolder/r/rally_for_the_throne.txt index c3a3e799f0a..65a283cef9d 100644 --- a/forge-gui/res/cardsfolder/r/rally_for_the_throne.txt +++ b/forge-gui/res/cardsfolder/r/rally_for_the_throne.txt @@ -2,7 +2,7 @@ Name:Rally for the Throne ManaCost:2 W Types:Instant A:SP$ Token | Cost$ 2 W | TokenAmount$ 2 | TokenScript$ w_1_1_human | TokenOwner$ You | LegacyImage$ w 1 1 human eld | AIManaPref$ W | SubAbility$ DBGainLife | SpellDescription$ Create two 1/1 white Human creature tokens. Adamant — If at least three white mana was spent to cast this spell, you gain 1 life for each creature you control. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ Y | ConditionCheckSVar$ X | References$ X,Y +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ Y | ConditionCheckSVar$ X SVar:X:Count$Adamant.White.1.0 SVar:Y:Count$Valid Creature.YouCtrl DeckHas:Ability$Token & Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/r/rally_the_ancestors.txt b/forge-gui/res/cardsfolder/r/rally_the_ancestors.txt index 73ef27de8d4..1684f90323a 100644 --- a/forge-gui/res/cardsfolder/r/rally_the_ancestors.txt +++ b/forge-gui/res/cardsfolder/r/rally_the_ancestors.txt @@ -1,7 +1,7 @@ Name:Rally the Ancestors ManaCost:X W W Types:Instant -A:SP$ ChangeZoneAll | Cost$ X W W | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.YouOwn+cmcLEX | RememberChanged$ True | References$ X | SubAbility$ DBDelTrig | SpellDescription$ Return each creature card with converted mana cost X or less from your graveyard to the battlefield. Exile those creatures at the beginning of your next upkeep. Exile CARDNAME. +A:SP$ ChangeZoneAll | Cost$ X W W | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.YouOwn+cmcLEX | RememberChanged$ True | SubAbility$ DBDelTrig | SpellDescription$ Return each creature card with converted mana cost X or less from your graveyard to the battlefield. Exile those creatures at the beginning of your next upkeep. Exile CARDNAME. SVar:DBDelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigExile | RememberObjects$ RememberedLKI | SubAbility$ ExileSelf | TriggerDescription$ Exile those creatures at the beginning of your next upkeep. SVar:TrigExile:DB$ ChangeZone | Defined$ DelayTriggerRememberedLKI | Origin$ Battlefield | Destination$ Exile SVar:ExileSelf:DB$ ChangeZone | Origin$ Stack | Destination$ Exile | SubAbility$ DBCleanup diff --git a/forge-gui/res/cardsfolder/r/rally_the_horde.txt b/forge-gui/res/cardsfolder/r/rally_the_horde.txt index e9480539262..df0961f3685 100644 --- a/forge-gui/res/cardsfolder/r/rally_the_horde.txt +++ b/forge-gui/res/cardsfolder/r/rally_the_horde.txt @@ -1,13 +1,13 @@ Name:Rally the Horde ManaCost:5 R Types:Sorcery -A:SP$ Repeat | Cost$ 5 R | RepeatSubAbility$ DBExileThree | RepeatCheckSVar$ X | RepeatSVarCompare$ EQ0 | References$ X | SubAbility$ DBToken | StackDescription$ SpellDescription | SpellDescription$ Exile the top card of your library. Exile the top card of your library. Exile the top card of your library. If the last card exiled isn't a land card, repeat this process. Create a 1/1 red Warrior creature token for each nonland card exiled this way. +A:SP$ Repeat | Cost$ 5 R | RepeatSubAbility$ DBExileThree | RepeatCheckSVar$ X | RepeatSVarCompare$ EQ0 | SubAbility$ DBToken | StackDescription$ SpellDescription | SpellDescription$ Exile the top card of your library. Exile the top card of your library. Exile the top card of your library. If the last card exiled isn't a land card, repeat this process. Create a 1/1 red Warrior creature token for each nonland card exiled this way. SVar:DBExileThree:DB$ Cleanup | ClearImprinted$ True | SubAbility$ DBExile1 SVar:DBExile1:DB$ Dig | RememberChanged$ True | DestinationZone$ Exile | DigNum$ 1 | ChangeNum$ All | SubAbility$ DBExile2 SVar:DBExile2:DB$ Dig | RememberChanged$ True | DestinationZone$ Exile | DigNum$ 1 | ChangeNum$ All | SubAbility$ DBExile3 SVar:DBExile3:DB$ Dig | RememberChanged$ True | DestinationZone$ Exile | DigNum$ 1 | ChangeNum$ All | Imprint$ True SVar:X:Count$ValidExile Land.IsImprinted -SVar:DBToken:DB$ Token | TokenAmount$ Y | References$ Y | TokenScript$ r_1_1_warrior | TokenOwner$ You | SubAbility$ DBCleanup | StackDescription$ None +SVar:DBToken:DB$ Token | TokenAmount$ Y | TokenScript$ r_1_1_warrior | TokenOwner$ You | SubAbility$ DBCleanup | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True SVar:Y:Count$ValidExile Card.IsRemembered+nonLand AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/r/rals_staticaster.txt b/forge-gui/res/cardsfolder/r/rals_staticaster.txt index 1c179895b30..a89548ed36d 100644 --- a/forge-gui/res/cardsfolder/r/rals_staticaster.txt +++ b/forge-gui/res/cardsfolder/r/rals_staticaster.txt @@ -4,7 +4,7 @@ Types:Creature Viashino Wizard PT:3/3 K:Trample T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | IsPresent$ Planeswalker.Ral+YouCtrl | TriggerDescription$ Whenever CARDNAME attacks, if you control a Ral planeswalker, CARDNAME gets +1/+0 for each card in your hand until end of turn. -SVar:TrigPump:DB$ Pump | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | NumAtt$ X SVar:X:Count$InYourHand SVar:BuffedBy:Ral DeckNeeds:Type$Ral diff --git a/forge-gui/res/cardsfolder/r/ram_through.txt b/forge-gui/res/cardsfolder/r/ram_through.txt index c57e3c84fc6..af7155ee67c 100644 --- a/forge-gui/res/cardsfolder/r/ram_through.txt +++ b/forge-gui/res/cardsfolder/r/ram_through.txt @@ -2,6 +2,6 @@ Name:Ram Through ManaCost:1 G Types:Instant A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature.YouCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you control | SubAbility$ SoulsDamage | StackDescription$ SpellDescription | SpellDescription$ Target creature you control deals damage equal to its power to target creature you don't control. If the creature you control has trample, excess damage is dealt to that creature's controller instead. -SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | References$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget | ExcessDamage$ TargetedController | ExcessDamageCondition$ Card.withTrample | StackDescription$ None +SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget | ExcessDamage$ TargetedController | ExcessDamageCondition$ Card.withTrample | StackDescription$ None SVar:X:ParentTargeted$CardPower Oracle:Target creature you control deals damage equal to its power to target creature you don't control. If the creature you control has trample, excess damage is dealt to that creature's controller instead. diff --git a/forge-gui/res/cardsfolder/r/ramos_dragon_engine.txt b/forge-gui/res/cardsfolder/r/ramos_dragon_engine.txt index 4c8af5bad34..deafcc16de0 100644 --- a/forge-gui/res/cardsfolder/r/ramos_dragon_engine.txt +++ b/forge-gui/res/cardsfolder/r/ramos_dragon_engine.txt @@ -4,7 +4,7 @@ Types:Legendary Artifact Creature Dragon PT:4/4 K:Flying T:Mode$ SpellCast | ValidActivatingPlayer$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a spell, put a +1/+1 counter on CARDNAME for each of that spell's colors. -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X SVar:X:TriggeredCard$CardNumColors A:AB$ Mana | Cost$ SubCounter<5/P1P1> | Produced$ W W U U B B R R G G | ActivationLimit$ 1 | SpellDescription$ Add {W}{W}{U}{U}{B}{B}{R}{R}{G}{G}. Activate this ability only once each turn. Oracle:Flying\nWhenever you cast a spell, put a +1/+1 counter on Ramos, Dragon Engine for each of that spell's colors.\nRemove five +1/+1 counters from Ramos: Add {W}{W}{U}{U}{B}{B}{R}{R}{G}{G}. Activate this ability only once each turn. diff --git a/forge-gui/res/cardsfolder/r/rampaging_brontodon.txt b/forge-gui/res/cardsfolder/r/rampaging_brontodon.txt index 44d0e487c7f..a9243cee5cd 100644 --- a/forge-gui/res/cardsfolder/r/rampaging_brontodon.txt +++ b/forge-gui/res/cardsfolder/r/rampaging_brontodon.txt @@ -4,6 +4,6 @@ Types:Creature Dinosaur PT:7/7 K:Trample T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+1 until end of turn for each land you control. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X SVar:X:Count$Valid Land.YouCtrl Oracle:Trample\nWhenever Rampaging Brontodon attacks, it gets +1/+1 until end of turn for each land you control. diff --git a/forge-gui/res/cardsfolder/r/rancid_earth.txt b/forge-gui/res/cardsfolder/r/rancid_earth.txt index 201fcfc6fca..d1170ce1007 100644 --- a/forge-gui/res/cardsfolder/r/rancid_earth.txt +++ b/forge-gui/res/cardsfolder/r/rancid_earth.txt @@ -2,7 +2,7 @@ Name:Rancid Earth ManaCost:1 B B Types:Sorcery A:SP$ Destroy | Cost$ 1 B B | ValidTgts$ Land | TgtPrompt$ Select target land | SubAbility$ DBRancidDamage | SpellDescription$ Destroy target land. Threshold — If seven or more cards are in your graveyard, instead destroy that land and CARDNAME deals 1 damage to each creature and each player. -SVar:DBRancidDamage:DB$ DamageAll | NumDmg$ RancidX | References$ RancidX | ValidCards$ Creature | ValidPlayers$ Player +SVar:DBRancidDamage:DB$ DamageAll | NumDmg$ RancidX | ValidCards$ Creature | ValidPlayers$ Player SVar:RancidX:Count$Threshold.1.0 SVar:Picture:http://www.wizards.com/global/images/magic/general/rancid_earth.jpg Oracle:Destroy target land.\nThreshold — If seven or more cards are in your graveyard, instead destroy that land and Rancid Earth deals 1 damage to each creature and each player. diff --git a/forge-gui/res/cardsfolder/r/rapacious_one.txt b/forge-gui/res/cardsfolder/r/rapacious_one.txt index 90b1ceb95c6..82bf499ee99 100644 --- a/forge-gui/res/cardsfolder/r/rapacious_one.txt +++ b/forge-gui/res/cardsfolder/r/rapacious_one.txt @@ -3,8 +3,8 @@ ManaCost:5 R Types:Creature Eldrazi Drone PT:5/4 K:Trample -T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | References$ X | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, create that many 0/1 colorless Eldrazi Spawn creature tokens. They have "Sacrifice this creature: Add {C}." -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ c_0_1_eldrazi_spawn_sac | TokenOwner$ You | LegacyImage$ c 0 1 eldrazi spawn sac roe +T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, create that many 0/1 colorless Eldrazi Spawn creature tokens. They have "Sacrifice this creature: Add {C}." +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ c_0_1_eldrazi_spawn_sac | TokenOwner$ You | LegacyImage$ c 0 1 eldrazi spawn sac roe SVar:X:TriggerCount$DamageAmount DeckHints:Type$Eldrazi DeckHas:Ability$Mana.Colorless & Ability$Token diff --git a/forge-gui/res/cardsfolder/r/rashida_scalebane.txt b/forge-gui/res/cardsfolder/r/rashida_scalebane.txt index 682f6f09573..1f7c18fa2ba 100644 --- a/forge-gui/res/cardsfolder/r/rashida_scalebane.txt +++ b/forge-gui/res/cardsfolder/r/rashida_scalebane.txt @@ -3,7 +3,7 @@ ManaCost:3 W W Types:Legendary Creature Human Soldier PT:3/4 A:AB$ Destroy | Cost$ T | ValidTgts$ Dragon.attacking,Dragon.blocking | NoRegen$ True | TgtPrompt$ Select target attacking or blocking Dragon | SubAbility$ DBGainLife | SpellDescription$ Destroy target attacking or blocking Dragon. It can't be regenerated. You gain life equal to its power. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TargetedLKI$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/rashida_scalebane.jpg Oracle:{T}: Destroy target attacking or blocking Dragon. It can't be regenerated. You gain life equal to its power. diff --git a/forge-gui/res/cardsfolder/r/rashmi_eternities_crafter.txt b/forge-gui/res/cardsfolder/r/rashmi_eternities_crafter.txt index 91601ed6547..95c80045b83 100644 --- a/forge-gui/res/cardsfolder/r/rashmi_eternities_crafter.txt +++ b/forge-gui/res/cardsfolder/r/rashmi_eternities_crafter.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Elf Druid PT:2/3 T:Mode$ SpellCast | ValidActivatingPlayer$ You | ActivatorThisTurnCast$ EQ1 | NoResolvingCheck$ True | ValidCard$ Card | Execute$ DBReveal | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast your first spell each turn, reveal the top card of your library. You may cast it without paying its mana cost if it's a spell with lesser converted mana cost. If you don't cast it, put it into your hand. SVar:DBReveal:DB$ PeekAndReveal | PeekAmount$ 1 | RevealValid$ Card | RememberRevealed$ True | SubAbility$ DBMayCast -SVar:DBMayCast:DB$ Play | Defined$ Remembered | ForgetRemembered$ True | WithoutManaCost$ True | Optional$ True | ConditionDefined$ Remembered | ConditionPresent$ Card.nonLand | ConditionCompare$ EQ1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GTY | References$ X,Y | SubAbility$ DBChangeZone +SVar:DBMayCast:DB$ Play | Defined$ Remembered | ForgetRemembered$ True | WithoutManaCost$ True | Optional$ True | ConditionDefined$ Remembered | ConditionPresent$ Card.nonLand | ConditionCompare$ EQ1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GTY | SubAbility$ DBChangeZone SVar:DBChangeZone:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | NoShuffle$ True | ForgetChanged$ True SVar:X:TriggeredCard$CardManaCost SVar:Y:Remembered$CardManaCost diff --git a/forge-gui/res/cardsfolder/r/rat_colony.txt b/forge-gui/res/cardsfolder/r/rat_colony.txt index 74348ead913..be14fab5fda 100644 --- a/forge-gui/res/cardsfolder/r/rat_colony.txt +++ b/forge-gui/res/cardsfolder/r/rat_colony.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Creature Rat PT:2/1 K:A deck can have any number of cards named CARDNAME. -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | References$ X | Description$ CARDNAME gets +1/+0 for each other Rat you control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | Description$ CARDNAME gets +1/+0 for each other Rat you control. SVar:X:Count$Valid Rat.YouCtrl+Other SVar:BuffedBy:Rat SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/r/ratchet_bomb.txt b/forge-gui/res/cardsfolder/r/ratchet_bomb.txt index 0fea3a40a38..4b7f628b40a 100644 --- a/forge-gui/res/cardsfolder/r/ratchet_bomb.txt +++ b/forge-gui/res/cardsfolder/r/ratchet_bomb.txt @@ -2,7 +2,7 @@ Name:Ratchet Bomb ManaCost:2 Types:Artifact A:AB$ PutCounter | Cost$ T | CounterType$ CHARGE | CounterNum$ 1 | SpellDescription$ Put a charge counter on CARDNAME. -A:AB$ DestroyAll | Cost$ T Sac<1/CARDNAME> | ValidCards$ Permanent.nonLand+cmcEQX | References$ X | SpellDescription$ Destroy each nonland permanent with converted mana cost equal to the number of charge counters on CARDNAME. +A:AB$ DestroyAll | Cost$ T Sac<1/CARDNAME> | ValidCards$ Permanent.nonLand+cmcEQX | SpellDescription$ Destroy each nonland permanent with converted mana cost equal to the number of charge counters on CARDNAME. SVar:X:Count$CardCounters.CHARGE SVar:Picture:http://www.wizards.com/global/images/magic/general/ratchet_bomb.jpg Oracle:{T}: Put a charge counter on Ratchet Bomb.\n{T}, Sacrifice Ratchet Bomb: Destroy each nonland permanent with converted mana cost equal to the number of charge counters on Ratchet Bomb. diff --git a/forge-gui/res/cardsfolder/r/rats_feast.txt b/forge-gui/res/cardsfolder/r/rats_feast.txt index da4d1d9569c..a92e3d655da 100644 --- a/forge-gui/res/cardsfolder/r/rats_feast.txt +++ b/forge-gui/res/cardsfolder/r/rats_feast.txt @@ -1,7 +1,7 @@ Name:Rats' Feast ManaCost:X B Types:Sorcery -A:SP$ ChangeZone | Cost$ X B | TargetMin$ X | TargetMax$ X | TargetsFromSingleZone$ True | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Choose X target cards in a single graveyard | ValidTgts$ Card | References$ X | StackDescription$ Exile {c:Targeted}. | SpellDescription$ Exile X target cards from a single graveyard. +A:SP$ ChangeZone | Cost$ X B | TargetMin$ X | TargetMax$ X | TargetsFromSingleZone$ True | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Choose X target cards in a single graveyard | ValidTgts$ Card | StackDescription$ Exile {c:Targeted}. | SpellDescription$ Exile X target cards from a single graveyard. SVar:X:Count$xPaid AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/r/rattleblaze_scarecrow.txt b/forge-gui/res/cardsfolder/r/rattleblaze_scarecrow.txt index 75d4d12eea4..4dbaa0eaee1 100644 --- a/forge-gui/res/cardsfolder/r/rattleblaze_scarecrow.txt +++ b/forge-gui/res/cardsfolder/r/rattleblaze_scarecrow.txt @@ -2,8 +2,8 @@ Name:Rattleblaze Scarecrow ManaCost:6 Types:Artifact Creature Scarecrow PT:5/3 -S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Persist | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Description$ CARDNAME has persist as long as you control a black creature. -S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Haste | CheckSVar$ Y | SVarCompare$ GE1 | References$ Y | Description$ CARDNAME has haste as long as you control a red creature. +S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Persist | CheckSVar$ X | SVarCompare$ GE1 | Description$ CARDNAME has persist as long as you control a black creature. +S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Haste | CheckSVar$ Y | SVarCompare$ GE1 | Description$ CARDNAME has haste as long as you control a red creature. SVar:X:Count$Valid Creature.YouCtrl+Black SVar:Y:Count$Valid Creature.YouCtrl+Red SVar:BuffedBy:Creature.Black,Creature.Red diff --git a/forge-gui/res/cardsfolder/r/ravaging_blaze.txt b/forge-gui/res/cardsfolder/r/ravaging_blaze.txt index 0460a0b1e7b..0d7b87ea71c 100644 --- a/forge-gui/res/cardsfolder/r/ravaging_blaze.txt +++ b/forge-gui/res/cardsfolder/r/ravaging_blaze.txt @@ -1,8 +1,8 @@ Name:Ravaging Blaze ManaCost:X R R Types:Instant -A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DmgController | References$ X | SpellDescription$ CARDNAME deals X damage to target creature. -SVar:DmgController:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE2 | References$ X,Y | SpellDescription$ Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, CARDNAME also deals X damage to that creature's controller. +A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DmgController | SpellDescription$ CARDNAME deals X damage to target creature. +SVar:DmgController:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE2,Y | SpellDescription$ Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, CARDNAME also deals X damage to that creature's controller. SVar:X:Count$xPaid SVar:Y:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/ravaging_blaze.jpg diff --git a/forge-gui/res/cardsfolder/r/ravenous_demon_archdemon_of_greed.txt b/forge-gui/res/cardsfolder/r/ravenous_demon_archdemon_of_greed.txt index 8a292b11f76..8b43fa45ba6 100644 --- a/forge-gui/res/cardsfolder/r/ravenous_demon_archdemon_of_greed.txt +++ b/forge-gui/res/cardsfolder/r/ravenous_demon_archdemon_of_greed.txt @@ -18,8 +18,8 @@ K:Flying K:Trample T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, sacrifice a Human. If you can't, tap CARDNAME and it deals 9 damage to you. SVar:TrigSac:DB$Sacrifice | Defined$ You | SacValid$ Creature.Human | SubAbility$ DBTap | RememberSacrificed$ True -SVar:DBTap:DB$ Tap | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBDamage | References$ X -SVar:DBDamage:DB$ DealDamage | Defined$ You | NumDmg$ 9 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup | References$ X +SVar:DBTap:DB$ Tap | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBDamage +SVar:DBDamage:DB$ DealDamage | Defined$ You | NumDmg$ 9 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/archdemon_of_greed.jpg diff --git a/forge-gui/res/cardsfolder/r/ravenous_gigantotherium.txt b/forge-gui/res/cardsfolder/r/ravenous_gigantotherium.txt index c48eb7c4e34..a9d7ce0068e 100755 --- a/forge-gui/res/cardsfolder/r/ravenous_gigantotherium.txt +++ b/forge-gui/res/cardsfolder/r/ravenous_gigantotherium.txt @@ -4,9 +4,9 @@ Types:Creature Beast PT:3/3 K:Devour:3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDmg | TriggerDescription$ When CARDNAME enters the battlefield, it deals X damage divided as you choose among up to X target creatures, where X is its power. Each of those creatures deals damage equal to its power to CARDNAME. -SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature to distribute damage to | NumDmg$ FirePower | TargetMin$ 0 | TargetMax$ FirePower | References$ FirePower | DividedAsYouChoose$ FirePower | SubAbility$ DBDmg | RememberTargets$ True | StackDescription$ None +SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature to distribute damage to | NumDmg$ FirePower | TargetMin$ 0 | TargetMax$ FirePower | DividedAsYouChoose$ FirePower | SubAbility$ DBDmg | RememberTargets$ True | StackDescription$ None SVar:DBDmg:DB$ RepeatEach | RepeatSubAbility$ GigantotheriumFight | UseImprinted$ True | DefinedCards$ Targeted | StackDescription$ None | DamageMap$ True -SVar:GigantotheriumFight:DB$ DealDamage | DamageSource$ Imprinted | NumDmg$ Y | References$ Y | Defined$ Self | StackDescription$ None +SVar:GigantotheriumFight:DB$ DealDamage | DamageSource$ Imprinted | NumDmg$ Y | Defined$ Self | StackDescription$ None SVar:FirePower:Count$CardPower SVar:Y:Imprinted$CardPower DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/r/ravenous_slime.txt b/forge-gui/res/cardsfolder/r/ravenous_slime.txt index 8714289faff..b9dc60a7f7b 100644 --- a/forge-gui/res/cardsfolder/r/ravenous_slime.txt +++ b/forge-gui/res/cardsfolder/r/ravenous_slime.txt @@ -5,6 +5,6 @@ PT:1/1 K:CantBeBlockedBy Creature.powerLE2 R:Event$ Moved | ActiveZones$ Battlefield | Origin$ Battlefield | Destination$ Graveyard | ValidLKI$ Creature.OppCtrl | ReplaceWith$ Exile | Description$ If a creature an opponent controls would die, instead exile it and put a number of +1/+1 counters equal to that creature's power on CARDNAME. SVar:Exile:DB$ ChangeZone | Defined$ ReplacedCard | Origin$ Battlefield | Destination$ Exile | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ X | References$ X | Defined$ Self +SVar:DBPutCounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ X | Defined$ Self SVar:X:ReplacedCardLKI$CardPower Oracle:Ravenous Slime can't be blocked by creatures with power 2 or less.\nIf a creature an opponent controls would die, instead exile it and put a number of +1/+1 counters equal to that creature's power on Ravenous Slime. diff --git a/forge-gui/res/cardsfolder/r/ravenous_trap.txt b/forge-gui/res/cardsfolder/r/ravenous_trap.txt index f9a0bcb5f6b..bb259d695ed 100644 --- a/forge-gui/res/cardsfolder/r/ravenous_trap.txt +++ b/forge-gui/res/cardsfolder/r/ravenous_trap.txt @@ -1,7 +1,7 @@ Name:Ravenous Trap ManaCost:2 B B Types:Instant Trap -SVar:AltCost:Cost$ 0 | CheckSVar$ CardsToGraveyard | SVarCompare$ GE3 | References$ CardsToGraveyard | Description$ If an opponent had three or more cards put into their graveyard from anywhere this turn, you may pay {0} rather than pay this spell's mana cost. +SVar:AltCost:Cost$ 0 | CheckSVar$ CardsToGraveyard | SVarCompare$ GE3 | Description$ If an opponent had three or more cards put into their graveyard from anywhere this turn, you may pay {0} rather than pay this spell's mana cost. A:SP$ ChangeZoneAll | Cost$ 2 B B | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Player | TgtPrompt$ Select target player | ChangeType$ Card | StackDescription$ Exile all cards from {p:Targeted}'s graveyard. | SpellDescription$ Exile all cards from target player's graveyard. SVar:CardsToGraveyard:Count$ThisTurnEntered_Graveyard_Card.OppCtrl AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/r/raving_dead.txt b/forge-gui/res/cardsfolder/r/raving_dead.txt index 830c073669d..41733a46ff4 100644 --- a/forge-gui/res/cardsfolder/r/raving_dead.txt +++ b/forge-gui/res/cardsfolder/r/raving_dead.txt @@ -7,7 +7,7 @@ T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigChoose | Tr SVar:TrigChoose:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | Random$ True | SubAbility$ DBPump SVar:DBPump:DB$ Pump | Defined$ Self | KW$ HIDDEN CARDNAME attacks specific player each combat if able:ChosenPlayer | UntilEndOfCombat$ True T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigLoseLifeOpp | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player loses half their life, rounded down. -SVar:TrigLoseLifeOpp:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ RavingXOpp | References$ RavingXOpp +SVar:TrigLoseLifeOpp:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ RavingXOpp SVar:RavingXOpp:TriggeredTarget$LifeTotal/HalfDown SVar:MustBeBlocked:True Oracle:Deathtouch\nAt the beginning of combat on your turn, choose an opponent at random. Raving Dead attacks that player this combat if able.\nWhenever Raving Dead deals combat damage to a player, that player loses half their life, rounded down. diff --git a/forge-gui/res/cardsfolder/r/razia_boros_archangel.txt b/forge-gui/res/cardsfolder/r/razia_boros_archangel.txt index 1aceb600e55..d0dfc86e1a1 100644 --- a/forge-gui/res/cardsfolder/r/razia_boros_archangel.txt +++ b/forge-gui/res/cardsfolder/r/razia_boros_archangel.txt @@ -6,9 +6,9 @@ K:Flying K:Vigilance K:Haste A:AB$ Pump | Cost$ T | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage from | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ The next 3 damage that would be dealt to target creature you control this turn is dealt to another target creature instead. -SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TargetUnique$ True | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ RaziaDamage | Triggers$ OutOfSight | SVars$ RaziaDamage,RaziaDmg,ExileEffect,OutOfSight,X | References$ RaziaDamage,OutOfSight,RaziaDmg,ExileEffect,X | RememberObjects$ ParentTarget | ImprintCards$ ThisTargetedCard | ConditionDefined$ ParentTarget | ConditionPresent$ Creature | ConditionCompare$ GE1 +SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TargetUnique$ True | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ RaziaDamage | Triggers$ OutOfSight | SVars$ RaziaDamage,RaziaDmg,ExileEffect,OutOfSight,X | RememberObjects$ ParentTarget | ImprintCards$ ThisTargetedCard | ConditionDefined$ ParentTarget | ConditionPresent$ Creature | ConditionCompare$ GE1 SVar:RaziaDamage:Event$ DamageDone | ValidTarget$ Creature.IsRemembered | ReplaceWith$ RaziaDmg | DamageTarget$ Imprinted | Description$ The next 3 damage that would be dealt to target creature this turn is dealt to target creature you control instead. -SVar:RaziaDmg:DB$ ReplaceSplitDamage | DamageTarget$ Imprinted | VarName$ X | References$ X +SVar:RaziaDmg:DB$ ReplaceSplitDamage | DamageTarget$ Imprinted | VarName$ X SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsImprinted,Card.IsRemembered | Execute$ ExileEffect | Static$ True SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:X:Number$3 diff --git a/forge-gui/res/cardsfolder/r/razor_hippogriff.txt b/forge-gui/res/cardsfolder/r/razor_hippogriff.txt index 576f4109655..6c3aa2246bf 100644 --- a/forge-gui/res/cardsfolder/r/razor_hippogriff.txt +++ b/forge-gui/res/cardsfolder/r/razor_hippogriff.txt @@ -5,7 +5,7 @@ PT:3/3 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, return target artifact card from your graveyard to your hand. You gain life equal to that card's converted mana cost. SVar:TrigChangeZone:DB$ChangeZone | ValidTgts$ Artifact.YouCtrl | TgtPrompt$ Select target artifact | Origin$ Graveyard | Destination$ Hand | SubAbility$ DBGainLife -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Targeted$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/razor_hippogriff.jpg Oracle:Flying\nWhen Razor Hippogriff enters the battlefield, return target artifact card from your graveyard to your hand. You gain life equal to that card's converted mana cost. diff --git a/forge-gui/res/cardsfolder/r/razorverge_thicket.txt b/forge-gui/res/cardsfolder/r/razorverge_thicket.txt index b70da5e95ae..3c6714b7a53 100644 --- a/forge-gui/res/cardsfolder/r/razorverge_thicket.txt +++ b/forge-gui/res/cardsfolder/r/razorverge_thicket.txt @@ -2,7 +2,7 @@ Name:Razorverge Thicket ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. SVar:ETBCheckSVar2:Count$LastStateBattlefield Land.YouCtrl A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add {G}. A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add {W}. diff --git a/forge-gui/res/cardsfolder/r/read_the_runes.txt b/forge-gui/res/cardsfolder/r/read_the_runes.txt index f8c36f4583e..0b06d1ff710 100644 --- a/forge-gui/res/cardsfolder/r/read_the_runes.txt +++ b/forge-gui/res/cardsfolder/r/read_the_runes.txt @@ -1,7 +1,7 @@ Name:Read the Runes ManaCost:X U Types:Instant -A:SP$ Draw | Cost$ X U | NumCards$ X | SubAbility$ DBRepeat | References$ X | RememberDrawn$ True | SpellDescription$ Draw X cards. For each card drawn this way, discard a card unless you sacrifice a permanent. +A:SP$ Draw | Cost$ X U | NumCards$ X | SubAbility$ DBRepeat | RememberDrawn$ True | SpellDescription$ Draw X cards. For each card drawn this way, discard a card unless you sacrifice a permanent. SVar:DBRepeat:DB$ RepeatEach | UseImprinted$ True | RepeatCards$ Card.IsRemembered | Zone$ Hand | RepeatSubAbility$ DBDiscard | SubAbility$ DBCleanup SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose | UnlessCost$ Sac<1/Permanent> | UnlessPayer$ You SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/r/reality_spasm.txt b/forge-gui/res/cardsfolder/r/reality_spasm.txt index fe505b99185..2a1c9436429 100644 --- a/forge-gui/res/cardsfolder/r/reality_spasm.txt +++ b/forge-gui/res/cardsfolder/r/reality_spasm.txt @@ -2,8 +2,8 @@ Name:Reality Spasm ManaCost:X U U Types:Instant A:SP$ Charm | Cost$ X U U | Choices$ Tap,Untap -SVar:Tap:DB$ Tap | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Permanent | TgtPrompt$ Select X target permanents | SpellDescription$ Tap X target permanents -SVar:Untap:DB$ Untap | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Permanent | TgtPrompt$ Select X target permanents | SpellDescription$ Untap X target permanents. +SVar:Tap:DB$ Tap | TargetMin$ X | TargetMax$ X | ValidTgts$ Permanent | TgtPrompt$ Select X target permanents | SpellDescription$ Tap X target permanents +SVar:Untap:DB$ Untap | TargetMin$ X | TargetMax$ X | ValidTgts$ Permanent | TgtPrompt$ Select X target permanents | SpellDescription$ Untap X target permanents. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Choose one —\n• Tap X target permanents.\n• Untap X target permanents. diff --git a/forge-gui/res/cardsfolder/r/reanimate.txt b/forge-gui/res/cardsfolder/r/reanimate.txt index b7aa7d12b3a..0f7cd04c395 100644 --- a/forge-gui/res/cardsfolder/r/reanimate.txt +++ b/forge-gui/res/cardsfolder/r/reanimate.txt @@ -2,7 +2,7 @@ Name:Reanimate ManaCost:B Types:Sorcery A:SP$ ChangeZone | Cost$ B | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | TgtPrompt$ Choose target creature card in a graveyard | ValidTgts$ Creature | ChangeNum$ 1 | SubAbility$ DBLoseLifeYou | SpellDescription$ Put target creature card from a graveyard onto the battlefield under your control. You lose life equal to its converted mana cost. -SVar:DBLoseLifeYou:DB$LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBLoseLifeYou:DB$LoseLife | Defined$ You | LifeAmount$ X SVar:X:Targeted$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/reanimate.jpg Oracle:Put target creature card from a graveyard onto the battlefield under your control. You lose life equal to its converted mana cost. diff --git a/forge-gui/res/cardsfolder/r/reap.txt b/forge-gui/res/cardsfolder/r/reap.txt index 96af8969e66..713db71fd1d 100644 --- a/forge-gui/res/cardsfolder/r/reap.txt +++ b/forge-gui/res/cardsfolder/r/reap.txt @@ -2,7 +2,7 @@ Name:Reap ManaCost:1 G Types:Instant A:SP$ Pump | Cost$ 1 G | TgtPrompt$ Select target Opponent | ValidTgts$ Opponent | SubAbility$ GraveReap | StackDescription$ Select target opponent. | SpellDescription$ Return up to X target cards from your graveyard to your hand, where X is the number of black permanents target opponent controls as you cast this spell. -SVar:GraveReap:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | TargetMin$ 0 | TargetMax$ NrBlackAtCasting | References$ NrBlackAtCasting | TgtPrompt$ Choose target card in your graveyard | ValidTgts$ Card.YouCtrl +SVar:GraveReap:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | TargetMin$ 0 | TargetMax$ NrBlackAtCastingrBlackAtCasting | TgtPrompt$ Choose target card in your graveyard | ValidTgts$ Card.YouCtrl SVar:NrBlackAtCasting:Count$Valid Permanent.Black+TargetedPlayerCtrl SVar:AIPlayForSub:True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/r/reap_intellect.txt b/forge-gui/res/cardsfolder/r/reap_intellect.txt index ef0b89a219c..f603347d517 100644 --- a/forge-gui/res/cardsfolder/r/reap_intellect.txt +++ b/forge-gui/res/cardsfolder/r/reap_intellect.txt @@ -1,11 +1,11 @@ Name:Reap Intellect ManaCost:X 2 U B Types:Sorcery -A:SP$ ChangeZone | Cost$ X 2 U B | Origin$ Hand | Destination$ Exile | ValidTgts$ Opponent | DefinedPlayer$ Targeted | Chooser$ You | ChangeType$ Card.nonLand | ChangeNum$ X | References$ X | IsCurse$ True | Mandatory$ True | RememberChanged$ True | SubAbility$ DBRepeat | SpellDescription$ Target opponent reveals their hand. You choose X non-land cards from among them. Search that player's library, hand and graveyard for cards with the same name as those cards and exile them. Then, that player shuffles their library. +A:SP$ ChangeZone | Cost$ X 2 U B | Origin$ Hand | Destination$ Exile | ValidTgts$ Opponent | DefinedPlayer$ Targeted | Chooser$ You | ChangeType$ Card.nonLand | ChangeNum$ X | IsCurse$ True | Mandatory$ True | RememberChanged$ True | SubAbility$ DBRepeat | SpellDescription$ Target opponent reveals their hand. You choose X non-land cards from among them. Search that player's library, hand and graveyard for cards with the same name as those cards and exile them. Then, that player shuffles their library. SVar:DBRepeat:DB$ RepeatEach | UseImprinted$ True | RepeatCards$ Card.IsRemembered | Zone$ Exile | RepeatSubAbility$ ExileYard | SubAbility$ DBCleanup -SVar:ExileYard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Card.sharesNameWith Imprinted | ChangeNum$ NumInYard | References$ NumInYard | Chooser$ You | Hidden$ True | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Card.sharesNameWith Imprinted | ChangeNum$ NumInHand | References$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Card.sharesNameWith Imprinted | ChangeNum$ NumInLib | References$ NumInLib | Chooser$ You | Shuffle$ True | StackDescription$ None +SVar:ExileYard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Card.sharesNameWith Imprinted | ChangeNum$ NumInYard | Chooser$ You | Hidden$ True | SubAbility$ ExileHand | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Card.sharesNameWith Imprinted | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedPlayer | ChangeType$ Card.sharesNameWith Imprinted | ChangeNum$ NumInLib | Chooser$ You | Shuffle$ True | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:NumInHand:TargetedPlayer$CardsInHand SVar:NumInLib:TargetedPlayer$CardsInLibrary diff --git a/forge-gui/res/cardsfolder/r/reap_the_past.txt b/forge-gui/res/cardsfolder/r/reap_the_past.txt index 33b0f7f3bff..c903df3e3e0 100644 --- a/forge-gui/res/cardsfolder/r/reap_the_past.txt +++ b/forge-gui/res/cardsfolder/r/reap_the_past.txt @@ -1,7 +1,7 @@ Name:Reap the Past ManaCost:X R G Types:Sorcery -A:SP$ ChangeZone | Cost$ X R G | Origin$ Graveyard | Destination$ Hand | ChangeType$ Card.YouOwn | ChangeNum$ X | Hidden$ True | AtRandom$ True | SubAbility$ DBExile | References$ X | SpellDescription$ Return X cards at random from your graveyard to your hand. Exile CARDNAME. +A:SP$ ChangeZone | Cost$ X R G | Origin$ Graveyard | Destination$ Hand | ChangeType$ Card.YouOwn | ChangeNum$ X | Hidden$ True | AtRandom$ True | SubAbility$ DBExile | SpellDescription$ Return X cards at random from your graveyard to your hand. Exile CARDNAME. SVar:X:Count$xPaid SVar:DBExile:DB$ChangeZone | Origin$ Stack | Destination$ Exile Oracle:Return X cards at random from your graveyard to your hand. Exile Reap the Past. diff --git a/forge-gui/res/cardsfolder/r/reaper_from_the_abyss.txt b/forge-gui/res/cardsfolder/r/reaper_from_the_abyss.txt index 98f114473b4..53c3b23bdee 100644 --- a/forge-gui/res/cardsfolder/r/reaper_from_the_abyss.txt +++ b/forge-gui/res/cardsfolder/r/reaper_from_the_abyss.txt @@ -3,7 +3,7 @@ ManaCost:3 B B B Types:Creature Demon PT:6/6 K:Flying -T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ Morbid | SVarCompare$ GE1 | References$ Morbid | TriggerZones$ Battlefield | Execute$ TrigDestroy | TriggerDescription$ Morbid — At the beginning of each end step, if a creature died this turn, destroy target non-demon creature. +T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ Morbid | SVarCompare$ GE1 | TriggerZones$ Battlefield | Execute$ TrigDestroy | TriggerDescription$ Morbid — At the beginning of each end step, if a creature died this turn, destroy target non-demon creature. SVar:TrigDestroy:DB$ Destroy | ValidTgts$ Creature.nonDemon | TgtPrompt$ Select target non-demon creature SVar:Morbid:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/reaper_from_the_abyss.jpg diff --git a/forge-gui/res/cardsfolder/r/reaper_of_night_harvest_fear.txt b/forge-gui/res/cardsfolder/r/reaper_of_night_harvest_fear.txt index 6e1be50c74e..8cf699b5681 100644 --- a/forge-gui/res/cardsfolder/r/reaper_of_night_harvest_fear.txt +++ b/forge-gui/res/cardsfolder/r/reaper_of_night_harvest_fear.txt @@ -2,7 +2,7 @@ Name:Reaper of Night ManaCost:5 B B Types:Creature Specter PT:4/5 -T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | CheckSVar$ X | SVarCompare$ LE2 | References$ X | TriggerDescription$ Whenever CARDNAME attacks, if defending player has two or fewer cards in hand, it gains flying until end of turn. +T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | CheckSVar$ X | SVarCompare$ LE2 | TriggerDescription$ Whenever CARDNAME attacks, if defending player has two or fewer cards in hand, it gains flying until end of turn. SVar:X:Count$ValidHand Card.DefenderCtrl SVar:TrigPump:DB$ Pump | Defined$ Self | KW$ Flying Oracle:Whenever Reaper of Night attacks, if defending player has two or fewer cards in hand, it gains flying until end of turn. diff --git a/forge-gui/res/cardsfolder/r/reaver_drone.txt b/forge-gui/res/cardsfolder/r/reaver_drone.txt index f439bbf2f5f..bc4b1abf255 100644 --- a/forge-gui/res/cardsfolder/r/reaver_drone.txt +++ b/forge-gui/res/cardsfolder/r/reaver_drone.txt @@ -3,8 +3,8 @@ ManaCost:B Types:Creature Eldrazi Drone PT:2/1 K:Devoid -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigLoseLife | TriggerZones$ Battlefield | References$ X | TriggerDescription$ At the beginning of your upkeep, you lose 1 life unless you control another colorless creature. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigLoseLife | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, you lose 1 life unless you control another colorless creature. +SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 SVar:X:Count$Valid Creature.YouCtrl+Colorless+Other DeckHints:Keyword$Devoid & Color$Colorless SVar:Picture:http://www.wizards.com/global/images/magic/general/reaver_drone.jpg diff --git a/forge-gui/res/cardsfolder/r/recall.txt b/forge-gui/res/cardsfolder/r/recall.txt index 1c9cc1355df..387ec173d25 100644 --- a/forge-gui/res/cardsfolder/r/recall.txt +++ b/forge-gui/res/cardsfolder/r/recall.txt @@ -1,8 +1,8 @@ Name:Recall ManaCost:X X U Types:Sorcery -A:SP$ Discard | Cost$ X X U | Defined$ You | Mode$ TgtChoose | NumCards$ X | References$ X | RememberDiscarded$ True | SubAbility$ DBChangeZone | SpellDescription$ Discard X cards, then return a card from your graveyard to your hand for each card discarded this way. Exile CARDNAME. -SVar:DBChangeZone:DB$ ChangeZone | Hidden$ True | Mandatory$ True | ChangeType$ Card.YouOwn | ChangeNum$ Y | References$ Y | Origin$ Graveyard | Destination$ Hand | SubAbility$ DBExile +A:SP$ Discard | Cost$ X X U | Defined$ You | Mode$ TgtChoose | NumCards$ X | RememberDiscarded$ True | SubAbility$ DBChangeZone | SpellDescription$ Discard X cards, then return a card from your graveyard to your hand for each card discarded this way. Exile CARDNAME. +SVar:DBChangeZone:DB$ ChangeZone | Hidden$ True | Mandatory$ True | ChangeType$ Card.YouOwn | ChangeNum$ Y | Origin$ Graveyard | Destination$ Hand | SubAbility$ DBExile SVar:DBExile:DB$ChangeZone | Origin$ Stack | Destination$ Exile | SubAbility$ Cleanup SVar:Cleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/r/recantation.txt b/forge-gui/res/cardsfolder/r/recantation.txt index a7d5095b61a..60b9b561360 100644 --- a/forge-gui/res/cardsfolder/r/recantation.txt +++ b/forge-gui/res/cardsfolder/r/recantation.txt @@ -1,7 +1,7 @@ Name:Recantation ManaCost:3 U U Types:Enchantment -A:AB$ ChangeZone | Cost$ U Sac<1/CARDNAME> | Origin$ Battlefield | Destination$ Hand | TargetMin$ 0 | TargetMax$ X | References$ X | ValidTgts$ Permanent | TgtPrompt$ Select target permanent. | SpellDescription$ Return up to X target permanents to their owners' hands, where X is the number of verse counters on CARDNAME. +A:AB$ ChangeZone | Cost$ U Sac<1/CARDNAME> | Origin$ Battlefield | Destination$ Hand | TargetMin$ 0 | TargetMax$ X | ValidTgts$ Permanent | TgtPrompt$ Select target permanent. | SpellDescription$ Return up to X target permanents to their owners' hands, where X is the number of verse counters on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ VERSE | CounterNum$ 1 SVar:X:Count$CardCounters.VERSE diff --git a/forge-gui/res/cardsfolder/r/reckless_crew.txt b/forge-gui/res/cardsfolder/r/reckless_crew.txt index 700fa3c5874..fa1aa491cd2 100644 --- a/forge-gui/res/cardsfolder/r/reckless_crew.txt +++ b/forge-gui/res/cardsfolder/r/reckless_crew.txt @@ -1,7 +1,7 @@ Name:Reckless Crew ManaCost:3 R Types:Sorcery -A:SP$ Token | Cost$ 3 R | TokenAmount$ X | References$ X | TokenScript$ r_2_1_dwarf_berserker | TokenOwner$ You | SubAbility$ DBRepeat | RememberTokens$ True | SpellDescription$ Create X 2/1 red Dwarf Berserker creature tokens, where X is the number of Vehicles you control plus the number of Equipment you control. For each of those tokens, you may attach an Equipment you control to it. +A:SP$ Token | Cost$ 3 R | TokenAmount$ X | TokenScript$ r_2_1_dwarf_berserker | TokenOwner$ You | SubAbility$ DBRepeat | RememberTokens$ True | SpellDescription$ Create X 2/1 red Dwarf Berserker creature tokens, where X is the number of Vehicles you control plus the number of Equipment you control. For each of those tokens, you may attach an Equipment you control to it. SVar:X:Count$Valid Vehicle.YouCtrl,Equipment.YouCtrl SVar:DBRepeat:DB$ RepeatEach | RepeatSubAbility$ ArmToken | DefinedCards$ RememberedCard | ClearRemembered$ True | StackDescription$ None SVar:ArmToken:DB$ Attach | Choices$ Equipment.YouCtrl | Defined$ Remembered | Optional$ True | StackDescription$ None diff --git a/forge-gui/res/cardsfolder/r/reckless_one.txt b/forge-gui/res/cardsfolder/r/reckless_one.txt index 5bf51007520..f35039cd529 100644 --- a/forge-gui/res/cardsfolder/r/reckless_one.txt +++ b/forge-gui/res/cardsfolder/r/reckless_one.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Creature Goblin Avatar PT:*/* K:Haste -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Goblins on the battlefield. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Goblins on the battlefield. SVar:X:Count$Valid Goblin SVar:BuffedBy:Goblin AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/r/reclaim_the_wastes.txt b/forge-gui/res/cardsfolder/r/reclaim_the_wastes.txt index 8da72fc7a02..69050465317 100755 --- a/forge-gui/res/cardsfolder/r/reclaim_the_wastes.txt +++ b/forge-gui/res/cardsfolder/r/reclaim_the_wastes.txt @@ -2,6 +2,6 @@ Name:Reclaim the Wastes ManaCost:G Types:Sorcery K:Kicker:3 -A:SP$ ChangeZone | Cost$ G | Origin$ Library | Destination$ Hand | ChangeType$ Land.Basic | ChangeTypeDesc$ basic land | ChangeNum$ X | References$ X | SpellDescription$ Search your library for a basic land card, reveal that card, put it into your hand, then shuffle your library. If this spell was kicked, search your library for two basic land cards instead of one. +A:SP$ ChangeZone | Cost$ G | Origin$ Library | Destination$ Hand | ChangeType$ Land.Basic | ChangeTypeDesc$ basic land | ChangeNum$ X | SpellDescription$ Search your library for a basic land card, reveal that card, put it into your hand, then shuffle your library. If this spell was kicked, search your library for two basic land cards instead of one. SVar:X:Count$Kicked.2.1 Oracle:Kicker {3} (You may pay an additional {3} as you cast this spell.)\nSearch your library for a basic land card, reveal it, put it into your hand, then shuffle your library. If this spell was kicked, search your library for two basic land cards instead of one. diff --git a/forge-gui/res/cardsfolder/r/reclusive_artificer.txt b/forge-gui/res/cardsfolder/r/reclusive_artificer.txt index 2c0b7e75bff..7c7d4e5563a 100644 --- a/forge-gui/res/cardsfolder/r/reclusive_artificer.txt +++ b/forge-gui/res/cardsfolder/r/reclusive_artificer.txt @@ -4,7 +4,7 @@ Types:Creature Human Artificer PT:2/3 K:Haste T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamage | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may have it deal damage to target creature equal to the number of artifacts you control. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X SVar:X:Count$TypeYouCtrl.Artifact SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/reclusive_artificer.jpg diff --git a/forge-gui/res/cardsfolder/r/recurring_insight.txt b/forge-gui/res/cardsfolder/r/recurring_insight.txt index 8a7a42284b9..f1b3a5af893 100644 --- a/forge-gui/res/cardsfolder/r/recurring_insight.txt +++ b/forge-gui/res/cardsfolder/r/recurring_insight.txt @@ -3,7 +3,7 @@ ManaCost:4 U U Types:Sorcery K:Rebound A:SP$ Pump | Cost$ 4 U U | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBDraw | StackDescription$ None | SpellDescription$ Draw cards equal to the number of cards in target opponent's hand. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:TargetedPlayer$CardsInHand AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/recurring_insight.jpg diff --git a/forge-gui/res/cardsfolder/r/red_mana_battery.txt b/forge-gui/res/cardsfolder/r/red_mana_battery.txt index fe2561a53c6..dbf5d25ab0a 100644 --- a/forge-gui/res/cardsfolder/r/red_mana_battery.txt +++ b/forge-gui/res/cardsfolder/r/red_mana_battery.txt @@ -2,7 +2,7 @@ Name:Red Mana Battery ManaCost:4 Types:Artifact A:AB$ PutCounter | Cost$ 2 T | CounterType$ CHARGE | CounterNum$ 1 | SpellDescription$ Put a charge counter on CARDNAME. -A:AB$ Mana | Cost$ T SubCounter | Produced$ R | Amount$ Y | References$ X,Y | CostDesc$ {T}, Remove any number of charge counters from CARDNAME: | AILogic$ ManaRitualBattery.1 | AINoRecursiveCheck$ True | SpellDescription$ Add {R}, then add an additional {R} for each charge counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ R | Amount$ Y | CostDesc$ {T}, Remove any number of charge counters from CARDNAME: | AILogic$ ManaRitualBattery.1 | AINoRecursiveCheck$ True | SpellDescription$ Add {R}, then add an additional {R} for each charge counter removed this way. SVar:Y:SVar$X/Plus.1 SVar:X:Count$xPaid AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/r/red_suns_zenith.txt b/forge-gui/res/cardsfolder/r/red_suns_zenith.txt index 045c26760f6..7cbe62bef43 100644 --- a/forge-gui/res/cardsfolder/r/red_suns_zenith.txt +++ b/forge-gui/res/cardsfolder/r/red_suns_zenith.txt @@ -1,7 +1,7 @@ Name:Red Sun's Zenith ManaCost:X R Types:Sorcery -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | RememberDamaged$ True | ReplaceDyingDefined$ Remembered | SubAbility$ DBCleanup | SpellDescription$ CARDNAME deals X damage to any target. If a creature dealt damage this way would die this turn, exile it instead. Shuffle CARDNAME into its owner's library. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | RememberDamaged$ True | ReplaceDyingDefined$ Remembered | SubAbility$ DBCleanup | SpellDescription$ CARDNAME deals X damage to any target. If a creature dealt damage this way would die this turn, exile it instead. Shuffle CARDNAME into its owner's library. SVar:X:Count$xPaid SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBShuffle SVar:DBShuffle:DB$ChangeZone | Origin$ Stack | Destination$ Library | Shuffle$ True diff --git a/forge-gui/res/cardsfolder/r/reflect_damage.txt b/forge-gui/res/cardsfolder/r/reflect_damage.txt index f1d5196889c..94302797c5e 100644 --- a/forge-gui/res/cardsfolder/r/reflect_damage.txt +++ b/forge-gui/res/cardsfolder/r/reflect_damage.txt @@ -2,7 +2,7 @@ Name:Reflect Damage ManaCost:3 R W Types:Instant A:SP$ ChooseSource | Cost$ 3 W R | Choices$ Card,Emblem | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ The next time a source of your choice would deal damage this turn, that damage is dealt to that source's controller instead. -SVar:DBEffect:DB$ Effect | ReplacementEffects$ SelflessDamage | SVars$ SelflessDmg,ExileEffect | References$ SelflessDamage,SelflessDmg,ExileEffect | SubAbility$ DBCleanup +SVar:DBEffect:DB$ Effect | ReplacementEffects$ SelflessDamage | SVars$ SelflessDmg,ExileEffect | SubAbility$ DBCleanup SVar:SelflessDamage:Event$ DamageDone | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ SelflessDmg | DamageTarget$ ReplacedSourceController | Description$ The next time a source of your choice would deal damage this turn, that damage is dealt to that source's controller instead. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ ReplacedSourceController | VarType$ Player | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile | Static$ True diff --git a/forge-gui/res/cardsfolder/r/reflecting_mirror.txt b/forge-gui/res/cardsfolder/r/reflecting_mirror.txt index 17b674bb566..04184e2d323 100644 --- a/forge-gui/res/cardsfolder/r/reflecting_mirror.txt +++ b/forge-gui/res/cardsfolder/r/reflecting_mirror.txt @@ -1,7 +1,7 @@ Name:Reflecting Mirror ManaCost:4 Types:Artifact -A:AB$ ChangeTargets | Cost$ X T | References$ X | TargetType$ Spell | ValidTgts$ Card | TargetValidTargeting$ You | TargetsSingleTarget$ True | TargetRestriction$ Player | SpellDescription$ Change the target of target spell with a single target if that target is you. The new target must be a player. X is twice the converted mana cost of that spell. +A:AB$ ChangeTargets | Cost$ X T | TargetType$ Spell | ValidTgts$ Card | TargetValidTargeting$ You | TargetsSingleTarget$ True | TargetRestriction$ Player | SpellDescription$ Change the target of target spell with a single target if that target is you. The new target must be a player. X is twice the converted mana cost of that spell. AI:RemoveDeck:All SVar:X:Targeted$CardManaCost/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/reflecting_mirror.jpg diff --git a/forge-gui/res/cardsfolder/r/refreshing_rain.txt b/forge-gui/res/cardsfolder/r/refreshing_rain.txt index 2ce7f1d83cb..2349ba8f8a9 100644 --- a/forge-gui/res/cardsfolder/r/refreshing_rain.txt +++ b/forge-gui/res/cardsfolder/r/refreshing_rain.txt @@ -1,7 +1,7 @@ Name:Refreshing Rain ManaCost:3 G Types:Instant -S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | CheckSVar$ X | CheckSecondSVar$ Y | References$ X,Y | Description$ If an opponent controls a Swamp and you control a Forest, you may cast this spell without paying its mana cost. +S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | CheckSVar$ X | CheckSecondSVar$ Y | Description$ If an opponent controls a Swamp and you control a Forest, you may cast this spell without paying its mana cost. SVar:X:Count$Valid Swamp.OppCtrl SVar:Y:Count$Valid Forest.YouCtrl A:SP$ GainLife | Cost$ 3 G | LifeAmount$ 6 | ValidTgts$ Player | TgtPrompt$ Choose a player | SpellDescription$ Target player gains 6 life. diff --git a/forge-gui/res/cardsfolder/r/refuse_cooperate.txt b/forge-gui/res/cardsfolder/r/refuse_cooperate.txt index e2e589b9b59..ad780c8c4fe 100644 --- a/forge-gui/res/cardsfolder/r/refuse_cooperate.txt +++ b/forge-gui/res/cardsfolder/r/refuse_cooperate.txt @@ -3,7 +3,7 @@ ManaCost:3 R AlternateMode: Split Types:Instant A:SP$ Pump | Cost$ 3 R | ValidTgts$ Card | TgtZone$ Stack | TgtPrompt$ Select target spell | PumpZone$ Stack | StackDescription$ None | SubAbility$ DBDmg | SpellDescription$ CARDNAME deals damage to target spell's controller equal to that spell's converted mana cost. -SVar:DBDmg:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | References$ X +SVar:DBDmg:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X SVar:X:Targeted$CardManaCost AI:RemoveDeck:All Oracle:Refuse deals damage to target spell's controller equal to that spell's converted mana cost. diff --git a/forge-gui/res/cardsfolder/r/regal_force.txt b/forge-gui/res/cardsfolder/r/regal_force.txt index bab885c75ef..e0a1fa4e2b2 100644 --- a/forge-gui/res/cardsfolder/r/regal_force.txt +++ b/forge-gui/res/cardsfolder/r/regal_force.txt @@ -3,7 +3,7 @@ ManaCost:4 G G G Types:Creature Elemental PT:5/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card for each green creature you control. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:Count$Valid Creature.Green+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/regal_force.jpg Oracle:When Regal Force enters the battlefield, draw a card for each green creature you control. diff --git a/forge-gui/res/cardsfolder/r/reign_of_terror.txt b/forge-gui/res/cardsfolder/r/reign_of_terror.txt index cbfa5d033c3..31e14d4af7e 100644 --- a/forge-gui/res/cardsfolder/r/reign_of_terror.txt +++ b/forge-gui/res/cardsfolder/r/reign_of_terror.txt @@ -4,7 +4,7 @@ Types:Sorcery A:SP$ GenericChoice | Cost$ 3 B B | Choices$ DestroyWhite,DestroyGreen | Defined$ You | StackDescription$ SpellDescription | SpellDescription$ Destroy all white or green creatures. They can't be regenerated. You lose 2 life for each creature that died this way. SVar:DestroyWhite:DB$ DestroyAll | ValidCards$ Creature.White | NoRegen$ True | RememberDestroyed$ True | SubAbility$ DBLoseLife | SpellDescription$ Destroy all white creatures SVar:DestroyGreen:DB$ DestroyAll | ValidCards$ Creature.Green | NoRegen$ True | RememberDestroyed$ True | SubAbility$ DBLoseLife | SpellDescription$ Destroy all green creatures -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ You | SubAbility$ DBCleanup | References$ X +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ You | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedSize/Twice AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/r/reign_of_the_pit.txt b/forge-gui/res/cardsfolder/r/reign_of_the_pit.txt index 52ab28fa21a..043e0fd81c8 100644 --- a/forge-gui/res/cardsfolder/r/reign_of_the_pit.txt +++ b/forge-gui/res/cardsfolder/r/reign_of_the_pit.txt @@ -2,7 +2,7 @@ Name:Reign of the Pit ManaCost:4 B B Types:Sorcery A:SP$ Sacrifice | Cost$ 4 B B | SacValid$ Creature | Defined$ Player | SubAbility$ DBToken | RememberSacrificed$ True | SpellDescription$ Each player sacrifices a creature. Create an X/X black Demon creature token with flying, where X is the total power of the creatures sacrificed this way. -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ b_x_x_demon_flying | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | LegacyImage$ b x x demon flying cns | References$ X | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ b_x_x_demon_flying | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | LegacyImage$ b x x demon flying cns | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardPower SVar:NeedsToPlayVar:Z EQ2 diff --git a/forge-gui/res/cardsfolder/r/reincarnation.txt b/forge-gui/res/cardsfolder/r/reincarnation.txt index 09aa98122a7..d120310eb8d 100644 --- a/forge-gui/res/cardsfolder/r/reincarnation.txt +++ b/forge-gui/res/cardsfolder/r/reincarnation.txt @@ -1,7 +1,7 @@ Name:Reincarnation ManaCost:1 G G Types:Instant -A:SP$ Effect | Cost$ 1 G G | ValidTgts$ Creature | TgtPrompt$ Choose target creature to reincarnate if it dies | Triggers$ TargetDies | SVars$ Reincarnate,ExileEffect | References$ TargetDies,Reincarnate,ExileEffect | RememberObjects$ Targeted | AILogic$ Fog | SpellDescription$ Choose target creature. When that creature dies this turn, return a creature card from its owner's graveyard to the battlefield under the control of that creature's owner. +A:SP$ Effect | Cost$ 1 G G | ValidTgts$ Creature | TgtPrompt$ Choose target creature to reincarnate if it dies | Triggers$ TargetDies | SVars$ Reincarnate,ExileEffect | RememberObjects$ Targeted | AILogic$ Fog | SpellDescription$ Choose target creature. When that creature dies this turn, return a creature card from its owner's graveyard to the battlefield under the control of that creature's owner. SVar:TargetDies:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.IsRemembered | Execute$ Reincarnate | TriggerController$ You | TriggerDescription$ When the target of Reincarnate dies this turn, return a creature card from its owner's graveyard to the battlefield under the control of that creature's owner. SVar:Reincarnate:DB$ ChangeZone | ChangeType$ Creature.sharesOwnerWith Remembered | Origin$ Graveyard | Destination$ Battlefield | Mandatory$ True | ChangeNum$ 1 | Hidden$ True | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/r/rejuvenating_springs.txt b/forge-gui/res/cardsfolder/r/rejuvenating_springs.txt index c3cb35e70be..c407e4869d7 100644 --- a/forge-gui/res/cardsfolder/r/rejuvenating_springs.txt +++ b/forge-gui/res/cardsfolder/r/rejuvenating_springs.txt @@ -2,7 +2,7 @@ Name:Rejuvenating Springs ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. SVar:ETBCheckSVar2:PlayerCountOpponents$Amount A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add {G}. A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add {U}. diff --git a/forge-gui/res/cardsfolder/r/rekindled_flame.txt b/forge-gui/res/cardsfolder/r/rekindled_flame.txt index 4317f31a3b9..fffac8087d1 100644 --- a/forge-gui/res/cardsfolder/r/rekindled_flame.txt +++ b/forge-gui/res/cardsfolder/r/rekindled_flame.txt @@ -2,7 +2,7 @@ Name:Rekindled Flame ManaCost:2 R R Types:Sorcery A:SP$ DealDamage | Cost$ 2 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to any target. -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | CheckSVar$ OppHand | References$ OppHand | SVarCompare$ EQ0 | OptionalDecider$ You | Execute$ TrigReturn | TriggerZones$ Graveyard | TriggerDescription$ At the beginning of your upkeep, if an opponent has no cards in hand, you may return CARDNAME from your graveyard to your hand. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | CheckSVar$ OppHand | SVarCompare$ EQ0 | OptionalDecider$ You | Execute$ TrigReturn | TriggerZones$ Graveyard | TriggerDescription$ At the beginning of your upkeep, if an opponent has no cards in hand, you may return CARDNAME from your graveyard to your hand. SVar:TrigReturn:DB$ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Hand SVar:OppHand:PlayerCountOpponents$LowestCardsInHand SVar:Picture:http://www.wizards.com/global/images/magic/general/rekindled_flame.jpg diff --git a/forge-gui/res/cardsfolder/r/release_the_gremlins.txt b/forge-gui/res/cardsfolder/r/release_the_gremlins.txt index ddce9581d3b..f3870db23cb 100644 --- a/forge-gui/res/cardsfolder/r/release_the_gremlins.txt +++ b/forge-gui/res/cardsfolder/r/release_the_gremlins.txt @@ -1,7 +1,7 @@ Name:Release the Gremlins ManaCost:X X R Types:Sorcery -A:SP$ Destroy | Cost$ X X R | TargetMin$ X | TargetMax$ X | ValidTgts$ Artifact | TgtPrompt$ Select X target artifacts | References$ X | SubAbility$ DBToken | SpellDescription$ Destroy X target artifacts. -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ r_2_2_gremlin | TokenOwner$ You | SpellDescription$ Create X 2/2 red Gremlin creature tokens. +A:SP$ Destroy | Cost$ X X R | TargetMin$ X | TargetMax$ X | ValidTgts$ Artifact | TgtPrompt$ Select X target artifacts | SubAbility$ DBToken | SpellDescription$ Destroy X target artifacts. +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ r_2_2_gremlin | TokenOwner$ You | SpellDescription$ Create X 2/2 red Gremlin creature tokens. SVar:X:Count$xPaid Oracle:Destroy X target artifacts. Create X 2/2 red Gremlin creature tokens. diff --git a/forge-gui/res/cardsfolder/r/relentless_dead.txt b/forge-gui/res/cardsfolder/r/relentless_dead.txt index 648524e19bc..e9320e4f961 100644 --- a/forge-gui/res/cardsfolder/r/relentless_dead.txt +++ b/forge-gui/res/cardsfolder/r/relentless_dead.txt @@ -6,7 +6,7 @@ K:Menace T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | TriggerController$ TriggeredCardController | ValidCard$ Card.Self | Execute$ TrigReturn | TriggerDescription$ When Relentless Dead dies, you may pay {B}. If you do, return it to its owner's hand. SVar:TrigReturn:AB$ ChangeZone | Cost$ B | Defined$ TriggeredNewCardLKICopy | Origin$ Graveyard | Destination$ Hand T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | OptionalDecider$ You | ValidCard$ Card.Self | Execute$ TrigChange | TriggerController$ TriggeredCardController | TriggerDescription$ When Relentless Dead dies, you may pay {X}. If you do, return another target Zombie creature card with converted mana cost X from your graveyard to the battlefield. -SVar:TrigChange:AB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.Zombie+Other | TargetsWithDefinedController$ TriggeredCardController | Cost$ X | References$ X +SVar:TrigChange:AB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.Zombie+Other | TargetsWithDefinedController$ TriggeredCardController | Cost$ X SVar:X:Targeted$CardManaCost DeckHints:Type$Zombie SVar:Picture:http://www.wizards.com/global/images/magic/general/relentless_dead.jpg diff --git a/forge-gui/res/cardsfolder/r/relentless_rats.txt b/forge-gui/res/cardsfolder/r/relentless_rats.txt index 282a1c808a2..0ece82aea9f 100644 --- a/forge-gui/res/cardsfolder/r/relentless_rats.txt +++ b/forge-gui/res/cardsfolder/r/relentless_rats.txt @@ -3,7 +3,7 @@ ManaCost:1 B B Types:Creature Rat PT:2/2 K:A deck can have any number of cards named CARDNAME. -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each other creature on the battlefield named Relentless Rats. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each other creature on the battlefield named Relentless Rats. SVar:X:Count$Valid Creature.namedRelentless Rats+Other SVar:BuffedBy:Creature.namedRelentless Rats SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/r/relic_amulet.txt b/forge-gui/res/cardsfolder/r/relic_amulet.txt index d144b0fa17a..a933ccac892 100644 --- a/forge-gui/res/cardsfolder/r/relic_amulet.txt +++ b/forge-gui/res/cardsfolder/r/relic_amulet.txt @@ -3,7 +3,7 @@ ManaCost:2 Types:Artifact T:Mode$ SpellCast | ValidCard$ Instant,Sorcery,Wizard | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigCounter | TriggerDescription$ Whenever you cast an instant, sorcery, or Wizard spell, put a charge counter on CARDNAME. SVar:TrigCounter:DB$ PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1 -A:AB$ DealDamage | Cost$ 2 T SubCounter | NumDmg$ X | References$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ It deals that much damage to target creature. +A:AB$ DealDamage | Cost$ 2 T SubCounter | NumDmg$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | SpellDescription$ It deals that much damage to target creature. SVar:X:SVar$CostCountersRemoved SVar:BuffedBy:Instant,Sorcery,Wizard DeckNeeds:Type$Instant|Sorcery|Wizard diff --git a/forge-gui/res/cardsfolder/r/relic_axe.txt b/forge-gui/res/cardsfolder/r/relic_axe.txt index dd7edc252be..697ac413b08 100755 --- a/forge-gui/res/cardsfolder/r/relic_axe.txt +++ b/forge-gui/res/cardsfolder/r/relic_axe.txt @@ -3,7 +3,7 @@ ManaCost:2 Types:Artifact Equipment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigAttach | TriggerDescription$ When CARDNAME enters the battlefield, attach it to target creature you control. SVar:TrigAttach:DB$ Attach | ValidTgts$ Creature.YouCtrl | AITgts$ Warrior | TgtPrompt$ Select target creature you control -S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ 1 | References$ X,Y | Description$ Equipped creature gets +1/+1. If it's a Warrior, it gets +2/+1 instead. +S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ 1 | Description$ Equipped creature gets +1/+1. If it's a Warrior, it gets +2/+1 instead. SVar:X:Count$Compare Y GE1.2.1 SVar:Y:Targeted$Valid Warrior SVar:Y:Count$Valid Warrior.AttachedBy diff --git a/forge-gui/res/cardsfolder/r/relic_runner.txt b/forge-gui/res/cardsfolder/r/relic_runner.txt index 5d662daa0b1..d1e0c2ad389 100644 --- a/forge-gui/res/cardsfolder/r/relic_runner.txt +++ b/forge-gui/res/cardsfolder/r/relic_runner.txt @@ -2,6 +2,6 @@ Name:Relic Runner ManaCost:1 U Types:Creature Human Rogue PT:2/1 -S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ Unblockable | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Description$ Relic Runner can't be blocked if you've cast a historic spell this turn. (Artifacts, legendaries, and Sagas are historic.) +S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ Unblockable | CheckSVar$ X | SVarCompare$ GE1 | Description$ Relic Runner can't be blocked if you've cast a historic spell this turn. (Artifacts, legendaries, and Sagas are historic.) SVar:X:Count$ThisTurnCast_Card.Historic+YouCtrl Oracle:Relic Runner can't be blocked if you've cast a historic spell this turn. (Artifacts, legendaries, and Sagas are historic.) diff --git a/forge-gui/res/cardsfolder/r/rending_vines.txt b/forge-gui/res/cardsfolder/r/rending_vines.txt index e4dc1a80a2c..a39389aa95f 100644 --- a/forge-gui/res/cardsfolder/r/rending_vines.txt +++ b/forge-gui/res/cardsfolder/r/rending_vines.txt @@ -1,7 +1,7 @@ Name:Rending Vines ManaCost:1 G G Types:Instant Arcane -A:SP$ Destroy | Cost$ 1 G G | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX | References$ X,Y | AITgts$ Card.cmcLTX | SubAbility$ DBDraw | SpellDescription$ Destroy target artifact or enchantment if its converted mana cost is less than or equal to the number of cards in your hand. +A:SP$ Destroy | Cost$ 1 G G | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX | AITgts$ Card.cmcLTX | SubAbility$ DBDraw | SpellDescription$ Destroy target artifact or enchantment if its converted mana cost is less than or equal to the number of cards in your hand. SVar:DBDraw:DB$ Draw | NumCards$ 1 | SpellDescription$ Draw a card. SVar:Y:Targeted$CardManaCost SVar:X:Count$InYourHand diff --git a/forge-gui/res/cardsfolder/r/renewing_dawn.txt b/forge-gui/res/cardsfolder/r/renewing_dawn.txt index a9ff8498f72..8294d5fdfde 100644 --- a/forge-gui/res/cardsfolder/r/renewing_dawn.txt +++ b/forge-gui/res/cardsfolder/r/renewing_dawn.txt @@ -1,7 +1,7 @@ Name:Renewing Dawn ManaCost:1 W Types:Sorcery -A:SP$ GainLife | Cost$ 1 W | LifeAmount$ X | References$ X | SpellDescription$ You gain 2 life for each Mountain target opponent controls. +A:SP$ GainLife | Cost$ 1 W | LifeAmount$ X | SpellDescription$ You gain 2 life for each Mountain target opponent controls. SVar:X:Count$TypeOppCtrl.Mountain/Times.2 AI:RemoveDeck:Random SVar:Picture:http://serv2.tcgimages.eu/img/cards/Portal/renewing_dawn.jpg diff --git a/forge-gui/res/cardsfolder/r/renewing_touch.txt b/forge-gui/res/cardsfolder/r/renewing_touch.txt index 7a52d11bda6..b352b471a54 100644 --- a/forge-gui/res/cardsfolder/r/renewing_touch.txt +++ b/forge-gui/res/cardsfolder/r/renewing_touch.txt @@ -1,7 +1,7 @@ Name:Renewing Touch ManaCost:G Types:Sorcery -A:SP$ ChangeZone | Cost$ G | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | References$ X | Shuffle$ True | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | AILogic$ AtOppEOT | SpellDescription$ Shuffle any number of target creature cards from your graveyard into your library. +A:SP$ ChangeZone | Cost$ G | Origin$ Graveyard | Destination$ Library | TargetMin$ 0 | TargetMax$ X | Shuffle$ True | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | AILogic$ AtOppEOT | SpellDescription$ Shuffle any number of target creature cards from your graveyard into your library. SVar:X:Count$TypeInYourYard.Creature SVar:Picture:http://serv3.tcgimages.eu/img/cards/Portal_Second_Age/renewing_touch.jpg Oracle:Shuffle any number of target creature cards from your graveyard into your library. diff --git a/forge-gui/res/cardsfolder/r/renounce.txt b/forge-gui/res/cardsfolder/r/renounce.txt index 43f892be05b..96390f07d4d 100644 --- a/forge-gui/res/cardsfolder/r/renounce.txt +++ b/forge-gui/res/cardsfolder/r/renounce.txt @@ -1,8 +1,8 @@ Name:Renounce ManaCost:1 W Types:Instant -A:SP$ Sacrifice | Cost$ 1 W | Defined$ You | Amount$ SacX | References$ SacX | SacValid$ Permanent | RememberSacrificed$ True | Optional$ True | SubAbility$ DBGainLife | SpellDescription$ Sacrifice any number of permanents. You gain 2 life for each permanent sacrificed this way. -SVar:DBGainLife:DB$GainLife | LifeAmount$ LifeX | References$ LifeX | SubAbility$ DBCleanup +A:SP$ Sacrifice | Cost$ 1 W | Defined$ You | Amount$ SacX | SacValid$ Permanent | RememberSacrificed$ True | Optional$ True | SubAbility$ DBGainLife | SpellDescription$ Sacrifice any number of permanents. You gain 2 life for each permanent sacrificed this way. +SVar:DBGainLife:DB$GainLife | LifeAmount$ LifeX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Permanent.YouCtrl SVar:LifeX:Remembered$Amount.Twice diff --git a/forge-gui/res/cardsfolder/r/repay_in_kind.txt b/forge-gui/res/cardsfolder/r/repay_in_kind.txt index 799a4d0ce9b..19e501d2471 100644 --- a/forge-gui/res/cardsfolder/r/repay_in_kind.txt +++ b/forge-gui/res/cardsfolder/r/repay_in_kind.txt @@ -1,7 +1,7 @@ Name:Repay in Kind ManaCost:5 B B Types:Sorcery -A:SP$ SetLife | Cost$ 5 B B | Defined$ Player | LifeAmount$ X | References$ X | SpellDescription$ Each player's life total becomes the lowest life total among all players. +A:SP$ SetLife | Cost$ 5 B B | Defined$ Player | LifeAmount$ X | SpellDescription$ Each player's life total becomes the lowest life total among all players. SVar:X:PlayerCountPlayers$LowestLifeTotal SVar:Picture:http://www.wizards.com/global/images/magic/general/repay_in_kind.jpg Oracle:Each player's life total becomes the lowest life total among all players. diff --git a/forge-gui/res/cardsfolder/r/repeal.txt b/forge-gui/res/cardsfolder/r/repeal.txt index 87927e72c65..54d4ca530f4 100644 --- a/forge-gui/res/cardsfolder/r/repeal.txt +++ b/forge-gui/res/cardsfolder/r/repeal.txt @@ -1,7 +1,7 @@ Name:Repeal ManaCost:X U Types:Instant -A:SP$ ChangeZone | Cost$ X U | Origin$ Battlefield | Destination$ Hand | TgtPrompt$ Choose target nonland permanent | ValidTgts$ Permanent.nonLand+cmcEQX | SubAbility$ DBDraw | References$ X | SpellDescription$ Return target nonland permanent with converted mana cost X to its owner's hand. Draw a card. +A:SP$ ChangeZone | Cost$ X U | Origin$ Battlefield | Destination$ Hand | TgtPrompt$ Choose target nonland permanent | ValidTgts$ Permanent.nonLand+cmcEQX | SubAbility$ DBDraw | SpellDescription$ Return target nonland permanent with converted mana cost X to its owner's hand. Draw a card. SVar:DBDraw:DB$Draw | NumCards$ 1 SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/repeal.jpg diff --git a/forge-gui/res/cardsfolder/r/repeating_barrage.txt b/forge-gui/res/cardsfolder/r/repeating_barrage.txt index 48065c0da10..9b8c67df00e 100644 --- a/forge-gui/res/cardsfolder/r/repeating_barrage.txt +++ b/forge-gui/res/cardsfolder/r/repeating_barrage.txt @@ -2,6 +2,6 @@ Name:Repeating Barrage ManaCost:1 R R Types:Sorcery A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to any target. -A:AB$ ChangeZone | Cost$ 3 R R | PrecostDesc$ Raid — | Origin$ Graveyard | Destination$ Hand | ActivationZone$ Graveyard | CheckSVar$ RaidTest | References$ RaidTest | AILogic$ CheckCondition | SpellDescription$ Return CARDNAME from your graveyard to your hand. Activate this ability only if you attacked this turn. +A:AB$ ChangeZone | Cost$ 3 R R | PrecostDesc$ Raid — | Origin$ Graveyard | Destination$ Hand | ActivationZone$ Graveyard | CheckSVar$ RaidTest | AILogic$ CheckCondition | SpellDescription$ Return CARDNAME from your graveyard to your hand. Activate this ability only if you attacked this turn. SVar:RaidTest:Count$AttackersDeclared Oracle:Repeating Barrage deals 3 damage to any target.\nRaid — {3}{R}{R}: Return Repeating Barrage from your graveyard to your hand. Activate this ability only if you attacked this turn. diff --git a/forge-gui/res/cardsfolder/r/repentance.txt b/forge-gui/res/cardsfolder/r/repentance.txt index 7614e6c4d8e..e3ec9be2448 100644 --- a/forge-gui/res/cardsfolder/r/repentance.txt +++ b/forge-gui/res/cardsfolder/r/repentance.txt @@ -1,7 +1,7 @@ Name:Repentance ManaCost:2 W Types:Sorcery -A:SP$ DealDamage | Cost$ 2 W | ValidTgts$ Creature | TgtPrompt$ Select target creature | DamageSource$ Targeted | NumDmg$ X | References$ X | SpellDescription$ Target creature deals damage to itself equal to its power. +A:SP$ DealDamage | Cost$ 2 W | ValidTgts$ Creature | TgtPrompt$ Select target creature | DamageSource$ Targeted | NumDmg$ X | SpellDescription$ Target creature deals damage to itself equal to its power. SVar:X:Targeted$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/repentance.jpg diff --git a/forge-gui/res/cardsfolder/r/repercussion.txt b/forge-gui/res/cardsfolder/r/repercussion.txt index 367940876e4..f635c1def1e 100644 --- a/forge-gui/res/cardsfolder/r/repercussion.txt +++ b/forge-gui/res/cardsfolder/r/repercussion.txt @@ -2,7 +2,7 @@ Name:Repercussion ManaCost:1 R R Types:Enchantment T:Mode$ DamageDoneOnce | ValidTarget$ Creature | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ Whenever a creature is dealt damage, CARDNAME deals that much damage to that creature's controller. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredTargetController | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredTargetController | NumDmg$ X SVar:X:TriggerCount$DamageAmount AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/repercussion.jpg diff --git a/forge-gui/res/cardsfolder/r/replicating_ring.txt b/forge-gui/res/cardsfolder/r/replicating_ring.txt index d570d863042..2952d64a3d1 100644 --- a/forge-gui/res/cardsfolder/r/replicating_ring.txt +++ b/forge-gui/res/cardsfolder/r/replicating_ring.txt @@ -4,7 +4,7 @@ Types:Snow Artifact A:AB$ Mana | Cost$ T | Produced$ Any | SpellDescription$ Add one mana of any color. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a night counter on CARDNAME. Then if it has eight or more night counters on it, remove all of them and create eight colorless snow artifact tokens named Replicated Ring with “{T}: At the beginning of your upkeep, put a night counter on CARDNAME. Then if it has eight or more night counters on it, remove all of them and create eight colorless snow artifact tokens named Replicated Ring with "{T}: Add one mana of any color." SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ NIGHT | CounterNum$ 1 | SubAbility$ DBBranch -SVar:DBBranch:DB$ Branch | BranchConditionSVar$ ReplicateTimer | References$ ReplicateTimer | TrueSubAbility$ DBRemoveCtrs +SVar:DBBranch:DB$ Branch | BranchConditionSVar$ ReplicateTimer | TrueSubAbility$ DBRemoveCtrs SVar:DBRemoveCtrs:DB$ RemoveCounter | Defined$ Self | CounterType$ NIGHT | CounterNum$ All | SubAbility$ DBToken SVar:ReplicateTimer:Count$Valid Card.Self+counters_GE8_NIGHT SVar:DBToken:DB$ Token | TokenAmount$ 8 | TokenScript$ replicated_ring | LegacyImage$ replicated ring khm diff --git a/forge-gui/res/cardsfolder/r/reprocess.txt b/forge-gui/res/cardsfolder/r/reprocess.txt index bb32f20f6f2..2d769931345 100644 --- a/forge-gui/res/cardsfolder/r/reprocess.txt +++ b/forge-gui/res/cardsfolder/r/reprocess.txt @@ -1,8 +1,8 @@ Name:Reprocess ManaCost:2 B B Types:Sorcery -A:SP$ Sacrifice | Cost$ 2 B B | Defined$ You | Amount$ SacX | References$ SacX | SacValid$ Artifact,Creature,Land | RememberSacrificed$ True | Optional$ True | SubAbility$ DBDraw | SpellDescription$ Sacrifice any number of artifacts, creatures, and/or lands. Draw a card for each permanent sacrificed this way. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ DrawX | References$ DrawX | SubAbility$ DBCleanup +A:SP$ Sacrifice | Cost$ 2 B B | Defined$ You | Amount$ SacX | SacValid$ Artifact,Creature,Land | RememberSacrificed$ True | Optional$ True | SubAbility$ DBDraw | SpellDescription$ Sacrifice any number of artifacts, creatures, and/or lands. Draw a card for each permanent sacrificed this way. +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ DrawX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Artifact.YouCtrl,Creature.YouCtrl,Land.YouCtrl SVar:DrawX:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/r/reshape.txt b/forge-gui/res/cardsfolder/r/reshape.txt index 1d9b85b328f..0c6c7a160a7 100644 --- a/forge-gui/res/cardsfolder/r/reshape.txt +++ b/forge-gui/res/cardsfolder/r/reshape.txt @@ -1,7 +1,7 @@ Name:Reshape ManaCost:X U U Types:Sorcery -A:SP$ ChangeZone | Cost$ X U U Sac<1/Artifact> | Origin$ Library | Destination$ Battlefield | ChangeType$ Artifact.cmcLEX | References$ X | ChangeNum$ 1 | Shuffle$ True | SpellDescription$ Search your library for an artifact card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library. +A:SP$ ChangeZone | Cost$ X U U Sac<1/Artifact> | Origin$ Library | Destination$ Battlefield | ChangeType$ Artifact.cmcLEX | ChangeNum$ 1 | Shuffle$ True | SpellDescription$ Search your library for an artifact card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/reshape.jpg diff --git a/forge-gui/res/cardsfolder/r/resilient_khenra.txt b/forge-gui/res/cardsfolder/r/resilient_khenra.txt index ee8924176b7..098ccd0446d 100644 --- a/forge-gui/res/cardsfolder/r/resilient_khenra.txt +++ b/forge-gui/res/cardsfolder/r/resilient_khenra.txt @@ -3,7 +3,7 @@ ManaCost:1 G Types:Creature Jackal Wizard PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may have target creature get +X/+X until end of turn, where X is CARDNAME's power. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X K:Eternalize:4 G G # HOU Release Notes: if power less than 0 as the ability resolves, then X=0 SVar:X:Count$CardPower diff --git a/forge-gui/res/cardsfolder/r/resolute_archangel.txt b/forge-gui/res/cardsfolder/r/resolute_archangel.txt index 6db246cb583..d587ba39dee 100644 --- a/forge-gui/res/cardsfolder/r/resolute_archangel.txt +++ b/forge-gui/res/cardsfolder/r/resolute_archangel.txt @@ -3,8 +3,8 @@ ManaCost:5 W W Types:Creature Angel PT:4/4 K:Flying -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSetLife | CheckSVar$ X | SVarCompare$ LTY | References$ X,Y | TriggerDescription$ When CARDNAME enters the battlefield, if your life total is lower than your starting life total, it becomes equal to your starting life total. -SVar:TrigSetLife:DB$ SetLife | Defined$ You | LifeAmount$ Y | References$ Y +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSetLife | CheckSVar$ X | SVarCompare$ LTY | TriggerDescription$ When CARDNAME enters the battlefield, if your life total is lower than your starting life total, it becomes equal to your starting life total. +SVar:TrigSetLife:DB$ SetLife | Defined$ You | LifeAmount$ Y SVar:X:Count$YourLifeTotal SVar:Y:Count$YourStartingLife SVar:NeedsToPlayVar:X LTY diff --git a/forge-gui/res/cardsfolder/r/respite.txt b/forge-gui/res/cardsfolder/r/respite.txt index 1596226730f..b912d1da303 100644 --- a/forge-gui/res/cardsfolder/r/respite.txt +++ b/forge-gui/res/cardsfolder/r/respite.txt @@ -2,7 +2,7 @@ Name:Respite ManaCost:1 G Types:Instant A:SP$ Fog | Cost$ 1 G | SubAbility$ DBGainLife | SpellDescription$ Prevent all combat damage that would be dealt this turn. You gain 1 life for each attacking creature. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.attacking SVar:Picture:http://www.wizards.com/global/images/magic/general/respite.jpg Oracle:Prevent all combat damage that would be dealt this turn. You gain 1 life for each attacking creature. diff --git a/forge-gui/res/cardsfolder/r/rest_for_the_weary.txt b/forge-gui/res/cardsfolder/r/rest_for_the_weary.txt index 446126e5df5..7c5052fcf30 100644 --- a/forge-gui/res/cardsfolder/r/rest_for_the_weary.txt +++ b/forge-gui/res/cardsfolder/r/rest_for_the_weary.txt @@ -1,7 +1,7 @@ Name:Rest for the Weary ManaCost:1 W Types:Instant -A:SP$ GainLife | Cost$ 1 W | LifeAmount$ X | References$ X | ValidTgts$ Player | TgtPrompt$ Select target player | SpellDescription$ Target player gains 4 life. Landfall — If you had a land enter the battlefield under your control this turn, that player gains 8 life instead. +A:SP$ GainLife | Cost$ 1 W | LifeAmount$ X | ValidTgts$ Player | TgtPrompt$ Select target player | SpellDescription$ Target player gains 4 life. Landfall — If you had a land enter the battlefield under your control this turn, that player gains 8 life instead. SVar:X:Count$Landfall.8.4 SVar:Picture:http://www.wizards.com/global/images/magic/general/rest_for_the_weary.jpg Oracle:Target player gains 4 life.\nLandfall — If you had a land enter the battlefield under your control this turn, that player gains 8 life instead. diff --git a/forge-gui/res/cardsfolder/r/restless_dreams.txt b/forge-gui/res/cardsfolder/r/restless_dreams.txt index 644dd83a647..a863b5748f7 100644 --- a/forge-gui/res/cardsfolder/r/restless_dreams.txt +++ b/forge-gui/res/cardsfolder/r/restless_dreams.txt @@ -1,7 +1,7 @@ Name:Restless Dreams ManaCost:B Types:Sorcery -A:SP$ ChangeZone | Cost$ B Discard | CostDesc$ As an additional cost to cast this spell, discard X cards. | Origin$ Graveyard | Destination$ Hand | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Creature.YouOwn | SpellDescription$ Return X target creature cards from your graveyard to your hand. +A:SP$ ChangeZone | Cost$ B Discard | CostDesc$ As an additional cost to cast this spell, discard X cards. | Origin$ Graveyard | Destination$ Hand | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature.YouOwn | SpellDescription$ Return X target creature cards from your graveyard to your hand. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, discard X cards.\nReturn X target creature cards from your graveyard to your hand. diff --git a/forge-gui/res/cardsfolder/r/retaliator_griffin.txt b/forge-gui/res/cardsfolder/r/retaliator_griffin.txt index e4111734bbc..d82fcbafba4 100644 --- a/forge-gui/res/cardsfolder/r/retaliator_griffin.txt +++ b/forge-gui/res/cardsfolder/r/retaliator_griffin.txt @@ -4,7 +4,7 @@ Types:Creature Griffin PT:2/2 K:Flying T:Mode$ DamageDone | ValidSource$ Card.OppCtrl | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerDescription$ Whenever a source an opponent controls deals damage to you, you may put that many +1/+1 counters on CARDNAME. -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/retaliator_griffin.jpg Oracle:Flying\nWhenever a source an opponent controls deals damage to you, you may put that many +1/+1 counters on Retaliator Griffin. diff --git a/forge-gui/res/cardsfolder/r/rethink.txt b/forge-gui/res/cardsfolder/r/rethink.txt index 583b49fe623..daeb5e67752 100644 --- a/forge-gui/res/cardsfolder/r/rethink.txt +++ b/forge-gui/res/cardsfolder/r/rethink.txt @@ -1,7 +1,7 @@ Name:Rethink ManaCost:2 U Types:Instant -A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | ValidTgts$ Card | UnlessCost$ X | UnlessPayer$ TargetedController | References$ X | SpellDescription$ Counter target spell unless its controller pays {X}, where X is its converted mana cost. +A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | ValidTgts$ Card | UnlessCost$ X | UnlessPayer$ TargetedController | SpellDescription$ Counter target spell unless its controller pays {X}, where X is its converted mana cost. SVar:X:Targeted$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/rethink.jpg Oracle:Counter target spell unless its controller pays {X}, where X is its converted mana cost. diff --git a/forge-gui/res/cardsfolder/r/retribution_of_the_ancients.txt b/forge-gui/res/cardsfolder/r/retribution_of_the_ancients.txt index a78a1318b96..37a49a1e18e 100644 --- a/forge-gui/res/cardsfolder/r/retribution_of_the_ancients.txt +++ b/forge-gui/res/cardsfolder/r/retribution_of_the_ancients.txt @@ -1,7 +1,7 @@ Name:Retribution of the Ancients ManaCost:B Types:Enchantment -A:AB$ Pump | Cost$ B RemoveAnyCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | References$ X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn. +A:AB$ Pump | Cost$ B RemoveAnyCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn. SVar:X:Count$xPaid AI:RemoveDeck:All DeckNeeds:Ability$Counters diff --git a/forge-gui/res/cardsfolder/r/return_of_the_wildspeaker.txt b/forge-gui/res/cardsfolder/r/return_of_the_wildspeaker.txt index 25e67135c63..12618878d41 100644 --- a/forge-gui/res/cardsfolder/r/return_of_the_wildspeaker.txt +++ b/forge-gui/res/cardsfolder/r/return_of_the_wildspeaker.txt @@ -2,7 +2,7 @@ Name:Return of the Wildspeaker ManaCost:4 G Types:Instant A:SP$ Charm | Cost$ 4 G | Choices$ DBDraw,DBPumpAll -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SpellDescription$ Draw cards equal to the greatest power among non-Human creatures you control. +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SpellDescription$ Draw cards equal to the greatest power among non-Human creatures you control. SVar:X:Count$GreatestPower_Creature.YouCtrl+nonHuman SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl+nonHuman | NumAtt$ 3 | NumDef$ 3 | SpellDescription$ Non-Human creatures you control get +3/+3 until end of turn. Oracle:Choose one —\n• Draw cards equal to the greatest power among non-Human creatures you control.\n• Non-Human creatures you control get +3/+3 until end of turn. diff --git a/forge-gui/res/cardsfolder/r/return_to_dust.txt b/forge-gui/res/cardsfolder/r/return_to_dust.txt index 25093adb331..914d9d0f1c0 100644 --- a/forge-gui/res/cardsfolder/r/return_to_dust.txt +++ b/forge-gui/res/cardsfolder/r/return_to_dust.txt @@ -1,7 +1,7 @@ Name:Return to Dust ManaCost:2 W W Types:Instant -A:SP$ ChangeZone | Cost$ 2 W W | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | TargetMin$ 1 | TargetMax$ X | References$ X | SpellDescription$ Exile target artifact or enchantment. If you cast this spell during your main phase, you may exile up to one other target artifact or enchantment. +A:SP$ ChangeZone | Cost$ 2 W W | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | TargetMin$ 1 | TargetMax$ X | SpellDescription$ Exile target artifact or enchantment. If you cast this spell during your main phase, you may exile up to one other target artifact or enchantment. SVar:X:Count$IfCastInOwnMainPhase.2.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/return_to_dust.jpg Oracle:Exile target artifact or enchantment. If you cast this spell during your main phase, you may exile up to one other target artifact or enchantment. diff --git a/forge-gui/res/cardsfolder/r/return_to_the_ranks.txt b/forge-gui/res/cardsfolder/r/return_to_the_ranks.txt index 42676b1a869..3988116d146 100644 --- a/forge-gui/res/cardsfolder/r/return_to_the_ranks.txt +++ b/forge-gui/res/cardsfolder/r/return_to_the_ranks.txt @@ -2,6 +2,6 @@ Name:Return to the Ranks ManaCost:X W W Types:Sorcery K:Convoke -A:SP$ ChangeZone | Cost$ X W W | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouOwn+cmcLE2 | TgtPrompt$ Select X target creatures with converted mana cost 2 or less | TargetMin$ X | TargetMax$ X | References$ X | SpellDescription$ Return X target creature cards with converted mana cost 2 or less from your graveyard to the battlefield. +A:SP$ ChangeZone | Cost$ X W W | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouOwn+cmcLE2 | TgtPrompt$ Select X target creatures with converted mana cost 2 or less | TargetMin$ X | TargetMax$ X | SpellDescription$ Return X target creature cards with converted mana cost 2 or less from your graveyard to the battlefield. SVar:X:Count$xPaid Oracle:Convoke (Your creatures can help cast this spell. Each creature you tap while casting this spell pays for {1} or one mana of that creature's color.)\nReturn X target creature cards with converted mana cost 2 or less from your graveyard to the battlefield. diff --git a/forge-gui/res/cardsfolder/r/return_upon_the_tide.txt b/forge-gui/res/cardsfolder/r/return_upon_the_tide.txt index 93f4cd3fe3e..7a613202c69 100644 --- a/forge-gui/res/cardsfolder/r/return_upon_the_tide.txt +++ b/forge-gui/res/cardsfolder/r/return_upon_the_tide.txt @@ -2,7 +2,7 @@ Name:Return Upon the Tide ManaCost:4 B Types:Sorcery A:SP$ ChangeZone | Cost$ 4 B | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | SubAbility$ DBToken | SpellDescription$ Return target creature card from your graveyard to the battlefield. If it's an Elf, create two 1/1 green Elf Warrior creature tokens. -SVar:DBToken:DB$ Token | TokenAmount$ 2 | TokenScript$ g_1_1_elf_warrior | LegacyImage$ g 1 1 elf warrior khm | TokenOwner$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +SVar:DBToken:DB$ Token | TokenAmount$ 2 | TokenScript$ g_1_1_elf_warrior | LegacyImage$ g 1 1 elf warrior khm | TokenOwner$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:Targeted$Valid Elf K:Foretell:3 B DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/r/revenant.txt b/forge-gui/res/cardsfolder/r/revenant.txt index 53078f0d1c2..a794e10e222 100644 --- a/forge-gui/res/cardsfolder/r/revenant.txt +++ b/forge-gui/res/cardsfolder/r/revenant.txt @@ -3,7 +3,7 @@ ManaCost:4 B Types:Creature Spirit PT:*/* K:Flying -S:Mode$ Continuous | Affected$ Card.Self | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creature cards in your graveyard. +S:Mode$ Continuous | Affected$ Card.Self | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creature cards in your graveyard. SVar:X:Count$TypeInYourYard.Creature AI:RemoveDeck:Random SVar:NeedsToPlayVar:X GE3 diff --git a/forge-gui/res/cardsfolder/r/reverberation.txt b/forge-gui/res/cardsfolder/r/reverberation.txt index a6bc39d1436..095da8d03ef 100644 --- a/forge-gui/res/cardsfolder/r/reverberation.txt +++ b/forge-gui/res/cardsfolder/r/reverberation.txt @@ -2,7 +2,7 @@ Name:Reverberation ManaCost:2 U U Types:Instant # The target lists a second zone to a Card is returned instead of a SA -A:SP$ Effect | Cost$ 2 U U | ValidTgts$ Sorcery | AILogic$ Prevent | TgtZone$ Stack,Battlefield | TgtPrompt$ Select target sorcery spell to redirect damage from | RememberObjects$ Targeted | ExileOnMoved$ Stack | ReplacementEffects$ SelflessDamage | SVars$ SelflessDmg | References$ SelflessDamage,SelflessDmg | StackDescription$ SpellDescription | SpellDescription$ All damage that would be dealt this turn by target sorcery spell is dealt to that spell's controller instead. +A:SP$ Effect | Cost$ 2 U U | ValidTgts$ Sorcery | AILogic$ Prevent | TgtZone$ Stack,Battlefield | TgtPrompt$ Select target sorcery spell to redirect damage from | RememberObjects$ Targeted | ExileOnMoved$ Stack | ReplacementEffects$ SelflessDamage | SVars$ SelflessDmg | StackDescription$ SpellDescription | SpellDescription$ All damage that would be dealt this turn by target sorcery spell is dealt to that spell's controller instead. SVar:SelflessDamage:Event$ DamageDone | ValidSource$ Card.IsRemembered | ReplaceWith$ SelflessDmg | DamageTarget$ ReplacedSourceController | Description$ The next time a source of your choice would deal damage this turn, that damage is dealt to that source's controller instead. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ ReplacedSourceController | VarType$ Player AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/r/revered_unicorn.txt b/forge-gui/res/cardsfolder/r/revered_unicorn.txt index b8cdd295b75..b659f0d6a04 100644 --- a/forge-gui/res/cardsfolder/r/revered_unicorn.txt +++ b/forge-gui/res/cardsfolder/r/revered_unicorn.txt @@ -4,7 +4,7 @@ Types:Creature Unicorn PT:2/3 K:Cumulative upkeep:1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, you gain life equal to the number of age counters on it. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggeredCard$CardCounters.AGE SVar:Picture:http://www.wizards.com/global/images/magic/general/revered_unicorn.jpg Oracle:Cumulative upkeep {1} (At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it.)\nWhen Revered Unicorn leaves the battlefield, you gain life equal to the number of age counters on it. diff --git a/forge-gui/res/cardsfolder/r/reverent_hoplite.txt b/forge-gui/res/cardsfolder/r/reverent_hoplite.txt index da663896891..a02e3ef6ec1 100644 --- a/forge-gui/res/cardsfolder/r/reverent_hoplite.txt +++ b/forge-gui/res/cardsfolder/r/reverent_hoplite.txt @@ -3,7 +3,7 @@ ManaCost:4 W Types:Creature Human Soldier PT:1/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a number of 1/1 white Human Soldier creature tokens equal to your devotion to white. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ w_1_1_human_soldier | TokenOwner$ You | LegacyImage$ w 1 1 human soldier thb +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_human_soldier | TokenOwner$ You | LegacyImage$ w 1 1 human soldier thb SVar:X:Count$Devotion.White DeckHas:Ability$Token Oracle:When Reverent Hoplite enters the battlefield, create a number of 1/1 white Human Soldier creature tokens equal to your devotion to white. (Each {W} in the mana costs of permanents you control counts toward your devotion to white.) diff --git a/forge-gui/res/cardsfolder/r/reverent_hunter.txt b/forge-gui/res/cardsfolder/r/reverent_hunter.txt index 36a0a8948ac..97d5446015c 100644 --- a/forge-gui/res/cardsfolder/r/reverent_hunter.txt +++ b/forge-gui/res/cardsfolder/r/reverent_hunter.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Human Archer PT:1/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPut | TriggerDescription$ When CARDNAME enters the battlefield, put a number of +1/+1 counters on it equal to your devotion to green. -SVar:TrigPut:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPut:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ X SVar:X:Count$Devotion.Green SVar:Picture:http://www.wizards.com/global/images/magic/general/reverent_hunter.jpg Oracle:When Reverent Hunter enters the battlefield, put a number of +1/+1 counters on it equal to your devotion to green. (Each {G} in the mana costs of permanents you control counts toward your devotion to green.) diff --git a/forge-gui/res/cardsfolder/r/reverse_damage.txt b/forge-gui/res/cardsfolder/r/reverse_damage.txt index 02c9a43e9cb..bb1b892ee2b 100644 --- a/forge-gui/res/cardsfolder/r/reverse_damage.txt +++ b/forge-gui/res/cardsfolder/r/reverse_damage.txt @@ -4,7 +4,7 @@ Types:Instant A:SP$ ChooseSource | Cost$ 1 W W | Choices$ Card | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice would deal damage to you this turn, prevent that damage. You gain life equal to the damage prevented this way. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventNextFromSource | RememberObjects$ Remembered | SVars$ RPreventNextFromSource,ExileEffect,GainLifeInstead,X | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 SVar:RPreventNextFromSource:Event$ DamageDone | ValidSource$ Card.IsRemembered | ValidTarget$ You | ReplaceWith$ GainLifeInstead | PreventionEffect$ True | Description$ The next time the chosen source deals damage to you, prevent that damage. You gain life equal to the damage prevented this way. -SVar:GainLifeInstead:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ ExileEffect | References$ X +SVar:GainLifeInstead:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:X:ReplaceCount$DamageAmount SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/r/reverse_polarity.txt b/forge-gui/res/cardsfolder/r/reverse_polarity.txt index fed5ed73d21..ff9fd563d11 100644 --- a/forge-gui/res/cardsfolder/r/reverse_polarity.txt +++ b/forge-gui/res/cardsfolder/r/reverse_polarity.txt @@ -1,7 +1,7 @@ Name:Reverse Polarity ManaCost:W W Types:Instant -A:SP$ GainLife | Cost$ W W | Defined$ You | LifeAmount$ X | References$ X | SpellDescription$ You gain X life, where X is twice the damage dealt to you so far this turn by artifacts. +A:SP$ GainLife | Cost$ W W | Defined$ You | LifeAmount$ X | SpellDescription$ You gain X life, where X is twice the damage dealt to you so far this turn by artifacts. SVar:X:Count$YourTypeDamageThisTurn Artifact/Times.2 AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/reverse_polarity.jpg diff --git a/forge-gui/res/cardsfolder/r/reverse_the_sands.txt b/forge-gui/res/cardsfolder/r/reverse_the_sands.txt index aa049ab957b..39054fa1394 100644 --- a/forge-gui/res/cardsfolder/r/reverse_the_sands.txt +++ b/forge-gui/res/cardsfolder/r/reverse_the_sands.txt @@ -1,7 +1,7 @@ Name:Reverse the Sands ManaCost:6 W W Types:Sorcery -A:SP$ SetLife | Cost$ 6 W W | ValidTgts$ Player | TargetMin$ 0 | TargetMax$ Maxplayer | References$ Maxplayer | Redistribute$ True | SpellDescription$ Redistribute any number of players' life totals. (Each of those players gets one life total back.) +A:SP$ SetLife | Cost$ 6 W W | ValidTgts$ Player | TargetMin$ 0 | TargetMax$ Maxplayer | Redistribute$ True | SpellDescription$ Redistribute any number of players' life totals. (Each of those players gets one life total back.) SVar:Maxplayer:PlayerCountPlayers$Amount AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/reverse_the_sands.jpg diff --git a/forge-gui/res/cardsfolder/r/revival_revenge.txt b/forge-gui/res/cardsfolder/r/revival_revenge.txt index ad1df6df839..a07bf057aa8 100644 --- a/forge-gui/res/cardsfolder/r/revival_revenge.txt +++ b/forge-gui/res/cardsfolder/r/revival_revenge.txt @@ -10,8 +10,8 @@ ALTERNATE Name:Revenge ManaCost:4 W B Types:Sorcery -A:SP$ GainLife | Cost$ 4 W B | LifeAmount$ X | References$ X | SubAbility$ DBLoseHalf | SpellDescription$ Double your life total. Target opponent loses half their life, rounded up. -SVar:DBLoseHalf:DB$ LoseLife | ValidTgts$ Opponent | LifeAmount$ Y | References$ Y +A:SP$ GainLife | Cost$ 4 W B | LifeAmount$ X | SubAbility$ DBLoseHalf | SpellDescription$ Double your life total. Target opponent loses half their life, rounded up. +SVar:DBLoseHalf:DB$ LoseLife | ValidTgts$ Opponent | LifeAmount$ Y SVar:X:Count$YourLifeTotal SVar:Y:Count$TargetedLifeTotal/HalfUp Oracle:Double your life total. Target opponent loses half their life, rounded up. diff --git a/forge-gui/res/cardsfolder/r/reviving_vapors.txt b/forge-gui/res/cardsfolder/r/reviving_vapors.txt index a3afa633b34..c10352f71df 100644 --- a/forge-gui/res/cardsfolder/r/reviving_vapors.txt +++ b/forge-gui/res/cardsfolder/r/reviving_vapors.txt @@ -3,9 +3,9 @@ ManaCost:2 W U Types:Instant A:SP$ Dig | Cost$ 2 W U | DigNum$ 3 | Reveal$ True | ChangeNum$ 1 | LibraryPosition2$ 0 | RememberRevealed$ True | SubAbility$ DBimprint | StackDescription$ SpellDescription | SpellDescription$ Reveal the top three cards of your library and put one of them into your hand. You gain life equal to that card's converted mana cost. Put all other cards revealed this way into your graveyard. SVar:DBimprint:DB$ Pump | ImprintCards$ ValidHand Card.IsRemembered | StackDescription$ None | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X | SubAbility$ DBMill | StackDescription$ None +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | SubAbility$ DBMill | StackDescription$ None SVar:X:Imprinted$CardManaCost -SVar:DBMill:DB$ Mill | NumCards$ Y | References$ Y | SubAbility$ DBCleanup | StackDescription$ None +SVar:DBMill:DB$ Mill | NumCards$ Y | SubAbility$ DBCleanup | StackDescription$ None SVar:Y:Count$RememberedSize/Minus.1 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/reviving_vapors.jpg diff --git a/forge-gui/res/cardsfolder/r/reward_the_faithful.txt b/forge-gui/res/cardsfolder/r/reward_the_faithful.txt index 5b8218e3b2a..4cc51c07be3 100644 --- a/forge-gui/res/cardsfolder/r/reward_the_faithful.txt +++ b/forge-gui/res/cardsfolder/r/reward_the_faithful.txt @@ -1,7 +1,7 @@ Name:Reward the Faithful ManaCost:W Types:Instant -A:SP$ GainLife | Cost$ W | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgt | LifeAmount$ X | References$ X,MaxTgt | SpellDescription$ Any number of target players each gain life equal to the highest converted mana cost among permanents you control. +A:SP$ GainLife | Cost$ W | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgt | LifeAmount$ X | SpellDescription$ Any number of target players each gain life equal to the highest converted mana cost among permanents you control. SVar:X:Count$MaxCMCYouCtrl SVar:MaxTgt:PlayerCountPlayers$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/reward_the_faithful.jpg diff --git a/forge-gui/res/cardsfolder/r/reyhan_last_of_the_abzan.txt b/forge-gui/res/cardsfolder/r/reyhan_last_of_the_abzan.txt index 770e8295371..0127f1dd356 100644 --- a/forge-gui/res/cardsfolder/r/reyhan_last_of_the_abzan.txt +++ b/forge-gui/res/cardsfolder/r/reyhan_last_of_the_abzan.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Warrior PT:0/0 K:etbCounter:P1P1:3 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard,Command | ValidCard$ Creature.YouCtrl+counters_GE1_P1P1 | TriggerZones$ Battlefield | TriggerController$ TriggeredCardController | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ Whenever a creature you control dies or is put into the command zone, if it had one or more +1/+1 counters on it, you may put that many +1/+1 counters on target creature. -SVar:TrigPutCounter:DB$PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X SVar:X:TriggeredCard$CardCounters.P1P1 K:Partner DeckHints:Ability$Counters diff --git a/forge-gui/res/cardsfolder/r/rhox_faithmender.txt b/forge-gui/res/cardsfolder/r/rhox_faithmender.txt index ef2892cf07d..22a10efb1ba 100644 --- a/forge-gui/res/cardsfolder/r/rhox_faithmender.txt +++ b/forge-gui/res/cardsfolder/r/rhox_faithmender.txt @@ -4,7 +4,7 @@ Types:Creature Rhino Monk PT:1/5 K:Lifelink R:Event$ GainLife | ActiveZones$ Battlefield | ValidPlayer$ You | ReplaceWith$ GainDouble | AiLogic$ DoubleLife | Description$ If you would gain life, you gain twice that much life instead. -SVar:GainDouble:DB$ ReplaceEffect | VarName$ LifeGained | VarValue$ X | References$ X +SVar:GainDouble:DB$ ReplaceEffect | VarName$ LifeGained | VarValue$ X SVar:X:ReplaceCount$LifeGained/Twice SVar:PlayMain1:True DeckHints:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/r/rhys_the_exiled.txt b/forge-gui/res/cardsfolder/r/rhys_the_exiled.txt index 70d91d21a54..90374497af4 100644 --- a/forge-gui/res/cardsfolder/r/rhys_the_exiled.txt +++ b/forge-gui/res/cardsfolder/r/rhys_the_exiled.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Elf Warrior PT:3/2 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ Whenever CARDNAME attacks, you gain 1 life for each Elf you control. A:AB$ Regenerate | Cost$ B Sac<1/Elf> | SpellDescription$ Regenerate Rhys the Exiled. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Elf.YouCtrl # Explicit AI preference for SacCost is needed to avoid infinite recursion and stack overflow when AI is considering AB Regenerate with SacCost vs. trample creatures. SVar:AIPreference:SacCost$Creature.Elf diff --git a/forge-gui/res/cardsfolder/r/rhystic_lightning.txt b/forge-gui/res/cardsfolder/r/rhystic_lightning.txt index 39fb6eb85a6..ce4d1c90288 100644 --- a/forge-gui/res/cardsfolder/r/rhystic_lightning.txt +++ b/forge-gui/res/cardsfolder/r/rhystic_lightning.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Instant A:SP$ StoreSVar | Cost$ 2 R | SVar$ RhysticPaid | Type$ Number | Expression$ 0 | UnlessPayer$ Targeted | UnlessCost$ 2 | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | ConditionDefined$ Targeted | ConditionPresent$ Permanent | ConditionCompare$ EQ0 | SubAbility$ DBStore2 | SpellDescription$ CARDNAME deals 4 damage to any target unless that permanent's controller or that player pays {2}. If they do, CARDNAME deals 2 damage to the permanent or player. SVar:DBStore2:DB$ StoreSVar | SVar$ RhysticPaid | Type$ Number | Expression$ 0 | UnlessPayer$ TargetedController | UnlessCost$ 2 | ConditionDefined$ Targeted | ConditionPresent$ Permanent | ConditionCompare$ GE1 | SubAbility$ DBDmg -SVar:DBDmg:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | References$ X,RhysticPaid | SubAbility$ DBReset +SVar:DBDmg:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | SubAbility$ DBReset SVar:DBReset:DB$ StoreSVar | SVar$ RhysticPaid | Type$ Number | Expression$ 1 SVar:RhysticPaid:Number$1 SVar:X:Count$Compare RhysticPaid EQ1.2.4 diff --git a/forge-gui/res/cardsfolder/r/ribbons_of_the_reikai.txt b/forge-gui/res/cardsfolder/r/ribbons_of_the_reikai.txt index 6191be3f9e2..7e85587d2b6 100644 --- a/forge-gui/res/cardsfolder/r/ribbons_of_the_reikai.txt +++ b/forge-gui/res/cardsfolder/r/ribbons_of_the_reikai.txt @@ -1,7 +1,7 @@ Name:Ribbons of the Reikai ManaCost:4 U Types:Sorcery Arcane -A:SP$ Draw | Cost$ 4 U | NumCards$ X | References$ X | SpellDescription$ Draw a card for each Spirit you control. +A:SP$ Draw | Cost$ 4 U | NumCards$ X | SpellDescription$ Draw a card for each Spirit you control. SVar:X:Count$TypeYouCtrl.Spirit AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/ribbons_of_the_reikai.jpg diff --git a/forge-gui/res/cardsfolder/r/ricochet_trap.txt b/forge-gui/res/cardsfolder/r/ricochet_trap.txt index daa0b0af4c1..93f4e041876 100644 --- a/forge-gui/res/cardsfolder/r/ricochet_trap.txt +++ b/forge-gui/res/cardsfolder/r/ricochet_trap.txt @@ -1,7 +1,7 @@ Name:Ricochet Trap ManaCost:3 R Types:Instant Trap -SVar:AltCost:Cost$ R | CheckSVar$ X | References$ X | SVarCompare$ GE1 | StackDescription$ Description | Description$ If an opponent cast a blue spell this turn, you may pay {R} rather than pay this spell's mana cost. +SVar:AltCost:Cost$ R | CheckSVar$ X | SVarCompare$ GE1 | StackDescription$ Description | Description$ If an opponent cast a blue spell this turn, you may pay {R} rather than pay this spell's mana cost. A:SP$ ChangeTargets | Cost$ 3 R | TargetType$ Spell | ValidTgts$ Card | TgtPrompt$ Select target spell with a single target | TargetsSingleTarget$ True | StackDescription$ SpellDescription | SpellDescription$ Change the target of target spell with a single target. SVar:X:Count$ThisTurnCast_Card.Blue+OppCtrl Oracle:If an opponent cast a blue spell this turn, you may pay {R} rather than pay this spell's mana cost.\nChange the target of target spell with a single target. diff --git a/forge-gui/res/cardsfolder/r/riddle_of_lightning.txt b/forge-gui/res/cardsfolder/r/riddle_of_lightning.txt index be8ff2e9ece..fdae154ed94 100644 --- a/forge-gui/res/cardsfolder/r/riddle_of_lightning.txt +++ b/forge-gui/res/cardsfolder/r/riddle_of_lightning.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Instant A:SP$Scry | Cost$ 3 R R | ScryNum$ 3 | SubAbility$ DBReveal | SpellDescription$ Choose any target. Scry 3, then reveal the top card of your library. CARDNAME deals damage equal to that card's converted mana cost to that permanent or player. (To scry 3, look at the top three cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.) SVar:DBReveal:DB$ Dig | DigNum$ 1 | Reveal$ True | DestinationZone$ Library | LibraryPosition$ 0 | SubAbility$ DBDamage -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | StackDescription$ CARDNAME deals damage equal to that card's converted mana cost to that permanent or player. +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | StackDescription$ CARDNAME deals damage equal to that card's converted mana cost to that permanent or player. SVar:X:Count$TopOfLibraryCMC AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/riddle_of_lightning.jpg diff --git a/forge-gui/res/cardsfolder/r/rielle_the_everwise.txt b/forge-gui/res/cardsfolder/r/rielle_the_everwise.txt index 45c78908290..de2a0f6be9a 100644 --- a/forge-gui/res/cardsfolder/r/rielle_the_everwise.txt +++ b/forge-gui/res/cardsfolder/r/rielle_the_everwise.txt @@ -2,10 +2,10 @@ Name:Rielle, the Everwise ManaCost:1 U R Types:Legendary Creature Human Wizard PT:0/3 -S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ Battlefield | AddPower$ X | References$ X | Description$ CARDNAME gets +1/+0 for each instant and sorcery card in your graveyard. +S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ Battlefield | AddPower$ X | Description$ CARDNAME gets +1/+0 for each instant and sorcery card in your graveyard. SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn T:Mode$ DiscardedAll | ValidPlayer$ You | FirstTime$ True | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Whenever you discard one or more cards for the first time each turn, draw that many cards. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ Y | References$ Y +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ Y SVar:Y:TriggerCount$Amount DeckHints:Type$Instant|Sorcery Oracle:Rielle, the Everwise gets +1/+0 for each instant and sorcery card in your graveyard.\nWhenever you discard one or more cards for the first time each turn, draw that many cards. diff --git a/forge-gui/res/cardsfolder/r/righteous_fury.txt b/forge-gui/res/cardsfolder/r/righteous_fury.txt index 205dab8e14e..06a4f8525e9 100644 --- a/forge-gui/res/cardsfolder/r/righteous_fury.txt +++ b/forge-gui/res/cardsfolder/r/righteous_fury.txt @@ -2,7 +2,7 @@ Name:Righteous Fury ManaCost:4 W W Types:Sorcery A:SP$ DestroyAll | Cost$ 4 W W | ValidCards$ Creature.tapped | RememberDestroyed$ True | SubAbility$ DBGainLife | SpellDescription$ Destroy all tapped creatures. You gain 2 life for each creature destroyed this way. -SVar:DBGainLife:DB$GainLife | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | LifeAmount$ X SVar:X:Remembered$Amount.Twice SVar:Picture:http://serv1.tcgimages.eu/img/cards/Portal_Second_Age/righteous_fury.jpg Oracle:Destroy all tapped creatures. You gain 2 life for each creature destroyed this way. diff --git a/forge-gui/res/cardsfolder/r/righteous_valkyrie.txt b/forge-gui/res/cardsfolder/r/righteous_valkyrie.txt index eae8179f56a..1ffb539a873 100644 --- a/forge-gui/res/cardsfolder/r/righteous_valkyrie.txt +++ b/forge-gui/res/cardsfolder/r/righteous_valkyrie.txt @@ -4,9 +4,9 @@ Types:Creature Angel Cleric PT:2/4 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Cleric.Other+YouCtrl,Angel.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever another Angel or Cleric enters the battlefield under your control, you gain life equal to that creature's toughness. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggeredCard$CardToughness -S:Mode$ Continuous | CheckSVar$ Z | SVarCompare$ GEY | References$ Z,Y | Affected$ Creature.YouCtrl | AddPower$ 2 | AddToughness$ 2 | SpellDescription$ As long as you have at least 7 life more than your starting life total, creatures you control get +2/+2. +S:Mode$ Continuous | CheckSVar$ Z | SVarCompare$ GEY | Affected$ Creature.YouCtrl | AddPower$ 2 | AddToughness$ 2 | SpellDescription$ As long as you have at least 7 life more than your starting life total, creatures you control get +2/+2. SVar:Z:Count$YourLifeTotal SVar:Y:Count$YourStartingLife/Plus.7 DeckHas:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/r/rimefeather_owl.txt b/forge-gui/res/cardsfolder/r/rimefeather_owl.txt index dbf67720174..e143a1d7782 100644 --- a/forge-gui/res/cardsfolder/r/rimefeather_owl.txt +++ b/forge-gui/res/cardsfolder/r/rimefeather_owl.txt @@ -3,7 +3,7 @@ ManaCost:5 U U Types:Snow Creature Bird PT:*/* K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of snow permanents on the battlefield. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of snow permanents on the battlefield. A:AB$ PutCounter | Cost$ 1 S | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | CounterType$ ICE | CounterNum$ 1 | SpellDescription$ Put an ice counter on target permanent. S:Mode$ Continuous | EffectZone$ Battlefield | Affected$ Permanent.counters_GE1_ICE | AddType$ Snow | Description$ Permanents with ice counters on them are snow. SVar:X:Count$Valid Permanent.Snow diff --git a/forge-gui/res/cardsfolder/r/rimehorn_aurochs.txt b/forge-gui/res/cardsfolder/r/rimehorn_aurochs.txt index a450bb11dd5..daa0d2f4bec 100644 --- a/forge-gui/res/cardsfolder/r/rimehorn_aurochs.txt +++ b/forge-gui/res/cardsfolder/r/rimehorn_aurochs.txt @@ -4,7 +4,7 @@ Types:Snow Creature Aurochs PT:3/3 K:Trample T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+0 until end of turn for each other attacking Aurochs. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$Valid Creature.Aurochs+attacking+Other A:AB$ Pump | Cost$ 2 S | ValidTgts$ Creature | TgtPrompt$ Select target creature to attack | StackDescription$ None | SubAbility$ DBMustBlock | SpellDescription$ Target creature blocks target creature this turn if able. SVar:DBMustBlock:DB$ MustBlock | DefinedAttacker$ ParentTarget | ValidTgts$ Creature | TgtPrompt$ Select target creature to block diff --git a/forge-gui/res/cardsfolder/r/rin_and_seri_inseparable.txt b/forge-gui/res/cardsfolder/r/rin_and_seri_inseparable.txt index 78dc0ed1e11..b6184fe45cf 100755 --- a/forge-gui/res/cardsfolder/r/rin_and_seri_inseparable.txt +++ b/forge-gui/res/cardsfolder/r/rin_and_seri_inseparable.txt @@ -6,8 +6,8 @@ T:Mode$ SpellCast | ValidCard$ Dog | ValidActivatingPlayer$ You | Execute$ TrigC SVar:TrigCatToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_1_1_cat | TokenOwner$ You T:Mode$ SpellCast | ValidCard$ Cat | ValidActivatingPlayer$ You | Execute$ TrigDogToken | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a Cat spell, create a 1/1 white Dog creature token. SVar:TrigDogToken:DB$ Token | TokenAmount$ 1 | TokenScript$ w_1_1_dog | TokenOwner$ You -A:AB$ DealDamage | Cost$ R G W T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals damage to any target equal to the number of Dogs you control. You gain life equal to the number of Cats you control. -SVar:DBGainLife:DB$ GainLife | LifeAmount$ Y | References$ Y | Defined$ You +A:AB$ DealDamage | Cost$ R G W T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals damage to any target equal to the number of Dogs you control. You gain life equal to the number of Cats you control. +SVar:DBGainLife:DB$ GainLife | LifeAmount$ Y | Defined$ You SVar:X:Count$TypeYouCtrl.Dog SVar:Y:Count$TypeYouCtrl.Cat DeckHints:Type$Dog|Cat diff --git a/forge-gui/res/cardsfolder/r/riot_control.txt b/forge-gui/res/cardsfolder/r/riot_control.txt index e041cd8074f..76ae50446ee 100644 --- a/forge-gui/res/cardsfolder/r/riot_control.txt +++ b/forge-gui/res/cardsfolder/r/riot_control.txt @@ -1,7 +1,7 @@ Name:Riot Control ManaCost:2 W Types:Instant -A:SP$ GainLife | Cost$ 2 W | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBEffect | SpellDescription$ You gain 1 life for each creature your opponents control. Prevent all damage that would be dealt to you this turn. +A:SP$ GainLife | Cost$ 2 W | Defined$ You | LifeAmount$ X | SubAbility$ DBEffect | SpellDescription$ You gain 1 life for each creature your opponents control. Prevent all damage that would be dealt to you this turn. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPrevent SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ You | Description$ Prevent all damage that would be dealt to you this turn. SVar:X:Count$Valid Creature.OppCtrl diff --git a/forge-gui/res/cardsfolder/r/riptide_director.txt b/forge-gui/res/cardsfolder/r/riptide_director.txt index 5877f6e2414..6c4faab27a0 100644 --- a/forge-gui/res/cardsfolder/r/riptide_director.txt +++ b/forge-gui/res/cardsfolder/r/riptide_director.txt @@ -2,7 +2,7 @@ Name:Riptide Director ManaCost:2 U U Types:Creature Human Wizard PT:2/3 -A:AB$ Draw | Cost$ 2 U U T | NumCards$ X | References$ X | SpellDescription$ Draw a card for each Wizard you control. +A:AB$ Draw | Cost$ 2 U U T | NumCards$ X | SpellDescription$ Draw a card for each Wizard you control. SVar:X:Count$TypeYouCtrl.Wizard AI:RemoveDeck:Random SVar:NonCombatPriority:3 diff --git a/forge-gui/res/cardsfolder/r/riptide_mangler.txt b/forge-gui/res/cardsfolder/r/riptide_mangler.txt index c2b6eb59937..f532f6533f4 100644 --- a/forge-gui/res/cardsfolder/r/riptide_mangler.txt +++ b/forge-gui/res/cardsfolder/r/riptide_mangler.txt @@ -3,7 +3,7 @@ ManaCost:1 U Types:Creature Beast PT:0/3 A:AB$ Pump | Cost$ 1 U | ValidTgts$ Creature | TgtPrompt$ Select target Creature | SubAbility$ DBChangePower | StackDescription$ None | SpellDescription$ Change CARDNAME's base power to target creature's power. (This effect lasts indefinitely.) -SVar:DBChangePower:DB$ Animate | Defined$ Self | Power$ X | References$ X | Permanent$ True +SVar:DBChangePower:DB$ Animate | Defined$ Self | Power$ X | Permanent$ True SVar:X:Targeted$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/riptide_mangler.jpg diff --git a/forge-gui/res/cardsfolder/r/riptide_replicator.txt b/forge-gui/res/cardsfolder/r/riptide_replicator.txt index e84cf52c699..a3e0de420ae 100644 --- a/forge-gui/res/cardsfolder/r/riptide_replicator.txt +++ b/forge-gui/res/cardsfolder/r/riptide_replicator.txt @@ -6,7 +6,7 @@ SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SubAbility$ ChooseCT | AILogic SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck K:etbCounter:CHARGE:X SVar:X:Count$xPaid -A:AB$ Token | Cost$ 4 T | TokenAmount$ 1 | TokenScript$ riptide_replicator | TokenTypes$ ChosenType | TokenOwner$ You | TokenColors$ ChosenColor | TokenPower$ Y | TokenToughness$ Y | References$ Y | SpellDescription$ Create an X/X creature token of the chosen color and type, where X is the number of charge counters on CARDNAME. +A:AB$ Token | Cost$ 4 T | TokenAmount$ 1 | TokenScript$ riptide_replicator | TokenTypes$ ChosenType | TokenOwner$ You | TokenColors$ ChosenColor | TokenPower$ Y | TokenToughness$ Y | SpellDescription$ Create an X/X creature token of the chosen color and type, where X is the number of charge counters on CARDNAME. SVar:Y:Count$CardCounters.CHARGE SVar:NeedsToPlayVar:Z GE6 SVar:Z:Count$Valid Card.canProduceMana+YouCtrl+inZoneBattlefield+untapped diff --git a/forge-gui/res/cardsfolder/r/rise_from_the_tides.txt b/forge-gui/res/cardsfolder/r/rise_from_the_tides.txt index f71299fdb5c..0ce59aa7d96 100644 --- a/forge-gui/res/cardsfolder/r/rise_from_the_tides.txt +++ b/forge-gui/res/cardsfolder/r/rise_from_the_tides.txt @@ -1,7 +1,7 @@ Name:Rise from the Tides ManaCost:5 U Types:Sorcery -A:SP$ Token | Cost$ 5 U | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenOwner$ You | References$ X | LegacyImage$ b 2 2 zombie soi | TokenTapped$ True | SpellDescription$ Create a tapped 2/2 black Zombie creature token for each instant and sorcery card in your graveyard. +A:SP$ Token | Cost$ 5 U | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenOwner$ You | LegacyImage$ b 2 2 zombie soi | TokenTapped$ True | SpellDescription$ Create a tapped 2/2 black Zombie creature token for each instant and sorcery card in your graveyard. SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:BuffedBy:Instant,Sorcery DeckHints:Ability$Graveyard & Ability$Discard diff --git a/forge-gui/res/cardsfolder/r/rise_of_the_dread_marn.txt b/forge-gui/res/cardsfolder/r/rise_of_the_dread_marn.txt index 2c531e807a2..ae4c0563d14 100644 --- a/forge-gui/res/cardsfolder/r/rise_of_the_dread_marn.txt +++ b/forge-gui/res/cardsfolder/r/rise_of_the_dread_marn.txt @@ -1,7 +1,7 @@ Name:Rise of the Dread Marn ManaCost:2 B Types:Instant -A:SP$ Token | Cost$ 2 B | LegacyImage$ b 2 2 zombie berserker khm | TokenAmount$ X | References$ X | TokenScript$ b_2_2_zombie_berserker | TokenOwner$ You | SpellDescription$ Create X 2/2 black Zombie Berserker creature tokens, where X is the number of nontoken creatures that died this turn. +A:SP$ Token | Cost$ 2 B | LegacyImage$ b 2 2 zombie berserker khm | TokenAmount$ X | TokenScript$ b_2_2_zombie_berserker | TokenOwner$ You | SpellDescription$ Create X 2/2 black Zombie Berserker creature tokens, where X is the number of nontoken creatures that died this turn. SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature.nonToken K:Foretell:B DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/r/rise_of_the_hobgoblins.txt b/forge-gui/res/cardsfolder/r/rise_of_the_hobgoblins.txt index 6e1340a6cf1..84eb235ab51 100644 --- a/forge-gui/res/cardsfolder/r/rise_of_the_hobgoblins.txt +++ b/forge-gui/res/cardsfolder/r/rise_of_the_hobgoblins.txt @@ -2,7 +2,7 @@ Name:Rise of the Hobgoblins ManaCost:RW RW Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may pay {X}. If you do, create X 1/1 red and white Goblin Soldier creature tokens. -SVar:TrigToken:AB$ Token | Cost$ X | TokenAmount$ X | References$ X | TokenScript$ rw_1_1_goblin_soldier | TokenOwner$ You | LegacyImage$ rw 1 1 goblin soldier eve +SVar:TrigToken:AB$ Token | Cost$ X | TokenAmount$ X | TokenScript$ rw_1_1_goblin_soldier | TokenOwner$ You | LegacyImage$ rw 1 1 goblin soldier eve SVar:X:Count$xPaid A:AB$ PumpAll | Cost$ RW | ValidCards$ Creature.Red+YouCtrl,Creature.White+YouCtrl | KW$ First Strike | SpellDescription$ Red creatures and white creatures you control gain first strike until end of turn. SVar:NeedsToPlayVar:Z GE3 diff --git a/forge-gui/res/cardsfolder/r/risen_executioner.txt b/forge-gui/res/cardsfolder/r/risen_executioner.txt index c6d6283cf08..d995f518cc4 100644 --- a/forge-gui/res/cardsfolder/r/risen_executioner.txt +++ b/forge-gui/res/cardsfolder/r/risen_executioner.txt @@ -4,7 +4,7 @@ Types:Creature Zombie Warrior PT:4/3 K:CARDNAME can't block. S:Mode$ Continuous | Affected$ Creature.Zombie+Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other Zombie creatures you control get +1/+1. -SVar:AltCost:Cost$ X 2 B B | ActivationZone$ Graveyard | References$ X | Description$ You may cast CARDNAME from your graveyard if you pay {1} more to cast it for each other creature card in your graveyard. +SVar:AltCost:Cost$ X 2 B B | ActivationZone$ Graveyard | Description$ You may cast CARDNAME from your graveyard if you pay {1} more to cast it for each other creature card in your graveyard. SVar:X:Count$ValidGraveyard Creature.Other+YouOwn SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/risen_executioner.jpg diff --git a/forge-gui/res/cardsfolder/r/rishkars_expertise.txt b/forge-gui/res/cardsfolder/r/rishkars_expertise.txt index e0a1599eb5b..314c21b295e 100644 --- a/forge-gui/res/cardsfolder/r/rishkars_expertise.txt +++ b/forge-gui/res/cardsfolder/r/rishkars_expertise.txt @@ -1,7 +1,7 @@ Name:Rishkar's Expertise ManaCost:4 G G Types:Sorcery -A:SP$ Draw | Cost$ 4 G G | NumCards$ X | References$ X | SubAbility$ DBPlay | SpellDescription$ Draw cards equal to the greatest power among creatures you control. You may cast a spell with converted mana cost 5 or less from your hand without paying its mana cost. +A:SP$ Draw | Cost$ 4 G G | NumCards$ X | SubAbility$ DBPlay | SpellDescription$ Draw cards equal to the greatest power among creatures you control. You may cast a spell with converted mana cost 5 or less from your hand without paying its mana cost. SVar:X:Count$GreatestPower_Creature.YouCtrl SVar:DBPlay:DB$ Play | Valid$ Card.nonLand+YouOwn | ValidSA$ Spell.cmcLE5 | ValidZone$ Hand | WithoutManaCost$ True | Amount$ 1 | Controller$ You | Optional$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/rishkars_expertise.jpg diff --git a/forge-gui/res/cardsfolder/r/rite_of_consumption.txt b/forge-gui/res/cardsfolder/r/rite_of_consumption.txt index 32360ce4605..be9b6269955 100644 --- a/forge-gui/res/cardsfolder/r/rite_of_consumption.txt +++ b/forge-gui/res/cardsfolder/r/rite_of_consumption.txt @@ -1,8 +1,8 @@ Name:Rite of Consumption ManaCost:1 B Types:Sorcery -A:SP$ DealDamage | Cost$ 1 B Sac<1/Creature> | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to target player or planeswalker. You gain life equal to the damage dealt this way. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ Y | References$ Y | StackDescription$ You gain life equal to the damage dealt this way. +A:SP$ DealDamage | Cost$ 1 B Sac<1/Creature> | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to target player or planeswalker. You gain life equal to the damage dealt this way. +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ Y | StackDescription$ You gain life equal to the damage dealt this way. SVar:X:Sacrificed$CardPower SVar:Y:Count$TotalDamageDoneByThisTurn SVar:Picture:http://www.wizards.com/global/images/magic/general/rite_of_consumption.jpg diff --git a/forge-gui/res/cardsfolder/r/rite_of_flame.txt b/forge-gui/res/cardsfolder/r/rite_of_flame.txt index 197b29dd6ef..e5d3a277623 100644 --- a/forge-gui/res/cardsfolder/r/rite_of_flame.txt +++ b/forge-gui/res/cardsfolder/r/rite_of_flame.txt @@ -1,7 +1,7 @@ Name:Rite of Flame ManaCost:R Types:Sorcery -A:SP$ Mana | Cost$ R | Produced$ R | Amount$ X | References$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {R}{R}, then add {R} for each card named CARDNAME in each graveyard. +A:SP$ Mana | Cost$ R | Produced$ R | Amount$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {R}{R}, then add {R} for each card named CARDNAME in each graveyard. SVar:X:Count$NamedInAllYards.Rite of Flame/Plus.2 DeckHints:Name$Rite of Flame SVar:Picture:http://www.wizards.com/global/images/magic/general/rite_of_flame.jpg diff --git a/forge-gui/res/cardsfolder/r/rite_of_replication.txt b/forge-gui/res/cardsfolder/r/rite_of_replication.txt index ed2af63a804..2119ade2b5e 100644 --- a/forge-gui/res/cardsfolder/r/rite_of_replication.txt +++ b/forge-gui/res/cardsfolder/r/rite_of_replication.txt @@ -2,7 +2,7 @@ Name:Rite of Replication ManaCost:2 U U Types:Sorcery K:Kicker:5 -A:SP$ CopyPermanent | Cost$ 2 U U | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumCopies$ X | References$ X | SpellDescription$ Create a token that's a copy of target creature. If this spell was kicked, create five of those tokens instead. +A:SP$ CopyPermanent | Cost$ 2 U U | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumCopies$ X | SpellDescription$ Create a token that's a copy of target creature. If this spell was kicked, create five of those tokens instead. SVar:X:Count$Kicked.5.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/rite_of_replication.jpg Oracle:Kicker {5} (You may pay an additional {5} as you cast this spell.)\nCreate a token that's a copy of target creature. If this spell was kicked, create five of those tokens instead. diff --git a/forge-gui/res/cardsfolder/r/rite_of_the_serpent.txt b/forge-gui/res/cardsfolder/r/rite_of_the_serpent.txt index bbc515e9734..ac98f3550f7 100644 --- a/forge-gui/res/cardsfolder/r/rite_of_the_serpent.txt +++ b/forge-gui/res/cardsfolder/r/rite_of_the_serpent.txt @@ -2,7 +2,7 @@ Name:Rite of the Serpent ManaCost:4 B B Types:Sorcery A:SP$ Destroy | Cost$ 4 B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBToken | SpellDescription$ Destroy target creature. If that creature had a +1/+1 counter on it, create a 1/1 green Snake creature token. -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_1_1_snake | TokenOwner$ You | LegacyImage$ g 1 1 snake ktk | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE1 +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_1_1_snake | TokenOwner$ You | LegacyImage$ g 1 1 snake ktk | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:TargetedLKI$Valid Creature.counters_GE1_P1P1 SVar:Picture:http://www.wizards.com/global/images/magic/general/rite_of_the_serpent.jpg Oracle:Destroy target creature. If that creature had a +1/+1 counter on it, create a 1/1 green Snake creature token. diff --git a/forge-gui/res/cardsfolder/r/rites_of_initiation.txt b/forge-gui/res/cardsfolder/r/rites_of_initiation.txt index f00a099c840..fdd4b7cc139 100644 --- a/forge-gui/res/cardsfolder/r/rites_of_initiation.txt +++ b/forge-gui/res/cardsfolder/r/rites_of_initiation.txt @@ -1,9 +1,9 @@ Name:Rites of Initiation ManaCost:R Types:Instant -A:SP$ ChooseNumber | Cost$ R | Defined$ You | Min$ 0 | Max$ MaxChoice | References$ MaxChoice | ListTitle$ Discard how many cards? | SubAbility$ DBDiscard | SpellDescription$ Discard any number of cards at random. Creatures you control get +1/+0 until end of turn for each card discarded this way. -SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ ChosenInitiation | Mode$ Random | RememberDiscarded$ True | References$ ChosenInitiation | SubAbility$ DBPumpAll -SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | NumAtt$ +Y | SubAbility$ DBCleanup | References$ Y +A:SP$ ChooseNumber | Cost$ R | Defined$ You | Min$ 0 | Max$ MaxChoice | ListTitle$ Discard how many cards? | SubAbility$ DBDiscard | SpellDescription$ Discard any number of cards at random. Creatures you control get +1/+0 until end of turn for each card discarded this way. +SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ ChosenInitiation | Mode$ Random | RememberDiscarded$ True | SubAbility$ DBPumpAll +SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | NumAtt$ +Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:MaxChoice:Count$InYourHand SVar:ChosenInitiation:Count$ChosenNumber diff --git a/forge-gui/res/cardsfolder/r/rites_of_refusal.txt b/forge-gui/res/cardsfolder/r/rites_of_refusal.txt index 3d85c56e1e0..df7671d333d 100644 --- a/forge-gui/res/cardsfolder/r/rites_of_refusal.txt +++ b/forge-gui/res/cardsfolder/r/rites_of_refusal.txt @@ -2,7 +2,7 @@ Name:Rites of Refusal ManaCost:1 U Types:Instant A:SP$ Discard | Cost$ 1 U | AnyNumber$ True | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBCounter | SpellDescription$ Discard any number of cards. Counter target spell unless its controller pays {3} for each card discarded this way. -SVar:DBCounter:DB$ Counter | TargetType$ Spell | ValidTgts$ Card | TgtPrompt$ Select target spell | UnlessCost$ Y | UnlessPayer$ TargetedController | References$ X,Y | SubAbility$ DBCleanup +SVar:DBCounter:DB$ Counter | TargetType$ Spell | ValidTgts$ Card | TgtPrompt$ Select target spell | UnlessCost$ Y | UnlessPayer$ TargetedController | SubAbility$ DBCleanup SVar:X:Remembered$Amount SVar:Y:SVar$X/Times.3 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/r/rites_of_spring.txt b/forge-gui/res/cardsfolder/r/rites_of_spring.txt index 8f17a7e4601..0ec0efc8a5a 100644 --- a/forge-gui/res/cardsfolder/r/rites_of_spring.txt +++ b/forge-gui/res/cardsfolder/r/rites_of_spring.txt @@ -2,7 +2,7 @@ Name:Rites of Spring ManaCost:1 G Types:Sorcery A:SP$ Discard | Cost$ 1 G | Defined$ You | AnyNumber$ True | Mode$ TgtChoose | Optional$ True | RememberDiscarded$ True | SubAbility$ DBChangeZone | SpellDescription$ Discard any number of cards. Search your library for up to that many basic land cards, reveal those cards, and put them into your hand. Then shuffle your library. -SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Land.Basic | ChangeNum$ X | SubAbility$ DBCleanup | References$ X +SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Land.Basic | ChangeNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/r/rith_the_awakener.txt b/forge-gui/res/cardsfolder/r/rith_the_awakener.txt index 2348cf6491c..b5375b567fc 100644 --- a/forge-gui/res/cardsfolder/r/rith_the_awakener.txt +++ b/forge-gui/res/cardsfolder/r/rith_the_awakener.txt @@ -5,7 +5,7 @@ PT:6/6 K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | OptionalDecider$ You | Execute$ TrigChoose | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may pay {2}{G}. If you do, choose a color, then create a 1/1 green Saproling creature token for each permanent of that color. SVar:TrigChoose:AB$ ChooseColor | Cost$ 2 G | Defined$ You | AILogic$ MostProminentPermanent | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling inv +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling inv SVar:X:Count$Valid Permanent.ChosenColor DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/rith_the_awakener.jpg diff --git a/forge-gui/res/cardsfolder/r/ritual_of_the_returned.txt b/forge-gui/res/cardsfolder/r/ritual_of_the_returned.txt index 8e009f1fd74..b5e6c6299d4 100644 --- a/forge-gui/res/cardsfolder/r/ritual_of_the_returned.txt +++ b/forge-gui/res/cardsfolder/r/ritual_of_the_returned.txt @@ -2,7 +2,7 @@ Name:Ritual of the Returned ManaCost:3 B Types:Instant A:SP$ ChangeZone | Cost$ 3 B | RememberChanged$ True | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Creature.YouCtrl | ChangeNum$ 1 | SubAbility$ DBToken | SpellDescription$ Exile target creature card from your graveyard. Create a black Zombie creature token. Its power is equal to that card's power and its toughness is equal to that card's toughness. -SVar:DBToken:DB$ Token | TokenScript$ b_x_x_zombie | TokenPower$ X | TokenToughness$ Y | LegacyImage$ b x x zombie jou | TokenOwner$ You | TokenAmount$ 1 | References$ X,Y | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenScript$ b_x_x_zombie | TokenPower$ X | TokenToughness$ Y | LegacyImage$ b x x zombie jou | TokenOwner$ You | TokenAmount$ 1 | SubAbility$ DBCleanup SVar:X:Remembered$CardPower SVar:Y:Remembered$CardToughness SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/r/rivalry.txt b/forge-gui/res/cardsfolder/r/rivalry.txt index 81ac2d06853..5b9e5a5cbb2 100644 --- a/forge-gui/res/cardsfolder/r/rivalry.txt +++ b/forge-gui/res/cardsfolder/r/rivalry.txt @@ -1,7 +1,7 @@ Name:Rivalry ManaCost:2 R Types:Enchantment -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ RivalDamage | CheckSVar$ ActiveLands | SVarCompare$ GTRivalLands | References$ ActiveLands,RivalLands | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's upkeep, if that player controls more lands than each other player, CARDNAME deals 2 damage to them. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ RivalDamage | CheckSVar$ ActiveLands | SVarCompare$ GTRivalLands | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's upkeep, if that player controls more lands than each other player, CARDNAME deals 2 damage to them. SVar:RivalDamage:DB$ DealDamage | NumDmg$ 2 | Defined$ TriggeredPlayer SVar:ActiveLands:Count$Valid Land.ActivePlayerCtrl SVar:RivalLands:PlayerCountNonActive$HighestValid Land.YouCtrl diff --git a/forge-gui/res/cardsfolder/r/river_of_tears.txt b/forge-gui/res/cardsfolder/r/river_of_tears.txt index afa80fc920b..22d4adc854b 100644 --- a/forge-gui/res/cardsfolder/r/river_of_tears.txt +++ b/forge-gui/res/cardsfolder/r/river_of_tears.txt @@ -1,8 +1,8 @@ Name:River of Tears ManaCost:no cost Types:Land -A:AB$ Mana | Cost$ T | Produced$ U | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ ManaB | SpellDescription$ Add {U}. If you played a land this turn, add {B} instead. -SVar:ManaB:DB$ Mana | Produced$ B | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +A:AB$ Mana | Cost$ T | Produced$ U | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ ManaB | SpellDescription$ Add {U}. If you played a land this turn, add {B} instead. +SVar:ManaB:DB$ Mana | Produced$ B | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 AI:RemoveDeck:Random DeckHints:Color$Blue|Black SVar:X:Count$YourLandsPlayed diff --git a/forge-gui/res/cardsfolder/r/roar_of_the_crowd.txt b/forge-gui/res/cardsfolder/r/roar_of_the_crowd.txt index 5d4ba94265f..2a5942d7328 100644 --- a/forge-gui/res/cardsfolder/r/roar_of_the_crowd.txt +++ b/forge-gui/res/cardsfolder/r/roar_of_the_crowd.txt @@ -2,7 +2,7 @@ Name:Roar of the Crowd ManaCost:3 R Types:Sorcery A:SP$ ChooseType | Cost$ 3 R | Defined$ You | Type$ Creature | SubAbility$ DBDamage | SpellDescription$ Choose a creature type. CARDNAME deals damage to any target equal to the number of permanents you control of the chosen type. -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$Valid Permanent.ChosenType+YouCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/roar_of_the_crowd.jpg diff --git a/forge-gui/res/cardsfolder/r/robber_fly.txt b/forge-gui/res/cardsfolder/r/robber_fly.txt index 89e6885f9ce..9a177e9c9cf 100644 --- a/forge-gui/res/cardsfolder/r/robber_fly.txt +++ b/forge-gui/res/cardsfolder/r/robber_fly.txt @@ -5,7 +5,7 @@ PT:1/1 K:Flying T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigDiscard | TriggerDescription$ Whenever CARDNAME becomes blocked, defending player discards all the cards in their hand, then draws that many cards. SVar:TrigDiscard:DB$ Discard | Defined$ DefendingPlayer | Mode$ Hand | RememberDiscarded$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ DefendingPlayer | SubAbility$ DBCleanup | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ DefendingPlayer | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/robber_fly.jpg diff --git a/forge-gui/res/cardsfolder/r/robber_of_the_rich.txt b/forge-gui/res/cardsfolder/r/robber_of_the_rich.txt index bc106cedf3a..9d0c94f36f9 100644 --- a/forge-gui/res/cardsfolder/r/robber_of_the_rich.txt +++ b/forge-gui/res/cardsfolder/r/robber_of_the_rich.txt @@ -4,10 +4,10 @@ Types:Creature Human Archer Rogue PT:2/2 K:Reach K:Haste -T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigExile | CheckSVar$ X | SVarCompare$ GTY | References$ X,Y | TriggerDescription$ Whenever CARDNAME attacks, if defending player has more cards in hand than you, exile the top card of their library. During any turn you attacked with a Rogue, you may cast that card and you may spend mana as though it were mana of any color to cast that spell. +T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigExile | CheckSVar$ X | SVarCompare$ GTY | TriggerDescription$ Whenever CARDNAME attacks, if defending player has more cards in hand than you, exile the top card of their library. During any turn you attacked with a Rogue, you may cast that card and you may spend mana as though it were mana of any color to cast that spell. SVar:TrigExile:DB$ Dig | Defined$ TriggeredDefendingPlayer | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect SVar:DBEffect:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ STPlay | SVars$ Z | SubAbility$ DBCleanup | ExileOnMoved$ Exile | Duration$ Permanent -SVar:STPlay:Mode$ Continuous | MayPlay$ True | MayPlayIgnoreColor$ True | EffectZone$ Command | Affected$ Card.IsRemembered+nonLand | AffectedZone$ Exile | CheckSVar$ Z | References$ Z | Description$ During any turn you attacked with a Rogue, you may cast that card and you may spend mana as though it were mana of any color to cast that spell. +SVar:STPlay:Mode$ Continuous | MayPlay$ True | MayPlayIgnoreColor$ True | EffectZone$ Command | Affected$ Card.IsRemembered+nonLand | AffectedZone$ Exile | CheckSVar$ Z | Description$ During any turn you attacked with a Rogue, you may cast that card and you may spend mana as though it were mana of any color to cast that spell. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ValidHand Card.DefenderCtrl SVar:Y:Count$InYourHand diff --git a/forge-gui/res/cardsfolder/r/rock_hydra.txt b/forge-gui/res/cardsfolder/r/rock_hydra.txt index f0f4a94dee9..b407259f96d 100644 --- a/forge-gui/res/cardsfolder/r/rock_hydra.txt +++ b/forge-gui/res/cardsfolder/r/rock_hydra.txt @@ -6,10 +6,10 @@ K:etbCounter:P1P1:X A:AB$ PreventDamage | Cost$ R | Defined$ Self | Amount$ 1 | SpellDescription$ Prevent the next 1 damage that would be dealt to CARDNAME this turn. A:AB$ PutCounter | Cost$ R R R | ActivationPhases$ Upkeep | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on CARDNAME. Activate this ability only during your upkeep. T:Mode$ DamageDone | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ RemoveCtrsTrig | Static$ True -SVar:RemoveCtrsTrig:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ NumDmgTrig | References$ NumDmgTrig +SVar:RemoveCtrsTrig:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ NumDmgTrig R:Event$ DamageDone | ValidTarget$ Card.Self | ActiveZones$ Battlefield | ReplaceWith$ ReplaceDamage | PreventionEffect$ True | Description$ For each 1 damage that would be dealt to CARDNAME, if it has a +1/+1 counter on it, remove a +1/+1 counter from it and prevent that 1 damage. -SVar:RemoveCtrsRepl:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ NumDmg | References$ NumDmg -SVar:ReplaceDamage:DB$ ReplaceEffect | DamageTarget$ Self | VarName$ DamageAmount | VarValue$ Z | References$ Y,Z,NumDmg | ConditionCheckSVar$ Z | ConditionSVarCompare$ GE1 | SubAbility$ RemoveCtrsRepl +SVar:RemoveCtrsRepl:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ NumDmg +SVar:ReplaceDamage:DB$ ReplaceEffect | DamageTarget$ Self | VarName$ DamageAmount | VarValue$ Z | ConditionCheckSVar$ Z | ConditionSVarCompare$ GE1 | SubAbility$ RemoveCtrsRepl SVar:NumDmg:ReplaceCount$DamageAmount SVar:NumDmgTrig:TriggerCount$DamageAmount SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/r/rock_slide.txt b/forge-gui/res/cardsfolder/r/rock_slide.txt index 8e2568198e5..e6bdd57b9e9 100644 --- a/forge-gui/res/cardsfolder/r/rock_slide.txt +++ b/forge-gui/res/cardsfolder/r/rock_slide.txt @@ -1,7 +1,7 @@ Name:Rock Slide ManaCost:X R Types:Instant -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature.attacking+withoutFlying,Creature.blocking+withoutFlying | TgtPrompt$ Select target attacking or blocking creature to distribute damage to | NumDmg$ X | TargetMin$ Min | TargetMax$ MaxTgts | DividedAsYouChoose$ X | References$ X,Min,MaxTgts | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of target attacking or blocking creatures without flying. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature.attacking+withoutFlying,Creature.blocking+withoutFlying | TgtPrompt$ Select target attacking or blocking creature to distribute damage to | NumDmg$ X | TargetMin$ Min | TargetMax$ MaxTgts | DividedAsYouChoose$ X | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of target attacking or blocking creatures without flying. SVar:MaxTgts:Count$Valid Creature.attacking+withoutFlying,Creature.blocking+withoutFlying SVar:Min:SVar$X/LimitMax.1 SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/r/rockslide_ambush.txt b/forge-gui/res/cardsfolder/r/rockslide_ambush.txt index b06755cc5ae..49667bc9300 100644 --- a/forge-gui/res/cardsfolder/r/rockslide_ambush.txt +++ b/forge-gui/res/cardsfolder/r/rockslide_ambush.txt @@ -1,7 +1,7 @@ Name:Rockslide Ambush ManaCost:1 R Types:Sorcery -A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the number of Mountains you control to target creature. +A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the number of Mountains you control to target creature. SVar:X:Count$TypeYouCtrl.Mountain SVar:Picture:http://www.wizards.com/global/images/magic/general/rockslide_ambush.jpg Oracle:Rockslide Ambush deals damage to target creature equal to the number of Mountains you control. diff --git a/forge-gui/res/cardsfolder/r/rofellos_llanowar_emissary.txt b/forge-gui/res/cardsfolder/r/rofellos_llanowar_emissary.txt index 91c49aa73e4..3484210d4da 100644 --- a/forge-gui/res/cardsfolder/r/rofellos_llanowar_emissary.txt +++ b/forge-gui/res/cardsfolder/r/rofellos_llanowar_emissary.txt @@ -2,7 +2,7 @@ Name:Rofellos, Llanowar Emissary ManaCost:G G Types:Legendary Creature Elf Druid PT:2/1 -A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | References$ X | SpellDescription$ Add {G} for each Forest you control. +A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | SpellDescription$ Add {G} for each Forest you control. SVar:X:Count$Valid Forest.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/rofellos_llanowar_emissary.jpg Oracle:{T}: Add {G} for each Forest you control. diff --git a/forge-gui/res/cardsfolder/r/rofelloss_gift.txt b/forge-gui/res/cardsfolder/r/rofelloss_gift.txt index 7099a2c1ade..d013a6cb08e 100644 --- a/forge-gui/res/cardsfolder/r/rofelloss_gift.txt +++ b/forge-gui/res/cardsfolder/r/rofelloss_gift.txt @@ -2,7 +2,7 @@ Name:Rofellos's Gift ManaCost:G Types:Sorcery A:SP$ Reveal | Cost$ G | RevealValid$ Card.Green+YouCtrl | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBChangeZone | SpellDescription$ Reveal any number of green cards in your hand. Return an enchantment card from your graveyard to your hand for each card revealed this way. -SVar:DBChangeZone:DB$ ChangeZone | Hidden$ True | Mandatory$ True | ChangeType$ Card.Enchantment+YouOwn | ChangeNum$ X | References$ X | Origin$ Graveyard | Destination$ Hand | SubAbility$ Cleanup +SVar:DBChangeZone:DB$ ChangeZone | Hidden$ True | Mandatory$ True | ChangeType$ Card.Enchantment+YouOwn | ChangeNum$ X | Origin$ Graveyard | Destination$ Hand | SubAbility$ Cleanup SVar:Cleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/r/rogue_skycaptain.txt b/forge-gui/res/cardsfolder/r/rogue_skycaptain.txt index 58d3a2f3d4b..c9efc53a0c1 100644 --- a/forge-gui/res/cardsfolder/r/rogue_skycaptain.txt +++ b/forge-gui/res/cardsfolder/r/rogue_skycaptain.txt @@ -5,7 +5,7 @@ PT:3/4 K:Flying T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a wage counter on CARDNAME. You may pay {2} for each wage counter on it. If you don't, remove all wage counters from CARDNAME and an opponent gains control of it. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ WAGE | CounterNum$ 1 | SubAbility$ DBRemoveCounter -SVar:DBRemoveCounter:DB$ RemoveCounter | CounterNum$ All | CounterType$ WAGE | Defined$ Self | UnlessCost$ X | UnlessPayer$ You | UnlessResolveSubs$ WhenNotPaid | References$ X | SubAbility$ DBChooseOpp +SVar:DBRemoveCounter:DB$ RemoveCounter | CounterNum$ All | CounterType$ WAGE | Defined$ Self | UnlessCost$ X | UnlessPayer$ You | UnlessResolveSubs$ WhenNotPaid | SubAbility$ DBChooseOpp SVar:DBChooseOpp:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | ChoiceTitle$ Choose an opponent to give control to: | AILogic$ Curse | SubAbility$ DBDonate SVar:DBDonate:DB$ GainControl | Defined$ Self | NewController$ Player.Chosen | SubAbility$ DBReset SVar:DBReset:DB$ Cleanup | ClearChosenPlayer$ True diff --git a/forge-gui/res/cardsfolder/r/roil_eruption.txt b/forge-gui/res/cardsfolder/r/roil_eruption.txt index 1d0931ad4c2..71ff0de1ae1 100755 --- a/forge-gui/res/cardsfolder/r/roil_eruption.txt +++ b/forge-gui/res/cardsfolder/r/roil_eruption.txt @@ -2,6 +2,6 @@ Name:Roil Eruption ManaCost:1 R Types:Sorcery K:Kicker:5 -A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals 3 damage to any target. If this spell was kicked, it deals 5 damage instead. +A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals 3 damage to any target. If this spell was kicked, it deals 5 damage instead. SVar:X:Count$Kicked.5.3 Oracle:Kicker {5} (You may pay an additional {5} as you cast this spell.)\nRoil Eruption deals 3 damage to any target. If this spell was kicked, it deals 5 damage instead. diff --git a/forge-gui/res/cardsfolder/r/roiling_horror.txt b/forge-gui/res/cardsfolder/r/roiling_horror.txt index 5ba7af71779..fbeb6ced29b 100644 --- a/forge-gui/res/cardsfolder/r/roiling_horror.txt +++ b/forge-gui/res/cardsfolder/r/roiling_horror.txt @@ -3,7 +3,7 @@ ManaCost:3 B B Types:Creature Horror Text:X can't be 0. PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | References$ Y,Z | Description$ CARDNAME's power and toughness are each equal to your life total minus the life total of an opponent with the most life. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | Description$ CARDNAME's power and toughness are each equal to your life total minus the life total of an opponent with the most life. K:Suspend:X:XCantBe0 X B B B T:Mode$ CounterRemoved | ValidCard$ Card.Self | TriggerZones$ Exile | CounterType$ TIME | Execute$ TrigLoseLife | TriggerDescription$ Whenever a time counter is removed from CARDNAME while it's exiled, target player loses 1 life and you gain 1 life. SVar:TrigLoseLife:DB$ LoseLife | ValidTgts$ Player | TgtPrompt$ Choose a player | LifeAmount$ 1 | SubAbility$ DBGainLife diff --git a/forge-gui/res/cardsfolder/r/roiling_terrain.txt b/forge-gui/res/cardsfolder/r/roiling_terrain.txt index ddaf0c6a13c..605ca570593 100644 --- a/forge-gui/res/cardsfolder/r/roiling_terrain.txt +++ b/forge-gui/res/cardsfolder/r/roiling_terrain.txt @@ -2,7 +2,7 @@ Name:Roiling Terrain ManaCost:2 R R Types:Sorcery A:SP$ Destroy | Cost$ 2 R R | ValidTgts$ Land | TgtPrompt$ Select target land | SubAbility$ DBDamage | SpellDescription$ Destroy target land, then CARDNAME deals damage to that land's controller equal to the number of land cards in that player's graveyard. -SVar:DBDamage:DB$DealDamage | Defined$ TargetedController | NumDmg$ X | References$ X +SVar:DBDamage:DB$DealDamage | Defined$ TargetedController | NumDmg$ X SVar:X:TargetedController$LandsInGraveyard AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/roiling_terrain.jpg diff --git a/forge-gui/res/cardsfolder/r/roilmages_trick.txt b/forge-gui/res/cardsfolder/r/roilmages_trick.txt index bb9b825b7ea..aa618b710ae 100644 --- a/forge-gui/res/cardsfolder/r/roilmages_trick.txt +++ b/forge-gui/res/cardsfolder/r/roilmages_trick.txt @@ -1,7 +1,7 @@ Name:Roilmage's Trick ManaCost:3 U Types:Instant -A:SP$ PumpAll | Cost$ 3 U | ValidCards$ Creature.OppCtrl | NumAtt$ -X | NumDef$ 0 | References$ X | SubAbility$ DBDraw | SpellDescription$ Converge — Creatures your opponents control get -X/-0 until end of turn, where X is the number of colors of mana spent to cast this spell. Draw a card. +A:SP$ PumpAll | Cost$ 3 U | ValidCards$ Creature.OppCtrl | NumAtt$ -X | NumDef$ 0 | SubAbility$ DBDraw | SpellDescription$ Converge — Creatures your opponents control get -X/-0 until end of turn, where X is the number of colors of mana spent to cast this spell. Draw a card. SVar:DBDraw:DB$ Draw | NumCards$ 1 SVar:X:Count$Converge AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/r/rolling_earthquake.txt b/forge-gui/res/cardsfolder/r/rolling_earthquake.txt index de4d232d673..5d4a1f99d63 100644 --- a/forge-gui/res/cardsfolder/r/rolling_earthquake.txt +++ b/forge-gui/res/cardsfolder/r/rolling_earthquake.txt @@ -1,7 +1,7 @@ Name:Rolling Earthquake ManaCost:X R Types:Sorcery -A:SP$ DamageAll | Cost$ X R | ValidCards$ Creature.withoutHorsemanship | ValidPlayers$ Player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature without horsemanship and each player. +A:SP$ DamageAll | Cost$ X R | ValidCards$ Creature.withoutHorsemanship | ValidPlayers$ Player | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature without horsemanship and each player. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/rolling_earthquake.jpg Oracle:Rolling Earthquake deals X damage to each creature without horsemanship and each player. diff --git a/forge-gui/res/cardsfolder/r/rolling_thunder.txt b/forge-gui/res/cardsfolder/r/rolling_thunder.txt index 0488a25d74e..02e540f0d32 100644 --- a/forge-gui/res/cardsfolder/r/rolling_thunder.txt +++ b/forge-gui/res/cardsfolder/r/rolling_thunder.txt @@ -1,7 +1,7 @@ Name:Rolling Thunder ManaCost:X R R Types:Sorcery -A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select one or more targets to distribute damage to | NumDmg$ X | TargetMin$ Min | TargetMax$ MaxTgts | DividedAsYouChoose$ X | References$ X,Min,MaxTgts | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of targets. +A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select one or more targets to distribute damage to | NumDmg$ X | TargetMin$ Min | TargetMax$ MaxTgts | DividedAsYouChoose$ X | SpellDescription$ CARDNAME deals X damage divided as you choose among any number of targets. SVar:MaxTgts:PlayerCountPlayers$Amount/Plus.NumCreaturesAndPlaneswalkers SVar:NumCreaturesAndPlaneswalkers:Count$Valid Creature,Planeswalker SVar:Min:SVar$X/LimitMax.1 diff --git a/forge-gui/res/cardsfolder/r/roots_of_wisdom.txt b/forge-gui/res/cardsfolder/r/roots_of_wisdom.txt index 62116fdcf7e..a37e6c85319 100644 --- a/forge-gui/res/cardsfolder/r/roots_of_wisdom.txt +++ b/forge-gui/res/cardsfolder/r/roots_of_wisdom.txt @@ -3,7 +3,7 @@ ManaCost:1 G Types:Sorcery A:SP$ Mill | Cost$ 1 G | NumCards$ 3 | Defined$ You | SubAbility$ DBChangeZone | SpellDescription$ Mill three cards, then return a land card or Elf card from your graveyard to your hand. If you can't draw a card. SVar:DBChangeZone:DB$ ChangeZone | Hidden$ True | Mandatory$ True | ChangeType$ Elf.YouOwn,Land.YouOwn | ChangeNum$ 1 | Origin$ Graveyard | Destination$ Hand | RememberChanged$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup | References$ X +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount DeckHints:Type$Elf diff --git a/forge-gui/res/cardsfolder/r/rootwater_matriarch.txt b/forge-gui/res/cardsfolder/r/rootwater_matriarch.txt index e98f6be1d46..df34566b09c 100644 --- a/forge-gui/res/cardsfolder/r/rootwater_matriarch.txt +++ b/forge-gui/res/cardsfolder/r/rootwater_matriarch.txt @@ -2,7 +2,7 @@ Name:Rootwater Matriarch ManaCost:2 U U Types:Creature Merfolk PT:2/3 -A:AB$ GainControl | Cost$ T | ValidTgts$ Creature | References$ X,Y | AITgts$ Creature.enchanted | LoseControl$ StaticCommandCheck | StaticCommandCheckSVar$ X | StaticCommandSVarCompare$ EQ0 | ConditionCheckSVar$ Y | ContionSVarCompare$ GE1 | SpellDescription$ Gain control of target creature for as long as that creature is enchanted. +A:AB$ GainControl | Cost$ T | ValidTgts$ Creature | AITgts$ Creature.enchanted | LoseControl$ StaticCommandCheck | StaticCommandCheckSVar$ X | StaticCommandSVarCompare$ EQ0 | ConditionCheckSVar$ Y | ContionSVarCompare$ GE1 | SpellDescription$ Gain control of target creature for as long as that creature is enchanted. # the hostcard of SVar X is the controlled card SVar:X:Count$Valid Card.Self+enchanted SVar:Y:Targeted$Valid Card.enchanted diff --git a/forge-gui/res/cardsfolder/r/rot_hulk.txt b/forge-gui/res/cardsfolder/r/rot_hulk.txt index cd90c11affb..6d4c3462fb0 100644 --- a/forge-gui/res/cardsfolder/r/rot_hulk.txt +++ b/forge-gui/res/cardsfolder/r/rot_hulk.txt @@ -4,6 +4,6 @@ Types:Creature Zombie PT:5/5 K:Menace T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigReturn | TriggerDescription$ When CARDNAME enters the battlefield, return up to X target Zombie cards from your graveyard to the battlefield, where X is the number of opponents you have. -SVar:TrigReturn:DB$ ChangeZone | ValidTgts$ Card.Zombie | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Select target Zombie card | Origin$ Graveyard | Destination$ Battlefield | References$ X | SpellDescription$ Return up to X target Zombie cards from your graveyard to the battlefield, where X is the number of opponents you have. +SVar:TrigReturn:DB$ ChangeZone | ValidTgts$ Card.Zombie | TargetMin$ 0 | TargetMax$ X | TgtPrompt$ Select target Zombie card | Origin$ Graveyard | Destination$ Battlefield | SpellDescription$ Return up to X target Zombie cards from your graveyard to the battlefield, where X is the number of opponents you have. SVar:X:PlayerCountOpponents$Amount Oracle:Menace\nWhen Rot Hulk enters the battlefield, return up to X target Zombie cards from your graveyard to the battlefield, where X is the number of opponents you have. diff --git a/forge-gui/res/cardsfolder/r/rotfeaster_maggot.txt b/forge-gui/res/cardsfolder/r/rotfeaster_maggot.txt index 8974f8f3f55..3b35f8c4fe6 100644 --- a/forge-gui/res/cardsfolder/r/rotfeaster_maggot.txt +++ b/forge-gui/res/cardsfolder/r/rotfeaster_maggot.txt @@ -4,7 +4,7 @@ Types:Creature Insect PT:3/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChange | TriggerDescription$ When CARDNAME enters the battlefield, exile target creature card from a graveyard. You gain life equal to that card's toughness. SVar:TrigChange:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | TgtPrompt$ Choose target creature card in a graveyard | ValidTgts$ Creature | RememberLKI$ True | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/rotfeaster_maggot.jpg diff --git a/forge-gui/res/cardsfolder/r/rotwidow_pack.txt b/forge-gui/res/cardsfolder/r/rotwidow_pack.txt index f39b23dc628..ab4c69a68d9 100644 --- a/forge-gui/res/cardsfolder/r/rotwidow_pack.txt +++ b/forge-gui/res/cardsfolder/r/rotwidow_pack.txt @@ -4,7 +4,7 @@ Types:Creature Spider PT:2/4 K:Reach A:AB$ Token | Cost$ 3 B G ExileFromGrave<1/Creature> | TokenAmount$ 1 | TokenScript$ g_1_2_spider_reach | TokenOwner$ You | LegacyImage$ g 1 2 spider reach mh1 | SubAbility$ DBLoseLife | SpellDescription$ Create a 1/2 green Spider creature token with reach, then each opponent loses 1 life for each Spider you control. -SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X SVar:X:Count$Valid Spider.YouCtrl DeckHas:Ability$Token SVar:AIPreference:ExileFromGraveCost$Creature+YouOwn+inZoneGraveyard diff --git a/forge-gui/res/cardsfolder/r/rouse_the_mob.txt b/forge-gui/res/cardsfolder/r/rouse_the_mob.txt index 00ffa71c6c8..60a7ad375a0 100644 --- a/forge-gui/res/cardsfolder/r/rouse_the_mob.txt +++ b/forge-gui/res/cardsfolder/r/rouse_the_mob.txt @@ -2,7 +2,7 @@ Name:Rouse the Mob ManaCost:R Types:Instant K:Strive:2 R -A:SP$ Pump | Cost$ R | ValidTgts$ Creature | KW$ Trample | NumAtt$ +2 | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | SpellDescription$ Any number of target creatures each get +2/+0 and gain trample until end of turn. +A:SP$ Pump | Cost$ R | ValidTgts$ Creature | KW$ Trample | NumAtt$ +2 | TargetMin$ 0 | TargetMax$ MaxTargets | SpellDescription$ Any number of target creatures each get +2/+0 and gain trample until end of turn. SVar:MaxTargets:Count$Valid Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/rouse_the_mob.jpg Oracle:Strive — This spell costs {2}{R} more to cast for each target beyond the first.\nAny number of target creatures each get +2/+0 and gain trample until end of turn. diff --git a/forge-gui/res/cardsfolder/r/rousing_of_souls.txt b/forge-gui/res/cardsfolder/r/rousing_of_souls.txt index 613d37525d0..0cf5588cbb7 100644 --- a/forge-gui/res/cardsfolder/r/rousing_of_souls.txt +++ b/forge-gui/res/cardsfolder/r/rousing_of_souls.txt @@ -2,7 +2,7 @@ Name:Rousing of Souls ManaCost:2 W Types:Sorcery A:SP$ Dig | Cost$ 2 W | PreCostDesc$ Parley — | DigNum$ 1 | Defined$ Player | Reveal$ True | NoMove$ True | RememberRevealed$ True | SubAbility$ DBToken | SpellDescription$ Parley — Each player reveals the top card of their library. For each nonland card revealed this way, you create a 1/1 white Spirit creature token with flying. Then each player draws a card. -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ w_1_1_spirit_flying | TokenOwner$ You | LegacyImage$ w 1 1 spirit flying cns | SubAbility$ DBDraw +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_spirit_flying | TokenOwner$ You | LegacyImage$ w 1 1 spirit flying cns | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ 1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Card.nonLand diff --git a/forge-gui/res/cardsfolder/r/rowan_kenrith.txt b/forge-gui/res/cardsfolder/r/rowan_kenrith.txt index 6c5139b51dd..aa193d8a3c7 100644 --- a/forge-gui/res/cardsfolder/r/rowan_kenrith.txt +++ b/forge-gui/res/cardsfolder/r/rowan_kenrith.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Rowan Loyalty:4 Text:CARDNAME can be your commander. K:Partner:Will Kenrith:Will -A:AB$ Effect | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | Name$ Rowan Kenrith Taunt Effect | ValidTgts$ Player | TgtPrompt$ Select target player | StaticAbilities$ MustAttack | References$ MustAttack | RememberObjects$ Targeted | IsCurse$ True | Triggers$ RemoveEffect | SVars$ ExileEffect | Duration$ Permanent | SubAbility$ DBCleanup | SpellDescription$ During target player's next turn, each creature that player controls attacks if able. +A:AB$ Effect | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | Name$ Rowan Kenrith Taunt Effect | ValidTgts$ Player | TgtPrompt$ Select target player | StaticAbilities$ MustAttack | RememberObjects$ Targeted | IsCurse$ True | Triggers$ RemoveEffect | SVars$ ExileEffect | Duration$ Permanent | SubAbility$ DBCleanup | SpellDescription$ During target player's next turn, each creature that player controls attacks if able. SVar:MustAttack:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.RememberedPlayerCtrl | AddHiddenKeyword$ CARDNAME attacks each combat if able. | Description$ Creatures target opponent controls attack this turn if able. SVar:RemoveEffect:Mode$ Phase | Phase$ Cleanup | ValidPlayer$ Player.IsRemembered | TriggerZones$ Command | Static$ True | Execute$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/r/rowdy_crew.txt b/forge-gui/res/cardsfolder/r/rowdy_crew.txt index 75e5929d9e6..1b8b2250bc4 100644 --- a/forge-gui/res/cardsfolder/r/rowdy_crew.txt +++ b/forge-gui/res/cardsfolder/r/rowdy_crew.txt @@ -6,7 +6,7 @@ K:Trample T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw three cards, then discard two cards at random. If two cards that share a card type are discarded this way, put two +1/+1 counters on CARDNAME. SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 3 | SubAbility$ DBDiscard SVar:DBDiscard:DB$ Discard | NumCards$ 2 | Mode$ Random | Defined$ You | RememberDiscarded$ True | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 2 | ConditionCheckSVar$ SameType | ConditionSVarCompare$ EQ2 | References$ SameType | SubAbility$ DBCleanup +SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 2 | ConditionCheckSVar$ SameType | ConditionSVarCompare$ EQ2 | SubAbility$ DBCleanup SVar:SameType:Count$RememberedWithSharedCardType SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/rowdy_crew.jpg diff --git a/forge-gui/res/cardsfolder/r/rubblebelt_raiders.txt b/forge-gui/res/cardsfolder/r/rubblebelt_raiders.txt index 781fa0948ff..48d85b56d76 100644 --- a/forge-gui/res/cardsfolder/r/rubblebelt_raiders.txt +++ b/forge-gui/res/cardsfolder/r/rubblebelt_raiders.txt @@ -3,7 +3,7 @@ ManaCost:1 RG RG RG Types:Creature Human Warrior PT:3/3 T:Mode$ Attacks | ValidCard$ Creature.Self | Execute$ RubblebeltWarCry | TriggerDescription$ Whenever CARDNAME attacks, put a +1/+1 counter on it for each attacking creature you control. -SVar:RubblebeltWarCry:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:RubblebeltWarCry:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X SVar:X:Count$Valid Creature.attacking+YouCtrl SVar:HasAttackEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/rubblebelt_raiders.jpg diff --git a/forge-gui/res/cardsfolder/r/rubblebelt_rioters.txt b/forge-gui/res/cardsfolder/r/rubblebelt_rioters.txt index 79cdc69d8ee..486a75be626 100644 --- a/forge-gui/res/cardsfolder/r/rubblebelt_rioters.txt +++ b/forge-gui/res/cardsfolder/r/rubblebelt_rioters.txt @@ -4,6 +4,6 @@ Types:Creature Human Berserker PT:0/4 K:Haste T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +X/+0 until end of turn, where X is the greatest power among creatures you control. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$GreatestPower_Creature.YouCtrl Oracle:Haste\nWhenever Rubblebelt Rioters attacks, it gets +X/+0 until end of turn, where X is the greatest power among creatures you control. diff --git a/forge-gui/res/cardsfolder/r/rubblehulk.txt b/forge-gui/res/cardsfolder/r/rubblehulk.txt index 905a5523079..f15549cdd84 100644 --- a/forge-gui/res/cardsfolder/r/rubblehulk.txt +++ b/forge-gui/res/cardsfolder/r/rubblehulk.txt @@ -2,8 +2,8 @@ Name:Rubblehulk ManaCost:4 R G Types:Creature Elemental PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. -A:AB$ Pump | Cost$ 1 R G Discard<1/CARDNAME> | ActivationZone$ Hand | PrecostDesc$ Bloodrush — | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | NumAtt$ X | NumDef$ X | References$ X | SpellDescription$ Target attacking creature gets +X/+X until end of turn, where X is the number of lands you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. +A:AB$ Pump | Cost$ 1 R G Discard<1/CARDNAME> | ActivationZone$ Hand | PrecostDesc$ Bloodrush — | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | NumAtt$ X | NumDef$ X | SpellDescription$ Target attacking creature gets +X/+X until end of turn, where X is the number of lands you control. SVar:X:Count$Valid Land.YouCtrl SVar:BuffedBy:Land SVar:NeedsToPlayVar:X GE3 diff --git a/forge-gui/res/cardsfolder/r/ruin_raider.txt b/forge-gui/res/cardsfolder/r/ruin_raider.txt index f400b6dbb9f..41d0da62e14 100644 --- a/forge-gui/res/cardsfolder/r/ruin_raider.txt +++ b/forge-gui/res/cardsfolder/r/ruin_raider.txt @@ -2,9 +2,9 @@ Name:Ruin Raider ManaCost:2 B Types:Creature Orc Pirate PT:3/2 -T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ RaidTest | Execute$ TrigDig | References$ RaidTest | TriggerDescription$ Raid — At the beginning of your end step, if you attacked this turn, reveal the top card of your library and put that card into your hand. You lose life equal to the card's converted mana cost. +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ RaidTest | Execute$ TrigDig | TriggerDescription$ Raid — At the beginning of your end step, if you attacked this turn, reveal the top card of your library and put that card into your hand. You lose life equal to the card's converted mana cost. SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | RememberChanged$ True | SubAbility$ DBLose -SVar:DBLose:DB$ LoseLife | LifeAmount$ X | SubAbility$ DBCleanup | References$ X +SVar:DBLose:DB$ LoseLife | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:RaidTest:Count$AttackersDeclared diff --git a/forge-gui/res/cardsfolder/r/ruination_rioter.txt b/forge-gui/res/cardsfolder/r/ruination_rioter.txt index 44f8d92b68c..2bee759cc86 100644 --- a/forge-gui/res/cardsfolder/r/ruination_rioter.txt +++ b/forge-gui/res/cardsfolder/r/ruination_rioter.txt @@ -3,6 +3,6 @@ ManaCost:R G Types:Creature Human Berserker PT:2/2 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDamage | OptionalDecider$ You | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, you may have it deal damage to any target equal to the number of land cards in your graveyard. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$TypeInYourYard.Land Oracle:When Ruination Rioter dies, you may have it deal damage to any target equal to the number of land cards in your graveyard. diff --git a/forge-gui/res/cardsfolder/r/rumbling_aftershocks.txt b/forge-gui/res/cardsfolder/r/rumbling_aftershocks.txt index dfab11dee89..91b19d753ec 100644 --- a/forge-gui/res/cardsfolder/r/rumbling_aftershocks.txt +++ b/forge-gui/res/cardsfolder/r/rumbling_aftershocks.txt @@ -2,7 +2,7 @@ Name:Rumbling Aftershocks ManaCost:4 R Types:Enchantment T:Mode$ SpellCast | ValidCard$ Card.YouCtrl+kicked | TriggerZones$ Battlefield | Execute$ DamageSomeone | OptionalDecider$ You | TriggerDescription$ Whenever you cast a kicked spell, you may have CARDNAME deal damage to any target equal to the number of times that spell was kicked. -SVar:DamageSomeone:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | References$ X | NumDmg$ X | TgtPrompt$ Select any target +SVar:DamageSomeone:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | NumDmg$ X | TgtPrompt$ Select any target SVar:X:TriggeredSpellAbility$Count$TimesKicked AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/rumbling_aftershocks.jpg diff --git a/forge-gui/res/cardsfolder/r/rumbling_crescendo.txt b/forge-gui/res/cardsfolder/r/rumbling_crescendo.txt index 6fa79fd4ed4..225c8f0d71a 100644 --- a/forge-gui/res/cardsfolder/r/rumbling_crescendo.txt +++ b/forge-gui/res/cardsfolder/r/rumbling_crescendo.txt @@ -1,7 +1,7 @@ Name:Rumbling Crescendo ManaCost:3 R R Types:Enchantment -A:AB$ Destroy | Cost$ R Sac<1/CARDNAME> | TargetMin$ 0 | TargetMax$ X | References$ X | ValidTgts$ Land | TgtPrompt$ Select target land | SpellDescription$ Destroy up to X target lands, where X is the number of verse counters on CARDNAME. +A:AB$ Destroy | Cost$ R Sac<1/CARDNAME> | TargetMin$ 0 | TargetMax$ X | ValidTgts$ Land | TgtPrompt$ Select target land | SpellDescription$ Destroy up to X target lands, where X is the number of verse counters on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ VERSE | CounterNum$ 1 SVar:X:Count$CardCounters.VERSE diff --git a/forge-gui/res/cardsfolder/r/rumbling_rockslide.txt b/forge-gui/res/cardsfolder/r/rumbling_rockslide.txt index c215dd2fbdc..8f8d6aec1b1 100755 --- a/forge-gui/res/cardsfolder/r/rumbling_rockslide.txt +++ b/forge-gui/res/cardsfolder/r/rumbling_rockslide.txt @@ -1,6 +1,6 @@ Name:Rumbling Rockslide ManaCost:3 R Types:Sorcery -A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of lands you control. +A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of lands you control. SVar:X:Count$Valid Land.YouCtrl Oracle:Rumbling Rockslide deals damage to target creature equal to the number of lands you control. diff --git a/forge-gui/res/cardsfolder/r/rumbling_ruin.txt b/forge-gui/res/cardsfolder/r/rumbling_ruin.txt index e936c603206..3b012994801 100644 --- a/forge-gui/res/cardsfolder/r/rumbling_ruin.txt +++ b/forge-gui/res/cardsfolder/r/rumbling_ruin.txt @@ -3,9 +3,9 @@ ManaCost:5 R Types:Creature Elemental PT:6/6 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigStore | TriggerDescription$ When CARDNAME enters the battlefield, count the number of +1/+1 counters on creatures you control. Creatures your opponents control with power less than or equal to that number can't block this turn. -SVar:TrigStore:DB$ StoreSVar | SVar$ X | Type$ CountSVar | Expression$ Y | References$ Y | SubAbility$ TrigEffect +SVar:TrigStore:DB$ StoreSVar | SVar$ X | Type$ CountSVar | Expression$ Y | SubAbility$ TrigEffect SVar:TrigEffect:DB$Effect | Name$ Rumbling Ruin Effect | StaticAbilities$ KWPump | SVars$ X | SpellDescription$ Creatures your opponents control with power less than or equal to that number can't block this turn. -SVar:KWPump:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Battlefield | Affected$ Creature.OppCtrl+powerLEX | References$ X | AddHiddenKeyword$ CARDNAME can't block. | Description$ Creatures your opponents control with power less than or equal to that number can't block this turn. +SVar:KWPump:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Battlefield | Affected$ Creature.OppCtrl+powerLEX | AddHiddenKeyword$ CARDNAME can't block. | Description$ Creatures your opponents control with power less than or equal to that number can't block this turn. SVar:X:Number$0 SVar:Y:Count$TotalCounters_P1P1_Creature.YouCtrl Oracle:When Rumbling Ruin enters the battlefield, count the number of +1/+1 counters on creatures you control. Creatures your opponents control with power less than or equal to that number can't block this turn. diff --git a/forge-gui/res/cardsfolder/r/rune_snag.txt b/forge-gui/res/cardsfolder/r/rune_snag.txt index 676bf8ee9be..59817ec61f4 100644 --- a/forge-gui/res/cardsfolder/r/rune_snag.txt +++ b/forge-gui/res/cardsfolder/r/rune_snag.txt @@ -1,7 +1,7 @@ Name:Rune Snag ManaCost:1 U Types:Instant -A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | TgtPrompt$ Select target spell | UnlessCost$ X | UnlessPayer$ TargetedController | References$ X,Y | SpellDescription$ Counter target spell unless its controller pays {2} plus an additional {2} for each card named CARDNAME in each graveyard. +A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | TgtPrompt$ Select target spell | UnlessCost$ X | UnlessPayer$ TargetedController | SpellDescription$ Counter target spell unless its controller pays {2} plus an additional {2} for each card named CARDNAME in each graveyard. SVar:Y:Count$NamedInAllYards.Rune Snag/Times.2 SVar:X:Number$2/Plus.Y DeckHints:Name$Rune Snag diff --git a/forge-gui/res/cardsfolder/r/runechanters_pike.txt b/forge-gui/res/cardsfolder/r/runechanters_pike.txt index 1f5c77ea92d..a28ab8051a1 100644 --- a/forge-gui/res/cardsfolder/r/runechanters_pike.txt +++ b/forge-gui/res/cardsfolder/r/runechanters_pike.txt @@ -2,7 +2,7 @@ Name:Runechanter's Pike ManaCost:2 Types:Artifact Equipment K:Equip:2 -S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | References$ X,Y | AddKeyword$ First Strike | Description$ Equipped creature has first strike and gets +X/+0 where X is the number of instant and sorcery cards in your graveyard. +S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddKeyword$ First Strike | Description$ Equipped creature has first strike and gets +X/+0 where X is the number of instant and sorcery cards in your graveyard. SVar:X:Count$TypeInYourYard.Instant/Plus.Y SVar:Y:Count$TypeInYourYard.Sorcery SVar:Picture:http://www.wizards.com/global/images/magic/general/runechanters_pike.jpg diff --git a/forge-gui/res/cardsfolder/r/runed_arch.txt b/forge-gui/res/cardsfolder/r/runed_arch.txt index afb3eef56c2..b05d6e58317 100644 --- a/forge-gui/res/cardsfolder/r/runed_arch.txt +++ b/forge-gui/res/cardsfolder/r/runed_arch.txt @@ -2,7 +2,7 @@ Name:Runed Arch ManaCost:3 Types:Artifact K:CARDNAME enters the battlefield tapped. -A:AB$ Pump | Cost$ X T Sac<1/CARDNAME> | KW$ HIDDEN Unblockable | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Creature.powerLE2 | TgtPrompt$ Select X target creatures with power 2 or less | StackDescription$ X target creatures with power 2 or less [{c:Targeted}] can't be blocked this turn. | SpellDescription$ X target creatures with power 2 or less can't be blocked this turn. +A:AB$ Pump | Cost$ X T Sac<1/CARDNAME> | KW$ HIDDEN Unblockable | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature.powerLE2 | TgtPrompt$ Select X target creatures with power 2 or less | StackDescription$ X target creatures with power 2 or less [{c:Targeted}] can't be blocked this turn. | SpellDescription$ X target creatures with power 2 or less can't be blocked this turn. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Runed Arch enters the battlefield tapped.\n{X}, {T}, Sacrifice Runed Arch: X target creatures with power 2 or less can't be blocked this turn. diff --git a/forge-gui/res/cardsfolder/r/runeflare_trap.txt b/forge-gui/res/cardsfolder/r/runeflare_trap.txt index 7c49bb2f91b..5156da2c34f 100644 --- a/forge-gui/res/cardsfolder/r/runeflare_trap.txt +++ b/forge-gui/res/cardsfolder/r/runeflare_trap.txt @@ -1,8 +1,8 @@ Name:Runeflare Trap ManaCost:4 R R Types:Instant Trap -SVar:AltCost:Cost$ R | CheckSVar$ Y | SVarCompare$ GE3 | References$ Y | Description$ If an opponent drew three or more cards this turn, you may pay {R} rather than pay this spell's mana cost. -A:SP$ DealDamage | Cost$ 4 R R | ValidTgts$ Player | TgtPrompt$ Select target player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target player equal to the number of cards in that player's hand. +SVar:AltCost:Cost$ R | CheckSVar$ Y | SVarCompare$ GE3 | Description$ If an opponent drew three or more cards this turn, you may pay {R} rather than pay this spell's mana cost. +A:SP$ DealDamage | Cost$ 4 R R | ValidTgts$ Player | TgtPrompt$ Select target player | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target player equal to the number of cards in that player's hand. SVar:X:TargetedPlayer$CardsInHand SVar:Y:PlayerCountOpponents$HighestCardsDrawn Oracle:If an opponent drew three or more cards this turn, you may pay {R} rather than pay this spell's mana cost.\nRuneflare Trap deals damage to target player equal to the number of cards in that player's hand. diff --git a/forge-gui/res/cardsfolder/r/runesword.txt b/forge-gui/res/cardsfolder/r/runesword.txt index ac405d438b1..28a27db6e8f 100644 --- a/forge-gui/res/cardsfolder/r/runesword.txt +++ b/forge-gui/res/cardsfolder/r/runesword.txt @@ -2,7 +2,7 @@ Name:Runesword ManaCost:6 Types:Artifact A:AB$ Pump | Cost$ 3 T | NumAtt$ +2 | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | SubAbility$ RuneswordEffect | SpellDescription$ Target attacking creature gets +2/+0 until end of turn. When that creature leaves the battlefield this turn, sacrifice CARDNAME. If the creature deals damage to a creature this turn, the creature dealt damage can't be regenerated this turn. If a creature dealt damage by the targeted creature would die this turn, exile that creature instead. -SVar:RuneswordEffect:DB$ Effect | Name$ Runesword Effect | Triggers$ TrigSacRunesword,TrigNoregen | ReplacementEffects$ RuneswordRep | SVars$ RuneswordSac,PumpNogen,ExileEffect,RuneswordExile | References$ TrigSacRunesword,TrigNoregen,RuneswordSac,PumpNogen,ExileEffect,RuneswordExile | RememberObjects$ Targeted | ImprintCards$ Self +SVar:RuneswordEffect:DB$ Effect | Name$ Runesword Effect | Triggers$ TrigSacRunesword,TrigNoregen | ReplacementEffects$ RuneswordRep | SVars$ RuneswordSac,PumpNogen,ExileEffect,RuneswordExile | RememberObjects$ Targeted | ImprintCards$ Self SVar:TrigSacRunesword:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Battlefield | Destination$ Any | Execute$ RuneswordSac | TriggerDescription$ When the targeted creature leaves the battlefield this turn, sacrifice Runesword. SVar:RuneswordSac:DB$ SacrificeAll | Defined$ Imprinted | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/r/rupture.txt b/forge-gui/res/cardsfolder/r/rupture.txt index 43faa18ee74..296303c8597 100644 --- a/forge-gui/res/cardsfolder/r/rupture.txt +++ b/forge-gui/res/cardsfolder/r/rupture.txt @@ -2,7 +2,7 @@ Name:Rupture ManaCost:2 R Types:Sorcery A:SP$ Sacrifice | Cost$ 2 R | Amount$ 1 | SacValid$ Creature | RememberSacrificed$ True | SubAbility$ RuptureDmg | SpellDescription$ Sacrifice a creature. CARDNAME deals damage equal to that creature's power to each creature without flying and each player. -SVar:RuptureDmg:DB$ DamageAll | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:RuptureDmg:DB$ DamageAll | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardPower AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/r/rush_of_blood.txt b/forge-gui/res/cardsfolder/r/rush_of_blood.txt index 8415c88c4bd..ff2a0557b76 100644 --- a/forge-gui/res/cardsfolder/r/rush_of_blood.txt +++ b/forge-gui/res/cardsfolder/r/rush_of_blood.txt @@ -1,7 +1,7 @@ Name:Rush of Blood ManaCost:2 R Types:Instant -A:SP$ Pump | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X | SpellDescription$ Target creature gets +X/+0 until end of turn, where X is its power. +A:SP$ Pump | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SpellDescription$ Target creature gets +X/+0 until end of turn, where X is its power. SVar:X:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/rush_of_blood.jpg Oracle:Target creature gets +X/+0 until end of turn, where X is its power. diff --git a/forge-gui/res/cardsfolder/r/rush_of_knowledge.txt b/forge-gui/res/cardsfolder/r/rush_of_knowledge.txt index 158699506de..60045d99d0e 100644 --- a/forge-gui/res/cardsfolder/r/rush_of_knowledge.txt +++ b/forge-gui/res/cardsfolder/r/rush_of_knowledge.txt @@ -1,7 +1,7 @@ Name:Rush of Knowledge ManaCost:4 U Types:Sorcery -A:SP$ Draw | Cost$ 4 U | Defined$ You | NumCards$ X | References$ X | SpellDescription$ Draw cards equal to the highest converted mana cost among permanents you control. +A:SP$ Draw | Cost$ 4 U | Defined$ You | NumCards$ X | SpellDescription$ Draw cards equal to the highest converted mana cost among permanents you control. SVar:X:Count$MaxCMCYouCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/rush_of_knowledge.jpg diff --git a/forge-gui/res/cardsfolder/r/rushing_river.txt b/forge-gui/res/cardsfolder/r/rushing_river.txt index 25cfef1935c..c0570f4b727 100644 --- a/forge-gui/res/cardsfolder/r/rushing_river.txt +++ b/forge-gui/res/cardsfolder/r/rushing_river.txt @@ -2,7 +2,7 @@ Name:Rushing River ManaCost:2 U Types:Instant K:Kicker:Sac<1/Land> -A:SP$ ChangeZone | Cost$ 2 U | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select target nonland permanent | TargetMin$ X | TargetMax$ X | References$ X,Z | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return target nonland permanent to its owner's hand. If this spell was kicked, return another target nonland permanent to its owner's hand. +A:SP$ ChangeZone | Cost$ 2 U | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select target nonland permanent | TargetMin$ X | TargetMax$ X,Z | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return target nonland permanent to its owner's hand. If this spell was kicked, return another target nonland permanent to its owner's hand. SVar:X:Count$Kicked.2.1 SVar:NeedsToPlayKickedVar:Z GE2 SVar:Z:Count$Valid Permanent.nonLand+OppCtrl diff --git a/forge-gui/res/cardsfolder/r/rushwood_grove.txt b/forge-gui/res/cardsfolder/r/rushwood_grove.txt index 0f188ad88c5..7e6c88b37a9 100644 --- a/forge-gui/res/cardsfolder/r/rushwood_grove.txt +++ b/forge-gui/res/cardsfolder/r/rushwood_grove.txt @@ -3,6 +3,6 @@ ManaCost:no cost Types:Land K:CARDNAME enters the battlefield tapped. A:AB$ PutCounter | Cost$ T | Defined$ Self | CounterType$ STORAGE | CounterNum$ 1 | SpellDescription$ Put a storage counter on CARDNAME. -A:AB$ Mana | Cost$ T SubCounter | Produced$ G | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | References$ X | AILogic$ ManaRitualBattery | AINoRecursiveCheck$ True | SpellDescription$ Add {G} for each storage counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ G | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | AILogic$ ManaRitualBattery | AINoRecursiveCheck$ True | SpellDescription$ Add {G} for each storage counter removed this way. SVar:X:Count$xPaid Oracle:Rushwood Grove enters the battlefield tapped.\n{T}: Put a storage counter on Rushwood Grove.\n{T}, Remove any number of storage counters from Rushwood Grove: Add {G} for each storage counter removed this way. diff --git a/forge-gui/res/cardsfolder/r/rushwood_legate.txt b/forge-gui/res/cardsfolder/r/rushwood_legate.txt index 2ab40f2c1f6..4c24c78870a 100644 --- a/forge-gui/res/cardsfolder/r/rushwood_legate.txt +++ b/forge-gui/res/cardsfolder/r/rushwood_legate.txt @@ -2,7 +2,7 @@ Name:Rushwood Legate ManaCost:2 G Types:Creature Dryad PT:2/1 -S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | CheckSVar$ X | CheckSecondSVar$ Y | References$ X,Y | Description$ If an opponent controls an Island and you control a Forest, you may cast this spell without paying its mana cost. +S:Mode$ Continuous | Affected$ Card.Self | EffectZone$ All | AddKeyword$ Alternative Cost:0 | CheckSVar$ X | CheckSecondSVar$ Y | Description$ If an opponent controls an Island and you control a Forest, you may cast this spell without paying its mana cost. SVar:X:Count$Valid Island.OppCtrl SVar:Y:Count$Valid Forest.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/rushwood_legate.jpg diff --git a/forge-gui/res/cardsfolder/r/rust_elemental.txt b/forge-gui/res/cardsfolder/r/rust_elemental.txt index b0fb71883d2..3725ecc3562 100644 --- a/forge-gui/res/cardsfolder/r/rust_elemental.txt +++ b/forge-gui/res/cardsfolder/r/rust_elemental.txt @@ -5,8 +5,8 @@ PT:4/4 K:Flying T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, sacrifice an artifact other than CARDNAME. If you can't, tap CARDNAME and you lose 4 life. SVar:TrigSac:DB$ Sacrifice | Defined$ You | SacValid$ Artifact.Other | SubAbility$ DBTap | RememberSacrificed$ True -SVar:DBTap:DB$ Tap | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBLoseLife | References$ X -SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 4 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | References$ X | SubAbility$ DBCleanup +SVar:DBTap:DB$ Tap | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBLoseLife +SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 4 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/r/rusting_golem.txt b/forge-gui/res/cardsfolder/r/rusting_golem.txt index 3f4b518c0fe..b98712223ed 100644 --- a/forge-gui/res/cardsfolder/r/rusting_golem.txt +++ b/forge-gui/res/cardsfolder/r/rusting_golem.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact Creature Golem PT:*/* K:Fading:5 -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of fade counters on CARDNAME. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of fade counters on CARDNAME. SVar:X:Count$CardCounters.FADE SVar:Picture:http://www.wizards.com/global/images/magic/general/rusting_golem.jpg Oracle:Fading 5 (This creature enters the battlefield with five fade counters on it. At the beginning of your upkeep, remove a fade counter from it. If you can't, sacrifice it.)\nRusting Golem's power and toughness are each equal to the number of fade counters on it. diff --git a/forge-gui/res/cardsfolder/r/ruthless_cullblade.txt b/forge-gui/res/cardsfolder/r/ruthless_cullblade.txt index 1af32fd6cea..d343c3bad3c 100644 --- a/forge-gui/res/cardsfolder/r/ruthless_cullblade.txt +++ b/forge-gui/res/cardsfolder/r/ruthless_cullblade.txt @@ -2,7 +2,7 @@ Name:Ruthless Cullblade ManaCost:1 B Types:Creature Vampire Warrior PT:2/1 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 2 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ LE10 | References$ X | Description$ CARDNAME gets +2/+1 as long as an opponent has 10 or less life. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 2 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ LE10 | Description$ CARDNAME gets +2/+1 as long as an opponent has 10 or less life. SVar:X:PlayerCountOpponents$LowestLifeTotal SVar:Picture:http://www.wizards.com/global/images/magic/general/ruthless_cullblade.jpg Oracle:Ruthless Cullblade gets +2/+1 as long as an opponent has 10 or less life. diff --git a/forge-gui/res/cardsfolder/r/rysorian_badger.txt b/forge-gui/res/cardsfolder/r/rysorian_badger.txt index f21db5f33b4..a688a925971 100644 --- a/forge-gui/res/cardsfolder/r/rysorian_badger.txt +++ b/forge-gui/res/cardsfolder/r/rysorian_badger.txt @@ -4,7 +4,7 @@ Types:Creature Badger PT:2/2 T:Mode$ AttackerUnblocked | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigExile | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME attacks and isn't blocked, you may exile up to two target creature cards from defending player's graveyard. If you do, you gain 1 life for each card exiled this way and CARDNAME assigns no combat damage this turn. SVar:TrigExile:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | TargetMin$ 0 | TargetMax$ 2 | ValidTgts$ Creature.DefenderCtrl | RememberChanged$ True | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X | SubAbility$ DBPump +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | SubAbility$ DBPump SVar:DBPump:DB$ Pump | Defined$ Self | KW$ HIDDEN CARDNAME assigns no combat damage | SubAbility$ DBCleanup SVar:X:Remembered$Amount SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/s/saber_ants.txt b/forge-gui/res/cardsfolder/s/saber_ants.txt index cef5f1179a3..3c3caaca6eb 100644 --- a/forge-gui/res/cardsfolder/s/saber_ants.txt +++ b/forge-gui/res/cardsfolder/s/saber_ants.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Creature Insect PT:2/3 T:Mode$ DamageDoneOnce | Execute$ TrigToken | ValidTarget$ Card.Self | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME is dealt damage, you may create that many 1/1 green Insect creature tokens. -SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_insect | TokenOwner$ You | LegacyImage$ g 1 1 insect mmq | References$ X +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_insect | TokenOwner$ You | LegacyImage$ g 1 1 insect mmq SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/saber_ants.jpg diff --git a/forge-gui/res/cardsfolder/s/sacellum_godspeaker.txt b/forge-gui/res/cardsfolder/s/sacellum_godspeaker.txt index ff53562cdb3..3270c12983a 100644 --- a/forge-gui/res/cardsfolder/s/sacellum_godspeaker.txt +++ b/forge-gui/res/cardsfolder/s/sacellum_godspeaker.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Elf Druid PT:2/2 A:AB$ Reveal | Cost$ T | RevealValid$ Creature.powerGE5+YouCtrl | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBspeakerMana | SpellDescription$ Reveal any number of creature cards with power 5 or greater from your hand. Add {G} for each card revealed this way. -SVar:DBspeakerMana:DB$ Mana | Produced$ G | Amount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBspeakerMana:DB$ Mana | Produced$ G | Amount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/sacred_rites.txt b/forge-gui/res/cardsfolder/s/sacred_rites.txt index 2f2809a1803..90902ddc17e 100644 --- a/forge-gui/res/cardsfolder/s/sacred_rites.txt +++ b/forge-gui/res/cardsfolder/s/sacred_rites.txt @@ -2,7 +2,7 @@ Name:Sacred Rites ManaCost:W Types:Instant A:SP$ Discard | Cost$ W | Defined$ You | AnyNumber$ True | Mode$ TgtChoose | Optional$ True | RememberDiscarded$ True | SubAbility$ DBPumpAll | SpellDescription$ Discard any number of cards. Creatures you control get +0/+1 until end of turn for each card discarded this way. -SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | NumDef$ +X | SubAbility$ DBCleanup | References$ X +SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | NumDef$ +X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/sacrifice.txt b/forge-gui/res/cardsfolder/s/sacrifice.txt index 60fc0f35500..1bb62cf8990 100644 --- a/forge-gui/res/cardsfolder/s/sacrifice.txt +++ b/forge-gui/res/cardsfolder/s/sacrifice.txt @@ -1,7 +1,7 @@ Name:Sacrifice ManaCost:B Types:Instant -A:SP$ Mana | Cost$ B Sac<1/Creature> | Produced$ B | Amount$ X | References$ X | SpellDescription$ Add an amount of black mana equal to the sacrificed creature's converted mana cost. +A:SP$ Mana | Cost$ B Sac<1/Creature> | Produced$ B | Amount$ X | SpellDescription$ Add an amount of black mana equal to the sacrificed creature's converted mana cost. SVar:X:Sacrificed$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/sacrifice.jpg diff --git a/forge-gui/res/cardsfolder/s/sadistic_sacrament.txt b/forge-gui/res/cardsfolder/s/sadistic_sacrament.txt index 617321cdb42..b447f8cee67 100644 --- a/forge-gui/res/cardsfolder/s/sadistic_sacrament.txt +++ b/forge-gui/res/cardsfolder/s/sadistic_sacrament.txt @@ -2,7 +2,7 @@ Name:Sadistic Sacrament ManaCost:B B B Types:Sorcery K:Kicker:7 -A:SP$ ChangeZone | Cost$ B B B | Origin$ Library | Destination$ Exile | ValidTgts$ Player | ChangeType$ Card | ChangeNum$ X | References$ X | IsCurse$ True | Chooser$ You | Shuffle$ True | SpellDescription$ Search target player's library for up to three cards, exile them, then that player shuffles their library. If this spell was kicked, instead search that player's library for up to fifteen cards, exile them, then that player shuffles their library. +A:SP$ ChangeZone | Cost$ B B B | Origin$ Library | Destination$ Exile | ValidTgts$ Player | ChangeType$ Card | ChangeNum$ X | IsCurse$ True | Chooser$ You | Shuffle$ True | SpellDescription$ Search target player's library for up to three cards, exile them, then that player shuffles their library. If this spell was kicked, instead search that player's library for up to fifteen cards, exile them, then that player shuffles their library. SVar:X:Count$Kicked.15.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/sadistic_sacrament.jpg Oracle:Kicker {7} (You may pay an additional {7} as you cast this spell.)\nSearch target player's library for up to three cards, exile them, then that player shuffles their library. If this spell was kicked, instead search that player's library for up to fifteen cards, exile them, then that player shuffles their library. diff --git a/forge-gui/res/cardsfolder/s/saffi_eriksdotter.txt b/forge-gui/res/cardsfolder/s/saffi_eriksdotter.txt index 095144026f2..742bcd24261 100644 --- a/forge-gui/res/cardsfolder/s/saffi_eriksdotter.txt +++ b/forge-gui/res/cardsfolder/s/saffi_eriksdotter.txt @@ -2,7 +2,7 @@ Name:Saffi Eriksdotter ManaCost:G W Types:Legendary Creature Human Scout PT:2/2 -A:AB$ Effect | Cost$ Sac<1/CARDNAME> | Name$ Saffi Eriksdotter | ValidTgts$ Creature | TgtPrompt$ Select target creature | Triggers$ TrigChangesZone | SVars$ TrigBounceMe | ForgetOnMoved$ Graveyard | References$ TrigChangesZone,TrigBounceMe | RememberObjects$ Targeted | SpellDescription$ When target creature is put into your graveyard from the battlefield this turn, return that card to the battlefield. +A:AB$ Effect | Cost$ Sac<1/CARDNAME> | Name$ Saffi Eriksdotter | ValidTgts$ Creature | TgtPrompt$ Select target creature | Triggers$ TrigChangesZone | SVars$ TrigBounceMe | ForgetOnMoved$ Graveyard | RememberObjects$ Targeted | SpellDescription$ When target creature is put into your graveyard from the battlefield this turn, return that card to the battlefield. SVar:TrigChangesZone:Mode$ ChangesZone | ValidCard$ Creature.IsRemembered+YouOwn | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigBounceMe | TriggerDescription$ If the targeted card of Saffi Eriksdotter is put into your graveyard from the battlefield this turn, return it to the battlefield. SVar:TrigBounceMe:DB$ ChangeZone | Defined$ Remembered | Origin$ Graveyard | Destination$ Battlefield AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/sage_eye_avengers.txt b/forge-gui/res/cardsfolder/s/sage_eye_avengers.txt index 856c1cfb880..301f116e430 100644 --- a/forge-gui/res/cardsfolder/s/sage_eye_avengers.txt +++ b/forge-gui/res/cardsfolder/s/sage_eye_avengers.txt @@ -4,7 +4,7 @@ Types:Creature Djinn Monk PT:4/5 K:Prowess T:Mode$ Attacks | ValidCard$ Card.Self | OptionalDecider$ You | Execute$ TrigBounce | TriggerDescription$ Whenever CARDNAME attacks, you may return target creature to its owner's hand if its power is less than Sage-Eye Avengers's power. -SVar:TrigBounce:DB$ ChangeZone | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | IsCurse$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X,Y +SVar:TrigBounce:DB$ ChangeZone | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | IsCurse$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 SVar:Y:Count$CardPower SVar:X:Targeted$Valid Creature.powerLTY SVar:HasAttackEffect:TRUE diff --git a/forge-gui/res/cardsfolder/s/sage_of_ancient_lore_werewolf_of_ancient_hunger.txt b/forge-gui/res/cardsfolder/s/sage_of_ancient_lore_werewolf_of_ancient_hunger.txt index 000471dcd55..f3ae788abc8 100644 --- a/forge-gui/res/cardsfolder/s/sage_of_ancient_lore_werewolf_of_ancient_hunger.txt +++ b/forge-gui/res/cardsfolder/s/sage_of_ancient_lore_werewolf_of_ancient_hunger.txt @@ -2,7 +2,7 @@ Name:Sage of Ancient Lore ManaCost:4 G Types:Creature Human Shaman Werewolf PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. SVar:X:Count$InYourHand T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card. SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ 1 @@ -24,7 +24,7 @@ Types:Creature Werewolf PT:*/* K:Vigilance K:Trample -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | References$ Y | Description$ CARDNAME's power and toughness are each equal to the total number of cards in all players' hands. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ Y | SetToughness$ Y | Description$ CARDNAME's power and toughness are each equal to the total number of cards in all players' hands. SVar:Y:Count$NumInAllHands T:Mode$Phase | Phase$ Upkeep | WerewolfUntransformCondition$ True | TriggerZones$ Battlefield | Execute$ TrigTransform | TriggerDescription$ At the beginning of each upkeep, if a player cast two or more spells last turn, transform CARDNAME. SVar:TrigTransform:DB$ SetState | Defined$ Self | Mode$ Transform diff --git a/forge-gui/res/cardsfolder/s/sage_of_hours.txt b/forge-gui/res/cardsfolder/s/sage_of_hours.txt index 8c92c84f4b4..0c6001ca05b 100644 --- a/forge-gui/res/cardsfolder/s/sage_of_hours.txt +++ b/forge-gui/res/cardsfolder/s/sage_of_hours.txt @@ -4,7 +4,7 @@ Types:Creature Human Wizard PT:1/1 T:Mode$ SpellCast | ValidActivatingPlayer$ You | TargetsValid$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Heroic — Whenever you cast a spell that targets CARDNAME, put a +1/+1 counter on it. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 -A:AB$ AddTurn | Cost$ SubCounter | Defined$ You | NumTurns$ X | References$ X | SpellDescription$ For each five counters removed this way, take an extra turn after this one. +A:AB$ AddTurn | Cost$ SubCounter | Defined$ You | NumTurns$ X | SpellDescription$ For each five counters removed this way, take an extra turn after this one. SVar:X:SVar$CostCountersRemoved/DivideEvenlyDown.5 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/sage_of_hours.jpg diff --git a/forge-gui/res/cardsfolder/s/sages_reverie.txt b/forge-gui/res/cardsfolder/s/sages_reverie.txt index b93d9dda1ce..9f15634ef46 100644 --- a/forge-gui/res/cardsfolder/s/sages_reverie.txt +++ b/forge-gui/res/cardsfolder/s/sages_reverie.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 3 W | ValidTgts$ Creature | AILogic$ Pump T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card for each aura you control that's attached to a creature. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ X | AddToughness$ X | Referneces$ X | Description$ Enchanted creature gets +1/+1 for each aura you control that's attached to a creature. SVar:X:Count$Valid Aura.YouCtrl+AttachedTo Creature SVar:BuffedBy:Aura diff --git a/forge-gui/res/cardsfolder/s/saheeli_the_gifted.txt b/forge-gui/res/cardsfolder/s/saheeli_the_gifted.txt index 41199ed5e59..f8c88296b80 100644 --- a/forge-gui/res/cardsfolder/s/saheeli_the_gifted.txt +++ b/forge-gui/res/cardsfolder/s/saheeli_the_gifted.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Saheeli Loyalty:4 A:AB$ Token | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | TokenAmount$ 1 | TokenScript$ c_1_1_a_servo | TokenOwner$ You | LegacyImage$ c 1 1 servo c18 | SpellDescription$ Create a 1/1 colorless Servo artifact creature token. A:AB$ Effect | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | StaticAbilities$ HBReduceCost | Triggers$ TrigCastSpell | SVars$ RemoveEffect,X | SpellDescription$ The next spell you cast this turn costs {1} less to cast for each artifact you control as you cast it. -SVar:HBReduceCost:Mode$ ReduceCost | EffectZone$ Command | Type$ Spell | ValidCard$ Card | Activator$ You | Amount$ X | References$ X | Description$ The next spell you cast this turn costs {1} less to cast for each artifact you control as you cast it. +SVar:HBReduceCost:Mode$ ReduceCost | EffectZone$ Command | Type$ Spell | ValidCard$ Card | Activator$ You | Amount$ X | Description$ The next spell you cast this turn costs {1} less to cast for each artifact you control as you cast it. SVar:TrigCastSpell:Mode$ SpellCast | ValidActivatingPlayer$ You | TriggerZones$ Command | Execute$ RemoveEffect | Static$ True SVar:RemoveEffect:DB$ ChangeZone | Origin$ Command | Destination$ Exile SVar:X:Count$Valid Artifact.YouCtrl diff --git a/forge-gui/res/cardsfolder/s/saheelis_directive.txt b/forge-gui/res/cardsfolder/s/saheelis_directive.txt index f64c2a8a477..bdf8e24b79a 100644 --- a/forge-gui/res/cardsfolder/s/saheelis_directive.txt +++ b/forge-gui/res/cardsfolder/s/saheelis_directive.txt @@ -2,6 +2,6 @@ Name:Saheeli's Directive ManaCost:X R R R Types:Sorcery K:Improvise -A:SP$ Dig | Cost$ X R R R | DigNum$ X | Reveal$ True | AnyNumber$ True | ChangeValid$ Artifact.cmcLEX | ChangeNum$ X | DestinationZone$ Battlefield | DestinationZone2$ Graveyard | References$ X | SpellDescription$ Reveal the top X cards of your library. You may put any number of artifact cards with converted mana cost X or less from among them onto the battlefield. Then put all cards revealed this way that weren't put onto the battlefield into your graveyard. +A:SP$ Dig | Cost$ X R R R | DigNum$ X | Reveal$ True | AnyNumber$ True | ChangeValid$ Artifact.cmcLEX | ChangeNum$ X | DestinationZone$ Battlefield | DestinationZone2$ Graveyard | SpellDescription$ Reveal the top X cards of your library. You may put any number of artifact cards with converted mana cost X or less from among them onto the battlefield. Then put all cards revealed this way that weren't put onto the battlefield into your graveyard. SVar:X:Count$xPaid Oracle:Improvise (Each artifact you tap after you're done activating mana abilities pays for {1}.)\nReveal the top X cards of your library. You may put any number of artifact cards with converted mana cost X or less from among them onto the battlefield. Then put all cards revealed this way that weren't put onto the battlefield into your graveyard. diff --git a/forge-gui/res/cardsfolder/s/sakashimas_will.txt b/forge-gui/res/cardsfolder/s/sakashimas_will.txt index 3f325e1b765..a2e779059c9 100755 --- a/forge-gui/res/cardsfolder/s/sakashimas_will.txt +++ b/forge-gui/res/cardsfolder/s/sakashimas_will.txt @@ -1,7 +1,7 @@ Name:Sakashima's Will ManaCost:3 U Types:Sorcery -A:SP$ Charm | Cost$ 3 U | MinCharmNum$ 1 | CharmNum$ X | References$ X,Y | Choices$ DBControl,DBImprint | AdditionalDescription$ If you control a commander as you cast this spell, you may choose both. +A:SP$ Charm | Cost$ 3 U | MinCharmNum$ 1 | CharmNum$ X | Choices$ DBControl,DBImprint | AdditionalDescription$ If you control a commander as you cast this spell, you may choose both. SVar:DBControl:DB$ ChooseCard | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | Amount$ 1 | Choices$ Creature.TargetedPlayerCtrl | ChoiceTitle$ Choose a creature you control | SubAbility$ DBGainControl | AILogic$ WorstCard | SpellDescription$ Target opponent chooses a creature they control. You gain control of it. SVar:DBGainControl:DB$ GainControl | Defined$ ChosenCard | NewController$ You | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/s/sakiko_mother_of_summer.txt b/forge-gui/res/cardsfolder/s/sakiko_mother_of_summer.txt index 585d71153a6..5b8b368c1e3 100644 --- a/forge-gui/res/cardsfolder/s/sakiko_mother_of_summer.txt +++ b/forge-gui/res/cardsfolder/s/sakiko_mother_of_summer.txt @@ -3,7 +3,7 @@ ManaCost:4 G G Types:Legendary Creature Snake Shaman PT:3/3 T:Mode$ DamageDone | ValidSource$ Creature.YouCtrl | ValidTarget$ Player | CombatDamage$ True | Execute$ SakuraManaSingle | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature you control deals combat damage to a player, add that much {G}. Until end of turn, you don't lose this mana as steps and phases end. -SVar:SakuraManaSingle:DB$ Mana | Produced$ G | Amount$ SakuraX | References$ SakuraX | PersistentMana$ True +SVar:SakuraManaSingle:DB$ Mana | Produced$ G | Amount$ SakuraX | PersistentMana$ True SVar:SakuraX:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/sakiko_mother_of_summer.jpg Oracle:Whenever a creature you control deals combat damage to a player, add that much {G}. Until end of turn, you don't lose this mana as steps and phases end. diff --git a/forge-gui/res/cardsfolder/s/saltcrusted_steppe.txt b/forge-gui/res/cardsfolder/s/saltcrusted_steppe.txt index 62af97d9921..6ae9282c636 100644 --- a/forge-gui/res/cardsfolder/s/saltcrusted_steppe.txt +++ b/forge-gui/res/cardsfolder/s/saltcrusted_steppe.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. A:AB$ PutCounter | Cost$ 1 T | CounterType$ STORAGE | CounterNum$ 1 | SpellDescription$ Put a storage counter on CARDNAME. -A:AB$ Mana | Cost$ 1 SubCounter | Produced$ Combo G W | Amount$ X | CostDesc$ {1}, Remove X storage counters from CARDNAME: | References$ X | SpellDescription$ Add X mana in any combination of {G} and/or {W}. +A:AB$ Mana | Cost$ 1 SubCounter | Produced$ Combo G W | Amount$ X | CostDesc$ {1}, Remove X storage counters from CARDNAME: | SpellDescription$ Add X mana in any combination of {G} and/or {W}. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{T}: Add {C}.\n{1}, {T}: Put a storage counter on Saltcrusted Steppe.\n{1}, Remove X storage counters from Saltcrusted Steppe: Add X mana in any combination of {G} and/or {W}. diff --git a/forge-gui/res/cardsfolder/s/samite_ministration.txt b/forge-gui/res/cardsfolder/s/samite_ministration.txt index 6a9bfd99dc0..bd93810c4f0 100644 --- a/forge-gui/res/cardsfolder/s/samite_ministration.txt +++ b/forge-gui/res/cardsfolder/s/samite_ministration.txt @@ -4,7 +4,7 @@ Types:Instant A:SP$ ChooseSource | Cost$ 1 W | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ Prevent all damage that would be dealt to you this turn by a source of your choice. Whenever damage from a black or red source is prevented this way this turn, you gain that much life. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RepDmg | SVars$ GainLifeYou,RepDmg,X,Y | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 SVar:RepDmg:Event$ DamageDone | ValidTarget$ You | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ GainLifeYou | PreventionEffect$ True | Description$ Prevent all damage that would be dealt to you this turn by a source of your choice. Whenever damage from a black or red source is prevented this way this turn, you gain that much life. -SVar:GainLifeYou:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X,Y | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 +SVar:GainLifeYou:DB$ GainLife | Defined$ You | LifeAmount$ X | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True SVar:X:ReplaceCount$DamageAmount SVar:Y:ReplacedSource$Valid Card.BlackSource,Card.RedSource diff --git a/forge-gui/res/cardsfolder/s/samite_pilgrim.txt b/forge-gui/res/cardsfolder/s/samite_pilgrim.txt index 1f497fffee4..1a039665d0d 100644 --- a/forge-gui/res/cardsfolder/s/samite_pilgrim.txt +++ b/forge-gui/res/cardsfolder/s/samite_pilgrim.txt @@ -2,7 +2,7 @@ Name:Samite Pilgrim ManaCost:1 W Types:Creature Human Cleric PT:1/1 -A:AB$ PreventDamage | Cost$ T | ValidTgts$ Creature | Amount$ X | PrecostDesc$ Domain — | References$ X | SpellDescription$ Prevent the next X damage that would be dealt to target creature this turn, where X is the number of basic land types among lands you control. +A:AB$ PreventDamage | Cost$ T | ValidTgts$ Creature | Amount$ X | PrecostDesc$ Domain — | SpellDescription$ Prevent the next X damage that would be dealt to target creature this turn, where X is the number of basic land types among lands you control. SVar:X:Count$Domain SVar:Picture:http://www.wizards.com/global/images/magic/general/samite_pilgrim.jpg Oracle:Domain — {T}: Prevent the next X damage that would be dealt to target creature this turn, where X is the number of basic land types among lands you control. diff --git a/forge-gui/res/cardsfolder/s/sanctum_of_calm_waters.txt b/forge-gui/res/cardsfolder/s/sanctum_of_calm_waters.txt index 33b15391a05..2225852425b 100644 --- a/forge-gui/res/cardsfolder/s/sanctum_of_calm_waters.txt +++ b/forge-gui/res/cardsfolder/s/sanctum_of_calm_waters.txt @@ -2,7 +2,7 @@ Name:Sanctum of Calm Waters ManaCost:3 U Types:Legendary Enchantment Shrine T:Mode$ Phase | Phase$ Main1 | PreCombatMain$ True | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDraw | OptionalDecider$ You | TriggerDescription$ At the beginning of your precombat main phase, you may draw X cards, where X is the number of Shrines you control. If you do, discard a card. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBDiscard +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBDiscard SVar:DBDiscard:DB$ Discard | Defined$ You | Mode$ TgtChoose | NumCards$ 1 SVar:X:Count$TypeYouCtrl.Shrine DeckHints:Type$Shrine diff --git a/forge-gui/res/cardsfolder/s/sanctum_of_fruitful_harvest.txt b/forge-gui/res/cardsfolder/s/sanctum_of_fruitful_harvest.txt index c8a63f316d6..b0b3e6c7244 100644 --- a/forge-gui/res/cardsfolder/s/sanctum_of_fruitful_harvest.txt +++ b/forge-gui/res/cardsfolder/s/sanctum_of_fruitful_harvest.txt @@ -2,7 +2,7 @@ Name:Sanctum of Fruitful Harvest ManaCost:2 G Types:Legendary Enchantment Shrine T:Mode$ Phase | Phase$ Main1 | PreCombatMain$ True | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigMana | TriggerDescription$ At the beginning of your precombat main phase, add X mana of any one color, where X is the number of Shrines you control. -SVar:TrigMana:DB$ Mana | Produced$ Any | Amount$ X | References$ X +SVar:TrigMana:DB$ Mana | Produced$ Any | Amount$ X SVar:X:Count$TypeYouCtrl.Shrine DeckHints:Type$Shrine Oracle:At the beginning of your precombat main phase, add X mana of any one color, where X is the number of Shrines you control. diff --git a/forge-gui/res/cardsfolder/s/sanctum_of_shattered_heights.txt b/forge-gui/res/cardsfolder/s/sanctum_of_shattered_heights.txt index 44695566dff..a06246c071e 100644 --- a/forge-gui/res/cardsfolder/s/sanctum_of_shattered_heights.txt +++ b/forge-gui/res/cardsfolder/s/sanctum_of_shattered_heights.txt @@ -1,7 +1,7 @@ Name:Sanctum of Shattered Heights ManaCost:2 R Types:Legendary Enchantment Shrine -A:AB$ DealDamage | Cost$ 1 Discard<1/Land;Shrine/land card or Shrine card> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature or planeswalker, where X is the number of Shrines you control. +A:AB$ DealDamage | Cost$ 1 Discard<1/Land;Shrine/land card or Shrine card> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature or planeswalker, where X is the number of Shrines you control. SVar:X:Count$TypeYouCtrl.Shrine DeckHints:Type$Shrine Oracle:{1}, Discard a land card or Shrine card: Sanctum of Shattered Heights deals X damage to target creature or planeswalker, where X is the number of Shrines you control. diff --git a/forge-gui/res/cardsfolder/s/sanctum_of_stone_fangs.txt b/forge-gui/res/cardsfolder/s/sanctum_of_stone_fangs.txt index f8ae2c64376..facd4fd8534 100644 --- a/forge-gui/res/cardsfolder/s/sanctum_of_stone_fangs.txt +++ b/forge-gui/res/cardsfolder/s/sanctum_of_stone_fangs.txt @@ -2,8 +2,8 @@ Name:Sanctum of Stone Fangs ManaCost:1 B Types:Legendary Enchantment Shrine T:Mode$ Phase | Phase$ Main1 | PreCombatMain$ True | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDrain | TriggerDescription$ At the beginning of your precombat main phase, each opponent loses X life and you gain X life, where X is the number of Shrines you control. -SVar:TrigDrain:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | References$ X | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigDrain:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | SubAbility$ DBGainLife +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$TypeYouCtrl.Shrine DeckHints:Type$Shrine DeckHas:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/s/sanctum_of_tranquil_light.txt b/forge-gui/res/cardsfolder/s/sanctum_of_tranquil_light.txt index b74ef25029f..eb6bb12143f 100644 --- a/forge-gui/res/cardsfolder/s/sanctum_of_tranquil_light.txt +++ b/forge-gui/res/cardsfolder/s/sanctum_of_tranquil_light.txt @@ -1,7 +1,7 @@ Name:Sanctum of Tranquil Light ManaCost:W Types:Legendary Enchantment Shrine -A:AB$ Tap | Cost$ 5 W | ValidTgts$ Creature | TgtPrompt$ Select target creature | ReduceCost$ X | References$ X | SpellDescription$ Tap target creature. This ability costs {1} less to activate for each Shrine you control. +A:AB$ Tap | Cost$ 5 W | ValidTgts$ Creature | TgtPrompt$ Select target creature | ReduceCost$ X | SpellDescription$ Tap target creature. This ability costs {1} less to activate for each Shrine you control. SVar:X:Count$TypeYouCtrl.Shrine DeckHints:Type$Shrine Oracle:{5}{W}: Tap target creature. This ability costs {1} less to activate for each Shrine you control. diff --git a/forge-gui/res/cardsfolder/s/sanctum_prelate.txt b/forge-gui/res/cardsfolder/s/sanctum_prelate.txt index 43e9cb26025..0f542dd842e 100644 --- a/forge-gui/res/cardsfolder/s/sanctum_prelate.txt +++ b/forge-gui/res/cardsfolder/s/sanctum_prelate.txt @@ -4,7 +4,7 @@ Types:Creature Human Cleric PT:2/2 K:ETBReplacement:Other:ChooseNumber SVar:ChooseNumber:DB$ ChooseNumber | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a number. -S:Mode$ CantBeCast | ValidCard$ Card.nonCreature+cmcEQX | References$ X | Description$ Noncreature spells with converted mana cost equal to the chosen number can't be cast. +S:Mode$ CantBeCast | ValidCard$ Card.nonCreature+cmcEQX | Description$ Noncreature spells with converted mana cost equal to the chosen number can't be cast. SVar:X:Number$ChosenNumber AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/sanctum_prelate.jpg diff --git a/forge-gui/res/cardsfolder/s/sand_silos.txt b/forge-gui/res/cardsfolder/s/sand_silos.txt index d2002bd71fa..05bd3fbac71 100644 --- a/forge-gui/res/cardsfolder/s/sand_silos.txt +++ b/forge-gui/res/cardsfolder/s/sand_silos.txt @@ -5,7 +5,7 @@ K:CARDNAME enters the battlefield tapped. K:You may choose not to untap CARDNAME during your untap step. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+tapped | Execute$ TrigStore | TriggerDescription$ At the beginning of your upkeep, if CARDNAME is tapped, put a storage counter on it. SVar:TrigStore:DB$PutCounter | Defined$ Self | CounterType$ STORAGE | CounterNum$ 1 -A:AB$ Mana | Cost$ T SubCounter | Produced$ U | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | References$ X | AILogic$ ManaRitualBattery | SpellDescription$ Add {U} for each storage counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ U | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | AILogic$ ManaRitualBattery | SpellDescription$ Add {U} for each storage counter removed this way. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Sand Silos enters the battlefield tapped.\nYou may choose not to untap Sand Silos during your untap step.\nAt the beginning of your upkeep, if Sand Silos is tapped, put a storage counter on it.\n{T}, Remove any number of storage counters from Sand Silos: Add {U} for each storage counter removed this way. diff --git a/forge-gui/res/cardsfolder/s/sandals_of_abdallah.txt b/forge-gui/res/cardsfolder/s/sandals_of_abdallah.txt index efc322d00f5..7cf6885e05a 100644 --- a/forge-gui/res/cardsfolder/s/sandals_of_abdallah.txt +++ b/forge-gui/res/cardsfolder/s/sandals_of_abdallah.txt @@ -2,7 +2,7 @@ Name:Sandals of Abdallah ManaCost:4 Types:Artifact A:AB$ Pump | Cost$ 2 T | KW$ Islandwalk | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ AbdallahsSandalsEffect | SpellDescription$ Target creature gains islandwalk until end of turn. When that creature dies this turn, destroy CARDNAME. (A creature with islandwalk can't be blocked as long as defending player controls an Island.) -SVar:AbdallahsSandalsEffect:DB$ Effect | Name$ Sandals of Abdallah Effect | Triggers$ SandalWearerDied | SVars$ ExileEffect,SandalsDestroyed | References$ SandalWearerDied,ExileEffect,SandalsDestroyed | RememberObjects$ Targeted | ImprintCards$ Self +SVar:AbdallahsSandalsEffect:DB$ Effect | Name$ Sandals of Abdallah Effect | Triggers$ SandalWearerDied | SVars$ ExileEffect,SandalsDestroyedandalWearerDied,ExileEffect,SandalsDestroyed | RememberObjects$ Targeted | ImprintCards$ Self SVar:SandalWearerDied:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Battlefield | Destination$ Graveyard | Execute$ SandalsDestroyed | TriggerDescription$ When the targeted creature dies this turn, destroy Sandals of Abdallah. SVar:SandalsDestroyed:DB$ Destroy | Defined$ Imprinted | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/s/sands_of_delirium.txt b/forge-gui/res/cardsfolder/s/sands_of_delirium.txt index 6a6b2992d53..2f9b559e630 100644 --- a/forge-gui/res/cardsfolder/s/sands_of_delirium.txt +++ b/forge-gui/res/cardsfolder/s/sands_of_delirium.txt @@ -1,6 +1,6 @@ Name:Sands of Delirium ManaCost:3 Types:Artifact -A:AB$ Mill | Cost$ X T | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player | References$ X | AILogic$ EndOfOppTurn | SpellDescription$ Target player mills X cards. +A:AB$ Mill | Cost$ X T | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player | AILogic$ EndOfOppTurn | SpellDescription$ Target player mills X cards. SVar:X:Count$xPaid Oracle:{X}, {T}: Target player mills X cards. diff --git a/forge-gui/res/cardsfolder/s/sandstone_oracle.txt b/forge-gui/res/cardsfolder/s/sandstone_oracle.txt index ee232b8757a..bf08b6b6255 100644 --- a/forge-gui/res/cardsfolder/s/sandstone_oracle.txt +++ b/forge-gui/res/cardsfolder/s/sandstone_oracle.txt @@ -5,7 +5,7 @@ PT:4/4 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChooseOpp | TriggerDescription$ When CARDNAME enters the battlefield, choose an opponent. If that player has more cards in hand than you, draw cards equal to the difference. SVar:TrigChooseOpp:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ MostCardsInHand | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X,Y | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 +SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:Y:Count$InYourHand SVar:X:Count$InChosenHand/Minus.Y SVar:Picture:http://www.wizards.com/global/images/magic/general/sandstone_oracle.jpg diff --git a/forge-gui/res/cardsfolder/s/sanguimancy.txt b/forge-gui/res/cardsfolder/s/sanguimancy.txt index 0e2cbfe74f4..baa7eef10c7 100644 --- a/forge-gui/res/cardsfolder/s/sanguimancy.txt +++ b/forge-gui/res/cardsfolder/s/sanguimancy.txt @@ -1,8 +1,8 @@ Name:Sanguimancy ManaCost:4 B Types:Sorcery -A:SP$ Draw | Cost$ 4 B | NumCards$ X | References$ X | SubAbility$ DBLoseLife | SpellDescription$ You draw X cards and you lose X life, where X is your devotion to black. -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X +A:SP$ Draw | Cost$ 4 B | NumCards$ X | SubAbility$ DBLoseLife | SpellDescription$ You draw X cards and you lose X life, where X is your devotion to black. +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X SVar:X:Count$Devotion.Black AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/sanguimancy.jpg diff --git a/forge-gui/res/cardsfolder/s/sanguine_bond.txt b/forge-gui/res/cardsfolder/s/sanguine_bond.txt index 9127ddaaed5..87c78ee2c03 100644 --- a/forge-gui/res/cardsfolder/s/sanguine_bond.txt +++ b/forge-gui/res/cardsfolder/s/sanguine_bond.txt @@ -2,7 +2,7 @@ Name:Sanguine Bond ManaCost:3 B B Types:Enchantment T:Mode$ LifeGained | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDrain | TriggerDescription$ Whenever you gain life, target opponent loses that much life. -SVar:TrigDrain:DB$ LoseLife | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | LifeAmount$ X | References$ X +SVar:TrigDrain:DB$ LoseLife | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | LifeAmount$ X SVar:X:TriggerCount$LifeAmount AI:RemoveDeck:Random Oracle:Whenever you gain life, target opponent loses that much life. diff --git a/forge-gui/res/cardsfolder/s/sanguine_praetor.txt b/forge-gui/res/cardsfolder/s/sanguine_praetor.txt index 96059ac50f9..ced5358d744 100644 --- a/forge-gui/res/cardsfolder/s/sanguine_praetor.txt +++ b/forge-gui/res/cardsfolder/s/sanguine_praetor.txt @@ -2,7 +2,7 @@ Name:Sanguine Praetor ManaCost:6 B B Types:Creature Avatar Praetor PT:7/5 -A:AB$ DestroyAll | Cost$ B Sac<1/Creature> | ValidCards$ Creature.cmcEQX | References$ X | SpellDescription$ Destroy each creature with the same converted mana cost as the sacrificed creature. +A:AB$ DestroyAll | Cost$ B Sac<1/Creature> | ValidCards$ Creature.cmcEQX | SpellDescription$ Destroy each creature with the same converted mana cost as the sacrificed creature. SVar:X:Sacrificed$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/sanguine_praetor.jpg diff --git a/forge-gui/res/cardsfolder/s/sanguine_sacrament.txt b/forge-gui/res/cardsfolder/s/sanguine_sacrament.txt index 2e521d77853..8ccb4b3b8c8 100644 --- a/forge-gui/res/cardsfolder/s/sanguine_sacrament.txt +++ b/forge-gui/res/cardsfolder/s/sanguine_sacrament.txt @@ -1,7 +1,7 @@ Name:Sanguine Sacrament ManaCost:X W W Types:Instant -A:SP$ GainLife | Cost$ X W W | LifeAmount$ XX | Defined$ You | References$ X,XX | SubAbility$ DBPutOnBottom | SpellDescription$ You gain twice X life. Put CARDNAME on the bottom of its owner's library. +A:SP$ GainLife | Cost$ X W W | LifeAmount$ XX | Defined$ You | SubAbility$ DBPutOnBottom | SpellDescription$ You gain twice X life. Put CARDNAME on the bottom of its owner's library. SVar:DBPutOnBottom:DB$ ChangeZone | Defined$ Self | Origin$ Stack | Destination$ Library | LibraryPosition$ -1 SVar:X:Count$xPaid SVar:XX:SVar$X/Twice diff --git a/forge-gui/res/cardsfolder/s/sanity_grinding.txt b/forge-gui/res/cardsfolder/s/sanity_grinding.txt index f7b3c721a5a..03dc9a52729 100644 --- a/forge-gui/res/cardsfolder/s/sanity_grinding.txt +++ b/forge-gui/res/cardsfolder/s/sanity_grinding.txt @@ -2,7 +2,7 @@ Name:Sanity Grinding ManaCost:U U U Types:Sorcery A:SP$ Dig | Cost$ U U U | DigNum$ 10 | Reveal$ True | ChangeNum$ 0 | RememberRevealed$ True | SubAbility$ MillTargeted | SpellDescription$ Chroma — Reveal the top ten cards of your library. For each blue mana symbol in the mana costs of the revealed cards, target opponent mills a card. Then put the cards you revealed this way on the bottom of your library in any order. -SVar:MillTargeted:DB$ Mill | NumCards$ X | References$ X | ValidTgts$ Opponent | SubAbility$ DBCleanup +SVar:MillTargeted:DB$ Mill | NumCards$ X | ValidTgts$ Opponent | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$ChromaSource.Blue Oracle:Chroma — Reveal the top ten cards of your library. For each blue mana symbol in the mana costs of the revealed cards, target opponent mills a card. Then put the cards you revealed this way on the bottom of your library in any order. diff --git a/forge-gui/res/cardsfolder/s/sapling_of_colfenor.txt b/forge-gui/res/cardsfolder/s/sapling_of_colfenor.txt index 5b5f691d473..55268dfa252 100644 --- a/forge-gui/res/cardsfolder/s/sapling_of_colfenor.txt +++ b/forge-gui/res/cardsfolder/s/sapling_of_colfenor.txt @@ -5,8 +5,8 @@ PT:2/5 K:Indestructible T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDig | TriggerDescription$ Whenever Sapling of Colfenor attacks, reveal the top card of your library. If it's a creature card, you gain life equal to that card's toughness, lose life equal to its power, then put it into your hand. SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Creature | DestinationZone$ Hand | RememberChanged$ True | DestinationZone2$ Library | LibraryPosition2$ 0 | SubAbility$ DBGain -SVar:DBGain:DB$ GainLife | LifeAmount$ Y | SubAbility$ DBLose | References$ Y -SVar:DBLose:DB$ LoseLife | LifeAmount$ X | SubAbility$ DBCleanup | References$ X +SVar:DBGain:DB$ GainLife | LifeAmount$ Y | SubAbility$ DBLose +SVar:DBLose:DB$ LoseLife | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Remembered$CardToughness SVar:X:Remembered$CardPower diff --git a/forge-gui/res/cardsfolder/s/saprazzan_cove.txt b/forge-gui/res/cardsfolder/s/saprazzan_cove.txt index 86008bc2baa..de5d93e32ba 100644 --- a/forge-gui/res/cardsfolder/s/saprazzan_cove.txt +++ b/forge-gui/res/cardsfolder/s/saprazzan_cove.txt @@ -3,6 +3,6 @@ ManaCost:no cost Types:Land K:CARDNAME enters the battlefield tapped. A:AB$ PutCounter | Cost$ T | Defined$ Self | CounterType$ STORAGE | CounterNum$ 1 | SpellDescription$ Put a storage counter on CARDNAME. -A:AB$ Mana | Cost$ T SubCounter | Produced$ U | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | References$ X | AILogic$ ManaRitualBattery | AINoRecursiveCheck$ True | SpellDescription$ Add {U} for each storage counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ U | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | AILogic$ ManaRitualBattery | AINoRecursiveCheck$ True | SpellDescription$ Add {U} for each storage counter removed this way. SVar:X:Count$xPaid Oracle:Saprazzan Cove enters the battlefield tapped.\n{T}: Put a storage counter on Saprazzan Cove.\n{T}, Remove any number of storage counters from Saprazzan Cove: Add {U} for each storage counter removed this way. diff --git a/forge-gui/res/cardsfolder/s/saproling_migration.txt b/forge-gui/res/cardsfolder/s/saproling_migration.txt index 9ce9bafb334..ea3a843313c 100644 --- a/forge-gui/res/cardsfolder/s/saproling_migration.txt +++ b/forge-gui/res/cardsfolder/s/saproling_migration.txt @@ -2,7 +2,7 @@ Name:Saproling Migration ManaCost:1 G Types:Sorcery K:Kicker:4 -A:SP$ Token | Cost$ 1 G | TokenAmount$ WasKicked | References$ WasKicked | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling dom | SpellDescription$ Create two 1/1 green Saproling creature tokens. If this spell was kicked, create four of those tokens instead. +A:SP$ Token | Cost$ 1 G | TokenAmount$ WasKicked | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling dom | SpellDescription$ Create two 1/1 green Saproling creature tokens. If this spell was kicked, create four of those tokens instead. SVar:WasKicked:Count$Kicked.4.2 DeckHas:Ability$Token Oracle:Kicker {4} (You may pay an additional {4} as you cast this spell.)\nCreate two 1/1 green Saproling creature tokens. If this spell was kicked, create four of those tokens instead. diff --git a/forge-gui/res/cardsfolder/s/saproling_symbiosis.txt b/forge-gui/res/cardsfolder/s/saproling_symbiosis.txt index 5ddfb243192..5486be9c7fc 100644 --- a/forge-gui/res/cardsfolder/s/saproling_symbiosis.txt +++ b/forge-gui/res/cardsfolder/s/saproling_symbiosis.txt @@ -2,7 +2,7 @@ Name:Saproling Symbiosis ManaCost:3 G Types:Sorcery K:MayFlashCost:2 -A:SP$ Token | Cost$ 3 G | TokenAmount$ X | References$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling inv | SpellDescription$ Create a 1/1 green Saproling creature token for each creature you control. +A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling inv | SpellDescription$ Create a 1/1 green Saproling creature token for each creature you control. SVar:X:Count$Valid Creature.YouCtrl DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/saproling_symbiosis.jpg diff --git a/forge-gui/res/cardsfolder/s/sarkhan_dragonsoul.txt b/forge-gui/res/cardsfolder/s/sarkhan_dragonsoul.txt index bd099ea17ff..384e393e085 100644 --- a/forge-gui/res/cardsfolder/s/sarkhan_dragonsoul.txt +++ b/forge-gui/res/cardsfolder/s/sarkhan_dragonsoul.txt @@ -3,7 +3,7 @@ ManaCost:4 R R Types:Legendary Planeswalker Sarkhan A:AB$ DamageAll | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | ValidPlayers$ Player.Opponent | ValidCards$ Creature.OppCtrl | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to each opponent and each creature your opponents control. A:AB$ DealDamage | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | AILogic$ ChoiceBurn | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to target player or planeswalker. -A:AB$ ChangeZone | Cost$ SubCounter<9/LOYALTY> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.Dragon | ChangeNum$ XFetch | Planeswalker$ True | Ultimate$ True | StackDescription$ SpellDescription | References$ XFetch | SpellDescription$ Search your library for any number of Dragon creature cards, put them onto the battlefield, then shuffle your library. +A:AB$ ChangeZone | Cost$ SubCounter<9/LOYALTY> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.Dragon | ChangeNum$ XFetch | Planeswalker$ True | Ultimate$ True | StackDescription$ SpellDescription | SpellDescription$ Search your library for any number of Dragon creature cards, put them onto the battlefield, then shuffle your library. SVar:XFetch:Count$InYourLibrary.Creature.Dragon DeckHints:Type$Dragon Oracle:[+2]: Sarkhan, Dragonsoul deals 1 damage to each opponent and each creature your opponents control.\n[−3]: Sarkhan, Dragonsoul deals 4 damage to target player or planeswalker.\n[−9]: Search your library for any number of Dragon creature cards, put them onto the battlefield, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/s/sarkhan_the_mad.txt b/forge-gui/res/cardsfolder/s/sarkhan_the_mad.txt index 42d91208da2..e7d7d5a60b3 100644 --- a/forge-gui/res/cardsfolder/s/sarkhan_the_mad.txt +++ b/forge-gui/res/cardsfolder/s/sarkhan_the_mad.txt @@ -3,13 +3,13 @@ ManaCost:3 B R Types:Legendary Planeswalker Sarkhan Loyalty:7 A:AB$ Dig | Cost$ AddCounter<0/LOYALTY> | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | RememberChanged$ True | SubAbility$ DBDamage | Planeswalker$ True | AILogic$ MadSarkhanDigDmg | SpellDescription$ Reveal the top card of your library and put it into your hand. CARDNAME deals damage to himself equal to that card's converted mana cost. -SVar:DBDamage:DB$ DealDamage | Defined$ Self | NumDmg$ Y | SubAbility$ DBCleanup | References$ Y | AILogic$ MadSarkhanDigDmg +SVar:DBDamage:DB$ DealDamage | Defined$ Self | NumDmg$ Y | SubAbility$ DBCleanup | AILogic$ MadSarkhanDigDmg SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Remembered$CardManaCost A:AB$ Destroy | Cost$ SubCounter<2/LOYALTY> | ValidTgts$ Creature | TgtPrompt$ Select target creature | Sacrifice$ True | SubAbility$ DBToken | Planeswalker$ True | AILogic$ MadSarkhanDragon | SpellDescription$ Target creature's controller sacrifices it, then that player creates a 5/5 red Dragon creature token with flying. SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ r_5_5_dragon_flying | TokenOwner$ TargetedController | LegacyImage$ r 5 5 dragon flying roe #for this AF, the DefinedCards$ Self is the target for Each damaging. They EachDamage themselves. -A:AB$ EachDamage | Cost$ SubCounter<4/LOYALTY> | ValidCards$ Dragon.Creature+YouCtrl | ValidDescription$ Dragon creature you control | NumDmg$ X | DamageDesc$ damage equal to its power | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | Planeswalker$ True | Ultimate$ True | References$ X | AILogic$ MadSarkhanUltimate | SpellDescription$ Each Dragon creature you control deals damage equal to its power to target player or planeswalker. +A:AB$ EachDamage | Cost$ SubCounter<4/LOYALTY> | ValidCards$ Dragon.Creature+YouCtrl | ValidDescription$ Dragon creature you control | NumDmg$ X | DamageDesc$ damage equal to its power | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | Planeswalker$ True | Ultimate$ True | AILogic$ MadSarkhanUltimate | SpellDescription$ Each Dragon creature you control deals damage equal to its power to target player or planeswalker. #NumDmg isn't really used here. It is left for clarity. The AF pulls Damage straight from "X" hardcoded. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/sarkhan_the_mad.jpg diff --git a/forge-gui/res/cardsfolder/s/sarkhan_the_masterless.txt b/forge-gui/res/cardsfolder/s/sarkhan_the_masterless.txt index e60073a8ccc..8c7b32758c8 100644 --- a/forge-gui/res/cardsfolder/s/sarkhan_the_masterless.txt +++ b/forge-gui/res/cardsfolder/s/sarkhan_the_masterless.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Legendary Planeswalker Sarkhan Loyalty:5 T:Mode$ Attacks | ValidCard$ Creature | Attacked$ You,Planeswalker.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ Whenever a creature attacks you or a planeswalker you control, each Dragon you control deals 1 damage to that creature. -SVar:TrigDamage:DB$ EachDamage | ValidCards$ Dragon.YouCtrl | DefinedPlayers$ TriggeredAttacker | StackDescription$ Each Dragon you control deals 1 damage to that creature. | References$ X +SVar:TrigDamage:DB$ EachDamage | ValidCards$ Dragon.YouCtrl | DefinedPlayers$ TriggeredAttacker | StackDescription$ Each Dragon you control deals 1 damage to that creature. SVar:X:Number$1 A:AB$ AnimateAll | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | Power$ 4 | Toughness$ 4 | Types$ Creature,Dragon | Colors$ Red | OverwriteColors$ True | RemoveCardTypes$ True | Keywords$ Flying | ValidCards$ Planeswalker.YouCtrl | AILogic$ Always | SpellDescription$ Until end of turn, each planeswalker you control becomes a 4/4 red Dragon creature and gains flying. A:AB$ Token | Cost$ SubCounter<3/LOYALTY> | TokenAmount$ 1 | TokenScript$ r_4_4_dragon_flying | TokenOwner$ You | Planeswalker$ True | SpellDescription$ Create a 4/4 red Dragon creature token with flying. diff --git a/forge-gui/res/cardsfolder/s/sarkhan_unbroken.txt b/forge-gui/res/cardsfolder/s/sarkhan_unbroken.txt index 6c90026e500..c374e958114 100644 --- a/forge-gui/res/cardsfolder/s/sarkhan_unbroken.txt +++ b/forge-gui/res/cardsfolder/s/sarkhan_unbroken.txt @@ -5,7 +5,7 @@ Loyalty:4 A:AB$ Draw | Cost$ AddCounter<1/LOYALTY> | Defined$ You | SubAbility$ DBMana | Planeswalker$ True | SpellDescription$ Draw a card, then add one mana of any color. SVar:DBMana:DB$Mana | Produced$ Any | AILogic$ MostProminentInComputerHand A:AB$ Token | Cost$ SubCounter<2/LOYALTY> | TokenAmount$ 1 | TokenScript$ r_4_4_dragon_flying | TokenOwner$ You | LegacyImage$ r 4 4 dragon flying dtk | Planeswalker$ True | SpellDescription$ Create a 4/4 red Dragon creature token with flying. -A:AB$ ChangeZone | Cost$ SubCounter<8/LOYALTY> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.Dragon | ChangeNum$ XFetch | Planeswalker$ True | Ultimate$ True | StackDescription$ SpellDescription | References$ XFetch | SpellDescription$ Search your library for any number of Dragon creature cards and put them onto the battlefield. Then shuffle your library. +A:AB$ ChangeZone | Cost$ SubCounter<8/LOYALTY> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.Dragon | ChangeNum$ XFetch | Planeswalker$ True | Ultimate$ True | StackDescription$ SpellDescriptionFetch | SpellDescription$ Search your library for any number of Dragon creature cards and put them onto the battlefield. Then shuffle your library. SVar:XFetch:Count$TypeInYourLibrary.Dragon SVar:Picture:http://www.wizards.com/global/images/magic/general/sarkhan_unbroken.jpg Oracle:[+1]: Draw a card, then add one mana of any color.\n[−2]: Create a 4/4 red Dragon creature token with flying.\n[−8]: Search your library for any number of Dragon creature cards and put them onto the battlefield. Then shuffle your library. diff --git a/forge-gui/res/cardsfolder/s/sarulf_realm_eater.txt b/forge-gui/res/cardsfolder/s/sarulf_realm_eater.txt index f6442d074ca..5f73f067e1f 100644 --- a/forge-gui/res/cardsfolder/s/sarulf_realm_eater.txt +++ b/forge-gui/res/cardsfolder/s/sarulf_realm_eater.txt @@ -4,9 +4,9 @@ Types:Legendary Creature Wolf PT:3/3 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Permanent.OppCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a permanent an opponent controls is put into a graveyard from the battlefield, put a +1/+1 counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 -T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Execute$ TrigRemoveAll | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, if NICKNAME has one or more +1/+1 counters on it, you may remove all of them. If you do, exile each other nonland permanent with converted mana cost less than or equal to the number of counters removed this way. +T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ GE1 | Execute$ TrigRemoveAll | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, if NICKNAME has one or more +1/+1 counters on it, you may remove all of them. If you do, exile each other nonland permanent with converted mana cost less than or equal to the number of counters removed this way. SVar:TrigRemoveAll:DB$ RemoveCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ All | RememberAmount$ True | SubAbility$ DBChangeZoneAll -SVar:DBChangeZoneAll:DB$ ChangeZoneAll | Origin$ Battlefield | Destination$ Exile | ChangeType$ Permanent.nonLand+Other+cmcLEY | References$ Y | SubAbility$ DBCleanup +SVar:DBChangeZoneAll:DB$ ChangeZoneAll | Origin$ Battlefield | Destination$ Exile | ChangeType$ Permanent.nonLand+Other+cmcLEY | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$CardCounters.P1P1 SVar:Y:Count$RememberedNumber diff --git a/forge-gui/res/cardsfolder/s/sasaya_orochi_ascendant_sasayas_essence.txt b/forge-gui/res/cardsfolder/s/sasaya_orochi_ascendant_sasayas_essence.txt index c58ab0e327f..88cf440bd17 100644 --- a/forge-gui/res/cardsfolder/s/sasaya_orochi_ascendant_sasayas_essence.txt +++ b/forge-gui/res/cardsfolder/s/sasaya_orochi_ascendant_sasayas_essence.txt @@ -2,7 +2,7 @@ Name:Sasaya, Orochi Ascendant ManaCost:1 G G Types:Legendary Creature Snake Monk PT:2/3 -A:AB$ SetState | Cost$ Reveal<1/Hand> | Defined$ Self | Mode$ Flip | ConditionCheckSVar$ CheckHandLand | ConditionSVarCompare$ GE7 | AILogic$ CheckCondition | References$ CheckHandLand | SpellDescription$ If you have seven or more land cards in your hand, flip CARDNAME. +A:AB$ SetState | Cost$ Reveal<1/Hand> | Defined$ Self | Mode$ Flip | ConditionCheckSVar$ CheckHandLand | ConditionSVarCompare$ GE7 | AILogic$ CheckCondition | SpellDescription$ If you have seven or more land cards in your hand, flip CARDNAME. SVar:CheckHandLand:Count$ValidHand Land.YouCtrl AlternateMode:Flip Oracle:Reveal your hand: If you have seven or more land cards in your hand, flip Sasaya, Orochi Ascendant. diff --git a/forge-gui/res/cardsfolder/s/saskia_the_unyielding.txt b/forge-gui/res/cardsfolder/s/saskia_the_unyielding.txt index 872153e07eb..36fbe143061 100644 --- a/forge-gui/res/cardsfolder/s/saskia_the_unyielding.txt +++ b/forge-gui/res/cardsfolder/s/saskia_the_unyielding.txt @@ -7,7 +7,7 @@ K:Haste K:ETBReplacement:Other:ChooseP SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose a player. T:Mode$ DamageDone | ValidSource$ Creature.YouCtrl | ValidTarget$ Player | CombatDamage$ True | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever a creature you control deals combat damage to a player, it deals that much damage to the chosen player. -SVar:TrigDealDamage:DB$ DealDamage | DamageSource$ TriggeredSource | NumDmg$ X | References$ X | Defined$ ChosenPlayer +SVar:TrigDealDamage:DB$ DealDamage | DamageSource$ TriggeredSource | NumDmg$ X | Defined$ ChosenPlayer SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/saskia_the_unyielding.jpg diff --git a/forge-gui/res/cardsfolder/s/satyr_firedancer.txt b/forge-gui/res/cardsfolder/s/satyr_firedancer.txt index 0f589e8198f..c8e48b8587a 100644 --- a/forge-gui/res/cardsfolder/s/satyr_firedancer.txt +++ b/forge-gui/res/cardsfolder/s/satyr_firedancer.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Enchantment Creature Satyr PT:1/1 T:Mode$ DamageDone | ValidSource$ Instant.YouCtrl,Sorcery.YouCtrl | ValidTarget$ Player.Opponent | Execute$ TrigDmg | TriggerZones$ Battlefield | TriggerDescription$ Whenever an instant or sorcery spell you control deals damage to an opponent, CARDNAME deals that much damage to target creature that player controls. -SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature | TargetsWithDefinedController$ TriggeredTarget | NumDmg$ X | References$ X +SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature | TargetsWithDefinedController$ TriggeredTarget | NumDmg$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/satyr_firedancer.jpg Oracle:Whenever an instant or sorcery spell you control deals damage to an opponent, Satyr Firedancer deals that much damage to target creature that player controls. diff --git a/forge-gui/res/cardsfolder/s/savage_gorger.txt b/forge-gui/res/cardsfolder/s/savage_gorger.txt index 52140244d9f..1e73e180ed4 100644 --- a/forge-gui/res/cardsfolder/s/savage_gorger.txt +++ b/forge-gui/res/cardsfolder/s/savage_gorger.txt @@ -3,7 +3,7 @@ ManaCost:1 B B Types:Creature Vampire PT:1/1 K:Flying -T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | CheckSVar$ X | References$ X | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your end step, if an opponent lost life this turn, put a +1/+1 counter on CARDNAME. (Damage causes loss of life.) +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | CheckSVar$ X | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your end step, if an opponent lost life this turn, put a +1/+1 counter on CARDNAME. (Damage causes loss of life.) SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 SVar:X:Count$LifeOppsLostThisTurn DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/s/savage_offensive.txt b/forge-gui/res/cardsfolder/s/savage_offensive.txt index 9639442e191..e7982b2afdf 100644 --- a/forge-gui/res/cardsfolder/s/savage_offensive.txt +++ b/forge-gui/res/cardsfolder/s/savage_offensive.txt @@ -2,7 +2,7 @@ Name:Savage Offensive ManaCost:1 R Types:Sorcery K:Kicker:G -A:SP$ PumpAll | Cost$ 1 R | ValidCards$ Creature.YouCtrl | KW$ First Strike | NumAtt$ X | NumDef$ X | References$ X | SpellDescription$ Creatures you control gain first strike until end of turn. If this spell was kicked, they get +1/+1 until end of turn. +A:SP$ PumpAll | Cost$ 1 R | ValidCards$ Creature.YouCtrl | KW$ First Strike | NumAtt$ X | NumDef$ X | SpellDescription$ Creatures you control gain first strike until end of turn. If this spell was kicked, they get +1/+1 until end of turn. SVar:X:Count$Kicked.1.0 AI:RemoveDeck:Random DeckNeeds:Color$Green diff --git a/forge-gui/res/cardsfolder/s/savage_stomp.txt b/forge-gui/res/cardsfolder/s/savage_stomp.txt index b0ffe112c19..d0bfe9a9320 100644 --- a/forge-gui/res/cardsfolder/s/savage_stomp.txt +++ b/forge-gui/res/cardsfolder/s/savage_stomp.txt @@ -1,10 +1,10 @@ Name:Savage Stomp ManaCost:2 G Types:Sorcery -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ CostReduction | Relative$ True | References$ CostReduction,CheckTgt | EffectZone$ All | Description$ This spell costs {2} less to cast if it targets a Dinosaur you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ CostReduction | Relative$ TrueostReduction,CheckTgt | EffectZone$ All | Description$ This spell costs {2} less to cast if it targets a Dinosaur you control. SVar:CostReduction:Count$Compare CheckTgt GE1.2.0 SVar:CheckTgt:Targeted$Valid Creature.Dinosaur+YouCtrl -A:SP$ PutCounter | Cost$ 2 G | AILogic$ Fight | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to put a +1/+1 counter | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBFight | References$ CostReduction,CheckTgt | SpellDescription$ Put a +1/+1 counter on target creature you control. Then that creature fights target creature you don't control. +A:SP$ PutCounter | Cost$ 2 G | AILogic$ Fight | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to put a +1/+1 counter | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBFight | SpellDescription$ Put a +1/+1 counter on target creature you control. Then that creature fights target creature you don't control. SVar:DBFight:DB$ Fight | Defined$ ParentTarget | ValidTgts$ Creature.YouDontCtrl | AILogic$ Always | TgtPrompt$ Select target creature you don't control DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/savage_stomp.jpg diff --git a/forge-gui/res/cardsfolder/s/savage_twister.txt b/forge-gui/res/cardsfolder/s/savage_twister.txt index de7f2be9939..e9a23d669f1 100644 --- a/forge-gui/res/cardsfolder/s/savage_twister.txt +++ b/forge-gui/res/cardsfolder/s/savage_twister.txt @@ -1,7 +1,7 @@ Name:Savage Twister ManaCost:X R G Types:Sorcery -A:SP$ DamageAll | Cost$ X R G | ValidCards$ Creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature. +A:SP$ DamageAll | Cost$ X R G | ValidCards$ Creature | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/savage_twister.jpg Oracle:Savage Twister deals X damage to each creature. diff --git a/forge-gui/res/cardsfolder/s/saving_grace.txt b/forge-gui/res/cardsfolder/s/saving_grace.txt index 7b409aa6de9..a4d5f72ae6f 100644 --- a/forge-gui/res/cardsfolder/s/saving_grace.txt +++ b/forge-gui/res/cardsfolder/s/saving_grace.txt @@ -5,7 +5,7 @@ K:Flash K:Enchant creature you control A:SP$ Attach | Cost$ 1 W | ValidTgts$ Creature.YouCtrl | AILogic$ Pump T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBEffect | TriggerDescription$ When CARDNAME enters the battlefield, all damage that would be dealt this turn to you and permanents you control is dealt to enchanted creature instead. -SVar:DBEffect:DB$ Effect | ReplacementEffects$ SavingGraceDamage | SVars$ SavingGraceDmg | Duration$ EndOfTurn | RememberObjects$ Enchanted | ExileOnMoved$ Battlefield | References$ SavingGraceDamage,SavingGraceDmg +SVar:DBEffect:DB$ Effect | ReplacementEffects$ SavingGraceDamage | SVars$ SavingGraceDmg | Duration$ EndOfTurn | RememberObjects$ Enchanted | ExileOnMoved$ Battlefield SVar:SavingGraceDamage:Event$ DamageDone | ValidTarget$ You,Permanent.YouCtrl | ReplaceWith$ SavingGraceDmg | DamageTarget$ Remembered | Description$ All damage that would be dealt this turn to you and permanents you control is dealt to enchanted creature instead. SVar:SavingGraceDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ Remembered | VarType$ Card S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddToughness$ 3 | Description$ Enchanted creature gets +0/+3. diff --git a/forge-gui/res/cardsfolder/s/scalpelexis.txt b/forge-gui/res/cardsfolder/s/scalpelexis.txt index 2cbb69dc457..050f476d302 100644 --- a/forge-gui/res/cardsfolder/s/scalpelexis.txt +++ b/forge-gui/res/cardsfolder/s/scalpelexis.txt @@ -4,7 +4,7 @@ Types:Creature Beast PT:1/5 K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player exiles the top four cards of their library. If two or more of those cards have the same name, repeat this process. -SVar:TrigExile:DB$ Repeat | RepeatSubAbility$ DBExileCleanup | RepeatCheckSVar$ X | References$ X,Y | RepeatSVarCompare$ LTY | SubAbility$ DBCleanup +SVar:TrigExile:DB$ Repeat | RepeatSubAbility$ DBExileCleanup | RepeatCheckSVar$ X | RepeatSVarCompare$ LTY | SubAbility$ DBCleanup SVar:DBExileCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBExile SVar:DBExile:DB$ Dig | Defined$ TriggeredTarget | DigNum$ 4 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/s/scapegoat.txt b/forge-gui/res/cardsfolder/s/scapegoat.txt index cf9ea53ffe4..24ca9655868 100644 --- a/forge-gui/res/cardsfolder/s/scapegoat.txt +++ b/forge-gui/res/cardsfolder/s/scapegoat.txt @@ -1,7 +1,7 @@ Name:Scapegoat ManaCost:W Types:Instant -A:SP$ ChangeZone | Cost$ W Sac<1/Creature/creature> | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature | TargetMin$ 0 | TargetMax$ X | Origin$ Battlefield | Destination$ Hand | CostDesc$ As an additional cost to cast this spell, sacrifice a creature. | References$ X | SpellDescription$ Return any number of target creatures you control to their owner's hand. +A:SP$ ChangeZone | Cost$ W Sac<1/Creature/creature> | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature | TargetMin$ 0 | TargetMax$ X | Origin$ Battlefield | Destination$ Hand | CostDesc$ As an additional cost to cast this spell, sacrifice a creature. | SpellDescription$ Return any number of target creatures you control to their owner's hand. SVar:X:Count$Valid Creature.YouCtrl AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, sacrifice a creature.\nReturn any number of target creatures you control to their owner's hand. diff --git a/forge-gui/res/cardsfolder/s/scapeshift.txt b/forge-gui/res/cardsfolder/s/scapeshift.txt index 8e8359c942b..81cd0e70668 100644 --- a/forge-gui/res/cardsfolder/s/scapeshift.txt +++ b/forge-gui/res/cardsfolder/s/scapeshift.txt @@ -1,8 +1,8 @@ Name:Scapeshift ManaCost:2 G G Types:Sorcery -A:SP$ Sacrifice | Cost$ 2 G G | Defined$ You | Amount$ SacX | References$ SacX | SacValid$ Land | RememberSacrificed$ True | Optional$ True | SubAbility$ DBShift | SpellDescription$ Sacrifice any number of lands. Search your library for up to that many land cards, put them onto the battlefield tapped, then shuffle your library. -SVar:DBShift:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land | ChangeNum$ ShiftX | References$ ShiftX | Tapped$ True | SubAbility$ DBCleanup +A:SP$ Sacrifice | Cost$ 2 G G | Defined$ You | Amount$ SacX | SacValid$ Land | RememberSacrificed$ True | Optional$ True | SubAbility$ DBShift | SpellDescription$ Sacrifice any number of lands. Search your library for up to that many land cards, put them onto the battlefield tapped, then shuffle your library. +SVar:DBShift:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land | ChangeNum$ ShiftX | Tapped$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Land.YouCtrl SVar:ShiftX:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/s/scattering_stroke.txt b/forge-gui/res/cardsfolder/s/scattering_stroke.txt index dd9466ff27c..f557c0d2610 100644 --- a/forge-gui/res/cardsfolder/s/scattering_stroke.txt +++ b/forge-gui/res/cardsfolder/s/scattering_stroke.txt @@ -5,7 +5,7 @@ A:SP$ Counter | Cost$ 2 U U | TargetType$ Spell | ValidTgts$ Card | RememberCoun SVar:DBClash:DB$ Clash | WinSubAbility$ DBDelTrig SVar:DBDelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ Main1,Main2 | ValidPlayer$ You | Execute$ AddMana | OptionalDecider$ You | TriggerDescription$ At the beginning of your next main phase, you may add an amount of {C} equal to that spell's converted mana cost. | RememberNumber$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:AddMana:DB$ Mana | Produced$ C | Amount$ X | References$ X +SVar:AddMana:DB$ Mana | Produced$ C | Amount$ X SVar:X:Count$TriggerRememberAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/scattering_stroke.jpg Oracle:Counter target spell. Clash with an opponent. If you win, at the beginning of your next main phase, you may add an amount of {C} equal to that spell's converted mana cost. (Each clashing player reveals the top card of their library, then puts that card on the top or bottom. A player wins if their card had a higher converted mana cost.) diff --git a/forge-gui/res/cardsfolder/s/scavenging_ghoul.txt b/forge-gui/res/cardsfolder/s/scavenging_ghoul.txt index 034f2e25c8e..379e5a138df 100644 --- a/forge-gui/res/cardsfolder/s/scavenging_ghoul.txt +++ b/forge-gui/res/cardsfolder/s/scavenging_ghoul.txt @@ -4,7 +4,7 @@ Types:Creature Zombie PT:2/2 T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of each end step, put a corpse counter on CARDNAME for each creature that died this turn. A:AB$ Regenerate | Cost$ SubCounter<1/CORPSE> | SpellDescription$ Regenerate CARDNAME. -SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ CORPSE | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ CORPSE | CounterNum$ X SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/scavenging_ghoul.jpg Oracle:At the beginning of each end step, put a corpse counter on Scavenging Ghoul for each creature that died this turn.\nRemove a corpse counter from Scavenging Ghoul: Regenerate Scavenging Ghoul. diff --git a/forge-gui/res/cardsfolder/s/scent_of_brine.txt b/forge-gui/res/cardsfolder/s/scent_of_brine.txt index c95050b6822..ea1d006df7a 100644 --- a/forge-gui/res/cardsfolder/s/scent_of_brine.txt +++ b/forge-gui/res/cardsfolder/s/scent_of_brine.txt @@ -2,7 +2,7 @@ Name:Scent of Brine ManaCost:1 U Types:Instant A:SP$ Reveal | Cost$ 1 U | Defined$ You | RevealValid$ Card.Blue | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBScentOfBrineCounter | SpellDescription$ Reveal any number of blue cards in your hand. Counter target spell unless its controller pays {1} for each card revealed this way. -SVar:DBScentOfBrineCounter:DB$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ ScentOfBrineX | SubAbility$ DBScentOfBrineCleanup | References$ ScentOfBrineX +SVar:DBScentOfBrineCounter:DB$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ ScentOfBrineX | SubAbility$ DBScentOfBrineCleanup SVar:DBScentOfBrineCleanup:DB$ Cleanup | ClearRemembered$ True SVar:ScentOfBrineX:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/scent_of_cinder.txt b/forge-gui/res/cardsfolder/s/scent_of_cinder.txt index b69aae5331e..a50ad9345f2 100644 --- a/forge-gui/res/cardsfolder/s/scent_of_cinder.txt +++ b/forge-gui/res/cardsfolder/s/scent_of_cinder.txt @@ -2,7 +2,7 @@ Name:Scent of Cinder ManaCost:1 R Types:Sorcery A:SP$ Reveal | Cost$ 1 R | Defined$ You | RevealValid$ Card.Red | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBScentOfCinderDamage | SpellDescription$ Reveal any number of red cards in your hand. CARDNAME deals X damage to any target, where X is the number of cards revealed this way. -SVar:DBScentOfCinderDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ ScentOfCinderX | SubAbility$ DBScentOfCinderCleanup | References$ ScentOfCinderX +SVar:DBScentOfCinderDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ ScentOfCinderX | SubAbility$ DBScentOfCinderCleanup SVar:ScentOfCinderX:Remembered$Amount SVar:DBScentOfCinderCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/scent_of_ivy.txt b/forge-gui/res/cardsfolder/s/scent_of_ivy.txt index 6dc3571f6a4..b1435c347a5 100644 --- a/forge-gui/res/cardsfolder/s/scent_of_ivy.txt +++ b/forge-gui/res/cardsfolder/s/scent_of_ivy.txt @@ -2,7 +2,7 @@ Name:Scent of Ivy ManaCost:G Types:Instant A:SP$ Reveal | Cost$ G | Defined$ You | RevealValid$ Card.Green | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBScentOfIvyPump | SpellDescription$ Reveal any number of green cards in your hand. Target creature gets +X/+X until end of turn, where X is the number of cards revealed this way. -SVar:DBScentOfIvyPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ ScentOfIvyX | NumDef$ ScentOfIvyX | SubAbility$ DBScentOfIvyCleanup | References$ ScentOfIvyX +SVar:DBScentOfIvyPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ ScentOfIvyX | NumDef$ ScentOfIvyX | SubAbility$ DBScentOfIvyCleanup SVar:ScentOfIvyX:Remembered$Amount SVar:DBScentOfIvyCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/scent_of_jasmine.txt b/forge-gui/res/cardsfolder/s/scent_of_jasmine.txt index d16b189988b..f3fb987d132 100644 --- a/forge-gui/res/cardsfolder/s/scent_of_jasmine.txt +++ b/forge-gui/res/cardsfolder/s/scent_of_jasmine.txt @@ -2,7 +2,7 @@ Name:Scent of Jasmine ManaCost:W Types:Instant A:SP$ Reveal | Cost$ W | Defined$ You | RevealValid$ Card.White | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBScentOfJasmineLife | SpellDescription$ Reveal any number of white cards in your hand. You gain 2 life for each card revealed this way. -SVar:DBScentOfJasmineLife:DB$ GainLife | LifeAmount$ ScentOfJasmineX | SubAbility$ DBScentOfJasmineCleanup | References$ ScentOfJasmineX +SVar:DBScentOfJasmineLife:DB$ GainLife | LifeAmount$ ScentOfJasmineX | SubAbility$ DBScentOfJasmineCleanup SVar:ScentOfJasmineX:Remembered$Amount.Twice SVar:DBScentOfJasmineCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/scent_of_nightshade.txt b/forge-gui/res/cardsfolder/s/scent_of_nightshade.txt index 47bddeaf523..ca917ebeca0 100644 --- a/forge-gui/res/cardsfolder/s/scent_of_nightshade.txt +++ b/forge-gui/res/cardsfolder/s/scent_of_nightshade.txt @@ -2,7 +2,7 @@ Name:Scent of Nightshade ManaCost:1 B Types:Instant A:SP$ Reveal | Cost$ 1 B | Defined$ You | RevealValid$ Card.Black | AnyNumber$ True | RememberRevealed$ True | SubAbility$ DBScentOfNightshadePump | SpellDescription$ Reveal any number of black cards in your hand. Target creature gets -X/-X until end of turn, where X is the number of cards revealed this way. -SVar:DBScentOfNightshadePump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ ScentOfNightshadeX | NumDef$ ScentOfNightshadeX | SubAbility$ DBScentOfNightshadeCleanup | References$ ScentOfNightshadeX +SVar:DBScentOfNightshadePump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ ScentOfNightshadeX | NumDef$ ScentOfNightshadeX | SubAbility$ DBScentOfNightshadeCleanup SVar:DBScentOfNightshadeCleanup:DB$ Cleanup | ClearRemembered$ True SVar:ScentOfNightshadeX:Remembered$Amount.Negative AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/scepter_of_empires.txt b/forge-gui/res/cardsfolder/s/scepter_of_empires.txt index 203aa6a7716..47999f22b6d 100644 --- a/forge-gui/res/cardsfolder/s/scepter_of_empires.txt +++ b/forge-gui/res/cardsfolder/s/scepter_of_empires.txt @@ -1,7 +1,7 @@ Name:Scepter of Empires ManaCost:3 Types:Artifact -A:AB$ DealDamage | Cost$ T | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X,Y,Z,AllM12Empires | SpellDescription$ CARDNAME deals 1 damage to target player or planeswalker. It deals 3 damage instead if you control artifacts named Crown of Empires and Throne of Empires. +A:AB$ DealDamage | Cost$ T | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals 1 damage to target player or planeswalker. It deals 3 damage instead if you control artifacts named Crown of Empires and Throne of Empires. SVar:X:Count$Compare AllM12Empires GT0.3.1 SVar:AllM12Empires:SVar$Z/Times.Y SVar:Z:Count$Valid Artifact.namedCrown of Empires+YouCtrl diff --git a/forge-gui/res/cardsfolder/s/scion_of_the_wild.txt b/forge-gui/res/cardsfolder/s/scion_of_the_wild.txt index fab3f6dce66..2901275f54e 100644 --- a/forge-gui/res/cardsfolder/s/scion_of_the_wild.txt +++ b/forge-gui/res/cardsfolder/s/scion_of_the_wild.txt @@ -2,7 +2,7 @@ Name:Scion of the Wild ManaCost:1 G G Types:Creature Avatar PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl SVar:BuffedBy:Creature SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/s/scorched_earth.txt b/forge-gui/res/cardsfolder/s/scorched_earth.txt index 60bb6747e7f..9a28a76d355 100644 --- a/forge-gui/res/cardsfolder/s/scorched_earth.txt +++ b/forge-gui/res/cardsfolder/s/scorched_earth.txt @@ -1,7 +1,7 @@ Name:Scorched Earth ManaCost:X R Types:Sorcery -A:SP$ Destroy | Cost$ X R Discard | CostDesc$ As an additional cost to cast this spell, discard X land cards. | TargetMin$ X | TargetMax$ X | ValidTgts$ Land | TgtPrompt$ Select X target lands | References$ X | SpellDescription$ Destroy X target lands. +A:SP$ Destroy | Cost$ X R Discard | CostDesc$ As an additional cost to cast this spell, discard X land cards. | TargetMin$ X | TargetMax$ X | ValidTgts$ Land | TgtPrompt$ Select X target lands | SpellDescription$ Destroy X target lands. SVar:X:Count$xPaid AI:RemoveDeck:Random SVar:PlayBeforeLandDrop:true diff --git a/forge-gui/res/cardsfolder/s/scorched_ruins.txt b/forge-gui/res/cardsfolder/s/scorched_ruins.txt index e5d7af9e738..251e2c4d18f 100644 --- a/forge-gui/res/cardsfolder/s/scorched_ruins.txt +++ b/forge-gui/res/cardsfolder/s/scorched_ruins.txt @@ -4,8 +4,8 @@ Types:Land A:AB$ Mana | Cost$ T | Produced$ C | Amount$ 4 | SpellDescription$ Add {C}{C}{C}{C}. R:Event$ Moved | Destination$ Battlefield | ValidCard$ Card.Self | ReplaceWith$ PayBeforeETB | Description$ If CARDNAME would enter the battlefield, sacrifice two untapped lands instead. If you do, put CARDNAME onto the battlefield. If you don't, put it into its owner's graveyard. SVar:PayBeforeETB:DB$ Sacrifice | SacValid$ Land.untapped | Defined$ You | RememberSacrificed$ True | Amount$ 2 | StrictAmount$ True | SubAbility$ MoveToGraveyard -SVar:MoveToGraveyard:DB$ ChangeZone | Origin$ All | Destination$ Graveyard | Defined$ ReplacedCard | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ LT2 | SubAbility$ MoveToBattlefield -SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE2 | SubAbility$ DBCleanup +SVar:MoveToGraveyard:DB$ ChangeZone | Origin$ All | Destination$ Graveyard | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ LT2 | SubAbility$ MoveToBattlefield +SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:NeedsToPlayVar:Y GE2 diff --git a/forge-gui/res/cardsfolder/s/scorching_winds.txt b/forge-gui/res/cardsfolder/s/scorching_winds.txt index 884cd200201..126e9451acc 100644 --- a/forge-gui/res/cardsfolder/s/scorching_winds.txt +++ b/forge-gui/res/cardsfolder/s/scorching_winds.txt @@ -2,7 +2,7 @@ Name:Scorching Winds ManaCost:R Types:Instant Text:Cast this spell only during the declare attackers step and only if you've been attacked this step.\r\n -A:SP$ DamageAll | Cost$ R | NumDmg$ 1 | ValidCards$ Creature.attacking | ValidDescription$ each attacking creature. | OpponentTurn$ True | CheckSVar$ X | SVarCompare$ GE1 | References$ X | ActivationPhases$ Declare Attackers | SpellDescription$ CARDNAME deals 1 damage to each attacking creature. +A:SP$ DamageAll | Cost$ R | NumDmg$ 1 | ValidCards$ Creature.attacking | ValidDescription$ each attacking creature. | OpponentTurn$ True | CheckSVar$ X | SVarCompare$ GE1 | ActivationPhases$ Declare Attackers | SpellDescription$ CARDNAME deals 1 damage to each attacking creature. SVar:X:Count$Valid Creature.attackingYou SVar:Picture:http://serv3.tcgimages.eu/img/cards/Portal/scorching_winds.jpg Oracle:Cast this spell only during the declare attackers step and only if you've been attacked this step.\nScorching Winds deals 1 damage to each attacking creature. diff --git a/forge-gui/res/cardsfolder/s/scour.txt b/forge-gui/res/cardsfolder/s/scour.txt index 5c2d453738f..0354199a08e 100644 --- a/forge-gui/res/cardsfolder/s/scour.txt +++ b/forge-gui/res/cardsfolder/s/scour.txt @@ -3,8 +3,8 @@ ManaCost:2 W W Types:Instant A:SP$ ChangeZone | Cost$ 2 W W | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Enchantment | TgtPrompt$ Select target enchantment | RememberLKI$ True | ForgetOtherTargets$ True | SubAbility$ ExileYard | SpellDescription$ Exile target enchantment. Search its controller's graveyard, hand, and library for all cards with the same name as that enchantment and exile them. Then that player shuffles their library. SVar:ExileYard:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Exile | Defined$ TargetedController | ChangeType$ Remembered.sameName | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | References$ NumInHand | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | References$ NumInLib | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:NumInHand:TargetedController$CardsInHand SVar:NumInLib:TargetedController$CardsInLibrary SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/s/scourge_of_fleets.txt b/forge-gui/res/cardsfolder/s/scourge_of_fleets.txt index 87c64b8ffa3..a73e9e86cf9 100644 --- a/forge-gui/res/cardsfolder/s/scourge_of_fleets.txt +++ b/forge-gui/res/cardsfolder/s/scourge_of_fleets.txt @@ -3,7 +3,7 @@ ManaCost:5 U U Types:Creature Kraken PT:6/6 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZoneAll | TriggerDescription$ When CARDNAME enters the battlefield, return each creature your opponents control with toughness X or less to its owner's hand, where X is the number of Islands you control. -SVar:TrigChangeZoneAll:DB$ ChangeZoneAll | Origin$ Battlefield | Destination$ Hand | ChangeType$ Creature.toughnessLEX+OppCtrl | References$ X +SVar:TrigChangeZoneAll:DB$ ChangeZoneAll | Origin$ Battlefield | Destination$ Hand | ChangeType$ Creature.toughnessLEX+OppCtrl SVar:X:Count$Valid Island.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/scourge_of_fleets.jpg Oracle:When Scourge of Fleets enters the battlefield, return each creature your opponents control with toughness X or less to its owner's hand, where X is the number of Islands you control. diff --git a/forge-gui/res/cardsfolder/s/scourge_of_skola_vale.txt b/forge-gui/res/cardsfolder/s/scourge_of_skola_vale.txt index 291ab8aa856..058ecb31a53 100644 --- a/forge-gui/res/cardsfolder/s/scourge_of_skola_vale.txt +++ b/forge-gui/res/cardsfolder/s/scourge_of_skola_vale.txt @@ -4,7 +4,7 @@ Types:Creature Hydra PT:0/0 K:etbCounter:P1P1:2 K:Trample -A:AB$ PutCounter | Cost$ T Sac<1/Creature.Other/another creature> | CounterType$ P1P1 | CounterNum$ X | References$ X | SpellDescription$ Put a number of +1/+1 counters on CARDNAME equal to the sacrificed creature's toughness. +A:AB$ PutCounter | Cost$ T Sac<1/Creature.Other/another creature> | CounterType$ P1P1 | CounterNum$ X | SpellDescription$ Put a number of +1/+1 counters on CARDNAME equal to the sacrificed creature's toughness. SVar:X:Sacrificed$CardToughness AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/scourge_of_skola_vale.jpg diff --git a/forge-gui/res/cardsfolder/s/scourge_of_the_skyclaves.txt b/forge-gui/res/cardsfolder/s/scourge_of_the_skyclaves.txt index 3d0243b8887..c36e14177d5 100755 --- a/forge-gui/res/cardsfolder/s/scourge_of_the_skyclaves.txt +++ b/forge-gui/res/cardsfolder/s/scourge_of_the_skyclaves.txt @@ -5,9 +5,9 @@ PT:*/* K:Kicker:4 B T:Mode$ SpellCast | ValidCard$ Card.Self+kicked | Execute$ TrigLoseLife | TriggerDescription$ When you cast CARDNAME, if it was kicked, each player loses half their life, rounded up. SVar:TrigLoseLife:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBLoseLife | AILifeThreshold$ 1 | -SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ HalfUp | References$ HalfUp +SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ HalfUp SVar:HalfUp:PlayerCountRemembered$LifeTotal/HalfUp -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X,Y | Description$ CARDNAME's power and toughness are each equal to 20 minus the highest life total among players. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to 20 minus the highest life total among players. SVar:Y:PlayerCountPlayers$HighestLifeTotal SVar:X:SVar$Y/NMinus.20 Oracle:Kicker {4}{B}\nWhen you cast this spell, if it was kicked, each player loses half their life, rounded up.\nScourge of the Skyclaves's power and toughness are each equal to 20 minus the highest life total among players. diff --git a/forge-gui/res/cardsfolder/s/scourge_of_valkas.txt b/forge-gui/res/cardsfolder/s/scourge_of_valkas.txt index 125110bff0b..e459e0268d8 100644 --- a/forge-gui/res/cardsfolder/s/scourge_of_valkas.txt +++ b/forge-gui/res/cardsfolder/s/scourge_of_valkas.txt @@ -5,7 +5,7 @@ PT:4/4 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME or another Dragon enters the battlefield under your control, it deals X damage to any target, where X is the number of Dragons you control. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Dragon.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDamage | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another Dragon enters the battlefield under your control, it deals X damage to any target, where X is the number of Dragons you control. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | NumDmg$ NumDragons | References$ NumDragons | TgtPrompt$ Select any target | DamageSource$ TriggeredCard +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | NumDmg$ NumDragons | TgtPrompt$ Select any target | DamageSource$ TriggeredCard SVar:NumDragons:Count$Valid Dragon.YouCtrl A:AB$ Pump | Cost$ R | Defined$ Self | NumAtt$ +1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn. SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/s/scouting_trek.txt b/forge-gui/res/cardsfolder/s/scouting_trek.txt index 05d5a2a2837..3c9922bd2e5 100644 --- a/forge-gui/res/cardsfolder/s/scouting_trek.txt +++ b/forge-gui/res/cardsfolder/s/scouting_trek.txt @@ -1,7 +1,7 @@ Name:Scouting Trek ManaCost:1 G Types:Sorcery -A:SP$ ChangeZone | Cost$ 1 G | ChangeNum$ X | ChangeType$ Land.Basic | Origin$ Library | Destination$ Library | LibraryPosition$ 0 | References$ X | SpellDescription$ Search your library for any number of basic land cards. Reveal those cards, then shuffle your library and put them on top of it. +A:SP$ ChangeZone | Cost$ 1 G | ChangeNum$ X | ChangeType$ Land.Basic | Origin$ Library | Destination$ Library | LibraryPosition$ 0 | SpellDescription$ Search your library for any number of basic land cards. Reveal those cards, then shuffle your library and put them on top of it. SVar:X:Count$InYourLibrary.Land.Basic AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/scouting_trek.jpg diff --git a/forge-gui/res/cardsfolder/s/scrap_trawler.txt b/forge-gui/res/cardsfolder/s/scrap_trawler.txt index 941b3ff3efb..6c246e90a26 100644 --- a/forge-gui/res/cardsfolder/s/scrap_trawler.txt +++ b/forge-gui/res/cardsfolder/s/scrap_trawler.txt @@ -4,7 +4,7 @@ Types:Artifact Creature Construct PT:3/2 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigReturnArti | TriggerDescription$ Whenever CARDNAME or another artifact you control is put into a graveyard from the battlefield, return to your hand target artifact card in your graveyard with lesser converted mana cost. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Artifact.Other+YouCtrl | TriggerZones$ Battlefield | Secondary$ True | Execute$ TrigReturnArti | TriggerDescription$ Whenever CARDNAME or another artifact you control is put into a graveyard from the battlefield, return to your hand target artifact card in your graveyard with lesser converted mana cost. -SVar:TrigReturnArti:DB$ ChangeZone | ValidTgts$ Artifact.cmcLTX+YouCtrl | Origin$ Graveyard | Destination$ Hand | References$ X +SVar:TrigReturnArti:DB$ ChangeZone | ValidTgts$ Artifact.cmcLTX+YouCtrl | Origin$ Graveyard | Destination$ Hand SVar:X:TriggeredCard$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/scrap_trawler.jpg Oracle:Whenever Scrap Trawler or another artifact you control is put into a graveyard from the battlefield, return to your hand target artifact card in your graveyard with lesser converted mana cost. diff --git a/forge-gui/res/cardsfolder/s/scrapyard_salvo.txt b/forge-gui/res/cardsfolder/s/scrapyard_salvo.txt index 0936bce6b8a..85dc4e15b17 100644 --- a/forge-gui/res/cardsfolder/s/scrapyard_salvo.txt +++ b/forge-gui/res/cardsfolder/s/scrapyard_salvo.txt @@ -1,7 +1,7 @@ Name:Scrapyard Salvo ManaCost:1 R R Types:Sorcery -A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target player or planeswalker equal to the number of artifact cards in your graveyard. +A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target player or planeswalker equal to the number of artifact cards in your graveyard. SVar:X:Count$TypeInYourYard.Artifact AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/scrapyard_salvo.jpg diff --git a/forge-gui/res/cardsfolder/s/scroll_of_origins.txt b/forge-gui/res/cardsfolder/s/scroll_of_origins.txt index 86760bb6bb0..88b274ba0a0 100644 --- a/forge-gui/res/cardsfolder/s/scroll_of_origins.txt +++ b/forge-gui/res/cardsfolder/s/scroll_of_origins.txt @@ -1,7 +1,7 @@ Name:Scroll of Origins ManaCost:2 Types:Artifact -A:AB$ Draw | Cost$ 2 T | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE7 | References$ X | AILogic$ CheckCondition | SpellDescription$ Draw a card if you have seven or more cards in hand. +A:AB$ Draw | Cost$ 2 T | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE7 | AILogic$ CheckCondition | SpellDescription$ Draw a card if you have seven or more cards in hand. SVar:X:Count$InYourHand AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/scroll_of_origins.jpg diff --git a/forge-gui/res/cardsfolder/s/scroll_of_the_masters.txt b/forge-gui/res/cardsfolder/s/scroll_of_the_masters.txt index c793e47216d..7a788f229a2 100644 --- a/forge-gui/res/cardsfolder/s/scroll_of_the_masters.txt +++ b/forge-gui/res/cardsfolder/s/scroll_of_the_masters.txt @@ -3,7 +3,7 @@ ManaCost:2 Types:Artifact T:Mode$ SpellCast | ValidCard$ Card.nonCreature | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you cast a noncreature spell, put a lore counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ LORE | CounterNum$ 1 -A:AB$ Pump | Cost$ 3 T | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X | SpellDescription$ Target creature you control gets +1/+1 until end of turn for each lore counter on CARDNAME. +A:AB$ Pump | Cost$ 3 T | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | SpellDescription$ Target creature you control gets +1/+1 until end of turn for each lore counter on CARDNAME. SVar:X:Count$CardCounters.LORE SVar:Picture:http://www.wizards.com/global/images/magic/general/scroll_of_the_masters.jpg Oracle:Whenever you cast a noncreature spell, put a lore counter on Scroll of the Masters.\n{3}, {T}: Target creature you control gets +1/+1 until end of turn for each lore counter on Scroll of the Masters. diff --git a/forge-gui/res/cardsfolder/s/scroll_rack.txt b/forge-gui/res/cardsfolder/s/scroll_rack.txt index cb06a3b42d4..590b31e6592 100644 --- a/forge-gui/res/cardsfolder/s/scroll_rack.txt +++ b/forge-gui/res/cardsfolder/s/scroll_rack.txt @@ -1,8 +1,8 @@ Name:Scroll Rack ManaCost:2 Types:Artifact -A:AB$ ChangeZone | Cost$ 1 T | Origin$ Hand | Destination$ Exile | ChangeType$ Card | ChangeNum$ XFetch | References$ XFetch | RememberChanged$ True | SubAbility$ DBDig | SpellDescription$ Exile any number of cards from your hand face down. Put that many cards from the top of your library into your hand. Then look at the exiled cards and put them on top of your library in any order. | StackDescription$ SpellDescription -SVar:DBDig:DB$ Dig | DigNum$ X | References$ X | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | SubAbility$ DBReplace +A:AB$ ChangeZone | Cost$ 1 T | Origin$ Hand | Destination$ Exile | ChangeType$ Card | ChangeNum$ XFetch | RememberChanged$ True | SubAbility$ DBDig | SpellDescription$ Exile any number of cards from your hand face down. Put that many cards from the top of your library into your hand. Then look at the exiled cards and put them on top of your library in any order. | StackDescription$ SpellDescription +SVar:DBDig:DB$ Dig | DigNum$ X | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | SubAbility$ DBReplace SVar:DBReplace:DB$ ChangeZoneAll | Origin$ Exile | Destination$ Library | ChangeType$ Card.IsRemembered | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:XFetch:Count$InYourHand diff --git a/forge-gui/res/cardsfolder/s/scrying_glass.txt b/forge-gui/res/cardsfolder/s/scrying_glass.txt index c7f7ff05950..5c96bb1ff69 100644 --- a/forge-gui/res/cardsfolder/s/scrying_glass.txt +++ b/forge-gui/res/cardsfolder/s/scrying_glass.txt @@ -4,7 +4,7 @@ Types:Artifact A:AB$ ChooseNumber | Cost$ 3 T | Min$ 1 | SubAbility$ DBScryingGlassChooseColor | SpellDescription$ Choose a number greater than 0 and a color. Target opponent reveals their hand. If that opponent reveals exactly the chosen number of cards of the chosen color, you draw a card. SVar:DBScryingGlassChooseColor:DB$ ChooseColor | SubAbility$ DBScryingGlassRevealHand SVar:DBScryingGlassRevealHand:DB$ RevealHand | RememberRevealed$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBScryingGlassDraw -SVar:DBScryingGlassDraw:DB$ Draw | ConditionCheckSVar$ ScryingGlassX | ConditionSVarCompare$ EQScryingGlassY | SubAbility$ DBScryingGlassCleanup | References$ ScryingGlassX,ScryingGlassY +SVar:DBScryingGlassDraw:DB$ Draw | ConditionCheckSVar$ ScryingGlassX | ConditionSVarCompare$ EQScryingGlassY | SubAbility$ DBScryingGlassCleanup SVar:DBScryingGlassCleanup:DB$ Cleanup | ClearRemembered$ True SVar:ScryingGlassX:Remembered$Valid Card.ChosenColor SVar:ScryingGlassY:Count$ChosenNumber diff --git a/forge-gui/res/cardsfolder/s/scute_swarm.txt b/forge-gui/res/cardsfolder/s/scute_swarm.txt index a33e408a7bc..5d1cb60f0b5 100755 --- a/forge-gui/res/cardsfolder/s/scute_swarm.txt +++ b/forge-gui/res/cardsfolder/s/scute_swarm.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Insect PT:1/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigBranch | TriggerDescription$ Landfall - Whenever a land enters the battlefield under your control, create a 1/1 green Insect creature token. If you control six or more lands, create a token that's a copy of CARDNAME instead. -SVar:TrigBranch:DB$ Branch | References$ X | BranchConditionSVar$ X | BranchConditionSVarCompare$ GE6 | TrueSubAbility$ DBCopy | FalseSubAbility$ DBToken +SVar:TrigBranch:DB$ Branch | BranchConditionSVar$ X | BranchConditionSVarCompare$ GE6 | TrueSubAbility$ DBCopy | FalseSubAbility$ DBToken SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_1_1_insect | TokenOwner$ You SVar:DBCopy:DB$ CopyPermanent | Defined$ Self | NumCopies$ 1 SVar:X:Count$Valid Land.YouCtrl diff --git a/forge-gui/res/cardsfolder/s/scythe_specter.txt b/forge-gui/res/cardsfolder/s/scythe_specter.txt index 5524f800dba..5bd82b3bfd4 100644 --- a/forge-gui/res/cardsfolder/s/scythe_specter.txt +++ b/forge-gui/res/cardsfolder/s/scythe_specter.txt @@ -6,7 +6,7 @@ K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDiscard | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, each opponent discards a card. Each player who discarded a card with the highest converted mana cost among cards discarded this way loses life equal to that converted mana cost. SVar:TrigDiscard:DB$ Discard | Mode$ TgtChoose | NumCards$ 1 | Defined$ Player.Opponent | RememberDiscarded$ True | SubAbility$ DBRepeatLoseLife SVar:DBRepeatLoseLife:DB$ RepeatEach | UseImprinted$ True | RepeatCards$ Card.greatestRememberedCMC | Zone$ Battlefield,Graveyard,Exile,Library,Hand | RepeatSubAbility$ DBLoseLife | SubAbility$ DBCleanup -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X | Defined$ ImprintedController +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ ImprintedController SVar:X:Imprinted$CardManaCost SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/scythe_specter.jpg diff --git a/forge-gui/res/cardsfolder/s/scytheclaw.txt b/forge-gui/res/cardsfolder/s/scytheclaw.txt index a58db7f1c5b..b981c2ef831 100644 --- a/forge-gui/res/cardsfolder/s/scytheclaw.txt +++ b/forge-gui/res/cardsfolder/s/scytheclaw.txt @@ -5,7 +5,7 @@ K:Living Weapon K:Equip:3 S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 1 | AddToughness$ 1 | Description$ Equipped creature gets +1/+1. T:Mode$ DamageDone | ValidSource$ Creature.EquippedBy | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigLoseLifeOpp | TriggerDescription$ Whenever equipped creature deals combat damage to a player, that player loses half their life, rounded up. -SVar:TrigLoseLifeOpp:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ X | References$ X +SVar:TrigLoseLifeOpp:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ X SVar:X:TriggeredTarget$LifeTotal/HalfUp DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/scytheclaw.jpg diff --git a/forge-gui/res/cardsfolder/s/sea_gate_colossus.txt b/forge-gui/res/cardsfolder/s/sea_gate_colossus.txt index a5ae88f9f84..db157624a8f 100644 --- a/forge-gui/res/cardsfolder/s/sea_gate_colossus.txt +++ b/forge-gui/res/cardsfolder/s/sea_gate_colossus.txt @@ -2,7 +2,7 @@ Name:Sea Gate Colossus ManaCost:7 Types:Artifact Creature Golem Warrior PT:7/5 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature in your party. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature in your party. SVar:X:Count$Party DeckHas:Ability$Party DeckHints:Type$Cleric|Rogue|Warrior|Wizard diff --git a/forge-gui/res/cardsfolder/s/sea_gate_loremaster.txt b/forge-gui/res/cardsfolder/s/sea_gate_loremaster.txt index 4f204a22ac7..5ddf14c64fc 100644 --- a/forge-gui/res/cardsfolder/s/sea_gate_loremaster.txt +++ b/forge-gui/res/cardsfolder/s/sea_gate_loremaster.txt @@ -2,7 +2,7 @@ Name:Sea Gate Loremaster ManaCost:4 U Types:Creature Merfolk Wizard Ally PT:1/3 -A:AB$ Draw | Cost$ T | NumCards$ X | References$ X | SpellDescription$ Draw a card for each Ally you control. +A:AB$ Draw | Cost$ T | NumCards$ X | SpellDescription$ Draw a card for each Ally you control. SVar:X:Count$TypeYouCtrl.Ally SVar:BuffedBy:Ally SVar:Picture:http://www.wizards.com/global/images/magic/general/sea_gate_loremaster.jpg diff --git a/forge-gui/res/cardsfolder/s/sea_gate_restoration_sea_gate_reborn.txt b/forge-gui/res/cardsfolder/s/sea_gate_restoration_sea_gate_reborn.txt index 499bb45a5a0..e1a35223b6e 100644 --- a/forge-gui/res/cardsfolder/s/sea_gate_restoration_sea_gate_reborn.txt +++ b/forge-gui/res/cardsfolder/s/sea_gate_restoration_sea_gate_reborn.txt @@ -1,7 +1,7 @@ Name:Sea Gate Restoration ManaCost:4 U U U Types:Sorcery -A:SP$ Draw | Cost$ 4 U U U | NumCards$ X | References$ X | SubAbility$ DBEffect | SpellDescription$ Draw cards equal to the number of cards in your hand plus one. You have no maximum hand size for the rest of the game. +A:SP$ Draw | Cost$ 4 U U U | NumCards$ X | SubAbility$ DBEffect | SpellDescription$ Draw cards equal to the number of cards in your hand plus one. You have no maximum hand size for the rest of the game. SVar:DBEffect:DB$ Effect | StaticAbilities$ STHandSize | Duration$ Permanent | SpellDescription$ You have no maximum hand size for the rest of the game. SVar:STHandSize:Mode$ Continuous | EffectZone$ Command | Affected$ You | SetMaxHandSize$ Unlimited | Description$ You have no maximum hand size for the rest of the game. SVar:X:Count$NumCardsInYourHand/Plus.1 diff --git a/forge-gui/res/cardsfolder/s/sea_gate_stormcaller.txt b/forge-gui/res/cardsfolder/s/sea_gate_stormcaller.txt index c4e60d7f6e5..d9cc37a8be6 100755 --- a/forge-gui/res/cardsfolder/s/sea_gate_stormcaller.txt +++ b/forge-gui/res/cardsfolder/s/sea_gate_stormcaller.txt @@ -5,7 +5,7 @@ PT:2/1 K:Kicker:4 U T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEffect | TriggerDescription$ When CARDNAME enters the battlefield, copy the next instant or sorcery spell with converted mana cost 2 or less you cast this turn when you cast it. You may choose new targets for the copy. SVar:TrigEffect:DB$ DelayedTrigger | AILogic$ SpellCopy | Mode$ SpellCast | ValidCard$ Instant.cmcLE2,Sorcery.cmcLE2 | ValidActivatingPlayer$ You | ThisTurn$ True | Execute$ TrigCopy | TriggerDescription$ Copy the next instant or sorcery spell with converted mana cost 2 or less you cast this turn when you cast it. You may choose new targets for the copy. -SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | AILogic$ Always | Amount$ X | References$ X | MayChooseTarget$ True +SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | AILogic$ Always | Amount$ X | MayChooseTarget$ True SVar:X:Count$Kicked.2.1 SVar:PlayMain1:TRUE DeckNeeds:Type$Instant|Sorcery diff --git a/forge-gui/res/cardsfolder/s/sea_kings_blessing.txt b/forge-gui/res/cardsfolder/s/sea_kings_blessing.txt index db93a6a1906..ddf52a5720b 100644 --- a/forge-gui/res/cardsfolder/s/sea_kings_blessing.txt +++ b/forge-gui/res/cardsfolder/s/sea_kings_blessing.txt @@ -1,7 +1,7 @@ Name:Sea Kings' Blessing ManaCost:U Types:Instant -A:SP$ Animate | Cost$ U | ValidTgts$ Creature | TargetMin$ 1 | TargetMax$ MaxTgts | TgtPrompt$ Select target creatures | Colors$ Blue | OverwriteColors$ True | References$ MaxTgts | SpellDescription$ One or more target creatures become blue until end of turn. +A:SP$ Animate | Cost$ U | ValidTgts$ Creature | TargetMin$ 1 | TargetMax$ MaxTgts | TgtPrompt$ Select target creatures | Colors$ Blue | OverwriteColors$ True | SpellDescription$ One or more target creatures become blue until end of turn. SVar:MaxTgts:Count$Valid Creature AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/sea_of_clouds.txt b/forge-gui/res/cardsfolder/s/sea_of_clouds.txt index eb252c9c98c..3d11dfea6bb 100644 --- a/forge-gui/res/cardsfolder/s/sea_of_clouds.txt +++ b/forge-gui/res/cardsfolder/s/sea_of_clouds.txt @@ -2,7 +2,7 @@ Name:Sea of Clouds ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. SVar:ETBCheckSVar2:PlayerCountOpponents$Amount A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add {W}. A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add {U}. diff --git a/forge-gui/res/cardsfolder/s/seachrome_coast.txt b/forge-gui/res/cardsfolder/s/seachrome_coast.txt index bf13d921d02..da13261bb25 100644 --- a/forge-gui/res/cardsfolder/s/seachrome_coast.txt +++ b/forge-gui/res/cardsfolder/s/seachrome_coast.txt @@ -2,7 +2,7 @@ Name:Seachrome Coast ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. SVar:ETBCheckSVar2:Count$LastStateBattlefield Land.YouCtrl A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add {U}. A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add {W}. diff --git a/forge-gui/res/cardsfolder/s/seafloor_stalker.txt b/forge-gui/res/cardsfolder/s/seafloor_stalker.txt index c5952c28331..77a64f1f72a 100755 --- a/forge-gui/res/cardsfolder/s/seafloor_stalker.txt +++ b/forge-gui/res/cardsfolder/s/seafloor_stalker.txt @@ -2,7 +2,7 @@ Name:Seafloor Stalker ManaCost:2 U Types:Creature Merfolk Rogue PT:2/3 -A:AB$ Pump | Cost$ 4 U | Defined$ Self | NumAtt$ +1 | KW$ HIDDEN Unblockable | ReduceCost$ X | References$ X | StackDescription$ SpellDescription | SpellDescription$ CARDNAME gets +1/+0 until end of turn and can't be blocked this turn. This ability costs {1} less to activate for each creature in your party. +A:AB$ Pump | Cost$ 4 U | Defined$ Self | NumAtt$ +1 | KW$ HIDDEN Unblockable | ReduceCost$ X | StackDescription$ SpellDescription | SpellDescription$ CARDNAME gets +1/+0 until end of turn and can't be blocked this turn. This ability costs {1} less to activate for each creature in your party. SVar:X:Count$Party DeckHas:Ability$Party DeckHints:Type$Cleric|Warrior|Wizard diff --git a/forge-gui/res/cardsfolder/s/sealed_fate.txt b/forge-gui/res/cardsfolder/s/sealed_fate.txt index ab4a10378d8..1d8d8494f67 100644 --- a/forge-gui/res/cardsfolder/s/sealed_fate.txt +++ b/forge-gui/res/cardsfolder/s/sealed_fate.txt @@ -1,7 +1,7 @@ Name:Sealed Fate ManaCost:X U B Types:Sorcery -A:SP$ Dig | Cost$ X U B | ValidTgts$ Opponent | DigNum$ X | ChangeNum$ 1 | DestinationZone$ Exile | LibraryPosition2$ 0 | References$ X | SpellDescription$ Look at the top X cards of target opponent's library. Exile one of those cards and put the rest back on top of that player's library in any order. +A:SP$ Dig | Cost$ X U B | ValidTgts$ Opponent | DigNum$ X | ChangeNum$ 1 | DestinationZone$ Exile | LibraryPosition2$ 0 | SpellDescription$ Look at the top X cards of target opponent's library. Exile one of those cards and put the rest back on top of that player's library in any order. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/sealed_fate.jpg diff --git a/forge-gui/res/cardsfolder/s/search_for_azcanta_azcanta_the_sunken_ruin.txt b/forge-gui/res/cardsfolder/s/search_for_azcanta_azcanta_the_sunken_ruin.txt index 120a3eda14e..e5a8c6c20a0 100644 --- a/forge-gui/res/cardsfolder/s/search_for_azcanta_azcanta_the_sunken_ruin.txt +++ b/forge-gui/res/cardsfolder/s/search_for_azcanta_azcanta_the_sunken_ruin.txt @@ -3,7 +3,7 @@ ManaCost:1 U Types:Legendary Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ At the beginning of your upkeep, look at the top card of your library. You may put it into your graveyard. Then if you have seven or more cards in your graveyard, you may transform CARDNAME. SVar:TrigDig:DB$ Dig | DigNum$ 1 | DestinationZone$ Graveyard | Optional$ True | LibraryPosition2$ 0 | SubAbility$ DBTransform | SpellDescription$ Look at the top card of your library. You may put that card into your graveyard. Then if you have seven or more cards in your graveyard, you may transform CARDNAME. -SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform | Optional$ True | ConditionCheckSVar$ GraveCount | ConditionSVarCompare$ GE7 | References$ GraveCount +SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform | Optional$ True | ConditionCheckSVar$ GraveCount | ConditionSVarCompare$ GE7 SVar:GraveCount:Count$ValidGraveyard Card.YouOwn AlternateMode:DoubleFaced SVar:Picture:http://www.wizards.com/global/images/magic/general/search_for_azcanta.jpg diff --git a/forge-gui/res/cardsfolder/s/search_for_glory.txt b/forge-gui/res/cardsfolder/s/search_for_glory.txt index 2939bfb00e7..cd5d6e858b3 100644 --- a/forge-gui/res/cardsfolder/s/search_for_glory.txt +++ b/forge-gui/res/cardsfolder/s/search_for_glory.txt @@ -2,7 +2,7 @@ Name:Search for Glory ManaCost:2 W Types:Snow Sorcery A:SP$ ChangeZone | Cost$ 2 W | Origin$ Library | Destination$ Hand | ChangeType$ Permanent.Snow,Legendary,Saga | ChangeNum$ 1 | SubAbility$ DBGainLife | SpellDescription$ Search your library for a snow permanent card, a legendary card, or a Saga card, reveal it, put it into your hand, then shuffle your library. You gain 1 life for each {S} spent to cast this spell. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$CastTotalSnowManaSpent AI:RemoveDeck:Random DeckHints:Type$Legendary diff --git a/forge-gui/res/cardsfolder/s/search_the_city.txt b/forge-gui/res/cardsfolder/s/search_the_city.txt index a3b05ac8aa1..b7ebb07cbcb 100644 --- a/forge-gui/res/cardsfolder/s/search_the_city.txt +++ b/forge-gui/res/cardsfolder/s/search_the_city.txt @@ -6,8 +6,8 @@ SVar:SetupSearch:DB$ Dig | Defined$ You | DigNum$ 5 | ChangeNum$ All | Destinati T:Mode$ SpellCast | ValidCard$ Card.sharesNameWith Remembered | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigFind | TriggerDescription$ Whenever you play a card with the same name as one of the exiled cards, you may put one of those cards with that name into its owner's hand. Then if there are no cards exiled with CARDNAME, sacrifice it. If you do, take an extra turn after this one. T:Mode$ LandPlayed | ValidCard$ Land.YouCtrl+sharesNameWith Remembered | TriggerZones$ Battlefield | Execute$ TrigFind | OptionalDecider$ You | Secondary$ True | TriggerDescription$ Whenever you play a card with the same name as one of the exiled cards, you may put one of those cards with that name into its owner's hand. Then if there are no cards exiled with CARDNAME, sacrifice it. If you do, take an extra turn after this one. SVar:TrigFind:DB$ ChangeZone | ChangeType$ TriggeredCard.sharesNameWith | Hidden$ True | TgtPrompt$ Select a card that shares a name with the played card | Origin$ Exile | Destination$ Hand | ChangeNum$ 1 | ForgetChanged$ True | SubAbility$ SacSelf -SVar:SacSelf:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ StillLooking | ConditionSVarCompare$ EQ0 | References$ StillLooking | RememberSacrificed$ True | SubAbility$ AllFoundCelebration -SVar:AllFoundCelebration:DB$ AddTurn | NumTurns$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X +SVar:SacSelf:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ StillLooking | ConditionSVarCompare$ EQ0 | RememberSacrificed$ True | SubAbility$ AllFoundCelebration +SVar:AllFoundCelebration:DB$ AddTurn | NumTurns$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 SVar:StillLooking:Remembered$Amount SVar:X:Remembered$Amount AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/search_warrant.txt b/forge-gui/res/cardsfolder/s/search_warrant.txt index a7783b54f36..351d6031d60 100644 --- a/forge-gui/res/cardsfolder/s/search_warrant.txt +++ b/forge-gui/res/cardsfolder/s/search_warrant.txt @@ -2,7 +2,7 @@ Name:Search Warrant ManaCost:W U Types:Sorcery A:SP$ RevealHand | Cost$ W U | ValidTgts$ Player | TgtPrompt$ Select target player | SubAbility$ DBGainLife | SpellDescription$ Target player reveals their hand. You gain life equal to the number of cards in that player's hand. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$InTargetedHand AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/search_warrant.jpg diff --git a/forge-gui/res/cardsfolder/s/searing_barrage.txt b/forge-gui/res/cardsfolder/s/searing_barrage.txt index 113ef435517..21f194a18ab 100644 --- a/forge-gui/res/cardsfolder/s/searing_barrage.txt +++ b/forge-gui/res/cardsfolder/s/searing_barrage.txt @@ -2,6 +2,6 @@ Name:Searing Barrage ManaCost:4 R Types:Instant A:SP$ DealDamage | Cost$ 4 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 5 | AIManaPref$ R | SpellDescription$ CARDNAME deals 5 damage to target creature. Adamant — If at least three red mana was spent to cast this spell, CARDNAME deals 3 damage to that creature's controller. | SubAbility$ DBDmg -SVar:DBDmg:DB$ DealDamage | Defined$ TargetedController | NumDmg$ 3 | ConditionCheckSVar$ X | References$ X +SVar:DBDmg:DB$ DealDamage | Defined$ TargetedController | NumDmg$ 3 | ConditionCheckSVar$ X SVar:X:Count$Adamant.Red.1.0 Oracle:Searing Barrage deals 5 damage to target creature.\nAdamant — If at least three red mana was spent to cast this spell, Searing Barrage deals 3 damage to that creature's controller. diff --git a/forge-gui/res/cardsfolder/s/searing_blaze.txt b/forge-gui/res/cardsfolder/s/searing_blaze.txt index 5f2f0553616..4ee1ba8bd16 100644 --- a/forge-gui/res/cardsfolder/s/searing_blaze.txt +++ b/forge-gui/res/cardsfolder/s/searing_blaze.txt @@ -1,8 +1,8 @@ Name:Searing Blaze ManaCost:R R Types:Instant -A:SP$ DealDamage | Cost$ R R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ SearingX | DamageMap$ True | SubAbility$ SearingDamage | References$ SearingX | SpellDescription$ CARDNAME deals 1 damage to target player or planeswalker and 1 damage to target creature that player or that planeswalker's controller controls. Landfall — If you had a land enter the battlefield under your control this turn, CARDNAME deals 3 damage to that player or planeswalker and 3 damage to that creature instead. -SVar:SearingDamage:DB$ DealDamage | ValidTgts$ Creature.ControlledBy TargetedOrController | TgtPrompt$ Select target creature that player or that planeswalker's controller controls | NumDmg$ SearingX | References$ SearingX | SubAbility$ DBDamageResolve +A:SP$ DealDamage | Cost$ R R | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ SearingX | DamageMap$ True | SubAbility$ SearingDamage | SpellDescription$ CARDNAME deals 1 damage to target player or planeswalker and 1 damage to target creature that player or that planeswalker's controller controls. Landfall — If you had a land enter the battlefield under your control this turn, CARDNAME deals 3 damage to that player or planeswalker and 3 damage to that creature instead. +SVar:SearingDamage:DB$ DealDamage | ValidTgts$ Creature.ControlledBy TargetedOrController | TgtPrompt$ Select target creature that player or that planeswalker's controller controls | NumDmg$ SearingX | SubAbility$ DBDamageResolve SVar:DBDamageResolve:DB$ DamageResolve SVar:SearingX:Count$Landfall.3.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/searing_blaze.jpg diff --git a/forge-gui/res/cardsfolder/s/searing_rays.txt b/forge-gui/res/cardsfolder/s/searing_rays.txt index ef3f414cd82..af4a12ede20 100644 --- a/forge-gui/res/cardsfolder/s/searing_rays.txt +++ b/forge-gui/res/cardsfolder/s/searing_rays.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Sorcery A:SP$ ChooseColor | Cost$ 2 R | Defined$ You | SubAbility$ DBDmgEach | AILogic$ MostProminentHumanCreatures | SpellDescription$ Choose a color. CARDNAME deals damage to each player equal to the number of creatures of that color that player controls. SVar:DBDmgEach:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBDmg | DamageMap$ True -SVar:DBDmg:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | References$ X +SVar:DBDmg:DB$ DealDamage | Defined$ Remembered | NumDmg$ X SVar:X:Count$Valid Creature.RememberedPlayerCtrl+ChosenColor AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/searing_rays.jpg diff --git a/forge-gui/res/cardsfolder/s/seasoned_pyromancer.txt b/forge-gui/res/cardsfolder/s/seasoned_pyromancer.txt index 7f9261b753c..6c9accdbee9 100644 --- a/forge-gui/res/cardsfolder/s/seasoned_pyromancer.txt +++ b/forge-gui/res/cardsfolder/s/seasoned_pyromancer.txt @@ -5,7 +5,7 @@ PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, discard two cards, then draw two cards. For each nonland card discarded this way, create a 1/1 red Elemental creature token. SVar:TrigDiscard:DB$ Discard | NumCards$ 2 | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBDraw SVar:DBDraw:DB$Draw | NumCards$ 2 | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ r_1_1_elemental | TokenOwner$ You | LegacyImage$ r 1 1 elemental mh1 | SubAbility$ DBCleanup | References$ X +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ r_1_1_elemental | TokenOwner$ You | LegacyImage$ r 1 1 elemental mh1 | SubAbility$ DBCleanup SVar:X:Remembered$Valid Card.nonLand SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True A:AB$ Token | Cost$ 3 R R ExileFromGrave<1/CARDNAME> | ActivationZone$ Graveyard | TokenAmount$ 2 | TokenScript$ r_1_1_elemental | TokenOwner$ You | LegacyImage$ r 1 1 elemental mh1 | SpellDescription$ Create two 1/1 red Elemental creature tokens. diff --git a/forge-gui/res/cardsfolder/s/seasons_beatings.txt b/forge-gui/res/cardsfolder/s/seasons_beatings.txt index e16a19915de..679fcdd3601 100644 --- a/forge-gui/res/cardsfolder/s/seasons_beatings.txt +++ b/forge-gui/res/cardsfolder/s/seasons_beatings.txt @@ -3,6 +3,6 @@ ManaCost:R R R R Types:Sorcery A:SP$ RepeatEach | Cost$ R R R R | ValidTgts$ Player | TgtPrompt$ Select target player | RepeatCards$ Creature.TargetedPlayerCtrl | RepeatSubAbility$ DBChooseVictim | DamageMap$ True | SpellDescription$ Family gathering — Each creature target player controls deals damage equal to its power to another random creature that player controls. SVar:DBChooseVictim:DB$ ChooseCard | AtRandom$ True | Choices$ Creature.TargetedPlayerCtrl+IsNotRemembered | SubAbility$ DBDealDamage -SVar:DBDealDamage:DB$ DealDamage | DamageSource$ Remembered | NumDmg$ X | References$ X | Defined$ ChosenCard | StackDescription$ None +SVar:DBDealDamage:DB$ DealDamage | DamageSource$ Remembered | NumDmg$ X | Defined$ ChosenCard | StackDescription$ None SVar:X:Remembered$CardPower Oracle:Family gathering — Each creature target player controls deals damage equal to its power to another random creature that player controls. diff --git a/forge-gui/res/cardsfolder/s/seasons_past.txt b/forge-gui/res/cardsfolder/s/seasons_past.txt index a4cca54e8b1..fc07e350f77 100644 --- a/forge-gui/res/cardsfolder/s/seasons_past.txt +++ b/forge-gui/res/cardsfolder/s/seasons_past.txt @@ -1,7 +1,7 @@ Name:Seasons Past ManaCost:4 G G Types:Sorcery -A:SP$ ChangeZone | Cost$ 4 G G | ChangeType$ Card.YouOwn | Hidden$ True | Origin$ Graveyard | Destination$ Hand | DifferentCMC$ True | ChangeNum$ X | References$ X | SubAbility$ DBChangeZone | StackDescription$ SpellDescription | SpellDescription$ Return any number of cards with different converted mana costs from your graveyard to your hand. Put CARDNAME on the bottom of its owner's library. +A:SP$ ChangeZone | Cost$ 4 G G | ChangeType$ Card.YouOwn | Hidden$ True | Origin$ Graveyard | Destination$ Hand | DifferentCMC$ True | ChangeNum$ X | SubAbility$ DBChangeZone | StackDescription$ SpellDescription | SpellDescription$ Return any number of cards with different converted mana costs from your graveyard to your hand. Put CARDNAME on the bottom of its owner's library. SVar:DBChangeZone:DB$ ChangeZone | Defined$ Self | Origin$ Stack | Destination$ Library | LibraryPosition$ -1 SVar:X:Count$ValidGraveyard Card.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/seasons_past.jpg diff --git a/forge-gui/res/cardsfolder/s/secret_salvage.txt b/forge-gui/res/cardsfolder/s/secret_salvage.txt index e7d412cf7c3..4390a7073a5 100644 --- a/forge-gui/res/cardsfolder/s/secret_salvage.txt +++ b/forge-gui/res/cardsfolder/s/secret_salvage.txt @@ -2,7 +2,7 @@ Name:Secret Salvage ManaCost:3 B B Types:Sorcery A:SP$ ChangeZone | Cost$ 3 B B | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Card.nonLand+YouOwn | TgtPrompt$ Select target nonland card in your graveyard | RememberTargets$ True | ForgetOtherTargets$ True | SubAbility$ DBChange | SpellDescription$ Exile target nonland card from your graveyard. Search your library for any number of cards with the same name as that card, reveal them, and put them into your hand. Then shuffle your library. -SVar:DBChange:DB$ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Remembered.sameName | ChangeNum$ X | References$ X | SubAbility$ DBCleanup +SVar:DBChange:DB$ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Remembered.sameName | ChangeNum$ X | SubAbility$ DBCleanup SVar:X:Count$InYourLibrary.Remembered.sameName SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/secret_salvage.jpg diff --git a/forge-gui/res/cardsfolder/s/secret_summoning.txt b/forge-gui/res/cardsfolder/s/secret_summoning.txt index e3c894937b7..5232dfebae1 100644 --- a/forge-gui/res/cardsfolder/s/secret_summoning.txt +++ b/forge-gui/res/cardsfolder/s/secret_summoning.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Conspiracy K:Hidden agenda T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.NamedCard+YouCtrl | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ Whenever a creature with the chosen name enters the battlefield under your control, you may search your library for any number of cards with that name, reveal them, put them into your hand, then shuffle your library. -SVar:TrigChange:DB$ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card.NamedCard | ChangeNum$ X | References$ X | ShuffleNonMandatory$ True +SVar:TrigChange:DB$ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Card.NamedCard | ChangeNum$ X | ShuffleNonMandatory$ True SVar:X:Count$InYourLibrary SVar:AgendaLogic:MostProminentCreatureInComputerDeck Oracle:Hidden agenda (Start the game with this conspiracy face down in the command zone and secretly choose a card name. You may turn this conspiracy face up any time and reveal that name.)\nWhenever a creature with the chosen name enters the battlefield under your control, you may search your library for any number of cards with that name, reveal them, put them into your hand, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/s/secrets_of_the_golden_city.txt b/forge-gui/res/cardsfolder/s/secrets_of_the_golden_city.txt index 476fe0bb7ca..c92a86846a4 100644 --- a/forge-gui/res/cardsfolder/s/secrets_of_the_golden_city.txt +++ b/forge-gui/res/cardsfolder/s/secrets_of_the_golden_city.txt @@ -2,7 +2,7 @@ Name:Secrets of the Golden City ManaCost:1 U U Types:Sorcery K:Ascend -A:SP$ Draw | Cost$ 1 U U | NumCards$ X | References$ X | StackDescription$ SpellDescription | SpellDescription$ Draw two cards. If you have the city's blessing, draw three cards instead. +A:SP$ Draw | Cost$ 1 U U | NumCards$ X | StackDescription$ SpellDescription | SpellDescription$ Draw two cards. If you have the city's blessing, draw three cards instead. SVar:X:Count$Blessing.3.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/secrets_of_the_golden_city.jpg Oracle:Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.)\nDraw two cards. If you have the city's blessing, draw three cards instead. diff --git a/forge-gui/res/cardsfolder/s/secure_the_wastes.txt b/forge-gui/res/cardsfolder/s/secure_the_wastes.txt index 9159f7e3036..2fe29dc42e5 100644 --- a/forge-gui/res/cardsfolder/s/secure_the_wastes.txt +++ b/forge-gui/res/cardsfolder/s/secure_the_wastes.txt @@ -1,7 +1,7 @@ Name:Secure the Wastes ManaCost:X W Types:Instant -A:SP$ Token | Cost$ X W | TokenAmount$ X | References$ X | TokenScript$ w_1_1_warrior | TokenOwner$ You | LegacyImage$ w 1 1 warrior dtk | SpellDescription$ Create X 1/1 white Warrior creature tokens. +A:SP$ Token | Cost$ X W | TokenAmount$ X | TokenScript$ w_1_1_warrior | TokenOwner$ You | LegacyImage$ w 1 1 warrior dtk | SpellDescription$ Create X 1/1 white Warrior creature tokens. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/secure_the_wastes.jpg Oracle:Create X 1/1 white Warrior creature tokens. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/s/see_the_truth.txt b/forge-gui/res/cardsfolder/s/see_the_truth.txt index ae4224b985c..a2aa59ec27c 100755 --- a/forge-gui/res/cardsfolder/s/see_the_truth.txt +++ b/forge-gui/res/cardsfolder/s/see_the_truth.txt @@ -1,6 +1,6 @@ Name:See the Truth ManaCost:1 U Types:Sorcery -A:SP$ Dig | Cost$ 1 U | DigNum$ 3 | ChangeNum$ X | References$ X | StackDescription$ SpellDescription | SpellDescription$ Look at the top three cards of your library. Put one of those cards into your hand and the rest on the bottom of your library in any order. If this spell was cast from anywhere other than your hand, put each of those cards into your hand instead. +A:SP$ Dig | Cost$ 1 U | DigNum$ 3 | ChangeNum$ X | StackDescription$ SpellDescription | SpellDescription$ Look at the top three cards of your library. Put one of those cards into your hand and the rest on the bottom of your library in any order. If this spell was cast from anywhere other than your hand, put each of those cards into your hand instead. SVar:X:Count$wasCastFromHand.1.3 Oracle:Look at the top three cards of your library. Put one of those cards into your hand and the rest on the bottom of your library in any order. If this spell was cast from anywhere other than your hand, put each of those cards into your hand instead. diff --git a/forge-gui/res/cardsfolder/s/see_the_unwritten.txt b/forge-gui/res/cardsfolder/s/see_the_unwritten.txt index daf85a25983..cbfd8c05919 100644 --- a/forge-gui/res/cardsfolder/s/see_the_unwritten.txt +++ b/forge-gui/res/cardsfolder/s/see_the_unwritten.txt @@ -1,7 +1,7 @@ Name:See the Unwritten ManaCost:4 G G Types:Sorcery -A:SP$ Dig | Cost$ 4 G G | DigNum$ 8 | Reveal$ True | ChangeNum$ X | References$ X,Y | ChangeValid$ Creature | Optional$ True | DestinationZone$ Battlefield | DestinationZone2$ Graveyard | SpellDescription$ Reveal the top eight cards of your library. You may put a creature card from among them onto the battlefield. Put the rest into your graveyard. Ferocious — If you control a creature with power 4 or greater, you may put two creature cards onto the battlefield instead of one. +A:SP$ Dig | Cost$ 4 G G | DigNum$ 8 | Reveal$ True | ChangeNum$ X | ChangeValid$ Creature | Optional$ True | DestinationZone$ Battlefield | DestinationZone2$ Graveyard | SpellDescription$ Reveal the top eight cards of your library. You may put a creature card from among them onto the battlefield. Put the rest into your graveyard. Ferocious — If you control a creature with power 4 or greater, you may put two creature cards onto the battlefield instead of one. SVar:X:Count$Compare Y GE1.2.1 SVar:Y:Count$Valid Creature.YouCtrl+powerGE4 SVar:Picture:http://www.wizards.com/global/images/magic/general/see_the_unwritten.jpg diff --git a/forge-gui/res/cardsfolder/s/seed_guardian.txt b/forge-gui/res/cardsfolder/s/seed_guardian.txt index c92cbe5d202..9f73f9d36ae 100644 --- a/forge-gui/res/cardsfolder/s/seed_guardian.txt +++ b/forge-gui/res/cardsfolder/s/seed_guardian.txt @@ -4,7 +4,7 @@ Types:Creature Elemental PT:3/4 K:Reach T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigToken | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, create an X/X green Elemental creature token, where X is the number of creature cards in your graveyard. -SVar:TrigToken:DB$Token | TokenAmount$ 1 | TokenScript$ g_x_x_elemental | TokenOwner$ TriggeredCardController | LegacyImage$ g x x elemental ogw | TokenPower$ X | TokenToughness$ X | References$ X +SVar:TrigToken:DB$Token | TokenAmount$ 1 | TokenScript$ g_x_x_elemental | TokenOwner$ TriggeredCardController | LegacyImage$ g x x elemental ogw | TokenPower$ X | TokenToughness$ X SVar:X:Count$TypeInYourYard.Creature SVar:SacMe:1 SVar:Picture:http://www.wizards.com/global/images/magic/general/seed_guardian.jpg diff --git a/forge-gui/res/cardsfolder/s/seeds_of_innocence.txt b/forge-gui/res/cardsfolder/s/seeds_of_innocence.txt index 1d773574a77..83314bd90aa 100644 --- a/forge-gui/res/cardsfolder/s/seeds_of_innocence.txt +++ b/forge-gui/res/cardsfolder/s/seeds_of_innocence.txt @@ -3,7 +3,7 @@ ManaCost:1 G G Types:Sorcery A:SP$ DestroyAll | Cost$ 1 G G | ValidCards$ Artifact | RememberDestroyed$ True | NoRegen$ True | SubAbility$ DBRepeat | SpellDescription$ Destroy all artifacts. They can't be regenerated. The controller of each of those artifacts gains life equal to its converted mana cost. SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBGainLife | SubAbility$ DBCleanup -SVar:DBGainLife:DB$ GainLife | Defined$ Player.IsRemembered | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ Player.IsRemembered | LifeAmount$ X SVar:X:RememberedLKI$FilterControlledByRemembered_CardManaCost SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/seedtime.txt b/forge-gui/res/cardsfolder/s/seedtime.txt index e0fa6bffc3b..2dd53bbcbad 100644 --- a/forge-gui/res/cardsfolder/s/seedtime.txt +++ b/forge-gui/res/cardsfolder/s/seedtime.txt @@ -1,7 +1,7 @@ Name:Seedtime ManaCost:1 G Types:Instant -A:SP$ AddTurn | Cost$ 1 G | NumTurns$ 1 | PlayerTurn$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SpellDescription$ Cast this spell only during your turn. Take an extra turn after this one if an opponent cast a blue spell this turn. +A:SP$ AddTurn | Cost$ 1 G | NumTurns$ 1 | PlayerTurn$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SpellDescription$ Cast this spell only during your turn. Take an extra turn after this one if an opponent cast a blue spell this turn. SVar:X:Count$ThisTurnCast_Card.Blue+OppCtrl AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/seeker_of_insight.txt b/forge-gui/res/cardsfolder/s/seeker_of_insight.txt index bbfffb1931a..ed09479a631 100644 --- a/forge-gui/res/cardsfolder/s/seeker_of_insight.txt +++ b/forge-gui/res/cardsfolder/s/seeker_of_insight.txt @@ -2,7 +2,7 @@ Name:Seeker of Insight ManaCost:1 U Types:Creature Human Wizard PT:1/3 -A:AB$ Draw | Cost$ T | NumCards$ 1 | SubAbility$ DBDiscard | CheckSVar$ CastTest | SVarCompare$ GE1 | References$ CastTest | SpellDescription$ Draw a card, then discard a card. Activate this ability only if you've cast a noncreature spell this turn. +A:AB$ Draw | Cost$ T | NumCards$ 1 | SubAbility$ DBDiscard | CheckSVar$ CastTest | SVarCompare$ GE1 | SpellDescription$ Draw a card, then discard a card. Activate this ability only if you've cast a noncreature spell this turn. SVar:DBDiscard:DB$Discard | Defined$ You | Mode$ TgtChoose | NumCards$ 1 SVar:CastTest:Count$ThisTurnCast_Card.YouCtrl+nonCreature SVar:Picture:http://www.wizards.com/global/images/magic/general/seeker_of_insight.jpg diff --git a/forge-gui/res/cardsfolder/s/seismic_strike.txt b/forge-gui/res/cardsfolder/s/seismic_strike.txt index fc147e29787..4765a6a5ede 100644 --- a/forge-gui/res/cardsfolder/s/seismic_strike.txt +++ b/forge-gui/res/cardsfolder/s/seismic_strike.txt @@ -1,7 +1,7 @@ Name:Seismic Strike ManaCost:2 R Types:Instant -A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of Mountains you control. +A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of Mountains you control. SVar:X:Count$TypeYouCtrl.Mountain SVar:Picture:http://www.wizards.com/global/images/magic/general/seismic_strike.jpg Oracle:Seismic Strike deals damage to target creature equal to the number of Mountains you control. diff --git a/forge-gui/res/cardsfolder/s/sekki_seasons_guide.txt b/forge-gui/res/cardsfolder/s/sekki_seasons_guide.txt index cdd9e9b622b..dd24ce5d801 100644 --- a/forge-gui/res/cardsfolder/s/sekki_seasons_guide.txt +++ b/forge-gui/res/cardsfolder/s/sekki_seasons_guide.txt @@ -4,8 +4,8 @@ Types:Legendary Creature Spirit PT:0/0 K:etbCounter:P1P1:8 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ SekkiCounters | PreventionEffect$ True | Description$ If damage would be dealt to Sekki, prevent that damage, remove that many +1/+1 counters from Sekki, and create that many 1/1 colorless Spirit creature tokens. -SVar:SekkiCounters:DB$ RemoveCounter | CounterType$ P1P1 | CounterNum$ SekkiX | SubAbility$ DBSekkiToken | References$ SekkiX -SVar:DBSekkiToken:DB$ Token | TokenAmount$ SekkiX | TokenScript$ c_1_1_spirit | LegacyImage$ c 1 1 spirit sok | References$ SekkiX +SVar:SekkiCounters:DB$ RemoveCounter | CounterType$ P1P1 | CounterNum$ SekkiX | SubAbility$ DBSekkiToken +SVar:DBSekkiToken:DB$ Token | TokenAmount$ SekkiX | TokenScript$ c_1_1_spirit | LegacyImage$ c 1 1 spirit sok A:AB$ ChangeZone | Cost$ Sac<8/Spirit> | Defined$ Self | ActivationZone$ Graveyard | Origin$ Graveyard | Destination$ Battlefield | SpellDescription$ Return Sekki from your graveyard to the battlefield. SVar:SekkiX:ReplaceCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/sekki_seasons_guide.jpg diff --git a/forge-gui/res/cardsfolder/s/selective_memory.txt b/forge-gui/res/cardsfolder/s/selective_memory.txt index 497100b93af..a5b2cbf56d9 100644 --- a/forge-gui/res/cardsfolder/s/selective_memory.txt +++ b/forge-gui/res/cardsfolder/s/selective_memory.txt @@ -1,7 +1,7 @@ Name:Selective Memory ManaCost:3 U Types:Sorcery -A:SP$ ChangeZone | Cost$ 3 U | Origin$ Library | Destination$ Exile | ChangeType$ Card.nonLand | ChangeNum$ XFetch | References$ XFetch | SpellDescription$ Search your library for any number of nonland cards and exile them. Then shuffle your library. +A:SP$ ChangeZone | Cost$ 3 U | Origin$ Library | Destination$ Exile | ChangeType$ Card.nonLand | ChangeNum$ XFetch | SpellDescription$ Search your library for any number of nonland cards and exile them. Then shuffle your library. SVar:XFetch:Count$InYourLibrary AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/selective_memory.jpg diff --git a/forge-gui/res/cardsfolder/s/selective_snare.txt b/forge-gui/res/cardsfolder/s/selective_snare.txt index ed382740588..5cd87d72347 100644 --- a/forge-gui/res/cardsfolder/s/selective_snare.txt +++ b/forge-gui/res/cardsfolder/s/selective_snare.txt @@ -1,6 +1,6 @@ Name:Selective Snare ManaCost:X U Types:Sorcery -A:SP$ ChangeZone | Cost$ X U | AnnounceType$ CreatureType | AILogic$ MostProminentOppControls | ValidTgts$ Creature.ChosenType | TargetMin$ X | TargetMax$ X | TgtPrompt$ Select X target creatures of the chosen creature type | Origin$ Battlefield | Destination$ Hand | References$ X | SpellDescription$ Return X target creatures of the creature type of your choice to their owner's hand. +A:SP$ ChangeZone | Cost$ X U | AnnounceType$ CreatureType | AILogic$ MostProminentOppControls | ValidTgts$ Creature.ChosenType | TargetMin$ X | TargetMax$ X | TgtPrompt$ Select X target creatures of the chosen creature type | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return X target creatures of the creature type of your choice to their owner's hand. SVar:X:Count$xPaid Oracle:Return X target creatures of the creature type of your choice to their owner's hand. diff --git a/forge-gui/res/cardsfolder/s/selesnya_loft_gardens.txt b/forge-gui/res/cardsfolder/s/selesnya_loft_gardens.txt index 48829905e25..a42fc114204 100644 --- a/forge-gui/res/cardsfolder/s/selesnya_loft_gardens.txt +++ b/forge-gui/res/cardsfolder/s/selesnya_loft_gardens.txt @@ -2,9 +2,9 @@ Name:Selesnya Loft Gardens ManaCost:no cost Types:Plane Ravnica R:Event$ CreateToken | ActiveZones$ Command | ReplaceWith$ DoubleToken | EffectOnly$ True | Description$ If an effect would create one or more tokens, it creates twice that many of those tokens instead. -SVar:DoubleToken:DB$ ReplaceEffect | VarName$ TokenNum | VarValue$ Y | References$ Y +SVar:DoubleToken:DB$ ReplaceEffect | VarName$ TokenNum | VarValue$ Y R:Event$ AddCounter | ActiveZones$ Command | ValidCard$ Permanent | EffectOnly$ True | ReplaceWith$ DoubleCounters | Description$ If an effect would put one or more counters on a permanent, it puts twice that many of those counters on that permanent instead. -SVar:DoubleCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ Z | References$ Z +SVar:DoubleCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ Z SVar:Y:ReplaceCount$TokenNum/Twice SVar:Z:ReplaceCount$CounterNum/Twice T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, until end of turn, whenever you tap a land for mana, add one mana of any type that land produced. diff --git a/forge-gui/res/cardsfolder/s/selfless_exorcist.txt b/forge-gui/res/cardsfolder/s/selfless_exorcist.txt index 88aaca9fff0..fc902aeb77b 100644 --- a/forge-gui/res/cardsfolder/s/selfless_exorcist.txt +++ b/forge-gui/res/cardsfolder/s/selfless_exorcist.txt @@ -3,7 +3,7 @@ ManaCost:3 W W Types:Creature Human Cleric PT:3/4 A:AB$ ChangeZone | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Graveyard | Destination$ Exile | SubAbility$ DBDealDamage | SpellDescription$ Exile target creature card from a graveyard. That card deals damage equal to its power to CARDNAME. -SVar:DBDealDamage:DB$DealDamage | Defined$ Self | NumDmg$ X | References$ X +SVar:DBDealDamage:DB$DealDamage | Defined$ Self | NumDmg$ X SVar:X:Targeted$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/selfless_exorcist.jpg diff --git a/forge-gui/res/cardsfolder/s/selfless_squire.txt b/forge-gui/res/cardsfolder/s/selfless_squire.txt index 9033ee7a83a..c517d07e66c 100644 --- a/forge-gui/res/cardsfolder/s/selfless_squire.txt +++ b/forge-gui/res/cardsfolder/s/selfless_squire.txt @@ -6,8 +6,8 @@ K:Flash T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBEffect | TriggerDescription$ When CARDNAME enters the battlefield, prevent all damage that would be dealt to you this turn. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPrevent SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidTarget$ You | Description$ Prevent all damage that would be dealt to you this turn. -T:Mode$ DamagePreventedOnce | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPut | References$ X | TriggerDescription$ Whenever damage that would be dealt to you is prevented, put that many +1/+1 counters on CARDNAME. -SVar:TrigPut:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +T:Mode$ DamagePreventedOnce | ValidTarget$ You | TriggerZones$ Battlefield | Execute$ TrigPut | TriggerDescription$ Whenever damage that would be dealt to you is prevented, put that many +1/+1 counters on CARDNAME. +SVar:TrigPut:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/selfless_squire.jpg Oracle:Flash\nWhen Selfless Squire enters the battlefield, prevent all damage that would be dealt to you this turn.\nWhenever damage that would be dealt to you is prevented, put that many +1/+1 counters on Selfless Squire. diff --git a/forge-gui/res/cardsfolder/s/selvala_explorer_returned.txt b/forge-gui/res/cardsfolder/s/selvala_explorer_returned.txt index 96b11629bf7..1b493ad0efe 100644 --- a/forge-gui/res/cardsfolder/s/selvala_explorer_returned.txt +++ b/forge-gui/res/cardsfolder/s/selvala_explorer_returned.txt @@ -3,8 +3,8 @@ ManaCost:1 G W Types:Legendary Creature Elf Scout PT:2/4 A:AB$ Dig | Cost$ T | PrecostDesc$ Parley — | DigNum$ 1 | Defined$ Player | Reveal$ True | NoMove$ True | RememberRevealed$ True | SubAbility$ DBMana | SpellDescription$ Each player reveals the top card of their library. For each nonland card revealed this way, add {G} and you gain 1 life. Then each players draws a card. -SVar:DBMana:DB$ Mana | Produced$ G | Amount$ X | References$ X | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X | SubAbility$ DBDraw +SVar:DBMana:DB$ Mana | Produced$ G | Amount$ X | SubAbility$ DBGainLife +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ 1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Card.nonLand diff --git a/forge-gui/res/cardsfolder/s/selvala_heart_of_the_wilds.txt b/forge-gui/res/cardsfolder/s/selvala_heart_of_the_wilds.txt index 6aa71e95adf..ee25ea1700a 100644 --- a/forge-gui/res/cardsfolder/s/selvala_heart_of_the_wilds.txt +++ b/forge-gui/res/cardsfolder/s/selvala_heart_of_the_wilds.txt @@ -3,10 +3,10 @@ ManaCost:1 G G Types:Legendary Creature Elf Scout PT:2/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Other | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Whenever another creature enters the battlefield, its controller may draw a card if its power is greater than each other creature's power. -SVar:TrigDraw:DB$ Draw | OptionalDecider$ TriggeredCardController | Defined$ TriggeredCardController | NumCards$ 1 | ConditionCheckSVar$ Z | ConditionSVarCompare$ EQY | References$ Z,Y +SVar:TrigDraw:DB$ Draw | OptionalDecider$ TriggeredCardController | Defined$ TriggeredCardController | NumCards$ 1 | ConditionCheckSVar$ Z | ConditionSVarCompare$ EQY SVar:Z:TriggeredCard$Valid Card.greatestPower SVar:Y:Count$Valid Card.greatestPower -A:AB$ Mana | Cost$ G T | Produced$ Combo Any | Amount$ X | References$ X | SpellDescription$ Add X mana in any combination of colors, where X is the greatest power among creatures you control. +A:AB$ Mana | Cost$ G T | Produced$ Combo Any | Amount$ X | SpellDescription$ Add X mana in any combination of colors, where X is the greatest power among creatures you control. SVar:X:Count$GreatestPower_Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/selvala_heart_of_the_wilds.jpg Oracle:Whenever another creature enters the battlefield, its controller may draw a card if its power is greater than each other creature's power.\n{G}, {T}: Add X mana in any combination of colors, where X is the greatest power among creatures you control. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/s/selvalas_charge.txt b/forge-gui/res/cardsfolder/s/selvalas_charge.txt index fd7f4461b7e..fade98c8c2b 100644 --- a/forge-gui/res/cardsfolder/s/selvalas_charge.txt +++ b/forge-gui/res/cardsfolder/s/selvalas_charge.txt @@ -2,7 +2,7 @@ Name:Selvala's Charge ManaCost:4 G Types:Sorcery A:SP$ Dig | Cost$ 4 G | PreCostDesc$ Parley — | DigNum$ 1 | Defined$ Player | Reveal$ True | NoMove$ True | RememberRevealed$ True | SubAbility$ DBToken | SpellDescription$ Parley — Each player reveals the top card of their library. For each nonland card revealed this way, you create a 3/3 green Elephant creature token. Then each player draws a card. -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_3_3_elephant | TokenOwner$ You | LegacyImage$ g 3 3 elephant cns | SubAbility$ DBDraw +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ g_3_3_elephant | TokenOwner$ You | LegacyImage$ g 3 3 elephant cns | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ 1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Card.nonLand diff --git a/forge-gui/res/cardsfolder/s/selvalas_enforcer.txt b/forge-gui/res/cardsfolder/s/selvalas_enforcer.txt index bb60757931e..621526ffbcd 100644 --- a/forge-gui/res/cardsfolder/s/selvalas_enforcer.txt +++ b/forge-gui/res/cardsfolder/s/selvalas_enforcer.txt @@ -4,7 +4,7 @@ Types:Creature Elf Warrior PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigDig | TriggerDescription$ Parley — When CARDNAME enters the battlefield, each player reveals the top card of their library. For each nonland card revealed this way, put a +1/+1 counter on CARDNAME. Then each player draws a card. SVar:TrigDig:DB$ Dig | DigNum$ 1 | Defined$ Player | Reveal$ True | NoMove$ True | RememberRevealed$ True | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ X | References$ X | CounterType$ P1P1 | SubAbility$ DBDraw +SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ X | CounterType$ P1P1 | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ 1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Card.nonLand diff --git a/forge-gui/res/cardsfolder/s/send_to_sleep.txt b/forge-gui/res/cardsfolder/s/send_to_sleep.txt index 35804ea9cff..9c8e5b7d904 100644 --- a/forge-gui/res/cardsfolder/s/send_to_sleep.txt +++ b/forge-gui/res/cardsfolder/s/send_to_sleep.txt @@ -2,7 +2,7 @@ Name:Send to Sleep ManaCost:1 U Types:Instant A:SP$ Tap | Cost$ 1 U | TgtPrompt$ Select up to two target creatures | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 2 | SubAbility$ TrigPump | SpellDescription$ Tap up to two target creatures.Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, those creatures don't untap during their controllers' next untap steps. -SVar:TrigPump:DB$ Pump | Defined$ Targeted | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X | KW$ HIDDEN This card doesn't untap during your next untap step. | Permanent$ True +SVar:TrigPump:DB$ Pump | Defined$ Targeted | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | KW$ HIDDEN This card doesn't untap during your next untap step. | Permanent$ True SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/send_to_sleep.jpg Oracle:Tap up to two target creatures.\nSpell mastery — If there are two or more instant and/or sorcery cards in your graveyard, those creatures don't untap during their controllers' next untap steps. diff --git a/forge-gui/res/cardsfolder/s/sengir_the_dark_baron.txt b/forge-gui/res/cardsfolder/s/sengir_the_dark_baron.txt index 7dcca6faeb0..5dce7a4dd11 100644 --- a/forge-gui/res/cardsfolder/s/sengir_the_dark_baron.txt +++ b/forge-gui/res/cardsfolder/s/sengir_the_dark_baron.txt @@ -7,7 +7,7 @@ K:Partner T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.Other | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever another creature dies, put two +1/+1 counters on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 2 T:Mode$ LosesGame | ValidPlayer$ Player.Other | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever another player loses the game, you gain life equal to that player's life total as the turn began. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggeredPlayer$LifeStartedThisTurnWith DeckHas:Ability$Counters & Ability$LifeGain Oracle:Flying\nWhenever another creature dies, put two +1/+1 counters on Sengir, the Dark Baron.\nWhenever another player loses the game, you gain life equal to that player's life total as the turn began.\nPartner (You can have two commanders if both have partner.) diff --git a/forge-gui/res/cardsfolder/s/sentinel_tower.txt b/forge-gui/res/cardsfolder/s/sentinel_tower.txt index d3cdad16182..8ecbf91066a 100644 --- a/forge-gui/res/cardsfolder/s/sentinel_tower.txt +++ b/forge-gui/res/cardsfolder/s/sentinel_tower.txt @@ -2,6 +2,6 @@ Name:Sentinel Tower ManaCost:4 Types:Artifact T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | Execute$ TrigDmg | PlayerTurn$ True | TriggerZones$ Battlefield | TriggerDescription$ Whenever an instant or sorcery spell is cast during your turn, CARDNAME deals damage to any target equal to 1 plus the number of instant and sorcery spells cast before that spell this turn. -SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDmg:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:TriggerObjectsCurrentCastSpells$Valid Sorcery,Instant Oracle:Whenever an instant or sorcery spell is cast during your turn, Sentinel Tower deals damage to any target equal to 1 plus the number of instant and sorcery spells cast before that spell this turn. diff --git a/forge-gui/res/cardsfolder/s/sepulchral_primordial.txt b/forge-gui/res/cardsfolder/s/sepulchral_primordial.txt index 8f8a63cbccb..127d992987e 100644 --- a/forge-gui/res/cardsfolder/s/sepulchral_primordial.txt +++ b/forge-gui/res/cardsfolder/s/sepulchral_primordial.txt @@ -4,7 +4,7 @@ Types:Creature Avatar PT:5/4 K:Intimidate T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ ReturnOneEach | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, for each opponent, you may put up to one target creature card from that player's graveyard onto the battlefield under your control. -SVar:ReturnOneEach:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | ValidTgts$ Creature.OppCtrl | TgtZone$ Graveyard | TgtPrompt$ Choose target creature card in each opponent's graveyard | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True +SVar:ReturnOneEach:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | ValidTgts$ Creature.OppCtrl | TgtZone$ Graveyard | TgtPrompt$ Choose target creature card in each opponent's graveyard | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True SVar:OneEach:PlayerCountOpponents$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/sepulchral_primordial.jpg Oracle:Intimidate (This creature can't be blocked except by artifact creatures and/or creatures that share a color with it.)\nWhen Sepulchral Primordial enters the battlefield, for each opponent, you may put up to one target creature card from that player's graveyard onto the battlefield under your control. diff --git a/forge-gui/res/cardsfolder/s/seraph_of_the_masses.txt b/forge-gui/res/cardsfolder/s/seraph_of_the_masses.txt index 0abe9a526f5..a07de0a5a6d 100644 --- a/forge-gui/res/cardsfolder/s/seraph_of_the_masses.txt +++ b/forge-gui/res/cardsfolder/s/seraph_of_the_masses.txt @@ -4,7 +4,7 @@ Types:Creature Angel PT:*/* K:Convoke K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl SVar:BuffedBy:Creature SVar:NoZeroToughnessAI:True diff --git a/forge-gui/res/cardsfolder/s/serene_offering.txt b/forge-gui/res/cardsfolder/s/serene_offering.txt index 8dc0b5899ed..f1c784cea52 100644 --- a/forge-gui/res/cardsfolder/s/serene_offering.txt +++ b/forge-gui/res/cardsfolder/s/serene_offering.txt @@ -2,7 +2,7 @@ Name:Serene Offering ManaCost:1 W Types:Instant A:SP$ Destroy | Cost$ 1 W | ValidTgts$ Enchantment | TgtPrompt$ Select target enchantment | SubAbility$ DBGainLife | SpellDescription$ Destroy target enchantment. You gain life equal to its converted mana cost. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Targeted$CardManaCost SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/serene_offering.jpg diff --git a/forge-gui/res/cardsfolder/s/serene_sunset.txt b/forge-gui/res/cardsfolder/s/serene_sunset.txt index 25ed156f22d..b236b23e8a3 100644 --- a/forge-gui/res/cardsfolder/s/serene_sunset.txt +++ b/forge-gui/res/cardsfolder/s/serene_sunset.txt @@ -1,7 +1,7 @@ Name:Serene Sunset ManaCost:X G Types:Instant -A:SP$ Pump | Cost$ X G | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | TargetMin$ X | TargetMax$ X | KW$ Prevent all combat damage that would be dealt by CARDNAME. | IsCurse$ True | References$ X | StackDescription$ Prevent all combat damage {c:Targeted} would deal this turn. | SpellDescription$ Prevent all combat damage X target creatures would deal this turn. +A:SP$ Pump | Cost$ X G | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | TargetMin$ X | TargetMax$ X | KW$ Prevent all combat damage that would be dealt by CARDNAME. | IsCurse$ True | StackDescription$ Prevent all combat damage {c:Targeted} would deal this turn. | SpellDescription$ Prevent all combat damage X target creatures would deal this turn. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Prevent all combat damage X target creatures would deal this turn. diff --git a/forge-gui/res/cardsfolder/s/serpent_of_the_endless_sea.txt b/forge-gui/res/cardsfolder/s/serpent_of_the_endless_sea.txt index d43694899e5..bf7544b7746 100644 --- a/forge-gui/res/cardsfolder/s/serpent_of_the_endless_sea.txt +++ b/forge-gui/res/cardsfolder/s/serpent_of_the_endless_sea.txt @@ -3,7 +3,7 @@ ManaCost:4 U Types:Creature Serpent PT:*/* S:Mode$ CantAttack | ValidCard$ Card.Self | UnlessDefenderControls$ Island | Description$ CARDNAME can't attack unless defending player controls an Island. -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Islands you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Islands you control. SVar:X:Count$Valid Island.YouCtrl SVar:BuffedBy:Island SVar:NeedsToPlayVar:X GE3 diff --git a/forge-gui/res/cardsfolder/s/serra_avatar.txt b/forge-gui/res/cardsfolder/s/serra_avatar.txt index 5e19d66b921..d391269ba3d 100644 --- a/forge-gui/res/cardsfolder/s/serra_avatar.txt +++ b/forge-gui/res/cardsfolder/s/serra_avatar.txt @@ -2,7 +2,7 @@ Name:Serra Avatar ManaCost:4 W W W Types:Creature Avatar PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to your life total. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to your life total. SVar:X:Count$YourLifeTotal T:Mode$ ChangesZone | Origin$ Any | Destination$ Graveyard | ValidCard$ Creature.Self | Execute$ TrigShuffle | TriggerDescription$ When CARDNAME is put into a graveyard from anywhere, shuffle it into its owner's library. SVar:TrigShuffle:DB$ ChangeZone | Origin$ Graveyard | Destination$ Library | Shuffle$ True | Defined$ TriggeredCardLKICopy diff --git a/forge-gui/res/cardsfolder/s/serras_hymn.txt b/forge-gui/res/cardsfolder/s/serras_hymn.txt index b69f688e1cc..259101f4e90 100644 --- a/forge-gui/res/cardsfolder/s/serras_hymn.txt +++ b/forge-gui/res/cardsfolder/s/serras_hymn.txt @@ -3,7 +3,7 @@ ManaCost:W Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ VERSE | CounterNum$ 1 -A:AB$ PreventDamage | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to prevent damage to | Amount$ X | TargetMin$ 1 | TargetMax$ MaxTgts | DividedAsYouChoose$ X | References$ X,MaxTgts,NumCreatures | SpellDescription$ Prevent the next X damage that would be dealt this turn to any number of targets, divided as you choose, where X is the number of verse counters on CARDNAME. +A:AB$ PreventDamage | Cost$ Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to prevent damage to | Amount$ X | TargetMin$ 1 | TargetMax$ MaxTgts | DividedAsYouChoose$ X | SpellDescription$ Prevent the next X damage that would be dealt this turn to any number of targets, divided as you choose, where X is the number of verse counters on CARDNAME. SVar:X:Count$CardCounters.VERSE SVar:MaxTgts:PlayerCountPlayers$Amount/Plus.NumCreatures SVar:NumCreatures:Count$Valid Creature,Planeswalker diff --git a/forge-gui/res/cardsfolder/s/serras_liturgy.txt b/forge-gui/res/cardsfolder/s/serras_liturgy.txt index 4cd3248a2a3..239286c2fb7 100644 --- a/forge-gui/res/cardsfolder/s/serras_liturgy.txt +++ b/forge-gui/res/cardsfolder/s/serras_liturgy.txt @@ -1,7 +1,7 @@ Name:Serra's Liturgy ManaCost:2 W W Types:Enchantment -A:AB$ Destroy | Cost$ W Sac<1/CARDNAME> | TargetMin$ 0 | TargetMax$ X | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | References$ X | SpellDescription$ Destroy up to X target artifacts and/or enchantments, where X is the number of verse counters on CARDNAME. +A:AB$ Destroy | Cost$ W Sac<1/CARDNAME> | TargetMin$ 0 | TargetMax$ X | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | SpellDescription$ Destroy up to X target artifacts and/or enchantments, where X is the number of verse counters on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ VERSE | CounterNum$ 1 SVar:X:Count$CardCounters.VERSE diff --git a/forge-gui/res/cardsfolder/s/serras_sanctum.txt b/forge-gui/res/cardsfolder/s/serras_sanctum.txt index cb4f94aa451..6746c26c50c 100644 --- a/forge-gui/res/cardsfolder/s/serras_sanctum.txt +++ b/forge-gui/res/cardsfolder/s/serras_sanctum.txt @@ -1,7 +1,7 @@ Name:Serra's Sanctum ManaCost:no cost Types:Legendary Land -A:AB$ Mana | Cost$ T | Produced$ W | Amount$ X | References$ X | SpellDescription$ Add {W} for each Enchantment you control. +A:AB$ Mana | Cost$ T | Produced$ W | Amount$ X | SpellDescription$ Add {W} for each Enchantment you control. SVar:X:Count$Valid Enchantment.YouCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/serras_sanctum.jpg diff --git a/forge-gui/res/cardsfolder/s/servant_of_the_scale.txt b/forge-gui/res/cardsfolder/s/servant_of_the_scale.txt index dbef62afda0..5baca8c4fb6 100644 --- a/forge-gui/res/cardsfolder/s/servant_of_the_scale.txt +++ b/forge-gui/res/cardsfolder/s/servant_of_the_scale.txt @@ -4,7 +4,7 @@ Types:Creature Human Soldier PT:0/0 K:etbCounter:P1P1:1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, put X +1/+1 counters on target creature you control, where X is the number of +1/+1 counters on CARDNAME. -SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ X SVar:X:TriggeredCard$CardCounters.P1P1 DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/servant_of_the_scale.jpg diff --git a/forge-gui/res/cardsfolder/s/setessan_petitioner.txt b/forge-gui/res/cardsfolder/s/setessan_petitioner.txt index a461745fef5..10af21add08 100755 --- a/forge-gui/res/cardsfolder/s/setessan_petitioner.txt +++ b/forge-gui/res/cardsfolder/s/setessan_petitioner.txt @@ -3,6 +3,6 @@ ManaCost:1 G G Types:Creature Human Druid PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain life equal to your devotion to green. -SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X SVar:X:Count$Devotion.Green Oracle:When Setessan Petitioner enters the battlefield, you gain life equal to your devotion to green. (Each {G} in the mana costs of permanents you control counts toward your devotion to green.) diff --git a/forge-gui/res/cardsfolder/s/setessan_tactics.txt b/forge-gui/res/cardsfolder/s/setessan_tactics.txt index 9fd19895e4b..e064b624869 100644 --- a/forge-gui/res/cardsfolder/s/setessan_tactics.txt +++ b/forge-gui/res/cardsfolder/s/setessan_tactics.txt @@ -2,7 +2,7 @@ Name:Setessan Tactics ManaCost:1 G Types:Instant K:Strive:G -A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature | NumAtt$ +1 | NumDef$ +1 | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | SubAbility$ DBAnimate | SpellDescription$ Until end of turn, any number of target creatures each get +1/+1 and gain "{T}: This creature fights another target creature." +A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature | NumAtt$ +1 | NumDef$ +1 | TargetMin$ 0 | TargetMax$ MaxTargets | SubAbility$ DBAnimate | SpellDescription$ Until end of turn, any number of target creatures each get +1/+1 and gain "{T}: This creature fights another target creature." SVar:DBAnimate:DB$ Animate | Defined$ Targeted | Abilities$ SetessanFight SVar:SetessanFight:AB$ Fight | Cost$ T | Defined$ Self | ValidTgts$ Creature.Other | TgtPrompt$ Select another creature | SpellDescription$ CARDNAME fights another target creature. SVar:MaxTargets:Count$Valid Creature diff --git a/forge-gui/res/cardsfolder/s/settle_the_wreckage.txt b/forge-gui/res/cardsfolder/s/settle_the_wreckage.txt index 527dcdc1d9f..62fb0e2cf4b 100644 --- a/forge-gui/res/cardsfolder/s/settle_the_wreckage.txt +++ b/forge-gui/res/cardsfolder/s/settle_the_wreckage.txt @@ -2,7 +2,7 @@ Name:Settle the Wreckage ManaCost:2 W W Types:Instant A:SP$ ChangeZoneAll | Cost$ 2 W W | ValidTgts$ Player | ChangeType$ Creature.attacking | TgtPrompt$ Select target player | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBGetLands | SpellDescription$ Exile all attacking creatures target player controls. That player may search their library for that many basic land cards, put those cards onto the battlefield tapped, then shuffle their library. -SVar:DBGetLands:DB$ ChangeZone | Optional$ True | Origin$ Library | Destination$ Battlefield | Tapped$ True | ChangeType$ Land.Basic | ChangeNum$ X | References$ X | DefinedPlayer$ TargetedPlayer | ShuffleNonMandatory$ True | SubAbility$ DBCleanup +SVar:DBGetLands:DB$ ChangeZone | Optional$ True | Origin$ Library | Destination$ Battlefield | Tapped$ True | ChangeType$ Land.Basic | ChangeNum$ X | DefinedPlayer$ TargetedPlayer | ShuffleNonMandatory$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedSize SVar:Picture:http://www.wizards.com/global/images/magic/general/settle_the_wreckage.jpg diff --git a/forge-gui/res/cardsfolder/s/seven_dwarves.txt b/forge-gui/res/cardsfolder/s/seven_dwarves.txt index fefa5a16739..330fda9ebdb 100644 --- a/forge-gui/res/cardsfolder/s/seven_dwarves.txt +++ b/forge-gui/res/cardsfolder/s/seven_dwarves.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Creature Dwarf PT:2/2 K:DeckLimit:7:A deck can have up to seven cards named CARDNAME. -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each other creature named Seven Dwarves you control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each other creature named Seven Dwarves you control. SVar:X:Count$Valid Creature.namedSeven Dwarves+Other+YouCtrl SVar:BuffedBy:Creature.namedSeven Dwarves SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/s/sever_soul.txt b/forge-gui/res/cardsfolder/s/sever_soul.txt index 1db3ca74d7a..679c9ce9753 100644 --- a/forge-gui/res/cardsfolder/s/sever_soul.txt +++ b/forge-gui/res/cardsfolder/s/sever_soul.txt @@ -2,7 +2,7 @@ Name:Sever Soul ManaCost:3 B B Types:Sorcery A:SP$ Destroy | Cost$ 3 B B | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | NoRegen$ True | SubAbility$ DBGainLife | SpellDescription$ Destroy target nonblack creature. It can't be regenerated. You gain life equal to its toughness. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:TargetedLKI$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/sever_soul.jpg Oracle:Destroy target nonblack creature. It can't be regenerated. You gain life equal to its toughness. diff --git a/forge-gui/res/cardsfolder/s/severed_strands.txt b/forge-gui/res/cardsfolder/s/severed_strands.txt index 85d38af5117..8e2f46be8c2 100644 --- a/forge-gui/res/cardsfolder/s/severed_strands.txt +++ b/forge-gui/res/cardsfolder/s/severed_strands.txt @@ -1,7 +1,7 @@ Name:Severed Strands ManaCost:1 B Types:Sorcery -A:SP$ GainLife | Cost$ 1 B Sac<1/Creature> | Defined$ You | LifeAmount$ X | SubAbility$ DBDestroy | References$ X | SpellDescription$ You gain life equal to the sacrificed creature's toughness. Destroy target creature an opponent controls. +A:SP$ GainLife | Cost$ 1 B Sac<1/Creature> | Defined$ You | LifeAmount$ X | SubAbility$ DBDestroy | SpellDescription$ You gain life equal to the sacrificed creature's toughness. Destroy target creature an opponent controls. SVar:DBDestroy:DB$ Destroy | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls. SVar:X:Sacrificed$CardToughness Oracle:As an additional cost to cast this spell, sacrifice a creature.\nYou gain life equal to the sacrificed creature's toughness. Destroy target creature an opponent controls. diff --git a/forge-gui/res/cardsfolder/s/sewer_nemesis.txt b/forge-gui/res/cardsfolder/s/sewer_nemesis.txt index 90538509af7..4be02f35eaf 100644 --- a/forge-gui/res/cardsfolder/s/sewer_nemesis.txt +++ b/forge-gui/res/cardsfolder/s/sewer_nemesis.txt @@ -4,7 +4,7 @@ Types:Creature Horror PT:*/* K:ETBReplacement:Other:ChooseP SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in the chosen player's graveyard. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in the chosen player's graveyard. SVar:X:Count$InChosenYard T:Mode$ SpellCast | ValidCard$ Card | ValidActivatingPlayer$ Player.Chosen | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever the chosen player casts a spell, that player mills a card. SVar:TrigMill:DB$ Mill | Defined$ TriggeredPlayer | NumCards$ 1 diff --git a/forge-gui/res/cardsfolder/s/shadowbane.txt b/forge-gui/res/cardsfolder/s/shadowbane.txt index 15c060c6323..faad2a77bf0 100644 --- a/forge-gui/res/cardsfolder/s/shadowbane.txt +++ b/forge-gui/res/cardsfolder/s/shadowbane.txt @@ -4,7 +4,7 @@ Types:Instant A:SP$ ChooseSource | Cost$ 1 W | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ Prevent all damage to you or a creature you control from any one source. If that source is black, gain 1 life for each 1 damage prevented in this way. SVar:DBEffect:DB$ Effect | ReplacementEffects$ RepDmg | SVars$ GainLifeYou,RepDmg,X,Y | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 SVar:RepDmg:Event$ DamageDone | ValidTarget$ You,Creature.YouCtrl | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ GainLifeYou | PreventionEffect$ True | Description$ Prevent all damage to you or a creature you control from any one source. If that source is black, gain 1 life for each 1 damage prevented in this way. -SVar:GainLifeYou:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X,Y | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 +SVar:GainLifeYou:DB$ GainLife | Defined$ You | LifeAmount$ X | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True SVar:X:ReplaceCount$DamageAmount SVar:Y:ReplacedSource$Valid Card.BlackSource diff --git a/forge-gui/res/cardsfolder/s/shadows_of_the_past.txt b/forge-gui/res/cardsfolder/s/shadows_of_the_past.txt index e541fafc837..9961247824a 100644 --- a/forge-gui/res/cardsfolder/s/shadows_of_the_past.txt +++ b/forge-gui/res/cardsfolder/s/shadows_of_the_past.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Enchantment T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature | TriggerZones$ Battlefield | Execute$ TrigScry | TriggerDescription$ Whenever a creature dies, scry 1. SVar:TrigScry:DB$ Scry | ScryNum$ 1 -A:AB$ LoseLife | Cost$ 4 B | Defined$ Player.Opponent | LifeAmount$ 2 | CheckSVar$ X | SVarCompare$ GE4 | References$ X | SubAbility$ DBGainLife | SpellDescription$ Each opponent loses 2 life and you gain 2 life. Activate this ability only if there are four or more creature cards in your graveyard. +A:AB$ LoseLife | Cost$ 4 B | Defined$ Player.Opponent | LifeAmount$ 2 | CheckSVar$ X | SVarCompare$ GE4 | SubAbility$ DBGainLife | SpellDescription$ Each opponent loses 2 life and you gain 2 life. Activate this ability only if there are four or more creature cards in your graveyard. SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 2 SVar:X:Count$ValidGraveyard Creature.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/shadows_of_the_past.jpg diff --git a/forge-gui/res/cardsfolder/s/shahrazad.txt b/forge-gui/res/cardsfolder/s/shahrazad.txt index f6de4101e23..8d0050ad69f 100644 --- a/forge-gui/res/cardsfolder/s/shahrazad.txt +++ b/forge-gui/res/cardsfolder/s/shahrazad.txt @@ -3,7 +3,7 @@ ManaCost:W W Types:Sorcery A:SP$ Subgame | RememberPlayers$ NotWin | SubAbility$ DBRepeatEachPlayer | SpellDescription$ Players play a Magic subgame, using their libraries as their decks. Each player who doesn't win the subgame loses half their life, rounded up. | StackDescription$ SpellDescription SVar:DBRepeatEachPlayer:DB$ RepeatEach | RepeatPlayers$ Remembered | ClearRememberedBeforeLoop$ True | RepeatSubAbility$ DBLoseLife | SpellDescription$ Each player who doesn't win the subgame loses half their life, rounded up. | StackDescription$ SpellDescription -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X | Defined$ Player.IsRemembered +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ Player.IsRemembered SVar:X:PlayerCountRemembered$LifeTotal/HalfUp AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/shaleskin_bruiser.txt b/forge-gui/res/cardsfolder/s/shaleskin_bruiser.txt index a77b70dcd47..e6389c46840 100644 --- a/forge-gui/res/cardsfolder/s/shaleskin_bruiser.txt +++ b/forge-gui/res/cardsfolder/s/shaleskin_bruiser.txt @@ -4,7 +4,7 @@ Types:Creature Beast PT:4/4 K:Trample T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +3/+0 until end of turn for each other attacking Beast. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$Valid Creature.Beast+Other+attacking/Times.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/shaleskin_bruiser.jpg Oracle:Trample\nWhenever Shaleskin Bruiser attacks, it gets +3/+0 until end of turn for each other attacking Beast. diff --git a/forge-gui/res/cardsfolder/s/shaman_en_kor.txt b/forge-gui/res/cardsfolder/s/shaman_en_kor.txt index 0e826e69396..73c3d4352d8 100644 --- a/forge-gui/res/cardsfolder/s/shaman_en_kor.txt +++ b/forge-gui/res/cardsfolder/s/shaman_en_kor.txt @@ -2,11 +2,11 @@ Name:Shaman en-Kor ManaCost:1 W Types:Creature Kor Cleric Shaman PT:1/2 -A:AB$ Effect | Cost$ 0 | Name$ en-Kor Redirection | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage to | ReplacementEffects$ EnKor | SVars$ EnKorDmg | References$ EnKor,EnKorDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature you control instead. +A:AB$ Effect | Cost$ 0 | Name$ en-Kor Redirection | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage to | ReplacementEffects$ EnKor | SVars$ EnKorDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature you control instead. SVar:EnKor:Event$ DamageDone | ValidTarget$ Creature.EffectSource | ReplaceWith$ EnKorDmg | DamageTarget$ Remembered | Description$ The next 1 damage that would be dealt to EFFECTSOURCE this turn is dealt to target creature you control instead. SVar:EnKorDmg:DB$ ReplaceSplitDamage | DamageTarget$ Remembered A:AB$ ChooseSource | Cost$ 1 W | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice would deal damage to target creature this turn, that damage is dealt to CARDNAME instead. -SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect the damage from | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,ExileEffect | References$ SelflessDamage,OutOfSight,SelflessDmg,ExileEffect | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 +SVar:DBEffect:DB$ Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect the damage from | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,ExileEffect | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ Creature.IsRemembered | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ SelflessDmg | DamageTarget$ EffectSource | Description$ The next time a source of your choice would deal damage to target creature this turn, that damage is dealt to EFFECTSOURCE instead. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ EffectSource | VarType$ Card | SubAbility$ ExileEffect #Zone Change for the source of your choice diff --git a/forge-gui/res/cardsfolder/s/shaman_of_forgotten_ways.txt b/forge-gui/res/cardsfolder/s/shaman_of_forgotten_ways.txt index 0a7991b5429..bd9fc1a9cbb 100644 --- a/forge-gui/res/cardsfolder/s/shaman_of_forgotten_ways.txt +++ b/forge-gui/res/cardsfolder/s/shaman_of_forgotten_ways.txt @@ -3,9 +3,9 @@ ManaCost:2 G Types:Creature Human Shaman PT:2/3 A:AB$ Mana | Cost$ T | Produced$ Combo Any | Amount$ 2 | RestrictValid$ Card.Creature | SpellDescription$ Add two mana in any combination of colors. Spend this mana only to cast creature spells. -A:AB$ RepeatEach | Cost$ 9 G G T | PrecostDesc$ Formidable — | CheckSVar$ FormidableTest | SVarCompare$ GE8 | References$ FormidableTest | RepeatPlayers$ Player | RepeatSubAbility$ DBSetLife | SpellDescription$ Each player's life total becomes the number of creatures they control. Activate this ability only if creatures you control have total power 8 or greater. +A:AB$ RepeatEach | Cost$ 9 G G T | PrecostDesc$ Formidable — | CheckSVar$ FormidableTest | SVarCompare$ GE8 | RepeatPlayers$ Player | RepeatSubAbility$ DBSetLife | SpellDescription$ Each player's life total becomes the number of creatures they control. Activate this ability only if creatures you control have total power 8 or greater. SVar:FormidableTest:Count$SumPower_Creature.YouCtrl -SVar:DBSetLife:DB$ SetLife | Defined$ Player.IsRemembered | LifeAmount$ X | References$ X +SVar:DBSetLife:DB$ SetLife | Defined$ Player.IsRemembered | LifeAmount$ X SVar:X:Count$Valid Creature.RememberedPlayerCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/shaman_of_forgotten_ways.jpg Oracle:{T}: Add two mana in any combination of colors. Spend this mana only to cast creature spells.\nFormidable — {9}{G}{G}, {T}: Each player's life total becomes the number of creatures they control. Activate this ability only if creatures you control have total power 8 or greater. diff --git a/forge-gui/res/cardsfolder/s/shaman_of_the_great_hunt.txt b/forge-gui/res/cardsfolder/s/shaman_of_the_great_hunt.txt index 983a6b88835..6cbcb05874d 100644 --- a/forge-gui/res/cardsfolder/s/shaman_of_the_great_hunt.txt +++ b/forge-gui/res/cardsfolder/s/shaman_of_the_great_hunt.txt @@ -5,6 +5,6 @@ PT:4/2 K:Haste T:Mode$ DamageDone | ValidSource$ Creature.YouCtrl | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature you control deals combat damage to a player, put a +1/+1 counter on it. SVar:TrigPutCounter:DB$PutCounter | Defined$ TriggeredSourceLKICopy | CounterType$ P1P1 | CounterNum$ 1 -A:AB$ Draw | Cost$ 2 UG UG | NumCards$ X | References$ X | PrecostDesc$ Ferocious — | SpellDescription$ Draw a card for each creature with power 4 or greater you control. +A:AB$ Draw | Cost$ 2 UG UG | NumCards$ X | PrecostDesc$ Ferocious — | SpellDescription$ Draw a card for each creature with power 4 or greater you control. SVar:X:Count$Valid Creature.powerGE4+YouCtrl Oracle:Haste\nWhenever a creature you control deals combat damage to a player, put a +1/+1 counter on it.\nFerocious — {2}{G/U}{G/U}: Draw a card for each creature you control with power 4 or greater. diff --git a/forge-gui/res/cardsfolder/s/shaman_of_the_pack.txt b/forge-gui/res/cardsfolder/s/shaman_of_the_pack.txt index 1e70528bbfd..2108c9a2c10 100644 --- a/forge-gui/res/cardsfolder/s/shaman_of_the_pack.txt +++ b/forge-gui/res/cardsfolder/s/shaman_of_the_pack.txt @@ -3,7 +3,7 @@ ManaCost:1 B G Types:Creature Elf Shaman PT:3/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigLoseLife | TriggerDescription$ When CARDNAME enters the battlefield, target opponent loses life equal to the number of Elves you control. -SVar:TrigLoseLife:DB$ LoseLife | ValidTgts$ Opponent | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | ValidTgts$ Opponent | LifeAmount$ X SVar:X:Count$Valid Elf.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/shaman_of_the_pack.jpg Oracle:When Shaman of the Pack enters the battlefield, target opponent loses life equal to the number of Elves you control. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/s/shamanic_revelation.txt b/forge-gui/res/cardsfolder/s/shamanic_revelation.txt index 4532479d9dd..ba56ea608eb 100644 --- a/forge-gui/res/cardsfolder/s/shamanic_revelation.txt +++ b/forge-gui/res/cardsfolder/s/shamanic_revelation.txt @@ -1,9 +1,9 @@ Name:Shamanic Revelation ManaCost:3 G G Types:Sorcery -A:SP$ Draw | Cost$ 3 G G | NumCards$ X | SubAbility$ DBGainLife | References$ X | SpellDescription$ Draw a card for each each creature you control. Ferocious — You gain 4 life for each creature you control with power 4 or greater. +A:SP$ Draw | Cost$ 3 G G | NumCards$ X | SubAbility$ DBGainLife | SpellDescription$ Draw a card for each each creature you control. Ferocious — You gain 4 life for each creature you control with power 4 or greater. SVar:X:Count$TypeYouCtrl.Creature -SVar:DBGainLife:DB$ GainLife | LifeAmount$ Y | References$ Y +SVar:DBGainLife:DB$ GainLife | LifeAmount$ Y SVar:Y:Count$Valid Creature.YouCtrl+powerGE4/Times.4 SVar:Picture:http://www.wizards.com/global/images/magic/general/shamanic_revelation.jpg Oracle:Draw a card for each creature you control.\nFerocious — You gain 4 life for each creature you control with power 4 or greater. diff --git a/forge-gui/res/cardsfolder/s/shambling_suit.txt b/forge-gui/res/cardsfolder/s/shambling_suit.txt index 04c4dc70ae6..f92579c6517 100644 --- a/forge-gui/res/cardsfolder/s/shambling_suit.txt +++ b/forge-gui/res/cardsfolder/s/shambling_suit.txt @@ -2,6 +2,6 @@ Name:Shambling Suit ManaCost:3 Types:Artifact Creature Construct PT:*/3 -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | References$ X | Description$ CARDNAME's power is equal to the number of artifacts and/or enchantments you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | Description$ CARDNAME's power is equal to the number of artifacts and/or enchantments you control. SVar:X:Count$Valid Artifact.YouCtrl,Enchantment.YouCtrl Oracle:Shambling Suit's power is equal to the number of artifacts and/or enchantments you control. diff --git a/forge-gui/res/cardsfolder/s/shanna_sisays_legacy.txt b/forge-gui/res/cardsfolder/s/shanna_sisays_legacy.txt index 6dc93068ba4..e3c80e8d885 100644 --- a/forge-gui/res/cardsfolder/s/shanna_sisays_legacy.txt +++ b/forge-gui/res/cardsfolder/s/shanna_sisays_legacy.txt @@ -3,7 +3,7 @@ ManaCost:G W Types:Legendary Creature Human Warrior PT:0/0 S:Mode$ CantTarget | ValidCard$ Card.Self | ValidSource$ Card | ValidSA$ Activated,Triggered | Activator$ Player.Opponent | Description$ CARDNAME can't be the target of abilities your opponents control. -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each creature you control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each creature you control. SVar:X:Count$Valid Creature.YouCtrl SVar:BuffedBy:Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/shanna_sisays_legacy.jpg diff --git a/forge-gui/res/cardsfolder/s/shape_stealer.txt b/forge-gui/res/cardsfolder/s/shape_stealer.txt index 94b0b3b8051..36d334b1cbc 100644 --- a/forge-gui/res/cardsfolder/s/shape_stealer.txt +++ b/forge-gui/res/cardsfolder/s/shape_stealer.txt @@ -4,8 +4,8 @@ Types:Creature Shapeshifter Spirit PT:1/1 T:Mode$ AttackerBlockedByCreature | ValidCard$ Creature | ValidBlocker$ Card.Self | Execute$ TrigAnimateBlocker | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked by a creature, change CARDNAME's base power and toughness to that creature's power and toughness until end of turn. T:Mode$ AttackerBlockedByCreature | ValidCard$ Card.Self | ValidBlocker$ Creature | Execute$ TrigAnimateAttacker | TriggerZones$ Battlefield | Secondary$ True | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked by a creature, change CARDNAME's base power and toughness to that creature's power and toughness until end of turn. -SVar:TrigAnimateBlocker:DB$ Animate | Power$ W | Toughness$ X | References$ W,X -SVar:TrigAnimateAttacker:DB$ Animate | Power$ Y | Toughness$ Z | References$ Y,Z +SVar:TrigAnimateBlocker:DB$ Animate | Power$ W | Toughness$ X,X +SVar:TrigAnimateAttacker:DB$ Animate | Power$ Y | Toughness$ Z,Z SVar:W:TriggeredAttacker$CardPower SVar:X:TriggeredAttacker$CardToughness SVar:Y:TriggeredBlocker$CardPower diff --git a/forge-gui/res/cardsfolder/s/shapeshifter.txt b/forge-gui/res/cardsfolder/s/shapeshifter.txt index 03dfbc82b18..42ed38df7ca 100644 --- a/forge-gui/res/cardsfolder/s/shapeshifter.txt +++ b/forge-gui/res/cardsfolder/s/shapeshifter.txt @@ -5,7 +5,7 @@ PT:*/7-* K:ETBReplacement:Other:ChooseNumber T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ ChooseNumber | TriggerDescription$ At the beginning of your upkeep, you may choose a number between 0 and 7. SVar:ChooseNumber:DB$ ChooseNumber | Defined$ You | Min$ 0 | Max$ 7 | AILogic$ Min | SpellDescription$ As CARDNAME enters the battlefield, choose a number between 0 and 7. -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ Y | References$ X, Y | Description$ CARDNAME's power is equal to the last chosen number and its toughness is equal to 7 minus that number. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ Y | Description$ CARDNAME's power is equal to the last chosen number and its toughness is equal to 7 minus that number. SVar:X:Count$ChosenNumber SVar:Y:Number$7/Minus.X AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/shared_animosity.txt b/forge-gui/res/cardsfolder/s/shared_animosity.txt index 22f5ab9b367..123b32ac746 100644 --- a/forge-gui/res/cardsfolder/s/shared_animosity.txt +++ b/forge-gui/res/cardsfolder/s/shared_animosity.txt @@ -2,7 +2,7 @@ Name:Shared Animosity ManaCost:2 R Types:Enchantment T:Mode$ Attacks | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ AnimosityPump | TriggerDescription$ Whenever a creature you control attacks, it gets +1/+0 until end of turn for each other attacking creature that shares a creature type with it. -SVar:AnimosityPump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ X | References$ X +SVar:AnimosityPump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ X SVar:X:Count$Valid Creature.attacking+NotTriggeredAttacker+sharesCreatureTypeWith TriggeredAttacker AI:RemoveDeck:Random Oracle:Whenever a creature you control attacks, it gets +1/+0 until end of turn for each other attacking creature that shares a creature type with it. diff --git a/forge-gui/res/cardsfolder/s/shared_trauma.txt b/forge-gui/res/cardsfolder/s/shared_trauma.txt index f7e04323cf9..db061fa25ab 100644 --- a/forge-gui/res/cardsfolder/s/shared_trauma.txt +++ b/forge-gui/res/cardsfolder/s/shared_trauma.txt @@ -3,9 +3,9 @@ ManaCost:B Types:Sorcery A:SP$ RepeatEach | Cost$ B | RepeatPlayers$ Player | StartingWithActivator$ True | RepeatSubAbility$ DBPay | SubAbility$ DBMill | StackDescription$ SpellDescription | SpellDescription$ Join forces — Starting with you, each player may pay any amount of mana. Each player mills X cards, where X is the total amount of mana paid this way. SVar:DBPay:DB$ ChooseNumber | Defined$ Player.IsRemembered | ChooseAnyNumber$ True | ListTitle$ Pay Any Mana | SubAbility$ DBStore -SVar:DBStore:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ CountSVar | Expression$ JoinForcesAmount/Plus.X | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | UnlessAI$ OnlyOwn | References$ X,JoinForcesAmount -SVar:DBMill:DB$ Mill | Defined$ Player | NumCards$ JoinForcesAmount | SubAbility$ DBReset | References$ JoinForcesAmount | StackDescription$ None -SVar:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 | References$ JoinForcesAmount +SVar:DBStore:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ CountSVar | Expression$ JoinForcesAmount/Plus.X | UnlessCost$ X | UnlessPayer$ Player.IsRemembered | UnlessSwitched$ True | UnlessAI$ OnlyOwn +SVar:DBMill:DB$ Mill | Defined$ Player | NumCards$ JoinForcesAmount | SubAbility$ DBReset | StackDescription$ None +SVar:DBReset:DB$ StoreSVar | SVar$ JoinForcesAmount | Type$ Number | Expression$ 0 SVar:X:Count$ChosenNumber SVar:JoinForcesAmount:Number$0 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/shark_typhoon.txt b/forge-gui/res/cardsfolder/s/shark_typhoon.txt index 798616059c3..c8678b9ad0b 100644 --- a/forge-gui/res/cardsfolder/s/shark_typhoon.txt +++ b/forge-gui/res/cardsfolder/s/shark_typhoon.txt @@ -2,11 +2,11 @@ Name:Shark Typhoon ManaCost:5 U Types:Enchantment T:Mode$ SpellCast | ValidCard$ Card.nonCreature | ValidActivatingPlayer$ You | Execute$ TrigToken | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a noncreature spell, create an X/X blue Shark creature token with flying, where X is that spell's converted mana cost. -SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ u_x_x_shark_flying | TokenOwner$ You | LegacyImage$ u x x shark flying iko | TokenPower$ Y | TokenToughness$ Y | References$ Y | TokenAmount$ 1 +SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ u_x_x_shark_flying | TokenOwner$ You | LegacyImage$ u x x shark flying iko | TokenPower$ Y | TokenToughness$ Y | TokenAmount$ 1 SVar:Y:TriggeredCard$CardManaCost K:Cycling:X 1 U T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigToken2 | TriggerDescription$ When you cycle CARDNAME, create an X/X blue Shark creature token with flying. -SVar:TrigToken2:DB$ Token | TokenAmount$ 1 | TokenScript$ u_x_x_shark_flying | TokenOwner$ You | LegacyImage$ u x x shark flying iko | TokenPower$ X | TokenToughness$ X | References$ X | TokenAmount$ 1 +SVar:TrigToken2:DB$ Token | TokenAmount$ 1 | TokenScript$ u_x_x_shark_flying | TokenOwner$ You | LegacyImage$ u x x shark flying iko | TokenPower$ X | TokenToughness$ X | TokenAmount$ 1 SVar:X:Count$xPaid DeckHas:Ability$Token Oracle:Whenever you cast a noncreature spell, create an X/X blue Shark creature token with flying, where X is that spell's converted mana cost.\nCycling {X}{1}{U} ({X}{1}{U}, Discard this card: Draw a card.)\nWhen you cycle Shark Typhoon, create an X/X blue Shark creature token with flying. diff --git a/forge-gui/res/cardsfolder/s/shattered_crypt.txt b/forge-gui/res/cardsfolder/s/shattered_crypt.txt index dcb51492772..5e00101faa3 100644 --- a/forge-gui/res/cardsfolder/s/shattered_crypt.txt +++ b/forge-gui/res/cardsfolder/s/shattered_crypt.txt @@ -1,8 +1,8 @@ Name:Shattered Crypt ManaCost:X B B Types:Sorcery -A:SP$ ChangeZone | Cost$ X B B | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Creature.YouOwn | TgtPrompt$ Select X target creature cards from your graveyard | TargetMin$ X | TargetMax$ X | SubAbility$ DBLoseLife | References$ X | SpellDescription$ Return X target creature cards from your graveyard to your hand. You lose X life. -SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X +A:SP$ ChangeZone | Cost$ X B B | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Creature.YouOwn | TgtPrompt$ Select X target creature cards from your graveyard | TargetMin$ X | TargetMax$ X | SubAbility$ DBLoseLife | SpellDescription$ Return X target creature cards from your graveyard to your hand. You lose X life. +SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Return X target creature cards from your graveyard to your hand. You lose X life. diff --git a/forge-gui/res/cardsfolder/s/shattered_perception.txt b/forge-gui/res/cardsfolder/s/shattered_perception.txt index dc3f9df0dc9..5f89f0c63c4 100644 --- a/forge-gui/res/cardsfolder/s/shattered_perception.txt +++ b/forge-gui/res/cardsfolder/s/shattered_perception.txt @@ -2,7 +2,7 @@ Name:Shattered Perception ManaCost:2 R Types:Sorcery A:SP$ Discard | Cost$ 2 R | Defined$ You | RememberDiscarded$ True | Mode$ Hand | SubAbility$ DBDraw | SpellDescription$ Discard all the cards in your hand, then draw that many cards. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBCleanup | References$ X +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount K:Flashback:5 R diff --git a/forge-gui/res/cardsfolder/s/shatterskull_minotaur.txt b/forge-gui/res/cardsfolder/s/shatterskull_minotaur.txt index 2c5507f62d9..21c851ae97e 100644 --- a/forge-gui/res/cardsfolder/s/shatterskull_minotaur.txt +++ b/forge-gui/res/cardsfolder/s/shatterskull_minotaur.txt @@ -3,7 +3,7 @@ ManaCost:4 R R Types:Creature Minotaur Warrior PT:5/4 K:Haste -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | References$ X | Description$ This spell costs {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) SVar:X:Count$Party DeckHas:Ability$Party DeckHints:Type$Cleric|Rogue|Wizard diff --git a/forge-gui/res/cardsfolder/s/shatterskull_smashing_shatterskull_the_hammer_pass.txt b/forge-gui/res/cardsfolder/s/shatterskull_smashing_shatterskull_the_hammer_pass.txt index 7fd5143eaef..9c688eb2584 100644 --- a/forge-gui/res/cardsfolder/s/shatterskull_smashing_shatterskull_the_hammer_pass.txt +++ b/forge-gui/res/cardsfolder/s/shatterskull_smashing_shatterskull_the_hammer_pass.txt @@ -1,7 +1,7 @@ Name:Shatterskull Smashing ManaCost:X R R Types:Sorcery -A:SP$ DealDamage | Cost$ X R R | NumDmg$ Y | References$ X,Y,Z | ValidTgts$ Creature,Planeswalker | TargetMin$ 0 | TargetMax$ 2 | DividedAsYouChoose$ Y | TgtPrompt$ Select up to two target creatures and/or planeswalkers | SpellDescription$ CARDNAME deals X damage divided as you choose among up to two target creatures and/or planeswalkers. If X is 6 or more, CARDNAME deals twice X damage divided as you choose among them instead. +A:SP$ DealDamage | Cost$ X R R | NumDmg$ Y | ValidTgts$ Creature,Planeswalker | TargetMin$ 0 | TargetMax$ 2 | DividedAsYouChoose$ Y | TgtPrompt$ Select up to two target creatures and/or planeswalkers | SpellDescription$ CARDNAME deals X damage divided as you choose among up to two target creatures and/or planeswalkers. If X is 6 or more, CARDNAME deals twice X damage divided as you choose among them instead. SVar:X:Count$xPaid SVar:Y:Count$Compare X LT6.X.Z SVar:Z:Count$xPaid/Twice diff --git a/forge-gui/res/cardsfolder/s/shelldock_isle.txt b/forge-gui/res/cardsfolder/s/shelldock_isle.txt index a930808f610..e8f2f1a6823 100644 --- a/forge-gui/res/cardsfolder/s/shelldock_isle.txt +++ b/forge-gui/res/cardsfolder/s/shelldock_isle.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land K:Hideaway A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add {U}. -A:AB$ Play | Cost$ U T | Defined$ Remembered | Amount$ All | Controller$ You | WithoutManaCost$ True | Optional$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ LE20 | ForgetRemembered$ True | References$ X | AILogic$ CheckCondition | SpellDescription$ You may play the exiled card without paying its mana cost if a library has twenty or fewer cards in it. +A:AB$ Play | Cost$ U T | Defined$ Remembered | Amount$ All | Controller$ You | WithoutManaCost$ True | Optional$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ LE20 | ForgetRemembered$ True | AILogic$ CheckCondition | SpellDescription$ You may play the exiled card without paying its mana cost if a library has twenty or fewer cards in it. SVar:X:PlayerCountPlayers$LowestValidLibrary Card.YouOwn AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/shelldock_isle.jpg diff --git a/forge-gui/res/cardsfolder/s/sheltering_word.txt b/forge-gui/res/cardsfolder/s/sheltering_word.txt index 64074d29c17..d0e9dd3f520 100644 --- a/forge-gui/res/cardsfolder/s/sheltering_word.txt +++ b/forge-gui/res/cardsfolder/s/sheltering_word.txt @@ -2,7 +2,7 @@ Name:Sheltering Word ManaCost:1 G Types:Instant A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | KW$ Hexproof | SubAbility$ LifeTough | SpellDescription$ Target creature you control gains hexproof until end of turn. You gain life equal to that creature's toughness. -SVar:LifeTough:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:LifeTough:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Targeted$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/sheltering_word.jpg Oracle:Target creature you control gains hexproof until end of turn. You gain life equal to that creature's toughness. (A creature with hexproof can't be the target of spells or abilities your opponents control.) diff --git a/forge-gui/res/cardsfolder/s/shepherd_of_heroes.txt b/forge-gui/res/cardsfolder/s/shepherd_of_heroes.txt index cf7359b7444..27d7775ff20 100755 --- a/forge-gui/res/cardsfolder/s/shepherd_of_heroes.txt +++ b/forge-gui/res/cardsfolder/s/shepherd_of_heroes.txt @@ -4,7 +4,7 @@ Types:Creature Angel Cleric PT:3/4 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain 2 life for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X SVar:X:Count$Party/Twice DeckHas:Ability$Party DeckHints:Type$Rogue|Warrior|Wizard diff --git a/forge-gui/res/cardsfolder/s/shepherd_of_rot.txt b/forge-gui/res/cardsfolder/s/shepherd_of_rot.txt index 61653aaf319..b1a86f0f105 100644 --- a/forge-gui/res/cardsfolder/s/shepherd_of_rot.txt +++ b/forge-gui/res/cardsfolder/s/shepherd_of_rot.txt @@ -2,7 +2,7 @@ Name:Shepherd of Rot ManaCost:1 B Types:Creature Zombie Cleric PT:1/1 -A:AB$ LoseLife | Cost$ T | Defined$ Player | LifeAmount$ X | References$ X | SpellDescription$ Each player loses 1 life for each Zombie on the battlefield. +A:AB$ LoseLife | Cost$ T | Defined$ Player | LifeAmount$ X | SpellDescription$ Each player loses 1 life for each Zombie on the battlefield. SVar:X:Count$TypeOnBattlefield.Zombie AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/shepherd_of_rot.jpg diff --git a/forge-gui/res/cardsfolder/s/shield_dancer.txt b/forge-gui/res/cardsfolder/s/shield_dancer.txt index 65b3521af14..d67b182a0fd 100644 --- a/forge-gui/res/cardsfolder/s/shield_dancer.txt +++ b/forge-gui/res/cardsfolder/s/shield_dancer.txt @@ -2,7 +2,7 @@ Name:Shield Dancer ManaCost:2 W Types:Creature Human Rebel PT:1/3 -A:AB$ Effect | Cost$ 2 W | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | IsCurse$ True | ReplacementEffects$ DamageShielded | SVars$ ExileEffect,DmgSelf | References$ DamageShielded,ExileEffect,DmgSelf | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | AILogic$ Fog | SpellDescription$ The next time target attacking creature would deal combat damage to CARDNAME this turn, that creature deals that damage to itself instead. +A:AB$ Effect | Cost$ 2 W | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | IsCurse$ True | ReplacementEffects$ DamageShielded | SVars$ ExileEffect,DmgSelf | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | AILogic$ Fog | SpellDescription$ The next time target attacking creature would deal combat damage to CARDNAME this turn, that creature deals that damage to itself instead. SVar:DamageShielded:Event$ DamageDone | IsCombat$ True | ValidSource$ Card.IsRemembered | ValidTarget$ Card.EffectSource | ReplaceWith$ DmgSelf | Description$ The next time the targeted attacking creature would deal combat damage to EFFECTSOURCE this turn, that creature deals that damage to itself instead. SVar:DmgSelf:DB$ ReplaceEffect | VarName$ Affected | VarValue$ Remembered | VarType$ Card | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/s/shield_of_the_avatar.txt b/forge-gui/res/cardsfolder/s/shield_of_the_avatar.txt index 26f09be49bc..bbe2435e15d 100644 --- a/forge-gui/res/cardsfolder/s/shield_of_the_avatar.txt +++ b/forge-gui/res/cardsfolder/s/shield_of_the_avatar.txt @@ -2,7 +2,7 @@ Name:Shield of the Avatar ManaCost:1 Types:Artifact Equipment K:Equip:2 -S:Mode$ PreventDamage | Target$ Creature.EquippedBy | Amount$ X | References$ X | Description$ If a source would deal damage to equipped creature, prevent X of that damage, where X is the number of creatures you control. +S:Mode$ PreventDamage | Target$ Creature.EquippedBy | Amount$ X | Description$ If a source would deal damage to equipped creature, prevent X of that damage, where X is the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl SVar:BuffedBy:Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/shield_of_the_avatar.jpg diff --git a/forge-gui/res/cardsfolder/s/shieldmage_advocate.txt b/forge-gui/res/cardsfolder/s/shieldmage_advocate.txt index 0240087e5ad..ad142c8817d 100644 --- a/forge-gui/res/cardsfolder/s/shieldmage_advocate.txt +++ b/forge-gui/res/cardsfolder/s/shieldmage_advocate.txt @@ -4,7 +4,7 @@ Types:Creature Human Cleric PT:1/3 A:AB$ ChangeZone | Cost$ T | ValidTgts$ Card.OppOwn | TgtPrompt$ Select target card in an opponent's graveyard | Origin$ Graveyard | Destination$ Hand | SubAbility$ DBChooseSource | SpellDescription$ Return target card from an opponent's graveyard to their hand. Prevent all damage that would be dealt to any target this turn by a source of your choice. SVar:DBChooseSource:DB$ ChooseSource | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect -SVar:DBEffect:DB$ Effect | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to prevent damage | ForgetOnMoved$ Battlefield | ReplacementEffects$ RPrevent | References$ RPrevent | RememberObjects$ TargetedPlayer,ThisTargetedCard | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup +SVar:DBEffect:DB$ Effect | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to prevent damage | ForgetOnMoved$ Battlefield | ReplacementEffects$ RPrevent | RememberObjects$ TargetedPlayer,ThisTargetedCard | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup SVar:RPrevent:Event$ DamageDone | Prevent$ True | ActiveZones$ Command | ValidSource$ Card.ChosenCard | ValidTarget$ Player.IsRemembered,Card.IsRemembered | Description$ Prevent all damage that would be dealt to any target this turn by a source of your choice. SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/shimatsu_the_bloodcloaked.txt b/forge-gui/res/cardsfolder/s/shimatsu_the_bloodcloaked.txt index 4bfeaf0be9f..f289a58fadd 100644 --- a/forge-gui/res/cardsfolder/s/shimatsu_the_bloodcloaked.txt +++ b/forge-gui/res/cardsfolder/s/shimatsu_the_bloodcloaked.txt @@ -3,8 +3,8 @@ ManaCost:3 R Types:Legendary Creature Demon Spirit PT:0/0 R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ TrigSac | Description$ As CARDNAME enters the battlefield, sacrifice any number of permanents. Shimatsu enters the battlefield with that many +1/+1 counters on it. -SVar:TrigSac:DB$ Sacrifice | Amount$ SacX | References$ SacX | SacValid$ Permanent | Defined$ You | RememberSacrificed$ True | Optional$ True | SubAbility$ DBPutcounter -SVar:DBPutcounter:DB$ PutCounter | ETB$ True | CounterType$ P1P1 | Defined$ Self | CounterNum$ X | References$ X | SubAbility$ MoveToPlay +SVar:TrigSac:DB$ Sacrifice | Amount$ SacX | SacValid$ Permanent | Defined$ You | RememberSacrificed$ True | Optional$ True | SubAbility$ DBPutcounter +SVar:DBPutcounter:DB$ PutCounter | ETB$ True | CounterType$ P1P1 | Defined$ Self | CounterNum$ X | SubAbility$ MoveToPlay SVar:MoveToPlay:DB$ ChangeZone | Defined$ ReplacedCard | Origin$ All | Destination$ Battlefield | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Permanent.YouCtrl diff --git a/forge-gui/res/cardsfolder/s/shimian_night_stalker.txt b/forge-gui/res/cardsfolder/s/shimian_night_stalker.txt index 4cce10a7faf..0e6eb464e6c 100644 --- a/forge-gui/res/cardsfolder/s/shimian_night_stalker.txt +++ b/forge-gui/res/cardsfolder/s/shimian_night_stalker.txt @@ -2,7 +2,7 @@ Name:Shimian Night Stalker ManaCost:3 B B Types:Creature Nightstalker PT:4/4 -A:AB$ Effect | Cost$ B T | Name$ Shimian Night Stalker Effect | ReplacementEffects$ DamageEvent | SVars$ MirrorStrikeDmg | References$ MirrorStrikeDmg | ImprintCards$ Targeted | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | AILogic$ Fog | SpellDescription$ All damage that would be dealt to you this turn by target attacking creature is dealt to CARDNAME instead. +A:AB$ Effect | Cost$ B T | Name$ Shimian Night Stalker Effect | ReplacementEffects$ DamageEvent | SVars$ MirrorStrikeDmg | ImprintCards$ Targeted | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | AILogic$ Fog | SpellDescription$ All damage that would be dealt to you this turn by target attacking creature is dealt to CARDNAME instead. SVar:DamageEvent:Event$ DamageDone | ValidSource$ Creature.IsImprinted | ValidTarget$ You | ReplaceWith$ MirrorStrikeDmg | DamageTarget$ EffectSource | Description$ All damage that would be dealt to you this turn by the attacking creature is dealt to EFFECTSOURCE instead. SVar:MirrorStrikeDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ EffectSource | VarType$ Card Oracle:{B}, {T}: All damage that would be dealt to you this turn by target attacking creature is dealt to Shimian Night Stalker instead. diff --git a/forge-gui/res/cardsfolder/s/shimian_specter.txt b/forge-gui/res/cardsfolder/s/shimian_specter.txt index a3fb17b9408..7cb9c64a7b4 100644 --- a/forge-gui/res/cardsfolder/s/shimian_specter.txt +++ b/forge-gui/res/cardsfolder/s/shimian_specter.txt @@ -7,8 +7,8 @@ T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage SVar:TrigReveal:DB$ RevealHand | Defined$ TriggeredTarget | RememberRevealedPlayer$ True | SubAbility$ ChooseCard SVar:ChooseCard:DB$ ChooseCard | Choices$ Card.nonLand+RememberedPlayerCtrl+inZoneHand | ChoiceZone$ Hand | SubAbility$ ExileYard | RememberChosen$ True | ForgetOtherTargets$ True SVar:ExileYard:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Exile | Defined$ TriggeredTarget | ChangeType$ Remembered.sameName | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TriggeredTarget | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | References$ NumInHand | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TriggeredTarget | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | References$ NumInLib | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TriggeredTarget | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TriggeredTarget | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:NumInHand:TriggeredTarget$CardsInHand SVar:NumInLib:TriggeredTarget$CardsInLibrary SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/s/shinka_gatekeeper.txt b/forge-gui/res/cardsfolder/s/shinka_gatekeeper.txt index 9a35bdd9273..b6ea5688f8e 100644 --- a/forge-gui/res/cardsfolder/s/shinka_gatekeeper.txt +++ b/forge-gui/res/cardsfolder/s/shinka_gatekeeper.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Creature Ogre Warrior PT:3/2 T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to you. -SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ You | References$ X +SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ You SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/shinka_gatekeeper.jpg Oracle:Whenever Shinka Gatekeeper is dealt damage, it deals that much damage to you. diff --git a/forge-gui/res/cardsfolder/s/shivan_fire.txt b/forge-gui/res/cardsfolder/s/shivan_fire.txt index 95bcdb615cb..b1286cfb28d 100644 --- a/forge-gui/res/cardsfolder/s/shivan_fire.txt +++ b/forge-gui/res/cardsfolder/s/shivan_fire.txt @@ -2,6 +2,6 @@ Name:Shivan Fire ManaCost:R Types:Instant K:Kicker:4 -A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ WasKicked | References$ WasKicked | SpellDescription$ CARDNAME deals 2 damage to target creature. If CARDNAME was kicked, it deals 4 damage instead. +A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ WasKicked | SpellDescription$ CARDNAME deals 2 damage to target creature. If CARDNAME was kicked, it deals 4 damage instead. SVar:WasKicked:Count$Kicked.4.2 Oracle:Kicker {4} (You may pay an additional {4} as you cast this spell.)\nShivan Fire deals 2 damage to target creature. If this spell was kicked, it deals 4 damage instead. diff --git a/forge-gui/res/cardsfolder/s/shocker.txt b/forge-gui/res/cardsfolder/s/shocker.txt index 21a3ab4a26e..c30e4b5151c 100644 --- a/forge-gui/res/cardsfolder/s/shocker.txt +++ b/forge-gui/res/cardsfolder/s/shocker.txt @@ -4,7 +4,7 @@ Types:Creature Insect PT:1/1 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | TriggerZones$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ Whenever CARDNAME deals damage to a player, that player discards all the cards in their hand, then draws that many cards. SVar:TrigDiscard:DB$ Discard | Defined$ TriggeredTarget | Mode$ Hand | RememberDiscarded$ True | SubAbility$ DBDraw | SpellDescription$ Discard hand -SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ TriggeredTarget | SubAbility$ DBCleanup | References$ X | SpellDescription$ Draw that many cards +SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ TriggeredTarget | SubAbility$ DBCleanup | SpellDescription$ Draw that many cards SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/shocker.jpg diff --git a/forge-gui/res/cardsfolder/s/shower_of_coals.txt b/forge-gui/res/cardsfolder/s/shower_of_coals.txt index 63d03b5d99b..0e87798f00e 100644 --- a/forge-gui/res/cardsfolder/s/shower_of_coals.txt +++ b/forge-gui/res/cardsfolder/s/shower_of_coals.txt @@ -1,7 +1,7 @@ Name:Shower of Coals ManaCost:3 R R Types:Sorcery -A:SP$ DealDamage | Cost$ 3 R R | NumDmg$ X | TargetMin$ 0 | TargetMax$ 3 | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | References$ X | SpellDescription$ CARDNAME deals 2 damage to each of up to three targets. Threshold — CARDNAME deals 4 damage to each of those permanents and/or players instead if seven or more cards are in your graveyard. +A:SP$ DealDamage | Cost$ 3 R R | NumDmg$ X | TargetMin$ 0 | TargetMax$ 3 | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | SpellDescription$ CARDNAME deals 2 damage to each of up to three targets. Threshold — CARDNAME deals 4 damage to each of those permanents and/or players instead if seven or more cards are in your graveyard. SVar:X:Count$Threshold.4.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/shower_of_coals.jpg Oracle:Shower of Coals deals 2 damage to each of up to three targets.\nThreshold — Shower of Coals deals 4 damage to each of those permanents and/or players instead if seven or more cards are in your graveyard. diff --git a/forge-gui/res/cardsfolder/s/showstopper.txt b/forge-gui/res/cardsfolder/s/showstopper.txt index 081c8e26aa0..e297cf52426 100644 --- a/forge-gui/res/cardsfolder/s/showstopper.txt +++ b/forge-gui/res/cardsfolder/s/showstopper.txt @@ -1,7 +1,7 @@ Name:Showstopper ManaCost:1 B R Types:Instant -A:SP$ AnimateAll | Cost$ 1 B R | ValidCards$ Creature.YouCtrl | Triggers$ DiesTrigger | sVars$ ShowstopperTrigDamage | References$ DiesTrigger,ShowstopperTrigDamage | SpellDescription$ Until end of turn, creatures you control gain "When this creature dies, it deals 2 damage to target creature an opponent controls." +A:SP$ AnimateAll | Cost$ 1 B R | ValidCards$ Creature.YouCtrl | Triggers$ DiesTrigger | sVars$ ShowstopperTrigDamage | SpellDescription$ Until end of turn, creatures you control gain "When this creature dies, it deals 2 damage to target creature an opponent controls." SVar:DiesTrigger:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ ShowstopperTrigDamage | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, it deals 2 damage to target creature an opponent controls. SVar:ShowstopperTrigDamage:DB$ DealDamage | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ 2 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/shrine_of_boundless_growth.txt b/forge-gui/res/cardsfolder/s/shrine_of_boundless_growth.txt index 09aa6f28ee2..45812892c63 100644 --- a/forge-gui/res/cardsfolder/s/shrine_of_boundless_growth.txt +++ b/forge-gui/res/cardsfolder/s/shrine_of_boundless_growth.txt @@ -4,7 +4,7 @@ Types:Artifact T:Mode$ SpellCast | ValidCard$ Card.Green | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAddCounter | TriggerDescription$ At the beginning of your upkeep or whenever you cast a green spell, put a charge counter on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAddCounter | Secondary$ True | TriggerDescription$ At the beginning of your upkeep or whenever you cast a green spell, put a charge counter on CARDNAME. SVar:TrigAddCounter:DB$PutCounter | CounterType$ CHARGE | CounterNum$ 1 -A:AB$Mana | Cost$ T Sac<1/CARDNAME> | Produced$ C | Amount$ X | References$ X | SpellDescription$ Add {C} for each charge counter on CARDNAME. +A:AB$Mana | Cost$ T Sac<1/CARDNAME> | Produced$ C | Amount$ X | SpellDescription$ Add {C} for each charge counter on CARDNAME. SVar:X:Count$CardCounters.CHARGE AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/shrine_of_boundless_growth.jpg diff --git a/forge-gui/res/cardsfolder/s/shrine_of_burning_rage.txt b/forge-gui/res/cardsfolder/s/shrine_of_burning_rage.txt index b655a190ab3..72e5850ce5b 100644 --- a/forge-gui/res/cardsfolder/s/shrine_of_burning_rage.txt +++ b/forge-gui/res/cardsfolder/s/shrine_of_burning_rage.txt @@ -4,7 +4,7 @@ Types:Artifact T:Mode$ SpellCast | ValidCard$ Card.Red | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAddCounter | TriggerDescription$ At the beginning of your upkeep or whenever you cast a red spell, put a charge counter on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAddCounter | Secondary$ True | TriggerDescription$ At the beginning of your upkeep or whenever you cast a red spell, put a charge counter on CARDNAME. SVar:TrigAddCounter:DB$PutCounter | CounterType$ CHARGE | CounterNum$ 1 -A:AB$ DealDamage | Cost$ 3 T Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the number of charge counters on it to any target. +A:AB$ DealDamage | Cost$ 3 T Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the number of charge counters on it to any target. SVar:X:Count$CardCounters.CHARGE SVar:Picture:http://www.wizards.com/global/images/magic/general/shrine_of_burning_rage.jpg Oracle:At the beginning of your upkeep or whenever you cast a red spell, put a charge counter on Shrine of Burning Rage.\n{3}, {T}, Sacrifice Shrine of Burning Rage: It deals damage equal to the number of charge counters on it to any target. diff --git a/forge-gui/res/cardsfolder/s/shrine_of_limitless_power.txt b/forge-gui/res/cardsfolder/s/shrine_of_limitless_power.txt index b3475d8a8ba..bcd97e31683 100644 --- a/forge-gui/res/cardsfolder/s/shrine_of_limitless_power.txt +++ b/forge-gui/res/cardsfolder/s/shrine_of_limitless_power.txt @@ -4,7 +4,7 @@ Types:Artifact T:Mode$ SpellCast | ValidCard$ Card.Black | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAddCounter | TriggerDescription$ At the beginning of your upkeep or whenever you cast a black spell, put a charge counter on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAddCounter | Secondary$ True | TriggerDescription$ At the beginning of your upkeep or whenever you cast a black spell, put a charge counter on CARDNAME. SVar:TrigAddCounter:DB$ PutCounter | CounterType$ CHARGE | CounterNum$ 1 -A:AB$ Discard | Cost$ 4 T Sac<1/CARDNAME> | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X | Mode$ TgtChoose | References$ X | SpellDescription$ Target player discards a card for each charge counter on CARDNAME. +A:AB$ Discard | Cost$ 4 T Sac<1/CARDNAME> | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X | Mode$ TgtChoose | SpellDescription$ Target player discards a card for each charge counter on CARDNAME. SVar:X:Sacrificed$CardCounters.CHARGE AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/shrine_of_limitless_power.jpg diff --git a/forge-gui/res/cardsfolder/s/shrine_of_loyal_legions.txt b/forge-gui/res/cardsfolder/s/shrine_of_loyal_legions.txt index 7ed2f9b7606..1457608bbe0 100644 --- a/forge-gui/res/cardsfolder/s/shrine_of_loyal_legions.txt +++ b/forge-gui/res/cardsfolder/s/shrine_of_loyal_legions.txt @@ -4,7 +4,7 @@ Types:Artifact T:Mode$ SpellCast | ValidCard$ Card.White | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAddCounter | TriggerDescription$ At the beginning of your upkeep or whenever you cast a white spell, put a charge counter on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAddCounter | Secondary$ True | TriggerDescription$ At the beginning of your upkeep or whenever you cast a white spell, put a charge counter on CARDNAME. SVar:TrigAddCounter:DB$ PutCounter | CounterType$ CHARGE | CounterNum$ 1 -A:AB$ Token | Cost$ 3 T Sac<1/CARDNAME> | TokenAmount$ X | TokenScript$ c_1_1_a_myr | LegacyImage$ c 1 1 a myr nph | TokenOwner$ You | References$ X | SpellDescription$ Create a 1/1 colorless Myr artifact creature token for each charge counter on CARDNAME. +A:AB$ Token | Cost$ 3 T Sac<1/CARDNAME> | TokenAmount$ X | TokenScript$ c_1_1_a_myr | LegacyImage$ c 1 1 a myr nph | TokenOwner$ You | SpellDescription$ Create a 1/1 colorless Myr artifact creature token for each charge counter on CARDNAME. SVar:X:Count$CardCounters.CHARGE DeckNeeds:Color$White DeckHints:Type$Myr diff --git a/forge-gui/res/cardsfolder/s/shrine_of_piercing_vision.txt b/forge-gui/res/cardsfolder/s/shrine_of_piercing_vision.txt index d033b89c7e9..435fbe9ec2f 100644 --- a/forge-gui/res/cardsfolder/s/shrine_of_piercing_vision.txt +++ b/forge-gui/res/cardsfolder/s/shrine_of_piercing_vision.txt @@ -4,7 +4,7 @@ Types:Artifact T:Mode$ SpellCast | ValidCard$ Card.Blue | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAddCounter | TriggerDescription$ At the beginning of your upkeep or whenever you cast a blue spell, put a charge counter on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAddCounter | Secondary$ True | TriggerDescription$ At the beginning of your upkeep or whenever you cast a blue spell, put a charge counter on CARDNAME. SVar:TrigAddCounter:DB$PutCounter | CounterType$ CHARGE | CounterNum$ 1 -A:AB$ Dig | Cost$ T Sac<1/CARDNAME> | DigNum$ X | References$ X | SpellDescription$ Look at the top X cards of your library, where X is the number of charge counters on CARDNAME. Put one of those cards into your hand and the rest on the bottom of your library in any order. +A:AB$ Dig | Cost$ T Sac<1/CARDNAME> | DigNum$ X | SpellDescription$ Look at the top X cards of your library, where X is the number of charge counters on CARDNAME. Put one of those cards into your hand and the rest on the bottom of your library in any order. SVar:X:Count$CardCounters.CHARGE AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/shrine_of_piercing_vision.jpg diff --git a/forge-gui/res/cardsfolder/s/shriveling_rot.txt b/forge-gui/res/cardsfolder/s/shriveling_rot.txt index 470552f18b7..aa94b2b2a5c 100644 --- a/forge-gui/res/cardsfolder/s/shriveling_rot.txt +++ b/forge-gui/res/cardsfolder/s/shriveling_rot.txt @@ -8,7 +8,7 @@ SVar:DBEffect2:DB$ Effect | Name$ Shriveling Rot Effect 2 | Triggers$ Trig2 | SV SVar:Trig1:Mode$ DamageDoneOnce | ValidTarget$ Creature | Execute$ SVar1 | TriggerDescription$ Whenever a creature is dealt damage, destroy it. SVar:SVar1:DB$ Destroy | Defined$ TriggeredTargetLKICopy SVar:Trig2:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature | Execute$ SVar2 | TriggerDescription$ Whenever a creature dies, that creature's controller loses life equal to its toughness. -SVar:SVar2:DB$ LoseLife | Defined$ TriggeredCardController | LifeAmount$ X | References$ X +SVar:SVar2:DB$ LoseLife | Defined$ TriggeredCardController | LifeAmount$ X SVar:X:TriggeredCard$CardToughness AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/shriveling_rot.jpg diff --git a/forge-gui/res/cardsfolder/s/shrouded_lore.txt b/forge-gui/res/cardsfolder/s/shrouded_lore.txt index b9e4f323cde..c0e297202a2 100644 --- a/forge-gui/res/cardsfolder/s/shrouded_lore.txt +++ b/forge-gui/res/cardsfolder/s/shrouded_lore.txt @@ -2,11 +2,11 @@ Name:Shrouded Lore ManaCost:B Types:Sorcery A:SP$ ChooseCard | Cost$ B | ValidTgts$ Opponent | ChoiceZone$ Graveyard | Choices$ Card.YouOwn | AILogic$ WorstCard | Mandatory$ True | RememberChosen$ True | SubAbility$ DBRepeat | SpellDescription$ Target opponent chooses a card in your graveyard. You may pay {B}. If you do, repeat this process except that opponent can't choose a card already chosen for CARDNAME. Then put the last chosen card into your hand. -SVar:DBRepeat:DB$ Repeat | RepeatSubAbility$ DBChooseAgain | ConditionCheckSVar$ ChoiceNum | ConditionSVarCompare$ GE1 | References$ ChoiceNum,CheckNotPaid,CheckRepeat | SubAbility$ DBMoveChosen | RepeatCheckSVar$ CheckRepeat | RepeatSVarCompare$ GT0 | StackDescription$ You may pay B. If you do, repeat this process except that opponent can't choose a card already chosen for CARDNAME. +SVar:DBRepeat:DB$ Repeat | RepeatSubAbility$ DBChooseAgain | ConditionCheckSVar$ ChoiceNum | ConditionSVarCompare$ GE1 | SubAbility$ DBMoveChosen | RepeatCheckSVar$ CheckRepeat | RepeatSVarCompare$ GT0 | StackDescription$ You may pay B. If you do, repeat this process except that opponent can't choose a card already chosen for CARDNAME. SVar:DBChooseAgain:DB$ ChooseCard | Defined$ ParentTarget | ChoiceZone$ Graveyard | Choices$ Card.YouOwn+IsNotRemembered | Mandatory$ True | AILogic$ WorstCard | RememberChosen$ True | UnlessCost$ B | UnlessPayer$ You | UnlessSwitched$ True | UnlessResolveSubs$ WhenNotPaid | SubAbility$ DBStoreSVar | ShowCurrentCard$ ChosenCard -SVar:DBStoreSVar:DB$ StoreSVar | SVar$ CheckNotPaid | Type$ Number | Expression$ 0 | References$ CheckNotPaid +SVar:DBStoreSVar:DB$ StoreSVar | SVar$ CheckNotPaid | Type$ Number | Expression$ 0 SVar:DBMoveChosen:DB$ ChangeZone | Defined$ ChosenCard | Origin$ Graveyard | Destination$ Hand | SubAbility$ DBReset -SVar:DBReset:DB$ StoreSVar | SVar$ CheckNotPaid | Type$ Number | Expression$ 1 | References$ CheckNotPaid +SVar:DBReset:DB$ StoreSVar | SVar$ CheckNotPaid | Type$ Number | Expression$ 1 SVar:ChoiceNum:Count$ValidGraveyard Card.YouOwn+IsNotRemembered SVar:CheckNotPaid:Number$1 SVar:CheckRepeat:SVar$ChoiceNum/Times.CheckNotPaid diff --git a/forge-gui/res/cardsfolder/s/siani_eye_of_the_storm.txt b/forge-gui/res/cardsfolder/s/siani_eye_of_the_storm.txt index 3db4176f4c3..7add6662948 100644 --- a/forge-gui/res/cardsfolder/s/siani_eye_of_the_storm.txt +++ b/forge-gui/res/cardsfolder/s/siani_eye_of_the_storm.txt @@ -5,7 +5,7 @@ PT:3/2 K:Flying K:Partner T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigScry | TriggerDescription$ Whenever CARDNAME attacks, scry X, where X is the number of attacking creatures with flying. -SVar:TrigScry:DB$ Scry | ScryNum$ X | References$ X +SVar:TrigScry:DB$ Scry | ScryNum$ X SVar:X:Count$Valid Creature.attacking+withFlying SVar:HasAttackEffect:TRUE Oracle:Flying\nWhenever Siani, Eye of the Storm attacks, scry X, where X is the number of attacking creatures with flying.\nPartner (You can have two commanders if both have partner.) diff --git a/forge-gui/res/cardsfolder/s/sickening_dreams.txt b/forge-gui/res/cardsfolder/s/sickening_dreams.txt index 50694bd1f5e..64797d6c204 100644 --- a/forge-gui/res/cardsfolder/s/sickening_dreams.txt +++ b/forge-gui/res/cardsfolder/s/sickening_dreams.txt @@ -1,7 +1,7 @@ Name:Sickening Dreams ManaCost:1 B Types:Sorcery -A:SP$ DamageAll | Cost$ 1 B Discard | NumDmg$ X | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | References$ X | SpellDescription$ CARDNAME deals X damage to each creature and each player. +A:SP$ DamageAll | Cost$ 1 B Discard | NumDmg$ X | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals X damage to each creature and each player. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, discard X cards.\nSickening Dreams deals X damage to each creature and each player. diff --git a/forge-gui/res/cardsfolder/s/sickening_shoal.txt b/forge-gui/res/cardsfolder/s/sickening_shoal.txt index 7bb399a2cbd..98593e4c6fc 100644 --- a/forge-gui/res/cardsfolder/s/sickening_shoal.txt +++ b/forge-gui/res/cardsfolder/s/sickening_shoal.txt @@ -2,7 +2,7 @@ Name:Sickening Shoal ManaCost:X B B Types:Instant Arcane SVar:AltCost:Cost$ ExileFromHand<1/Card.Black+Other> | Description$ You may exile a black card with converted mana cost X from your hand rather than pay this spell's mana cost. -A:SP$ Pump | Cost$ X B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -Z | NumDef$ -Z | IsCurse$ True | References$ X,Y,Z | SpellDescription$ Target creature gets -X/-X until end of turn. +A:SP$ Pump | Cost$ X B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -Z | NumDef$ -Z | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn. SVar:X:Count$xPaid SVar:Y:Exiled$CardManaCost SVar:Z:SVar$Y/Plus.X diff --git a/forge-gui/res/cardsfolder/s/siege_striker.txt b/forge-gui/res/cardsfolder/s/siege_striker.txt index be1b5e1a8e7..d5177dd357b 100755 --- a/forge-gui/res/cardsfolder/s/siege_striker.txt +++ b/forge-gui/res/cardsfolder/s/siege_striker.txt @@ -4,9 +4,9 @@ Types:Creature Human Soldier PT:1/1 K:Double Strike T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigChoose | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, you may tap any number of untapped creatures you control. CARDNAME gets +1/+1 until end of turn for each creature tapped this way. -SVar:TrigChoose:DB$ ChooseCard | Defined$ You | MinAmount$ 0 | Amount$ X | References$ X | Choices$ Creature.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigTap +SVar:TrigChoose:DB$ ChooseCard | Defined$ You | MinAmount$ 0 | Amount$ X | Choices$ Creature.untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped creatures you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ TrigTap SVar:TrigTap:DB$ Tap | Defined$ Remembered | SubAbility$ DBPump -SVar:DBPump:DB$ Pump | Defined$ Self | NumAtt$ Y | NumDef$ Y | References$ Y | SubAbility$ DBCleanup +SVar:DBPump:DB$ Pump | Defined$ Self | NumAtt$ Y | NumDef$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearChosenCard$ True SVar:X:Count$Valid Creature.untapped+YouCtrl SVar:Y:Count$RememberedSize diff --git a/forge-gui/res/cardsfolder/s/sift_through_sands.txt b/forge-gui/res/cardsfolder/s/sift_through_sands.txt index 826d7e6e0d5..f1beb576062 100644 --- a/forge-gui/res/cardsfolder/s/sift_through_sands.txt +++ b/forge-gui/res/cardsfolder/s/sift_through_sands.txt @@ -3,7 +3,7 @@ ManaCost:1 U U Types:Instant Arcane A:SP$ Draw | Cost$ 1 U U | Defined$ You | NumCards$ 2 | SubAbility$ DBDiscard | SpellDescription$ Draw two cards, then discard a card. If you've cast a spell named Peer Through Depths and a spell named Reach Through Mists this turn, you may search your library for a card named The Unspeakable, put it onto the battlefield, then shuffle your library. SVar:DBDiscard:DB$Discard | Defined$ You | NumCards$ 1 | Mode$ TgtChoose | SubAbility$ DBUnspeakable -SVar:DBUnspeakable:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Card.namedThe Unspeakable | ChangeNum$ 1 | ConditionCheckSVar$ PeerReachTotal | ConditionSVarCompare$ EQ2 | References$ Peer,Reach,PeerReachTotal | ShuffleNonMandatory$ True +SVar:DBUnspeakable:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Card.namedThe Unspeakable | ChangeNum$ 1 | ConditionCheckSVar$ PeerReachTotal | ConditionSVarCompare$ EQ2 | ShuffleNonMandatory$ True SVar:PeerReachTotal:SVar$Peer/Plus.Reach #Max returns any number lower than or equally to the number following the period. SVar:Peer:Count$ThisTurnCast_Card.YouCtrl+namedPeer Through Depths/LimitMax.1 diff --git a/forge-gui/res/cardsfolder/s/sifter_wurm.txt b/forge-gui/res/cardsfolder/s/sifter_wurm.txt index 2af590f45b2..6c82f76ece9 100644 --- a/forge-gui/res/cardsfolder/s/sifter_wurm.txt +++ b/forge-gui/res/cardsfolder/s/sifter_wurm.txt @@ -6,7 +6,7 @@ K:Trample T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigScry | TriggerDescription$ When CARDNAME enters the battlefield, scry 3, then reveal the top card of your library. You gain life equal to that card's converted mana cost. SVar:TrigScry:DB$Scry | ScryNum$ 3 | SubAbility$ DBDig SVar:DBDig:DB$ Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Library | LibraryPosition$ 0 | LibraryPosition2$ 0 | RememberChanged$ True | SubAbility$ DBGainLife -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/sifter_wurm.jpg diff --git a/forge-gui/res/cardsfolder/s/sigil_of_distinction.txt b/forge-gui/res/cardsfolder/s/sigil_of_distinction.txt index 747fdc678fc..c37fca753dc 100644 --- a/forge-gui/res/cardsfolder/s/sigil_of_distinction.txt +++ b/forge-gui/res/cardsfolder/s/sigil_of_distinction.txt @@ -2,7 +2,7 @@ Name:Sigil of Distinction ManaCost:X Types:Artifact Equipment K:etbCounter:CHARGE:X -S:Mode$ Continuous | Affected$ Creature.AttachedBy | AddPower$ Y | AddToughness$ Y | References$ Y | Description$ Equipped creature gets +1/+1 for each charge counter on CARDNAME. +S:Mode$ Continuous | Affected$ Creature.AttachedBy | AddPower$ Y | AddToughness$ Y | Description$ Equipped creature gets +1/+1 for each charge counter on CARDNAME. K:Equip:SubCounter<1/CHARGE> SVar:X:Count$xPaid SVar:Y:Count$CardCounters.CHARGE diff --git a/forge-gui/res/cardsfolder/s/sigil_of_valor.txt b/forge-gui/res/cardsfolder/s/sigil_of_valor.txt index 85d7a3e3878..d1af5b4ad13 100644 --- a/forge-gui/res/cardsfolder/s/sigil_of_valor.txt +++ b/forge-gui/res/cardsfolder/s/sigil_of_valor.txt @@ -4,7 +4,7 @@ Types:Artifact Equipment K:Equip:1 T:Mode$ Attacks | ValidCard$ Card.EquippedBy | Alone$ True | Execute$ TrigPump | TriggerDescription$ Whenever equipped creature attacks alone, it gets +1/+1 until end of turn for each other creature you control. SVar:TrigPump:DB$ Pump | RememberObjects$ TriggeredAttacker | SubAbility$ TrigPump2 -SVar:TrigPump2:DB$ Pump | Defined$ Remembered | NumAtt$ X | NumDef$ X | References$ X | SubAbility$ DBCleanup +SVar:TrigPump2:DB$ Pump | Defined$ Remembered | NumAtt$ X | NumDef$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Creature.YouCtrl+IsNotRemembered SVar:Picture:http://www.wizards.com/global/images/magic/general/sigil_of_valor.jpg diff --git a/forge-gui/res/cardsfolder/s/silence_the_believers.txt b/forge-gui/res/cardsfolder/s/silence_the_believers.txt index 0b081cc346b..f148a7d0454 100644 --- a/forge-gui/res/cardsfolder/s/silence_the_believers.txt +++ b/forge-gui/res/cardsfolder/s/silence_the_believers.txt @@ -2,7 +2,7 @@ Name:Silence the Believers ManaCost:2 B B Types:Instant K:Strive:2 B -A:SP$ Pump | Cost$ 2 B B | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxTgts | References$ MaxTgts | IsCurse$ True | RememberTargets$ True | SubAbility$ DBExile | StackDescription$ Exile {c:Targeted} and all Auras attached to them. | SpellDescription$ Exile any number of target creatures and all Auras attached to them. +A:SP$ Pump | Cost$ 2 B B | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxTgts | IsCurse$ True | RememberTargets$ True | SubAbility$ DBExile | StackDescription$ Exile {c:Targeted} and all Auras attached to them. | SpellDescription$ Exile any number of target creatures and all Auras attached to them. SVar:DBExile:DB$ ChangeZoneAll | ChangeType$ Card.IsRemembered,Aura.AttachedTo Targeted | Origin$ Battlefield | Destination$ Exile | UseAllOriginZones$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:MaxTgts:Count$Valid Creature diff --git a/forge-gui/res/cardsfolder/s/silent_assassin.txt b/forge-gui/res/cardsfolder/s/silent_assassin.txt index 8e99bf1d952..d07e85812eb 100644 --- a/forge-gui/res/cardsfolder/s/silent_assassin.txt +++ b/forge-gui/res/cardsfolder/s/silent_assassin.txt @@ -2,7 +2,7 @@ Name:Silent Assassin ManaCost:B B Types:Creature Human Mercenary Assassin PT:2/1 -A:AB$ Effect | Cost$ 3 B | ValidTgts$ Creature.blocking | Name$ Assassin Tracking Effect | TgtPrompt$ Select target blocking creature | IsCurse$ True | RememberObjects$ Targeted | Triggers$ DelTrig | SVars$ TrigDestroy | References$ DelTrig,TrigDestroy | SpellDescription$ Destroy target blocking creature at end of combat. +A:AB$ Effect | Cost$ 3 B | ValidTgts$ Creature.blocking | Name$ Assassin Tracking Effect | TgtPrompt$ Select target blocking creature | IsCurse$ True | RememberObjects$ Targeted | Triggers$ DelTrig | SVars$ TrigDestroy | SpellDescription$ Destroy target blocking creature at end of combat. SVar:DelTrig:Mode$ Phase | Phase$ EndCombat | Execute$ TrigDestroy | TriggerDescription$ Destroy the blocking creature at end of combat. SVar:TrigDestroy:DB$ Destroy | Defined$ Remembered | SpellDescription$ Destroy the blocking creature. AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/silent_chant_zubera.txt b/forge-gui/res/cardsfolder/s/silent_chant_zubera.txt index 50b5583e40c..be033624038 100644 --- a/forge-gui/res/cardsfolder/s/silent_chant_zubera.txt +++ b/forge-gui/res/cardsfolder/s/silent_chant_zubera.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Creature Zubera Spirit PT:1/2 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, you gain 2 life for each Zubera that died this turn. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Card.Zubera/Twice DeckHints:Type$Zubera SVar:Picture:http://resources.wizards.com/magic/cards/chk/en-us/card80510.jpg diff --git a/forge-gui/res/cardsfolder/s/silklash_spider.txt b/forge-gui/res/cardsfolder/s/silklash_spider.txt index 86083fabe60..9edd3f5a368 100644 --- a/forge-gui/res/cardsfolder/s/silklash_spider.txt +++ b/forge-gui/res/cardsfolder/s/silklash_spider.txt @@ -3,7 +3,7 @@ ManaCost:3 G G Types:Creature Spider PT:2/7 K:Reach -A:AB$ DamageAll | Cost$ X G G | ValidCards$ Creature.withFlying | NumDmg$ X | ValidDescription$ each creature with flying. | References$ X | SpellDescription$ CARDNAME deals X damage to each creature with flying. +A:AB$ DamageAll | Cost$ X G G | ValidCards$ Creature.withFlying | NumDmg$ X | ValidDescription$ each creature with flying. | SpellDescription$ CARDNAME deals X damage to each creature with flying. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/silklash_spider.jpg Oracle:Reach\n{X}{G}{G}: Silklash Spider deals X damage to each creature with flying. diff --git a/forge-gui/res/cardsfolder/s/silumgars_scorn.txt b/forge-gui/res/cardsfolder/s/silumgars_scorn.txt index 4170522aeb2..8f5928dc013 100644 --- a/forge-gui/res/cardsfolder/s/silumgars_scorn.txt +++ b/forge-gui/res/cardsfolder/s/silumgars_scorn.txt @@ -2,8 +2,8 @@ Name:Silumgar's Scorn ManaCost:U U Types:Instant K:Presence:Dragon -A:SP$ Counter | Cost$ U U | TargetType$ Spell | ValidTgts$ Card | TgtPrompt$ Select target spell | UnlessCost$ 1 | ConditionCheckSVar$ TotalPresence | ConditionSVarCompare$ EQ0 | References$ TotalPresence | StackDescription$ SpellDescription | SubAbility$ DBCounter | SpellDescription$ Counter target spell unless its controller pays {1}. If you revealed a Dragon card or controlled a Dragon as you cast this spell, counter that spell instead. -SVar:DBCounter:DB$ Counter | Defined$ Targeted | References$ TotalPresence | ConditionCheckSVar$ TotalPresence | ConditionSVarCompare$ GE1 | StackDescription$ None +A:SP$ Counter | Cost$ U U | TargetType$ Spell | ValidTgts$ Card | TgtPrompt$ Select target spell | UnlessCost$ 1 | ConditionCheckSVar$ TotalPresence | ConditionSVarCompare$ EQ0otalPresence | StackDescription$ SpellDescription | SubAbility$ DBCounter | SpellDescription$ Counter target spell unless its controller pays {1}. If you revealed a Dragon card or controlled a Dragon as you cast this spell, counter that spell instead. +SVar:DBCounter:DB$ Counter | Defined$ TargetedotalPresence | ConditionCheckSVar$ TotalPresence | ConditionSVarCompare$ GE1 | StackDescription$ None SVar:TotalPresence:Count$Presence_Dragon.1.0 DeckHints:Type$Dragon SVar:Picture:http://www.wizards.com/global/images/magic/general/silumgars_scorn.jpg diff --git a/forge-gui/res/cardsfolder/s/silverflame_ritual.txt b/forge-gui/res/cardsfolder/s/silverflame_ritual.txt index b985cd8024c..fd40027c85b 100644 --- a/forge-gui/res/cardsfolder/s/silverflame_ritual.txt +++ b/forge-gui/res/cardsfolder/s/silverflame_ritual.txt @@ -2,7 +2,7 @@ Name:Silverflame Ritual ManaCost:3 W Types:Sorcery A:SP$ PutCounterAll | Cost$ 3 W | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBPumpAll | AIManaPref$ W | SpellDescription$ Put a +1/+1 counter on each creature you control. Adamant — If at least three white mana was spent to cast this spell, creatures you control gain vigilance until end of turn. -SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Vigilance | ConditionCheckSVar$ X | References$ X +SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Vigilance | ConditionCheckSVar$ X SVar:X:Count$Adamant.White.1.0 DeckHas:Ability$Counters Oracle:Put a +1/+1 counter on each creature you control.\nAdamant — If at least three white mana was spent to cast this spell, creatures you control gain vigilance until end of turn. diff --git a/forge-gui/res/cardsfolder/s/silvergill_douser.txt b/forge-gui/res/cardsfolder/s/silvergill_douser.txt index bf03d166cdc..89ec890c819 100644 --- a/forge-gui/res/cardsfolder/s/silvergill_douser.txt +++ b/forge-gui/res/cardsfolder/s/silvergill_douser.txt @@ -2,7 +2,7 @@ Name:Silvergill Douser ManaCost:1 U Types:Creature Merfolk Wizard PT:1/1 -A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | IsCurse$ True | NumAtt$ -X | References$ X | SpellDescription$ Target creature gets -X/-0 until end of turn, where X is the number of Merfolk and/or Faeries you control +A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | IsCurse$ True | NumAtt$ -X | SpellDescription$ Target creature gets -X/-0 until end of turn, where X is the number of Merfolk and/or Faeries you control SVar:X:Count$Valid Merfolk.YouCtrl,Faerie.YouCtrl DeckHints:Type$Merfolk|Faerie SVar:Picture:http://www.wizards.com/global/images/magic/general/silvergill_douser.jpg diff --git a/forge-gui/res/cardsfolder/s/silverwing_squadron.txt b/forge-gui/res/cardsfolder/s/silverwing_squadron.txt index ee5a184fc90..7abf766739e 100644 --- a/forge-gui/res/cardsfolder/s/silverwing_squadron.txt +++ b/forge-gui/res/cardsfolder/s/silverwing_squadron.txt @@ -4,12 +4,12 @@ Types:Creature Human Knight PT:*/* K:Flying K:Vigilance -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl SVar:BuffedBy:Creature SVar:NoZeroToughnessAI:True T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME attacks, create a number of 2/2 white Knight creature tokens with vigilance equal to the number of opponents you have. -SVar:TrigToken:DB$ Token | TokenOwner$ You | TokenAmount$ Y | TokenScript$ w_2_2_knight_vigilance | LegacyImage$ w 2 2 knight vigilance eld | References$ Y +SVar:TrigToken:DB$ Token | TokenOwner$ You | TokenAmount$ Y | TokenScript$ w_2_2_knight_vigilance | LegacyImage$ w 2 2 knight vigilance eld SVar:Y:PlayerCountOpponents$Amount DeckHas:Ability$Token Oracle:Flying, vigilance\nSilverwing Squadron's power and toughness are each equal to the number of creatures you control.\nWhenever Silverwing Squadron attacks, create a number of 2/2 white Knight creature tokens with vigilance equal to the number of opponents you have. diff --git a/forge-gui/res/cardsfolder/s/simic_ascendancy.txt b/forge-gui/res/cardsfolder/s/simic_ascendancy.txt index 4e908a80aba..1f66b40e845 100644 --- a/forge-gui/res/cardsfolder/s/simic_ascendancy.txt +++ b/forge-gui/res/cardsfolder/s/simic_ascendancy.txt @@ -3,7 +3,7 @@ ManaCost:G U Types:Enchantment A:AB$ PutCounter | Cost$ 1 G U | CounterType$ P1P1 | CounterNum$ 1 | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | SpellDescription$ Put a +1/+1 counter on target creature you control. T:Mode$ CounterAddedOnce | ValidCard$ Creature.YouCtrl+inZoneBattlefield | TriggerZones$ Battlefield | CounterType$ P1P1 | Execute$ TrigPutCounter | TriggerDescription$ Whenever one or more +1/+1 counters are put on a creature you control, put that many growth counters on CARDNAME. -SVar:TrigPutCounter:DB$ PutCounter | CounterType$ GROWTH | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | CounterType$ GROWTH | CounterNum$ X T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Card.Self+counters_GE20_GROWTH | Execute$ TrigWinGame | TriggerDescription$ At the beginning of your upkeep, if CARDNAME has twenty or more growth counters on it, you win the game. SVar:TrigWinGame:DB$ WinsGame | Defined$ You SVar:X:TriggerCount$Amount diff --git a/forge-gui/res/cardsfolder/s/simic_basilisk.txt b/forge-gui/res/cardsfolder/s/simic_basilisk.txt index 2b0d8815843..d9f51faad36 100644 --- a/forge-gui/res/cardsfolder/s/simic_basilisk.txt +++ b/forge-gui/res/cardsfolder/s/simic_basilisk.txt @@ -3,7 +3,7 @@ ManaCost:4 G G Types:Creature Basilisk Mutant PT:0/0 K:Graft:3 -A:AB$ Animate | Cost$ 1 G | ValidTgts$ Creature.counters_GE1_P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter on it | Triggers$ DestroyTrigger | sVars$ DelTrigSimic,TrigDestroySimic | References$ DestroyTrigger,DelTrigSimic,TrigDestroySimic | SpellDescription$ Until end of turn, target creature with a +1/+1 counter on it gains "Whenever this creature deals combat damage to a creature, destroy that creature at end of combat." +A:AB$ Animate | Cost$ 1 G | ValidTgts$ Creature.counters_GE1_P1P1 | TgtPrompt$ Select target creature with a +1/+1 counter on it | Triggers$ DestroyTrigger | sVars$ DelTrigSimic,TrigDestroySimic | SpellDescription$ Until end of turn, target creature with a +1/+1 counter on it gains "Whenever this creature deals combat damage to a creature, destroy that creature at end of combat." SVar:DestroyTrigger:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Creature | CombatDamage$ True | TriggerZones$ Battlefield | Execute$ DelTrig | TriggerDescription$ Whenever CARDNAME deals combat damage to a creature, destroy that creature at end of combat. SVar:DelTrigSimic:DB$ DelayedTrigger | Mode$ Phase | Phase$ EndCombat | ValidPlayer$ Player | Execute$ TrigDestroySimic | RememberObjects$ TriggeredTarget | TriggerDescription$ Destroy damaged creature at end of combat. SVar:TrigDestroySimic:DB$ Destroy | Defined$ DelayTriggerRemembered diff --git a/forge-gui/res/cardsfolder/s/simulacrum.txt b/forge-gui/res/cardsfolder/s/simulacrum.txt index 15d859a3d8a..9dc32a5bc97 100644 --- a/forge-gui/res/cardsfolder/s/simulacrum.txt +++ b/forge-gui/res/cardsfolder/s/simulacrum.txt @@ -1,8 +1,8 @@ Name:Simulacrum ManaCost:1 B Types:Instant -A:SP$ GainLife | Cost$ 1 B | Defined$ You | LifeAmount$ X | SubAbility$ Dmg | References$ X | SpellDescription$ You gain life equal to the damage dealt to you this turn. CARDNAME deals damage to target creature you control equal to the damage dealt to you this turn. -SVar:Dmg:DB$ DealDamage | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumDmg$ X | References$ X +A:SP$ GainLife | Cost$ 1 B | Defined$ You | LifeAmount$ X | SubAbility$ Dmg | SpellDescription$ You gain life equal to the damage dealt to you this turn. CARDNAME deals damage to target creature you control equal to the damage dealt to you this turn. +SVar:Dmg:DB$ DealDamage | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumDmg$ X SVar:X:Count$YourDamageThisTurn AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/simulacrum.jpg diff --git a/forge-gui/res/cardsfolder/s/sin_prodder.txt b/forge-gui/res/cardsfolder/s/sin_prodder.txt index 79421cf7836..54c1a0eb4e7 100644 --- a/forge-gui/res/cardsfolder/s/sin_prodder.txt +++ b/forge-gui/res/cardsfolder/s/sin_prodder.txt @@ -9,7 +9,7 @@ SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ Opponent | RepeatSubAbility$ DBPro SVar:DBProd:DB$ GenericChoice | Defined$ Remembered | Choices$ DBMillAndDamage,DoNothing | ConditionDefined$ Imprinted | ConditionPresent$ Card | ConditionCompare$ EQ1 | AILogic$ SinProdder SVar:DoNothing:DB$ Cleanup | SpellDescription$ Allow SVar:DBMillAndDamage:DB$ Mill | Defined$ You | NumCards$ 1 | SubAbility$ DBDamage | SpellDescription$ Deny -SVar:DBDamage:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDamage:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | SubAbility$ DBCleanup SVar:X:Imprinted$CardManaCost SVar:DBPutIntoHand:DB$ Dig | DigNum$ 1 | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | SubAbility$ DBCleanup | ConditionDefined$ Imprinted | ConditionPresent$ Card | ConditionCompare$ EQ1 SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True | ClearImprinted$ True diff --git a/forge-gui/res/cardsfolder/s/singe_mind_ogre.txt b/forge-gui/res/cardsfolder/s/singe_mind_ogre.txt index 3fe5863b0aa..9570ebc90ef 100644 --- a/forge-gui/res/cardsfolder/s/singe_mind_ogre.txt +++ b/forge-gui/res/cardsfolder/s/singe_mind_ogre.txt @@ -4,7 +4,7 @@ Types:Creature Ogre Mutant PT:3/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigReveal | TriggerDescription$ When CARDNAME enters the battlefield, target player reveals a card at random from their hand, then loses life equal to that card's converted mana cost. SVar:TrigReveal:DB$ Reveal | Random$ True | RememberRevealed$ True | ValidTgts$ Player | TgtPrompt$ Select target player | SubAbility$ DBLose -SVar:DBLose:DB$LoseLife | LifeAmount$ X | Defined$ Targeted | SubAbility$ DBCleanup | References$ X +SVar:DBLose:DB$LoseLife | LifeAmount$ X | Defined$ Targeted | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/singe_mind_ogre.jpg diff --git a/forge-gui/res/cardsfolder/s/sink_into_takenuma.txt b/forge-gui/res/cardsfolder/s/sink_into_takenuma.txt index 6b31db825ce..c19685aa422 100644 --- a/forge-gui/res/cardsfolder/s/sink_into_takenuma.txt +++ b/forge-gui/res/cardsfolder/s/sink_into_takenuma.txt @@ -1,8 +1,8 @@ Name:Sink into Takenuma ManaCost:3 B Types:Sorcery Arcane -A:SP$ ChangeZone | Cost$ 3 B | Origin$ Battlefield | Destination$ Hand | ChangeType$ Swamp.YouCtrl | ChangeNum$ X | Hidden$ True | RememberChanged$ True | SubAbility$ DBDiscard | References$ X | SpellDescription$ Sweep — Return any number of Swamps you control to their owner's hand. Target player discards a card for each Swamp returned this way. -SVar:DBDiscard:DB$ Discard | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ Y | Mode$ TgtChoose | References$ Y +A:SP$ ChangeZone | Cost$ 3 B | Origin$ Battlefield | Destination$ Hand | ChangeType$ Swamp.YouCtrl | ChangeNum$ X | Hidden$ True | RememberChanged$ True | SubAbility$ DBDiscard | SpellDescription$ Sweep — Return any number of Swamps you control to their owner's hand. Target player discards a card for each Swamp returned this way. +SVar:DBDiscard:DB$ Discard | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ Y | Mode$ TgtChoose SVar:X:Count$Valid Swamp.YouCtrl SVar:Y:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/sins_of_the_past.txt b/forge-gui/res/cardsfolder/s/sins_of_the_past.txt index d39f3b19a88..1eebbe9d9ba 100644 --- a/forge-gui/res/cardsfolder/s/sins_of_the_past.txt +++ b/forge-gui/res/cardsfolder/s/sins_of_the_past.txt @@ -1,7 +1,7 @@ Name:Sins of the Past ManaCost:4 B B Types:Sorcery -A:SP$ Effect | Cost$ 4 B B | ValidTgts$ Instant.YouCtrl,Sorcery.YouCtrl | TgtZone$ Graveyard | TgtPrompt$ Select target instant or sorcery card | RememberObjects$ Targeted | StaticAbilities$ Play | SubAbility$ DBEffect | ExileOnMoved$ Graveyard | References$ Play | SpellDescription$ Until end of turn, you may cast target instant or sorcery card from your graveyard without paying its mana cost. If that card would be put into your graveyard this turn, exile it instead. Exile Sins of the Past. +A:SP$ Effect | Cost$ 4 B B | ValidTgts$ Instant.YouCtrl,Sorcery.YouCtrl | TgtZone$ Graveyard | TgtPrompt$ Select target instant or sorcery card | RememberObjects$ Targeted | StaticAbilities$ Play | SubAbility$ DBEffect | ExileOnMoved$ Graveyard | SpellDescription$ Until end of turn, you may cast target instant or sorcery card from your graveyard without paying its mana cost. If that card would be put into your graveyard this turn, exile it instead. Exile Sins of the Past. SVar:Play:Mode$ Continuous | MayPlay$ True | MayPlayWithoutManaCost$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Graveyard | Description$ You may play remembered card. SVar:DBEffect:DB$ Effect | RememberObjects$ Targeted | ExileOnMoved$ Stack | ReplacementEffects$ ReplaceGraveyard | SVars$ MoveExile | SubAbility$ DBChange SVar:ReplaceGraveyard:Event$ Moved | ValidCard$ Card.IsRemembered | Origin$ Stack | Destination$ Graveyard | ReplaceWith$ MoveExile | Description$ If that card would be put into your graveyard this turn, exile it instead. diff --git a/forge-gui/res/cardsfolder/s/sirens_ruse.txt b/forge-gui/res/cardsfolder/s/sirens_ruse.txt index c82b2bcd507..72feba83a21 100644 --- a/forge-gui/res/cardsfolder/s/sirens_ruse.txt +++ b/forge-gui/res/cardsfolder/s/sirens_ruse.txt @@ -2,12 +2,12 @@ Name:Siren's Ruse ManaCost:1 U Types:Instant A:SP$ Pump | Cost$ 1 U | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | RememberObjects$ Targeted | SubAbility$ DBRememberPirate | SpellDescription$ Exile target creature you control, then return that card to the battlefield under its owner's control. If a Pirate was exiled this way, draw a card. | StackDescription$ SpellDescription -SVar:DBRememberPirate:DB$ StoreSVar | SVar$ WasPirate | Type$ Number | Expression$ 1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Pirate | ConditionCompare$ EQ1 | SubAbility$ DBChangeZone | References$ WasPirate +SVar:DBRememberPirate:DB$ StoreSVar | SVar$ WasPirate | Type$ Number | Expression$ 1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Pirate | ConditionCompare$ EQ1 | SubAbility$ DBChangeZoneasPirate SVar:DBChangeZone:DB$ ChangeZone | Defined$ ParentTarget | Origin$ Battlefield | Destination$ Exile | ForgetOtherRemembered$ True | RememberChanged$ True | SubAbility$ DBReturn SVar:DBReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ All | Destination$ Battlefield | GainControl$ True | SubAbility$ DBPirateDraw -SVar:DBPirateDraw:DB$ Draw | NumCards$ 1 | ConditionCheckSVar$ WasPirate | ConditionSVarCompare$ EQ1 | References$ WasPirate | SubAbility$ DBCleanup +SVar:DBPirateDraw:DB$ Draw | NumCards$ 1 | ConditionCheckSVar$ WasPirate | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBReinitialize -SVar:DBReinitialize:DB$ StoreSVar | SVar$ WasPirate | Type$ Number | Expression$ 0 | References$ WasPirate +SVar:DBReinitialize:DB$ StoreSVar | SVar$ WasPirate | Type$ Number | Expression$ 0 SVar:WasPirate:Number$0 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/sirens_ruse.jpg diff --git a/forge-gui/res/cardsfolder/s/sisay_weatherlight_captain.txt b/forge-gui/res/cardsfolder/s/sisay_weatherlight_captain.txt index fb6bff9ed7d..cd96f2046db 100644 --- a/forge-gui/res/cardsfolder/s/sisay_weatherlight_captain.txt +++ b/forge-gui/res/cardsfolder/s/sisay_weatherlight_captain.txt @@ -2,9 +2,9 @@ Name:Sisay, Weatherlight Captain ManaCost:2 W Types:Legendary Creature Human Soldier PT:2/2 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each color among other legendary permanents you control. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each color among other legendary permanents you control. SVar:X:Count$ColorsCtrl Permanent.Other+Legendary -A:AB$ ChangeZone | Cost$ W U B R G | Origin$ Library | Destination$ Battlefield | ChangeType$ Permanent.Legendary+cmcLTY | ChangeNum$ 1 | References$ Y | SpellDescription$ Search your library for a legendary permanent card with converted mana cost less than NICKNAME's power, put that card onto the battlefield, then shuffle your library. +A:AB$ ChangeZone | Cost$ W U B R G | Origin$ Library | Destination$ Battlefield | ChangeType$ Permanent.Legendary+cmcLTY | ChangeNum$ 1 | SpellDescription$ Search your library for a legendary permanent card with converted mana cost less than NICKNAME's power, put that card onto the battlefield, then shuffle your library. SVar:Y:Count$CardPower DeckHints:Type$Legendary Oracle:Sisay, Weatherlight Captain gets +1/+1 for each color among other legendary permanents you control.\n{W}{U}{B}{R}{G}: Search your library for a legendary permanent card with converted mana cost less than Sisay's power, put that card onto the battlefield, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/s/sivvis_valor.txt b/forge-gui/res/cardsfolder/s/sivvis_valor.txt index c7799ceaa3d..db1117c420b 100644 --- a/forge-gui/res/cardsfolder/s/sivvis_valor.txt +++ b/forge-gui/res/cardsfolder/s/sivvis_valor.txt @@ -2,7 +2,7 @@ Name:Sivvi's Valor ManaCost:2 W Types:Instant SVar:AltCost:Cost$ tapXType<1/Creature/creature> | IsPresent$ Plains.YouCtrl | Description$ If you control a Plains, you may tap an untapped creature you control rather than pay this spell's mana cost. -A:SP$ Effect | Cost$ 2 W | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect damage from | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,ExileEffect | References$ SelflessDamage,OutOfSight,SelflessDmg,ExileEffect | RememberObjects$ Targeted | StackDescription$ All damage that would be dealt to {c:Targeted} this turn is dealt to {p:You} instead. | SpellDescription$ All damage that would be dealt to target creature this turn is dealt to you instead. +A:SP$ Effect | Cost$ 2 W | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect damage from | ReplacementEffects$ SelflessDamage | Triggers$ OutOfSight | SVars$ SelflessDmg,ExileEffect | RememberObjects$ Targeted | StackDescription$ All damage that would be dealt to {c:Targeted} this turn is dealt to {p:You} instead. | SpellDescription$ All damage that would be dealt to target creature this turn is dealt to you instead. SVar:SelflessDamage:Event$ DamageDone | ValidTarget$ Card.IsRemembered | ReplaceWith$ SelflessDmg | DamageTarget$ You | Description$ All damage that would be dealt to target creature this turn is dealt to you instead. SVar:SelflessDmg:DB$ ReplaceEffect | VarName$ Affected | VarValue$ You | VarType$ Player SVar:OutOfSight:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Creature.IsRemembered | Execute$ ExileEffect | Static$ True diff --git a/forge-gui/res/cardsfolder/s/skarrgan_firebird.txt b/forge-gui/res/cardsfolder/s/skarrgan_firebird.txt index 6f28020813b..223a3d03aeb 100644 --- a/forge-gui/res/cardsfolder/s/skarrgan_firebird.txt +++ b/forge-gui/res/cardsfolder/s/skarrgan_firebird.txt @@ -4,7 +4,7 @@ Types:Creature Phoenix PT:3/3 K:Bloodthirst:3 K:Flying -A:AB$ ChangeZone | Cost$ R R R | Origin$ Graveyard | Destination$ Hand | ActivationZone$ Graveyard | CheckSVar$ OppDamaged | SVarCompare$ GE1 | References$ OppDamaged | SpellDescription$ Return CARDNAME from your graveyard to your hand. Activate this ability only if an opponent was dealt damage this turn. +A:AB$ ChangeZone | Cost$ R R R | Origin$ Graveyard | Destination$ Hand | ActivationZone$ Graveyard | CheckSVar$ OppDamaged | SVarCompare$ GE1 | SpellDescription$ Return CARDNAME from your graveyard to your hand. Activate this ability only if an opponent was dealt damage this turn. SVar:OppDamaged:Count$TotalOppDamageThisTurn SVar:Picture:http://www.wizards.com/global/images/magic/general/skarrgan_firebird.jpg Oracle:Bloodthirst 3 (If an opponent was dealt damage this turn, this creature enters the battlefield with three +1/+1 counters on it.)\nFlying\n{R}{R}{R}: Return Skarrgan Firebird from your graveyard to your hand. Activate this ability only if an opponent was dealt damage this turn. diff --git a/forge-gui/res/cardsfolder/s/skarrgan_skybreaker.txt b/forge-gui/res/cardsfolder/s/skarrgan_skybreaker.txt index 4f20b552f58..3f59f7af6e4 100644 --- a/forge-gui/res/cardsfolder/s/skarrgan_skybreaker.txt +++ b/forge-gui/res/cardsfolder/s/skarrgan_skybreaker.txt @@ -3,7 +3,7 @@ ManaCost:4 R R G Types:Creature Giant Shaman PT:3/3 K:Bloodthirst:3 -A:AB$ DealDamage | Cost$ 1 Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to its power to any target. +A:AB$ DealDamage | Cost$ 1 Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to its power to any target. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/skarrgan_skybreaker.jpg Oracle:Bloodthirst 3 (If an opponent was dealt damage this turn, this creature enters the battlefield with three +1/+1 counters on it.)\n{1}, Sacrifice Skarrgan Skybreaker: It deals damage equal to its power to any target. diff --git a/forge-gui/res/cardsfolder/s/skeletal_scrying.txt b/forge-gui/res/cardsfolder/s/skeletal_scrying.txt index 7da261c69c6..28461fad097 100644 --- a/forge-gui/res/cardsfolder/s/skeletal_scrying.txt +++ b/forge-gui/res/cardsfolder/s/skeletal_scrying.txt @@ -1,8 +1,8 @@ Name:Skeletal Scrying ManaCost:X B Types:Instant -A:SP$ Draw | Cost$ X B ExileFromGrave | NumCards$ X | SubAbility$ DBLoseLife | References$ X | SpellDescription$ You draw X cards and you lose X life. -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X +A:SP$ Draw | Cost$ X B ExileFromGrave | NumCards$ X | SubAbility$ DBLoseLife | SpellDescription$ You draw X cards and you lose X life. +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/skeletal_scrying.jpg diff --git a/forge-gui/res/cardsfolder/s/skeleton_scavengers.txt b/forge-gui/res/cardsfolder/s/skeleton_scavengers.txt index 6830d232201..d21858d848b 100644 --- a/forge-gui/res/cardsfolder/s/skeleton_scavengers.txt +++ b/forge-gui/res/cardsfolder/s/skeleton_scavengers.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Creature Skeleton PT:0/0 K:etbCounter:P1P1:1 -A:AB$ Regenerate | Cost$ X | CostDesc$ Pay {1} for each +1/+1 counter on CARDNAME: | References$ X,TrigPutCounter | RegenerationTrigger$ TrigPutCounter | SpellDescription$ Regenerate CARDNAME. When it regenerates this way, put a +1/+1 counter on it. +A:AB$ Regenerate | Cost$ X | CostDesc$ Pay {1} for each +1/+1 counter on CARDNAME: | RegenerationTrigger$ TrigPutCounter | SpellDescription$ Regenerate CARDNAME. When it regenerates this way, put a +1/+1 counter on it. SVar:TrigPutCounter:DB$ PutCounter | Defined$ TriggeredCardLKICopy | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ When it regenerates this way, put a +1/+1 counter on it. SVar:X:Count$CardCounters.P1P1 DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/s/skemfar_shadowsage.txt b/forge-gui/res/cardsfolder/s/skemfar_shadowsage.txt index ef755e168b1..160a929a458 100644 --- a/forge-gui/res/cardsfolder/s/skemfar_shadowsage.txt +++ b/forge-gui/res/cardsfolder/s/skemfar_shadowsage.txt @@ -4,8 +4,8 @@ Types:Creature Elf Cleric PT:2/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigCharm | TriggerDescription$ When CARDNAME enters the battlefield, ABILITY SVar:TrigCharm:DB$ Charm | Choices$ DBLoseLife,DBGainLife -SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | References$ X | SpellDescription$ Each opponent loses X life, where X is the greatest number of creatures you control that have a creature type in common. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SpellDescription$ You gain X life, where X is the greatest number of creatures you control that have a creature type in common. +SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | SpellDescription$ Each opponent loses X life, where X is the greatest number of creatures you control that have a creature type in common. +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SpellDescription$ You gain X life, where X is the greatest number of creatures you control that have a creature type in common. SVar:X:Count$MostProminentCreatureType Creature.YouCtrl DeckHas:Ability$LifeGain Oracle:When Skemfar Shadowsage enters the battlefield, choose one —\n• Each opponent loses X life, where X is the greatest number of creatures you control that have a creature type in common.\n• You gain X life, where X is the greatest number of creatures you control that have a creature type in common. diff --git a/forge-gui/res/cardsfolder/s/skirsdag_high_priest.txt b/forge-gui/res/cardsfolder/s/skirsdag_high_priest.txt index b5faae8f3ce..2f602764e5e 100644 --- a/forge-gui/res/cardsfolder/s/skirsdag_high_priest.txt +++ b/forge-gui/res/cardsfolder/s/skirsdag_high_priest.txt @@ -2,7 +2,7 @@ Name:Skirsdag High Priest ManaCost:1 B Types:Creature Human Cleric PT:1/2 -A:AB$ Token | Cost$ T tapXType<2/Creature> | CheckSVar$ Morbid | SVarCompare$ GE1 | LegacyImage$ b 5 5 demon flying isd | TokenAmount$ 1 | TokenScript$ b_5_5_demon_flying | TokenOwner$ You | CostDesc$ Morbid — {T}, Tap two untapped creatures you control: | References$ Morbid | SpellDescription$ Create a 5/5 black Demon creature token with flying. Activate this ability only if a creature died this turn. +A:AB$ Token | Cost$ T tapXType<2/Creature> | CheckSVar$ Morbid | SVarCompare$ GE1 | LegacyImage$ b 5 5 demon flying isd | TokenAmount$ 1 | TokenScript$ b_5_5_demon_flying | TokenOwner$ You | CostDesc$ Morbid — {T}, Tap two untapped creatures you control: | SpellDescription$ Create a 5/5 black Demon creature token with flying. Activate this ability only if a creature died this turn. SVar:Morbid:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/skirsdag_high_priest.jpg Oracle:Morbid — {T}, Tap two untapped creatures you control: Create a 5/5 black Demon creature token with flying. Activate this ability only if a creature died this turn. diff --git a/forge-gui/res/cardsfolder/s/skitterskin.txt b/forge-gui/res/cardsfolder/s/skitterskin.txt index da306d6c50f..47dc13980f4 100644 --- a/forge-gui/res/cardsfolder/s/skitterskin.txt +++ b/forge-gui/res/cardsfolder/s/skitterskin.txt @@ -4,7 +4,7 @@ Types:Creature Eldrazi Drone PT:4/3 K:Devoid K:CARDNAME can't block. -A:AB$ Regenerate | Cost$ 1 B | CheckSVar$ X | SVarCompare$ GE1 | References$ X | SpellDescription$ Regenerate CARDNAME. Activate this ability only if you control another colorless creature. +A:AB$ Regenerate | Cost$ 1 B | CheckSVar$ X | SVarCompare$ GE1 | SpellDescription$ Regenerate CARDNAME. Activate this ability only if you control another colorless creature. SVar:X:Count$Valid Creature.Colorless+YouCtrl+Other DeckHints:Color$Colorless & Keyword$Devoid SVar:Picture:http://www.wizards.com/global/images/magic/general/skitterskin.jpg diff --git a/forge-gui/res/cardsfolder/s/skred.txt b/forge-gui/res/cardsfolder/s/skred.txt index 7b6525de306..907cf91c472 100644 --- a/forge-gui/res/cardsfolder/s/skred.txt +++ b/forge-gui/res/cardsfolder/s/skred.txt @@ -1,7 +1,7 @@ Name:Skred ManaCost:R Types:Instant -A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ Skred deals damage to target creature equal to the number of snow permanents you control. +A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ Skred deals damage to target creature equal to the number of snow permanents you control. SVar:X:Count$TypeYouCtrl.Snow AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/skred.jpg diff --git a/forge-gui/res/cardsfolder/s/skull_raid.txt b/forge-gui/res/cardsfolder/s/skull_raid.txt index a8f1e5b6568..bbeac5066e9 100644 --- a/forge-gui/res/cardsfolder/s/skull_raid.txt +++ b/forge-gui/res/cardsfolder/s/skull_raid.txt @@ -2,7 +2,7 @@ Name:Skull Raid ManaCost:3 B Types:Sorcery A:SP$ Discard | Cost$ 3 B | ValidTgts$ Player.Opponent | TgtPrompt$ Select target opponent | Mode$ TgtChoose | NumCards$ 2 | RememberDiscarded$ True | SubAbility$ DBDraw | SpellDescription$ Target opponent discards two cards. If fewer than two cards were discarded this way, you draw cards equal to the difference. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X,Y | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Number$2/Minus.Y SVar:Y:Count$RememberedSize diff --git a/forge-gui/res/cardsfolder/s/skull_storm.txt b/forge-gui/res/cardsfolder/s/skull_storm.txt index 41f9272ac0b..983cd2c54d0 100644 --- a/forge-gui/res/cardsfolder/s/skull_storm.txt +++ b/forge-gui/res/cardsfolder/s/skull_storm.txt @@ -2,11 +2,11 @@ Name:Skull Storm ManaCost:7 B B Types:Sorcery T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigCopy | TriggerDescription$ When you cast this spell, copy it for each time you've cast your commander from the command zone this game. -SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | Amount$ X | References$ X | MayChooseTarget$ True +SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | Amount$ X | MayChooseTarget$ True SVar:X:Count$TotalCommanderCastFromCommandZone A:SP$ Sacrifice | Cost$ 7 B B | Defined$ Player.Opponent | SacValid$ Creature | RememberSacrificed$ True | SubAbility$ DBRepeatEach SVar:DBRepeatEach:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBLoseLife | SubAbility$ DBCleanup -SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ Y | References$ Z,Y | ConditionCheckSVar$ Z | ConditionSVarCompare$ EQ0 | References$ Z +SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ Y | ConditionCheckSVar$ Z | ConditionSVarCompare$ EQ0 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:PlayerCountRemembered$LifeTotal/HalfUp SVar:Z:RememberedLKI$Valid Card.RememberedPlayerCtrl diff --git a/forge-gui/res/cardsfolder/s/skullcage.txt b/forge-gui/res/cardsfolder/s/skullcage.txt index 3177600a10b..baad3cf3e98 100644 --- a/forge-gui/res/cardsfolder/s/skullcage.txt +++ b/forge-gui/res/cardsfolder/s/skullcage.txt @@ -2,8 +2,8 @@ Name:Skullcage ManaCost:4 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Opponent | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each opponent's upkeep, CARDNAME deals 2 damage to that player unless they have exactly three or exactly four cards in hand. -SVar:TrigDamage:DB$ DealDamage | NumDmg$ 2 | Defined$ TriggeredPlayer | ConditionCheckSVar$ X | ConditionSVarCompare$ LT3 | SubAbility$ DBDamage | References$ X -SVar:DBDamage:DB$ DealDamage | NumDmg$ 2 | Defined$ TriggeredPlayer | ConditionCheckSVar$ X | ConditionSVarCompare$ GT4 | References$ X +SVar:TrigDamage:DB$ DealDamage | NumDmg$ 2 | Defined$ TriggeredPlayer | ConditionCheckSVar$ X | ConditionSVarCompare$ LT3 | SubAbility$ DBDamage +SVar:DBDamage:DB$ DealDamage | NumDmg$ 2 | Defined$ TriggeredPlayer | ConditionCheckSVar$ X | ConditionSVarCompare$ GT4 SVar:X:TriggeredPlayer$CardsInHand SVar:Picture:http://www.wizards.com/global/images/magic/general/skullcage.jpg Oracle:At the beginning of each opponent's upkeep, Skullcage deals 2 damage to that player unless they have exactly three or exactly four cards in hand. diff --git a/forge-gui/res/cardsfolder/s/skullmane_baku.txt b/forge-gui/res/cardsfolder/s/skullmane_baku.txt index 1dfa5d8e7de..1a857b876d0 100644 --- a/forge-gui/res/cardsfolder/s/skullmane_baku.txt +++ b/forge-gui/res/cardsfolder/s/skullmane_baku.txt @@ -4,7 +4,7 @@ Types:Creature Spirit PT:2/1 T:Mode$ SpellCast | ValidCard$ Spirit,Arcane | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ Whenever you cast a Spirit or Arcane spell, you may put a ki counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ KI | CounterNum$ 1 -A:AB$ Pump | Cost$ 1 T SubCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | References$ X | SpellDescription$ Target creature gets -X/-X until end of turn. +A:AB$ Pump | Cost$ 1 T SubCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn. SVar:X:Count$xPaid AI:RemoveDeck:Random DeckHints:Type$Spirit|Arcane diff --git a/forge-gui/res/cardsfolder/s/skullmulcher.txt b/forge-gui/res/cardsfolder/s/skullmulcher.txt index 1bfb0f46b90..0692a210ee7 100644 --- a/forge-gui/res/cardsfolder/s/skullmulcher.txt +++ b/forge-gui/res/cardsfolder/s/skullmulcher.txt @@ -4,7 +4,7 @@ Types:Creature Elemental PT:3/3 K:Devour:1 T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card for each creature it devoured. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X SVar:X:Count$Devoured Card SVar:Picture:http://www.wizards.com/global/images/magic/general/skullmulcher.jpg Oracle:Devour 1 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with that many +1/+1 counters on it.)\nWhen Skullmulcher enters the battlefield, draw a card for each creature it devoured. diff --git a/forge-gui/res/cardsfolder/s/skybreen.txt b/forge-gui/res/cardsfolder/s/skybreen.txt index c267a214e0b..e3c091ef7d1 100644 --- a/forge-gui/res/cardsfolder/s/skybreen.txt +++ b/forge-gui/res/cardsfolder/s/skybreen.txt @@ -4,7 +4,7 @@ Types:Plane Kaldheim S:Mode$ Continuous | EffectZone$ Command | Affected$ Card.TopLibrary | AffectedZone$ Library | MayLookAt$ Player | Description$ Players play with the top card of their libraries revealed. S:Mode$ CantBeCast | EffectZone$ Command | ValidCard$ Card.sharesCardTypeWith EachTopLibrary | Description$ Spells that share a card type with the top card of a library can't be cast. T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, target player loses life equal to the number of cards in their hand. -SVar:RolledChaos:DB$ LoseLife | ValidTgts$ Player | LifeAmount$ Y | References$ Y +SVar:RolledChaos:DB$ LoseLife | ValidTgts$ Player | LifeAmount$ Y SVar:Y:TargetedPlayer$CardsInHand SVar:Picture:http://www.wizards.com/global/images/magic/general/skybreen.jpg SVar:AIRollPlanarDieParams:Mode$ Always | LowPriority$ True | MaxRollsPerTurn$ 9 diff --git a/forge-gui/res/cardsfolder/s/skyclave_apparition.txt b/forge-gui/res/cardsfolder/s/skyclave_apparition.txt index 61a975b0eb0..c5487000dc6 100755 --- a/forge-gui/res/cardsfolder/s/skyclave_apparition.txt +++ b/forge-gui/res/cardsfolder/s/skyclave_apparition.txt @@ -5,7 +5,7 @@ PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, exile up to one target nonland, nontoken permanent you don't control with converted mana cost 4 or less. SVar:TrigExile:DB$ ChangeZone | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Permanent.nonLand+nonToken+YouDontCtrl+cmcLE4 | TgtPrompt$ Select target nonland, nontoken permanent you don't control with converted mana cost 4 or less. | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SpellDescription$ Exile up to one target nonland, nontoken permanent you don't control with converted mana cost 4 or less. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigToken | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, the exiled card's owner creates an X/X blue Illusion creature token, where X is the converted mana cost of the exiled card. -SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ u_x_x_illusion | TokenOwner$ RememberedOwner | TokenPower$ X | TokenToughness$ X | References$ X | SubAbility$ DBCleanup +SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ u_x_x_illusion | TokenOwner$ RememberedOwner | TokenPower$ X | TokenToughness$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost Oracle:When Skyclave Apparition enters the battlefield, exile up to one target nonland, nontoken permanent you don't control with converted mana cost 4 or less.\nWhen Skyclave Apparition leaves the battlefield, the exiled card's owner creates an X/X blue Illusion creature token, where X is the converted mana cost of the exiled card. diff --git a/forge-gui/res/cardsfolder/s/skyclave_plunder.txt b/forge-gui/res/cardsfolder/s/skyclave_plunder.txt index e824393c957..dc2b0827446 100644 --- a/forge-gui/res/cardsfolder/s/skyclave_plunder.txt +++ b/forge-gui/res/cardsfolder/s/skyclave_plunder.txt @@ -1,7 +1,7 @@ Name:Skyclave Plunder ManaCost:4 U Types:Sorcery -A:SP$ Dig | Cost$ 4 U | DigNum$ X | References$ X | ChangeNum$ 3 | DestinationZone$ Hand | DestinationZone2$ Library | LibraryPosition$ -1 | RestRandomOrder$ True | StackDescription$ SpellDescription | SpellDescription$ Look at the top X cards of your library, where X is three plus the number of creatures in your party. Put three of those cards into your hand and the rest on the bottom of your library in a random order. +A:SP$ Dig | Cost$ 4 U | DigNum$ X | ChangeNum$ 3 | DestinationZone$ Hand | DestinationZone2$ Library | LibraryPosition$ -1 | RestRandomOrder$ True | StackDescription$ SpellDescription | SpellDescription$ Look at the top X cards of your library, where X is three plus the number of creatures in your party. Put three of those cards into your hand and the rest on the bottom of your library in a random order. SVar:X:Count$Party/Plus.3 DeckHas:Ability$Party DeckHints:Type$Cleric|Rogue|Warrior|Wizard diff --git a/forge-gui/res/cardsfolder/s/skyfire_kirin.txt b/forge-gui/res/cardsfolder/s/skyfire_kirin.txt index 6e9be35e4d4..d138ed5defe 100644 --- a/forge-gui/res/cardsfolder/s/skyfire_kirin.txt +++ b/forge-gui/res/cardsfolder/s/skyfire_kirin.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Kirin Spirit PT:3/3 K:Flying T:Mode$ SpellCast | ValidCard$ Spirit,Arcane | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigChange | TriggerDescription$ Whenever you cast a Spirit or Arcane spell, you may gain control of target creature with that spell's converted mana cost until end of turn. -SVar:TrigChange:DB$ GainControl | ValidTgts$ Creature.cmcEQX | TgtPrompt$ Select target creature | LoseControl$ EOT | NewController$ You | References$ X +SVar:TrigChange:DB$ GainControl | ValidTgts$ Creature.cmcEQX | TgtPrompt$ Select target creature | LoseControl$ EOT | NewController$ You SVar:X:Count$TriggeredCardManaCost DeckHints:Type$Spirit|Arcane SVar:Picture:http://www.wizards.com/global/images/magic/general/skyfire_kirin.jpg diff --git a/forge-gui/res/cardsfolder/s/skyreaping.txt b/forge-gui/res/cardsfolder/s/skyreaping.txt index f9868312894..d60fab8efc0 100644 --- a/forge-gui/res/cardsfolder/s/skyreaping.txt +++ b/forge-gui/res/cardsfolder/s/skyreaping.txt @@ -1,7 +1,7 @@ Name:Skyreaping ManaCost:1 G Types:Sorcery -A:SP$ DamageAll | Cost$ 1 G | ValidCards$ Creature.withFlying | ValidDescription$ each creature with flying. | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to each creature with flying equal to your devotion to green. +A:SP$ DamageAll | Cost$ 1 G | ValidCards$ Creature.withFlying | ValidDescription$ each creature with flying. | NumDmg$ X | SpellDescription$ CARDNAME deals damage to each creature with flying equal to your devotion to green. SVar:X:Count$Devotion.Green SVar:Picture:http://www.wizards.com/global/images/magic/general/skyreaping.jpg Oracle:Skyreaping deals damage to each creature with flying equal to your devotion to green. (Each {G} in the mana costs of permanents you control counts toward your devotion to green.) diff --git a/forge-gui/res/cardsfolder/s/skyscribing.txt b/forge-gui/res/cardsfolder/s/skyscribing.txt index 0c1a682a19d..2db882f1d56 100644 --- a/forge-gui/res/cardsfolder/s/skyscribing.txt +++ b/forge-gui/res/cardsfolder/s/skyscribing.txt @@ -1,7 +1,7 @@ Name:Skyscribing ManaCost:X U U Types:Sorcery -A:SP$ Draw | Cost$ X U U | Defined$ Player | NumCards$ X | References$ X | SpellDescription$ Each player draws X cards. +A:SP$ Draw | Cost$ X U U | Defined$ Player | NumCards$ X | SpellDescription$ Each player draws X cards. A:AB$ Draw | Cost$ 2 U Reveal<1/CARDNAME> | NumCards$ 1 | Defined$ Player | Forecast$ True | SpellDescription$ Each player draws a card. (Activate this ability only during your upkeep and only once each turn.) SVar:X:Count$xPaid AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/skyship_weatherlight.txt b/forge-gui/res/cardsfolder/s/skyship_weatherlight.txt index 926804b9c39..d5c30afa16e 100644 --- a/forge-gui/res/cardsfolder/s/skyship_weatherlight.txt +++ b/forge-gui/res/cardsfolder/s/skyship_weatherlight.txt @@ -2,7 +2,7 @@ Name:Skyship Weatherlight ManaCost:4 Types:Legendary Artifact T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSearch | TriggerDescription$ When CARDNAME enters the battlefield, search your library for any number of artifact and/or creature cards and exile them. Then shuffle your library. -SVar:TrigSearch:DB$ ChangeZone | ChangeType$ Creature.YouOwn,Artifact.YouOwn | ChangeNum$ X | Origin$ Library | Destination$ Exile | RememberChanged$ True | References$ X +SVar:TrigSearch:DB$ ChangeZone | ChangeType$ Creature.YouOwn,Artifact.YouOwn | ChangeNum$ X | Origin$ Library | Destination$ Exile | RememberChanged$ True A:AB$ ChooseCard | Cost$ 4 T | Defined$ You | Amount$ 1 | AtRandom$ True | Choices$ Card.IsRemembered | ChoiceZone$ Exile | SubAbility$ DBChange | SpellDescription$ Choose a card at random that was exiled with CARDNAME. Put that card into its owner's hand. SVar:DBChange:DB$ ChangeZone | Defined$ ChosenCard | Origin$ Exile | Destination$ Hand | ForgetChanged$ True | Hidden$ True T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup diff --git a/forge-gui/res/cardsfolder/s/skyshroud_war_beast.txt b/forge-gui/res/cardsfolder/s/skyshroud_war_beast.txt index df43a578f72..efc009f4882 100644 --- a/forge-gui/res/cardsfolder/s/skyshroud_war_beast.txt +++ b/forge-gui/res/cardsfolder/s/skyshroud_war_beast.txt @@ -5,7 +5,7 @@ PT:*/* K:Trample K:ETBReplacement:Other:ChooseP SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. -S:Mode$ Continuous | EffectZone$ Battlefield | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of nonbasic lands the chosen player controls. +S:Mode$ Continuous | EffectZone$ Battlefield | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of nonbasic lands the chosen player controls. SVar:X:Count$Valid Land.nonBasic+ChosenCtrl AI:RemoveDeck:Random SVar:NeedsToPlayVar:Z GE1 diff --git a/forge-gui/res/cardsfolder/s/slag_fiend.txt b/forge-gui/res/cardsfolder/s/slag_fiend.txt index 8d7366cda80..71563b35bed 100644 --- a/forge-gui/res/cardsfolder/s/slag_fiend.txt +++ b/forge-gui/res/cardsfolder/s/slag_fiend.txt @@ -2,7 +2,7 @@ Name:Slag Fiend ManaCost:R Types:Creature Construct PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of artifact cards in all graveyards. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of artifact cards in all graveyards. SVar:X:Count$TypeInAllYards.Artifact AI:RemoveDeck:Random SVar:NeedsToPlayVar:X GE1 diff --git a/forge-gui/res/cardsfolder/s/slate_of_ancestry.txt b/forge-gui/res/cardsfolder/s/slate_of_ancestry.txt index b38fce4849f..ade07634b39 100644 --- a/forge-gui/res/cardsfolder/s/slate_of_ancestry.txt +++ b/forge-gui/res/cardsfolder/s/slate_of_ancestry.txt @@ -1,7 +1,7 @@ Name:Slate of Ancestry ManaCost:4 Types:Artifact -A:AB$ Draw | Cost$ 4 T Discard<1/Hand> | NumCards$ X | References$ X | SpellDescription$ Draw a card for each creature you control. +A:AB$ Draw | Cost$ 4 T Discard<1/Hand> | NumCards$ X | SpellDescription$ Draw a card for each creature you control. SVar:X:Count$TypeYouCtrl.Creature AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/slate_of_ancestry.jpg diff --git a/forge-gui/res/cardsfolder/s/slaying_fire.txt b/forge-gui/res/cardsfolder/s/slaying_fire.txt index ec408a25870..6c6d55e4d92 100644 --- a/forge-gui/res/cardsfolder/s/slaying_fire.txt +++ b/forge-gui/res/cardsfolder/s/slaying_fire.txt @@ -1,6 +1,6 @@ Name:Slaying Fire ManaCost:2 R Types:Instant -A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | AIManaPref$ R | SpellDescription$ CARDNAME deals 3 damage to any target. Adamant — If at least three red mana was spent to cast this spell, it deals 4 damage instead. +A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | AIManaPref$ R | SpellDescription$ CARDNAME deals 3 damage to any target. Adamant — If at least three red mana was spent to cast this spell, it deals 4 damage instead. SVar:X:Count$Adamant.Red.4.3 Oracle:Slaying Fire deals 3 damage to any target.\nAdamant — If at least three red mana was spent to cast this spell, it deals 4 damage instead. diff --git a/forge-gui/res/cardsfolder/s/slime_molding.txt b/forge-gui/res/cardsfolder/s/slime_molding.txt index a97b8bfe77e..5fd423c5a2f 100644 --- a/forge-gui/res/cardsfolder/s/slime_molding.txt +++ b/forge-gui/res/cardsfolder/s/slime_molding.txt @@ -1,7 +1,7 @@ Name:Slime Molding ManaCost:X G Types:Sorcery -A:SP$ Token | Cost$ X G | TokenAmount$ 1 | TokenScript$ g_x_x_ooze | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | LegacyImage$ g x x ooze rtr | SpellDescription$ Create an X/X green Ooze creature token. +A:SP$ Token | Cost$ X G | TokenAmount$ 1 | TokenScript$ g_x_x_ooze | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | LegacyImage$ g x x ooze rtr | SpellDescription$ Create an X/X green Ooze creature token. SVar:X:Count$xPaid DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/slime_molding.jpg diff --git a/forge-gui/res/cardsfolder/s/slithermuse.txt b/forge-gui/res/cardsfolder/s/slithermuse.txt index 85726fc8375..e5cacad6848 100644 --- a/forge-gui/res/cardsfolder/s/slithermuse.txt +++ b/forge-gui/res/cardsfolder/s/slithermuse.txt @@ -5,7 +5,7 @@ PT:3/3 K:Evoke:3 U T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Any | Execute$ TrigChooseOpp | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, choose an opponent. If that player has more cards in hand than you, draw cards equal to the difference. SVar:TrigChooseOpp:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ MostCardsInHand | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X,Y | Defined$ You | IsPresent$ Card.ChosenCtrl | PresentCompare$ GTY | PresentZone$ Hand +SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ You | IsPresent$ Card.ChosenCtrl | PresentCompare$ GTY | PresentZone$ Hand SVar:Y:Count$InYourHand SVar:X:Count$InChosenHand/Minus.Y SVar:Picture:http://www.wizards.com/global/images/magic/general/slithermuse.jpg diff --git a/forge-gui/res/cardsfolder/s/slumbering_dragon.txt b/forge-gui/res/cardsfolder/s/slumbering_dragon.txt index 94f37aa10f9..f7a97e0ce36 100644 --- a/forge-gui/res/cardsfolder/s/slumbering_dragon.txt +++ b/forge-gui/res/cardsfolder/s/slumbering_dragon.txt @@ -3,7 +3,7 @@ ManaCost:R Types:Creature Dragon PT:3/3 K:Flying -S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can't attack or block. | CheckSVar$ X | SVarCompare$ LT5 | References$ X | Description$ CARDNAME can't attack or block unless it has five or more +1/+1 counters on it. +S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can't attack or block. | CheckSVar$ X | SVarCompare$ LT5 | Description$ CARDNAME can't attack or block unless it has five or more +1/+1 counters on it. T:Mode$ Attacks | ValidCard$ Creature | Attacked$ You,Planeswalker.YouCtrl | TriggerZones$ Battlefield | Execute$ DragonWake | TriggerDescription$ Whenever a creature attacks you or a planeswalker you control, put a +1/+1 counter on CARDNAME. SVar:DragonWake:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 SVar:X:Count$CardCounters.P1P1 diff --git a/forge-gui/res/cardsfolder/s/smitten_swordmaster_curry_favor.txt b/forge-gui/res/cardsfolder/s/smitten_swordmaster_curry_favor.txt index cce96927346..148da971788 100644 --- a/forge-gui/res/cardsfolder/s/smitten_swordmaster_curry_favor.txt +++ b/forge-gui/res/cardsfolder/s/smitten_swordmaster_curry_favor.txt @@ -11,8 +11,8 @@ ALTERNATE Name:Curry Favor ManaCost:B Types:Sorcery Adventure -A:SP$ GainLife | Cost$ B | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBLoseLife | SpellDescription$ You gain X life and each opponent loses X life, where X is the number of Knights you control. -SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | References$ X +A:SP$ GainLife | Cost$ B | Defined$ You | LifeAmount$ X | SubAbility$ DBLoseLife | SpellDescription$ You gain X life and each opponent loses X life, where X is the number of Knights you control. +SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X SVar:X:Count$Valid Knight.YouCtrl DeckHas:Ability$LifeGain Oracle:You gain X life and each opponent loses X life, where X is the number of Knights you control. diff --git a/forge-gui/res/cardsfolder/s/smokestack.txt b/forge-gui/res/cardsfolder/s/smokestack.txt index 0e2dc65bc56..85aec1d403f 100644 --- a/forge-gui/res/cardsfolder/s/smokestack.txt +++ b/forge-gui/res/cardsfolder/s/smokestack.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigSacrifice | TriggerDescription$ At the beginning of each player's upkeep, that player sacrifices a permanent for each soot counter on CARDNAME T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a soot counter on CARDNAME. -SVar:TrigSacrifice:DB$ Sacrifice | Defined$ TriggeredPlayer | Amount$ X | References$ X | SacValid$ Permanent | SacMessage$ Permanent +SVar:TrigSacrifice:DB$ Sacrifice | Defined$ TriggeredPlayer | Amount$ X | SacValid$ Permanent | SacMessage$ Permanent SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ SOOT | CounterNum$ 1 SVar:X:Count$CardCounters.SOOT AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/smoldering_marsh.txt b/forge-gui/res/cardsfolder/s/smoldering_marsh.txt index 37ede33b2e5..7426faed67b 100644 --- a/forge-gui/res/cardsfolder/s/smoldering_marsh.txt +++ b/forge-gui/res/cardsfolder/s/smoldering_marsh.txt @@ -2,7 +2,7 @@ Name:Smoldering Marsh ManaCost:no cost Types:Land Swamp Mountain R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ LandTapped | Description$ CARDNAME enters the battlefield tapped unless you control two or more basic lands. -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar | ConditionSVarCompare$ LE1 | References$ ETBCheckSVar | SubAbility$ MoveToPlay +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar | ConditionSVarCompare$ LE1 | SubAbility$ MoveToPlay SVar:MoveToPlay:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard SVar:ETBCheckSVar:Count$LastStateBattlefield Land.Basic+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/smoldering_marsh.jpg diff --git a/forge-gui/res/cardsfolder/s/snake_basket.txt b/forge-gui/res/cardsfolder/s/snake_basket.txt index fb71adfdb4d..9329730140b 100644 --- a/forge-gui/res/cardsfolder/s/snake_basket.txt +++ b/forge-gui/res/cardsfolder/s/snake_basket.txt @@ -1,7 +1,7 @@ Name:Snake Basket ManaCost:4 Types:Artifact -A:AB$ Token | Cost$ X Sac<1/CARDNAME> | TokenOwner$ You | TokenAmount$ X | References$ X | TokenScript$ g_1_1_snake | LegacyImage$ g 1 1 snake zen | SorcerySpeed$ True | SpellDescription$ Create X 1/1 green Snake creature tokens. Activate this ability only any time you could cast a sorcery. +A:AB$ Token | Cost$ X Sac<1/CARDNAME> | TokenOwner$ You | TokenAmount$ X | TokenScript$ g_1_1_snake | LegacyImage$ g 1 1 snake zen | SorcerySpeed$ True | SpellDescription$ Create X 1/1 green Snake creature tokens. Activate this ability only any time you could cast a sorcery. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/snake_basket.jpg Oracle:{X}, Sacrifice Snake Basket: Create X 1/1 green Snake creature tokens. Activate this ability only any time you could cast a sorcery. diff --git a/forge-gui/res/cardsfolder/s/snowblind.txt b/forge-gui/res/cardsfolder/s/snowblind.txt index 133b0e390fe..54de71e7c61 100644 --- a/forge-gui/res/cardsfolder/s/snowblind.txt +++ b/forge-gui/res/cardsfolder/s/snowblind.txt @@ -3,8 +3,8 @@ ManaCost:3 G Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 3 G | ValidTgts$ Creature | AILogic$ Curse -S:Mode$ Continuous | Affected$ Card.AttachedBy | CheckSVar$ CheckAttacking | AddPower$ AttackingX | AddToughness$ AttackingY | References$ CheckAttacking | Description$ Enchanted creature gets -X/-Y. If that creature is attacking, X is the number of snow lands defending player controls. Otherwise, X is the number of snow lands its controller controls. Y is equal to X or to enchanted creature's toughness minus 1, whichever is smaller. -S:Mode$ Continuous | Affected$ Card.AttachedBy | CheckSVar$ CheckAttacking | SVarCompare$ EQ0 | AddPower$ NotAttackingX | AddToughness$ NotAttackingY | References$ CheckAttacking +S:Mode$ Continuous | Affected$ Card.AttachedBy | CheckSVar$ CheckAttacking | AddPower$ AttackingX | AddToughness$ AttackingY | Description$ Enchanted creature gets -X/-Y. If that creature is attacking, X is the number of snow lands defending player controls. Otherwise, X is the number of snow lands its controller controls. Y is equal to X or to enchanted creature's toughness minus 1, whichever is smaller. +S:Mode$ Continuous | Affected$ Card.AttachedBy | CheckSVar$ CheckAttacking | SVarCompare$ EQ0 | AddPower$ NotAttackingX | AddToughness$ NotAttackingY SVar:CheckAttacking:Count$Valid Card.AttachedBy+attacking SVar:AttackingX:Count$Valid Land.DefenderCtrl+Snow/Negative SVar:NotAttackingX:Count$Valid Land.Snow+EnchantedControllerCtrl/Negative diff --git a/forge-gui/res/cardsfolder/s/so_tiny.txt b/forge-gui/res/cardsfolder/s/so_tiny.txt index 8c4560df64b..5af61bc4574 100644 --- a/forge-gui/res/cardsfolder/s/so_tiny.txt +++ b/forge-gui/res/cardsfolder/s/so_tiny.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Flash K:Enchant creature A:SP$ Attach | Cost$ U | ValidTgts$ Creature | AILogic$ Curse -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | References$ X,Y | Description$ Enchanted creature gets -2/-0. It gets -6/-0 instead as long as its controller has seven or more cards in their graveyard. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | Description$ Enchanted creature gets -2/-0. It gets -6/-0 instead as long as its controller has seven or more cards in their graveyard. SVar:X:Count$Compare Y GE7.6.2 SVar:Y:Count$ValidGraveyard Card.EnchantedControllerCtrl Oracle:Flash\nEnchant creature\nEnchanted creature gets -2/-0. It gets -6/-0 instead as long as its controller has seven or more cards in their graveyard. diff --git a/forge-gui/res/cardsfolder/s/sokenzan_spellblade.txt b/forge-gui/res/cardsfolder/s/sokenzan_spellblade.txt index f96bf68b4cf..9c5219b7445 100644 --- a/forge-gui/res/cardsfolder/s/sokenzan_spellblade.txt +++ b/forge-gui/res/cardsfolder/s/sokenzan_spellblade.txt @@ -3,7 +3,7 @@ ManaCost:4 R Types:Creature Ogre Samurai Shaman PT:2/3 K:Bushido:1 -A:AB$ Pump | Cost$ 1 R | Defined$ Self | NumAtt$ +X | References$ X | SpellDescription$ CARDNAME gets +X/+0 until end of turn, where X is the number of cards in your hand. +A:AB$ Pump | Cost$ 1 R | Defined$ Self | NumAtt$ +X | SpellDescription$ CARDNAME gets +X/+0 until end of turn, where X is the number of cards in your hand. SVar:X:Count$InYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/sokenzan_spellblade.jpg Oracle:Bushido 1 (Whenever this creature blocks or becomes blocked, it gets +1/+1 until end of turn.)\n{1}{R}: Sokenzan Spellblade gets +X/+0 until end of turn, where X is the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/s/solar_blaze.txt b/forge-gui/res/cardsfolder/s/solar_blaze.txt index 1f15642d131..9023c23c6ee 100644 --- a/forge-gui/res/cardsfolder/s/solar_blaze.txt +++ b/forge-gui/res/cardsfolder/s/solar_blaze.txt @@ -1,7 +1,7 @@ Name:Solar Blaze ManaCost:2 R W Types:Sorcery -A:SP$ EachDamage | Cost$ 2 R W | ValidCards$ Creature | NumDmg$ X | References$ X | DamageDesc$ damage equal to its power | DefinedCards$ Self | SpellDescription$ Each creature deals damage to itself equal to its power. +A:SP$ EachDamage | Cost$ 2 R W | ValidCards$ Creature | NumDmg$ X | DamageDesc$ damage equal to its power | DefinedCards$ Self | SpellDescription$ Each creature deals damage to itself equal to its power. SVar:X:Count$CardPower AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/soldevi_excavations.txt b/forge-gui/res/cardsfolder/s/soldevi_excavations.txt index 2ef2ea17797..67daa08e36c 100644 --- a/forge-gui/res/cardsfolder/s/soldevi_excavations.txt +++ b/forge-gui/res/cardsfolder/s/soldevi_excavations.txt @@ -5,8 +5,8 @@ A:AB$ Mana | Cost$ T | Produced$ C U | SpellDescription$ Add {C}{U}. A:AB$ Scry | Cost$ 1 T | ScryNum$ 1 | SpellDescription$ Scry 1. (Look at the top card of your library. You may put that card on the bottom of your library.) R:Event$ Moved | Destination$ Battlefield | ValidCard$ Card.Self | ReplaceWith$ PayBeforeETB | Description$ If CARDNAME would enter the battlefield, sacrifice an untapped Island instead. If you do, put CARDNAME onto the battlefield. If you don't, put it into its owner's graveyard. SVar:PayBeforeETB:DB$ Sacrifice | SacValid$ Island.untapped | Defined$ You | RememberSacrificed$ True | SubAbility$ MoveToGraveyard -SVar:MoveToGraveyard:DB$ ChangeZone | Origin$ All | Destination$ Graveyard | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ MoveToBattlefield -SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X | SubAbility$ DBCleanup +SVar:MoveToGraveyard:DB$ ChangeZone | Origin$ All | Destination$ Graveyard | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ MoveToBattlefield +SVar:MoveToBattlefield:DB$ ChangeZone | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/soldevi_sentry.txt b/forge-gui/res/cardsfolder/s/soldevi_sentry.txt index 6e28789291a..3d8f57609b8 100644 --- a/forge-gui/res/cardsfolder/s/soldevi_sentry.txt +++ b/forge-gui/res/cardsfolder/s/soldevi_sentry.txt @@ -2,7 +2,7 @@ Name:Soldevi Sentry ManaCost:1 Types:Artifact Creature Soldier PT:1/1 -A:AB$ Regenerate | Cost$ 1 | ValidTgts$ Opponent | Defined$ Self | RegenerationTrigger$ TrigDraw | RememberObjects$ TargetedPlayer | References$ TrigDraw | SpellDescription$ Choose target opponent. Regenerate CARDNAME. When it regenerates this way, that player may draw a card. +A:AB$ Regenerate | Cost$ 1 | ValidTgts$ Opponent | Defined$ Self | RegenerationTrigger$ TrigDraw | RememberObjects$ TargetedPlayer | SpellDescription$ Choose target opponent. Regenerate CARDNAME. When it regenerates this way, that player may draw a card. SVar:TrigDraw:DB$ Draw | Defined$ Remembered | NumCards$ 1 | OptionalDecider$ True | SpellDescription$ When it regenerates this way, that player may draw a card. SVar:Picture:http://www.wizards.com/global/images/magic/general/soldevi_sentry.jpg Oracle:{1}: Choose target opponent. Regenerate Soldevi Sentry. When it regenerates this way, that player may draw a card. diff --git a/forge-gui/res/cardsfolder/s/solidarity_of_heroes.txt b/forge-gui/res/cardsfolder/s/solidarity_of_heroes.txt index 341c6119e9d..8d5d554b3e9 100644 --- a/forge-gui/res/cardsfolder/s/solidarity_of_heroes.txt +++ b/forge-gui/res/cardsfolder/s/solidarity_of_heroes.txt @@ -2,7 +2,7 @@ Name:Solidarity of Heroes ManaCost:1 G Types:Instant K:Strive:1 G -A:SP$ MultiplyCounter | Cost$ 1 G | CounterType$ P1P1 | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | SpellDescription$ Choose any number of target creatures. Double the number of +1/+1 counters on each of them. +A:SP$ MultiplyCounter | Cost$ 1 G | CounterType$ P1P1 | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxTargets | SpellDescription$ Choose any number of target creatures. Double the number of +1/+1 counters on each of them. SVar:MaxTargets:Count$Valid Creature DeckNeeds:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/solidarity_of_heroes.jpg diff --git a/forge-gui/res/cardsfolder/s/soltari_guerrillas.txt b/forge-gui/res/cardsfolder/s/soltari_guerrillas.txt index 165d58b6a98..8d6650e2498 100644 --- a/forge-gui/res/cardsfolder/s/soltari_guerrillas.txt +++ b/forge-gui/res/cardsfolder/s/soltari_guerrillas.txt @@ -3,9 +3,9 @@ ManaCost:2 R W Types:Creature Soltari Soldier PT:3/2 K:Shadow -A:AB$ Effect | Cost$ 0 | Name$ Soltari Guerrillas Effect | ReplacementEffects$ EventGuerrillasDamageDone | SVars$ DamageGuerrillasCreature,GuerrillasX | References$ EventGuerrillasDamageDone,DamageGuerrillasCreature,GuerrillasX | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberObjects$ Targeted | ImprintCards$ Self | SpellDescription$ The next time CARDNAME would deal combat damage to an opponent this turn, it deals that damage to target creature instead. +A:AB$ Effect | Cost$ 0 | Name$ Soltari Guerrillas Effect | ReplacementEffects$ EventGuerrillasDamageDone | SVars$ DamageGuerrillasCreature,GuerrillasX | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberObjects$ Targeted | ImprintCards$ Self | SpellDescription$ The next time CARDNAME would deal combat damage to an opponent this turn, it deals that damage to target creature instead. SVar:EventGuerrillasDamageDone:Event$ DamageDone | ValidSource$ Card.IsImprinted | ValidTarget$ Opponent | ReplaceWith$ DamageGuerrillasCreature | IsCombat$ True | Description$ The next time Soltari Guerrillas would deal combat damage to an opponent this turn, it deals that damage to target creature instead. -SVar:DamageGuerrillasCreature:DB$ DealDamage | CombatDamage$ True | NumDmg$ GuerrillasX | References$ GuerrillasX | Defined$ Remembered | DamageSource$ Imprinted +SVar:DamageGuerrillasCreature:DB$ DealDamage | CombatDamage$ True | NumDmg$ GuerrillasX | Defined$ Remembered | DamageSource$ Imprinted SVar:GuerrillasX:ReplaceCount$DamageAmount AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/soltari_guerrillas.jpg diff --git a/forge-gui/res/cardsfolder/s/song_of_blood.txt b/forge-gui/res/cardsfolder/s/song_of_blood.txt index 1b1aa1144a8..92244a89952 100644 --- a/forge-gui/res/cardsfolder/s/song_of_blood.txt +++ b/forge-gui/res/cardsfolder/s/song_of_blood.txt @@ -2,9 +2,9 @@ Name:Song of Blood ManaCost:1 R Types:Sorcery A:SP$ Mill | Cost$ 1 R | NumCards$ 4 | Defined$ You | RememberMilled$ True | SubAbility$ DBEffect | SpellDescription$ Mill four cards. Whenever a creature attacks this turn, it gets +1/+0 until end of turn for each creature card put into your graveyard this way. -SVar:DBEffect:DB$ Effect | Name$ Song of Blood Effect | Triggers$ TrigAttacks | SVars$ Pump,X | References$ X | RememberObjects$ Remembered +SVar:DBEffect:DB$ Effect | Name$ Song of Blood Effect | Triggers$ TrigAttacks | SVars$ Pump,X | RememberObjects$ Remembered SVar:TrigAttacks:Mode$ Attacks | ValidCard$ Creature.YouCtrl | Execute$ Pump | TriggerDescription$ Whenever a creature attacks this turn, it gets +1/+0 until end of turn for each creature card put into your graveyard this way. -SVar:Pump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ +X | References$ X +SVar:Pump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ +X SVar:X:Remembered$Valid Creature AI:RemoveDeck:All Oracle:Mill four cards. Whenever a creature attacks this turn, it gets +1/+0 until end of turn for each creature card put into your graveyard this way. diff --git a/forge-gui/res/cardsfolder/s/songs_of_the_damned.txt b/forge-gui/res/cardsfolder/s/songs_of_the_damned.txt index a44175f7fea..2b4113494ce 100644 --- a/forge-gui/res/cardsfolder/s/songs_of_the_damned.txt +++ b/forge-gui/res/cardsfolder/s/songs_of_the_damned.txt @@ -1,7 +1,7 @@ Name:Songs of the Damned ManaCost:B Types:Instant -A:SP$ Mana | Cost$ B | Produced$ B | Amount$ X | References$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {B} for each creature card in your graveyard. +A:SP$ Mana | Cost$ B | Produced$ B | Amount$ X | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {B} for each creature card in your graveyard. SVar:X:Count$TypeInYourYard.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/songs_of_the_damned.jpg Oracle:Add {B} for each creature card in your graveyard. diff --git a/forge-gui/res/cardsfolder/s/soothsaying.txt b/forge-gui/res/cardsfolder/s/soothsaying.txt index 1daaad284a8..32aa1355a32 100644 --- a/forge-gui/res/cardsfolder/s/soothsaying.txt +++ b/forge-gui/res/cardsfolder/s/soothsaying.txt @@ -2,7 +2,7 @@ Name:Soothsaying ManaCost:U Types:Enchantment A:AB$ Shuffle | Cost$ 3 U U | Defined$ You | SpellDescription$ Shuffle your library. -A:AB$ RearrangeTopOfLibrary | Cost$ X | Defined$ You | NumCards$ X | References$ X | SpellDescription$ Look at the top X cards of your library, then put them back in any order. +A:AB$ RearrangeTopOfLibrary | Cost$ X | Defined$ You | NumCards$ X | SpellDescription$ Look at the top X cards of your library, then put them back in any order. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/s/sophic_centaur.txt b/forge-gui/res/cardsfolder/s/sophic_centaur.txt index 70d7be7e714..c30cc4a23e8 100644 --- a/forge-gui/res/cardsfolder/s/sophic_centaur.txt +++ b/forge-gui/res/cardsfolder/s/sophic_centaur.txt @@ -2,7 +2,7 @@ Name:Sophic Centaur ManaCost:3 G Types:Creature Centaur Spellshaper PT:1/1 -A:AB$ GainLife | Cost$ 2 G G T Discard<1/Card> | LifeAmount$ X | References$ X | SpellDescription$ You gain 2 life for each card in your hand. +A:AB$ GainLife | Cost$ 2 G G T Discard<1/Card> | LifeAmount$ X | SpellDescription$ You gain 2 life for each card in your hand. SVar:X:Count$CardsInYourHand/Times.2 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/sophic_centaur.jpg diff --git a/forge-gui/res/cardsfolder/s/soramaro_first_to_dream.txt b/forge-gui/res/cardsfolder/s/soramaro_first_to_dream.txt index 8043049db83..8a996bfcf98 100644 --- a/forge-gui/res/cardsfolder/s/soramaro_first_to_dream.txt +++ b/forge-gui/res/cardsfolder/s/soramaro_first_to_dream.txt @@ -3,7 +3,7 @@ ManaCost:4 U U Types:Legendary Creature Spirit PT:*/* K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. A:AB$ Draw | Cost$ 4 Return<1/Land> | NumCards$ 1 | SpellDescription$ Draw a card. SVar:X:Count$InYourHand AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/sorin_grim_nemesis.txt b/forge-gui/res/cardsfolder/s/sorin_grim_nemesis.txt index 9a698250f91..af0d5d29c1a 100644 --- a/forge-gui/res/cardsfolder/s/sorin_grim_nemesis.txt +++ b/forge-gui/res/cardsfolder/s/sorin_grim_nemesis.txt @@ -3,12 +3,12 @@ ManaCost:4 W B Types:Legendary Planeswalker Sorin Loyalty:6 A:AB$ Dig | Cost$ AddCounter<1/LOYALTY> | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | RememberChanged$ True | SubAbility$ DBLoseLife | Planeswalker$ True | SpellDescription$ Reveal the top card of your library and put that card into your hand. Each opponent loses life equal to its converted mana cost. -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ Y | Defined$ Opponent | SubAbility$ DBCleanup | References$ Y +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ Y | Defined$ Opponent | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Remembered$CardManaCost -A:AB$ DealDamage | Cost$ SubCounter | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | Planeswalker$ True | SubAbility$ DBGainLife | References$ X | SpellDescription$ CARDNAME deals X damage to target creature or planeswalker and you gain X life. -SVar:DBGainLife:DB$GainLife | LifeAmount$ X | Defined$ You | References$ X +A:AB$ DealDamage | Cost$ SubCounter | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | Planeswalker$ True | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to target creature or planeswalker and you gain X life. +SVar:DBGainLife:DB$GainLife | LifeAmount$ X | Defined$ You SVar:X:Count$xPaid -A:AB$ Token | Cost$ SubCounter<9/LOYALTY> | Planeswalker$ True | TokenAmount$ Z | References$ Z | TokenScript$ b_1_1_vampire_knight_lifelink | TokenOwner$ You | LegacyImage$ b 1 1 vampire knight lifelink soi | Ultimate$ True | SpellDescription$ Create a number of 1/1 black Vampire Knight creature tokens with lifelink equal to the highest life total among all players. +A:AB$ Token | Cost$ SubCounter<9/LOYALTY> | Planeswalker$ True | TokenAmount$ Z | TokenScript$ b_1_1_vampire_knight_lifelink | TokenOwner$ You | LegacyImage$ b 1 1 vampire knight lifelink soi | Ultimate$ True | SpellDescription$ Create a number of 1/1 black Vampire Knight creature tokens with lifelink equal to the highest life total among all players. SVar:Z:PlayerCountPlayers$HighestLifeTotal Oracle:[+1]: Reveal the top card of your library and put that card into your hand. Each opponent loses life equal to its converted mana cost.\n[−X]: Sorin, Grim Nemesis deals X damage to target creature or planeswalker and you gain X life.\n[−9]: Create a number of 1/1 black Vampire Knight creature tokens with lifelink equal to the highest life total among all players. diff --git a/forge-gui/res/cardsfolder/s/sorin_vengeful_bloodlord.txt b/forge-gui/res/cardsfolder/s/sorin_vengeful_bloodlord.txt index a6eed594455..5d2195c2301 100644 --- a/forge-gui/res/cardsfolder/s/sorin_vengeful_bloodlord.txt +++ b/forge-gui/res/cardsfolder/s/sorin_vengeful_bloodlord.txt @@ -5,7 +5,7 @@ Loyalty:4 S:Mode$ Continuous | Affected$ Creature.YouCtrl,Planeswalker.YouCtrl | AddKeyword$ Lifelink | Condition$ PlayerTurn | Description$ As long as it's your turn, creatures and planeswalkers you control have lifelink. SVar:NonStackingEffect:True A:AB$ DealDamage | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target player or planeswalker. -A:AB$ ChangeZone | Cost$ SubCounter | Planeswalker$ True | Origin$ Graveyard | Destination$ Battlefield | References$ X | ValidTgts$ Creature.YouOwn+cmcEQX | AILogic$ SorinVengefulBloodlord | TgtPrompt$ Select target creature with converted mana cost X from your graveyard | AnimateSubAbility$ Animate | SpellDescription$ Return target creature card with converted mana cost X from your graveyard to the battlefield. That creature is a Vampire in addition to its other types. +A:AB$ ChangeZone | Cost$ SubCounter | Planeswalker$ True | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouOwn+cmcEQX | AILogic$ SorinVengefulBloodlord | TgtPrompt$ Select target creature with converted mana cost X from your graveyard | AnimateSubAbility$ Animate | SpellDescription$ Return target creature card with converted mana cost X from your graveyard to the battlefield. That creature is a Vampire in addition to its other types. SVar:Animate:DB$ Animate | Defined$ Remembered | Types$ Vampire | Permanent$ True SVar:X:Count$xPaid Oracle:As long as it's your turn, creatures and planeswalkers you control have lifelink.\n[+2]: Sorin, Vengeful Bloodlord deals 1 damage to target player or planeswalker.\n[−X]: Return target creature card with converted mana cost X from your graveyard to the battlefield. That creature is a Vampire in addition to its other types. diff --git a/forge-gui/res/cardsfolder/s/soul_burn.txt b/forge-gui/res/cardsfolder/s/soul_burn.txt index a874860e438..e8ed5834ce2 100644 --- a/forge-gui/res/cardsfolder/s/soul_burn.txt +++ b/forge-gui/res/cardsfolder/s/soul_burn.txt @@ -2,10 +2,10 @@ Name:Soul Burn ManaCost:X 2 B Types:Sorcery A:SP$ StoreSVar | Cost$ X 2 B | XColor$ BR | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | SVar$ Limit | Type$ Targeted | Expression$ CardToughness | SubAbility$ StoreTgtPW | ConditionDefined$ Targeted | ConditionPresent$ Card.Creature | ConditionCompare$ GE1 | SpellDescription$ Spend only black and/or red mana on X. CARDNAME deals X damage to target creature or player. You gain life equal to the damage dealt, but not more than the amount of {B} spent on X, the player's life total before the damage was dealt, the planeswalker's loyalty before the damage was dealt, or the creature's toughness. -SVar:StoreTgtPW:DB$ StoreSVar | SVar$ Limit | Type$ Targeted | Expression$ CardCounters.LOYALTY | SubAbility$ StoreTgtP | ConditionDefined$ Targeted | ConditionPresent$ Card.Planeswalker | ConditionCheckSVar$ Loyalty | ConditionSVarCompare$ LTLimit | References$ Loyalty,Limit +SVar:StoreTgtPW:DB$ StoreSVar | SVar$ Limit | Type$ Targeted | Expression$ CardCounters.LOYALTY | SubAbility$ StoreTgtP | ConditionDefined$ Targeted | ConditionPresent$ Card.Planeswalker | ConditionCheckSVar$ Loyalty | ConditionSVarCompare$ LTLimit SVar:StoreTgtP:DB$ StoreSVar | SVar$ Limit | Type$ Count | Expression$ TargetedLifeTotal | SubAbility$ DBDamage | ConditionDefined$ Targeted | ConditionPresent$ Card.Creature,Card.Planeswalker | ConditionCompare$ EQ0 -SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | SubAbility$ DBGainLife | References$ X | AILogic$ XLifeDrain -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ DrainedLifeCard | References$ DrainedLifeCard,X,BlackManaPaid +SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | SubAbility$ DBGainLife | AILogic$ XLifeDrain +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ DrainedLifeCard SVar:X:Count$xPaid SVar:DrainedLifeCard:SVar$BlackManaPaid/LimitMax.Limit SVar:Limit:Count$xPaid diff --git a/forge-gui/res/cardsfolder/s/soul_echo.txt b/forge-gui/res/cardsfolder/s/soul_echo.txt index 6aa7b34ff23..f9d4301c7d5 100644 --- a/forge-gui/res/cardsfolder/s/soul_echo.txt +++ b/forge-gui/res/cardsfolder/s/soul_echo.txt @@ -10,7 +10,7 @@ SVar:TrigChoose:DB$ GenericChoice | AILogic$ SoulEcho | ConditionPresent$ Card.S SVar:DealDamage:DB$ Pump | Defined$ You | SpellDescription$ Damage will be applied to this player's life as usual. SVar:RemoveCounters:DB$ Effect | ReplacementEffects$ Damage | SVars$ Damage,Counters,Y | ExileOnMoved$ Exile | Duration$ UntilYourNextUpkeep | SpellDescription$ For each 1 damage that would be dealt to this player until their next upkeep, they remove an echo counter from CARDNAME instead. SVar:Damage:Event$ DamageDone | ValidTarget$ You | ReplaceWith$ Counters | Description$ For each 1 damage that would be dealt to you until your next upkeep, you remove an echo counter from Soul Echo instead. -SVar:Counters:DB$ RemoveCounter | Defined$ EffectSource | CounterType$ ECHO | CounterNum$ Y | References$ Y +SVar:Counters:DB$ RemoveCounter | Defined$ EffectSource | CounterType$ ECHO | CounterNum$ Y SVar:Y:ReplaceCount$DamageAmount DeckHas:Ability$Counters Oracle:Soul Echo enters the battlefield with X echo counters on it.\nYou don't lose the game for having 0 or less life.\nAt the beginning of your upkeep, sacrifice Soul Echo if there are no echo counters on it. Otherwise, target opponent may choose that for each 1 damage that would be dealt to you until your next upkeep, you remove an echo counter from Soul Echo instead. diff --git a/forge-gui/res/cardsfolder/s/soul_foundry.txt b/forge-gui/res/cardsfolder/s/soul_foundry.txt index 307bb828b7d..4ccf70b8913 100644 --- a/forge-gui/res/cardsfolder/s/soul_foundry.txt +++ b/forge-gui/res/cardsfolder/s/soul_foundry.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | OptionalDecider$ You | Execute$ TrigExile | TriggerDescription$ Imprint — When CARDNAME enters the battlefield, you may exile a creature card from your hand. SVar:TrigExile:DB$ChangeZone | Imprint$ True | Origin$ Hand | Destination$ Exile | ChangeType$ Creature | ChangeNum$ 1 -A:AB$CopyPermanent | Cost$ X T | Defined$ Imprinted.ExiledWithSource | References$ X | AILogic$ AtEOT | SpellDescription$ Create a token that's a copy of the exiled card. X is the converted mana cost of that card. +A:AB$CopyPermanent | Cost$ X T | Defined$ Imprinted.ExiledWithSource | AILogic$ AtEOT | SpellDescription$ Create a token that's a copy of the exiled card. X is the converted mana cost of that card. SVar:X:Imprinted$CardManaCost T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsImprinted+ExiledWithSource | Execute$ DBForget SVar:DBForget:DB$ Pump | ForgetImprinted$ TriggeredCard diff --git a/forge-gui/res/cardsfolder/s/soul_link.txt b/forge-gui/res/cardsfolder/s/soul_link.txt index 371eaf9061a..29de7482add 100644 --- a/forge-gui/res/cardsfolder/s/soul_link.txt +++ b/forge-gui/res/cardsfolder/s/soul_link.txt @@ -5,7 +5,7 @@ K:Enchant creature A:SP$ Attach | Cost$ 1 W B | ValidTgts$ Creature | AILogic$ Pump T:Mode$ DamageDealtOnce | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, you gain that much life. T:Mode$ DamageDoneOnce | ValidTarget$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature is dealt damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/soul_link.jpg Oracle:Enchant creature\nWhenever enchanted creature deals damage, you gain that much life.\nWhenever enchanted creature is dealt damage, you gain that much life. diff --git a/forge-gui/res/cardsfolder/s/soul_of_eternity.txt b/forge-gui/res/cardsfolder/s/soul_of_eternity.txt index 10d0b44aa0a..5696d92ca3b 100644 --- a/forge-gui/res/cardsfolder/s/soul_of_eternity.txt +++ b/forge-gui/res/cardsfolder/s/soul_of_eternity.txt @@ -3,7 +3,7 @@ ManaCost:5 W W Types:Creature Avatar PT:*/* K:Encore:7 W W -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to your life total. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to your life total. SVar:X:Count$YourLifeTotal DeckHas:Ability$Token DeckHints:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/s/soul_of_ravnica.txt b/forge-gui/res/cardsfolder/s/soul_of_ravnica.txt index 5e73aa3d942..f5154424c5f 100644 --- a/forge-gui/res/cardsfolder/s/soul_of_ravnica.txt +++ b/forge-gui/res/cardsfolder/s/soul_of_ravnica.txt @@ -3,8 +3,8 @@ ManaCost:4 U U Types:Creature Avatar PT:6/6 K:Flying -A:AB$ Draw | Cost$ 5 U U | NumCards$ X | References$ X | SpellDescription$ Draw a card for each color among permanents you control. -A:AB$ Draw | Cost$ 5 U U ExileFromGrave<1/CARDNAME> | ActivationZone$ Graveyard | NumCards$ X | References$ X | SpellDescription$ Draw a card for each color among permanents you control. +A:AB$ Draw | Cost$ 5 U U | NumCards$ X | SpellDescription$ Draw a card for each color among permanents you control. +A:AB$ Draw | Cost$ 5 U U ExileFromGrave<1/CARDNAME> | ActivationZone$ Graveyard | NumCards$ X | SpellDescription$ Draw a card for each color among permanents you control. SVar:X:Count$ColorsCtrl Permanent DeckNeeds:Color$White|Red|Green|Black Oracle:Flying\n{5}{U}{U}: Draw a card for each color among permanents you control.\n{5}{U}{U}, Exile Soul of Ravnica from your graveyard: Draw a card for each color among permanents you control. diff --git a/forge-gui/res/cardsfolder/s/soul_reap.txt b/forge-gui/res/cardsfolder/s/soul_reap.txt index 9d72bb5d757..eb6791cfdce 100644 --- a/forge-gui/res/cardsfolder/s/soul_reap.txt +++ b/forge-gui/res/cardsfolder/s/soul_reap.txt @@ -2,7 +2,7 @@ Name:Soul Reap ManaCost:1 B Types:Sorcery A:SP$ Destroy | Cost$ 1 B | ValidTgts$ Creature.nonGreen | TgtPrompt$ Select target nongreen creature. | SubAbility$ DBLoseLife | SpellDescription$ Destroy target nongreen creature. Its controller loses 3 life if you've cast another black spell this turn. -SVar:DBLoseLife:DB$ LoseLife | Defined$ TargetedController | LifeAmount$ 3 | ConditionCheckSVar$ X | References$ X +SVar:DBLoseLife:DB$ LoseLife | Defined$ TargetedController | LifeAmount$ 3 | ConditionCheckSVar$ X SVar:X:Count$ThisTurnCast_Card.Black+Other+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/soul_reap.jpg Oracle:Destroy target nongreen creature. Its controller loses 3 life if you've cast another black spell this turn. diff --git a/forge-gui/res/cardsfolder/s/soul_scar_mage.txt b/forge-gui/res/cardsfolder/s/soul_scar_mage.txt index 36e110e1e43..4990a00606f 100644 --- a/forge-gui/res/cardsfolder/s/soul_scar_mage.txt +++ b/forge-gui/res/cardsfolder/s/soul_scar_mage.txt @@ -4,7 +4,7 @@ Types:Creature Human Wizard PT:1/2 K:Prowess R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.YouCtrl,Emblem.YouCtrl | ValidTarget$ Creature.OppCtrl | ReplaceWith$ Counters | IsCombat$ False | Description$ If a source you control would deal noncombat damage to a creature an opponent controls, put that many -1/-1 counters on that creature instead. -SVar:Counters:DB$PutCounter | Defined$ ReplacedTarget | CounterType$ M1M1 | CounterNum$ X | References$ X +SVar:Counters:DB$PutCounter | Defined$ ReplacedTarget | CounterType$ M1M1 | CounterNum$ X SVar:X:ReplaceCount$DamageAmount DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/soul_scar_mage.jpg diff --git a/forge-gui/res/cardsfolder/s/soul_separator.txt b/forge-gui/res/cardsfolder/s/soul_separator.txt index c7c26f3ca94..567cded39b6 100644 --- a/forge-gui/res/cardsfolder/s/soul_separator.txt +++ b/forge-gui/res/cardsfolder/s/soul_separator.txt @@ -3,7 +3,7 @@ ManaCost:3 Types:Artifact A:AB$ ChangeZone | Cost$ 5 T Sac<1/CARDNAME> | RememberLKI$ True | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Creature.YouCtrl | ChangeNum$ 1 | SubAbility$ DBCopy | SpellDescription$ Exile target creature card from your graveyard. Create a token that's a copy of that card, except it's 1/1, it's a Spirit in addition to its other types, and it has flying. Create a black Zombie creature token with power equal to that card's power and toughness equal to that card's toughness. SVar:DBCopy:DB$ CopyPermanent | Defined$ Remembered | SetPower$ 1 | SetToughness$ 1 | AddTypes$ Spirit | AddKeywords$ Flying | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenScript$ b_x_x_zombie | TokenPower$ X | TokenToughness$ Y | TokenOwner$ You | TokenAmount$ 1 | References$ X,Y | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenScript$ b_x_x_zombie | TokenPower$ X | TokenToughness$ Y | TokenOwner$ You | TokenAmount$ 1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardPower SVar:Y:RememberedLKI$CardToughness diff --git a/forge-gui/res/cardsfolder/s/soul_shatter.txt b/forge-gui/res/cardsfolder/s/soul_shatter.txt index e15b44612a2..5a3754febb2 100755 --- a/forge-gui/res/cardsfolder/s/soul_shatter.txt +++ b/forge-gui/res/cardsfolder/s/soul_shatter.txt @@ -2,9 +2,9 @@ Name:Soul Shatter ManaCost:2 B Types:Instant A:SP$ RepeatEach | Cost$ 2 B | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ CreatureHighCMC | SubAbility$ DBSac | StackDescription$ Each opponent | SpellDescription$ Each opponent sacrifices a creature or planeswalker with the highest converted mana cost among creatures and planeswalkers they control. -SVar:CreatureHighCMC:DB$ ChooseCard | ConditionCheckSVar$ X | ConditionSVarCompare$ GTY | Defined$ Player.IsRemembered | Choices$ Creature.RememberedPlayerCtrl+cmcEQX | ChoiceTitle$ Choose a creature with the highest converted mana cost to sacrifice | References$ X,Y | Mandatory$ True | RememberChosen$ True | SubAbility$ WalkerHighCMC -SVar:WalkerHighCMC:DB$ ChooseCard | ConditionCheckSVar$ Y | ConditionSVarCompare$ GTX | Defined$ Player.IsRemembered | Choices$ Planeswalker.RememberedPlayerCtrl+cmcEQY | ChoiceTitle$ Choose a planeswalker with the highest converted mana cost to sacrifice | References$ X,Y | Mandatory$ True | RememberChosen$ True | SubAbility$ TieCMC -SVar:TieCMC:DB$ ChooseCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQY | Defined$ Player.IsRemembered | Choices$ Creature.RememberedPlayerCtrl+cmcEQX,Planeswalker.RememberedPlayerCtrl+cmcEQX | ChoiceTitle$ Choose a creature or planeswalker with the highest converted mana cost to sacrifice | References$ X,Y | Mandatory$ True | RememberChosen$ True +SVar:CreatureHighCMC:DB$ ChooseCard | ConditionCheckSVar$ X | ConditionSVarCompare$ GTY | Defined$ Player.IsRemembered | Choices$ Creature.RememberedPlayerCtrl+cmcEQX | ChoiceTitle$ Choose a creature with the highest converted mana cost to sacrifice | Mandatory$ True | RememberChosen$ True | SubAbility$ WalkerHighCMC +SVar:WalkerHighCMC:DB$ ChooseCard | ConditionCheckSVar$ Y | ConditionSVarCompare$ GTX | Defined$ Player.IsRemembered | Choices$ Planeswalker.RememberedPlayerCtrl+cmcEQY | ChoiceTitle$ Choose a planeswalker with the highest converted mana cost to sacrifice | Mandatory$ True | RememberChosen$ True | SubAbility$ TieCMC +SVar:TieCMC:DB$ ChooseCard | ConditionCheckSVar$ X | ConditionSVarCompare$ EQY | Defined$ Player.IsRemembered | Choices$ Creature.RememberedPlayerCtrl+cmcEQX,Planeswalker.RememberedPlayerCtrl+cmcEQX | ChoiceTitle$ Choose a creature or planeswalker with the highest converted mana cost to sacrifice | Mandatory$ True | RememberChosen$ True SVar:DBSac:DB$ SacrificeAll | ValidCards$ Card.IsRemembered | SubAbility$ DBCleanup | StackDescription$ sacrifices a creature or planeswalker with the highest converted mana cost among creatures and planeswalkers they control. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearChosen$ True SVar:X:Count$HighestCMC_Creature.RememberedPlayerCtrl+inZoneBattlefield diff --git a/forge-gui/res/cardsfolder/s/soul_strings.txt b/forge-gui/res/cardsfolder/s/soul_strings.txt index 0c085bb2694..440e705160f 100644 --- a/forge-gui/res/cardsfolder/s/soul_strings.txt +++ b/forge-gui/res/cardsfolder/s/soul_strings.txt @@ -1,7 +1,7 @@ Name:Soul Strings ManaCost:X B Types:Sorcery -A:SP$ ChangeZone | Cost$ X B | Origin$ Graveyard | Destination$ Hand | TargetMin$ 2 | TargetMax$ 2 | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | UnlessCost$ X | UnlessPayer$ Player | References$ X | SpellDescription$ Return two target creature cards from your graveyard to your hand unless any player pays {X}. +A:SP$ ChangeZone | Cost$ X B | Origin$ Graveyard | Destination$ Hand | TargetMin$ 2 | TargetMax$ 2 | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | UnlessCost$ X | UnlessPayer$ Player | SpellDescription$ Return two target creature cards from your graveyard to your hand unless any player pays {X}. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/soul_strings.jpg diff --git a/forge-gui/res/cardsfolder/s/soul_tithe.txt b/forge-gui/res/cardsfolder/s/soul_tithe.txt index 4ff4fbb7070..b9c7283d2cd 100644 --- a/forge-gui/res/cardsfolder/s/soul_tithe.txt +++ b/forge-gui/res/cardsfolder/s/soul_tithe.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant nonland permanent A:SP$ Attach | Cost$ 1 W | ValidTgts$ Permanent.nonLand | AITgts$ Card.cmcGE2 | AILogic$ Curse T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ EnchantedController | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of the upkeep of enchanted permanent's controller, that player sacrifices it unless they pay {X}, where X is its converted mana cost. -SVar:TrigSac:DB$ SacrificeAll | Defined$ Enchanted | UnlessCost$ X | UnlessPayer$ EnchantedController | References$ X +SVar:TrigSac:DB$ SacrificeAll | Defined$ Enchanted | UnlessCost$ X | UnlessPayer$ EnchantedController SVar:X:Enchanted$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/soul_tithe.jpg Oracle:Enchant nonland permanent\nAt the beginning of the upkeep of enchanted permanent's controller, that player sacrifices it unless they pay {X}, where X is its converted mana cost. diff --git a/forge-gui/res/cardsfolder/s/soulfire_eruption.txt b/forge-gui/res/cardsfolder/s/soulfire_eruption.txt index 846ff59cfb7..dbde6100d11 100644 --- a/forge-gui/res/cardsfolder/s/soulfire_eruption.txt +++ b/forge-gui/res/cardsfolder/s/soulfire_eruption.txt @@ -1,9 +1,9 @@ Name:Soulfire Eruption ManaCost:6 R R R Types:Sorcery -A:SP$ RepeatEach | Cost$ 6 R R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Choose any number of target creatures, planeswalkers, and/or players | TargetMin$ 0 | TargetMax$ MaxTgt | References$ MaxTgt,MaxPl,MaxPerm | RepeatSubAbility$ DBDig | RepeatTargeted$ True | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ Choose any number of target creatures, planeswalkers, and/or players. For each of them, exile the top card of your library, then CARDNAME deals damage equal to that card's converted mana cost to that permanent or player. You may play the exiled cards until the end of your next turn. +A:SP$ RepeatEach | Cost$ 6 R R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Choose any number of target creatures, planeswalkers, and/or players | TargetMin$ 0 | TargetMax$ MaxTgt | RepeatSubAbility$ DBDig | RepeatTargeted$ True | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ Choose any number of target creatures, planeswalkers, and/or players. For each of them, exile the top card of your library, then CARDNAME deals damage equal to that card's converted mana cost to that permanent or player. You may play the exiled cards until the end of your next turn. SVar:DBDig:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | ImprintRevealed$ True | Reveal$ True | SubAbility$ DBDealDamage -SVar:DBDealDamage:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDealDamage:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearImprinted$ True SVar:DBEffect:DB$ Effect | StaticAbilities$ STMayPlay | Duration$ UntilTheEndOfYourNextTurn | RememberObjects$ ValidExile Card.ExiledWithSource | ForgetOnMoved$ Exile SVar:STMayPlay:Mode$ Continuous | Affected$ Card.IsRemembered | EffectZone$ Command | AffectedZone$ Exile | MayPlay$ True | Description$ You may play the exiled cards until the end of your next turn. diff --git a/forge-gui/res/cardsfolder/s/soulgorger_orgg.txt b/forge-gui/res/cardsfolder/s/soulgorger_orgg.txt index e40fa908143..f3a31ba0431 100644 --- a/forge-gui/res/cardsfolder/s/soulgorger_orgg.txt +++ b/forge-gui/res/cardsfolder/s/soulgorger_orgg.txt @@ -4,7 +4,7 @@ Types:Creature Nightmare Orgg PT:6/6 K:Trample T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigLoseLife | TriggerDescription$ When CARDNAME enters the battlefield, you lose all but 1 life. -SVar:TrigLoseLife:DB$ StoreSVar | References$ LifeAllButOne | SVar$ LifePaidOnETB | Type$ Calculate | Expression$ LifeAllButOne | SubAbility$ DBLoseLife +SVar:TrigLoseLife:DB$ StoreSVar | SVar$ LifePaidOnETB | Type$ Calculate | Expression$ LifeAllButOne | SubAbility$ DBLoseLife SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ LifePaidOnETB SVar:LifePaidOnETB:Number$0 SVar:LifeAllButOne:Count$YourLifeTotal/Minus.1 diff --git a/forge-gui/res/cardsfolder/s/soulless_one.txt b/forge-gui/res/cardsfolder/s/soulless_one.txt index 11ff8ec423e..5ef1453762d 100644 --- a/forge-gui/res/cardsfolder/s/soulless_one.txt +++ b/forge-gui/res/cardsfolder/s/soulless_one.txt @@ -2,7 +2,7 @@ Name:Soulless One ManaCost:3 B Types:Creature Zombie Avatar PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X, Y | Description$ CARDNAME's power and toughness are each equal to the number of Zombies on the battlefield plus the number of Zombie cards in all graveyards. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Zombies on the battlefield plus the number of Zombie cards in all graveyards. SVar:X:Count$TypeOnBattlefield.Zombie/Plus.Y SVar:Y:Count$TypeInAllYards.Zombie AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/souls_fire.txt b/forge-gui/res/cardsfolder/s/souls_fire.txt index da672ad5aa6..02dc64c8e6b 100644 --- a/forge-gui/res/cardsfolder/s/souls_fire.txt +++ b/forge-gui/res/cardsfolder/s/souls_fire.txt @@ -2,7 +2,7 @@ Name:Soul's Fire ManaCost:2 R Types:Instant A:SP$ Pump | Cost$ 2 R | ValidTgts$ Creature.YouCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you control | SubAbility$ SoulsDamage | StackDescription$ None | SpellDescription$ Target creature you control deals damage equal to its power to any target. -SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | AILogic$ PowerDmg | TgtPrompt$ Select any target | NumDmg$ X | References$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget +SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | AILogic$ PowerDmg | TgtPrompt$ Select any target | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/souls_fire.jpg Oracle:Target creature you control deals damage equal to its power to any target. diff --git a/forge-gui/res/cardsfolder/s/souls_might.txt b/forge-gui/res/cardsfolder/s/souls_might.txt index 1bd77fcca00..13374686fdd 100644 --- a/forge-gui/res/cardsfolder/s/souls_might.txt +++ b/forge-gui/res/cardsfolder/s/souls_might.txt @@ -1,7 +1,7 @@ Name:Soul's Might ManaCost:4 G Types:Sorcery -A:SP$ PutCounter | Cost$ 4 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X | References$ X | SpellDescription$ Put X +1/+1 counters on target creature, where X is that creature's power. +A:SP$ PutCounter | Cost$ 4 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ P1P1 | CounterNum$ X | SpellDescription$ Put X +1/+1 counters on target creature, where X is that creature's power. SVar:X:Targeted$CardPower AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/souls_might.jpg diff --git a/forge-gui/res/cardsfolder/s/souls_of_the_faultless.txt b/forge-gui/res/cardsfolder/s/souls_of_the_faultless.txt index ddc7d9c8b84..e50fe8b6e9d 100644 --- a/forge-gui/res/cardsfolder/s/souls_of_the_faultless.txt +++ b/forge-gui/res/cardsfolder/s/souls_of_the_faultless.txt @@ -4,8 +4,8 @@ Types:Creature Spirit PT:0/4 K:Defender T:Mode$ DamageDoneOnce | CombatDamage$ True | ValidTarget$ Card.Self | Execute$ TrigGain | TriggerDescription$ Whenever CARDNAME is dealt combat damage, you gain that much life and attacking player loses that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBDrain -SVar:DBDrain:DB$ LoseLife | Defined$ AttackingPlayer | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBDrain +SVar:DBDrain:DB$ LoseLife | Defined$ AttackingPlayer | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE Oracle:Defender (This creature can't attack.)\nWhenever Souls of the Faultless is dealt combat damage, you gain that much life and attacking player loses that much life. diff --git a/forge-gui/res/cardsfolder/s/soulshriek.txt b/forge-gui/res/cardsfolder/s/soulshriek.txt index 21753c56d2f..7c2ee05c0c7 100644 --- a/forge-gui/res/cardsfolder/s/soulshriek.txt +++ b/forge-gui/res/cardsfolder/s/soulshriek.txt @@ -1,7 +1,7 @@ Name:Soulshriek ManaCost:B Types:Instant -A:SP$ Pump | Cost$ B | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ X | References$ X | AILogic$ Berserk | AtEOT$ Sacrifice | SpellDescription$ Target creature you control gets +X/+0 until end of turn, where X is the number of creature cards in your graveyard. Sacrifice that creature at the beginning of the next end step. +A:SP$ Pump | Cost$ B | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | NumAtt$ X | AILogic$ Berserk | AtEOT$ Sacrifice | SpellDescription$ Target creature you control gets +X/+0 until end of turn, where X is the number of creature cards in your graveyard. Sacrifice that creature at the beginning of the next end step. SVar:X:Count$TypeInYourYard.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/soulshriek.jpg Oracle:Target creature you control gets +X/+0 until end of turn, where X is the number of creature cards in your graveyard. Sacrifice that creature at the beginning of the next end step. diff --git a/forge-gui/res/cardsfolder/s/soulstinger.txt b/forge-gui/res/cardsfolder/s/soulstinger.txt index efc68bbd023..4b35c09d6a7 100644 --- a/forge-gui/res/cardsfolder/s/soulstinger.txt +++ b/forge-gui/res/cardsfolder/s/soulstinger.txt @@ -5,7 +5,7 @@ PT:4/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounter1 | TriggerDescription$ When CARDNAME enters the battlefield, put two -1/-1 counters on target creature you control. SVar:TrigPutCounter1:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ M1M1 | IsCurse$ True | CounterNum$ 2 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigPutCounter2 | TriggerController$ TriggeredCardController | OptionalDecider$ You | TriggerDescription$ When CARDNAME dies, you may put a -1/-1 counter on target creature for each -1/-1 counter on CARDNAME. -SVar:TrigPutCounter2:DB$ PutCounter | ValidTgts$ Creature | CounterType$ M1M1 | IsCurse$ True | CounterNum$ X | References$ X +SVar:TrigPutCounter2:DB$ PutCounter | ValidTgts$ Creature | CounterType$ M1M1 | IsCurse$ True | CounterNum$ X SVar:X:TriggeredCard$CardCounters.M1M1 SVar:Picture:http://www.wizards.com/global/images/magic/general/soulstinger.jpg Oracle:When Soulstinger enters the battlefield, put two -1/-1 counters on target creature you control.\nWhen Soulstinger dies, you may put a -1/-1 counter on target creature for each -1/-1 counter on Soulstinger. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/s/sower_of_discord.txt b/forge-gui/res/cardsfolder/s/sower_of_discord.txt index a640b57ce99..2a82a894c01 100644 --- a/forge-gui/res/cardsfolder/s/sower_of_discord.txt +++ b/forge-gui/res/cardsfolder/s/sower_of_discord.txt @@ -8,8 +8,8 @@ SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player | AILogic$ Curse SVar:ChoosePTwo:DB$ ChoosePlayer | Defined$ You | Choices$ NonChosenPlayer | AILogic$ Curse T:Mode$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Player.Chosen | Execute$ TrigLoseLifeRemembered | TriggerDescription$ Whenever damage is dealt to one of the chosen players, the other chosen player also loses that much life. T:Mode$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Player.IsRemembered | Execute$ TrigLoseLifeChosen | Secondary$ True | TriggerDescription$ Whenever damage is dealt to one of the chosen players, the other chosen player also loses that much life. -SVar:TrigLoseLifeRemembered:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X | References$ X -SVar:TrigLoseLifeChosen:DB$ LoseLife | Defined$ Player.Chosen | LifeAmount$ X | References$ X +SVar:TrigLoseLifeRemembered:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X +SVar:TrigLoseLifeChosen:DB$ LoseLife | Defined$ Player.Chosen | LifeAmount$ X SVar:X:TriggerCount$DamageAmount T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ DBCleanup | Static$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/s/sowing_salt.txt b/forge-gui/res/cardsfolder/s/sowing_salt.txt index 496afd09d61..fb7639b5557 100644 --- a/forge-gui/res/cardsfolder/s/sowing_salt.txt +++ b/forge-gui/res/cardsfolder/s/sowing_salt.txt @@ -3,8 +3,8 @@ ManaCost:2 R R Types:Sorcery A:SP$ ChangeZone | Cost$ 2 R R | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Land.nonBasic | TgtPrompt$ Select target nonbasic land | RememberLKI$ True | ForgetOtherTargets$ True | SubAbility$ ExileYard | SpellDescription$ Exile target nonbasic land. Search its controller's graveyard, hand, and library for all cards with the same name as that land and exile them. Then that player shuffles their library. SVar:ExileYard:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Exile | Defined$ TargetedController | ChangeType$ Remembered.sameName | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | References$ NumInHand | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | References$ NumInLib | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:NumInHand:TargetedController$CardsInHand SVar:NumInLib:TargetedController$CardsInLibrary SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/s/spark_double.txt b/forge-gui/res/cardsfolder/s/spark_double.txt index a447490665d..6720d20eb38 100644 --- a/forge-gui/res/cardsfolder/s/spark_double.txt +++ b/forge-gui/res/cardsfolder/s/spark_double.txt @@ -4,7 +4,7 @@ Types:Creature Illusion PT:0/0 K:ETBReplacement:Copy:DBCopy:Optional SVar:DBCopy:DB$ Clone | Choices$ Creature.Other+YouCtrl,Planeswalker.Other+YouCtrl | NonLegendary$ True | SubAbility$ DBConditionEffect | SpellDescription$ You may have CARDNAME enter the battlefield as a copy of a creature or planeswalker you control, except it enters with an additional +1/+1 counter on it if it's a creature, it enters with an additional loyalty counter on it if it's a planeswalker, and it isn't legendary if that permanent is legendary. -SVar:DBConditionEffect:DB$ Effect | RememberObjects$ Self | Name$ Spark Double Effect | ReplacementEffects$ ETBCreat,ETBPlans | SVars$ DBPutP1P1,DBPutLOYALTY,ToBattlefield,DBExile | References$ ETBCreat,ETBPlans,DBPutP1P1,DBPutLOYALTY,ToBattlefield,DBExile +SVar:DBConditionEffect:DB$ Effect | RememberObjects$ Self | Name$ Spark Double Effect | ReplacementEffects$ ETBCreat,ETBPlans | SVars$ DBPutP1P1,DBPutLOYALTY,ToBattlefield,DBExile SVar:ETBCreat:Event$ Moved | ValidCard$ Creature.IsRemembered | Destination$ Battlefield | ReplaceWith$ DBPutP1P1 | Description$ It enters with an additional +1/+1 counter on it if it's a creature. SVar:DBPutP1P1:DB$ PutCounter | Defined$ ReplacedCard | CounterType$ P1P1 | ETB$ True | CounterNum$ 1 | SubAbility$ ToBattlefield SVar:ETBPlans:Event$ Moved | ValidCard$ Planeswalker.IsRemembered | Destination$ Battlefield | ReplaceWith$ DBPutLOYALTY | Description$ It enters with an additional loyalty counter on it if it's a planeswalker. diff --git a/forge-gui/res/cardsfolder/s/spark_of_creativity.txt b/forge-gui/res/cardsfolder/s/spark_of_creativity.txt index a7e9cb91862..d692fabe0ef 100644 --- a/forge-gui/res/cardsfolder/s/spark_of_creativity.txt +++ b/forge-gui/res/cardsfolder/s/spark_of_creativity.txt @@ -4,7 +4,7 @@ Types:Sorcery A:SP$ Pump | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | AILogic$ Damage | IsCurse$ True | SubAbility$ DBExile | StackDescription$ SpellDescription | SpellDescription$ Choose target creature. Exile the top card of your library. You may have CARDNAME deal damage to that creature equal to the exiled card's converted mana cost. If you don't, you may play that card until end of turn. SVar:DBExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | Reveal$ True | SubAbility$ DBChoice SVar:DBChoice:DB$ GenericChoice | Defined$ You | Choices$ SparkDamage,SparkPlay | SubAbility$ DBCleanup | AILogic$ CreativitySpark -SVar:SparkDamage:DB$ DealDamage | Defined$ ParentTarget | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target creature. +SVar:SparkDamage:DB$ DealDamage | Defined$ ParentTarget | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target creature. SVar:SparkPlay:DB$ Effect | RememberObjects$ RememberedCard | StaticAbilities$ Play | ExileOnMoved$ Exile | SpellDescription$ You may play exiled card until end of turn. SVar:Play:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Exile | Description$ You may play remembered card. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/s/sparksmith.txt b/forge-gui/res/cardsfolder/s/sparksmith.txt index 31a899c0a7c..9d0d0ed01e8 100644 --- a/forge-gui/res/cardsfolder/s/sparksmith.txt +++ b/forge-gui/res/cardsfolder/s/sparksmith.txt @@ -2,8 +2,8 @@ Name:Sparksmith ManaCost:1 R Types:Creature Goblin PT:1/1 -A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SubAbility$ DBDealDamage | SpellDescription$ CARDNAME deals X damage to target creature and X damage to you, where X is the number of Goblins on the battlefield. -SVar:DBDealDamage:DB$ DealDamage | Defined$ You | NumDmg$ X | References$ X +A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBDealDamage | SpellDescription$ CARDNAME deals X damage to target creature and X damage to you, where X is the number of Goblins on the battlefield. +SVar:DBDealDamage:DB$ DealDamage | Defined$ You | NumDmg$ X SVar:X:Count$TypeOnBattlefield.Goblin AI:RemoveDeck:Random SVar:Picture:http://resources.wizards.com/magic/cards/ons/en-us/card39476.jpg diff --git a/forge-gui/res/cardsfolder/s/sparring_golem.txt b/forge-gui/res/cardsfolder/s/sparring_golem.txt index 02a7611c2c1..8e0c1dd0c24 100644 --- a/forge-gui/res/cardsfolder/s/sparring_golem.txt +++ b/forge-gui/res/cardsfolder/s/sparring_golem.txt @@ -3,7 +3,7 @@ ManaCost:3 Types:Artifact Creature Golem PT:2/2 T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME becomes blocked, it gets +1/+1 until end of turn for each creature blocking it. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ +X | NumDef$ +X SVar:X:TriggerCount$NumBlockers SVar:Picture:http://www.wizards.com/global/images/magic/general/sparring_golem.jpg Oracle:Whenever Sparring Golem becomes blocked, it gets +1/+1 until end of turn for each creature blocking it. diff --git a/forge-gui/res/cardsfolder/s/spawn_of_mayhem.txt b/forge-gui/res/cardsfolder/s/spawn_of_mayhem.txt index e1e05351ad4..5621fb4bee6 100644 --- a/forge-gui/res/cardsfolder/s/spawn_of_mayhem.txt +++ b/forge-gui/res/cardsfolder/s/spawn_of_mayhem.txt @@ -7,7 +7,7 @@ K:Flying K:Trample T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDmg | TriggerDescription$ At the beginning of your upkeep, CARDNAME deals 1 damage to each player. Then if you have 10 or less life, put a +1/+1 counter on CARDNAME. SVar:TrigDmg:DB$DealDamage | Defined$ Player | NumDmg$ 1 | SubAbility$ DBCounter -SVar:DBCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ LE10 | References$ X +SVar:DBCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ LE10 SVar:X:Count$YourLifeTotal DeckHas:Ability$Counters Oracle:Spectacle {1}{B}{B} (You may cast this spell for its spectacle cost rather than its mana cost if an opponent lost life this turn.)\nFlying, trample\nAt the beginning of your upkeep, Spawn of Mayhem deals 1 damage to each player. Then if you have 10 or less life, put a +1/+1 counter on Spawn of Mayhem. diff --git a/forge-gui/res/cardsfolder/s/spawn_of_thraxes.txt b/forge-gui/res/cardsfolder/s/spawn_of_thraxes.txt index 7545965a19d..f73bbfdae1c 100644 --- a/forge-gui/res/cardsfolder/s/spawn_of_thraxes.txt +++ b/forge-gui/res/cardsfolder/s/spawn_of_thraxes.txt @@ -4,7 +4,7 @@ Types:Creature Dragon PT:5/5 K:Flying T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals damage to any target equal to the number of Mountains you control. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$Valid Mountain.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/spawn_of_thraxes.jpg Oracle:Flying\nWhen Spawn of Thraxes enters the battlefield, it deals damage to any target equal to the number of Mountains you control. diff --git a/forge-gui/res/cardsfolder/s/spawnsire_of_ulamog.txt b/forge-gui/res/cardsfolder/s/spawnsire_of_ulamog.txt index 13386bc64fc..879882835b4 100644 --- a/forge-gui/res/cardsfolder/s/spawnsire_of_ulamog.txt +++ b/forge-gui/res/cardsfolder/s/spawnsire_of_ulamog.txt @@ -4,7 +4,7 @@ Types:Creature Eldrazi PT:7/11 K:Annihilator:1 A:AB$ Token | Cost$ 4 | TokenAmount$ 2 | TokenScript$ c_0_1_eldrazi_spawn_sac | TokenOwner$ You | SpellDescription$ Create two 0/1 colorless Eldrazi Spawn creature tokens. They have "Sacrifice this creature: Add {C}." -A:AB$ Play | Cost$ 20 | Valid$ Card.Eldrazi+YouOwn | ValidZone$ Sideboard | WithoutManaCost$ True | Amount$ SpawnsireX | Controller$ You | Optional$ True | References$ SpawnsireX | SpellDescription$ Cast any number of Eldrazi spells from among cards you own outside the game without paying their mana costs. +A:AB$ Play | Cost$ 20 | Valid$ Card.Eldrazi+YouOwn | ValidZone$ Sideboard | WithoutManaCost$ True | Amount$ SpawnsireX | Controller$ You | Optional$ TruepawnsireX | SpellDescription$ Cast any number of Eldrazi spells from among cards you own outside the game without paying their mana costs. SVar:SpawnsireX:Count$TypeInYourSideboard.Eldrazi DeckHints:Type$Eldrazi DeckHas:Ability$Mana.Colorless & Ability$Token diff --git a/forge-gui/res/cardsfolder/s/speaker_of_the_heavens.txt b/forge-gui/res/cardsfolder/s/speaker_of_the_heavens.txt index bd5813c239a..c2de8996472 100644 --- a/forge-gui/res/cardsfolder/s/speaker_of_the_heavens.txt +++ b/forge-gui/res/cardsfolder/s/speaker_of_the_heavens.txt @@ -4,7 +4,7 @@ Types:Creature Human Cleric PT:1/1 K:Vigilance K:Lifelink -A:AB$ Token | Cost$ T | SorcerySpeed$ True | CheckSVar$ X | SVarCompare$ GEY | References$ X,Y | TokenAmount$ 1 | TokenScript$ w_4_4_angel_flying | TokenOwner$ You | SpellDescription$ Create a 4/4 white Angel creature token with flying. Activate this ability only if you have at least 7 life more than your starting life total and only any time you could cast a sorcery. +A:AB$ Token | Cost$ T | SorcerySpeed$ True | CheckSVar$ X | SVarCompare$ GEY,Y | TokenAmount$ 1 | TokenScript$ w_4_4_angel_flying | TokenOwner$ You | SpellDescription$ Create a 4/4 white Angel creature token with flying. Activate this ability only if you have at least 7 life more than your starting life total and only any time you could cast a sorcery. SVar:X:Count$YourLifeTotal SVar:Y:Count$YourStartingLife/Plus.7 DeckHints:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/s/spectator_seating.txt b/forge-gui/res/cardsfolder/s/spectator_seating.txt index cf527264091..f8e336da5b2 100644 --- a/forge-gui/res/cardsfolder/s/spectator_seating.txt +++ b/forge-gui/res/cardsfolder/s/spectator_seating.txt @@ -2,7 +2,7 @@ Name:Spectator Seating ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. SVar:ETBCheckSVar2:PlayerCountOpponents$Amount A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R}. A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add {W}. diff --git a/forge-gui/res/cardsfolder/s/spectral_deluge.txt b/forge-gui/res/cardsfolder/s/spectral_deluge.txt index c69d1a77676..063a256f830 100644 --- a/forge-gui/res/cardsfolder/s/spectral_deluge.txt +++ b/forge-gui/res/cardsfolder/s/spectral_deluge.txt @@ -1,7 +1,7 @@ Name:Spectral Deluge ManaCost:4 U U Types:Sorcery -A:SP$ ChangeZoneAll | Cost$ 4 U U | ChangeType$ Creature.toughnessLEX+OppCtrl | Origin$ Battlefield | Destination$ Hand | References$ X | TriggerDescription$ Return each creature your opponents control with toughness X or less to its owner's hand, where X is the number of Islands you control. +A:SP$ ChangeZoneAll | Cost$ 4 U U | ChangeType$ Creature.toughnessLEX+OppCtrl | Origin$ Battlefield | Destination$ Hand | TriggerDescription$ Return each creature your opponents control with toughness X or less to its owner's hand, where X is the number of Islands you control. SVar:X:Count$Valid Island.YouCtrl K:Foretell:1 U U Oracle:Return each creature your opponents control with toughness X or less to its owner's hand, where X is the number of Islands you control.\nForetell {1}{U}{U} (During your turn, you may pay {2} and exile this card from your hand face down. Cast it on a later turn for its foretell cost.) diff --git a/forge-gui/res/cardsfolder/s/spell_blast.txt b/forge-gui/res/cardsfolder/s/spell_blast.txt index 4f5810271a1..5a7589b4dfa 100644 --- a/forge-gui/res/cardsfolder/s/spell_blast.txt +++ b/forge-gui/res/cardsfolder/s/spell_blast.txt @@ -1,6 +1,6 @@ Name:Spell Blast ManaCost:X U Types:Instant -A:SP$ Counter | Cost$ X U | TargetType$ Spell | ValidTgts$ Card.cmcEQX | References$ X | SpellDescription$ Counter target spell with converted mana cost X. (For example, if that spell's mana cost is {3}{U}{U}, X is 5.) +A:SP$ Counter | Cost$ X U | TargetType$ Spell | ValidTgts$ Card.cmcEQX | SpellDescription$ Counter target spell with converted mana cost X. (For example, if that spell's mana cost is {3}{U}{U}, X is 5.) SVar:X:Count$xPaid Oracle:Counter target spell with converted mana cost X. (For example, if that spell's mana cost is {3}{U}{U}, X is 5.) diff --git a/forge-gui/res/cardsfolder/s/spell_burst.txt b/forge-gui/res/cardsfolder/s/spell_burst.txt index a524010a4c5..861aff5c2b9 100644 --- a/forge-gui/res/cardsfolder/s/spell_burst.txt +++ b/forge-gui/res/cardsfolder/s/spell_burst.txt @@ -1,7 +1,7 @@ Name:Spell Burst ManaCost:X U Types:Instant -A:SP$ Counter | Cost$ X U | TargetType$ Spell | ValidTgts$ Card.cmcEQX | References$ X | SpellDescription$ Counter target spell with converted mana cost X. +A:SP$ Counter | Cost$ X U | TargetType$ Spell | ValidTgts$ Card.cmcEQX | SpellDescription$ Counter target spell with converted mana cost X. SVar:X:Count$xPaid K:Buyback:3 Oracle:Buyback {3} (You may pay an additional {3} as you cast this spell. If you do, put this card into your hand as it resolves.)\nCounter target spell with converted mana cost X. diff --git a/forge-gui/res/cardsfolder/s/spell_contortion.txt b/forge-gui/res/cardsfolder/s/spell_contortion.txt index 6a38ac49933..f6aa033089b 100644 --- a/forge-gui/res/cardsfolder/s/spell_contortion.txt +++ b/forge-gui/res/cardsfolder/s/spell_contortion.txt @@ -3,7 +3,7 @@ ManaCost:2 U Types:Instant A:SP$ Counter | Cost$ 2 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ 2 | SubAbility$ DBDraw | SpellDescription$ Counter target spell unless its controller pays {2}. Draw a card for each time CARDNAME was kicked. K:Multikicker:1 U -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ X SVar:X:Count$TimesKicked AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/spell_contortion.jpg diff --git a/forge-gui/res/cardsfolder/s/spell_queller.txt b/forge-gui/res/cardsfolder/s/spell_queller.txt index d0f2c558f26..711810c87ed 100644 --- a/forge-gui/res/cardsfolder/s/spell_queller.txt +++ b/forge-gui/res/cardsfolder/s/spell_queller.txt @@ -7,7 +7,7 @@ K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, exile target spell with converted mana cost 4 or less. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigPlay | TriggerController$ TriggeredCardController | TriggerDescription$ When Spell Queller leaves the battlefield, the exiled card's owner may cast that card without paying its mana cost. SVar:TrigExile:DB$ChangeZone | TargetType$ Spell | ValidTgts$ Card.cmcLE4 | TgtZone$ Stack | Origin$ Stack | Fizzle$ True | Mandatory$ True | Destination$ Exile | IsCurse$ True | TgtPrompt$ Choose target spell with converted mana cost 4 or less | RememberChanged$ True -SVar:TrigPlay:DB$ Play | Defined$ Remembered.ExiledWithSource | Controller$ RememberedOwner | WithoutManaCost$ True | Optional$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X | SubAbility$ DBCleanup +SVar:TrigPlay:DB$ Play | Defined$ Remembered.ExiledWithSource | Controller$ RememberedOwner | WithoutManaCost$ True | Optional$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/s/spell_rupture.txt b/forge-gui/res/cardsfolder/s/spell_rupture.txt index 9f77a2ecb12..87e9f6d324b 100644 --- a/forge-gui/res/cardsfolder/s/spell_rupture.txt +++ b/forge-gui/res/cardsfolder/s/spell_rupture.txt @@ -1,7 +1,7 @@ Name:Spell Rupture ManaCost:1 U Types:Instant -A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | UnlessCost$ X | UnlessPayer$ TargetedController | References$ X | SpellDescription$ Counter target spell unless its controller pays {X}, where X is the greatest power among creatures you control. +A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | UnlessCost$ X | UnlessPayer$ TargetedController | SpellDescription$ Counter target spell unless its controller pays {X}, where X is the greatest power among creatures you control. SVar:X:Count$GreatestPower_Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/spell_rupture.jpg Oracle:Counter target spell unless its controller pays {X}, where X is the greatest power among creatures you control. diff --git a/forge-gui/res/cardsfolder/s/spell_snuff.txt b/forge-gui/res/cardsfolder/s/spell_snuff.txt index 43da65d64f2..249a8e1c86b 100644 --- a/forge-gui/res/cardsfolder/s/spell_snuff.txt +++ b/forge-gui/res/cardsfolder/s/spell_snuff.txt @@ -2,6 +2,6 @@ Name:Spell Snuff ManaCost:1 U U Types:Instant A:SP$ Counter | Cost$ 1 U U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SubAbility$ DBDraw | SpellDescription$ Counter target spell. Fateful hour — If you have 5 or less life, draw a card. -SVar:DBDraw:DB$ Draw | NumCards$ 1 | ConditionCheckSVar$ FatefulHour | References$ FatefulHour | ConditionSVarCompare$ LE5 +SVar:DBDraw:DB$ Draw | NumCards$ 1 | ConditionCheckSVar$ FatefulHour | ConditionSVarCompare$ LE5 SVar:FatefulHour:Count$YourLifeTotal Oracle:Counter target spell.\nFateful hour — If you have 5 or less life, draw a card. diff --git a/forge-gui/res/cardsfolder/s/spell_swindle.txt b/forge-gui/res/cardsfolder/s/spell_swindle.txt index e338421bf6a..391fe8ec8d5 100644 --- a/forge-gui/res/cardsfolder/s/spell_swindle.txt +++ b/forge-gui/res/cardsfolder/s/spell_swindle.txt @@ -2,7 +2,7 @@ Name:Spell Swindle ManaCost:3 U U Types:Instant A:SP$ Counter | Cost$ 3 U U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | RememberCounteredCMC$ True | SubAbility$ DBTreasureTokens | SpellDescription$ Counter target spell. Create X Treasure tokens, where X is that spell's converted mana cost. -SVar:DBTreasureTokens:DB$ Token | TokenAmount$ X | TokenScript$ c_a_treasure_sac | TokenOwner$ You | LegacyImage$ c a treasure sac xln | References$ X | SubAbility$ DBCleanup +SVar:DBTreasureTokens:DB$ Token | TokenAmount$ X | TokenScript$ c_a_treasure_sac | TokenOwner$ You | LegacyImage$ c a treasure sac xln | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$RememberedNumber DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/s/spell_syphon.txt b/forge-gui/res/cardsfolder/s/spell_syphon.txt index e6d64ffdecf..0c47f1547c9 100644 --- a/forge-gui/res/cardsfolder/s/spell_syphon.txt +++ b/forge-gui/res/cardsfolder/s/spell_syphon.txt @@ -1,7 +1,7 @@ Name:Spell Syphon ManaCost:1 U Types:Instant -A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X | SpellDescription$ Counter target spell unless its controller pays {1} for each blue permanent you control. +A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {1} for each blue permanent you control. SVar:X:Count$Valid Permanent.YouCtrl+Blue DeckNeeds:Color$Blue SVar:Picture:http://www.wizards.com/global/images/magic/general/spell_syphon.jpg diff --git a/forge-gui/res/cardsfolder/s/spellstutter_sprite.txt b/forge-gui/res/cardsfolder/s/spellstutter_sprite.txt index e4940e8f131..6c52ee697d7 100644 --- a/forge-gui/res/cardsfolder/s/spellstutter_sprite.txt +++ b/forge-gui/res/cardsfolder/s/spellstutter_sprite.txt @@ -5,7 +5,7 @@ PT:1/1 K:Flash K:Flying T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigCounter | TriggerDescription$ When CARDNAME enters the battlefield, counter target spell with converted mana cost X or less, where X is the number of Faeries you control. -SVar:TrigCounter:DB$ Counter | TargetType$ Spell | ValidTgts$ Card.cmcLEX | References$ X | TgtPrompt$ Select target spell with CMC less than or equal to the number of Faeries you control +SVar:TrigCounter:DB$ Counter | TargetType$ Spell | ValidTgts$ Card.cmcLEX | TgtPrompt$ Select target spell with CMC less than or equal to the number of Faeries you control SVar:X:Count$Valid Faerie.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/spellstutter_sprite.jpg Oracle:Flash\nFlying\nWhen Spellstutter Sprite enters the battlefield, counter target spell with converted mana cost X or less, where X is the number of Faeries you control. diff --git a/forge-gui/res/cardsfolder/s/spellweaver_volute.txt b/forge-gui/res/cardsfolder/s/spellweaver_volute.txt index 513f0e685b7..5501cdbc356 100644 --- a/forge-gui/res/cardsfolder/s/spellweaver_volute.txt +++ b/forge-gui/res/cardsfolder/s/spellweaver_volute.txt @@ -5,8 +5,8 @@ K:Enchant instant card in a graveyard A:SP$ Attach | Cost$ 3 U U | ValidTgts$ Instant | TgtZone$ Graveyard | TgtPrompt$ Select target instant card in a graveyard | AILogic$ Pump T:Mode$ SpellCast | ValidCard$ Sorcery | ValidActivatingPlayer$ You | Execute$ TrigCopy | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a sorcery spell, copy the enchanted instant card. You may cast the copy without paying its mana cost. If you do, exile the enchanted card and attach CARDNAME to another instant card in a graveyard. SVar:TrigCopy:DB$ Play | Defined$ Enchanted | WithoutManaCost$ True | Optional$ True | CopyCard$ True | RememberPlayed$ True | SubAbility$ DBExile -SVar:DBExile:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | Defined$ Enchanted | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBChooseCard -SVar:DBChooseCard:DB$ ChooseCard | Choices$ Instant | ChoiceZone$ Graveyard | Amount$ 1 | Mandatory$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | SubAbility$ DBAttach +SVar:DBExile:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | Defined$ Enchanted | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBChooseCard +SVar:DBChooseCard:DB$ ChooseCard | Choices$ Instant | ChoiceZone$ Graveyard | Amount$ 1 | Mandatory$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBAttach SVar:DBAttach:DB$ Attach | Defined$ ChosenCard | Object$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/s/sphinx_ambassador.txt b/forge-gui/res/cardsfolder/s/sphinx_ambassador.txt index 9f87b754b7f..7b788eb2881 100644 --- a/forge-gui/res/cardsfolder/s/sphinx_ambassador.txt +++ b/forge-gui/res/cardsfolder/s/sphinx_ambassador.txt @@ -6,7 +6,7 @@ K:Flying T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigSearch | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, search that player's library for a card, then that player chooses a card name. If you searched for a creature card that doesn't have that name, you may put it onto the battlefield under your control. Then that player shuffles their library. SVar:TrigSearch:DB$ ChangeZone | ChangeType$ Card | Origin$ Library | Destination$ Library | DefinedPlayer$ DefendingPlayer | Chooser$ You | Shuffle$ False | RememberChanged$ True | SubAbility$ DBName SVar:DBName:DB$ NameCard | Defined$ DefendingPlayer | SubAbility$ DBChangeZone | AILogic$ BestCreatureInComputerDeck -SVar:DBChangeZone:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Battlefield | GainControl$ True | ConditionDefined$ Remembered | Shuffle$ False | ConditionPresent$ Card.NamedCard | ConditionCompare$ EQ0 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X | Optional$ True | OptionalDecider$ You | SubAbility$ DBShuffle +SVar:DBChangeZone:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Battlefield | GainControl$ True | ConditionDefined$ Remembered | Shuffle$ False | ConditionPresent$ Card.NamedCard | ConditionCompare$ EQ0 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | Optional$ True | OptionalDecider$ You | SubAbility$ DBShuffle SVar:DBShuffle:DB$ Shuffle | Defined$ DefendingPlayer | SubAbility$ DBCleanup SVar:X:Count$ValidLibrary Creature.IsRemembered SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/s/sphinx_bone_wand.txt b/forge-gui/res/cardsfolder/s/sphinx_bone_wand.txt index ee6d3d6fbc7..671858af729 100644 --- a/forge-gui/res/cardsfolder/s/sphinx_bone_wand.txt +++ b/forge-gui/res/cardsfolder/s/sphinx_bone_wand.txt @@ -3,7 +3,7 @@ ManaCost:7 Types:Artifact T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | OptionalDecider$ You | TriggerDescription$ Whenever you cast an instant or sorcery spell, you may put a charge counter on CARDNAME. If you do, CARDNAME deals damage equal to the number of charge counters on it to any target. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1 | SubAbility$ DBDealDamage -SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$CardCounters.CHARGE SVar:BuffedBy:Instant,Sorcery SVar:Picture:http://www.wizards.com/global/images/magic/general/sphinx_bone_wand.jpg diff --git a/forge-gui/res/cardsfolder/s/sphinxs_revelation.txt b/forge-gui/res/cardsfolder/s/sphinxs_revelation.txt index 09681fd318d..3ea1bfa077c 100644 --- a/forge-gui/res/cardsfolder/s/sphinxs_revelation.txt +++ b/forge-gui/res/cardsfolder/s/sphinxs_revelation.txt @@ -1,8 +1,8 @@ Name:Sphinx's Revelation ManaCost:X W U U Types:Instant -A:SP$ GainLife | Cost$ X W U U | LifeAmount$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ You gain X life and draw X cards. -SVar:DBDraw:DB$Draw | NumCards$ X | References$ X +A:SP$ GainLife | Cost$ X W U U | LifeAmount$ X | SubAbility$ DBDraw | SpellDescription$ You gain X life and draw X cards. +SVar:DBDraw:DB$Draw | NumCards$ X SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/sphinxs_revelation.jpg Oracle:You gain X life and draw X cards. diff --git a/forge-gui/res/cardsfolder/s/sphinxs_tutelage.txt b/forge-gui/res/cardsfolder/s/sphinxs_tutelage.txt index 41a89dc28e6..33a1d2b97c6 100644 --- a/forge-gui/res/cardsfolder/s/sphinxs_tutelage.txt +++ b/forge-gui/res/cardsfolder/s/sphinxs_tutelage.txt @@ -2,7 +2,7 @@ Name:Sphinx's Tutelage ManaCost:2 U Types:Enchantment T:Mode$ Drawn | ValidCard$ Card.YouOwn | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ Whenever you draw a card, target opponent mills two cards. If two nonland cards that share a color were milled this way, repeat this process. -SVar:TrigMill:DB$ Repeat | ValidTgts$ Opponent | IsCurse$ True | RepeatSubAbility$ DBCleanAndGrind | MaxRepeat$ MaxRepeats | RepeatCheckSVar$ MilledSharesColor | References$ MilledSharesColor,MaxRepeats | RepeatSVarCompare$ EQ2 | SubAbility$ DBCleanup +SVar:TrigMill:DB$ Repeat | ValidTgts$ Opponent | IsCurse$ True | RepeatSubAbility$ DBCleanAndGrind | MaxRepeat$ MaxRepeats | RepeatCheckSVar$ MilledSharesColor | RepeatSVarCompare$ EQ2 | SubAbility$ DBCleanup SVar:DBCleanAndGrind:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBPeek SVar:DBPeek:DB$ PeekAndReveal | Defined$ Targeted | PeekAmount$ 2 | NoPeek$ True | NoReveal$ True | RememberPeeked$ True | SubAbility$ DBGrind SVar:DBGrind:DB$ Mill | NumCards$ 2 | Defined$ Targeted | NoReveal$ True diff --git a/forge-gui/res/cardsfolder/s/spider_spawning.txt b/forge-gui/res/cardsfolder/s/spider_spawning.txt index 9760e3b8677..eed67c51dc4 100644 --- a/forge-gui/res/cardsfolder/s/spider_spawning.txt +++ b/forge-gui/res/cardsfolder/s/spider_spawning.txt @@ -2,7 +2,7 @@ Name:Spider Spawning ManaCost:4 G Types:Sorcery K:Flashback:6 B -A:SP$ Token | Cost$ 4 G | LegacyImage$ g 1 2 spider reach isd | TokenAmount$ X | References$ X | TokenScript$ g_1_2_spider_reach | TokenOwner$ You | SpellDescription$ Create a 1/2 green Spider creature token with reach for each creature card in your graveyard. +A:SP$ Token | Cost$ 4 G | LegacyImage$ g 1 2 spider reach isd | TokenAmount$ X | TokenScript$ g_1_2_spider_reach | TokenOwner$ You | SpellDescription$ Create a 1/2 green Spider creature token with reach for each creature card in your graveyard. SVar:X:Count$TypeInYourYard.Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/spider_spawning.jpg Oracle:Create a 1/2 green Spider creature token with reach for each creature card in your graveyard.\nFlashback {6}{B} (You may cast this card from your graveyard for its flashback cost. Then exile it.) diff --git a/forge-gui/res/cardsfolder/s/spikeshot_elder.txt b/forge-gui/res/cardsfolder/s/spikeshot_elder.txt index 1574e3be868..2c2f8d06a40 100644 --- a/forge-gui/res/cardsfolder/s/spikeshot_elder.txt +++ b/forge-gui/res/cardsfolder/s/spikeshot_elder.txt @@ -2,7 +2,7 @@ Name:Spikeshot Elder ManaCost:R Types:Creature Goblin Shaman PT:1/1 -A:AB$ DealDamage | Cost$ 1 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to its power to any target. +A:AB$ DealDamage | Cost$ 1 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to its power to any target. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/spikeshot_elder.jpg Oracle:{1}{R}{R}: Spikeshot Elder deals damage equal to its power to any target. diff --git a/forge-gui/res/cardsfolder/s/spikeshot_goblin.txt b/forge-gui/res/cardsfolder/s/spikeshot_goblin.txt index 5598ef5c0f3..5b0e7e34c5e 100644 --- a/forge-gui/res/cardsfolder/s/spikeshot_goblin.txt +++ b/forge-gui/res/cardsfolder/s/spikeshot_goblin.txt @@ -2,7 +2,7 @@ Name:Spikeshot Goblin ManaCost:2 R Types:Creature Goblin Shaman PT:1/2 -A:AB$ DealDamage | Cost$ R T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to its power to any target. +A:AB$ DealDamage | Cost$ R T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to its power to any target. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/spikeshot_goblin.jpg Oracle:{R}, {T}: Spikeshot Goblin deals damage equal to its power to any target. diff --git a/forge-gui/res/cardsfolder/s/spinal_embrace.txt b/forge-gui/res/cardsfolder/s/spinal_embrace.txt index b2199180a06..b19172db3af 100644 --- a/forge-gui/res/cardsfolder/s/spinal_embrace.txt +++ b/forge-gui/res/cardsfolder/s/spinal_embrace.txt @@ -5,7 +5,7 @@ A:SP$ GainControl | Cost$ 3 U U B | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ SVar:DBAnimate:DB$ Animate | Defined$ Targeted | Keywords$ Haste | sVars$ SneakAttackEOT | SubAbility$ DelTrig SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End Of Turn | Execute$ TrigSac | RememberObjects$ Targeted | TriggerDescription$ At the beginning of the next end step, sacrifice it. If you do, you gain life equal to its toughness. | AILogic$ Always | ConditionDefined$ Targeted | ConditionPresent$ Card | ConditionCompare$ GE1 SVar:TrigSac:DB$ SacrificeAll | Defined$ DelayTriggerRemembered | Controller$ You | RememberSacrificed$ True | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | SubAbility$ DBCleanup | References$ X | ConditionDefined$ Remembered | ConditionPresent$ Card +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardToughness SVar:SneakAttackEOT:SVar:EndOfTurnLeavePlay:AtEOT diff --git a/forge-gui/res/cardsfolder/s/spined_sliver.txt b/forge-gui/res/cardsfolder/s/spined_sliver.txt index 74b26af0617..b049fabfdbb 100644 --- a/forge-gui/res/cardsfolder/s/spined_sliver.txt +++ b/forge-gui/res/cardsfolder/s/spined_sliver.txt @@ -3,7 +3,7 @@ ManaCost:R G Types:Creature Sliver PT:2/2 T:Mode$ AttackerBlocked | ValidCard$ Sliver | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever a Sliver becomes blocked, that Sliver gets +1/+1 until end of turn for each creature blocking it. -SVar:TrigPump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ +X | NumDef$ +X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ +X | NumDef$ +X SVar:X:TriggerCount$NumBlockers SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/spined_sliver.jpg diff --git a/forge-gui/res/cardsfolder/s/spinerock_knoll.txt b/forge-gui/res/cardsfolder/s/spinerock_knoll.txt index efa96b8f864..b260a8d2632 100644 --- a/forge-gui/res/cardsfolder/s/spinerock_knoll.txt +++ b/forge-gui/res/cardsfolder/s/spinerock_knoll.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land K:Hideaway A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R}. -A:AB$ Play | Cost$ R T | Defined$ Remembered | Amount$ All | Controller$ You | WithoutManaCost$ True | Optional$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE7 | References$ X | ForgetRemembered$ True | AILogic$ CheckCondition | SpellDescription$ You may play the exiled card without paying its mana cost if an opponent was dealt 7 or more damage this turn. +A:AB$ Play | Cost$ R T | Defined$ Remembered | Amount$ All | Controller$ You | WithoutManaCost$ True | Optional$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE7 | ForgetRemembered$ True | AILogic$ CheckCondition | SpellDescription$ You may play the exiled card without paying its mana cost if an opponent was dealt 7 or more damage this turn. SVar:X:Count$MaxOppDamageThisTurn SVar:Picture:http://www.wizards.com/global/images/magic/general/spinerock_knoll.jpg Oracle:Hideaway (This land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library.)\n{T}: Add {R}.\n{R}, {T}: You may play the exiled card without paying its mana cost if an opponent was dealt 7 or more damage this turn. diff --git a/forge-gui/res/cardsfolder/s/spiny_starfish.txt b/forge-gui/res/cardsfolder/s/spiny_starfish.txt index 9185d4a5af8..199e05e9c58 100644 --- a/forge-gui/res/cardsfolder/s/spiny_starfish.txt +++ b/forge-gui/res/cardsfolder/s/spiny_starfish.txt @@ -4,7 +4,7 @@ Types:Creature Starfish PT:0/1 A:AB$ Regenerate | Cost$ U | SpellDescription$ Regenerate CARDNAME. T:Mode$ Phase | Phase$ End of Turn | Execute$ TrigToken | CheckSVar$ X | SVarCompare$ GE1 | TriggerDescription$ At the beginning of each end step, if CARDNAME regenerated this turn, create a 0/1 blue Starfish creature token for each time it regenerated this turn. -SVar:TrigToken:DB$Token | TokenAmount$ X | References$ X | TokenScript$ u_0_1_starfish | TokenOwner$ You | LegacyImage$ u 0 1 starfish all +SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ u_0_1_starfish | TokenOwner$ You | LegacyImage$ u 0 1 starfish all SVar:X:Count$RegeneratedThisTurn SVar:Picture:http://www.wizards.com/global/images/magic/general/spiny_starfish.jpg Oracle:{U}: Regenerate Spiny Starfish.\nAt the beginning of each end step, if Spiny Starfish regenerated this turn, create a 0/1 blue Starfish creature token for each time it regenerated this turn. diff --git a/forge-gui/res/cardsfolder/s/spiraling_embers.txt b/forge-gui/res/cardsfolder/s/spiraling_embers.txt index 45ec681eb8a..b3211fd6690 100644 --- a/forge-gui/res/cardsfolder/s/spiraling_embers.txt +++ b/forge-gui/res/cardsfolder/s/spiraling_embers.txt @@ -1,7 +1,7 @@ Name:Spiraling Embers ManaCost:3 R Types:Sorcery Arcane -A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to any target equal to the number of cards in your hand. +A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage to any target equal to the number of cards in your hand. SVar:X:Count$InYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/spiraling_embers.jpg Oracle:Spiraling Embers deals damage to any target equal to the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/s/spire_barrage.txt b/forge-gui/res/cardsfolder/s/spire_barrage.txt index 8848e85d9aa..c583f7d309b 100644 --- a/forge-gui/res/cardsfolder/s/spire_barrage.txt +++ b/forge-gui/res/cardsfolder/s/spire_barrage.txt @@ -1,7 +1,7 @@ Name:Spire Barrage ManaCost:4 R Types:Sorcery -A:SP$ DealDamage | Cost$ 4 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to any target equal to the number of Mountains you control. +A:SP$ DealDamage | Cost$ 4 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage to any target equal to the number of Mountains you control. SVar:X:Count$TypeYouCtrl.Mountain SVar:Picture:http://www.wizards.com/global/images/magic/general/spire_barrage.jpg Oracle:Spire Barrage deals damage to any target equal to the number of Mountains you control. diff --git a/forge-gui/res/cardsfolder/s/spire_garden.txt b/forge-gui/res/cardsfolder/s/spire_garden.txt index 8b295aa858e..555ee228009 100644 --- a/forge-gui/res/cardsfolder/s/spire_garden.txt +++ b/forge-gui/res/cardsfolder/s/spire_garden.txt @@ -2,7 +2,7 @@ Name:Spire Garden ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. SVar:ETBCheckSVar2:PlayerCountOpponents$Amount A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R}. A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add {G}. diff --git a/forge-gui/res/cardsfolder/s/spire_of_industry.txt b/forge-gui/res/cardsfolder/s/spire_of_industry.txt index 0055119f188..cec75453fb4 100644 --- a/forge-gui/res/cardsfolder/s/spire_of_industry.txt +++ b/forge-gui/res/cardsfolder/s/spire_of_industry.txt @@ -2,7 +2,7 @@ Name:Spire of Industry ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ Mana | Cost$ T PayLife<1> | Produced$ Any | Amount$ 1 | CheckSVar$ X | References$ X | SpellDescription$ Add one mana of any color. Activate this ability only if you control an artifact. +A:AB$ Mana | Cost$ T PayLife<1> | Produced$ Any | Amount$ 1 | CheckSVar$ X | SpellDescription$ Add one mana of any color. Activate this ability only if you control an artifact. SVar:X:Count$Valid Artifact.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/spire_of_industry.jpg Oracle:{T}: Add {C}.\n{T}, Pay 1 life: Add one mana of any color. Activate this ability only if you control an artifact. diff --git a/forge-gui/res/cardsfolder/s/spirebluff_canal.txt b/forge-gui/res/cardsfolder/s/spirebluff_canal.txt index cd06a32a137..b0e85ce1343 100644 --- a/forge-gui/res/cardsfolder/s/spirebluff_canal.txt +++ b/forge-gui/res/cardsfolder/s/spirebluff_canal.txt @@ -2,7 +2,7 @@ Name:Spirebluff Canal ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ GT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you control two or fewer other lands. SVar:ETBCheckSVar2:Count$LastStateBattlefield Land.YouCtrl A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add {U}. A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R}. diff --git a/forge-gui/res/cardsfolder/s/spirit_en_kor.txt b/forge-gui/res/cardsfolder/s/spirit_en_kor.txt index 48e389005cd..42deb020c7c 100644 --- a/forge-gui/res/cardsfolder/s/spirit_en_kor.txt +++ b/forge-gui/res/cardsfolder/s/spirit_en_kor.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Kor Spirit PT:2/2 K:Flying -A:AB$ Effect | Cost$ 0 | Name$ en-Kor Redirection | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage to | ReplacementEffects$ EnKor | SVars$ EnKorDmg | References$ EnKor,EnKorDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature you control instead. +A:AB$ Effect | Cost$ 0 | Name$ en-Kor Redirection | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage to | ReplacementEffects$ EnKor | SVars$ EnKorDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature you control instead. SVar:EnKor:Event$ DamageDone | ValidTarget$ Creature.EffectSource | ReplaceWith$ EnKorDmg | DamageTarget$ Remembered | Description$ The next 1 damage that would be dealt to EFFECTSOURCE this turn is dealt to target creature you control instead. SVar:EnKorDmg:DB$ ReplaceSplitDamage | DamageTarget$ Remembered AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/spirit_flare.txt b/forge-gui/res/cardsfolder/s/spirit_flare.txt index fa0cff08a05..10d62fba2fc 100644 --- a/forge-gui/res/cardsfolder/s/spirit_flare.txt +++ b/forge-gui/res/cardsfolder/s/spirit_flare.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Instant K:Flashback:1 W PayLife<3> A:SP$ Tap | Cost$ 3 W | TgtPrompt$ Select target untapped creature you control | ValidTgts$ Creature.untapped+YouCtrl | SubAbility$ SpiritDmg | RememberTapped$ True | SpellDescription$ Tap target untapped creature you control. If you do, it deals damage equal to its power to target attacking or blocking creature an opponent controls. -SVar:SpiritDmg:DB$ DealDamage | ValidTgts$ Creature.attacking+OppCtrl,Creature.blocking+OppCtrl | TgtPrompt$ Select target attacking or blocking creature an opponent controls | NumDmg$ SpiritStrength | ConditionCheckSVar$ WasTapped | ConditionSVarCompare$ GE1 | References$ SpiritStrength,WasTapped +SVar:SpiritDmg:DB$ DealDamage | ValidTgts$ Creature.attacking+OppCtrl,Creature.blocking+OppCtrl | TgtPrompt$ Select target attacking or blocking creature an opponent controls | NumDmg$ SpiritStrength | ConditionCheckSVar$ WasTapped | ConditionSVarCompare$ GE1 SVar:SpiritStrength:Remembered$CardPower SVar:WasTapped:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/spirit_link.txt b/forge-gui/res/cardsfolder/s/spirit_link.txt index 381cf6a3aa2..44058e8e3ff 100644 --- a/forge-gui/res/cardsfolder/s/spirit_link.txt +++ b/forge-gui/res/cardsfolder/s/spirit_link.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ W | ValidTgts$ Creature | AILogic$ Pump T:Mode$ DamageDealtOnce | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:LikeLifeLink:True SVar:Picture:http://www.wizards.com/global/images/magic/general/spirit_link.jpg diff --git a/forge-gui/res/cardsfolder/s/spirit_loop.txt b/forge-gui/res/cardsfolder/s/spirit_loop.txt index f1dd249a94c..3db96689504 100644 --- a/forge-gui/res/cardsfolder/s/spirit_loop.txt +++ b/forge-gui/res/cardsfolder/s/spirit_loop.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature you control A:SP$ Attach | Cost$ 1 W | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | AILogic$ Pump T:Mode$ DamageDealtOnce | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, return CARDNAME to its owner's hand. SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Defined$ TriggeredNewCardLKICopy diff --git a/forge-gui/res/cardsfolder/s/spiritualize.txt b/forge-gui/res/cardsfolder/s/spiritualize.txt index badc52067b9..fc79aed6a20 100644 --- a/forge-gui/res/cardsfolder/s/spiritualize.txt +++ b/forge-gui/res/cardsfolder/s/spiritualize.txt @@ -1,9 +1,9 @@ Name:Spiritualize ManaCost:2 W Types:Instant -A:SP$ Effect | Cost$ 2 W | Name$ Spiritualize Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature | Triggers$ TrigDamage | SVars$ TrigGainLife,X | References$ TrigGainLife,X | RememberObjects$ Targeted | SubAbility$ DBDraw | SpellDescription$ Until end of turn, whenever target creature deals damage, you gain that much life. Draw a card. +A:SP$ Effect | Cost$ 2 W | Name$ Spiritualize Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature | Triggers$ TrigDamage | SVars$ TrigGainLife,X | RememberObjects$ Targeted | SubAbility$ DBDraw | SpellDescription$ Until end of turn, whenever target creature deals damage, you gain that much life. Draw a card. SVar:TrigDamage:Mode$ DamageDoneOnce | ValidSource$ Creature.IsRemembered | Execute$ TrigGainLife | TriggerDescription$ Whenever the targeted creature of Spiritualize deals damage, you gain that much life. -SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X | References$ X | Defined$ You +SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X | Defined$ You SVar:DBDraw:DB$ Draw | NumCards$ 1 SVar:X:TriggerCount$DamageAmount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/spite_of_mogis.txt b/forge-gui/res/cardsfolder/s/spite_of_mogis.txt index 71be0a72400..13fd44176df 100644 --- a/forge-gui/res/cardsfolder/s/spite_of_mogis.txt +++ b/forge-gui/res/cardsfolder/s/spite_of_mogis.txt @@ -1,7 +1,7 @@ Name:Spite of Mogis ManaCost:R Types:Sorcery -A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SubAbility$ DBScry | SpellDescription$ CARDNAME deals damage to target creature equal to the number of instant and sorcery cards in your graveyard. Scry 1. +A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBScry | SpellDescription$ CARDNAME deals damage to target creature equal to the number of instant and sorcery cards in your graveyard. Scry 1. SVar:DBScry:DB$ Scry | ScryNum$ 1 SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/spite_of_mogis.jpg diff --git a/forge-gui/res/cardsfolder/s/spiteful_shadows.txt b/forge-gui/res/cardsfolder/s/spiteful_shadows.txt index 13cbacf1906..093c1b85b0c 100644 --- a/forge-gui/res/cardsfolder/s/spiteful_shadows.txt +++ b/forge-gui/res/cardsfolder/s/spiteful_shadows.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature | AILogic$ Curse T:Mode$ DamageDoneOnce | ValidTarget$ Card.AttachedBy | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ Whenever enchanted creature is dealt damage, it deals that much damage to its controller. -SVar:TrigDealDamage:DB$ DealDamage | Defined$ TriggeredTargetController | NumDmg$ X | References$ X | DamageSource$ TriggeredTarget +SVar:TrigDealDamage:DB$ DealDamage | Defined$ TriggeredTargetController | NumDmg$ X | DamageSource$ TriggeredTarget SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/spiteful_shadows.jpg Oracle:Enchant creature\nWhenever enchanted creature is dealt damage, it deals that much damage to its controller. diff --git a/forge-gui/res/cardsfolder/s/spiteful_sliver.txt b/forge-gui/res/cardsfolder/s/spiteful_sliver.txt index f3c7ef80fa2..ffc6105694d 100644 --- a/forge-gui/res/cardsfolder/s/spiteful_sliver.txt +++ b/forge-gui/res/cardsfolder/s/spiteful_sliver.txt @@ -4,6 +4,6 @@ Types:Creature Sliver PT:2/2 S:Mode$ Continuous | Affected$ Creature.Sliver+YouCtrl | AddTrigger$ SpitefulSliverTrigger | AddSVar$ SpitefulSliverDamage & SpitefulSliverX | Description$ Sliver creatures you control have "Whenever this creature is dealt damage, it deals that much damage to target player or planeswalker." SVar:SpitefulSliverTrigger:Mode$ DamageDoneOnce | Execute$ SpitefulSliverDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever this creature is dealt damage, it deals that much damage to target player or planeswalker. -SVar:SpitefulSliverDamage:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ SpitefulSliverX | References$ SpitefulSliverX +SVar:SpitefulSliverDamage:DB$ DealDamage | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ SpitefulSliverX SVar:SpitefulSliverX:TriggerCount$DamageAmount Oracle:Sliver creatures you control have "Whenever this creature is dealt damage, it deals that much damage to target player or planeswalker." diff --git a/forge-gui/res/cardsfolder/s/spitemare.txt b/forge-gui/res/cardsfolder/s/spitemare.txt index 274712fb963..246947f08ba 100644 --- a/forge-gui/res/cardsfolder/s/spitemare.txt +++ b/forge-gui/res/cardsfolder/s/spitemare.txt @@ -3,7 +3,7 @@ ManaCost:2 RW RW Types:Creature Elemental PT:3/3 T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to any target. -SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | References$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target +SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/spitemare.jpg diff --git a/forge-gui/res/cardsfolder/s/spitting_earth.txt b/forge-gui/res/cardsfolder/s/spitting_earth.txt index 5c53a15d2bf..5e492b75d07 100644 --- a/forge-gui/res/cardsfolder/s/spitting_earth.txt +++ b/forge-gui/res/cardsfolder/s/spitting_earth.txt @@ -1,7 +1,7 @@ Name:Spitting Earth ManaCost:1 R Types:Sorcery -A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ Spitting Earth deals damage equal to the number of Mountains you control to target creature. +A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ Spitting Earth deals damage equal to the number of Mountains you control to target creature. SVar:X:Count$TypeYouCtrl.Mountain SVar:Picture:http://www.wizards.com/global/images/magic/general/spitting_earth.jpg Oracle:Spitting Earth deals damage to target creature equal to the number of Mountains you control. diff --git a/forge-gui/res/cardsfolder/s/spitting_slug.txt b/forge-gui/res/cardsfolder/s/spitting_slug.txt index 5423a2e8dad..cf732f149e5 100644 --- a/forge-gui/res/cardsfolder/s/spitting_slug.txt +++ b/forge-gui/res/cardsfolder/s/spitting_slug.txt @@ -4,7 +4,7 @@ Types:Creature Slug PT:2/4 T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ DBPay | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked, you may pay {1}{G}. If you do, CARDNAME gains first strike until end of turn. Otherwise, each creature blocking or blocked by CARDNAME gains first strike until end of turn. T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ DBPay | Secondary$ True | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked, you may pay {1}{G}. If you do, CARDNAME gains first strike until end of turn. Otherwise, each creature blocking or blocked by CARDNAME gains first strike until end of turn. -SVar:DBPay:DB$ StoreSVar | SVar$ SlugUnpaid | Type$ Number | Expression$ 1 | UnlessCost$ 1 G | UnlessPayer$ You | SubAbility$ PumpSelf | References$ SlugUnpaid +SVar:DBPay:DB$ StoreSVar | SVar$ SlugUnpaid | Type$ Number | Expression$ 1 | UnlessCost$ 1 G | UnlessPayer$ You | SubAbility$ PumpSelf SVar:PumpSelf:DB$ Pump | Defined$ Self | KW$ First Strike | ConditionCheckSVar$ SlugUnpaid | ConditionSVarCompare$ EQ0 | SubAbility$ PumpOthers SVar:PumpOthers:DB$ PumpAll | ValidCards$ Creature.blockingSource,Creature.blockedBySource | KW$ First Strike | ConditionCheckSVar$ SlugUnpaid | ConditionSVarCompare$ EQ1 | SubAbility$ DBReset SVar:DBReset:DB$ StoreSVar | SVar$ SlugUnpaid | Type$ Number | Expression$ 0 diff --git a/forge-gui/res/cardsfolder/s/splinter.txt b/forge-gui/res/cardsfolder/s/splinter.txt index 87f2b46b0c8..6a000a76574 100644 --- a/forge-gui/res/cardsfolder/s/splinter.txt +++ b/forge-gui/res/cardsfolder/s/splinter.txt @@ -3,8 +3,8 @@ ManaCost:2 G G Types:Sorcery A:SP$ ChangeZone | Cost$ 2 G G | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | RememberLKI$ True | ForgetOtherTargets$ True | SubAbility$ ExileYard | SpellDescription$ Exile target artifact. Search its controller's graveyard, hand, and library for all cards with the same name as that artifact and exile them. Then that player shuffles their library. SVar:ExileYard:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Exile | Defined$ TargetedController | ChangeType$ Remembered.sameName | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | References$ NumInHand | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | References$ NumInLib | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ TargetedController | ChangeType$ Remembered.sameName | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:NumInHand:TargetedController$CardsInHand SVar:NumInLib:TargetedController$CardsInLibrary SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/s/splinterfright.txt b/forge-gui/res/cardsfolder/s/splinterfright.txt index bb7a5fee0be..04bf0dc2a61 100644 --- a/forge-gui/res/cardsfolder/s/splinterfright.txt +++ b/forge-gui/res/cardsfolder/s/splinterfright.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Elemental PT:*/* K:Trample -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creature cards in your graveyard. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creature cards in your graveyard. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ At the beginning of your upkeep, mill two cards. SVar:TrigMill:DB$ Mill | Defined$ You | NumCards$ 2 SVar:X:Count$TypeInYourYard.Creature diff --git a/forge-gui/res/cardsfolder/s/spoils_of_adventure.txt b/forge-gui/res/cardsfolder/s/spoils_of_adventure.txt index c9ba92d79e9..c58b149066c 100755 --- a/forge-gui/res/cardsfolder/s/spoils_of_adventure.txt +++ b/forge-gui/res/cardsfolder/s/spoils_of_adventure.txt @@ -1,7 +1,7 @@ Name:Spoils of Adventure ManaCost:4 W U Types:Instant -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | References$ X | Description$ This spell costs {1} less to cast for each creature in your party. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature in your party. SVar:X:Count$Party A:SP$ GainLife | Cost$ 4 W U | LifeAmount$ 3 | SubAbility$ DBDraw | SpellDescription$ You gain 3 life and draw three cards. SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 3 diff --git a/forge-gui/res/cardsfolder/s/spoils_of_blood.txt b/forge-gui/res/cardsfolder/s/spoils_of_blood.txt index 082c2ec9cdc..d0850f8d6f6 100644 --- a/forge-gui/res/cardsfolder/s/spoils_of_blood.txt +++ b/forge-gui/res/cardsfolder/s/spoils_of_blood.txt @@ -1,7 +1,7 @@ Name:Spoils of Blood ManaCost:B Types:Instant -A:SP$ Token | Cost$ B | TokenAmount$ 1 | TokenScript$ b_x_x_horror | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | LegacyImage$ b x x horror c14 | SpellDescription$ Create an X/X black Horror creature token, where X is the number of creatures that died this turn. +A:SP$ Token | Cost$ B | TokenAmount$ 1 | TokenScript$ b_x_x_horror | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | LegacyImage$ b x x horror c14 | SpellDescription$ Create an X/X black Horror creature token, where X is the number of creatures that died this turn. SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/spoils_of_blood.jpg Oracle:Create an X/X black Horror creature token, where X is the number of creatures that died this turn. diff --git a/forge-gui/res/cardsfolder/s/spoils_of_evil.txt b/forge-gui/res/cardsfolder/s/spoils_of_evil.txt index 4197ffeb6cc..8ad7bdf3251 100644 --- a/forge-gui/res/cardsfolder/s/spoils_of_evil.txt +++ b/forge-gui/res/cardsfolder/s/spoils_of_evil.txt @@ -1,8 +1,8 @@ Name:Spoils of Evil ManaCost:2 B Types:Instant -A:SP$ GainLife | Cost$ 2 B | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBMana | SpellDescription$ For each artifact or creature card in target opponent's graveyard, add {1} and you gain 1 life. -SVar:DBMana:DB$ Mana | Produced$ C | Amount$ X | References$ X +A:SP$ GainLife | Cost$ 2 B | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | Defined$ You | LifeAmount$ X | SubAbility$ DBMana | SpellDescription$ For each artifact or creature card in target opponent's graveyard, add {1} and you gain 1 life. +SVar:DBMana:DB$ Mana | Produced$ C | Amount$ X SVar:X:Count$ValidGraveyard Creature.OppOwn,Artifact.OppOwn AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/spoils_of_evil.jpg diff --git a/forge-gui/res/cardsfolder/s/spoils_of_the_vault.txt b/forge-gui/res/cardsfolder/s/spoils_of_the_vault.txt index 927b48b2d22..2d848b37471 100644 --- a/forge-gui/res/cardsfolder/s/spoils_of_the_vault.txt +++ b/forge-gui/res/cardsfolder/s/spoils_of_the_vault.txt @@ -3,7 +3,7 @@ ManaCost:B Types:Instant A:SP$ NameCard | Cost$ B | Defined$ You | SubAbility$ DBDigUntil | SpellDescription$ Choose a card name. Reveal cards from the top of your library until you reveal a card with that name, then put that card into your hand. Exile all other cards revealed this way, and you lose 1 life for each of the exiled cards. SVar:DBDigUntil:DB$ DigUntil | Valid$ Card.NamedCard | FoundDestination$ Hand | RevealedDestination$ Exile | ValidDescription$ named card | RememberRevealed$ True | SubAbility$ DBLoseLife -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/spontaneous_generation.txt b/forge-gui/res/cardsfolder/s/spontaneous_generation.txt index 73e1d362662..04b7c3e0c32 100644 --- a/forge-gui/res/cardsfolder/s/spontaneous_generation.txt +++ b/forge-gui/res/cardsfolder/s/spontaneous_generation.txt @@ -1,7 +1,7 @@ Name:Spontaneous Generation ManaCost:3 G Types:Sorcery -A:SP$ Token | Cost$ 3 G | TokenAmount$ X | References$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling mmq | SpellDescription$ Create a 1/1 green Saproling creature token for each card in your hand. +A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling mmq | SpellDescription$ Create a 1/1 green Saproling creature token for each card in your hand. SVar:X:Count$InYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/spontaneous_generation.jpg Oracle:Create a 1/1 green Saproling creature token for each card in your hand. diff --git a/forge-gui/res/cardsfolder/s/spore_burst.txt b/forge-gui/res/cardsfolder/s/spore_burst.txt index 6af97773bc2..8ead8b64100 100644 --- a/forge-gui/res/cardsfolder/s/spore_burst.txt +++ b/forge-gui/res/cardsfolder/s/spore_burst.txt @@ -1,7 +1,7 @@ Name:Spore Burst ManaCost:3 G Types:Sorcery -A:SP$ Token | Cost$ 3 G | TokenAmount$ X | References$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling cfx | SpellDescription$ Domain — Create a 1/1 green Saproling creature token for each basic land type among lands you control. +A:SP$ Token | Cost$ 3 G | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling cfx | SpellDescription$ Domain — Create a 1/1 green Saproling creature token for each basic land type among lands you control. SVar:X:Count$Domain AI:RemoveDeck:Random DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/s/sporogenesis.txt b/forge-gui/res/cardsfolder/s/sporogenesis.txt index 381a250c159..547989bb159 100644 --- a/forge-gui/res/cardsfolder/s/sporogenesis.txt +++ b/forge-gui/res/cardsfolder/s/sporogenesis.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a fungus counter on target nontoken creature. SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Creature.nonToken | TgtPrompt$ Select target nontoken creature | CounterType$ FUNGUS | CounterNum$ 1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | TriggerZones$ Battlefield | ValidCard$ Creature.counters_GE1_FUNGUS | Execute$ TrigToken | TriggerDescription$ Whenever a creature with a fungus counter on it dies, create a 1/1 green Saproling creature token for each fungus counter on that creature. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling usg +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling usg SVar:X:TriggeredCard$CardCounters.FUNGUS T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigRemove | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, remove all fungus counters from all creatures. SVar:TrigRemove:DB$ RepeatEach | RepeatCards$ Creature | RepeatSubAbility$ DBRemoveFungus diff --git a/forge-gui/res/cardsfolder/s/springjack_pasture.txt b/forge-gui/res/cardsfolder/s/springjack_pasture.txt index 23ec64d7e25..b373f5976db 100644 --- a/forge-gui/res/cardsfolder/s/springjack_pasture.txt +++ b/forge-gui/res/cardsfolder/s/springjack_pasture.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. A:AB$ Token | Cost$ 4 T | TokenAmount$ 1 | TokenScript$ w_0_1_goat | TokenOwner$ You | LegacyImage$ w 0 1 goat eve | SpellDescription$ Create a 0/1 white Goat creature token. -A:AB$ Mana | Cost$ T Sac | CostDesc$ {T}, Sacrifice X Goats: | Produced$ Any | Amount$ X | References$ X | Defined$ You | SubAbility$ DBGainLife | SpellDescription$ Add X mana of any one color. You gain X life. +A:AB$ Mana | Cost$ T Sac | CostDesc$ {T}, Sacrifice X Goats: | Produced$ Any | Amount$ X | Defined$ You | SubAbility$ DBGainLife | SpellDescription$ Add X mana of any one color. You gain X life. SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$xPaid AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/springjack_shepherd.txt b/forge-gui/res/cardsfolder/s/springjack_shepherd.txt index 9f28027dda6..03dd18dbbcd 100644 --- a/forge-gui/res/cardsfolder/s/springjack_shepherd.txt +++ b/forge-gui/res/cardsfolder/s/springjack_shepherd.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Kithkin Wizard PT:1/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ Chroma — When CARDNAME enters the battlefield, create a 0/1 white Goat creature token for each white mana symbol in the mana costs of permanents you control. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ w_0_1_goat | TokenOwner$ You | LegacyImage$ w 0 1 goat eve +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ w_0_1_goat | TokenOwner$ You | LegacyImage$ w 0 1 goat eve SVar:X:Count$Chroma.White SVar:Picture:http://www.wizards.com/global/images/magic/general/springjack_shepherd.jpg Oracle:Chroma — When Springjack Shepherd enters the battlefield, create a 0/1 white Goat creature token for each white mana symbol in the mana costs of permanents you control. diff --git a/forge-gui/res/cardsfolder/s/squad_commander.txt b/forge-gui/res/cardsfolder/s/squad_commander.txt index d6f99aa96c3..52cba2d209a 100755 --- a/forge-gui/res/cardsfolder/s/squad_commander.txt +++ b/forge-gui/res/cardsfolder/s/squad_commander.txt @@ -3,8 +3,8 @@ ManaCost:3 W Types:Creature Kor Warrior PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a 1/1 white Kor Warrior creature token for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ w_1_1_kor_warrior | TokenOwner$ You -T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ EQ4 | References$ X | Execute$ TrigPumpAll | TriggerDescription$ At the beginning of combat on your turn, if you have a full party, creatures you control get +1/+0 and gain indestructible until end of turn. +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_kor_warrior | TokenOwner$ You +T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ EQ4 | Execute$ TrigPumpAll | TriggerDescription$ At the beginning of combat on your turn, if you have a full party, creatures you control get +1/+0 and gain indestructible until end of turn. SVar:TrigPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | NumAtt$ +1 | KW$ Indestructible SVar:X:Count$Party SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/s/squall_line.txt b/forge-gui/res/cardsfolder/s/squall_line.txt index ef578509329..9212024fb13 100644 --- a/forge-gui/res/cardsfolder/s/squall_line.txt +++ b/forge-gui/res/cardsfolder/s/squall_line.txt @@ -1,7 +1,7 @@ Name:Squall Line ManaCost:X G G Types:Instant -A:SP$ DamageAll | Cost$ X G G | References$ X | ValidCards$ Creature.withFlying | ValidPlayers$ Player | NumDmg$ X | ValidDescription$ each creature with flying and each player. | SpellDescription$ CARDNAME deals X damage to each creature with flying and each player. +A:SP$ DamageAll | Cost$ X G G | ValidCards$ Creature.withFlying | ValidPlayers$ Player | NumDmg$ X | ValidDescription$ each creature with flying and each player. | SpellDescription$ CARDNAME deals X damage to each creature with flying and each player. SVar:X:Count$xPaid AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/squall_line.jpg diff --git a/forge-gui/res/cardsfolder/s/squealing_devil.txt b/forge-gui/res/cardsfolder/s/squealing_devil.txt index e2714986395..b79c48fe62c 100644 --- a/forge-gui/res/cardsfolder/s/squealing_devil.txt +++ b/forge-gui/res/cardsfolder/s/squealing_devil.txt @@ -5,7 +5,7 @@ PT:2/1 K:Fear T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may pay {X}. If you do, target creature gets +X/+0 until end of turn. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | ManaNotSpent$ B | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless {B} was spent to cast it. -SVar:TrigPump:AB$ Pump | Cost$ X | References$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SpellDescription$ Target creature gets +X/+0 until end of turn. +SVar:TrigPump:AB$ Pump | Cost$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SpellDescription$ Target creature gets +X/+0 until end of turn. SVar:X:Count$xPaid SVar:TrigSac:DB$Sacrifice | Defined$ Self SVar:ManaNeededToAvoidNegativeEffect:black diff --git a/forge-gui/res/cardsfolder/s/squelching_leeches.txt b/forge-gui/res/cardsfolder/s/squelching_leeches.txt index 0af57242a87..47f8b191e41 100644 --- a/forge-gui/res/cardsfolder/s/squelching_leeches.txt +++ b/forge-gui/res/cardsfolder/s/squelching_leeches.txt @@ -2,7 +2,7 @@ Name:Squelching Leeches ManaCost:2 B B Types:Creature Leech PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Swamps you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Swamps you control. SVar:X:Count$Valid Swamp.YouCtrl SVar:BuffedBy:Swamp SVar:NeedsToPlayVar:X GE2 diff --git a/forge-gui/res/cardsfolder/s/stalking_yeti.txt b/forge-gui/res/cardsfolder/s/stalking_yeti.txt index 2c34282d48d..5f79ac3d8fd 100644 --- a/forge-gui/res/cardsfolder/s/stalking_yeti.txt +++ b/forge-gui/res/cardsfolder/s/stalking_yeti.txt @@ -3,8 +3,8 @@ ManaCost:2 R R Types:Snow Creature Yeti PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigDamage | TriggerDescription$ When CARDNAME enters the battlefield, if it's on the battlefield, it deals damage equal to its power to target creature an opponent controls and that creature deals damage equal to its power to CARDNAME. -SVar:TrigDamage:DB$ DealDamage | IsPresent$ Card.Self | PresentZone$ Battlefield | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X | References$ X | SubAbility$ DBDamage -SVar:DBDamage:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y | References$ Y +SVar:TrigDamage:DB$ DealDamage | IsPresent$ Card.Self | PresentZone$ Battlefield | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X | SubAbility$ DBDamage +SVar:DBDamage:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y A:AB$ ChangeZone | Cost$ 2 S | Origin$ Battlefield | Destination$ Hand | SorcerySpeed$ True | SpellDescription$ Return CARDNAME to its owner's hand. Activate this ability only any time you could cast a sorcery. SVar:X:Count$CardPower SVar:Y:Targeted$CardPower diff --git a/forge-gui/res/cardsfolder/s/standstill.txt b/forge-gui/res/cardsfolder/s/standstill.txt index e89cac6d658..3f466236530 100644 --- a/forge-gui/res/cardsfolder/s/standstill.txt +++ b/forge-gui/res/cardsfolder/s/standstill.txt @@ -3,7 +3,7 @@ ManaCost:1 U Types:Enchantment T:Mode$ SpellCast | ValidActivatingPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ When a player casts a spell, sacrifice CARDNAME. If you do, each of that player's opponents draws three cards. SVar:TrigSac:DB$ Sacrifice | SacValid$ Self | RememberSacrificed$ True | SubAbility$ DrawOpp -SVar:DrawOpp:DB$ Draw | NumCards$ 3 | Defined$ TriggeredCardOpponent | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup +SVar:DrawOpp:DB$ Draw | NumCards$ 3 | Defined$ TriggeredCardOpponent | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Y:Count$Valid Creature.YouCtrl diff --git a/forge-gui/res/cardsfolder/s/starfall.txt b/forge-gui/res/cardsfolder/s/starfall.txt index 15226243c0c..bff0575314b 100644 --- a/forge-gui/res/cardsfolder/s/starfall.txt +++ b/forge-gui/res/cardsfolder/s/starfall.txt @@ -2,7 +2,7 @@ Name:Starfall ManaCost:4 R Types:Instant A:SP$ DealDamage | Cost$ 4 R | NumDmg$ 3 | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBDamage | SpellDescription$ CARDNAME deals 3 damage to target creature. If that creature is an enchantment, CARDNAME deals 3 damage to that creature's controller. -SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 SVar:X:Targeted$Valid Creature.Enchantment SVar:Picture:http://www.wizards.com/global/images/magic/general/starfall.jpg Oracle:Starfall deals 3 damage to target creature. If that creature is an enchantment, Starfall deals 3 damage to that creature's controller. diff --git a/forge-gui/res/cardsfolder/s/starfield_of_nyx.txt b/forge-gui/res/cardsfolder/s/starfield_of_nyx.txt index c6bee78ba00..104e2c888b4 100644 --- a/forge-gui/res/cardsfolder/s/starfield_of_nyx.txt +++ b/forge-gui/res/cardsfolder/s/starfield_of_nyx.txt @@ -3,7 +3,7 @@ ManaCost:4 W Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigChange | TriggerDescription$ At the beginning of your upkeep, you may return target enchantment card from your graveyard to the battlefield. SVar:TrigChange:DB$ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ChangeNum$ 1 | TgtPrompt$ Select target enchantment card in your graveyard | ValidTgts$ Enchantment.YouOwn -S:Mode$ Continuous | CheckSVar$ X | SVarCompare$ GE5 | Affected$ Enchantment.YouCtrl+nonAura+Other | SetPower$ AffectedX | SetToughness$ AffectedX | References$ AffectedX | AddType$ Creature | Description$ As long as you control five or more enchantments, each other non-Aura enchantment you control is a creature in addition to its other types and has base power and base toughness each equal to its converted mana cost. +S:Mode$ Continuous | CheckSVar$ X | SVarCompare$ GE5 | Affected$ Enchantment.YouCtrl+nonAura+Other | SetPower$ AffectedX | SetToughness$ AffectedX | AddType$ Creature | Description$ As long as you control five or more enchantments, each other non-Aura enchantment you control is a creature in addition to its other types and has base power and base toughness each equal to its converted mana cost. SVar:X:Count$Valid Enchantment.YouCtrl SVar:AffectedX:Count$CardManaCost SVar:BuffedBy:Enchantment diff --git a/forge-gui/res/cardsfolder/s/starlight.txt b/forge-gui/res/cardsfolder/s/starlight.txt index be69fc434cb..f214c832c68 100644 --- a/forge-gui/res/cardsfolder/s/starlight.txt +++ b/forge-gui/res/cardsfolder/s/starlight.txt @@ -1,7 +1,7 @@ Name:Starlight ManaCost:1 W Types:Sorcery -A:SP$ GainLife | Cost$ 1 W | ValidTgts$ Opponent | Defined$ You | LifeAmount$ X | References$ X | SpellDescription$ You gain 3 life for each black creature target opponent controls. +A:SP$ GainLife | Cost$ 1 W | ValidTgts$ Opponent | Defined$ You | LifeAmount$ X | SpellDescription$ You gain 3 life for each black creature target opponent controls. SVar:X:Count$Valid Creature.TargetedPlayerCtrl+Black/Times.3 AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/starlight.jpg diff --git a/forge-gui/res/cardsfolder/s/starlit_sanctum.txt b/forge-gui/res/cardsfolder/s/starlit_sanctum.txt index a15698f7563..24f164556e8 100644 --- a/forge-gui/res/cardsfolder/s/starlit_sanctum.txt +++ b/forge-gui/res/cardsfolder/s/starlit_sanctum.txt @@ -2,9 +2,9 @@ Name:Starlit Sanctum ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ GainLife | Cost$ W T Sac<1/Creature.Cleric/Cleric creature> | LifeAmount$ X | References$ X | SpellDescription$ You gain life equal to the sacrificed creature's toughness. +A:AB$ GainLife | Cost$ W T Sac<1/Creature.Cleric/Cleric creature> | LifeAmount$ X | SpellDescription$ You gain life equal to the sacrificed creature's toughness. SVar:X:Sacrificed$CardToughness -A:AB$ LoseLife | Cost$ B T Sac<1/Creature.Cleric/Cleric creature> | ValidTgts$ Player | LifeAmount$ Y | References$ Y | TgtPrompt$ Select a player | SpellDescription$ Target player loses life equal to the sacrificed creature's power. +A:AB$ LoseLife | Cost$ B T Sac<1/Creature.Cleric/Cleric creature> | ValidTgts$ Player | LifeAmount$ Y | TgtPrompt$ Select a player | SpellDescription$ Target player loses life equal to the sacrificed creature's power. SVar:Y:Sacrificed$CardPower AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/starlit_sanctum.jpg diff --git a/forge-gui/res/cardsfolder/s/starnheim_unleashed.txt b/forge-gui/res/cardsfolder/s/starnheim_unleashed.txt index 84bc531f2b7..7259ffd82f8 100644 --- a/forge-gui/res/cardsfolder/s/starnheim_unleashed.txt +++ b/forge-gui/res/cardsfolder/s/starnheim_unleashed.txt @@ -1,7 +1,7 @@ Name:Starnheim Unleashed ManaCost:2 W W Types:Sorcery -A:SP$ Token | Cost$ 2 W W | TokenAmount$ Y | TokenScript$ w_4_4_angel_warrior_flying_vigilance | References$ X,Y | SpellDescription$ Create a 4/4 white Angel Warrior creature token with flying and vigilance. If this spell was foretold, create X of those tokens instead. +A:SP$ Token | Cost$ 2 W W | TokenAmount$ Y | TokenScript$ w_4_4_angel_warrior_flying_vigilance | SpellDescription$ Create a 4/4 white Angel Warrior creature token with flying and vigilance. If this spell was foretold, create X of those tokens instead. SVar:Y:Count$Foretold.X.1 SVar:X:Count$xPaid K:Foretell:X X W diff --git a/forge-gui/res/cardsfolder/s/starstorm.txt b/forge-gui/res/cardsfolder/s/starstorm.txt index 0d1519dff0e..9dad291d2d3 100644 --- a/forge-gui/res/cardsfolder/s/starstorm.txt +++ b/forge-gui/res/cardsfolder/s/starstorm.txt @@ -2,7 +2,7 @@ Name:Starstorm ManaCost:X R R Types:Instant K:Cycling:3 -A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature. +A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/starstorm.jpg Oracle:Starstorm deals X damage to each creature.\nCycling {3} ({3}, Discard this card: Draw a card.) diff --git a/forge-gui/res/cardsfolder/s/steadfast_armasaur.txt b/forge-gui/res/cardsfolder/s/steadfast_armasaur.txt index 5f7e3a2eb7f..17dbac308d8 100644 --- a/forge-gui/res/cardsfolder/s/steadfast_armasaur.txt +++ b/forge-gui/res/cardsfolder/s/steadfast_armasaur.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Dinosaur PT:2/3 K:Vigilance -A:AB$ DealDamage | Cost$ 1 W T | ValidTgts$ Creature.blockingSource,Creature.blockedBySource | TgtPrompt$ Select target creature blocking or blocked by CARDNAME | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to its toughness to target creature blocking or blocked by it. +A:AB$ DealDamage | Cost$ 1 W T | ValidTgts$ Creature.blockingSource,Creature.blockedBySource | TgtPrompt$ Select target creature blocking or blocked by CARDNAME | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to its toughness to target creature blocking or blocked by it. SVar:X:Count$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/steadfast_armasaur.jpg Oracle:Vigilance\n{1}{W}, {T}: Steadfast Armasaur deals damage equal to its toughness to target creature blocking or blocked by it. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/s/steel_hellkite.txt b/forge-gui/res/cardsfolder/s/steel_hellkite.txt index ef68da4413b..038a439e3fb 100644 --- a/forge-gui/res/cardsfolder/s/steel_hellkite.txt +++ b/forge-gui/res/cardsfolder/s/steel_hellkite.txt @@ -4,7 +4,7 @@ Types:Artifact Creature Dragon PT:5/5 K:Flying A:AB$ Pump | Cost$ 2 | NumAtt$ +1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn. -A:AB$ DestroyAll | Cost$ X | References$ X | ValidCards$ Permanent.nonLand+cmcEQX+controllerWasDealtCombatDamageByThisTurn | ActivationLimit$ 1 | Hidden$ True | SpellDescription$ Destroy each nonland permanent with converted mana cost X whose controller was dealt combat damage by CARDNAME this turn. Activate this ability only once each turn. +A:AB$ DestroyAll | Cost$ X | ValidCards$ Permanent.nonLand+cmcEQX+controllerWasDealtCombatDamageByThisTurn | ActivationLimit$ 1 | Hidden$ True | SpellDescription$ Destroy each nonland permanent with converted mana cost X whose controller was dealt combat damage by CARDNAME this turn. Activate this ability only once each turn. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/steel_hellkite.jpg Oracle:Flying\n{2}: Steel Hellkite gets +1/+0 until end of turn.\n{X}: Destroy each nonland permanent with converted mana cost X whose controller was dealt combat damage by Steel Hellkite this turn. Activate this ability only once each turn. diff --git a/forge-gui/res/cardsfolder/s/stensia_banquet.txt b/forge-gui/res/cardsfolder/s/stensia_banquet.txt index bd70780bbd4..3d535a3a185 100644 --- a/forge-gui/res/cardsfolder/s/stensia_banquet.txt +++ b/forge-gui/res/cardsfolder/s/stensia_banquet.txt @@ -1,7 +1,7 @@ Name:Stensia Banquet ManaCost:2 R Types:Sorcery -A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ CARDNAME deals damage to target opponent or planeswalker equal to the number of Vampires you control. Draw a card. +A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ X | SubAbility$ DBDraw | SpellDescription$ CARDNAME deals damage to target opponent or planeswalker equal to the number of Vampires you control. Draw a card. SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1 SVar:X:Count$TypeYouCtrl.Vampire AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/stern_judge.txt b/forge-gui/res/cardsfolder/s/stern_judge.txt index e5ff2a3047b..7c1b27724ad 100644 --- a/forge-gui/res/cardsfolder/s/stern_judge.txt +++ b/forge-gui/res/cardsfolder/s/stern_judge.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Creature Human Cleric PT:2/2 A:AB$ RepeatEach | Cost$ T | RepeatPlayers$ Player | RepeatSubAbility$ DBLoseLife | AILogic$ AllPlayerLoseLife | SpellDescription$ Each player loses 1 life for each Swamp they control. -SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Swamp.RememberedPlayerCtrl AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/stir_the_grave.txt b/forge-gui/res/cardsfolder/s/stir_the_grave.txt index f737b028832..24394248102 100644 --- a/forge-gui/res/cardsfolder/s/stir_the_grave.txt +++ b/forge-gui/res/cardsfolder/s/stir_the_grave.txt @@ -1,7 +1,7 @@ Name:Stir the Grave ManaCost:X B Types:Sorcery -A:SP$ ChangeZone | Cost$ X B | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature in your graveyard | ValidTgts$ Creature.YouCtrl | References$ X | SpellDescription$ Return target creature card with converted mana cost X or less from your graveyard to the battlefield. +A:SP$ ChangeZone | Cost$ X B | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature in your graveyard | ValidTgts$ Creature.YouCtrl | SpellDescription$ Return target creature card with converted mana cost X or less from your graveyard to the battlefield. SVar:X:Targeted$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/stir_the_grave.jpg Oracle:Return target creature card with converted mana cost X or less from your graveyard to the battlefield. diff --git a/forge-gui/res/cardsfolder/s/stir_the_pride.txt b/forge-gui/res/cardsfolder/s/stir_the_pride.txt index 527ee45eb82..1224f287f5e 100644 --- a/forge-gui/res/cardsfolder/s/stir_the_pride.txt +++ b/forge-gui/res/cardsfolder/s/stir_the_pride.txt @@ -4,9 +4,9 @@ Types:Instant K:Entwine:1 W A:SP$ Charm | Cost$ 4 W | Choices$ DBPumpAll,DBAnimateAll | CharmNum$ 1 SVar:DBPumpAll:DB$ PumpAll | NumAtt$ 2 | NumDef$ 2 | ValidCards$ Creature.YouCtrl | SpellDescription$ Creatures you control get +2/+2 until end of turn. -SVar:DBAnimateAll:DB$ AnimateAll | ValidCards$ Creature.YouCtrl | Triggers$ TrigPrideDamage | sVars$ GainLife,GainLifeX | References$ GainLife,GainLifeX | SpellDescription$ Until end of turn, creatures you control gain "Whenever this creature deals damage, you gain that much life." +SVar:DBAnimateAll:DB$ AnimateAll | ValidCards$ Creature.YouCtrl | Triggers$ TrigPrideDamage | sVars$ GainLife,GainLifeX | SpellDescription$ Until end of turn, creatures you control gain "Whenever this creature deals damage, you gain that much life." SVar:TrigPrideDamage:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ GainLife | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. -SVar:GainLife:DB$ GainLife | LifeAmount$ GainLifeX | References$ GainLifeX +SVar:GainLife:DB$ GainLife | LifeAmount$ GainLifeX SVar:GainLifeX:TriggerCount$DamageAmount AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/stir_the_pride.jpg diff --git a/forge-gui/res/cardsfolder/s/stitch_together.txt b/forge-gui/res/cardsfolder/s/stitch_together.txt index 7cb013acc6b..5b7af41956e 100644 --- a/forge-gui/res/cardsfolder/s/stitch_together.txt +++ b/forge-gui/res/cardsfolder/s/stitch_together.txt @@ -1,8 +1,8 @@ Name:Stitch Together ManaCost:B B Types:Sorcery -A:SP$ ChangeZone | Cost$ B B | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | References$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ LE6 | SubAbility$ DBChangeZone | SpellDescription$ Return target creature card from your graveyard to your hand. Threshold — Return that card from your graveyard to the battlefield instead if seven or more cards are in your graveyard. -SVar:DBChangeZone:DB$ ChangeZone | Defined$ Targeted | Origin$ Graveyard | Destination$ Battlefield | ConditionCheckSVar$ X | ConditionSVarCompare$ GE7 | References$ X +A:SP$ ChangeZone | Cost$ B B | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | ConditionCheckSVar$ X | ConditionSVarCompare$ LE6 | SubAbility$ DBChangeZone | SpellDescription$ Return target creature card from your graveyard to your hand. Threshold — Return that card from your graveyard to the battlefield instead if seven or more cards are in your graveyard. +SVar:DBChangeZone:DB$ ChangeZone | Defined$ Targeted | Origin$ Graveyard | Destination$ Battlefield | ConditionCheckSVar$ X | ConditionSVarCompare$ GE7 SVar:X:Count$InYourYard SVar:Picture:http://www.wizards.com/global/images/magic/general/stitch_together.jpg Oracle:Return target creature card from your graveyard to your hand.\nThreshold — Return that card from your graveyard to the battlefield instead if seven or more cards are in your graveyard. diff --git a/forge-gui/res/cardsfolder/s/stitcher_geralf.txt b/forge-gui/res/cardsfolder/s/stitcher_geralf.txt index 3edf02c1478..49b15b24f28 100644 --- a/forge-gui/res/cardsfolder/s/stitcher_geralf.txt +++ b/forge-gui/res/cardsfolder/s/stitcher_geralf.txt @@ -5,7 +5,7 @@ PT:3/4 A:AB$ Mill | Cost$ 2 U T | Defined$ Player | NumCards$ 3 | RememberMilled$ True | SubAbility$ DBChoose | SpellDescription$ Each player mills three cards. Exile up to two creature cards put into graveyards this way. Create an X/X blue Zombie creature token, where X is the total power of the cards exiled this way. SVar:DBChoose:DB$ ChooseCard | Defined$ You | Choices$ Creature.IsRemembered | ChoiceZone$ Graveyard | MinAmount$ 0 | Amount$ 2 | SubAbility$ DBExile SVar:DBExile:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | Defined$ ChosenCard | ForgetOtherRemembered$ True | RememberLKI$ True | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ u_x_x_zombie | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ u_x_x_zombie | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardPower DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/s/stoic_farmer.txt b/forge-gui/res/cardsfolder/s/stoic_farmer.txt index 62d2d29136d..d6d3d2d39f6 100644 --- a/forge-gui/res/cardsfolder/s/stoic_farmer.txt +++ b/forge-gui/res/cardsfolder/s/stoic_farmer.txt @@ -4,7 +4,7 @@ Types:Creature Dwarf Peasant PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigSearch | TriggerDescription$ When CARDNAME enters the battlefield, search your library for a basic Plains card and reveal it. If an opponent controls more lands than you, put it onto the battlefield tapped. Otherwise put it into your hand. Then shuffle your library. SVar:TrigSearch:DB$ ChangeZone | Origin$ Library | Destination$ Library | ChangeType$ Land.Plains+Basic | ChangeNum$ 1 | RememberChanged$ True | Reveal$ True | Shuffle$ False | SubAbility$ DBBranch -SVar:DBBranch:DB$ Branch | BranchConditionSVar$ X | References$ X | TrueSubAbility$ ToBattlefieldTapped | FalseSubAbility$ ToHand | SubAbility$ DBCleanup +SVar:DBBranch:DB$ Branch | BranchConditionSVar$ X | TrueSubAbility$ ToBattlefieldTapped | FalseSubAbility$ ToHand | SubAbility$ DBCleanup SVar:X:PlayerCountOpponents$HasPropertywithMoreLandsThanYou SVar:ToBattlefieldTapped:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Battlefield | Tapped$ True | Shuffle$ True SVar:ToHand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | Shuffle$ True diff --git a/forge-gui/res/cardsfolder/s/stolen_by_the_fae.txt b/forge-gui/res/cardsfolder/s/stolen_by_the_fae.txt index 0338069e8e4..82163e7c800 100644 --- a/forge-gui/res/cardsfolder/s/stolen_by_the_fae.txt +++ b/forge-gui/res/cardsfolder/s/stolen_by_the_fae.txt @@ -1,8 +1,8 @@ Name:Stolen by the Fae ManaCost:X U U Types:Sorcery -A:SP$ ChangeZone | Cost$ X U U | Origin$ Battlefield | Destination$ Hand | ValidTgts$ Creature.cmcEQX | ChangeNum$ 1 | References$ X | SubAbility$ DBToken | SpellDescription$ Return target creature with converted mana cost X to its owner's hand. You create X 1/1 blue Faerie creature tokens with flying. -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ u_1_1_faerie_flying | TokenOwner$ You | LegacyImage$ u 1 1 faerie flying eld +A:SP$ ChangeZone | Cost$ X U U | Origin$ Battlefield | Destination$ Hand | ValidTgts$ Creature.cmcEQX | ChangeNum$ 1 | SubAbility$ DBToken | SpellDescription$ Return target creature with converted mana cost X to its owner's hand. You create X 1/1 blue Faerie creature tokens with flying. +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ u_1_1_faerie_flying | TokenOwner$ You | LegacyImage$ u 1 1 faerie flying eld SVar:X:Count$xPaid DeckHas:Ability$Token Oracle:Return target creature with converted mana cost X to its owner's hand. You create X 1/1 blue Faerie creature tokens with flying. diff --git a/forge-gui/res/cardsfolder/s/stone_giant.txt b/forge-gui/res/cardsfolder/s/stone_giant.txt index 4f339ddf4f0..c334b335662 100644 --- a/forge-gui/res/cardsfolder/s/stone_giant.txt +++ b/forge-gui/res/cardsfolder/s/stone_giant.txt @@ -2,7 +2,7 @@ Name:Stone Giant ManaCost:2 R R Types:Creature Giant PT:3/4 -A:AB$ Pump | Cost$ T | ValidTgts$ Creature.YouCtrl+toughnessLTX | References$ X | TgtPrompt$ Select target creature you control with toughness less than Stone Giant's. | KW$ Flying | AtEOT$ Destroy | SpellDescription$ Target creature you control with toughness less than CARDNAME's power gains flying until end of turn. Destroy that creature at the beginning of the next end step. +A:AB$ Pump | Cost$ T | ValidTgts$ Creature.YouCtrl+toughnessLTX | TgtPrompt$ Select target creature you control with toughness less than Stone Giant's. | KW$ Flying | AtEOT$ Destroy | SpellDescription$ Target creature you control with toughness less than CARDNAME's power gains flying until end of turn. Destroy that creature at the beginning of the next end step. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/stone_giant.jpg Oracle:{T}: Target creature you control with toughness less than Stone Giant's power gains flying until end of turn. Destroy that creature at the beginning of the next end step. diff --git a/forge-gui/res/cardsfolder/s/stone_idol_trap.txt b/forge-gui/res/cardsfolder/s/stone_idol_trap.txt index a439ff39461..5c979ce8287 100644 --- a/forge-gui/res/cardsfolder/s/stone_idol_trap.txt +++ b/forge-gui/res/cardsfolder/s/stone_idol_trap.txt @@ -2,7 +2,7 @@ Name:Stone Idol Trap ManaCost:5 R Types:Instant Trap A:SP$ Token | Cost$ 5 R | TokenAmount$ 1 | TokenScript$ c_6_12_a_construct_trample | TokenOwner$ You | LegacyImage$ c 6 12 a construct trample wwk | AtEOT$ YourExile | SpellDescription$ Create a 6/12 colorless Construct artifact creature token with trample. Exile it at the beginning of your next end step. -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each attacking creature. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each attacking creature. SVar:X:Count$Valid Creature.attacking SVar:Picture:http://www.wizards.com/global/images/magic/general/stone_idol_trap.jpg Oracle:This spell costs {1} less to cast for each attacking creature.\nCreate a 6/12 colorless Construct artifact creature token with trample. Exile it at the beginning of your next end step. diff --git a/forge-gui/res/cardsfolder/s/stoneforge_masterwork.txt b/forge-gui/res/cardsfolder/s/stoneforge_masterwork.txt index 0b71cc9d2d8..701b9756900 100644 --- a/forge-gui/res/cardsfolder/s/stoneforge_masterwork.txt +++ b/forge-gui/res/cardsfolder/s/stoneforge_masterwork.txt @@ -1,7 +1,7 @@ Name:Stoneforge Masterwork ManaCost:1 Types:Artifact Equipment -S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ AffectedX | AddToughness$ AffectedX | References$ AffectedX | EffectZone$ Battlefield | Description$ Equipped creature gets +1/+1 for each other creature you control that shares a creature type with it. +S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ AffectedX | AddToughness$ AffectedX | EffectZone$ Battlefield | Description$ Equipped creature gets +1/+1 for each other creature you control that shares a creature type with it. SVar:AffectedX:Count$Valid Creature.sharesCreatureTypeWith+Other+YouCtrl SVar:PlayMain1:TRUE AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/stonefury.txt b/forge-gui/res/cardsfolder/s/stonefury.txt index 37f6ba91be9..62b13ac97cd 100644 --- a/forge-gui/res/cardsfolder/s/stonefury.txt +++ b/forge-gui/res/cardsfolder/s/stonefury.txt @@ -1,7 +1,7 @@ Name:Stonefury ManaCost:3 R R Types:Instant -A:SP$ DealDamage | Cost$ 3 R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of lands you control. +A:SP$ DealDamage | Cost$ 3 R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of lands you control. SVar:X:Count$Valid Land.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/stonefury.jpg Oracle:Stonefury deals damage to target creature equal to the number of lands you control. diff --git a/forge-gui/res/cardsfolder/s/stonehewer_giant.txt b/forge-gui/res/cardsfolder/s/stonehewer_giant.txt index caa03928a74..d01d9e888bb 100644 --- a/forge-gui/res/cardsfolder/s/stonehewer_giant.txt +++ b/forge-gui/res/cardsfolder/s/stonehewer_giant.txt @@ -4,8 +4,8 @@ Types:Creature Giant Warrior PT:4/4 K:Vigilance A:AB$ ChangeZone | Cost$ 1 W T | Origin$ Library | Destination$ Battlefield | ChangeType$ Equipment | ChangeNum$ 1 | Imprint$ True | SubAbility$ DBChoose | SpellDescription$ Search your library for an Equipment card and put it onto the battlefield. Attach it to a creature you control. Then shuffle your library. -SVar:DBChoose:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.YouCtrl | ChoiceTitle$ Choose a creature | SubAbility$ DBAttach | RememberChosen$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X -SVar:DBAttach:DB$ Attach | Object$ Imprinted | Defined$ Remembered | SubAbility$ DBCleanup | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +SVar:DBChoose:DB$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature.YouCtrl | ChoiceTitle$ Choose a creature | SubAbility$ DBAttach | RememberChosen$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 +SVar:DBAttach:DB$ Attach | Object$ Imprinted | Defined$ Remembered | SubAbility$ DBCleanup | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True SVar:X:Imprinted$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/stonehewer_giant.jpg diff --git a/forge-gui/res/cardsfolder/s/stonehewer_giant_avatar.txt b/forge-gui/res/cardsfolder/s/stonehewer_giant_avatar.txt index 999f4c24ab6..1578a302df3 100644 --- a/forge-gui/res/cardsfolder/s/stonehewer_giant_avatar.txt +++ b/forge-gui/res/cardsfolder/s/stonehewer_giant_avatar.txt @@ -3,6 +3,6 @@ ManaCost:no cost Types:Vanguard HandLifeModifier:+1/-5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl | TriggerZones$ Command | Execute$ TrigCopyEquip | TriggerDescription$ Whenever a creature enters the battlefield under your control, create a token that's a copy of a random Equipment card with converted mana cost less than that creature's converted mana cost. Attach that Equipment to that creature. -SVar:TrigCopyEquip:DB$ CopyPermanent | Defined$ TriggeredCard | NumCopies$ 1 | ValidSupportedCopy$ Equipment.cmcLEX | References$ X | RandomCopied$ True | RandomNum$ 1 | AttachAfter$ True | AttachedTo$ TriggeredCard +SVar:TrigCopyEquip:DB$ CopyPermanent | Defined$ TriggeredCard | NumCopies$ 1 | ValidSupportedCopy$ Equipment.cmcLEX | RandomCopied$ True | RandomNum$ 1 | AttachAfter$ True | AttachedTo$ TriggeredCard SVar:X:TriggeredCard$CardManaCost Oracle:Hand +1, life -5\nWhenever a creature enters the battlefield under your control, create a token that's a copy of a random Equipment card with converted mana cost less than that creature's converted mana cost. Attach that Equipment to that creature. diff --git a/forge-gui/res/cardsfolder/s/storm_elemental.txt b/forge-gui/res/cardsfolder/s/storm_elemental.txt index c1cd409f89d..f4161f70e5c 100644 --- a/forge-gui/res/cardsfolder/s/storm_elemental.txt +++ b/forge-gui/res/cardsfolder/s/storm_elemental.txt @@ -4,7 +4,7 @@ Types:Creature Elemental PT:3/4 K:Flying A:AB$ Tap | Cost$ U ExileFromTop<1/Card> | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying | SpellDescription$ Tap target creature with flying. -A:AB$ Pump | Cost$ U ExileFromTop<1/Card> | Defined$ Self | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ If the exiled card is a snow land, CARDNAME gets +1/+1 until end of turn. +A:AB$ Pump | Cost$ U ExileFromTop<1/Card> | Defined$ Self | NumAtt$ +X | NumDef$ +X | SpellDescription$ If the exiled card is a snow land, CARDNAME gets +1/+1 until end of turn. SVar:X:Exiled$Valid Land.Snow SVar:Picture:http://www.wizards.com/global/images/magic/general/storm_elemental.jpg Oracle:Flying\n{U}, Exile the top card of your library: Tap target creature with flying.\n{U}, Exile the top card of your library: If the exiled card is a snow land, Storm Elemental gets +1/+1 until end of turn. diff --git a/forge-gui/res/cardsfolder/s/storm_herald.txt b/forge-gui/res/cardsfolder/s/storm_herald.txt index 9b0f42fbfe9..c937ec72461 100755 --- a/forge-gui/res/cardsfolder/s/storm_herald.txt +++ b/forge-gui/res/cardsfolder/s/storm_herald.txt @@ -4,7 +4,7 @@ Types:Creature Human Shaman PT:3/2 K:Haste T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ GraveAuras | TriggerDescription$ When CARDNAME enters the battlefield, return any number of Aura cards from your graveyard to the battlefield attached to creatures you control. Exile those Auras at the beginning of your next end step. If those Auras would leave the battlefield, exile them instead of putting them anywhere else. -SVar:GraveAuras:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Aura.YouOwn | RememberChanged$ True | AttachedTo$ Creature.YouCtrl | ChangeNum$ GraveX | References$ GraveX | Optional$ True | Hidden$ True | SubAbility$ DBUnearthed +SVar:GraveAuras:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Aura.YouOwn | RememberChanged$ True | AttachedTo$ Creature.YouCtrl | ChangeNum$ GraveX | Optional$ True | Hidden$ True | SubAbility$ DBUnearthed SVar:DBUnearthed:DB$ Animate | Defined$ Remembered | LeaveBattlefield$ Exile | Permanent$ True | SubAbility$ DelayedExile | StackDescription$ If those Auras would leave the battlefield, exile them instead of putting them anywhere else. SVar:DelayedExile:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | Execute$ TrigReturn | RememberObjects$ RememberedLKI | TriggerDescription$ Exile those Auras at the beginning of your next end step. | SubAbility$ DBCleanup SVar:TrigReturn:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | Defined$ DelayTriggerRememberedLKI diff --git a/forge-gui/res/cardsfolder/s/storm_herd.txt b/forge-gui/res/cardsfolder/s/storm_herd.txt index c1ac1263d1b..52f1480beef 100644 --- a/forge-gui/res/cardsfolder/s/storm_herd.txt +++ b/forge-gui/res/cardsfolder/s/storm_herd.txt @@ -1,7 +1,7 @@ Name:Storm Herd ManaCost:8 W W Types:Sorcery -A:SP$ Token | Cost$ 8 W W | TokenAmount$ X | References$ X | TokenScript$ w_1_1_pegasus_flying | TokenOwner$ You | LegacyImage$ w 1 1 pegasus flying gpt | SpellDescription$ Create X 1/1 white Pegasus creature tokens with flying, where X is your life total. +A:SP$ Token | Cost$ 8 W W | TokenAmount$ X | TokenScript$ w_1_1_pegasus_flying | TokenOwner$ You | LegacyImage$ w 1 1 pegasus flying gpt | SpellDescription$ Create X 1/1 white Pegasus creature tokens with flying, where X is your life total. SVar:X:Count$YourLifeTotal SVar:Picture:http://resources.wizards.com/magic/cards/gpt/en-us/card96968.jpg Oracle:Create X 1/1 white Pegasus creature tokens with flying, where X is your life total. diff --git a/forge-gui/res/cardsfolder/s/storm_seeker.txt b/forge-gui/res/cardsfolder/s/storm_seeker.txt index 065824f69f0..e8608493054 100644 --- a/forge-gui/res/cardsfolder/s/storm_seeker.txt +++ b/forge-gui/res/cardsfolder/s/storm_seeker.txt @@ -1,7 +1,7 @@ Name:Storm Seeker ManaCost:3 G Types:Instant -A:SP$ DealDamage | Cost$ 3 G | ValidTgts$ Player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target player equal to the number of cards in that player's hand. +A:SP$ DealDamage | Cost$ 3 G | ValidTgts$ Player | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target player equal to the number of cards in that player's hand. SVar:X:TargetedPlayer$CardsInHand SVar:Picture:http://www.wizards.com/global/images/magic/general/storm_seeker.jpg Oracle:Storm Seeker deals damage to target player equal to the number of cards in that player's hand. diff --git a/forge-gui/res/cardsfolder/s/storm_the_vault_vault_of_catlacan.txt b/forge-gui/res/cardsfolder/s/storm_the_vault_vault_of_catlacan.txt index e90c6922d82..61cb3c48e66 100644 --- a/forge-gui/res/cardsfolder/s/storm_the_vault_vault_of_catlacan.txt +++ b/forge-gui/res/cardsfolder/s/storm_the_vault_vault_of_catlacan.txt @@ -14,7 +14,7 @@ ALTERNATE Name:Vault of Catlacan Types:Legendary Land A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 1 | SpellDescription$ Add one mana of any color. -A:AB$ Mana | Cost$ T | Produced$ U | Amount$ X | References$ X | SpellDescription$ Add {U} for each artifact you control. +A:AB$ Mana | Cost$ T | Produced$ U | Amount$ X | SpellDescription$ Add {U} for each artifact you control. SVar:X:Count$Valid Artifact.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/vault_of_catlacan.jpg Oracle:(Transforms from Storm the Vault.)\n{T}: Add one mana of any color.\n{T}: Add {U} for each artifact you control. diff --git a/forge-gui/res/cardsfolder/s/storm_world.txt b/forge-gui/res/cardsfolder/s/storm_world.txt index 0421116cdb1..f2788f2f0d1 100644 --- a/forge-gui/res/cardsfolder/s/storm_world.txt +++ b/forge-gui/res/cardsfolder/s/storm_world.txt @@ -2,7 +2,7 @@ Name:Storm World ManaCost:R Types:World Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of each player's upkeep, CARDNAME deals X damage to that player, where X is 4 minus the number of cards in their hand. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:Count$ValidHand Card.ActivePlayerCtrl/NMinus.4 AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/storm_world.jpg diff --git a/forge-gui/res/cardsfolder/s/stormbreath_dragon.txt b/forge-gui/res/cardsfolder/s/stormbreath_dragon.txt index 0eb04200e2f..2ce2a5afe8f 100644 --- a/forge-gui/res/cardsfolder/s/stormbreath_dragon.txt +++ b/forge-gui/res/cardsfolder/s/stormbreath_dragon.txt @@ -8,7 +8,7 @@ K:Protection from white K:Monstrosity:3:5 R R T:Mode$ BecomeMonstrous | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigDmg | TriggerDescription$ When CARDNAME becomes monstrous, it deals damage to each opponent equal to the number of cards in that player's hand. SVar:TrigDmg:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBDmg | DamageMap$ True -SVar:DBDmg:DB$ DealDamage | Defined$ Player.IsRemembered | NumDmg$ X | References$ X +SVar:DBDmg:DB$ DealDamage | Defined$ Player.IsRemembered | NumDmg$ X SVar:X:Count$ValidHand Card.RememberedPlayerCtrl DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/stormbreath_dragon.jpg diff --git a/forge-gui/res/cardsfolder/s/stormchaser_chimera.txt b/forge-gui/res/cardsfolder/s/stormchaser_chimera.txt index 5d924337d2c..30cda2af5a3 100644 --- a/forge-gui/res/cardsfolder/s/stormchaser_chimera.txt +++ b/forge-gui/res/cardsfolder/s/stormchaser_chimera.txt @@ -5,7 +5,7 @@ PT:2/3 K:Flying A:AB$ Scry | Cost$ 2 U R | ScryNum$ 1 | SubAbility$ DBReveal | SpellDescription$ Scry 1, then reveal the top card of your library. CARDNAME gets +X/+0 until end of turn, where X is that card's converted mana cost. SVar:DBReveal:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | SubAbility$ DBPump -SVar:DBPump:DB$ Pump | NumAtt$ X | References$ X +SVar:DBPump:DB$ Pump | NumAtt$ X SVar:X:Count$TopOfLibraryCMC SVar:Picture:http://www.wizards.com/global/images/magic/general/stormchaser_chimera.jpg Oracle:Flying\n{2}{U}{R}: Scry 1, then reveal the top card of your library. Stormchaser Chimera gets +X/+0 until end of turn, where X is that card's converted mana cost. (To scry 1, look at the top card of your library, then you may put that card on the bottom of your library.) diff --git a/forge-gui/res/cardsfolder/s/stormwild_capridor.txt b/forge-gui/res/cardsfolder/s/stormwild_capridor.txt index 3bbda0bd63b..7809b2c437a 100755 --- a/forge-gui/res/cardsfolder/s/stormwild_capridor.txt +++ b/forge-gui/res/cardsfolder/s/stormwild_capridor.txt @@ -4,7 +4,7 @@ Types:Creature Bird Goat PT:1/3 K:Flying R:Event$ DamageDone | IsCombat$ False | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ Counters | Description$ If noncombat damage would be dealt to CARDNAME, prevent that damage. Put a +1/+1 counter on CARDNAME for each 1 damage prevented this way. -SVar:Counters:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ X | References$ X | Defined$ Self +SVar:Counters:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ X | Defined$ Self SVar:X:ReplaceCount$DamageAmount DeckHas:Ability$Counters Oracle:Flying\nIf noncombat damage would be dealt to Stormwild Capridor, prevent that damage. Put a +1/+1 counter on Stormwild Capridor for each 1 damage prevented this way. diff --git a/forge-gui/res/cardsfolder/s/stormwing_entity.txt b/forge-gui/res/cardsfolder/s/stormwing_entity.txt index 6077528f5e8..8bcbc6835cb 100755 --- a/forge-gui/res/cardsfolder/s/stormwing_entity.txt +++ b/forge-gui/res/cardsfolder/s/stormwing_entity.txt @@ -2,8 +2,8 @@ Name:Stormwing Entity ManaCost:3 U U Types:Creature Elemental PT:3/3 -S:Mode$ ReduceCost | ValidCard$ Card.Self | EffectZone$ All | Type$ Spell | Amount$ 2 | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Description$ CARDNAME costs {2}{U} less to cast if you've cast an instant or sorcery spell this turn. -S:Mode$ ReduceCost | ValidCard$ Card.Self | EffectZone$ All | Type$ Spell | Amount$ 1 | Color$ U | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Secondary$ True | Description$ CARDNAME costs {2}{U} less to cast if you've cast an instant or sorcery spell this turn. +S:Mode$ ReduceCost | ValidCard$ Card.Self | EffectZone$ All | Type$ Spell | Amount$ 2 | CheckSVar$ X | SVarCompare$ GE1 | Description$ CARDNAME costs {2}{U} less to cast if you've cast an instant or sorcery spell this turn. +S:Mode$ ReduceCost | ValidCard$ Card.Self | EffectZone$ All | Type$ Spell | Amount$ 1 | Color$ U | CheckSVar$ X | SVarCompare$ GE1 | Secondary$ True | Description$ CARDNAME costs {2}{U} less to cast if you've cast an instant or sorcery spell this turn. SVar:X:Count$ThisTurnCast_Instant.YouOwn,Sorcery.YouOwn DeckHints:Type$Instant|Sorcery K:Flying diff --git a/forge-gui/res/cardsfolder/s/strata_scythe.txt b/forge-gui/res/cardsfolder/s/strata_scythe.txt index 155f1bd6f37..2bd766bd5cf 100644 --- a/forge-gui/res/cardsfolder/s/strata_scythe.txt +++ b/forge-gui/res/cardsfolder/s/strata_scythe.txt @@ -4,7 +4,7 @@ Types:Artifact Equipment K:Equip:3 T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigExile | TriggerDescription$ Imprint — When CARDNAME enters the battlefield, search your library for a land card, exile it, then shuffle your library. SVar:TrigExile:DB$ ChangeZone | Imprint$ True | Origin$ Library | Destination$ Exile | ChangeType$ Land | ChangeNum$ 1 -S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ X | References$ X | Description$ Equipped creature gets +1/+1 for each land on the battlefield with the same name as the exiled card. +S:Mode$ Continuous | Affected$ Card.EquippedBy | AddPower$ X | AddToughness$ X | Description$ Equipped creature gets +1/+1 for each land on the battlefield with the same name as the exiled card. SVar:X:Count$Valid Land.sharesNameWith Imprinted T:Mode$ ChangesZone | Origin$ Battlefield | ValidCard$ Card.Self | Destination$ Any | Execute$ DBCleanup | Static$ True T:Mode$ ChangesZone | ValidCard$ Card.IsImprinted+ExiledWithSource | Origin$ Exile | Execute$ DBForget | Static$ True diff --git a/forge-gui/res/cardsfolder/s/stratadon.txt b/forge-gui/res/cardsfolder/s/stratadon.txt index 35046e46b7e..5447c3e48b7 100644 --- a/forge-gui/res/cardsfolder/s/stratadon.txt +++ b/forge-gui/res/cardsfolder/s/stratadon.txt @@ -3,7 +3,7 @@ ManaCost:10 Types:Artifact Creature Beast PT:5/5 K:Trample -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ Domain — This spell costs {1} less to cast for each basic land type among lands you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ Domain — This spell costs {1} less to cast for each basic land type among lands you control. SVar:X:Count$Domain AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/stratadon.jpg diff --git a/forge-gui/res/cardsfolder/s/stream_of_life.txt b/forge-gui/res/cardsfolder/s/stream_of_life.txt index 2cf4e933878..ca1705199ec 100644 --- a/forge-gui/res/cardsfolder/s/stream_of_life.txt +++ b/forge-gui/res/cardsfolder/s/stream_of_life.txt @@ -1,7 +1,7 @@ Name:Stream of Life ManaCost:X G Types:Sorcery -A:SP$ GainLife | Cost$ X G | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | References$ X | SpellDescription$ Target player gains X life. +A:SP$ GainLife | Cost$ X G | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | SpellDescription$ Target player gains X life. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/stream_of_life.jpg Oracle:Target player gains X life. diff --git a/forge-gui/res/cardsfolder/s/street_spasm.txt b/forge-gui/res/cardsfolder/s/street_spasm.txt index 6a11b10a515..3f9bec58957 100644 --- a/forge-gui/res/cardsfolder/s/street_spasm.txt +++ b/forge-gui/res/cardsfolder/s/street_spasm.txt @@ -1,8 +1,8 @@ Name:Street Spasm ManaCost:X R Types:Instant -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature.withoutFlying+YouDontCtrl | TgtPrompt$ Select target creature without flying you don't control. | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature without flying you don't control. -A:SP$ DamageAll | Cost$ X X R R | ValidCards$ Creature.withoutFlying+YouDontCtrl | ValidDescription$ each creature without flying you don't control. | NumDmg$ X | References$ X | PrecostDesc$ Overload | CostDesc$ {X}{X}{R}{R} | NonBasicSpell$ True | SpellDescription$ (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.") +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature.withoutFlying+YouDontCtrl | TgtPrompt$ Select target creature without flying you don't control. | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature without flying you don't control. +A:SP$ DamageAll | Cost$ X X R R | ValidCards$ Creature.withoutFlying+YouDontCtrl | ValidDescription$ each creature without flying you don't control. | NumDmg$ X | PrecostDesc$ Overload | CostDesc$ {X}{X}{R}{R} | NonBasicSpell$ True | SpellDescription$ (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.") SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/street_spasm.jpg Oracle:Street Spasm deals X damage to target creature without flying you don't control.\nOverload {X}{X}{R}{R} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.") diff --git a/forge-gui/res/cardsfolder/s/strength_from_the_fallen.txt b/forge-gui/res/cardsfolder/s/strength_from_the_fallen.txt index ba75c4fc043..f55fbc35252 100644 --- a/forge-gui/res/cardsfolder/s/strength_from_the_fallen.txt +++ b/forge-gui/res/cardsfolder/s/strength_from_the_fallen.txt @@ -3,7 +3,7 @@ ManaCost:1 G Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Constellation — Whenever CARDNAME or another enchantment enters the battlefield under your control, target creature gets +X/+X until end of turn, where X is the number of creature cards in your graveyard. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Enchantment.Other+YouCtrl | TriggerZones$ Battlefield | Secondary$ True | Execute$ TrigPump | TriggerDescription$ Constellation — Whenever CARDNAME or another enchantment enters the battlefield under your control, target creature gets +X/+X until end of turn, where X is the number of creature cards in your graveyard. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | NumAtt$ +X | NumDef$ +X | References$ X +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | NumAtt$ +X | NumDef$ +X SVar:X:Count$TypeInYourYard.Creature SVar:PlayMain1:TRUE SVar:BuffedBy:Enchantment diff --git a/forge-gui/res/cardsfolder/s/strength_in_numbers.txt b/forge-gui/res/cardsfolder/s/strength_in_numbers.txt index 193196e8b48..5a844a2ce46 100644 --- a/forge-gui/res/cardsfolder/s/strength_in_numbers.txt +++ b/forge-gui/res/cardsfolder/s/strength_in_numbers.txt @@ -1,7 +1,7 @@ Name:Strength in Numbers ManaCost:1 G Types:Instant -A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X | KW$ Trample | SpellDescription$ Until end of turn, target creature gains trample and gets +X/+X, where X is the number of attacking creatures. +A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | KW$ Trample | SpellDescription$ Until end of turn, target creature gains trample and gets +X/+X, where X is the number of attacking creatures. SVar:X:Count$Valid Creature.attacking SVar:Picture:http://www.wizards.com/global/images/magic/general/strength_in_numbers.jpg Oracle:Until end of turn, target creature gains trample and gets +X/+X, where X is the number of attacking creatures. diff --git a/forge-gui/res/cardsfolder/s/strength_of_cedars.txt b/forge-gui/res/cardsfolder/s/strength_of_cedars.txt index f6c74eeb946..54c08e59d1d 100644 --- a/forge-gui/res/cardsfolder/s/strength_of_cedars.txt +++ b/forge-gui/res/cardsfolder/s/strength_of_cedars.txt @@ -1,7 +1,7 @@ Name:Strength of Cedars ManaCost:4 G Types:Instant Arcane -A:SP$ Pump | Cost$ 4 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of lands you control. +A:SP$ Pump | Cost$ 4 G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of lands you control. SVar:X:Count$TypeYouCtrl.Land SVar:Picture:http://www.wizards.com/global/images/magic/general/strength_of_cedars.jpg Oracle:Target creature gets +X/+X until end of turn, where X is the number of lands you control. diff --git a/forge-gui/res/cardsfolder/s/strength_of_solidarity.txt b/forge-gui/res/cardsfolder/s/strength_of_solidarity.txt index e11aa4e862e..2c2e070854b 100755 --- a/forge-gui/res/cardsfolder/s/strength_of_solidarity.txt +++ b/forge-gui/res/cardsfolder/s/strength_of_solidarity.txt @@ -1,7 +1,7 @@ Name:Strength of Solidarity ManaCost:G Types:Sorcery -A:SP$ PutCounter | Cost$ G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ X | References$ X | SpellDescription$ Choose target creature you control. Put a +1/+1 counter on it for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) +A:SP$ PutCounter | Cost$ G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ X | SpellDescription$ Choose target creature you control. Put a +1/+1 counter on it for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) DeckHas:Ability$Party & Ability$Counters DeckHints:Type$Cleric|Rogue|Warrior|Wizard SVar:X:Count$Party diff --git a/forge-gui/res/cardsfolder/s/strength_of_the_tajuru.txt b/forge-gui/res/cardsfolder/s/strength_of_the_tajuru.txt index 942d41ae44b..c6416edca1a 100644 --- a/forge-gui/res/cardsfolder/s/strength_of_the_tajuru.txt +++ b/forge-gui/res/cardsfolder/s/strength_of_the_tajuru.txt @@ -2,7 +2,7 @@ Name:Strength of the Tajuru ManaCost:X G G Types:Instant K:Multikicker:1 -A:SP$ PutCounter | CounterType$ P1P1 | CounterNum$ X | Cost$ X G G | Announce$ Multikicker,X | ValidTgts$ Creature | TgtPrompt$ Select target creature | TargetMin$ TargetsNum | TargetMax$ TargetsNum | References$ X,TargetsNum | SpellDescription$ Choose target creature, then choose another target creature for each time this spell was kicked. Put X +1/+1 counters on each of them. +A:SP$ PutCounter | CounterType$ P1P1 | CounterNum$ X | Cost$ X G G | Announce$ Multikicker,X | ValidTgts$ Creature | TgtPrompt$ Select target creature | TargetMin$ TargetsNum | TargetMax$ TargetsNum,TargetsNum | SpellDescription$ Choose target creature, then choose another target creature for each time this spell was kicked. Put X +1/+1 counters on each of them. SVar:X:Count$xPaid SVar:TargetsNum:Count$TimesKicked/Plus.1 DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/s/stroke_of_genius.txt b/forge-gui/res/cardsfolder/s/stroke_of_genius.txt index 1f3da3de144..ecd19689ecf 100644 --- a/forge-gui/res/cardsfolder/s/stroke_of_genius.txt +++ b/forge-gui/res/cardsfolder/s/stroke_of_genius.txt @@ -1,7 +1,7 @@ Name:Stroke of Genius ManaCost:X 2 U Types:Instant -A:SP$ Draw | Cost$ X 2 U | ValidTgts$ Player | TgtPrompt$ Choose a player | NumCards$ X | References$ X | SpellDescription$ Target player draws X cards. +A:SP$ Draw | Cost$ X 2 U | ValidTgts$ Player | TgtPrompt$ Choose a player | NumCards$ X | SpellDescription$ Target player draws X cards. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/stroke_of_genius.jpg Oracle:Target player draws X cards. diff --git a/forge-gui/res/cardsfolder/s/strongarm_tactics.txt b/forge-gui/res/cardsfolder/s/strongarm_tactics.txt index 2fb6e185581..4672f17ded7 100644 --- a/forge-gui/res/cardsfolder/s/strongarm_tactics.txt +++ b/forge-gui/res/cardsfolder/s/strongarm_tactics.txt @@ -3,7 +3,7 @@ ManaCost:1 B Types:Sorcery A:SP$ Discard | Cost$ 1 B | Mode$ TgtChoose | Defined$ Player | NumCards$ 1 | RememberDiscarded$ True | SubAbility$ DBRepeat | SpellDescription$ Each player discards a card. Then each player who didn't discard a creature card this way loses 4 life. SVar:DBRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBLoseLife | SubAbility$ DBCleanup -SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 4 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | Defined$ Player.IsRemembered | References$ X +SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 4 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | Defined$ Player.IsRemembered SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Creature.RememberedPlayerCtrl AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/stronghold_discipline.txt b/forge-gui/res/cardsfolder/s/stronghold_discipline.txt index c95996f776c..5e26945cb81 100644 --- a/forge-gui/res/cardsfolder/s/stronghold_discipline.txt +++ b/forge-gui/res/cardsfolder/s/stronghold_discipline.txt @@ -2,7 +2,7 @@ Name:Stronghold Discipline ManaCost:2 B B Types:Sorcery A:SP$ RepeatEach | Cost$ 2 B B | RepeatPlayers$ Player | RepeatSubAbility$ DBLoseLife | AILogic$ AllPlayerLoseLife | SpellDescription$ Each player loses 1 life for each creature they control. -SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X SVar:X:Count$Valid Creature.RememberedPlayerCtrl SVar:AIPlayForSub:True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/stronghold_furnace.txt b/forge-gui/res/cardsfolder/s/stronghold_furnace.txt index d2ac5cbe6c6..c96a0a95842 100644 --- a/forge-gui/res/cardsfolder/s/stronghold_furnace.txt +++ b/forge-gui/res/cardsfolder/s/stronghold_furnace.txt @@ -2,7 +2,7 @@ Name:Stronghold Furnace ManaCost:no cost Types:Plane Rath R:Event$ DamageDone | ActiveZones$ Command | ValidSource$ Card,Emblem | ValidTarget$ Permanent,Player| ReplaceWith$ DmgTwice | Description$ If a source would deal damage to a permanent or player, it deals double that damage to that permanent or player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ Y | References$ Y +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ Y SVar:Y:ReplaceCount$DamageAmount/Twice T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll {CHAOS}, CARDNAME deals 1 damage to any target. SVar:RolledChaos:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 1 diff --git a/forge-gui/res/cardsfolder/s/struggle_survive.txt b/forge-gui/res/cardsfolder/s/struggle_survive.txt index 77934925a0a..fcedf8505ad 100644 --- a/forge-gui/res/cardsfolder/s/struggle_survive.txt +++ b/forge-gui/res/cardsfolder/s/struggle_survive.txt @@ -2,7 +2,7 @@ Name:Struggle ManaCost:2 R AlternateMode: Split Types:Instant -A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of lands you control. +A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of lands you control. SVar:X:Count$TypeYouCtrl.Land SVar:Picture:http://www.wizards.com/global/images/magic/general/struggle_survive.jpg diff --git a/forge-gui/res/cardsfolder/s/stuffy_doll.txt b/forge-gui/res/cardsfolder/s/stuffy_doll.txt index b1b4926f9aa..2e178f92e80 100644 --- a/forge-gui/res/cardsfolder/s/stuffy_doll.txt +++ b/forge-gui/res/cardsfolder/s/stuffy_doll.txt @@ -7,7 +7,7 @@ K:ETBReplacement:Other:ChooseP SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose a player. A:AB$ DealDamage | Cost$ T | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to itself. T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to the chosen player. -SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | References$ X | Defined$ ChosenPlayer +SVar:TrigDamage:DB$ DealDamage | NumDmg$ X | Defined$ ChosenPlayer SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://resources.wizards.com/magic/cards/tsp/en-us/card116724.jpg diff --git a/forge-gui/res/cardsfolder/s/stumpsquall_hydra.txt b/forge-gui/res/cardsfolder/s/stumpsquall_hydra.txt index a5cd162e948..8e235087e5c 100644 --- a/forge-gui/res/cardsfolder/s/stumpsquall_hydra.txt +++ b/forge-gui/res/cardsfolder/s/stumpsquall_hydra.txt @@ -3,7 +3,7 @@ ManaCost:X G G G Types:Creature Hydra PT:1/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerDescription$ When CARDNAME enters the battlefield, distribute X +1/+1 counters among it and any number of commanders. -SVar:TrigPutCounter:DB$ PutCounter | Choices$ Card.Self,Card.IsCommander | ChoiceTitle$ Choose this card and/or any number of commanders to distribute counters to | ChoiceAmount$ X | MinChoiceAmount$ 1 | CounterType$ P1P1 | CounterNum$ X | DividedAsYouChoose$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | Choices$ Card.Self,Card.IsCommander | ChoiceTitle$ Choose this card and/or any number of commanders to distribute counters to | ChoiceAmount$ X | MinChoiceAmount$ 1 | CounterType$ P1P1 | CounterNum$ X | DividedAsYouChoose$ X SVar:X:Count$xPaid SVar:PlayMain1:TRUE DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/s/sturmgeist.txt b/forge-gui/res/cardsfolder/s/sturmgeist.txt index 5980735c19b..9c826271999 100644 --- a/forge-gui/res/cardsfolder/s/sturmgeist.txt +++ b/forge-gui/res/cardsfolder/s/sturmgeist.txt @@ -3,7 +3,7 @@ ManaCost:3 U U Types:Creature Spirit PT:*/* K:Flying -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDraw | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, draw a card. SVar:TrigDraw:DB$ Draw | NumCards$ 1 | Defined$ You SVar:X:Count$InYourHand diff --git a/forge-gui/res/cardsfolder/s/subterranean_hangar.txt b/forge-gui/res/cardsfolder/s/subterranean_hangar.txt index 99f94b761ff..40ac5e83eb6 100644 --- a/forge-gui/res/cardsfolder/s/subterranean_hangar.txt +++ b/forge-gui/res/cardsfolder/s/subterranean_hangar.txt @@ -3,6 +3,6 @@ ManaCost:no cost Types:Land K:CARDNAME enters the battlefield tapped. A:AB$ PutCounter | Cost$ T | Defined$ Self | CounterType$ STORAGE | CounterNum$ 1 | SpellDescription$ Put a storage counter on CARDNAME. -A:AB$ Mana | Cost$ T SubCounter | Produced$ B | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | References$ X | AILogic$ ManaRitualBattery | AINoRecursiveCheck$ True | SpellDescription$ Add {B} for each storage counter removed this way. +A:AB$ Mana | Cost$ T SubCounter | Produced$ B | Amount$ X | CostDesc$ {T}, Remove any number of storage counters from CARDNAME: | AILogic$ ManaRitualBattery | AINoRecursiveCheck$ True | SpellDescription$ Add {B} for each storage counter removed this way. SVar:X:Count$xPaid Oracle:Subterranean Hangar enters the battlefield tapped.\n{T}: Put a storage counter on Subterranean Hangar.\n{T}, Remove any number of storage counters from Subterranean Hangar: Add {B} for each storage counter removed this way. diff --git a/forge-gui/res/cardsfolder/s/subterranean_tremors.txt b/forge-gui/res/cardsfolder/s/subterranean_tremors.txt index 3039ae69912..2986dcd18c3 100644 --- a/forge-gui/res/cardsfolder/s/subterranean_tremors.txt +++ b/forge-gui/res/cardsfolder/s/subterranean_tremors.txt @@ -1,9 +1,9 @@ Name:Subterranean Tremors ManaCost:X R Types:Sorcery -A:SP$ DamageAll | Cost$ X R | ValidCards$ Creature.withoutFlying | NumDmg$ X | References$ X | SubAbility$ DBDestroyAll | SpellDescription$ CARDNAME deals X damage to each creature without flying. If X is 4 or more, destroy all artifacts. If X is 8 or more, create an 8/8 red Lizard creature token. -SVar:DBDestroyAll:DB$ DestroyAll | ValidCards$ Artifact | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE4 | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ r_8_8_lizard | TokenOwner$ You | LegacyImage$ r 8 8 lizard cn2| ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE8 +A:SP$ DamageAll | Cost$ X R | ValidCards$ Creature.withoutFlying | NumDmg$ X | SubAbility$ DBDestroyAll | SpellDescription$ CARDNAME deals X damage to each creature without flying. If X is 4 or more, destroy all artifacts. If X is 8 or more, create an 8/8 red Lizard creature token. +SVar:DBDestroyAll:DB$ DestroyAll | ValidCards$ Artifact | ConditionCheckSVar$ X | ConditionSVarCompare$ GE4 | SubAbility$ DBToken +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ r_8_8_lizard | TokenOwner$ You | LegacyImage$ r 8 8 lizard cn2| ConditionCheckSVar$ X | ConditionSVarCompare$ GE8 SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/subterranean_tremors.jpg Oracle:Subterranean Tremors deals X damage to each creature without flying. If X is 4 or more, destroy all artifacts. If X is 8 or more, create an 8/8 red Lizard creature token. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/s/sudden_demise.txt b/forge-gui/res/cardsfolder/s/sudden_demise.txt index fc3dbc7a0c5..f807b822271 100644 --- a/forge-gui/res/cardsfolder/s/sudden_demise.txt +++ b/forge-gui/res/cardsfolder/s/sudden_demise.txt @@ -2,7 +2,7 @@ Name:Sudden Demise ManaCost:X R Types:Sorcery A:SP$ ChooseColor | Cost$ X R | AILogic$ MostProminentHumanCreatures | SubAbility$ DBDmg | SpellDescription$ Choose a color. CARDNAME deals X damage to each creature of the chosen color. -SVar:DBDmg:DB$ DamageAll | NumDmg$ X | References$ X | ValidCards$ Creature.ChosenColor | ValidDescription$ each creature of the chosen color. +SVar:DBDmg:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature.ChosenColor | ValidDescription$ each creature of the chosen color. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/sudden_demise.jpg diff --git a/forge-gui/res/cardsfolder/s/sudden_impact.txt b/forge-gui/res/cardsfolder/s/sudden_impact.txt index aadfe6ceac7..0ed0cc67ebc 100644 --- a/forge-gui/res/cardsfolder/s/sudden_impact.txt +++ b/forge-gui/res/cardsfolder/s/sudden_impact.txt @@ -1,7 +1,7 @@ Name:Sudden Impact ManaCost:3 R Types:Instant -A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target player equal to the number of cards in that player's hand. +A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Player | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target player equal to the number of cards in that player's hand. SVar:X:TargetedPlayer$CardsInHand SVar:Picture:http://www.wizards.com/global/images/magic/general/sudden_impact.jpg Oracle:Sudden Impact deals damage to target player equal to the number of cards in that player's hand. diff --git a/forge-gui/res/cardsfolder/s/suffer_the_past.txt b/forge-gui/res/cardsfolder/s/suffer_the_past.txt index 761de6cb65d..d9b53c77ef9 100644 --- a/forge-gui/res/cardsfolder/s/suffer_the_past.txt +++ b/forge-gui/res/cardsfolder/s/suffer_the_past.txt @@ -1,10 +1,10 @@ Name:Suffer the Past ManaCost:X B Types:Instant -A:SP$ Pump | Cost$ X B | ValidTgts$ Player | TgtPrompt$ Select target player | SubAbility$ DBExileTargets | References$ X | SpellDescription$ Exile X target cards from target player's graveyard. For each card exiled this way, that player loses 1 life and you gain 1 life. | StackDescription$ None -SVar:DBExileTargets:DB$ ChangeZone | TargetMin$ X | TargetMax$ X | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Card | TargetsWithDefinedController$ ParentTarget | TgtPrompt$ Select target card targeted player owns | References$ X,MaxTgts | RememberChanged$ True | SubAbility$ DBSyphonLife -SVar:DBSyphonLife:DB$ LoseLife | Defined$ Targeted | LifeAmount$ Y | References$ Y | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ Y | References$ Y | SubAbility$ DBCleanup +A:SP$ Pump | Cost$ X B | ValidTgts$ Player | TgtPrompt$ Select target player | SubAbility$ DBExileTargets | SpellDescription$ Exile X target cards from target player's graveyard. For each card exiled this way, that player loses 1 life and you gain 1 life. | StackDescription$ None +SVar:DBExileTargets:DB$ ChangeZone | TargetMin$ X | TargetMax$ X | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Card | TargetsWithDefinedController$ ParentTarget | TgtPrompt$ Select target card targeted player owns | RememberChanged$ True | SubAbility$ DBSyphonLife +SVar:DBSyphonLife:DB$ LoseLife | Defined$ Targeted | LifeAmount$ Y | SubAbility$ DBGainLife +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/s/suffocation.txt b/forge-gui/res/cardsfolder/s/suffocation.txt index 7e969e87e49..5051534757b 100644 --- a/forge-gui/res/cardsfolder/s/suffocation.txt +++ b/forge-gui/res/cardsfolder/s/suffocation.txt @@ -7,7 +7,7 @@ SVar:TrigClear:DB$ Cleanup | ClearRemembered$ True | SubAbility$ TrigRemember SVar:TrigRemember:DB$ Pump | RememberObjects$ TriggeredSourceController T:Mode$ Phase | Phase$ Cleanup | Execute$ TrigReset | Static$ True SVar:TrigReset:DB$ Cleanup | ClearRemembered$ True -A:SP$ DealDamage | Cost$ 1 U | Defined$ Remembered | NumDmg$ 4 | CheckSVar$ X | References$ X | SVarCompare$ EQ1 | SubAbility$ DelTrigSlowtrip | SpellDescription$ CARDNAME deals 4 damage to the controller of the last red instant or sorcery spell that dealt damage to you this turn. Draw a card at the beginning of the next turn's upkeep. +A:SP$ DealDamage | Cost$ 1 U | Defined$ Remembered | NumDmg$ 4 | CheckSVar$ X | SVarCompare$ EQ1 | SubAbility$ DelTrigSlowtrip | SpellDescription$ CARDNAME deals 4 damage to the controller of the last red instant or sorcery spell that dealt damage to you this turn. Draw a card at the beginning of the next turn's upkeep. SVar:DelTrigSlowtrip:DB$ DelayedTrigger | Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ DrawSlowtrip | TriggerDescription$ Draw a card. SVar:DrawSlowtrip:DB$Draw | NumCards$ 1 | Defined$ You SVar:X:Count$RememberedSize diff --git a/forge-gui/res/cardsfolder/s/sulfuric_vapors.txt b/forge-gui/res/cardsfolder/s/sulfuric_vapors.txt index 602d67e0ee9..72a5a2ab34b 100644 --- a/forge-gui/res/cardsfolder/s/sulfuric_vapors.txt +++ b/forge-gui/res/cardsfolder/s/sulfuric_vapors.txt @@ -2,7 +2,7 @@ Name:Sulfuric Vapors ManaCost:3 R Types:Enchantment R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Spell.Red | ValidTarget$ Permanent,Player | ReplaceWith$ DmgPlus1 | Description$ If a red spell would deal damage to a permanent or player, it deals that much damage plus 1 to that permanent or player instead. -SVar:DmgPlus1:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgPlus1:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Plus.1 SVar:PlayMain1:TRUE AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/sulfurous_blast.txt b/forge-gui/res/cardsfolder/s/sulfurous_blast.txt index a0f456cbdc7..d34bf733ea3 100644 --- a/forge-gui/res/cardsfolder/s/sulfurous_blast.txt +++ b/forge-gui/res/cardsfolder/s/sulfurous_blast.txt @@ -1,7 +1,7 @@ Name:Sulfurous Blast ManaCost:2 R R Types:Instant -A:SP$ DamageAll | Cost$ 2 R R | NumDmg$ X | References$ X | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 2 damage to each creature and each player. If you cast this spell during your main phase, CARDNAME deals 3 damage to each creature and each player instead. +A:SP$ DamageAll | Cost$ 2 R R | NumDmg$ X | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SpellDescription$ CARDNAME deals 2 damage to each creature and each player. If you cast this spell during your main phase, CARDNAME deals 3 damage to each creature and each player instead. SVar:X:Count$IfCastInOwnMainPhase.3.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/sulfurous_blast.jpg Oracle:Sulfurous Blast deals 2 damage to each creature and each player. If you cast this spell during your main phase, Sulfurous Blast deals 3 damage to each creature and each player instead. diff --git a/forge-gui/res/cardsfolder/s/summary_judgment.txt b/forge-gui/res/cardsfolder/s/summary_judgment.txt index 9daa5fee585..6d97084715e 100644 --- a/forge-gui/res/cardsfolder/s/summary_judgment.txt +++ b/forge-gui/res/cardsfolder/s/summary_judgment.txt @@ -1,6 +1,6 @@ Name:Summary Judgment ManaCost:1 W Types:Instant -A:SP$ DealDamage | Cost$ 1 W | ValidTgts$ Creature.tapped | NumDmg$ X | References$ X | TgtPrompt$ Select target tapped creature | SpellDescription$ CARDNAME deals 3 damage to target tapped creature. If you cast this spell during your main phase, CARDNAME deals 5 damage instead. +A:SP$ DealDamage | Cost$ 1 W | ValidTgts$ Creature.tapped | NumDmg$ X | TgtPrompt$ Select target tapped creature | SpellDescription$ CARDNAME deals 3 damage to target tapped creature. If you cast this spell during your main phase, CARDNAME deals 5 damage instead. SVar:X:Count$IfCastInOwnMainPhase.5.3 Oracle:Summary Judgment deals 3 damage to target tapped creature.\nAddendum — If you cast this spell during your main phase, it deals 5 damage instead. diff --git a/forge-gui/res/cardsfolder/s/sun_droplet.txt b/forge-gui/res/cardsfolder/s/sun_droplet.txt index bca401f4c57..eef72ec69ea 100644 --- a/forge-gui/res/cardsfolder/s/sun_droplet.txt +++ b/forge-gui/res/cardsfolder/s/sun_droplet.txt @@ -3,7 +3,7 @@ ManaCost:2 Types:Artifact T:Mode$ DamageDoneOnce | ValidTarget$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever you're dealt damage, put that many charge counters on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | IsPresent$ Card.Self+counters_GE1_CHARGE | Execute$ TrigGainLife | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ At the beginning of each upkeep, you may remove a charge counter from CARDNAME. If you do, you gain 1 life. -SVar:TrigPutCounter:DB$ PutCounter | CounterType$ CHARGE | CounterNum$ X | References$ X | Defined$ Self +SVar:TrigPutCounter:DB$ PutCounter | CounterType$ CHARGE | CounterNum$ X | Defined$ Self SVar:TrigGainLife:AB$ GainLife | Cost$ SubCounter<1/CHARGE> | LifeAmount$ 1 | Defined$ You SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/sun_droplet.jpg diff --git a/forge-gui/res/cardsfolder/s/sunbirds_invocation.txt b/forge-gui/res/cardsfolder/s/sunbirds_invocation.txt index 9361521e47a..0a91bacd2d0 100644 --- a/forge-gui/res/cardsfolder/s/sunbirds_invocation.txt +++ b/forge-gui/res/cardsfolder/s/sunbirds_invocation.txt @@ -2,8 +2,8 @@ Name:Sunbird's Invocation ManaCost:5 R Types:Enchantment T:Mode$ SpellCast | ValidCard$ Card.wasCastFromHand | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ Whenever you cast a spell from your hand, reveal the top X cards of your library, where X is that spell's converted mana cost. You may cast a spell with converted mana cost X or less from among cards revealed this way without paying its mana cost. Put the rest on the bottom of your library in a random order. -SVar:TrigDig:DB$ PeekAndReveal | Defined$ You | PeekAmount$ X | RememberRevealed$ True | References$ X | SubAbility$ DBPlay -SVar:DBPlay:DB$ Play | ValidZone$ Library | Valid$ Card.nonLand+IsRemembered | ValidSA$ Spell.cmcLEX | WithoutManaCost$ True | Optional$ True | Amount$ 1 | ShowCards$ Card.IsRemembered | ForgetTargetRemembered$ True | References$ X | SubAbility$ DBRestRandomOrder +SVar:TrigDig:DB$ PeekAndReveal | Defined$ You | PeekAmount$ X | RememberRevealed$ True | SubAbility$ DBPlay +SVar:DBPlay:DB$ Play | ValidZone$ Library | Valid$ Card.nonLand+IsRemembered | ValidSA$ Spell.cmcLEX | WithoutManaCost$ True | Optional$ True | Amount$ 1 | ShowCards$ Card.IsRemembered | ForgetTargetRemembered$ True | SubAbility$ DBRestRandomOrder SVar:DBRestRandomOrder:DB$ ChangeZone | Defined$ Remembered | AtRandom$ True | Origin$ Library | Destination$ Library | LibraryPosition$ -1 | Shuffle$ False | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:TriggerCount$CastSACMC diff --git a/forge-gui/res/cardsfolder/s/sunblade_elf.txt b/forge-gui/res/cardsfolder/s/sunblade_elf.txt index 27ebfc2d8b0..02d133e67fb 100644 --- a/forge-gui/res/cardsfolder/s/sunblade_elf.txt +++ b/forge-gui/res/cardsfolder/s/sunblade_elf.txt @@ -2,7 +2,7 @@ Name:Sunblade Elf ManaCost:G Types:Creature Elf Warrior PT:1/1 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Description$ CARDNAME gets +1/+1 as long as you control a Plains. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | SVarCompare$ GE1 | Description$ CARDNAME gets +1/+1 as long as you control a Plains. SVar:X:Count$Valid Plains.YouCtrl A:AB$ PumpAll | Cost$ 4 W | ValidCards$ Creature.YouCtrl | NumAtt$ 1 | NumDef$ 1 | SpellDescription$ Creatures you control get +1/+1 until end of turn. SVar:BuffedBy:Plains diff --git a/forge-gui/res/cardsfolder/s/sunbond.txt b/forge-gui/res/cardsfolder/s/sunbond.txt index 9ddc9ca9dc9..ec5f1c10fde 100644 --- a/forge-gui/res/cardsfolder/s/sunbond.txt +++ b/forge-gui/res/cardsfolder/s/sunbond.txt @@ -5,7 +5,7 @@ K:Enchant creature A:SP$ Attach | Cost$ 3 W | ValidTgts$ Creature | AILogic$ Pump S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddTrigger$ SunbondTrig | AddSVar$ SunbondPutCounter & SunbondTriggerAmount | Description$ Enchanted creature has "Whenever you gain life, put that many +1/+1 counters on this creature." SVar:SunbondTrig:Mode$ LifeGained | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ SunbondPutCounter | TriggerDescription$ Whenever you gain life, put that many +1/+1 counters on CARDNAME. -SVar:SunbondPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ SunbondTriggerAmount | References$ SunbondTriggerAmount +SVar:SunbondPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ SunbondTriggerAmount SVar:SunbondTriggerAmount:TriggerCount$LifeAmount AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/sunbond.jpg diff --git a/forge-gui/res/cardsfolder/s/sunbringers_touch.txt b/forge-gui/res/cardsfolder/s/sunbringers_touch.txt index ba0bcc91cb4..dc5d1ab3f45 100644 --- a/forge-gui/res/cardsfolder/s/sunbringers_touch.txt +++ b/forge-gui/res/cardsfolder/s/sunbringers_touch.txt @@ -1,7 +1,7 @@ Name:Sunbringer's Touch ManaCost:2 G G Types:Sorcery -A:SP$ PutCounter | Cost$ 2 G G | Bolster$ True | CounterNum$ X | References$ X | SubAbility$ DBPumpAll | CounterType$ P1P1 | SpellDescription$ Bolster X, where X is the number of cards in your hand. Each creature you control with a +1/+1 counter on it gains trample until end of turn. (To bolster X, choose a creature with the least toughness among creatures you control and put X +1/+1 counters on it.) +A:SP$ PutCounter | Cost$ 2 G G | Bolster$ True | CounterNum$ X | SubAbility$ DBPumpAll | CounterType$ P1P1 | SpellDescription$ Bolster X, where X is the number of cards in your hand. Each creature you control with a +1/+1 counter on it gains trample until end of turn. (To bolster X, choose a creature with the least toughness among creatures you control and put X +1/+1 counters on it.) SVar:X:Count$InYourHand SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl+counters_GE1_P1P1 | KW$ Trample SVar:NeedsToPlayVar:X GE2 diff --git a/forge-gui/res/cardsfolder/s/suncleanser.txt b/forge-gui/res/cardsfolder/s/suncleanser.txt index c7fd081295a..86f3e124883 100644 --- a/forge-gui/res/cardsfolder/s/suncleanser.txt +++ b/forge-gui/res/cardsfolder/s/suncleanser.txt @@ -6,8 +6,8 @@ T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefi SVar:TrigCharm:DB$ Charm | Choices$ CreatureDBRemoveCounter,OpponentDBRemoveCounter | CharmNum$ 1 SVar:CreatureDBRemoveCounter:DB$ RemoveCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | CounterType$ All | CounterNum$ All | SubAbility$ DBPumpCreature | SpellDescription$ Remove all counters from target creature. It can't have counters put on it for as long as CARDNAME remains on the battlefield. SVar:OpponentDBRemoveCounter:DB$ RemoveCounter | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | CounterType$ All | CounterNum$ All | SubAbility$ DBPumpOpponent | SpellDescription$ Target opponent loses all counters. That player can't get counters for as long as CARDNAME remains on the battlefield. -SVar:DBPumpCreature:DB$ Effect | StaticAbilities$ DBCantPutCounterCreature | RememberObjects$ Targeted | Duration$ UntilHostLeavesPlay | References$ DBCantPutCounterCreature +SVar:DBPumpCreature:DB$ Effect | StaticAbilities$ DBCantPutCounterCreature | RememberObjects$ Targeted | Duration$ UntilHostLeavesPlay SVar:DBCantPutCounterCreature:Mode$ CantPutCounter | ValidCard$ Card.IsRemembered | EffectZone$ Command | Description$ It can't have counters put on it for as long as EFFECTSOURCE remains on the battlefield. -SVar:DBPumpOpponent:DB$ Effect | StaticAbilities$ DBCantPutCounterPlayer | RememberObjects$ Targeted | Duration$ UntilHostLeavesPlay | References$ DBCantPutCounterPlayer +SVar:DBPumpOpponent:DB$ Effect | StaticAbilities$ DBCantPutCounterPlayer | RememberObjects$ Targeted | Duration$ UntilHostLeavesPlay SVar:DBCantPutCounterPlayer:Mode$ CantPutCounter | ValidPlayer$ Player.IsRemembered | EffectZone$ Command | Description$ That player can't get counters for as long as Suncleanser remains on the battlefield. Oracle:When Suncleanser enters the battlefield, choose one —\n• Remove all counters from target creature. It can't have counters put on it for as long as Suncleanser remains on the battlefield.\n• Target opponent loses all counters. That player can't get counters for as long as Suncleanser remains on the battlefield. diff --git a/forge-gui/res/cardsfolder/s/sundering_stroke.txt b/forge-gui/res/cardsfolder/s/sundering_stroke.txt index e34f7f05e6a..9726c6e591a 100644 --- a/forge-gui/res/cardsfolder/s/sundering_stroke.txt +++ b/forge-gui/res/cardsfolder/s/sundering_stroke.txt @@ -1,7 +1,7 @@ Name:Sundering Stroke ManaCost:6 R Types:Sorcery -A:SP$ DealDamage | Cost$ 6 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to distribute damage to | NumDmg$ 7 | TargetMin$ 1 | TargetMax$ 3 | DividedAsYouChoose$ 7 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBDmgAll | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals 7 damage divided as you choose among one, two, or three targets. If at least seven red mana was spent to cast this spell, instead CARDNAME deals 7 damage to each of those permanents and/or players. -SVar:DBDmgAll:DB$ DealDamage | Defined$ Targeted | NumDmg$ 7 | ConditionCheckSVar$ X | References$ X | StackDescription$ None +A:SP$ DealDamage | Cost$ 6 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to distribute damage to | NumDmg$ 7 | TargetMin$ 1 | TargetMax$ 3 | DividedAsYouChoose$ 7 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBDmgAll | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals 7 damage divided as you choose among one, two, or three targets. If at least seven red mana was spent to cast this spell, instead CARDNAME deals 7 damage to each of those permanents and/or players. +SVar:DBDmgAll:DB$ DealDamage | Defined$ Targeted | NumDmg$ 7 | ConditionCheckSVar$ X | StackDescription$ None SVar:X:Count$Adamant_7.Red.1.0 Oracle:Sundering Stroke deals 7 damage divided as you choose among one, two, or three targets. If at least seven red mana was spent to cast this spell, instead Sundering Stroke deals 7 damage to each of those permanents and/or players. diff --git a/forge-gui/res/cardsfolder/s/sunflare_shaman.txt b/forge-gui/res/cardsfolder/s/sunflare_shaman.txt index f4096615a95..08cdcd48fb5 100644 --- a/forge-gui/res/cardsfolder/s/sunflare_shaman.txt +++ b/forge-gui/res/cardsfolder/s/sunflare_shaman.txt @@ -2,8 +2,8 @@ Name:Sunflare Shaman ManaCost:1 R Types:Creature Elemental Shaman PT:2/1 -A:AB$ DealDamage | Cost$ 1 R T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | DamageMap$ True | SubAbility$ DBDealDamage | SpellDescription$ CARDNAME deals X damage to any target and X damage to itself, where X is the number of Elemental cards in your graveyard. -SVar:DBDealDamage:DB$ DealDamage | NumDmg$ X | References$ X | Defined$ Self | SubAbility$ DBDamageResolve +A:AB$ DealDamage | Cost$ 1 R T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | DamageMap$ True | SubAbility$ DBDealDamage | SpellDescription$ CARDNAME deals X damage to any target and X damage to itself, where X is the number of Elemental cards in your graveyard. +SVar:DBDealDamage:DB$ DealDamage | NumDmg$ X | Defined$ Self | SubAbility$ DBDamageResolve SVar:DBDamageResolve:DB$ DamageResolve SVar:X:Count$TypeInYourYard.Elemental AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/sunhome_enforcer.txt b/forge-gui/res/cardsfolder/s/sunhome_enforcer.txt index 8f191fa2c0b..230d5aac196 100644 --- a/forge-gui/res/cardsfolder/s/sunhome_enforcer.txt +++ b/forge-gui/res/cardsfolder/s/sunhome_enforcer.txt @@ -3,7 +3,7 @@ ManaCost:2 R W Types:Creature Giant Soldier PT:2/4 T:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount A:AB$ Pump | Cost$ 1 R | NumAtt$ +1 | SpellDescription$ CARDNAME gets +1/+0 until end of turn. SVar:HasCombatEffect:TRUE diff --git a/forge-gui/res/cardsfolder/s/sunken_hollow.txt b/forge-gui/res/cardsfolder/s/sunken_hollow.txt index fd66953922b..5c1cd1c2fbb 100644 --- a/forge-gui/res/cardsfolder/s/sunken_hollow.txt +++ b/forge-gui/res/cardsfolder/s/sunken_hollow.txt @@ -2,7 +2,7 @@ Name:Sunken Hollow ManaCost:no cost Types:Land Island Swamp R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | ReplaceWith$ LandTapped | Description$ CARDNAME enters the battlefield tapped unless you control two or more basic lands. -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar | ConditionSVarCompare$ LE1 | References$ ETBCheckSVar | SubAbility$ MoveToPlay +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar | ConditionSVarCompare$ LE1 | SubAbility$ MoveToPlay SVar:MoveToPlay:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard SVar:ETBCheckSVar:Count$LastStateBattlefield Land.Basic+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/sunken_hollow.jpg diff --git a/forge-gui/res/cardsfolder/s/sunscourge_champion.txt b/forge-gui/res/cardsfolder/s/sunscourge_champion.txt index 70e9af17a1c..4fff86d6fa5 100644 --- a/forge-gui/res/cardsfolder/s/sunscourge_champion.txt +++ b/forge-gui/res/cardsfolder/s/sunscourge_champion.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Creature Human Wizard PT:2/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBGainLife | TriggerDescription$ When CARDNAME enters the battlefield, you gain life equal to its power. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X K:Eternalize:2 W W Discard<1/Card> SVar:X:Count$CardPower DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/s/superior_numbers.txt b/forge-gui/res/cardsfolder/s/superior_numbers.txt index 1f1676836e3..cd8aaa2d4f7 100644 --- a/forge-gui/res/cardsfolder/s/superior_numbers.txt +++ b/forge-gui/res/cardsfolder/s/superior_numbers.txt @@ -2,7 +2,7 @@ Name:Superior Numbers ManaCost:G G Types:Sorcery A:SP$ Pump | Cost$ G G | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBDealDamage | SpellDescription$ CARDNAME deals damage to target creature equal to the number of creatures you control in excess of the number of creatures target opponent controls. | StackDescription$ SpellDescription -SVar:DBDealDamage:DB$ DealDamage | NumDmg$ X | References$ X,Y | ValidTgts$ Creature | TgtPrompt$ Select target creature +SVar:DBDealDamage:DB$ DealDamage | NumDmg$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature SVar:X:Count$Valid Creature.YouCtrl/Minus.Y SVar:Y:Count$Valid Creature.TargetedPlayerCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/superior_numbers.jpg diff --git a/forge-gui/res/cardsfolder/s/supply_demand.txt b/forge-gui/res/cardsfolder/s/supply_demand.txt index f07fa2b450f..9e139f4a714 100644 --- a/forge-gui/res/cardsfolder/s/supply_demand.txt +++ b/forge-gui/res/cardsfolder/s/supply_demand.txt @@ -2,7 +2,7 @@ Name:Supply ManaCost:X G W AlternateMode: Split Types:Sorcery -A:SP$ Token | Cost$ X G W | TokenAmount$ X | References$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling dis | SpellDescription$ Create X 1/1 green Saproling creature tokens. +A:SP$ Token | Cost$ X G W | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling dis | SpellDescription$ Create X 1/1 green Saproling creature tokens. SVar:X:Count$xPaid DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/supplydemand.jpg diff --git a/forge-gui/res/cardsfolder/s/surestrike_trident.txt b/forge-gui/res/cardsfolder/s/surestrike_trident.txt index 9828210c934..1e3a7aae3cb 100644 --- a/forge-gui/res/cardsfolder/s/surestrike_trident.txt +++ b/forge-gui/res/cardsfolder/s/surestrike_trident.txt @@ -2,7 +2,7 @@ Name:Surestrike Trident ManaCost:2 Types:Artifact Equipment S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddKeyword$ First Strike | AddAbility$ SurestrikeTridentDmg | AddSVar$ SurestrikeTridentX | Description$ Equipped creature has first strike and "{T}, Unattach CARDNAME: This creature deals damage equal to its power to target player or planeswalker." -SVar:SurestrikeTridentDmg:AB$ DealDamage | Cost$ T Unattach | NumDmg$ SurestrikeTridentX | References$ SurestrikeTridentX | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | SpellDescription$ CARDNAME deals damage equal to its power to target player or planeswalker. +SVar:SurestrikeTridentDmg:AB$ DealDamage | Cost$ T Unattach | NumDmg$ SurestrikeTridentX | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | SpellDescription$ CARDNAME deals damage equal to its power to target player or planeswalker. SVar:SurestrikeTridentX:Count$CardPower K:Equip:4 SVar:Picture:http://www.wizards.com/global/images/magic/general/surestrike_trident.jpg diff --git a/forge-gui/res/cardsfolder/s/surrakar_spellblade.txt b/forge-gui/res/cardsfolder/s/surrakar_spellblade.txt index 9f5610853a9..42e97b5e2fb 100644 --- a/forge-gui/res/cardsfolder/s/surrakar_spellblade.txt +++ b/forge-gui/res/cardsfolder/s/surrakar_spellblade.txt @@ -5,7 +5,7 @@ PT:2/1 T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ Whenever you cast a instant or sorcery spell, you may put a charge counter on CARDNAME. T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | OptionalDecider$ You | Execute$ TrigDraw | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may draw X cards, where X is the number of charge counters on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ CHARGE | CounterNum$ 1 -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:Count$CardCounters.CHARGE SVar:BuffedBy:Instant,Sorcery SVar:Picture:http://www.wizards.com/global/images/magic/general/surrakar_spellblade.jpg diff --git a/forge-gui/res/cardsfolder/s/surtland_flinger.txt b/forge-gui/res/cardsfolder/s/surtland_flinger.txt index 5b4eda73eae..d500bc1938f 100644 --- a/forge-gui/res/cardsfolder/s/surtland_flinger.txt +++ b/forge-gui/res/cardsfolder/s/surtland_flinger.txt @@ -4,8 +4,8 @@ Types:Creature Giant Berserker PT:4/6 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigImmediate | TriggerDescription$ Whenever CARDNAME attacks, you may sacrifice another creature. When you do, CARDNAME deals damage equal to the sacrificed creature's power to any target. If the sacrificed creature was a Giant, CARDNAME deals twice that much damage instead. SVar:TrigImmediate:AB$ ImmediateTrigger | Cost$ Sac<1/Creature.Other/another creature> | RememberObjects$ Sacrificed | Execute$ TrigDamage | AILogic$ SacForDamage.GiantX2 | TriggerDescription$ When you do, CARDNAME deals damage equal to the sacrificed creature's power to any target. If the sacrificed creature was a Giant, CARDNAME deals twice that much damage instead. -SVar:TrigDamage:DB$ DealDamage | ConditionDefined$ DelayTriggerRememberedLKI | ConditionPresent$ Giant | ConditionCompare$ EQ0 | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SubAbility$ DBGiantDamage -SVar:DBGiantDamage:DB$ DealDamage | ConditionDefined$ DelayTriggerRememberedLKI | ConditionPresent$ Giant | ConditionCompare$ GE1 | Defined$ Targeted | NumDmg$ Y | References$ Y +SVar:TrigDamage:DB$ DealDamage | ConditionDefined$ DelayTriggerRememberedLKI | ConditionPresent$ Giant | ConditionCompare$ EQ0 | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBGiantDamage +SVar:DBGiantDamage:DB$ DealDamage | ConditionDefined$ DelayTriggerRememberedLKI | ConditionPresent$ Giant | ConditionCompare$ GE1 | Defined$ Targeted | NumDmg$ Y SVar:X:TriggerRemembered$CardPower SVar:Y:TriggerRemembered$CardPower/Times.2 SVar:AIPreferenceParams:CreatureEvalThreshold$ 200 diff --git a/forge-gui/res/cardsfolder/s/surveyors_scope.txt b/forge-gui/res/cardsfolder/s/surveyors_scope.txt index bc92f2af7f8..9bf249e2922 100644 --- a/forge-gui/res/cardsfolder/s/surveyors_scope.txt +++ b/forge-gui/res/cardsfolder/s/surveyors_scope.txt @@ -1,7 +1,7 @@ Name:Surveyor's Scope ManaCost:2 Types:Artifact -A:AB$ ChangeZone | Cost$ T Exile<1/CARDNAME> | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ X | References$ X | SpellDescription$ Search your library for up to X basic land cards, where X is the number of players who control at least two more lands than you. Put those lands onto the battlefield, then shuffle your library. +A:AB$ ChangeZone | Cost$ T Exile<1/CARDNAME> | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ X | SpellDescription$ Search your library for up to X basic land cards, where X is the number of players who control at least two more lands than you. Put those lands onto the battlefield, then shuffle your library. SVar:X:PlayerCountPropertywithAtLeast2MoreLandsThanYou$Amount AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/survival_cache.txt b/forge-gui/res/cardsfolder/s/survival_cache.txt index 646de00c1d5..13ad3d7f269 100644 --- a/forge-gui/res/cardsfolder/s/survival_cache.txt +++ b/forge-gui/res/cardsfolder/s/survival_cache.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Sorcery K:Rebound A:SP$ GainLife | Cost$ 2 W | Defined$ You | LifeAmount$ 2 | SubAbility$ DoDraw | SpellDescription$ You gain 2 life. Then if you have more life than an opponent, draw a card. -SVar:DoDraw:DB$ Draw | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GTY | References$ X,Y | NumCards$ 1 +SVar:DoDraw:DB$ Draw | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GTY | NumCards$ 1 SVar:X:Count$YourLifeTotal SVar:Y:PlayerCountOpponents$LowestLifeTotal SVar:Picture:http://www.wizards.com/global/images/magic/general/survival_cache.jpg diff --git a/forge-gui/res/cardsfolder/s/sutured_ghoul.txt b/forge-gui/res/cardsfolder/s/sutured_ghoul.txt index 6ac29c72e0c..825c574dd3f 100644 --- a/forge-gui/res/cardsfolder/s/sutured_ghoul.txt +++ b/forge-gui/res/cardsfolder/s/sutured_ghoul.txt @@ -4,9 +4,9 @@ Types:Creature Zombie PT:*/* K:Trample K:ETBReplacement:Copy:ChooseCreatures -SVar:ChooseCreatures:DB$ ChooseCard | Defined$ You | Amount$ X | Choices$ Creature.YouOwn | ChoiceTitle$ Exile any number of creature cards from your graveyard. | ChoiceZone$ Graveyard | RememberChosen$ True | SubAbility$ ExileCreatures | SpellDescription$ As CARDNAME enters the battlefield, exile any number of creature cards from your graveyard. CARDNAME's power is equal to the total power of the exiled cards and its toughness is equal to their total toughness. | References$ X +SVar:ChooseCreatures:DB$ ChooseCard | Defined$ You | Amount$ X | Choices$ Creature.YouOwn | ChoiceTitle$ Exile any number of creature cards from your graveyard. | ChoiceZone$ Graveyard | RememberChosen$ True | SubAbility$ ExileCreatures | SpellDescription$ As CARDNAME enters the battlefield, exile any number of creature cards from your graveyard. CARDNAME's power is equal to the total power of the exiled cards and its toughness is equal to their total toughness. SVar:ExileCreatures:DB$ ChangeZoneAll | ChangeType$ Remembered | Origin$ Graveyard | Destination$ Exile | SubAbility$ AnimateSuture -SVar:AnimateSuture:DB$ Animate | Defined$ Self | Power$ TotalPower | Toughness$ TotalToughness | Permanent$ True | SubAbility$ DBCleanup | References$ TotalPower,TotalToughness +SVar:AnimateSuture:DB$ Animate | Defined$ Self | Power$ TotalPower | Toughness$ TotalToughness | Permanent$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:TotalPower:Remembered$CardPower SVar:TotalToughness:Remembered$CardToughness diff --git a/forge-gui/res/cardsfolder/s/svogthos_the_restless_tomb.txt b/forge-gui/res/cardsfolder/s/svogthos_the_restless_tomb.txt index 3e1dd0c96f6..8d59f898e05 100644 --- a/forge-gui/res/cardsfolder/s/svogthos_the_restless_tomb.txt +++ b/forge-gui/res/cardsfolder/s/svogthos_the_restless_tomb.txt @@ -2,8 +2,8 @@ Name:Svogthos, the Restless Tomb ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ Animate | Cost$ 3 B G | Defined$ Self | Types$ Creature,Zombie,Plant | Colors$ Black,Green | staticAbilities$ Static | References$ X | SpellDescription$ Until end of turn, CARDNAME becomes a black and green Plant Zombie creature with "This creature's power and toughness are each equal to the number of creature cards in your graveyard." It's still a land. -SVar:Static:Mode$ Continuous | EffectZone$ Battlefield | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ This creature's power and toughness are each equal to the number of creature cards in your graveyard. +A:AB$ Animate | Cost$ 3 B G | Defined$ Self | Types$ Creature,Zombie,Plant | Colors$ Black,Green | staticAbilities$ Static | SpellDescription$ Until end of turn, CARDNAME becomes a black and green Plant Zombie creature with "This creature's power and toughness are each equal to the number of creature cards in your graveyard." It's still a land. +SVar:Static:Mode$ Continuous | EffectZone$ Battlefield | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ This creature's power and toughness are each equal to the number of creature cards in your graveyard. SVar:X:Count$TypeInYourYard.Creature AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/svogthos_the_restless_tomb.jpg diff --git a/forge-gui/res/cardsfolder/s/swallowing_plague.txt b/forge-gui/res/cardsfolder/s/swallowing_plague.txt index a6a29708667..573f6902534 100644 --- a/forge-gui/res/cardsfolder/s/swallowing_plague.txt +++ b/forge-gui/res/cardsfolder/s/swallowing_plague.txt @@ -1,8 +1,8 @@ Name:Swallowing Plague ManaCost:X B B Types:Sorcery Arcane -A:SP$ DealDamage | Cost$ X B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to target creature and you gain X life. -SVar:DBGainLife:DB$GainLife | LifeAmount$ X | References$ X +A:SP$ DealDamage | Cost$ X B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to target creature and you gain X life. +SVar:DBGainLife:DB$GainLife | LifeAmount$ X SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/swallowing_plague.jpg Oracle:Swallowing Plague deals X damage to target creature and you gain X life. diff --git a/forge-gui/res/cardsfolder/s/swans_of_bryn_argoll.txt b/forge-gui/res/cardsfolder/s/swans_of_bryn_argoll.txt index c47ec135f3f..fc49dbbe8bf 100644 --- a/forge-gui/res/cardsfolder/s/swans_of_bryn_argoll.txt +++ b/forge-gui/res/cardsfolder/s/swans_of_bryn_argoll.txt @@ -4,7 +4,7 @@ Types:Creature Bird Spirit PT:4/3 K:Flying R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ DBDraw | PreventionEffect$ True | Description$ If a source would deal damage to CARDNAME, prevent that damage. The source's controller draws cards equal to the damage prevented this way. -SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ ReplacedSourceController | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ ReplacedSourceController SVar:X:ReplaceCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/swans_of_bryn_argoll.jpg Oracle:Flying\nIf a source would deal damage to Swans of Bryn Argoll, prevent that damage. The source's controller draws cards equal to the damage prevented this way. diff --git a/forge-gui/res/cardsfolder/s/sway_of_illusion.txt b/forge-gui/res/cardsfolder/s/sway_of_illusion.txt index 6e7643e7afb..d21a5a2c87e 100644 --- a/forge-gui/res/cardsfolder/s/sway_of_illusion.txt +++ b/forge-gui/res/cardsfolder/s/sway_of_illusion.txt @@ -2,7 +2,7 @@ Name:Sway of Illusion ManaCost:1 U Types:Instant A:SP$ ChooseColor | Cost$ 1 U | Defined$ You | SubAbility$ DBSwayAnimate | SpellDescription$ Any number of target creatures become the color of your choice until end of turn. Draw a card. -SVar:DBSwayAnimate:DB$ Animate | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxTgts | References$ MaxTgts | TgtPrompt$ Select target creatures | Colors$ ChosenColor | OverwriteColors$ True | SubAbility$ DBDraw +SVar:DBSwayAnimate:DB$ Animate | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ MaxTgts | TgtPrompt$ Select target creatures | Colors$ ChosenColor | OverwriteColors$ True | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | NumCards$ 1 SVar:MaxTgts:Count$Valid Creature AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/sweet_gum_recluse.txt b/forge-gui/res/cardsfolder/s/sweet_gum_recluse.txt index 40f9f951580..b7b831c7a6a 100755 --- a/forge-gui/res/cardsfolder/s/sweet_gum_recluse.txt +++ b/forge-gui/res/cardsfolder/s/sweet_gum_recluse.txt @@ -6,7 +6,7 @@ K:Flash K:Cascade K:Reach T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerDescription$ When CARDNAME enters the battlefield, put three +1/+1 counters on each of any number of target creatures that entered the battlefield this turn. -SVar:TrigPutCounter:DB$PutCounter | CounterNum$ 3 | CounterType$ P1P1 | TargetMin$ 0 | TargetMax$ X | References$ X | ValidTgts$ Creature.enteredBattlefieldThisTurn | TgtPrompt$ Select any number of target creatures that entered the battlefield this turn | +SVar:TrigPutCounter:DB$PutCounter | CounterNum$ 3 | CounterType$ P1P1 | TargetMin$ 0 | TargetMax$ X | ValidTgts$ Creature.enteredBattlefieldThisTurn | TgtPrompt$ Select any number of target creatures that entered the battlefield this turn | SVar:X:Count$Valid Creature.enteredBattlefieldThisTurn DeckHas:Ability$Counters Oracle:Flash\nCascade\nReach\nWhen Sweet-Gum Recluse enters the battlefield, put three +1/+1 counters on each of any number of target creatures that entered the battlefield this turn. diff --git a/forge-gui/res/cardsfolder/s/swift_silence.txt b/forge-gui/res/cardsfolder/s/swift_silence.txt index b3a9364b182..a01b1e1dec4 100644 --- a/forge-gui/res/cardsfolder/s/swift_silence.txt +++ b/forge-gui/res/cardsfolder/s/swift_silence.txt @@ -2,7 +2,7 @@ Name:Swift Silence ManaCost:2 W U U Types:Instant A:SP$ Counter | Cost$ 2 W U U | AllType$ Spell | AllValid$ Card.Other | RememberCountered$ True | SubAbility$ DBDraw | SpellDescription$ Counter all other spells. Draw a card for each spell countered this way. -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/swirling_sandstorm.txt b/forge-gui/res/cardsfolder/s/swirling_sandstorm.txt index 8afa032bcee..ac681ad662e 100644 --- a/forge-gui/res/cardsfolder/s/swirling_sandstorm.txt +++ b/forge-gui/res/cardsfolder/s/swirling_sandstorm.txt @@ -1,7 +1,7 @@ Name:Swirling Sandstorm ManaCost:3 R Types:Sorcery -A:SP$ DamageAll | Cost$ 3 R | NumDmg$ X | References$ X | ValidCards$ Creature.withoutFlying | ValidDescription$ each creature without flying | SpellDescription$ Threshold — CARDNAME deals 5 damage to each creature without flying if seven or more cards are in your graveyard. +A:SP$ DamageAll | Cost$ 3 R | NumDmg$ X | ValidCards$ Creature.withoutFlying | ValidDescription$ each creature without flying | SpellDescription$ Threshold — CARDNAME deals 5 damage to each creature without flying if seven or more cards are in your graveyard. SVar:X:Count$Threshold.5.0 SVar:Picture:http://www.wizards.com/global/images/magic/general/swirling_sandstorm.jpg Oracle:Threshold — Swirling Sandstorm deals 5 damage to each creature without flying if seven or more cards are in your graveyard. diff --git a/forge-gui/res/cardsfolder/s/sword_of_the_ages.txt b/forge-gui/res/cardsfolder/s/sword_of_the_ages.txt index 220bfef44e7..78e10a236f5 100644 --- a/forge-gui/res/cardsfolder/s/sword_of_the_ages.txt +++ b/forge-gui/res/cardsfolder/s/sword_of_the_ages.txt @@ -2,7 +2,7 @@ Name:Sword of the Ages ManaCost:6 Types:Artifact K:CARDNAME enters the battlefield tapped. -A:AB$ DealDamage | Cost$ T Sac<1/CARDNAME> Sac | NumDmg$ Y | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | CostDesc$ Sacrifice Sword of the Ages and any number of creatures you control: | References$ X,Y | SubAbility$ DBExile | SpellDescription$ CARDNAME deals X damage to any target, where X is the total power of the creatures sacrificed this way, then exile CARDNAME and those creature cards. +A:AB$ DealDamage | Cost$ T Sac<1/CARDNAME> Sac | NumDmg$ Y | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | CostDesc$ Sacrifice Sword of the Ages and any number of creatures you control: | SubAbility$ DBExile | SpellDescription$ CARDNAME deals X damage to any target, where X is the total power of the creatures sacrificed this way, then exile CARDNAME and those creature cards. SVar:DBExile:DB$ ChangeZone | Defined$ SacrificedCards | Origin$ Graveyard | Destination$ Exile SVar:X:Count$xPaid SVar:Y:Sacrificed$CardPower diff --git a/forge-gui/res/cardsfolder/s/sword_of_war_and_peace.txt b/forge-gui/res/cardsfolder/s/sword_of_war_and_peace.txt index fb944574180..5ef6ab0ccc7 100644 --- a/forge-gui/res/cardsfolder/s/sword_of_war_and_peace.txt +++ b/forge-gui/res/cardsfolder/s/sword_of_war_and_peace.txt @@ -4,9 +4,9 @@ Types:Artifact Equipment K:Equip:2 S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 2 | AddToughness$ 2 | AddSVar$ SwordOfWarAndPeaceCE | AddKeyword$ Protection from red & Protection from white | Description$ Equipped creature gets +2/+2 and has protection from red and from white. T:Mode$ DamageDone | ValidSource$ Creature.EquippedBy | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDamage | TriggerZones$ Battlefield | TriggerDescription$ Whenever equipped creature deals combat damage to a player, CARDNAME deals damage to that player equal to the number of cards in their hand and you gain 1 life for each card in your hand. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredTarget | NumDmg$ X | References$ X | SubAbility$ DBGain +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredTarget | NumDmg$ X | SubAbility$ DBGain SVar:X:TriggeredTarget$CardsInHand -SVar:DBGain:DB$ GainLife | Defined$ You | LifeAmount$ Y | References$ Y +SVar:DBGain:DB$ GainLife | Defined$ You | LifeAmount$ Y SVar:Y:Count$CardsInYourHand SVar:SwordOfWarAndPeaceCE:SVar:MustBeBlocked:AttackingPlayerConservative SVar:Picture:http://www.wizards.com/global/images/magic/general/sword_of_war_and_peace.jpg diff --git a/forge-gui/res/cardsfolder/s/swords_to_plowshares.txt b/forge-gui/res/cardsfolder/s/swords_to_plowshares.txt index 17c0b7fa5e9..d6540cda142 100644 --- a/forge-gui/res/cardsfolder/s/swords_to_plowshares.txt +++ b/forge-gui/res/cardsfolder/s/swords_to_plowshares.txt @@ -2,7 +2,7 @@ Name:Swords to Plowshares ManaCost:W Types:Instant A:SP$ ChangeZone | Cost$ W | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Exile | RememberLKI$ True | SpellDescription$ Exile target creature. Its controller gains life equal to its power. | StackDescription$ SpellDescription | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ TargetedController | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | Defined$ TargetedController | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardPower SVar:Picture:http://resources.wizards.com/magic/cards/br/en-us/card21172.jpg diff --git a/forge-gui/res/cardsfolder/s/sydri_galvanic_genius.txt b/forge-gui/res/cardsfolder/s/sydri_galvanic_genius.txt index e7b82bc3f98..bc80f1cc49d 100644 --- a/forge-gui/res/cardsfolder/s/sydri_galvanic_genius.txt +++ b/forge-gui/res/cardsfolder/s/sydri_galvanic_genius.txt @@ -2,7 +2,7 @@ Name:Sydri, Galvanic Genius ManaCost:W U B Types:Legendary Creature Human Artificer PT:2/2 -A:AB$ Animate | Cost$ U | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select target noncreature artifact | Power$ X | Toughness$ X | Types$ Artifact,Creature | References$ X | SpellDescription$ Target noncreature artifact becomes an artifact creature with power and toughness each equal to its converted mana cost until end of turn. +A:AB$ Animate | Cost$ U | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select target noncreature artifact | Power$ X | Toughness$ X | Types$ Artifact,Creature | SpellDescription$ Target noncreature artifact becomes an artifact creature with power and toughness each equal to its converted mana cost until end of turn. SVar:X:Targeted$CardManaCost A:AB$ Pump | Cost$ W B | ValidTgts$ Creature.Artifact | TgtPrompt$ Select target artifact creature | KW$ Deathtouch & Lifelink | SpellDescription$ Target artifact creature gains deathtouch and lifelink until end of turn. SVar:Picture:http://www.wizards.com/global/images/magic/general/sydri_galvanic_genius.jpg diff --git a/forge-gui/res/cardsfolder/s/sylvan_offering.txt b/forge-gui/res/cardsfolder/s/sylvan_offering.txt index 3c803b0cdb2..fd4b0e1694a 100644 --- a/forge-gui/res/cardsfolder/s/sylvan_offering.txt +++ b/forge-gui/res/cardsfolder/s/sylvan_offering.txt @@ -2,9 +2,9 @@ Name:Sylvan Offering ManaCost:X G Types:Sorcery A:SP$ ChoosePlayer | Cost$ X G | Defined$ You | Choices$ Player.Opponent | SubAbility$ DBToken | SpellDescription$ Choose an opponent. You and that player each create an X/X green Treefolk creature token. Choose an opponent. You and that player each create X 1/1 green Elf Warrior creature tokens. -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_x_x_treefolk | TokenOwner$ ChosenAndYou | TokenPower$ X | TokenToughness$ X | References$ X | LegacyImage$ g x x treefolk c14 | SubAbility$ DBChoose +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_x_x_treefolk | TokenOwner$ ChosenAndYou | TokenPower$ X | TokenToughness$ X | LegacyImage$ g x x treefolk c14 | SubAbility$ DBChoose SVar:DBChoose:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | SubAbility$ DBToken2 -SVar:DBToken2:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_1_1_elf_warrior | TokenOwner$ ChosenAndYou | LegacyImage$ g 1 1 elf warrior c14 +SVar:DBToken2:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_elf_warrior | TokenOwner$ ChosenAndYou | LegacyImage$ g 1 1 elf warrior c14 SVar:X:Count$xPaid AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/sylvan_paradise.txt b/forge-gui/res/cardsfolder/s/sylvan_paradise.txt index 9af5fb4e4f4..13fac937c7f 100644 --- a/forge-gui/res/cardsfolder/s/sylvan_paradise.txt +++ b/forge-gui/res/cardsfolder/s/sylvan_paradise.txt @@ -1,7 +1,7 @@ Name:Sylvan Paradise ManaCost:G Types:Instant -A:SP$ Animate | Cost$ G | ValidTgts$ Creature | TargetMin$ 1 | TargetMax$ MaxTgts | References$ MaxTgts | TgtPrompt$ Select target creatures | Colors$ Green | OverwriteColors$ True | SpellDescription$ One or more target creatures become green until end of turn. +A:SP$ Animate | Cost$ G | ValidTgts$ Creature | TargetMin$ 1 | TargetMax$ MaxTgts | TgtPrompt$ Select target creatures | Colors$ Green | OverwriteColors$ True | SpellDescription$ One or more target creatures become green until end of turn. SVar:MaxTgts:Count$Valid Creature AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/s/sylvan_primordial.txt b/forge-gui/res/cardsfolder/s/sylvan_primordial.txt index 924b3ea40ea..d8ab57d1910 100644 --- a/forge-gui/res/cardsfolder/s/sylvan_primordial.txt +++ b/forge-gui/res/cardsfolder/s/sylvan_primordial.txt @@ -4,8 +4,8 @@ Types:Creature Avatar PT:6/8 K:Reach T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DestroyOneEach | TriggerDescription$ When CARDNAME enters the battlefield, for each opponent, destroy target noncreature permanent that player controls. For each permanent destroyed this way, search your library for a Forest card and put that card onto the battlefield tapped. Then shuffle your library. -SVar:DestroyOneEach:DB$ Destroy | ValidTgts$ Permanent.nonCreature+OppCtrl | TgtPrompt$ Select a noncreature permanent each opponent controls. | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | RememberDestroyed$ True | SubAbility$ GetForests -SVar:GetForests:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Forest | ChangeNum$ X | Tapped$ True | References$ X | SubAbility$ DBCleanup +SVar:DestroyOneEach:DB$ Destroy | ValidTgts$ Permanent.nonCreature+OppCtrl | TgtPrompt$ Select a noncreature permanent each opponent controls. | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | RememberDestroyed$ True | SubAbility$ GetForests +SVar:GetForests:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Forest | ChangeNum$ X | Tapped$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:OneEach:PlayerCountOpponents$Amount diff --git a/forge-gui/res/cardsfolder/s/synchronized_spellcraft.txt b/forge-gui/res/cardsfolder/s/synchronized_spellcraft.txt index b4b61cd4b83..2823a088439 100755 --- a/forge-gui/res/cardsfolder/s/synchronized_spellcraft.txt +++ b/forge-gui/res/cardsfolder/s/synchronized_spellcraft.txt @@ -2,7 +2,7 @@ Name:Synchronized Spellcraft ManaCost:4 R Types:Instant A:SP$ DealDamage | Cost$ 4 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 4 | SubAbility$ DBDealDamage | SpellDescription$ CARDNAME deals 4 damage to target creature and X damage to that creature's controller, where X is the number of creatures in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) -SVar:DBDealDamage:DB$ DealDamage | NumDmg$ X | Defined$ TargetedController | References$ X +SVar:DBDealDamage:DB$ DealDamage | NumDmg$ X | Defined$ TargetedController SVar:X:Count$Party DeckHas:Ability$Party DeckHints:Type$Cleric|Rogue|Warrior|Wizard diff --git a/forge-gui/res/cardsfolder/s/syncopate.txt b/forge-gui/res/cardsfolder/s/syncopate.txt index 02beb5421f2..92219474e22 100644 --- a/forge-gui/res/cardsfolder/s/syncopate.txt +++ b/forge-gui/res/cardsfolder/s/syncopate.txt @@ -1,7 +1,7 @@ Name:Syncopate ManaCost:X U Types:Instant -A:SP$ Counter | Cost$ X U | References$ X | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | Destination$ Exile | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {X}. If that spell is countered this way, exile it instead of putting it into its owner's graveyard. +A:SP$ Counter | Cost$ X U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | Destination$ Exile | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {X}. If that spell is countered this way, exile it instead of putting it into its owner's graveyard. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/syncopate.jpg Oracle:Counter target spell unless its controller pays {X}. If that spell is countered this way, exile it instead of putting it into its owner's graveyard. diff --git a/forge-gui/res/cardsfolder/s/synod_artificer.txt b/forge-gui/res/cardsfolder/s/synod_artificer.txt index 79ac84dcb42..0a968415440 100644 --- a/forge-gui/res/cardsfolder/s/synod_artificer.txt +++ b/forge-gui/res/cardsfolder/s/synod_artificer.txt @@ -2,8 +2,8 @@ Name:Synod Artificer ManaCost:2 U Types:Creature Vedalken Artificer PT:1/2 -A:AB$ Tap | Cost$ X T | References$ X | TargetMin$ X | TargetMax$ X | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select X target noncreature artifacts | SpellDescription$ Tap X target noncreature artifacts. -A:AB$ Untap | Cost$ X T | References$ X | TargetMin$ X | TargetMax$ X | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select X target noncreature artifacts | SpellDescription$ Untap X target noncreature artifacts. +A:AB$ Tap | Cost$ X T | TargetMin$ X | TargetMax$ X | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select X target noncreature artifacts | SpellDescription$ Tap X target noncreature artifacts. +A:AB$ Untap | Cost$ X T | TargetMin$ X | TargetMax$ X | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select X target noncreature artifacts | SpellDescription$ Untap X target noncreature artifacts. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{X}, {T}: Tap X target noncreature artifacts.\n{X}, {T}: Untap X target noncreature artifacts. diff --git a/forge-gui/res/cardsfolder/s/synthetic_destiny.txt b/forge-gui/res/cardsfolder/s/synthetic_destiny.txt index 5ae4bbd08ea..6cd529a5dff 100644 --- a/forge-gui/res/cardsfolder/s/synthetic_destiny.txt +++ b/forge-gui/res/cardsfolder/s/synthetic_destiny.txt @@ -3,8 +3,8 @@ ManaCost:4 U U Types:Instant A:SP$ ChangeZoneAll | Cost$ 4 U U | ChangeType$ Creature.YouCtrl | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | SubAbility$ DBDestiny | SpellDescription$ Exile all creatures you control. At the beginning of the next end step, reveal cards from the top of your library until you reveal that many creature cards, put all creature cards revealed this way onto the battlefield, then shuffle the rest of the revealed cards into your library. SVar:DBDestiny:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | Execute$ DBMassReveal | RememberObjects$ Remembered | TriggerDescription$ At the beginning of the next end step, reveal cards from the top of your library until you reveal that many creature cards, put all creature cards revealed this way onto the battlefield, then shuffle the rest of the revealed cards into your library. | StackDescription$ None -SVar:DBMassReveal:DB$ DigUntil | ConditionCheckSVar$ MassX | ConditionSVarCompare$ GT0 | Amount$ MassX | References$ MassX | Valid$ Creature.YouOwn | ValidDescription$ creature | RevealedDestination$ Library | RevealedLibraryPosition$ 0 | FoundDestination$ Battlefield | SubAbility$ DBMassShuffle -SVar:DBMassShuffle:DB$ Shuffle | ConditionCheckSVar$ MassX | ConditionSVarCompare$ GT0 | References$ MassX | SubAbility$ DBMassCleanup +SVar:DBMassReveal:DB$ DigUntil | ConditionCheckSVar$ MassX | ConditionSVarCompare$ GT0 | Amount$ MassX | Valid$ Creature.YouOwn | ValidDescription$ creature | RevealedDestination$ Library | RevealedLibraryPosition$ 0 | FoundDestination$ Battlefield | SubAbility$ DBMassShuffle +SVar:DBMassShuffle:DB$ Shuffle | ConditionCheckSVar$ MassX | ConditionSVarCompare$ GT0 | SubAbility$ DBMassCleanup SVar:DBMassCleanup:DB$ Cleanup | ClearRemembered$ True SVar:MassX:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/s/syphon_flesh.txt b/forge-gui/res/cardsfolder/s/syphon_flesh.txt index 9761d0aa6ac..30d7ece81e8 100644 --- a/forge-gui/res/cardsfolder/s/syphon_flesh.txt +++ b/forge-gui/res/cardsfolder/s/syphon_flesh.txt @@ -2,7 +2,7 @@ Name:Syphon Flesh ManaCost:4 B Types:Sorcery A:SP$ Sacrifice | Cost$ 4 B | Defined$ Player.Other | SacValid$ Creature | SacMessage$ Creature | RememberSacrificed$ True | SubAbility$ DBToken | SpellDescription$ Each other player sacrifices a creature. You create a 2/2 black Zombie creature token for each creature sacrificed this way. -SVar:DBToken:DB$ Token | LegacyImage$ b 2 2 zombie cmd | TokenScript$ b_2_2_zombie | TokenOwner$ You | TokenAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | LegacyImage$ b 2 2 zombie cmd | TokenScript$ b_2_2_zombie | TokenOwner$ You | TokenAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/syphon_flesh.jpg diff --git a/forge-gui/res/cardsfolder/s/syphon_mind.txt b/forge-gui/res/cardsfolder/s/syphon_mind.txt index ff881497203..d7394ec7537 100644 --- a/forge-gui/res/cardsfolder/s/syphon_mind.txt +++ b/forge-gui/res/cardsfolder/s/syphon_mind.txt @@ -2,7 +2,7 @@ Name:Syphon Mind ManaCost:3 B Types:Sorcery A:SP$ Discard | Cost$ 3 B | Defined$ Player.Other | NumCards$ 1 | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBDraw | SpellDescription$ Each other player discards a card. You draw a card for each card discarded this way. -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/syphon_mind.jpg diff --git a/forge-gui/res/cardsfolder/s/syphon_soul.txt b/forge-gui/res/cardsfolder/s/syphon_soul.txt index 0ca4aa84312..9aad95795fc 100644 --- a/forge-gui/res/cardsfolder/s/syphon_soul.txt +++ b/forge-gui/res/cardsfolder/s/syphon_soul.txt @@ -2,7 +2,7 @@ Name:Syphon Soul ManaCost:2 B Types:Sorcery A:SP$ DealDamage | Cost$ 2 B | Defined$ Player.Other | NumDmg$ 2 | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals 2 damage to each other player. You gain life equal to the damage dealt this way. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X | StackDescription$ You gain life equal to the damage dealt this way. +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | StackDescription$ You gain life equal to the damage dealt this way. SVar:X:Count$TotalDamageDoneByThisTurn SVar:Picture:http://www.wizards.com/global/images/magic/general/syphon_soul.jpg Oracle:Syphon Soul deals 2 damage to each other player. You gain life equal to the damage dealt this way. diff --git a/forge-gui/res/cardsfolder/s/syr_faren_the_hengehammer.txt b/forge-gui/res/cardsfolder/s/syr_faren_the_hengehammer.txt index 3415ec81776..a8bd645c9b3 100644 --- a/forge-gui/res/cardsfolder/s/syr_faren_the_hengehammer.txt +++ b/forge-gui/res/cardsfolder/s/syr_faren_the_hengehammer.txt @@ -3,6 +3,6 @@ ManaCost:G G Types:Legendary Creature Human Knight PT:2/2 T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, another target creature gets +X/+X until end of turn, where X is CARDNAME's power. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.attacking+Other | TgtPrompt$ Select another target attacking creature | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.attacking+Other | TgtPrompt$ Select another target attacking creature | NumAtt$ X | NumDef$ X SVar:X:Count$CardPower Oracle:Whenever Syr Faren, the Hengehammer attacks, another target attacking creature gets +X/+X until end of turn, where X is Syr Faren's power. diff --git a/forge-gui/res/cardsfolder/s/szadek_lord_of_secrets.txt b/forge-gui/res/cardsfolder/s/szadek_lord_of_secrets.txt index 44277faf56e..7948de06152 100644 --- a/forge-gui/res/cardsfolder/s/szadek_lord_of_secrets.txt +++ b/forge-gui/res/cardsfolder/s/szadek_lord_of_secrets.txt @@ -5,7 +5,7 @@ PT:5/5 K:Flying R:Event$ DamageDone | ActiveZones$ Battlefield | IsCombat$ True | ValidSource$ Card.Self | ValidTarget$ Opponent | ReplaceWith$ CountersAndMill | Description$ If CARDNAME would deal combat damage to a player, instead put that many +1/+1 counters on Szadek and that player mills that many cards. SVar:X:ReplaceCount$DamageAmount -SVar:CountersAndMill:DB$ PutCounter | Defined$ Self | CounterNum$ X | References$ X | CounterType$ P1P1 | SubAbility$ Mill -SVar:Mill:DB$ Mill | Defined$ ReplacedTarget | NumCards$ X | References$ X +SVar:CountersAndMill:DB$ PutCounter | Defined$ Self | CounterNum$ X | CounterType$ P1P1 | SubAbility$ Mill +SVar:Mill:DB$ Mill | Defined$ ReplacedTarget | NumCards$ X DeckHas:Ablity$Counters Oracle:Flying\nIf Szadek, Lord of Secrets would deal combat damage to a player, instead put that many +1/+1 counters on Szadek and that player mills that many cards. diff --git a/forge-gui/res/cardsfolder/s/szats_will.txt b/forge-gui/res/cardsfolder/s/szats_will.txt index f2da6b6694b..b58201aa459 100644 --- a/forge-gui/res/cardsfolder/s/szats_will.txt +++ b/forge-gui/res/cardsfolder/s/szats_will.txt @@ -1,13 +1,13 @@ Name:Szat's Will ManaCost:4 B Types:Instant -A:SP$ Charm | Cost$ 4 B | MinCharmNum$ 1 | CharmNum$ X | References$ X,Y | Choices$ DBOppSac,DBExile | AdditionalDescription$ If you control a commander as you cast this spell, you may choose both. +A:SP$ Charm | Cost$ 4 B | MinCharmNum$ 1 | CharmNum$ X | Choices$ DBOppSac,DBExile | AdditionalDescription$ If you control a commander as you cast this spell, you may choose both. SVar:DBOppSac:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBChooseCard | SubAbility$ DBSac | SpellDescription$ Each opponent sacrifices a creature they control with the greatest power. SVar:DBChooseCard:DB$ ChooseCard | Defined$ Player.IsRemembered | Choices$ Creature.greatestPowerControlledByRemembered | ChoiceTitle$ Choose a creature you control with the greatest power | Mandatory$ True | RememberChosen$ True SVar:DBSac:DB$ SacrificeAll | ValidCards$ Card.IsRemembered | SubAbility$ DBCleanup | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearChosenCard$ True SVar:DBExile:DB$ ChangeZoneAll | ChangeType$ Card.OppCtrl | Origin$ Graveyard | Destination$ Exile | RememberChanged$ True | SubAbility$ DBToken | SpellDescription$ Exile all cards from all opponents' graveyards, then create X 0/1 black Thrull creature tokens, where X is the greatest power among creature cards exiled this way. -SVar:DBToken:DB$ Token | TokenScript$ b_0_1_thrull | TokenAmount$ Z | References$ Z | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenScript$ b_0_1_thrull | TokenAmount$ Z | SubAbility$ DBCleanup SVar:X:Count$Compare Y GE1.2.1 SVar:Y:Count$Valid Card.IsCommander+YouCtrl SVar:Z:Count$GreatestPowerExile_Creature.IsRemembered diff --git a/forge-gui/res/cardsfolder/t/tablet_of_the_guilds.txt b/forge-gui/res/cardsfolder/t/tablet_of_the_guilds.txt index 824c02862fc..d523d08fe57 100644 --- a/forge-gui/res/cardsfolder/t/tablet_of_the_guilds.txt +++ b/forge-gui/res/cardsfolder/t/tablet_of_the_guilds.txt @@ -4,7 +4,7 @@ Types:Artifact K:ETBReplacement:Other:ChooseColors SVar:ChooseColors:DB$ ChooseColor | Defined$ You | TwoColors$ True | AILogic$ MostProminentDualInComputerDeck | SpellDescription$ As CARDNAME enters the battlefield, choose two colors. T:Mode$ SpellCast | ValidCard$ Card.AnyChosenColor | ValidActivatingPlayer$ You | Execute$ TrigGainLife | TriggerDescription$ Whenever you cast a spell, if it's at least one of the chosen colors, you gain 1 life for each of the chosen colors it is. -SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | LifeAmount$ X SVar:X:Count$HasNumChosenColors.TriggeredCard SVar:Picture:http://www.wizards.com/global/images/magic/general/tablet_of_the_guilds.jpg Oracle:As Tablet of the Guilds enters the battlefield, choose two colors.\nWhenever you cast a spell, if it's at least one of the chosen colors, you gain 1 life for each of the chosen colors it is. diff --git a/forge-gui/res/cardsfolder/t/tahngarth_talruum_hero.txt b/forge-gui/res/cardsfolder/t/tahngarth_talruum_hero.txt index 82a28bcdb4c..dd34e2a66d3 100644 --- a/forge-gui/res/cardsfolder/t/tahngarth_talruum_hero.txt +++ b/forge-gui/res/cardsfolder/t/tahngarth_talruum_hero.txt @@ -3,8 +3,8 @@ ManaCost:3 R R Types:Legendary Creature Minotaur Warrior PT:4/4 K:Vigilance -A:AB$ DealDamage | Cost$ 1 R T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SubAbility$ DamageThis | SpellDescription$ CARDNAME deals damage equal to its power to target creature. That creature deals damage equal to its power to CARDNAME. -SVar:DamageThis:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y | References$ Y +A:AB$ DealDamage | Cost$ 1 R T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DamageThis | SpellDescription$ CARDNAME deals damage equal to its power to target creature. That creature deals damage equal to its power to CARDNAME. +SVar:DamageThis:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y SVar:X:Count$CardPower SVar:Y:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/tahngarth_talruum_hero.jpg diff --git a/forge-gui/res/cardsfolder/t/taigam_sidisis_hand.txt b/forge-gui/res/cardsfolder/t/taigam_sidisis_hand.txt index 4fab5790e62..8b3db2b5067 100644 --- a/forge-gui/res/cardsfolder/t/taigam_sidisis_hand.txt +++ b/forge-gui/res/cardsfolder/t/taigam_sidisis_hand.txt @@ -5,7 +5,7 @@ PT:3/4 S:Mode$ Continuous | Affected$ You | AddKeyword$ Skip your draw step. | Description$ Skip your draw step. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ At the beginning of your upkeep, look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard. SVar:TrigDig:DB$ Dig | DigNum$ 3 | DestinationZone2$ Graveyard | SpellDescription$ Look at the top three cards of your library. Put one of them into your hand and the rest into your graveyard. -A:AB$ Pump | Cost$ B T ExileFromGrave | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | References$ X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn. | CostDesc$ {B}, {T}, Exile X cards from your graveyard: +A:AB$ Pump | Cost$ B T ExileFromGrave | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -X/-X until end of turn. | CostDesc$ {B}, {T}, Exile X cards from your graveyard: SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/taigam_sidisis_hand.jpg diff --git a/forge-gui/res/cardsfolder/t/tail_slash.txt b/forge-gui/res/cardsfolder/t/tail_slash.txt index d3b3008a7c8..849754a6cbd 100644 --- a/forge-gui/res/cardsfolder/t/tail_slash.txt +++ b/forge-gui/res/cardsfolder/t/tail_slash.txt @@ -2,7 +2,7 @@ Name:Tail Slash ManaCost:2 R Types:Instant A:SP$ Pump | Cost$ 2 R | ValidTgts$ Creature.YouCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you control | SubAbility$ TailDamage | StackDescription$ None | SpellDescription$ Target creature you control deals damage equal to its power to target creature you don't control. -SVar:TailDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | References$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget +SVar:TailDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/tail_strike.jpg Oracle:Target creature you control deals damage equal to its power to target creature you don't control. diff --git a/forge-gui/res/cardsfolder/t/tainted_pact.txt b/forge-gui/res/cardsfolder/t/tainted_pact.txt index ba819825b52..3e9bfdb8b25 100644 --- a/forge-gui/res/cardsfolder/t/tainted_pact.txt +++ b/forge-gui/res/cardsfolder/t/tainted_pact.txt @@ -1,12 +1,12 @@ Name:Tainted Pact ManaCost:1 B Types:Instant -A:SP$ Repeat | Cost$ 1 B | RepeatSubAbility$ DBRepeat | RepeatCheckSVar$ TaintedCheck | References$ TaintedCheck | RepeatSVarCompare$ EQ0 | RepeatDefined$ Imprinted | RepeatPresent$ Card.sharesNameWith Remembered | RepeatCompare$ EQ0 | SubAbility$ DBCleanup | StackDescription$ SpellDescription | SpellDescription$ Exile the top card of your library. You may put that card into your hand unless it has the same name as another card exiled this way. Repeat this process until you put a card into your hand or you exile two cards with the same name, whichever comes first. +A:SP$ Repeat | Cost$ 1 B | RepeatSubAbility$ DBRepeat | RepeatCheckSVar$ TaintedCheck | RepeatSVarCompare$ EQ0 | RepeatDefined$ Imprinted | RepeatPresent$ Card.sharesNameWith Remembered | RepeatCompare$ EQ0 | SubAbility$ DBCleanup | StackDescription$ SpellDescription | SpellDescription$ Exile the top card of your library. You may put that card into your hand unless it has the same name as another card exiled this way. Repeat this process until you put a card into your hand or you exile two cards with the same name, whichever comes first. SVar:DBRepeat:DB$ Pump | RememberObjects$ Imprinted | SubAbility$ DBForget SVar:DBForget:DB$ Cleanup | ClearImprinted$ True | SubAbility$ DBExile SVar:DBExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | Imprint$ True | SubAbility$ DBReturnToHand -SVar:DBReturnToHand:DB$ ChangeZone | ConditionCheckSVar$ CheckName | References$ CheckName | ConditionSVarCompare$ EQ0 | Origin$ Exile | Destination$ Hand | Defined$ Imprinted | Optional$ True | SubAbility$ LibraryCheck -SVar:LibraryCheck:DB$ StoreSVar | SVar$ TaintedCheck | Type$ Number | Expression$ 1 | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ EQ0 +SVar:DBReturnToHand:DB$ ChangeZone | ConditionCheckSVar$ CheckName | ConditionSVarCompare$ EQ0 | Origin$ Exile | Destination$ Hand | Defined$ Imprinted | Optional$ True | SubAbility$ LibraryCheck +SVar:LibraryCheck:DB$ StoreSVar | SVar$ TaintedCheck | Type$ Number | Expression$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True | SubAbility$ DBReset SVar:DBReset:DB$ StoreSVar | SVar$ TaintedCheck | Type$ Number | Expression$ 0 SVar:TaintedCheck:Count$ValidHand Card.IsImprinted diff --git a/forge-gui/res/cardsfolder/t/tainted_remedy.txt b/forge-gui/res/cardsfolder/t/tainted_remedy.txt index 7698a2a301c..d32567a10de 100644 --- a/forge-gui/res/cardsfolder/t/tainted_remedy.txt +++ b/forge-gui/res/cardsfolder/t/tainted_remedy.txt @@ -2,7 +2,7 @@ Name:Tainted Remedy ManaCost:2 B Types:Enchantment R:Event$ GainLife | ActiveZones$ Battlefield | ValidPlayer$ Opponent | ReplaceWith$ RLoseLife | AiLogic$ LoseLife | Description$ If an opponent would gain life, that player loses that much life instead. -SVar:RLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ ReplacedPlayer | References$ X +SVar:RLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ ReplacedPlayer SVar:X:ReplaceCount$LifeGained SVar:NonStackingEffect:True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/t/tainted_sigil.txt b/forge-gui/res/cardsfolder/t/tainted_sigil.txt index 4cf82bdc7c0..ecd9a8dec7b 100644 --- a/forge-gui/res/cardsfolder/t/tainted_sigil.txt +++ b/forge-gui/res/cardsfolder/t/tainted_sigil.txt @@ -1,7 +1,7 @@ Name:Tainted Sigil ManaCost:1 W B Types:Artifact -A:AB$ GainLife | Cost$ T Sac<1/CARDNAME> | LifeAmount$ X | References$ X,Y | SpellDescription$ You gain life equal to the total life lost by all players this turn. (Damage causes loss of life.) +A:AB$ GainLife | Cost$ T Sac<1/CARDNAME> | LifeAmount$ X | SpellDescription$ You gain life equal to the total life lost by all players this turn. (Damage causes loss of life.) SVar:X:PlayerCountPlayers$LifeLostThisTurn SVar:Picture:http://www.wizards.com/global/images/magic/general/tainted_sigil.jpg Oracle:{T}, Sacrifice Tainted Sigil: You gain life equal to the total life lost by all players this turn. (Damage causes loss of life.) diff --git a/forge-gui/res/cardsfolder/t/taj_nar_swordsmith.txt b/forge-gui/res/cardsfolder/t/taj_nar_swordsmith.txt index 027841b20f9..a9bd5d3657c 100644 --- a/forge-gui/res/cardsfolder/t/taj_nar_swordsmith.txt +++ b/forge-gui/res/cardsfolder/t/taj_nar_swordsmith.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Cat Soldier PT:2/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may pay {X}. If you do, search your library for an Equipment card with converted mana cost X or less and put that card onto the battlefield. Then shuffle your library. -SVar:TrigChange:AB$ChangeZone | Cost$ X | References$ X | Origin$ Library | Destination$ Battlefield | ChangeType$ Card.Equipment+cmcLEX | ChangeNum$ 1 +SVar:TrigChange:AB$ChangeZone | Cost$ X | Origin$ Library | Destination$ Battlefield | ChangeType$ Card.Equipment+cmcLEX | ChangeNum$ 1 SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/taj_nar_swordsmith.jpg Oracle:When Taj-Nar Swordsmith enters the battlefield, you may pay {X}. If you do, search your library for an Equipment card with converted mana cost X or less and put that card onto the battlefield. Then shuffle your library. diff --git a/forge-gui/res/cardsfolder/t/tajuru_archer.txt b/forge-gui/res/cardsfolder/t/tajuru_archer.txt index 538e135c84d..e40f0f756ef 100644 --- a/forge-gui/res/cardsfolder/t/tajuru_archer.txt +++ b/forge-gui/res/cardsfolder/t/tajuru_archer.txt @@ -4,7 +4,7 @@ Types:Creature Elf Archer Ally PT:1/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self| OptionalDecider$ You | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may have CARDNAME deal damage to target creature with flying equal to the number of Allies you control. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Ally.Other+YouCtrl | OptionalDecider$ You | TriggerZones$ Battlefield | Execute$ TrigDamage | Secondary$ True | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may have CARDNAME deal damage to target creature with flying equal to the number of Allies you control. -SVar:TrigDamage:DB$DealDamage | ValidTgts$ Creature.withFlying | NumDmg$ NumAllies | References$ NumAllies | TgtPrompt$ Select a target creature with flying. +SVar:TrigDamage:DB$DealDamage | ValidTgts$ Creature.withFlying | NumDmg$ NumAllies | TgtPrompt$ Select a target creature with flying. SVar:NumAllies:Count$Valid Ally.YouCtrl SVar:PlayMain1:TRUE SVar:BuffedBy:Ally diff --git a/forge-gui/res/cardsfolder/t/take_heart.txt b/forge-gui/res/cardsfolder/t/take_heart.txt index 66ba6f0263f..b9bf1c7f0b2 100644 --- a/forge-gui/res/cardsfolder/t/take_heart.txt +++ b/forge-gui/res/cardsfolder/t/take_heart.txt @@ -2,6 +2,6 @@ Name:Take Heart ManaCost:W Types:Instant A:SP$ Pump | Cost$ W | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +2 | NumDef$ +2 | SubAbility$ DBGainLife | SpellDescription$ Target creature gets +2/+2 until end of turn. You gain 1 life for each attacking creature you control. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.YouCtrl+attacking Oracle:Target creature gets +2/+2 until end of turn. You gain 1 life for each attacking creature you control. diff --git a/forge-gui/res/cardsfolder/t/take_inventory.txt b/forge-gui/res/cardsfolder/t/take_inventory.txt index f7148508e50..d079f3b532b 100644 --- a/forge-gui/res/cardsfolder/t/take_inventory.txt +++ b/forge-gui/res/cardsfolder/t/take_inventory.txt @@ -2,7 +2,7 @@ Name:Take Inventory ManaCost:1 U Types:Sorcery A:SP$ Draw | Cost$ 1 U | Defined$ You | NumCards$ 1 | SubAbility$ DBDraw | SpellDescription$ Draw a card, then draw cards equal to the number of cards named Take Inventory in your graveyard. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:Count$ValidGraveyard Card.YouOwn+namedTake Inventory DeckNeeds:Name$Take Inventory SVar:Picture:http://www.wizards.com/global/images/magic/general/take_inventory.jpg diff --git a/forge-gui/res/cardsfolder/t/talaras_bane.txt b/forge-gui/res/cardsfolder/t/talaras_bane.txt index 9f0b7454da5..956750de58a 100644 --- a/forge-gui/res/cardsfolder/t/talaras_bane.txt +++ b/forge-gui/res/cardsfolder/t/talaras_bane.txt @@ -4,7 +4,7 @@ Types:Sorcery A:SP$ RevealHand | Cost$ 1 B | ValidTgts$ Opponent | RememberRevealed$ True | SubAbility$ DBChoose | StackDescription$ SpellDescription | SpellDescription$ Target opponent reveals their hand. You choose a green or white creature card from it. You gain life equal to that creature card's toughness, then that player discards that card. SVar:DBChoose:DB$ ChooseCard | ChoiceZone$ Hand | Amount$ 1 | Choices$ Creature.Green+IsRemembered,Creature.White+IsRemembered | SubAbility$ DBImprint | StackDescription$ None SVar:DBImprint:DB$ Pump | Defined$ ChosenCard | PumpZone$ Hand | ImprintCards$ ChosenCard | SubAbility$ DBGainLife | StackDescription$ None -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X | SubAbility$ DBDiscard | StackDescription$ None | ConditionDefined$ Imprinted | ConditionPresent$ Card | ConditionCompare$ GE1 +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | SubAbility$ DBDiscard | StackDescription$ None | ConditionDefined$ Imprinted | ConditionPresent$ Card | ConditionCompare$ GE1 SVar:DBDiscard:DB$ Discard | DefinedCards$ Imprinted | Defined$ Targeted | Mode$ Defined | SubAbility$ DBCleanup | StackDescription$ None | ConditionDefined$ Imprinted | ConditionPresent$ Card | ConditionCompare$ GE1 SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True SVar:X:Imprinted$CardToughness diff --git a/forge-gui/res/cardsfolder/t/talent_of_the_telepath.txt b/forge-gui/res/cardsfolder/t/talent_of_the_telepath.txt index a06c2c10071..388ed8ff93a 100644 --- a/forge-gui/res/cardsfolder/t/talent_of_the_telepath.txt +++ b/forge-gui/res/cardsfolder/t/talent_of_the_telepath.txt @@ -2,7 +2,7 @@ Name:Talent of the Telepath ManaCost:2 U U Types:Sorcery A:SP$ Dig | Cost$ 2 U U | ValidTgts$ Player.Opponent | TgtPrompt$ Select target opponent | Reveal$ True | NoMove$ True | DigNum$ 7 | RememberRevealed$ True | SubAbility$ TelepathCast | SpellDescription$ Target opponent reveals the top seven cards of their library. You may cast an instant or sorcery spell from among them without paying its mana cost. Then that player puts the rest into their graveyard. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, you may cast up to two instant and/or sorcery spells from among the revealed cards instead of one. -SVar:TelepathCast:DB$ Play | ValidZone$ Library | Valid$ Instant.IsRemembered,Sorcery.IsRemembered | Controller$ You | WithoutManaCost$ True | Optional$ True | References$ X,Y | Amount$ X | SubAbility$ DBChangeZone +SVar:TelepathCast:DB$ Play | ValidZone$ Library | Valid$ Instant.IsRemembered,Sorcery.IsRemembered | Controller$ You | WithoutManaCost$ True | Optional$ True,Y | Amount$ X | SubAbility$ DBChangeZone SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Graveyard | Defined$ Remembered SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Compare Y GE2.2.1 diff --git a/forge-gui/res/cardsfolder/t/tales_of_the_ancestors.txt b/forge-gui/res/cardsfolder/t/tales_of_the_ancestors.txt index d3df8b496d1..a7bd29cab2b 100644 --- a/forge-gui/res/cardsfolder/t/tales_of_the_ancestors.txt +++ b/forge-gui/res/cardsfolder/t/tales_of_the_ancestors.txt @@ -1,8 +1,8 @@ Name:Tales of the Ancestors ManaCost:3 U Types:Sorcery -A:SP$ RepeatEach | RepeatPlayers$ Player.HasCardsInHand_Card_LTX | References$ X | RepeatSubAbility$ DBDraw | SpellDescription$ Each player with fewer cards in hand than the player with the most cards in hand draws cards equal to the difference. -SVar:DBDraw:DB$ Draw | Defined$ Player.IsRemembered | NumCards$ Z | References$ X,Y,Z +A:SP$ RepeatEach | RepeatPlayers$ Player.HasCardsInHand_Card_LTX | RepeatSubAbility$ DBDraw | SpellDescription$ Each player with fewer cards in hand than the player with the most cards in hand draws cards equal to the difference. +SVar:DBDraw:DB$ Draw | Defined$ Player.IsRemembered | NumCards$ Z SVar:X:PlayerCountPlayers$HighestCardsInHand SVar:Y:Count$InRememberedHand SVar:Z:SVar$X/Minus.Y diff --git a/forge-gui/res/cardsfolder/t/talon_gates.txt b/forge-gui/res/cardsfolder/t/talon_gates.txt index d4fd0d828cf..bd0bd71f3f0 100644 --- a/forge-gui/res/cardsfolder/t/talon_gates.txt +++ b/forge-gui/res/cardsfolder/t/talon_gates.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Plane Dominaria A:AB$ ChangeZone | Cost$ 0 | Origin$ Hand | Destination$ Exile | ChangeType$ Card.nonLand+YouCtrl | DefinedPlayer$ You | RememberChanged$ True | SorcerySpeed$ True | ActivationZone$ Command | SubAbility$ TimeInGates | StackDescription$ Any time you could cast a sorcery, you may exile a nonland card from your hand with X time counters on it, where X is its converted mana cost. | SpellDescription$ Any time you could cast a sorcery, you may exile a nonland card from your hand with X time counters on it, where X is its converted mana cost. If the exiled card doesn't have suspend, it gains suspend. #Removed reminder text because it's too long for sa choice window. Add back when we wrap sa choices text. (At the beginning of its owner's upkeep, they remove a time counter. When the last is removed, the player casts it without paying its mana cost. If it's a creature, it has haste.) -SVar:TimeInGates:DB$ PutCounter | Defined$ Remembered | CounterType$ TIME | CounterNum$ GateX | References$ GateX | SubAbility$ GiveSuspend | TgtZone$ Exile | StackDescription$ None +SVar:TimeInGates:DB$ PutCounter | Defined$ Remembered | CounterType$ TIME | CounterNum$ GateX | SubAbility$ GiveSuspend | TgtZone$ Exile | StackDescription$ None SVar:GiveSuspend:DB$ PumpAll | ValidCards$ Card.IsRemembered+withoutSuspend | KW$ Suspend | PumpZone$ Exile | Permanent$ True | SubAbility$ DBCleanup | StackDescription$ If it doesn't have suspend, it gains suspend. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:GateX:Remembered$CardManaCost diff --git a/forge-gui/res/cardsfolder/t/talon_of_pain.txt b/forge-gui/res/cardsfolder/t/talon_of_pain.txt index 92fc87c157c..30d38a0bbc3 100644 --- a/forge-gui/res/cardsfolder/t/talon_of_pain.txt +++ b/forge-gui/res/cardsfolder/t/talon_of_pain.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact T:Mode$ DamageDone | ValidSource$ Card.Other+YouCtrl | ValidTarget$ Opponent | TriggerZones$ Battlefield | Execute$ TalonPutCounter | TriggerDescription$ Whenever a source you control other than CARDNAME deals damage to an opponent, put a charge counter on CARDNAME. SVar:TalonPutCounter:DB$ PutCounter | CounterType$ CHARGE | CounterNum$ 1 -A:AB$ DealDamage | Cost$ X T SubCounter | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target. +A:AB$ DealDamage | Cost$ X T SubCounter | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target. SVar:X:Count$xPaid # The X cost won't be limited by the number of charge counters, but if enough aren't present, the spell will be cancelled. AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/t/tamanoa.txt b/forge-gui/res/cardsfolder/t/tamanoa.txt index d164f782778..07ffb1e00e2 100644 --- a/forge-gui/res/cardsfolder/t/tamanoa.txt +++ b/forge-gui/res/cardsfolder/t/tamanoa.txt @@ -3,7 +3,7 @@ ManaCost:R G W Types:Creature Spirit PT:2/4 T:Mode$ DamageDealtOnce | ValidSource$ Card.nonCreature+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever a noncreature source you control deals damage, you gain that much life. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/tamanoa.jpg Oracle:Whenever a noncreature source you control deals damage, you gain that much life. diff --git a/forge-gui/res/cardsfolder/t/tamiyo_field_researcher.txt b/forge-gui/res/cardsfolder/t/tamiyo_field_researcher.txt index 372ebbf4b5d..c50d8bd2be3 100644 --- a/forge-gui/res/cardsfolder/t/tamiyo_field_researcher.txt +++ b/forge-gui/res/cardsfolder/t/tamiyo_field_researcher.txt @@ -2,7 +2,7 @@ Name:Tamiyo, Field Researcher ManaCost:1 G W U Types:Legendary Planeswalker Tamiyo Loyalty:4 -A:AB$ Effect | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Select target creature | Triggers$ TrigDamage,TrigChange | Duration$ UntilYourNextTurn | SVars$ TrigForget,TrigDrawCard | References$ TrigForget,TrigDrawCard | RememberObjects$ Targeted | SpellDescription$ Choose up to two target creatures. Until your next turn, whenever either of those creatures deals combat damage, you draw a card. +A:AB$ Effect | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Select target creature | Triggers$ TrigDamage,TrigChange | Duration$ UntilYourNextTurn | SVars$ TrigForget,TrigDrawCard | RememberObjects$ Targeted | SpellDescription$ Choose up to two target creatures. Until your next turn, whenever either of those creatures deals combat damage, you draw a card. SVar:TrigDamage:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Creature.IsRemembered | Execute$ TrigDrawCard | TriggerDescription$ Whenever a targeted creature of Tamiyo, Field Researcher deals combat damage, you draw a card. SVar:TrigDrawCard:DB$ Draw | NumCards$ 1 | Defined$ You SVar:TrigChange:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered | Execute$ TrigForget diff --git a/forge-gui/res/cardsfolder/t/tamiyo_the_moon_sage.txt b/forge-gui/res/cardsfolder/t/tamiyo_the_moon_sage.txt index 2cdd89bc8af..a2402e36d2d 100644 --- a/forge-gui/res/cardsfolder/t/tamiyo_the_moon_sage.txt +++ b/forge-gui/res/cardsfolder/t/tamiyo_the_moon_sage.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Tamiyo Loyalty:4 A:AB$ Tap | Cost$ AddCounter<1/LOYALTY> | ValidTgts$ Permanent | TgtPrompt$ Choose target permanent. | Planeswalker$ True | SubAbility$ TamiyoPump | SpellDescription$ Tap target permanent. It doesn't untap during its controller's next untap step. SVar:TamiyoPump:DB$ Pump | Defined$ Targeted | Permanent$ True | KW$ HIDDEN This card doesn't untap during your next untap step. -A:AB$ Draw | Cost$ SubCounter<2/LOYALTY> | ValidTgts$ Player | TgtPrompt$ Select target player | Defined$ You | NumCards$ X | References$ X | Planeswalker$ True | SpellDescription$ Draw a card for each tapped creature target player controls. +A:AB$ Draw | Cost$ SubCounter<2/LOYALTY> | ValidTgts$ Player | TgtPrompt$ Select target player | Defined$ You | NumCards$ X | Planeswalker$ True | SpellDescription$ Draw a card for each tapped creature target player controls. SVar:X:Count$Valid Creature.tapped+TargetedPlayerCtrl A:AB$ Effect | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Tamiyo, the Moon Sage | Image$ emblem_tamiyo_the_moon_sage | StaticAbilities$ UnlimitedHand | Triggers$ TamiyoCardToGrave | SVars$ TamiyoReturn | Stackable$ False | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "You have no maximum hand size" and "Whenever a card is put into your graveyard from anywhere, you may return it to your hand." SVar:UnlimitedHand:Mode$ Continuous | EffectZone$ Command | Affected$ You | SetMaxHandSize$ Unlimited | Description$ You have no maximum hand size. diff --git a/forge-gui/res/cardsfolder/t/tana_the_bloodsower.txt b/forge-gui/res/cardsfolder/t/tana_the_bloodsower.txt index 36a8147d45c..45852cedb40 100644 --- a/forge-gui/res/cardsfolder/t/tana_the_bloodsower.txt +++ b/forge-gui/res/cardsfolder/t/tana_the_bloodsower.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Elf Druid PT:2/2 K:Trample T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, create that many 1/1 green Saproling creature tokens. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling c16 +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling c16 SVar:X:TriggerCount$DamageAmount K:Partner DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/t/tangle_wire.txt b/forge-gui/res/cardsfolder/t/tangle_wire.txt index 13ec3930e8d..beb06648cc5 100644 --- a/forge-gui/res/cardsfolder/t/tangle_wire.txt +++ b/forge-gui/res/cardsfolder/t/tangle_wire.txt @@ -2,7 +2,7 @@ Name:Tangle Wire ManaCost:3 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigChooseToTap | TriggerDescription$ At the beginning of each player's upkeep, that player taps an untapped artifact, creature, or land they control for each fade counter on CARDNAME. -SVar:TrigChooseToTap:DB$ ChooseCard | Defined$ TriggeredPlayer | Choices$ Artifact.untapped+ActivePlayerCtrl,Creature.untapped+ActivePlayerCtrl,Land.untapped+ActivePlayerCtrl | Amount$ X | References$ X | Mandatory$ True | AILogic$ TangleWire | SubAbility$ DBTap +SVar:TrigChooseToTap:DB$ ChooseCard | Defined$ TriggeredPlayer | Choices$ Artifact.untapped+ActivePlayerCtrl,Creature.untapped+ActivePlayerCtrl,Land.untapped+ActivePlayerCtrl | Amount$ X | Mandatory$ True | AILogic$ TangleWire | SubAbility$ DBTap SVar:DBTap:DB$ Tap | Defined$ ChosenCard | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True SVar:X:Count$CardCounters.FADE diff --git a/forge-gui/res/cardsfolder/t/tapestry_of_the_ages.txt b/forge-gui/res/cardsfolder/t/tapestry_of_the_ages.txt index 47ed524d8a2..c64328b04d1 100644 --- a/forge-gui/res/cardsfolder/t/tapestry_of_the_ages.txt +++ b/forge-gui/res/cardsfolder/t/tapestry_of_the_ages.txt @@ -1,7 +1,7 @@ Name:Tapestry of the Ages ManaCost:4 Types:Artifact -A:AB$ Draw | Cost$ 2 T | NumCards$ 1 | CheckSVar$ CastTest | SVarCompare$ GE1 | References$ CastTest | SpellDescription$ Draw a card. Activate this ability only if you've cast a noncreature spell this turn. +A:AB$ Draw | Cost$ 2 T | NumCards$ 1 | CheckSVar$ CastTest | SVarCompare$ GE1 | SpellDescription$ Draw a card. Activate this ability only if you've cast a noncreature spell this turn. SVar:CastTest:Count$ThisTurnCast_Card.YouCtrl+nonCreature SVar:Picture:http://www.wizards.com/global/images/magic/general/tapestry_of_the_ages.jpg Oracle:{2}, {T}: Draw a card. Activate this ability only if you've cast a noncreature spell this turn. diff --git a/forge-gui/res/cardsfolder/t/tar_fiend.txt b/forge-gui/res/cardsfolder/t/tar_fiend.txt index 5af09117ece..90f581de2d8 100644 --- a/forge-gui/res/cardsfolder/t/tar_fiend.txt +++ b/forge-gui/res/cardsfolder/t/tar_fiend.txt @@ -4,7 +4,7 @@ Types:Creature Elemental PT:4/4 K:Devour:2 T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, target player discards a card for each creature it devoured. -SVar:TrigDiscard:DB$Discard | ValidTgts$ Player | NumCards$ X | References$ X | Mode$ TgtChoose +SVar:TrigDiscard:DB$Discard | ValidTgts$ Player | NumCards$ X | Mode$ TgtChoose SVar:X:Count$Devoured Card SVar:Picture:http://www.wizards.com/global/images/magic/general/tar_fiend.jpg Oracle:Devour 2 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.)\nWhen Tar Fiend enters the battlefield, target player discards a card for each creature it devoured. diff --git a/forge-gui/res/cardsfolder/t/tarmogoyf.txt b/forge-gui/res/cardsfolder/t/tarmogoyf.txt index 670a6363132..e24fcbe995c 100644 --- a/forge-gui/res/cardsfolder/t/tarmogoyf.txt +++ b/forge-gui/res/cardsfolder/t/tarmogoyf.txt @@ -2,7 +2,7 @@ Name:Tarmogoyf ManaCost:1 G Types:Creature Lhurgoyf PT:*/1+* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ Y | References$ X, Y | Description$ CARDNAME's power is equal to the number of card types among cards in all graveyards and its toughness is equal to that number plus 1. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ Y | Description$ CARDNAME's power is equal to the number of card types among cards in all graveyards and its toughness is equal to that number plus 1. SVar:X:Count$CardTypes.Graveyard SVar:Y:SVar$X/Plus.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/tarmogoyf.jpg diff --git a/forge-gui/res/cardsfolder/t/tarox_bladewing.txt b/forge-gui/res/cardsfolder/t/tarox_bladewing.txt index 50895601afd..2642a0983a4 100644 --- a/forge-gui/res/cardsfolder/t/tarox_bladewing.txt +++ b/forge-gui/res/cardsfolder/t/tarox_bladewing.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Dragon PT:4/3 K:Flying K:Haste -A:AB$ Pump | Cost$ Discard<1/Card.namedTarox Bladewing> | NumAtt$ +X | NumDef$ +X | References$ X | CostDesc$ Grandeur — Discard another card named Tarox Bladewing: | SpellDescription$ Tarox Bladewing gets +X/+X until end of turn, where X is its power. +A:AB$ Pump | Cost$ Discard<1/Card.namedTarox Bladewing> | NumAtt$ +X | NumDef$ +X | CostDesc$ Grandeur — Discard another card named Tarox Bladewing: | SpellDescription$ Tarox Bladewing gets +X/+X until end of turn, where X is its power. SVar:X:Count$CardPower DeckHints:Name$Tarox Bladewing SVar:Picture:http://resources.wizards.com/magic/cards/fut/en-us/card136139.jpg diff --git a/forge-gui/res/cardsfolder/t/taste_of_paradise.txt b/forge-gui/res/cardsfolder/t/taste_of_paradise.txt index 1d6e9f0b9e1..66c0f1d673a 100644 --- a/forge-gui/res/cardsfolder/t/taste_of_paradise.txt +++ b/forge-gui/res/cardsfolder/t/taste_of_paradise.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Sorcery Text:As an additional cost to cast Taste of Paradise, you may pay {1}{G} any number of times. K:Multikicker:1 G:Generic -A:SP$ GainLife | Cost$ 3 G | Defined$ You | LifeAmount$ Y | References$ X,Y | SpellDescription$ You gains 3 life plus an additional 3 life for each additional {1}{G} you paid. +A:SP$ GainLife | Cost$ 3 G | Defined$ You | LifeAmount$ Y | SpellDescription$ You gains 3 life plus an additional 3 life for each additional {1}{G} you paid. SVar:Y:SVar$X/Plus.3 SVar:X:Count$TimesPseudokicked/Times.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/taste_of_paradise.jpg diff --git a/forge-gui/res/cardsfolder/t/tazri_beacon_of_unity.txt b/forge-gui/res/cardsfolder/t/tazri_beacon_of_unity.txt index dd9f7c6c273..eb6c40748a4 100755 --- a/forge-gui/res/cardsfolder/t/tazri_beacon_of_unity.txt +++ b/forge-gui/res/cardsfolder/t/tazri_beacon_of_unity.txt @@ -2,7 +2,7 @@ Name:Tazri, Beacon of Unity ManaCost:4 W Types:Legendary Creature Human Warrior PT:4/6 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | References$ X | Description$ This spell costs {1} less to cast for each creature in your party. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature in your party. SVar:X:Count$Party DeckHas:Ability$Party DeckHints:Type$Ally|Cleric|Rogue|Warrior|Wizard diff --git a/forge-gui/res/cardsfolder/t/tears_of_rage.txt b/forge-gui/res/cardsfolder/t/tears_of_rage.txt index 47db451b069..57f9117bc0c 100644 --- a/forge-gui/res/cardsfolder/t/tears_of_rage.txt +++ b/forge-gui/res/cardsfolder/t/tears_of_rage.txt @@ -2,7 +2,7 @@ Name:Tears of Rage ManaCost:2 R R Types:Instant Text:Cast this spell only during the declare attackers step.\r\n -A:SP$ PumpAll | Cost$ 2 R R | ActivationPhases$ Declare Attackers | ValidCards$ Creature.attacking+YouCtrl | NumAtt$ +X | References$ X | SubAbility$ DelTrig | SpellDescription$ Attacking creatures you control get +X/+0 until end of turn, where X is the number of attacking creatures. Sacrifice those creatures at the beginning of the next end step. +A:SP$ PumpAll | Cost$ 2 R R | ActivationPhases$ Declare Attackers | ValidCards$ Creature.attacking+YouCtrl | NumAtt$ +X | SubAbility$ DelTrig | SpellDescription$ Attacking creatures you control get +X/+0 until end of turn, where X is the number of attacking creatures. Sacrifice those creatures at the beginning of the next end step. SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End Of Turn | Execute$ TrigSac | RememberObjects$ Valid Creature.attacking+YouCtrl | TriggerDescription$ CARDNAME - Sacrifice those creature at the beginning of the next end step. | AILogic$ Always SVar:TrigSac:DB$ SacrificeAll | Defined$ DelayTriggerRemembered | Controller$ You SVar:X:Count$Valid Creature.attacking+YouCtrl diff --git a/forge-gui/res/cardsfolder/t/tectonic_break.txt b/forge-gui/res/cardsfolder/t/tectonic_break.txt index 6ad8c15e0b7..a9fe9ce6ccb 100644 --- a/forge-gui/res/cardsfolder/t/tectonic_break.txt +++ b/forge-gui/res/cardsfolder/t/tectonic_break.txt @@ -1,7 +1,7 @@ Name:Tectonic Break ManaCost:X R R Types:Sorcery -A:SP$ Sacrifice | Cost$ X R R | Amount$ X | References$ X | SacValid$ Land | Defined$ Player | SpellDescription$ Each player sacrifices X lands. +A:SP$ Sacrifice | Cost$ X R R | Amount$ X | SacValid$ Land | Defined$ Player | SpellDescription$ Each player sacrifices X lands. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/tectonic_break.jpg diff --git a/forge-gui/res/cardsfolder/t/tectonic_edge.txt b/forge-gui/res/cardsfolder/t/tectonic_edge.txt index fb68ce26c8c..f10c80d924c 100644 --- a/forge-gui/res/cardsfolder/t/tectonic_edge.txt +++ b/forge-gui/res/cardsfolder/t/tectonic_edge.txt @@ -2,7 +2,7 @@ Name:Tectonic Edge ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ Destroy | ValidTgts$ Land.nonBasic | TgtPrompt$ Select target nonbasic land. | Cost$ 1 T Sac<1/CARDNAME> | CheckSVar$ X | SVarCompare$ GE4 | References$ X | AILogic$ LandForLand | SpellDescription$ Destroy target nonbasic land. Activate this ability only if an opponent controls four or more lands. +A:AB$ Destroy | ValidTgts$ Land.nonBasic | TgtPrompt$ Select target nonbasic land. | Cost$ 1 T Sac<1/CARDNAME> | CheckSVar$ X | SVarCompare$ GE4 | AILogic$ LandForLand | SpellDescription$ Destroy target nonbasic land. Activate this ability only if an opponent controls four or more lands. SVar:X:PlayerCountOpponents$HighestValid Land.YouCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/tectonic_edge.jpg diff --git a/forge-gui/res/cardsfolder/t/teferis_puzzle_box.txt b/forge-gui/res/cardsfolder/t/teferis_puzzle_box.txt index a7b0825f6b2..9b3bc276dd8 100644 --- a/forge-gui/res/cardsfolder/t/teferis_puzzle_box.txt +++ b/forge-gui/res/cardsfolder/t/teferis_puzzle_box.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact T:Mode$ Phase | Phase$ Draw | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigChangeAll | TriggerDescription$ At the beginning of each player's draw step, that player puts the cards in their hand on the bottom of their library in any order, then draws that many cards. SVar:TrigChangeAll:DB$ ChangeZoneAll | DefinedPlayer$ TriggeredPlayer | Defined$ TriggeredPlayer | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$Draw | NumCards$ X | Defined$ TriggeredPlayer | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$Draw | NumCards$ X | Defined$ TriggeredPlayer | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/t/temper.txt b/forge-gui/res/cardsfolder/t/temper.txt index 85ff5bd6b66..5cec758ee6b 100644 --- a/forge-gui/res/cardsfolder/t/temper.txt +++ b/forge-gui/res/cardsfolder/t/temper.txt @@ -1,7 +1,7 @@ Name:Temper ManaCost:X 1 W Types:Instant -A:SP$ PreventDamage | Cost$ X 1 W | ValidTgts$ Creature | Amount$ X | References$ X | PreventionSubAbility$ EvenTemper | ShieldEffectTarget$ Targeted | TgtPrompt$ Select target creature | SpellDescription$ Prevent the next X damage that would be dealt to target creature this turn. For each 1 damage prevented this way, put a +1/+1 counter on that creature. +A:SP$ PreventDamage | Cost$ X 1 W | ValidTgts$ Creature | Amount$ X | PreventionSubAbility$ EvenTemper | ShieldEffectTarget$ Targeted | TgtPrompt$ Select target creature | SpellDescription$ Prevent the next X damage that would be dealt to target creature this turn. For each 1 damage prevented this way, put a +1/+1 counter on that creature. SVar:EvenTemper:DB$ PutCounter | Defined$ ShieldEffectTarget | CounterType$ P1P1 | CounterNum$ PreventedDamage | SpellDescription$ Put a +1/+1 counter on this creature for each 1 damage prevented this way. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/temper.jpg diff --git a/forge-gui/res/cardsfolder/t/tempest_efreet.txt b/forge-gui/res/cardsfolder/t/tempest_efreet.txt index 988976e8c0c..b8aa053ba0b 100644 --- a/forge-gui/res/cardsfolder/t/tempest_efreet.txt +++ b/forge-gui/res/cardsfolder/t/tempest_efreet.txt @@ -4,8 +4,8 @@ Types:Creature Efreet PT:3/3 K:Remove CARDNAME from your deck before playing if you're not playing for ante. A:AB$ Pump | Cost$ T Sac<1/CARDNAME> | ValidTgts$ Opponent | SubAbility$ Choice | RememberObjects$ Targeted | StackDescription$ SpellDescription | SpellDescription$ Target opponent may pay 10 life. If that player doesn't, they reveal a card at random from their hand. Exchange ownership of the revealed card and Tempest Efreet. Put the revealed card into your hand and Tempest Efreet from anywhere into that player's graveyard. This change in ownership is permanent. -SVar:Choice:DB$ GenericChoice | Choices$ RevealCard | Defined$ Targeted | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ LT10 | SubAbility$ Choice2 | StackDescription$ None -SVar:Choice2:DB$ GenericChoice | Choices$ PayLife,RevealCard | Defined$ Targeted | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ GE10 | StackDescription$ None +SVar:Choice:DB$ GenericChoice | Choices$ RevealCard | Defined$ Targeted | ConditionCheckSVar$ X | ConditionSVarCompare$ LT10 | SubAbility$ Choice2 | StackDescription$ None +SVar:Choice2:DB$ GenericChoice | Choices$ PayLife,RevealCard | Defined$ Targeted | ConditionCheckSVar$ X | ConditionSVarCompare$ GE10 | StackDescription$ None SVar:X:PlayerCountRemembered$LifeTotal SVar:PayLife:DB$ LoseLife | LifeAmount$ 10 | Defined$ Targeted | SubAbility$ DBCleanup | SpellDescription$ Pay 10 life. SVar:RevealCard:DB$ Reveal | Random$ True | RememberRevealed$ True | Defined$ Targeted | SubAbility$ ExchangeOwn1 | StackDescription$ SpellDescription | SpellDescription$ Reveal a card at random from your hand. Permanently exchange ownership of the revealed card and CARDNAME. diff --git a/forge-gui/res/cardsfolder/t/temporary_insanity.txt b/forge-gui/res/cardsfolder/t/temporary_insanity.txt index cbb8f3ff5e5..a7295c0e5a5 100644 --- a/forge-gui/res/cardsfolder/t/temporary_insanity.txt +++ b/forge-gui/res/cardsfolder/t/temporary_insanity.txt @@ -1,7 +1,7 @@ Name:Temporary Insanity ManaCost:3 R Types:Instant -A:SP$ GainControl | Cost$ 3 R | ValidTgts$ Creature.powerLTX | References$ X | TgtPrompt$ Select target creature with power less than or equal to the number of cards in your graveyard | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SpellDescription$ Untap target creature with power less than the number of cards in your graveyard and gain control of it until end of turn. That creature gains haste until end of turn. +A:SP$ GainControl | Cost$ 3 R | ValidTgts$ Creature.powerLTX | TgtPrompt$ Select target creature with power less than or equal to the number of cards in your graveyard | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SpellDescription$ Untap target creature with power less than the number of cards in your graveyard and gain control of it until end of turn. That creature gains haste until end of turn. SVar:X:Count$InYourYard SVar:Picture:http://www.wizards.com/global/images/magic/general/temporary_insanity.jpg Oracle:Untap target creature with power less than the number of cards in your graveyard and gain control of it until end of turn. That creature gains haste until end of turn. diff --git a/forge-gui/res/cardsfolder/t/temporary_truce.txt b/forge-gui/res/cardsfolder/t/temporary_truce.txt index 9906d53ba55..8742746b707 100644 --- a/forge-gui/res/cardsfolder/t/temporary_truce.txt +++ b/forge-gui/res/cardsfolder/t/temporary_truce.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Sorcery A:SP$ RepeatEach | Cost$ 1 W | RepeatPlayers$ Player | RepeatSubAbility$ DBDraw | SpellDescription$ Each player may draw up to two cards. For each card less than two a player draws this way, that player gains 2 life. SVar:DBDraw:DB$ Draw | Defined$ Player.IsRemembered | Upto$ True | NumCards$ 2 | RememberDrawn$ True | SubAbility$ DBGainLife | AILogic$ GainLife -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X,Y | Defined$ Player.IsRemembered | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | Defined$ Player.IsRemembered | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True # Player is remembered here SVar:Y:Count$RememberedSize/NMinus.3 diff --git a/forge-gui/res/cardsfolder/t/tempt_with_discovery.txt b/forge-gui/res/cardsfolder/t/tempt_with_discovery.txt index 222ba34ed61..6ed9cdc0d37 100644 --- a/forge-gui/res/cardsfolder/t/tempt_with_discovery.txt +++ b/forge-gui/res/cardsfolder/t/tempt_with_discovery.txt @@ -4,9 +4,9 @@ Types:Sorcery A:SP$ ChangeZone | Cost$ 3 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.YouCtrl | ChangeNum$ 1 | Hidden$ True | NoShuffle$ True | SubAbility$ DBRepeat | StackDescription$ SpellDescription | SpellDescription$ Tempting offer — Search your library for a land card and put it onto the battlefield. Each opponent may search their library for a land card and put it onto the battlefield. For each opponent who searches a library this way, search your library for a land card and put it onto the battlefield. Then each player who searched a library this way shuffles it. SVar:DBRepeat:DB$ RepeatEach | RepeatSubAbility$ DBChangeZone | RepeatPlayers$ Player.Opponent | SubAbility$ DBSearchAgain | RepeatOptionalForEachPlayer$ True | RepeatOptionalMessage$ Do you want to search their library for a land card and put it onto the battlefield? SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.RememberedPlayerCtrl | DefinedPlayer$ Player.IsRemembered | Chooser$ Player.IsRemembered | ChangeNum$ 1 | Hidden$ True | SubAbility$ DBCount -SVar:DBCount:DB$ StoreSVar | SVar$ X | Type$ CountSVar | Expression$ X/Plus.1 | References$ X -SVar:DBSearchAgain:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.YouCtrl | ChangeNum$ X | References$ X | Hidden$ True | Shuffle$ True | StackDescription$ None | SubAbility$ DBReset -SVar:DBReset:DB$ StoreSVar | SVar$ X | Type$ Number | Expression$ 0 | References$ X +SVar:DBCount:DB$ StoreSVar | SVar$ X | Type$ CountSVar | Expression$ X/Plus.1 +SVar:DBSearchAgain:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.YouCtrl | ChangeNum$ X | Hidden$ True | Shuffle$ True | StackDescription$ None | SubAbility$ DBReset +SVar:DBReset:DB$ StoreSVar | SVar$ X | Type$ Number | Expression$ 0 SVar:X:Number$0 SVar:Picture:http://www.wizards.com/global/images/magic/general/tempt_with_discovery.jpg Oracle:Tempting offer — Search your library for a land card and put it onto the battlefield. Each opponent may search their library for a land card and put it onto the battlefield. For each opponent who searches a library this way, search your library for a land card and put it onto the battlefield. Then each player who searched a library this way shuffles it. diff --git a/forge-gui/res/cardsfolder/t/tempt_with_glory.txt b/forge-gui/res/cardsfolder/t/tempt_with_glory.txt index 1f520ef451f..e29fd95c458 100644 --- a/forge-gui/res/cardsfolder/t/tempt_with_glory.txt +++ b/forge-gui/res/cardsfolder/t/tempt_with_glory.txt @@ -4,9 +4,9 @@ Types:Sorcery A:SP$ PutCounterAll | Cost$ 5 W | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBRepeat | StackDescription$ SpellDescription | SpellDescription$ Tempting offer — Put a +1/+1 counter on each creature you control. Each opponent may put a +1/+1 counter on each creature they control. For each opponent who does, put a +1/+1 counter on each creature you control. SVar:DBRepeat:DB$ RepeatEach | RepeatSubAbility$ DBPutCounter | RepeatPlayers$ Player.Opponent | SubAbility$ PutCounterAgain | RepeatOptionalForEachPlayer$ True | RepeatOptionalMessage$ Do you want to put a +1/+1 counter on each creature you control? SVar:DBPutCounter:DB$ PutCounterAll | ValidCards$ Creature.RememberedPlayerCtrl | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBCount -SVar:DBCount:DB$ StoreSVar | SVar$ X | Type$ CountSVar | Expression$ X/Plus.1 | References$ X -SVar:PutCounterAgain:DB$ PutCounterAll | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBReset | StackDescription$ None -SVar:DBReset:DB$ StoreSVar | SVar$ X | Type$ Number | Expression$ 0 | References$ X +SVar:DBCount:DB$ StoreSVar | SVar$ X | Type$ CountSVar | Expression$ X/Plus.1 +SVar:PutCounterAgain:DB$ PutCounterAll | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBReset | StackDescription$ None +SVar:DBReset:DB$ StoreSVar | SVar$ X | Type$ Number | Expression$ 0 SVar:X:Number$0 SVar:Picture:http://www.wizards.com/global/images/magic/general/tempt_with_glory.jpg Oracle:Tempting offer — Put a +1/+1 counter on each creature you control. Each opponent may put a +1/+1 counter on each creature they control. For each opponent who does, put a +1/+1 counter on each creature you control. diff --git a/forge-gui/res/cardsfolder/t/tempt_with_immortality.txt b/forge-gui/res/cardsfolder/t/tempt_with_immortality.txt index b1f0511d18c..70377679f9b 100644 --- a/forge-gui/res/cardsfolder/t/tempt_with_immortality.txt +++ b/forge-gui/res/cardsfolder/t/tempt_with_immortality.txt @@ -4,7 +4,7 @@ Types:Sorcery A:SP$ ChangeZone | Cost$ 4 B | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.YouCtrl | ChangeNum$ 1 | Hidden$ True | SubAbility$ DBRepeat | StackDescription$ SpellDescription | SpellDescription$ Tempting offer — Return a creature card from your graveyard to the battlefield. Each opponent may return a creature card from their graveyard to the battlefield. For each opponent who does, return a creature card from your graveyard to the battlefield. SVar:DBRepeat:DB$ RepeatEach | RepeatSubAbility$ DBChangeZone | RepeatPlayers$ Player.Opponent | SubAbility$ DBReturn SVar:DBChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.RememberedPlayerCtrl | DefinedPlayer$ Player.IsRemembered | Chooser$ Player.IsRemembered | ChangeNum$ 1 | Hidden$ True | RememberChanged$ True -SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.YouCtrl | ChangeNum$ X | References$ X | Hidden$ True | SubAbility$ DBCleanup +SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature.YouCtrl | ChangeNum$ X | Hidden$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:NeedsToPlayVar:Y GE2 diff --git a/forge-gui/res/cardsfolder/t/tempt_with_reflections.txt b/forge-gui/res/cardsfolder/t/tempt_with_reflections.txt index d1d8cbbce7d..48970fda734 100644 --- a/forge-gui/res/cardsfolder/t/tempt_with_reflections.txt +++ b/forge-gui/res/cardsfolder/t/tempt_with_reflections.txt @@ -4,9 +4,9 @@ Types:Sorcery A:SP$ CopyPermanent | Cost$ 3 U | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | StackDescription$ SpellDescription | SubAbility$ DBRepeat | SpellDescription$ Tempting offer — Choose target creature you control. Create a token that's a copy of that creature. Each opponent may create a token that's a copy of that creature. For each opponent who does, create a token that's a copy of that creature. SVar:DBRepeat:DB$ RepeatEach | RepeatSubAbility$ DBCopyPermanent | RepeatPlayers$ Player.Opponent | SubAbility$ CopyAgain | ChangeZoneTable$ True | RepeatOptionalForEachPlayer$ True | RepeatOptionalMessage$ Do you want to create a token that's a copy of that creature? SVar:DBCopyPermanent:DB$ CopyPermanent | Defined$ ParentTarget | Controller$ Player.IsRemembered | SubAbility$ DBCount -SVar:DBCount:DB$ StoreSVar | SVar$ X | Type$ CountSVar | Expression$ X/Plus.1 | References$ X -SVar:CopyAgain:DB$ CopyPermanent | Defined$ ParentTarget | NumCopies$ X | References$ X | SubAbility$ DBReset | StackDescription$ None -SVar:DBReset:DB$ StoreSVar | SVar$ X | Type$ Number | Expression$ 0 | References$ X +SVar:DBCount:DB$ StoreSVar | SVar$ X | Type$ CountSVar | Expression$ X/Plus.1 +SVar:CopyAgain:DB$ CopyPermanent | Defined$ ParentTarget | NumCopies$ X | SubAbility$ DBReset | StackDescription$ None +SVar:DBReset:DB$ StoreSVar | SVar$ X | Type$ Number | Expression$ 0 SVar:X:Number$0 SVar:Picture:http://www.wizards.com/global/images/magic/general/tempt_with_reflections.jpg Oracle:Tempting offer — Choose target creature you control. Create a token that's a copy of that creature. Each opponent may create a token that's a copy of that creature. For each opponent who does, create a token that's a copy of that creature. diff --git a/forge-gui/res/cardsfolder/t/tempt_with_vengeance.txt b/forge-gui/res/cardsfolder/t/tempt_with_vengeance.txt index d8301ceb988..b1e9af18397 100644 --- a/forge-gui/res/cardsfolder/t/tempt_with_vengeance.txt +++ b/forge-gui/res/cardsfolder/t/tempt_with_vengeance.txt @@ -1,12 +1,12 @@ Name:Tempt with Vengeance ManaCost:X R Types:Sorcery -A:SP$ Token | Cost$ X R | TokenAmount$ X | References$ X | TokenScript$ r_1_1_elemental_haste | TokenOwner$ You | LegacyImage$ r 1 1 elemental haste c13 | SubAbility$ DBRepeat | StackDescription$ SpellDescription | SpellDescription$ Tempting offer — Create X 1/1 red Elemental creature tokens with haste. Each opponent may create X 1/1 red Elemental creature tokens with haste. For each opponent who does, create X 1/1 red Elemental creature tokens with haste. +A:SP$ Token | Cost$ X R | TokenAmount$ X | TokenScript$ r_1_1_elemental_haste | TokenOwner$ You | LegacyImage$ r 1 1 elemental haste c13 | SubAbility$ DBRepeat | StackDescription$ SpellDescription | SpellDescription$ Tempting offer — Create X 1/1 red Elemental creature tokens with haste. Each opponent may create X 1/1 red Elemental creature tokens with haste. For each opponent who does, create X 1/1 red Elemental creature tokens with haste. SVar:DBRepeat:DB$ RepeatEach | RepeatSubAbility$ DBTokenOpp | RepeatPlayers$ Player.Opponent | RepeatOptionalForEachPlayer$ True | RepeatOptionalMessage$ Do you want to create X 1/1 red Elemental creature tokens with haste? | SubAbility$ DBToken | ChangeZoneTable$ True -SVar:DBTokenOpp:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ r_1_1_elemental_haste | TokenOwner$ Player.IsRemembered | LegacyImage$ r 1 1 elemental haste c13 | SubAbility$ DBCount -SVar:DBCount:DB$ StoreSVar | SVar$ Y | Type$ CountSVar | Expression$ Y/Plus.1 | References$ Y -SVar:DBToken:DB$ Token | TokenAmount$ Z | References$ X,Y,Z | TokenScript$ r_1_1_elemental_haste | TokenOwner$ You | LegacyImage$ r 1 1 elemental haste c13 | SubAbility$ DBReset | StackDescription$ None -SVar:DBReset:DB$ StoreSVar | SVar$ Y | Type$ Number | Expression$ 0 | References$ Y +SVar:DBTokenOpp:DB$ Token | TokenAmount$ X | TokenScript$ r_1_1_elemental_haste | TokenOwner$ Player.IsRemembered | LegacyImage$ r 1 1 elemental haste c13 | SubAbility$ DBCount +SVar:DBCount:DB$ StoreSVar | SVar$ Y | Type$ CountSVar | Expression$ Y/Plus.1 +SVar:DBToken:DB$ Token | TokenAmount$ Z | TokenScript$ r_1_1_elemental_haste | TokenOwner$ You | LegacyImage$ r 1 1 elemental haste c13 | SubAbility$ DBReset | StackDescription$ None +SVar:DBReset:DB$ StoreSVar | SVar$ Y | Type$ Number | Expression$ 0 SVar:Y:Number$0 SVar:X:Count$xPaid SVar:Z:SVar$X/Times.Y diff --git a/forge-gui/res/cardsfolder/t/tempting_wurm.txt b/forge-gui/res/cardsfolder/t/tempting_wurm.txt index 1b80ebade03..94ee716bb8d 100644 --- a/forge-gui/res/cardsfolder/t/tempting_wurm.txt +++ b/forge-gui/res/cardsfolder/t/tempting_wurm.txt @@ -4,7 +4,7 @@ Types:Creature Wurm PT:5/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ EachOpponent | TriggerDescription$ When CARDNAME enters the battlefield, each opponent may put any number of artifact, creature, enchantment, and/or land cards from their hand onto the battlefield. SVar:EachOpponent:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ TemptingChange -SVar:TemptingChange:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Artifact,Creature,Enchantment,Land | DefinedPlayer$ Remembered | ChangeNum$ X | References$ X +SVar:TemptingChange:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Artifact,Creature,Enchantment,Land | DefinedPlayer$ Remembered | ChangeNum$ X SVar:X:Count$ValidHand Artifact.RememberedPlayerCtrl,Creature.RememberedPlayerCtrl,Enchantment.RememberedPlayerCtrl,Land.RememberedPlayerCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/tempting_wurm.jpg Oracle:When Tempting Wurm enters the battlefield, each opponent may put any number of artifact, creature, enchantment, and/or land cards from their hand onto the battlefield. diff --git a/forge-gui/res/cardsfolder/t/tendrils_of_corruption.txt b/forge-gui/res/cardsfolder/t/tendrils_of_corruption.txt index 8e7ca8a2463..09c2da47468 100644 --- a/forge-gui/res/cardsfolder/t/tendrils_of_corruption.txt +++ b/forge-gui/res/cardsfolder/t/tendrils_of_corruption.txt @@ -1,8 +1,8 @@ Name:Tendrils of Corruption ManaCost:3 B Types:Instant -A:SP$ DealDamage | Cost$ 3 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to target creature and you gain X life, where X is the number of Swamps you control. -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X +A:SP$ DealDamage | Cost$ 3 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to target creature and you gain X life, where X is the number of Swamps you control. +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X SVar:X:Count$TypeYouCtrl.Swamp SVar:Picture:http://resources.wizards.com/magic/cards/tsp/en-us/card106632.jpg Oracle:Tendrils of Corruption deals X damage to target creature and you gain X life, where X is the number of Swamps you control. diff --git a/forge-gui/res/cardsfolder/t/tephraderm.txt b/forge-gui/res/cardsfolder/t/tephraderm.txt index 2af3f9f1a10..8a324e5be63 100644 --- a/forge-gui/res/cardsfolder/t/tephraderm.txt +++ b/forge-gui/res/cardsfolder/t/tephraderm.txt @@ -4,8 +4,8 @@ Types:Creature Beast PT:4/5 T:Mode$ DamageDone | ValidSource$ Creature | ValidTarget$ Card.Self | Execute$ TrigDealDamage1 | TriggerDescription$ Whenever a creature deals damage to CARDNAME, CARDNAME deals that much damage to that creature. T:Mode$ DamageDone | ValidSource$ Instant,Sorcery | ValidTarget$ Card.Self | Execute$ TrigDealDamage2 | TriggerDescription$ Whenever a spell deals damage to CARDNAME, CARDNAME deals that much damage to that spell's controller. -SVar:TrigDealDamage1:DB$ DealDamage | Defined$ TriggeredSourceLKICopy | NumDmg$ X | References$ X -SVar:TrigDealDamage2:DB$ DealDamage | Defined$ TriggeredSourceController | NumDmg$ X | References$ X +SVar:TrigDealDamage1:DB$ DealDamage | Defined$ TriggeredSourceLKICopy | NumDmg$ X +SVar:TrigDealDamage2:DB$ DealDamage | Defined$ TriggeredSourceController | NumDmg$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/tephraderm.jpg Oracle:Whenever a creature deals damage to Tephraderm, Tephraderm deals that much damage to that creature.\nWhenever a spell deals damage to Tephraderm, Tephraderm deals that much damage to that spell's controller. diff --git a/forge-gui/res/cardsfolder/t/terra_ravager.txt b/forge-gui/res/cardsfolder/t/terra_ravager.txt index 0d40bd1663b..77c7a1dca0d 100644 --- a/forge-gui/res/cardsfolder/t/terra_ravager.txt +++ b/forge-gui/res/cardsfolder/t/terra_ravager.txt @@ -3,7 +3,7 @@ ManaCost:2 R R Types:Creature Elemental Beast PT:0/4 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +X/+0 until end of turn, where X is the number of lands defending player controls. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X SVar:X:Count$Valid Land.DefenderCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/terra_ravager.jpg Oracle:Whenever Terra Ravager attacks, it gets +X/+0 until end of turn, where X is the number of lands defending player controls. diff --git a/forge-gui/res/cardsfolder/t/terravore.txt b/forge-gui/res/cardsfolder/t/terravore.txt index 5d358489c1a..4897a5335c3 100644 --- a/forge-gui/res/cardsfolder/t/terravore.txt +++ b/forge-gui/res/cardsfolder/t/terravore.txt @@ -3,7 +3,7 @@ ManaCost:1 G G Types:Creature Lhurgoyf PT:*/* K:Trample -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of land cards in all graveyards. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of land cards in all graveyards. SVar:X:Count$TypeInAllYards.Land AI:RemoveDeck:Random SVar:NeedsToPlayVar:X GE1 diff --git a/forge-gui/res/cardsfolder/t/terror_of_the_peaks.txt b/forge-gui/res/cardsfolder/t/terror_of_the_peaks.txt index bb4cbdc1eea..d705714cc21 100644 --- a/forge-gui/res/cardsfolder/t/terror_of_the_peaks.txt +++ b/forge-gui/res/cardsfolder/t/terror_of_the_peaks.txt @@ -5,7 +5,7 @@ PT:5/4 K:Flying S:Mode$ RaiseCost | ValidTarget$ Card.Self | Activator$ Player.Opponent | Type$ Spell | Cost$ PayLife<3> | Description$ Spells your opponents cast that target CARDNAME cost an additional 3 life to cast. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl+Other | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ Whenever another creature enters the battlefield under your control, CARDNAME deals damage equal to that creature's power to any target. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:TriggeredCard$CardPower SVar:BuffedBy:Creature Oracle:Flying\nSpells your opponents cast that target Terror of the Peaks cost an additional 3 life to cast.\nWhenever another creature enters the battlefield under your control, Terror of the Peaks deals damage equal to that creature's power to any target. diff --git a/forge-gui/res/cardsfolder/t/testament_of_faith.txt b/forge-gui/res/cardsfolder/t/testament_of_faith.txt index 28d8b624644..311d0d057c5 100644 --- a/forge-gui/res/cardsfolder/t/testament_of_faith.txt +++ b/forge-gui/res/cardsfolder/t/testament_of_faith.txt @@ -1,7 +1,7 @@ Name:Testament of Faith ManaCost:W Types:Enchantment -A:AB$ Animate | Cost$ X | Defined$ Self | Power$ X | Toughness$ X | References$ X | Types$ Creature,Wall | Keywords$ Defender | SpellDescription$ CARDNAME becomes an X/X Wall creature with defender in addition to its other types until end of turn. +A:AB$ Animate | Cost$ X | Defined$ Self | Power$ X | Toughness$ X | Types$ Creature,Wall | Keywords$ Defender | SpellDescription$ CARDNAME becomes an X/X Wall creature with defender in addition to its other types until end of turn. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/testament_of_faith.jpg diff --git a/forge-gui/res/cardsfolder/t/tetravus.txt b/forge-gui/res/cardsfolder/t/tetravus.txt index 6e4139a21ca..9d0a0ecafde 100644 --- a/forge-gui/res/cardsfolder/t/tetravus.txt +++ b/forge-gui/res/cardsfolder/t/tetravus.txt @@ -5,8 +5,8 @@ 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, create that many 1/1 colorless Tetravite artifact creature tokens. They each have flying and "This creature can't be enchanted." -SVar:TrigToken:AB$Token | Cost$ SubCounter | References$ X | TokenAmount$ X | LegacyImage$ c 1 1 tetravite flying noenchant atq | TokenScript$ c_1_1_a_tetravite_flying_noenchant | TokenOwner$ You | RememberTokens$ True +SVar:TrigToken:AB$Token | Cost$ SubCounter | TokenAmount$ X | LegacyImage$ c 1 1 tetravite flying noenchant atq | TokenScript$ c_1_1_a_tetravite_flying_noenchant | TokenOwner$ You | RememberTokens$ True SVar:X:Count$xPaid 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 created with CARDNAME. If you do, put that many +1/+1 counters on CARDNAME. -SVar:TrigPutCounters:AB$PutCounter | Cost$ Exile | References$ X | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | CostDesc$ Exile any number of tokens put onto the battlefield with CARDNAME. +SVar:TrigPutCounters:AB$PutCounter | Cost$ Exile | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | CostDesc$ Exile any number of tokens put onto the battlefield with CARDNAME. 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, create that many 1/1 colorless Tetravite artifact creature tokens. They each have flying and "This creature can't be enchanted."\nAt the beginning of your upkeep, you may exile any number of tokens created with Tetravus. If you do, put that many +1/+1 counters on Tetravus. diff --git a/forge-gui/res/cardsfolder/t/tezzeret_agent_of_bolas.txt b/forge-gui/res/cardsfolder/t/tezzeret_agent_of_bolas.txt index 4f455a0927f..03679e5aa61 100644 --- a/forge-gui/res/cardsfolder/t/tezzeret_agent_of_bolas.txt +++ b/forge-gui/res/cardsfolder/t/tezzeret_agent_of_bolas.txt @@ -4,8 +4,8 @@ Types:Legendary Planeswalker Tezzeret Loyalty:3 A:AB$ Dig | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | DigNum$ 5 | ChangeNum$ 1 | Optional$ True | ChangeValid$ Artifact | SpellDescription$ Look at the top five cards of your library. You may reveal an artifact card from among them and put it into your hand. Put the rest on the bottom of your library in any order. A:AB$ Animate | Cost$ SubCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Artifact | AITgts$ Artifact.YouCtrl | AITgtsStrict$ True | TgtPrompt$ Select target artifact | Power$ 5 | Toughness$ 5 | Types$ Creature | Permanent$ True | SpellDescription$ Target artifact becomes an artifact creature with base power and toughness 5/5. -A:AB$ LoseLife | Cost$ SubCounter<4/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | References$ X | SubAbility$ DBGain | SpellDescription$ Target player loses X life and you gain X life, where X is twice the number of artifacts you control. -SVar:DBGain:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +A:AB$ LoseLife | Cost$ SubCounter<4/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Player | TgtPrompt$ Select target player | LifeAmount$ X | SubAbility$ DBGain | SpellDescription$ Target player loses X life and you gain X life, where X is twice the number of artifacts you control. +SVar:DBGain:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Artifact.YouCtrl/Times.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/tezzeret_agent_of_bolas.jpg Oracle:[+1]: Look at the top five cards of your library. You may reveal an artifact card from among them and put it into your hand. Put the rest on the bottom of your library in any order.\n[−1]: Target artifact becomes an artifact creature with base power and toughness 5/5.\n[−4]: Target player loses X life and you gain X life, where X is twice the number of artifacts you control. diff --git a/forge-gui/res/cardsfolder/t/tezzeret_artifice_master.txt b/forge-gui/res/cardsfolder/t/tezzeret_artifice_master.txt index cd1da95a071..7a742e22395 100644 --- a/forge-gui/res/cardsfolder/t/tezzeret_artifice_master.txt +++ b/forge-gui/res/cardsfolder/t/tezzeret_artifice_master.txt @@ -2,7 +2,7 @@ Name:Tezzeret, Artifice Master ManaCost:3 U U Types:Legendary Planeswalker Tezzeret A:AB$ Token | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | TokenOwner$ You | TokenAmount$ 1 | TokenScript$ c_1_1_a_thopter_flying | LegacyImage$ c 1 1 a thopter flying m19 | SpellDescription$ Create a 1/1 colorless Thopter artifact creature token with flying. -A:AB$ Draw | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | Defined$ You | NumCards$ X | References$ X | SpellDescription$ Draw a card. If you control three or more artifacts, draw two cards instead. +A:AB$ Draw | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | Defined$ You | NumCards$ X | SpellDescription$ Draw a card. If you control three or more artifacts, draw two cards instead. SVar:X:Count$Metalcraft.2.1 A:AB$ Effect | Cost$ SubCounter<9/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Tezzeret, Artifice Master | Image$ emblem_tezzeret_artifice_master | Duration$ Permanent | Triggers$ EffT | SpellDescription$ You get an emblem with "At the beginning of your end step, search your library for a permanent card, put it onto the battlefield, then shuffle your library." SVar:EffT:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | Execute$ EffTrigTutor | TriggerDescription$ At the beginning of your end step, search your library for a permanent card, put it onto the battlefield, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/t/tezzeret_cruel_machinist.txt b/forge-gui/res/cardsfolder/t/tezzeret_cruel_machinist.txt index 4af3b1f1608..b15d87f45a3 100644 --- a/forge-gui/res/cardsfolder/t/tezzeret_cruel_machinist.txt +++ b/forge-gui/res/cardsfolder/t/tezzeret_cruel_machinist.txt @@ -4,6 +4,6 @@ Loyalty:4 Types:Legendary Planeswalker Tezzeret A:AB$ Draw | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | NumCards$ 1 | Defined$ You | SpellDescription$ Draw a card. A:AB$ Animate | Cost$ AddCounter<0/LOYALTY> | Planeswalker$ True | ValidTgts$ Artifact.YouCtrl | TgtPrompt$ Select target artifact you control | Power$ 5 | Toughness$ 5 | Types$ Creature | UntilYourNextTurn$ True | SpellDescription$ Until your next turn, target artifact you control becomes a 5/5 creature in addition to its other types. -A:AB$ ChangeZone | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | Origin$ Hand | Destination$ Battlefield | ChangeType$ Card | ChangeNum$ X | References$ X | FaceDown$ True | FaceDownPower$ 5 | FaceDownToughness$ 5 | FaceDownAddType$ Artifact & Creature | StackDescription$ SpellDescription | SpellDescription$ Put any number of cards from your hand onto the battlefield face down. They're 5/5 artifact creatures. +A:AB$ ChangeZone | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | Origin$ Hand | Destination$ Battlefield | ChangeType$ Card | ChangeNum$ X | FaceDown$ True | FaceDownPower$ 5 | FaceDownToughness$ 5 | FaceDownAddType$ Artifact & Creature | StackDescription$ SpellDescription | SpellDescription$ Put any number of cards from your hand onto the battlefield face down. They're 5/5 artifact creatures. SVar:X:Count$InYourHand Oracle:[+1]: Draw a card.\n[0]: Until your next turn, target artifact you control becomes a 5/5 creature in addition to its other types.\n[−7]: Put any number of cards from your hand onto the battlefield face down. They're 5/5 artifact creatures. diff --git a/forge-gui/res/cardsfolder/t/tezzeret_master_of_metal.txt b/forge-gui/res/cardsfolder/t/tezzeret_master_of_metal.txt index 50be0bd3121..1137c8ab9b2 100644 --- a/forge-gui/res/cardsfolder/t/tezzeret_master_of_metal.txt +++ b/forge-gui/res/cardsfolder/t/tezzeret_master_of_metal.txt @@ -3,7 +3,7 @@ ManaCost:4 U B Types:Legendary Planeswalker Tezzeret Loyalty:5 A:AB$ DigUntil | Cost$ AddCounter<1/LOYALTY> | Valid$ Card.Artifact | ValidDescription$ artifact | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | RevealRandomOrder$ True | FoundDestination$ Hand | Planeswalker$ True | SpellDescription$ Reveal cards from the top of your library until you reveal an artifact card. Put that card into your hand and the rest on the bottom of your library in a random order. -A:AB$ LoseLife | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | LifeAmount$ X | References$ X | SpellDescription$ Target opponent loses life equal to the number of artifacts you control. +A:AB$ LoseLife | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | LifeAmount$ X | SpellDescription$ Target opponent loses life equal to the number of artifacts you control. SVar:X:Count$Valid Artifact.YouCtrl A:AB$ GainControl | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | AllValid$ Artifact,Creature | ControlledByTarget$ True | NewController$ You | SpellDescription$ Gain control of all artifacts and creatures target opponent controls. DeckNeeds:Type$Artifact diff --git a/forge-gui/res/cardsfolder/t/tezzeret_master_of_the_bridge.txt b/forge-gui/res/cardsfolder/t/tezzeret_master_of_the_bridge.txt index 3645c831d8f..050b5715fab 100644 --- a/forge-gui/res/cardsfolder/t/tezzeret_master_of_the_bridge.txt +++ b/forge-gui/res/cardsfolder/t/tezzeret_master_of_the_bridge.txt @@ -3,8 +3,8 @@ ManaCost:4 U B Types:Legendary Planeswalker Tezzeret Loyalty:5 S:Mode$ Continuous | Affected$ Card.Creature+YouCtrl,Card.Planeswalker+YouCtrl | AffectedZone$ Stack | AddKeyword$ Affinity:Artifact | Description$ Creature and planeswalker spells you cast have affinity for artifacts. (They cost {1} less to cast for each artifact you control.) -A:AB$ DealDamage | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | Defined$ Player.Opponent | NumDmg$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to each opponent, where X is the number of artifacts you control. You gain X life. -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X +A:AB$ DealDamage | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | Defined$ Player.Opponent | NumDmg$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to each opponent, where X is the number of artifacts you control. You gain X life. +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X A:AB$ ChangeZone | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | TgtPrompt$ Choose target artifact card in your graveyard | ValidTgts$ Artifact.YouCtrl | Origin$ Graveyard | Destination$ Hand | SpellDescription$ Return target artifact card from your graveyard to your hand. A:AB$ Dig | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | Defined$ You | DigNum$ 10 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBChangeZoneAll | SpellDescription$ Exile the top ten cards of your library. Put all artifact cards from among them onto the battlefield. SVar:DBChangeZoneAll:DB$ ChangeZoneAll | ChangeType$ Artifact.IsRemembered | Origin$ Exile | Destination$ Battlefield | SubAbility$ DBCleanup diff --git a/forge-gui/res/cardsfolder/t/tezzeret_the_schemer.txt b/forge-gui/res/cardsfolder/t/tezzeret_the_schemer.txt index 539ebcd7ffa..f88baa554ee 100644 --- a/forge-gui/res/cardsfolder/t/tezzeret_the_schemer.txt +++ b/forge-gui/res/cardsfolder/t/tezzeret_the_schemer.txt @@ -3,7 +3,7 @@ ManaCost:2 U B Types:Legendary Planeswalker Tezzeret Loyalty:5 A:AB$ Token | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | TokenAmount$ 1 | TokenScript$ etherium_cell | TokenOwner$ You | LegacyImage$ etherium cell aer | SpellDescription$ Create a colorless artifact token named Etherium Cell with "{T}, Sacrifice this artifact: Add one mana of any color." -A:AB$ Pump | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ -X | References$ X | SpellDescription$ Target creature gets +X/-X until end of turn, where X is the number of artifacts you control. +A:AB$ Pump | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ -X | SpellDescription$ Target creature gets +X/-X until end of turn, where X is the number of artifacts you control. SVar:X:Count$Valid Artifact.YouCtrl A:AB$ Effect | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | Name$ Emblem - Tezzeret the Schemer | Triggers$ CombatTrig | SVars$ TezzeretAnimate | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "At the beginning of combat on your turn, target artifact you control becomes an artifact creature with base power and toughness 5/5." SVar:CombatTrig:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Command | Execute$ TezzeretAnimate | TriggerDescription$ At the beginning of combat on your turn, target artifact you control becomes an artifact creature with base power and toughness 5/5. diff --git a/forge-gui/res/cardsfolder/t/tezzeret_the_seeker.txt b/forge-gui/res/cardsfolder/t/tezzeret_the_seeker.txt index b923979af79..45e3df49a03 100644 --- a/forge-gui/res/cardsfolder/t/tezzeret_the_seeker.txt +++ b/forge-gui/res/cardsfolder/t/tezzeret_the_seeker.txt @@ -3,7 +3,7 @@ ManaCost:3 U U Types:Legendary Planeswalker Tezzeret Loyalty:4 A:AB$ Untap | Cost$ AddCounter<1/LOYALTY> | ValidTgts$ Artifact | TgtPrompt$ Choose target artifact | TargetMin$ 0 | TargetMax$ 2 | Planeswalker$ True | SpellDescription$ Untap up to two target artifacts. -A:AB$ ChangeZone | Cost$ SubCounter | Origin$ Library | Destination$ Battlefield | ChangeType$ Artifact.cmcLEX | References$ X | ChangeNum$ 1 | Shuffle$ True | Planeswalker$ True | SpellDescription$ Search your library for an artifact card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library. +A:AB$ ChangeZone | Cost$ SubCounter | Origin$ Library | Destination$ Battlefield | ChangeType$ Artifact.cmcLEX | ChangeNum$ 1 | Shuffle$ True | Planeswalker$ True | SpellDescription$ Search your library for an artifact card with converted mana cost X or less and put it onto the battlefield. Then shuffle your library. A:AB$ AnimateAll | Cost$ SubCounter<5/LOYALTY> | Power$ 5 | Toughness$ 5 | Types$ Creature,Artifact | ValidCards$ Artifact.YouCtrl | Planeswalker$ True | Ultimate$ True | SpellDescription$ Artifacts you control become artifact creatures with base power and toughness 5/5 until end of turn. SVar:X:Count$xPaid AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/t/tezzerets_simulacrum.txt b/forge-gui/res/cardsfolder/t/tezzerets_simulacrum.txt index 7e25c124968..00bc12875e6 100644 --- a/forge-gui/res/cardsfolder/t/tezzerets_simulacrum.txt +++ b/forge-gui/res/cardsfolder/t/tezzerets_simulacrum.txt @@ -2,7 +2,7 @@ Name:Tezzeret's Simulacrum ManaCost:3 Types:Artifact Creature Golem PT:2/3 -A:AB$ LoseLife | Cost$ T | ValidTgts$ Opponent | LifeAmount$ X | References$ X,Y | SpellDescription$ Target opponent loses 1 life. If you control a Tezzeret planeswalker, that player loses 3 life instead. +A:AB$ LoseLife | Cost$ T | ValidTgts$ Opponent | LifeAmount$ X | SpellDescription$ Target opponent loses 1 life. If you control a Tezzeret planeswalker, that player loses 3 life instead. SVar:Y:Count$Valid Planeswalker.Tezzeret+YouCtrl SVar:X:Count$Compare Y GE1.3.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/tezzerets_simulacrum.jpg diff --git a/forge-gui/res/cardsfolder/t/thalisse_reverent_medium.txt b/forge-gui/res/cardsfolder/t/thalisse_reverent_medium.txt index 13d1cb8e92a..f013fdf37f9 100755 --- a/forge-gui/res/cardsfolder/t/thalisse_reverent_medium.txt +++ b/forge-gui/res/cardsfolder/t/thalisse_reverent_medium.txt @@ -3,7 +3,7 @@ ManaCost:3 W B Types:Legendary Creature Human Cleric PT:3/4 T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of each end step, create X 1/1 white Spirit creature tokens with flying, where X is the number of tokens you created this turn. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ w_1_1_spirit_flying | TokenOwner$ You +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_spirit_flying | TokenOwner$ You SVar:X:PlayerCountPropertyYou$TokensCreatedThisTurn DeckHas:Ability$Token DeckNeeds:Ability$Token diff --git a/forge-gui/res/cardsfolder/t/thassa_deep_dwelling.txt b/forge-gui/res/cardsfolder/t/thassa_deep_dwelling.txt index 7aa4e49fbfd..67354b529fe 100644 --- a/forge-gui/res/cardsfolder/t/thassa_deep_dwelling.txt +++ b/forge-gui/res/cardsfolder/t/thassa_deep_dwelling.txt @@ -3,7 +3,7 @@ ManaCost:3 U Types:Legendary Enchantment Creature God PT:6/5 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | References$ X | Description$ As long as your devotion to blue is less than five, CARDNAME is not a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | Description$ As long as your devotion to blue is less than five, CARDNAME is not a creature. SVar:X:Count$Devotion.Blue SVar:BuffedBy:Permanent.Blue T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigExile | TriggerDescription$ At the beginning of your end step, exile up to one other target creature you control, then return that card to the battlefield under your control. diff --git a/forge-gui/res/cardsfolder/t/thassa_god_of_the_sea.txt b/forge-gui/res/cardsfolder/t/thassa_god_of_the_sea.txt index 8c45f6e44de..d204d502943 100644 --- a/forge-gui/res/cardsfolder/t/thassa_god_of_the_sea.txt +++ b/forge-gui/res/cardsfolder/t/thassa_god_of_the_sea.txt @@ -3,7 +3,7 @@ ManaCost:2 U Types:Legendary Enchantment Creature God PT:5/5 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | References$ X | Description$ As long as your devotion to blue is less than 5, CARDNAME isn't a creature. (Each {U} in the mana costs of permanents you control counts towards your devotion to blue.) +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT5 | Description$ As long as your devotion to blue is less than 5, CARDNAME isn't a creature. (Each {U} in the mana costs of permanents you control counts towards your devotion to blue.) SVar:X:Count$Devotion.Blue T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigScry | TriggerDescription$ At the beginning of your upkeep, scry 1. SVar:TrigScry:DB$ Scry | ScryNum$ 1 diff --git a/forge-gui/res/cardsfolder/t/thassas_intervention.txt b/forge-gui/res/cardsfolder/t/thassas_intervention.txt index 43549822a4f..798ed84bfa6 100755 --- a/forge-gui/res/cardsfolder/t/thassas_intervention.txt +++ b/forge-gui/res/cardsfolder/t/thassas_intervention.txt @@ -1,9 +1,9 @@ Name:Thassa's Intervention ManaCost:X U U Types:Instant -A:SP$ Charm | Cost$ X U U | Choices$ DBDig,DBCounter | References$ X -SVar:DBDig:DB$ Dig | DigNum$ X | ChangeNum$ 2 | DestinationZone$ Hand | LibraryPosition$ 0 | References$ X | RestRandomOrder$ True | SpellDescription$ Look at the top X cards of your library. Put up to two of them into your hand and the rest on the bottom of your library in a random order. -SVar:DBCounter:DB$ Counter | TargetType$ Spell | ValidTgts$ Card | UnlessCost$ XX | UnlessPayer$ TargetedController | References$ X,XX | SpellDescription$ Counter target spell unless its controller pays twice {X}. +A:SP$ Charm | Cost$ X U U | Choices$ DBDig,DBCounter +SVar:DBDig:DB$ Dig | DigNum$ X | ChangeNum$ 2 | DestinationZone$ Hand | LibraryPosition$ 0 | RestRandomOrder$ True | SpellDescription$ Look at the top X cards of your library. Put up to two of them into your hand and the rest on the bottom of your library in a random order. +SVar:DBCounter:DB$ Counter | TargetType$ Spell | ValidTgts$ Card | UnlessCost$ XX | UnlessPayer$ TargetedController | SpellDescription$ Counter target spell unless its controller pays twice {X}. SVar:X:Count$xPaid SVar:XX:SVar$X/Twice Oracle:Choose one —\n• Look at the top X cards of your library. Put up to two of them into your hand and the rest on the bottom of your library in a random order.\n• Counter target spell unless its controller pays twice {X}. diff --git a/forge-gui/res/cardsfolder/t/thassas_oracle.txt b/forge-gui/res/cardsfolder/t/thassas_oracle.txt index a2da4c3ae7f..061c9ac9eb5 100644 --- a/forge-gui/res/cardsfolder/t/thassas_oracle.txt +++ b/forge-gui/res/cardsfolder/t/thassas_oracle.txt @@ -5,6 +5,6 @@ PT:1/3 SVar:X:Count$Devotion.Blue SVar:Y:Count$InYourLibrary T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDig | TriggerDescription$ When CARDNAME enters the battlefield, look at the top X cards of your library, where X is your devotion to blue. Put one of them on top of your library and the rest on the bottom of your library in a random order. If X is greater than or equal to the number of cards in your library, you win the game. -SVar:TrigDig:DB$ Dig | DigNum$ X | ChangeNum$ 1 | DestinationZone$ Library | References$ X | LibraryPosition$ 0 | RestRandomOrder$ True | SubAbility$ DBWin -SVar:DBWin:DB$ WinsGame | Defined$ You | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX | References$ X,Y +SVar:TrigDig:DB$ Dig | DigNum$ X | ChangeNum$ 1 | DestinationZone$ Library | LibraryPosition$ 0 | RestRandomOrder$ True | SubAbility$ DBWin +SVar:DBWin:DB$ WinsGame | Defined$ You | ConditionCheckSVar$ Y | ConditionSVarCompare$ LEX,Y Oracle:When Thassa's Oracle enters the battlefield, look at the top X cards of your library, where X is your devotion to blue. Put up to one of them on top of your library and the rest on the bottom of your library in a random order. If X is greater than or equal to the number of cards in your library, you win the game. (Each {U} in the mana costs of permanents you control counts toward your devotion to blue.) diff --git a/forge-gui/res/cardsfolder/t/thassas_rebuff.txt b/forge-gui/res/cardsfolder/t/thassas_rebuff.txt index 1592a04beb3..3798fcc767c 100644 --- a/forge-gui/res/cardsfolder/t/thassas_rebuff.txt +++ b/forge-gui/res/cardsfolder/t/thassas_rebuff.txt @@ -1,7 +1,7 @@ Name:Thassa's Rebuff ManaCost:1 U Types:Instant -A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | References$ X | SpellDescription$ Counter target spell unless its controller pays {X}, where X is your devotion to blue. +A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SpellDescription$ Counter target spell unless its controller pays {X}, where X is your devotion to blue. SVar:X:Count$Devotion.Blue SVar:Picture:http://www.wizards.com/global/images/magic/general/thassas_rebuff.jpg Oracle:Counter target spell unless its controller pays {X}, where X is your devotion to blue. (Each {U} in the mana costs of permanents you control counts toward your devotion to blue.) diff --git a/forge-gui/res/cardsfolder/t/the_akroan_war.txt b/forge-gui/res/cardsfolder/t/the_akroan_war.txt index 4e86bb85bac..a2b94769951 100644 --- a/forge-gui/res/cardsfolder/t/the_akroan_war.txt +++ b/forge-gui/res/cardsfolder/t/the_akroan_war.txt @@ -4,6 +4,6 @@ Types:Enchantment Saga K:Saga:3:DBGainControl,DBAllAttack,DBDamageTapped SVar:DBGainControl:DB$ GainControl | ValidTgts$ Creature | TgtPrompt$ Select target creature | LoseControl$ LeavesPlay | SpellDescription$ Gain control of target creature for as long as CARDNAME remains on the battlefield. SVar:DBAllAttack:DB$ PumpAll | ValidCards$ Creature.OppCtrl | UntilYourNextTurn$ True | KW$ HIDDEN CARDNAME attacks each combat if able. | SpellDescription$ Until your next turn, creatures your opponents control attack each turn if able. -SVar:DBDamageTapped:DB$ EachDamage | ValidCards$ Creature.tapped | NumDmg$ X | References$ X | DamageDesc$ damage equal to its power | DefinedCards$ Self | SpellDescription$ Each tapped creature deals damage to itself equal to its power. +SVar:DBDamageTapped:DB$ EachDamage | ValidCards$ Creature.tapped | NumDmg$ X | DamageDesc$ damage equal to its power | DefinedCards$ Self | SpellDescription$ Each tapped creature deals damage to itself equal to its power. SVar:X:Count$CardPower Oracle:(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)\nI — Gain control of target creature for as long as The Akroan War remains on the battlefield.\nII — Until your next turn, creatures your opponents control attack each combat if able.\nIII — Each tapped creature deals damage to itself equal to its power. diff --git a/forge-gui/res/cardsfolder/t/the_bears_of_littjara.txt b/forge-gui/res/cardsfolder/t/the_bears_of_littjara.txt index d08eeb81398..3658613eb97 100644 --- a/forge-gui/res/cardsfolder/t/the_bears_of_littjara.txt +++ b/forge-gui/res/cardsfolder/t/the_bears_of_littjara.txt @@ -6,7 +6,7 @@ SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ u_2_2_shapeshifter_change SVar:DBAnimate:DB$ Animate | ValidTgts$ Creature.Shapeshifter+YouCtrl | TargetMin$ 0 | TargetMax$ MaxTargets | TgtPrompt$ Select any number of Shapeshifter creatures you control | Power$ 4 | Toughness$ 4 | Permanent$ True | SpellDescription$ Any number of target Shapeshifter creatures you control have base power and toughness 4/4. SVar:DBGangUp:DB$ Pump | ValidTgts$ Creature,Planeswalker | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Choose up to one target creature or planeswalker | ImprintCards$ Targeted | SubAbility$ DBRepeatEach SVar:DBRepeatEach:DB$ RepeatEach | RepeatCards$ Creature.YouCtrl+powerGE4 | RepeatSubAbility$ DBDamage | DamageMap$ True | SubAbility$ DBCleanup | SpellDescription$ Choose up to one target creature or planeswalker. Each creature with power 4 or greater you control deals damage equal to its power to that permanent. -SVar:DBDamage:DB$ DealDamage | Defined$ Imprinted | DamageSource$ Remembered | NumDmg$ Z | References$ Z +SVar:DBDamage:DB$ DealDamage | Defined$ Imprinted | DamageSource$ Remembered | NumDmg$ Z SVar:MaxTargets:Count$Valid Creature.Shapeshifter+YouCtrl SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Z:Remembered$CardPower diff --git a/forge-gui/res/cardsfolder/t/the_binding_of_the_titans.txt b/forge-gui/res/cardsfolder/t/the_binding_of_the_titans.txt index 508c8c98a37..8466a9e7c62 100644 --- a/forge-gui/res/cardsfolder/t/the_binding_of_the_titans.txt +++ b/forge-gui/res/cardsfolder/t/the_binding_of_the_titans.txt @@ -5,7 +5,7 @@ K:Saga:3:DBAllMill,DBExileGain,DBReturn SVar:DBAllMill:DB$ Mill | Defined$ Player | NumCards$ 3 | SpellDescription$ Each player mills three cards. SVar:DBExileGain:DB$ ChangeZone | ValidTgts$ Card | Origin$ Graveyard | Destination$ Exile | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Select up to two target cards in graveyards. | RememberChanged$ True | SubAbility$ DBGainLife | SpellDescription$ Exile up to two target cards from graveyards. For each creature card exiled this way, you gain 1 life. SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Select target creature or land card in your graveyard. | ValidTgts$ Creature.YouCtrl,Land.YouCtrl | SpellDescription$ Return target creature or land card from your graveyard to your hand. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Creature DeckHas:Ability$Graveyard & Ability$GainLife diff --git a/forge-gui/res/cardsfolder/t/the_bloodsky_massacre.txt b/forge-gui/res/cardsfolder/t/the_bloodsky_massacre.txt index 5df772a7479..a4ae17cdbfb 100644 --- a/forge-gui/res/cardsfolder/t/the_bloodsky_massacre.txt +++ b/forge-gui/res/cardsfolder/t/the_bloodsky_massacre.txt @@ -7,7 +7,7 @@ SVar:DBEffect:DB$ Effect | Triggers$ TAttack | SVars$ TrigDraw,DBLoseLife | Spel SVar:TAttack:Mode$ Attacks | ValidCard$ Berserker | Execute$ TrigDraw | TriggerDescription$ Whenever a Berserker attacks this turn, you draw a card and you lose 1 life. SVar:TrigDraw:DB$ Draw | SubAbility$ DBLoseLife SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ 1 -SVar:DBMana:DB$ Mana | Produced$ R | Amount$ X | References$ X | PersistentMana$ True | SpellDescription$ Add {R} for each Berserker you control. Until end of turn, you don't lose this mana as steps and phases end. +SVar:DBMana:DB$ Mana | Produced$ R | Amount$ X | PersistentMana$ True | SpellDescription$ Add {R} for each Berserker you control. Until end of turn, you don't lose this mana as steps and phases end. SVar:X:Count$Valid Berserker.YouCtrl DeckHas:Ability$Token DeckHints:Type$Berserker diff --git a/forge-gui/res/cardsfolder/t/the_cauldron_of_eternity.txt b/forge-gui/res/cardsfolder/t/the_cauldron_of_eternity.txt index 5eb170f6aef..c7e0b5fecb6 100644 --- a/forge-gui/res/cardsfolder/t/the_cauldron_of_eternity.txt +++ b/forge-gui/res/cardsfolder/t/the_cauldron_of_eternity.txt @@ -1,7 +1,7 @@ Name:The Cauldron of Eternity ManaCost:10 B B Types:Legendary Artifact -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {2} less for each creature card in your graveyard. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {2} less for each creature card in your graveyard. SVar:X:Count$TypeInYourYard.Creature/Twice T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigChange | TriggerDescription$ Whenever a creature you control dies, put it on the bottom of its owner's library. SVar:TrigChange:DB$ ChangeZone | Defined$ TriggeredNewCardLKICopy | Origin$ Graveyard | Destination$ Library | LibraryPosition$ -1 diff --git a/forge-gui/res/cardsfolder/t/the_circle_of_loyalty.txt b/forge-gui/res/cardsfolder/t/the_circle_of_loyalty.txt index 28fbbe997c7..234e7cc6fab 100644 --- a/forge-gui/res/cardsfolder/t/the_circle_of_loyalty.txt +++ b/forge-gui/res/cardsfolder/t/the_circle_of_loyalty.txt @@ -1,7 +1,7 @@ Name:The Circle of Loyalty ManaCost:4 W W Types:Legendary Artifact -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each Knight you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each Knight you control. SVar:X:Count$Valid Knight.YouCtrl S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Creatures you control get +1/+1. T:Mode$ SpellCast | ValidCard$ Card.Legendary | ValidActivatingPlayer$ You | Execute$ TrigToken | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a legendary spell, create a 2/2 white Knight creature token with vigilance. diff --git a/forge-gui/res/cardsfolder/t/the_countdown_is_at_one.txt b/forge-gui/res/cardsfolder/t/the_countdown_is_at_one.txt index cb10e491588..b7e5d8f33d6 100644 --- a/forge-gui/res/cardsfolder/t/the_countdown_is_at_one.txt +++ b/forge-gui/res/cardsfolder/t/the_countdown_is_at_one.txt @@ -4,6 +4,6 @@ Types:Sorcery A:SP$ Subgame | RememberPlayers$ NotWin | StartingLife$ 1 | SubAbility$ DBEffect | SpellDescription$ Players play a Magic subgame, starting at 1 life and using their libraries as their decks. SVar:DBEffect:DB$ Effect | Name$ The Countdown Is at One Effect | RememberObjects$ Player.IsRemembered | ReplacementEffects$ DmgEvent | SVars$ DmgTwice,X | Duration$ Permanent | SpellDescription$ For the rest of the main game, if a source would deal damage to a player who didn’t win the subgame, it deals double that damage to that player instead. SVar:DmgEvent:Event$ DamageDone | ValidTarget$ Player.IsRemembered | ReplaceWith$ DmgTwice | Description$ If a source would deal damage to a player who didn't win the subgame, it deals double that damage to that player instead. -SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Twice Oracle:Players play a Magic subgame, starting at 1 life and using their libraries as their decks. For the rest of the main game, if a source would deal damage to a player who didn't win the subgame, it deals double that damage to that player instead. diff --git a/forge-gui/res/cardsfolder/t/the_dead_shall_serve.txt b/forge-gui/res/cardsfolder/t/the_dead_shall_serve.txt index 194071a7924..da1e48119b3 100644 --- a/forge-gui/res/cardsfolder/t/the_dead_shall_serve.txt +++ b/forge-gui/res/cardsfolder/t/the_dead_shall_serve.txt @@ -2,7 +2,7 @@ Name:The Dead Shall Serve ManaCost:no cost Types:Scheme T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ TrigControl | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, for each opponent, put up to one target creature card from that player's graveyard onto the battlefield under your control. Each of those creatures attacks its owner each combat if able. -SVar:TrigControl:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | ValidTgts$ Creature.OppCtrl | TgtZone$ Graveyard | TgtPrompt$ Choose target creature card in each opponent's graveyard | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | RememberChanged$ True | SubAbility$ DBPump +SVar:TrigControl:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | ValidTgts$ Creature.OppCtrl | TgtZone$ Graveyard | TgtPrompt$ Choose target creature card in each opponent's graveyard | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | RememberChanged$ True | SubAbility$ DBPump SVar:DBPump:DB$ PumpAll | ValidCards$ Card.IsRemembered | KW$ HIDDEN CARDNAME attacks specific player each combat if able:CardOwner | UntilLoseControl$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:OneEach:PlayerCountOpponents$Amount diff --git a/forge-gui/res/cardsfolder/t/the_elderspell.txt b/forge-gui/res/cardsfolder/t/the_elderspell.txt index 2255b8d308f..3dbae6176a7 100644 --- a/forge-gui/res/cardsfolder/t/the_elderspell.txt +++ b/forge-gui/res/cardsfolder/t/the_elderspell.txt @@ -1,8 +1,8 @@ Name:The Elderspell ManaCost:B B Types:Sorcery -A:SP$ Destroy | Cost$ B B | ValidTgts$ Planeswalker | TgtPrompt$ Select target planeswalker | TargetMin$ 0 | TargetMax$ MaxTargets | References$ MaxTargets | SubAbility$ DBPutLoyalty | RememberDestroyed$ True | SpellDescription$ Destroy any number of target planeswalkers. Choose a planeswalker you control. Put two loyalty counters on it for each planeswalker destroyed this way. -SVar:DBPutLoyalty:DB$ PutCounter | Choices$ Planeswalker.YouCtrl | CounterType$ LOYALTY | CounterNum$ X | References$ X | SubAbility$ DBCleanup +A:SP$ Destroy | Cost$ B B | ValidTgts$ Planeswalker | TgtPrompt$ Select target planeswalker | TargetMin$ 0 | TargetMax$ MaxTargets | SubAbility$ DBPutLoyalty | RememberDestroyed$ True | SpellDescription$ Destroy any number of target planeswalkers. Choose a planeswalker you control. Put two loyalty counters on it for each planeswalker destroyed this way. +SVar:DBPutLoyalty:DB$ PutCounter | Choices$ Planeswalker.YouCtrl | CounterType$ LOYALTY | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:MaxTargets:Count$Valid Planeswalker SVar:X:Count$RememberedSize/Twice diff --git a/forge-gui/res/cardsfolder/t/the_first_eruption.txt b/forge-gui/res/cardsfolder/t/the_first_eruption.txt index 9ce6ea79987..fcdfba9f519 100644 --- a/forge-gui/res/cardsfolder/t/the_first_eruption.txt +++ b/forge-gui/res/cardsfolder/t/the_first_eruption.txt @@ -5,7 +5,7 @@ K:Saga:3:TrigDamageAll,TrigMana,TrigSac SVar:TrigDamageAll:DB$ DamageAll | NumDmg$ 1 | ValidCards$ Creature.withoutFlying | ValidDescription$ Each creature without flying. | SpellDescription$ CARDNAME deals 1 damage to each creature without flying. SVar:TrigMana:DB$ Mana | Produced$ R | Amount$ 2 | AILogic$ ManaRitual | AINoRecursiveCheck$ True | SpellDescription$ Add {R}{R}. SVar:TrigSac:DB$ Sacrifice | SacValid$ Mountain | RememberSacrificed$ True | StackDescription$ SpellDescription | SubAbility$ DBDamageAll | SpellDescription$ Sacrifice a Mountain. If you do, CARDNAME deals 3 damage to each creature. -SVar:DBDamageAll:DB$ DamageAll | NumDmg$ 3 | ValidCards$ Creature | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X | StackDescription$ None | SubAbility$ DBCleanup +SVar:DBDamageAll:DB$ DamageAll | NumDmg$ 3 | ValidCards$ Creature | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | StackDescription$ None | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount Oracle:(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)\nI — The First Eruption deals 1 damage to each creature without flying.\nII — Add {R}{R}.\nIII — Sacrifice a Mountain. If you do, The First Eruption deals 3 damage to each creature. diff --git a/forge-gui/res/cardsfolder/t/the_flame_of_keld.txt b/forge-gui/res/cardsfolder/t/the_flame_of_keld.txt index 707c9da78df..3df76200f21 100644 --- a/forge-gui/res/cardsfolder/t/the_flame_of_keld.txt +++ b/forge-gui/res/cardsfolder/t/the_flame_of_keld.txt @@ -6,7 +6,7 @@ SVar:TrigDiscard:DB$ Discard | Mode$ Hand | Defined$ You | SpellDescription$ Dis SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 2 | SpellDescription$ Draw two cards. SVar:TrigEffect:DB$ Effect | Name$ The Flame of Keld Effect | ReplacementEffects$ FlameOfKeldDamageEvent | SVars$ DmgPlus2,X | SpellDescription$ If a red source you control would deal damage to a permanent or player this turn, it deals that much damage plus 2 instead. SVar:FlameOfKeldDamageEvent:Event$ DamageDone | ActiveZones$ Command | ValidSource$ Card.RedSource | ValidTarget$ Permanent,Player | ReplaceWith$ DmgPlus2 | Description$ If a red source you control would deal damage to a permanent or player this turn, it deals that much damage plus 2 instead. -SVar:DmgPlus2:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgPlus2:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Plus.2 AI:RemoveDeck:Random Oracle:(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)\nI — Discard your hand.\nII — Draw two cards.\nIII — If a red source you control would deal damage to a permanent or player this turn, it deals that much damage plus 2 to that permanent or player instead. diff --git a/forge-gui/res/cardsfolder/t/the_great_aurora.txt b/forge-gui/res/cardsfolder/t/the_great_aurora.txt index e18bb1dc897..a43264e9f27 100644 --- a/forge-gui/res/cardsfolder/t/the_great_aurora.txt +++ b/forge-gui/res/cardsfolder/t/the_great_aurora.txt @@ -6,12 +6,12 @@ A:SP$ RepeatEach | Cost$ 6 G G G | RepeatPlayers$ Player | RepeatSubAbility$ DBS SVar:DBStoreAmount:DB$ StoreSVar | SVar$ AuroraY | Type$ Count | Expression$ Valid Card.RememberedPlayerOwn | SubAbility$ DBStoreAmount2 SVar:DBStoreAmount2:DB$ StoreSVar | SVar$ AuroraZ | Type$ Count | Expression$ ValidHand Card.RememberedPlayerOwn | SubAbility$ DBShuffle SVar:DBShuffle:DB$ ChangeZoneAll | ChangeType$ Card.RememberedPlayerOwn | Origin$ Hand,Battlefield | Destination$ Library | Shuffle$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ Remembered | NumCards$ AuroraX | References$ AuroraX +SVar:DBDraw:DB$ Draw | Defined$ Remembered | NumCards$ AuroraX SVar:AuroraX:SVar$AuroraY/Plus.AuroraZ SVar:AuroraY:Number$0 SVar:AuroraZ:Number$0 SVar:RepeatLands:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBAurora | SubAbility$ DBCleanup -SVar:DBAurora:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | DefinedPlayer$ Remembered | Chooser$ Remembered | ChangeType$ Land | ChangeNum$ HandSize | References$ HandSize +SVar:DBAurora:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | DefinedPlayer$ Remembered | Chooser$ Remembered | ChangeType$ Land | ChangeNum$ HandSize SVar:HandSize:Count$ValidHand Land.RememberedPlayerCtrl SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ ExileAurora SVar:ExileAurora:DB$ ChangeZone | Origin$ Stack | Destination$ Exile | Defined$ Self diff --git a/forge-gui/res/cardsfolder/t/the_great_henge.txt b/forge-gui/res/cardsfolder/t/the_great_henge.txt index f94ab43cb44..d2900681ce2 100644 --- a/forge-gui/res/cardsfolder/t/the_great_henge.txt +++ b/forge-gui/res/cardsfolder/t/the_great_henge.txt @@ -1,7 +1,7 @@ Name:The Great Henge ManaCost:7 G G Types:Legendary Artifact -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {X} less to cast, where X is the greatest power among creatures you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {X} less to cast, where X is the greatest power among creatures you control. SVar:X:Count$GreatestPower_Creature.YouCtrl A:AB$ Mana | Cost$ T | Produced$ G | Amount$ 2 | SubAbility$ DBGainLife | SpellDescription$ Add {G}{G}. You gain 2 life. SVar:DBGainLife:DB$ GainLife | LifeAmount$ 2 diff --git a/forge-gui/res/cardsfolder/t/the_legend_of_arena.txt b/forge-gui/res/cardsfolder/t/the_legend_of_arena.txt index 80153505d4e..487c06a67bf 100644 --- a/forge-gui/res/cardsfolder/t/the_legend_of_arena.txt +++ b/forge-gui/res/cardsfolder/t/the_legend_of_arena.txt @@ -5,10 +5,10 @@ Text:CARDNAME can be your commander. K:Saga:3:DBToken,DBToken,DBSearch SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ r_2_1_human_wizard | TokenOwner$ You | SubAbility$ DBDiscount | SpellDescription$ Create a 2/1 red Human Wizard creature token. SVar:DBDiscount:DB$ Effect | StaticAbilities$ SReduceCost | SVars$ X | SpellDescription$ Spells you cast this turn cost {1} less to cast for each Wizard you control. -SVar:SReduceCost:Mode$ ReduceCost | EffectZone$ Command | ValidCard$ Card | Type$ Spell | Activator$ You | Amount$ X | References$ X | Description$ Spells you cast this turn cost {1} less to cast for each Wizard you control. +SVar:SReduceCost:Mode$ ReduceCost | EffectZone$ Command | ValidCard$ Card | Type$ Spell | Activator$ You | Amount$ X | Description$ Spells you cast this turn cost {1} less to cast for each Wizard you control. SVar:X:Count$TypeYouCtrl.Wizard SVar:DBSearch:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Planeswalker | ChangeNum$ 1 | RememberChanged$ True | SubAbility$ DBCounter | SpellDescription$ Search your library for a planeswalker card, put it onto the battlefield, then shuffle your library. -SVar:DBCounter:DB$ PutCounter | Defined$ Remembered | CounterType$ LOYALTY | CounterNum$ X | References$ X | SubAbility$ DBCleanup +SVar:DBCounter:DB$ PutCounter | Defined$ Remembered | CounterType$ LOYALTY | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True DeckHas:Ability$Token Oracle:The Legend of Arena can be your commander.\nI, II — Create a 2/1 red Human Wizard creature token. Spells you cast this turn cost {1} less to cast for each Wizard you control.\nIII — Search your library for a planeswalker card, put it onto the battlefield, then shuffle your library. It enters with an additional loyalty counter on it for each Wizard you control. diff --git a/forge-gui/res/cardsfolder/t/the_magic_mirror.txt b/forge-gui/res/cardsfolder/t/the_magic_mirror.txt index 85623eaaa67..1066b526265 100644 --- a/forge-gui/res/cardsfolder/t/the_magic_mirror.txt +++ b/forge-gui/res/cardsfolder/t/the_magic_mirror.txt @@ -1,13 +1,13 @@ Name:The Magic Mirror ManaCost:6 U U U Types:Legendary Artifact -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each instant and sorcery card in your graveyard. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {1} less to cast for each instant and sorcery card in your graveyard. SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn DeckHints:Ability$Graveyard S:Mode$ Continuous | Affected$ You | SetMaxHandSize$ Unlimited | Description$ You have no maximum hand size. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a knowledge counter on CARDNAME, then draw a card for each knowledge counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ KNOWLEDGE | CounterNum$ 1 | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ Y | References$ Y +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ Y SVar:Y:Count$CardCounters.KNOWLEDGE DeckHas:Ability$Counters Oracle:This spell costs {1} less to cast for each instant and sorcery card in your graveyard.\nYou have no maximum hand size.\nAt the beginning of your upkeep, put a knowledge counter on The Magic Mirror, then draw a card for each knowledge counter on The Magic Mirror. diff --git a/forge-gui/res/cardsfolder/t/the_mighty_will_fall.txt b/forge-gui/res/cardsfolder/t/the_mighty_will_fall.txt index cc643b45afe..8c5f97ac470 100644 --- a/forge-gui/res/cardsfolder/t/the_mighty_will_fall.txt +++ b/forge-gui/res/cardsfolder/t/the_mighty_will_fall.txt @@ -2,7 +2,7 @@ Name:The Mighty Will Fall ManaCost:no cost Types:Scheme T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ DBChoosePlayer | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, choose an opponent with the highest life total among your opponents. That player loses 7 life. -SVar:DBChoosePlayer:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent+LifeEquals_X | References$ X | SubAbility$ DBLoseLife +SVar:DBChoosePlayer:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent+LifeEquals_X | SubAbility$ DBLoseLife SVar:DBLoseLife:DB$ LoseLife | Defined$ ChosenPlayer | LifeAmount$ 7 SVar:X:PlayerCountOpponents$HighestLifeTotal SVar:Picture:https://downloads.cardforge.org/images/cards/ARC/The Mighty Will Fall.full.jpg diff --git a/forge-gui/res/cardsfolder/t/the_mimeoplasm.txt b/forge-gui/res/cardsfolder/t/the_mimeoplasm.txt index af950cc00f7..af2580bad04 100644 --- a/forge-gui/res/cardsfolder/t/the_mimeoplasm.txt +++ b/forge-gui/res/cardsfolder/t/the_mimeoplasm.txt @@ -4,12 +4,12 @@ Types:Legendary Creature Ooze PT:0/0 K:ETBReplacement:Copy:MimeoChooseTwo:Optional # Make SVars for granting abilities and triggers on clones distinct to avoid SVars getting overwritten when cloning a clone -SVar:MimeoChooseTwo:DB$ ChooseCard | ConditionCheckSVar$ MimeoInYard | References$ MimeoInYard | ConditionSVarCompare$ GE2 | Defined$ You | Amount$ 2 | Mandatory$ True | AILogic$ Clone | ChoiceTitle$ Choose creature to exile | Choices$ Creature | ChoiceZone$ Graveyard | RememberChosen$ True | SubAbility$ MimeoExile | SpellDescription$ As CARDNAME enters the battlefield, you may exile two creature cards from graveyards. If you do, it enters the battlefield as a copy of one of those cards with a number of additional +1/+1 counters on it equal to the power of the other card. -SVar:MimeoExile:DB$ ChangeZoneAll | ConditionCheckSVar$ MimeoNumRemembered | References$ MimeoNumRemembered | ConditionSVarCompare$ EQ2 | Origin$ Graveyard | Destination$ Exile | ChangeType$ Card.IsRemembered | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ MimeoChooseCopy -SVar:MimeoChooseCopy:DB$ ChooseCard | ConditionCheckSVar$ MimeoNumRemembered | References$ MimeoNumRemembered | ConditionSVarCompare$ EQ2 | Defined$ You | Amount$ 1 | Mandatory$ True | AILogic$ Clone | ChoiceTitle$ Choose creature to copy | Choices$ Creature.IsRemembered | ChoiceZone$ Exile | ForgetChosen$ True | SubAbility$ MimeoAddCounters +SVar:MimeoChooseTwo:DB$ ChooseCard | ConditionCheckSVar$ MimeoInYard | ConditionSVarCompare$ GE2 | Defined$ You | Amount$ 2 | Mandatory$ True | AILogic$ Clone | ChoiceTitle$ Choose creature to exile | Choices$ Creature | ChoiceZone$ Graveyard | RememberChosen$ True | SubAbility$ MimeoExile | SpellDescription$ As CARDNAME enters the battlefield, you may exile two creature cards from graveyards. If you do, it enters the battlefield as a copy of one of those cards with a number of additional +1/+1 counters on it equal to the power of the other card. +SVar:MimeoExile:DB$ ChangeZoneAll | ConditionCheckSVar$ MimeoNumRemembered | ConditionSVarCompare$ EQ2 | Origin$ Graveyard | Destination$ Exile | ChangeType$ Card.IsRemembered | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ MimeoChooseCopy +SVar:MimeoChooseCopy:DB$ ChooseCard | ConditionCheckSVar$ MimeoNumRemembered | ConditionSVarCompare$ EQ2 | Defined$ You | Amount$ 1 | Mandatory$ True | AILogic$ Clone | ChoiceTitle$ Choose creature to copy | Choices$ Creature.IsRemembered | ChoiceZone$ Exile | ForgetChosen$ True | SubAbility$ MimeoAddCounters # Order matters here, put counters first so clone doesn't have to add SVars -SVar:MimeoAddCounters:DB$ PutCounter | ETB$ True | Defined$ Self | ConditionCheckSVar$ MimeoNumRemembered | ConditionSVarCompare$ EQ1 | CounterType$ P1P1 | CounterNum$ MimeoX | References$ MimeoX,MimeoNumRemembered | SubAbility$ MimeoCopyChosen -SVar:MimeoCopyChosen:DB$ Clone | Defined$ ChosenCard | ConditionCheckSVar$ MimeoNumRemembered | References$ MimeoNumRemembered | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup +SVar:MimeoAddCounters:DB$ PutCounter | ETB$ True | Defined$ Self | ConditionCheckSVar$ MimeoNumRemembered | ConditionSVarCompare$ EQ1 | CounterType$ P1P1 | CounterNum$ MimeoX | SubAbility$ MimeoCopyChosen +SVar:MimeoCopyChosen:DB$ Clone | Defined$ ChosenCard | ConditionCheckSVar$ MimeoNumRemembered | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearChosen$ True SVar:MimeoInYard:Count$TypeInAllYards.Creature SVar:MimeoNumRemembered:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/t/the_rack.txt b/forge-gui/res/cardsfolder/t/the_rack.txt index 093f3731a86..72619d7269f 100644 --- a/forge-gui/res/cardsfolder/t/the_rack.txt +++ b/forge-gui/res/cardsfolder/t/the_rack.txt @@ -4,7 +4,7 @@ Types:Artifact K:ETBReplacement:Other:ChooseP SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | AILogic$ Curse | SpellDescription$ As CARDNAME enters the battlefield, choose an opponent. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player.Chosen | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of the chosen player's upkeep, CARDNAME deals X damage to that player, where X is 3 minus the number of cards in their hand. -SVar:TrigDamage:DB$ DealDamage | Defined$ ChosenPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ ChosenPlayer | NumDmg$ X SVar:X:Count$InChosenHand/NMinus.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/the_rack.jpg Oracle:As The Rack enters the battlefield, choose an opponent.\nAt the beginning of the chosen player's upkeep, The Rack deals X damage to that player, where X is 3 minus the number of cards in their hand. diff --git a/forge-gui/res/cardsfolder/t/the_royal_scions.txt b/forge-gui/res/cardsfolder/t/the_royal_scions.txt index f333b7f136a..ab258199448 100644 --- a/forge-gui/res/cardsfolder/t/the_royal_scions.txt +++ b/forge-gui/res/cardsfolder/t/the_royal_scions.txt @@ -8,6 +8,6 @@ AI:RemoveDeck:All A:AB$ Pump | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +2 | KW$ First Strike & Trample | SpellDescription$ Target creature gets +2/+0 and gains first strike and trample until end of turn. A:AB$ Draw | Cost$ SubCounter<8/LOYALTY> | Planeswalker$ True | Ultimate$ True | NumCards$ 4 | SubAbility$ DBTrigger | SpellDescription$ Draw four cards. When you do, CARDNAME deals damage to any target equal to the number of cards in your hand. SVar:DBTrigger:DB$ ImmediateTrigger | Execute$ DBDamage | TriggerDescription$ When you do, CARDNAME deals damage to any target equal to the number of cards in your hand. -SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$InYourHand Oracle:[+1]: Draw a card, then discard a card.\n[+1]: Target creature gets +2/+0 and gains first strike and trample until end of turn.\n[−8]: Draw four cards. When you do, The Royal Scions deals damage to any target equal to the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/t/the_scarab_god.txt b/forge-gui/res/cardsfolder/t/the_scarab_god.txt index 6a1fdc9e3c5..70f64ba376a 100644 --- a/forge-gui/res/cardsfolder/t/the_scarab_god.txt +++ b/forge-gui/res/cardsfolder/t/the_scarab_god.txt @@ -3,8 +3,8 @@ ManaCost:3 U B Types:Legendary Creature God PT:5/5 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDrain | TriggerDescription$ At the beginning of your upkeep, each opponent loses X life and you scry X, where X is the number of Zombies you control. -SVar:TrigDrain:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | References$ X | SubAbility$ DBScry -SVar:DBScry:DB$ Scry | ScryNum$ X | References$ X +SVar:TrigDrain:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | SubAbility$ DBScry +SVar:DBScry:DB$ Scry | ScryNum$ X A:AB$ ChangeZone | Cost$ 2 U B | RememberLKI$ True | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Creature | ChangeNum$ 1 | SubAbility$ DBCopy | AILogic$ TheScarabGod | SpellDescription$ Exile target creature card from a graveyard. Create a token that's a copy of it, except it's a 4/4 black Zombie. SVar:DBCopy:DB$ CopyPermanent | Defined$ Remembered | SetPower$ 4 | SetToughness$ 4 | SetColor$ Black | SetCreatureTypes$ Zombie | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/t/the_triumph_of_anax.txt b/forge-gui/res/cardsfolder/t/the_triumph_of_anax.txt index 6a6b9d25af5..dd655640031 100755 --- a/forge-gui/res/cardsfolder/t/the_triumph_of_anax.txt +++ b/forge-gui/res/cardsfolder/t/the_triumph_of_anax.txt @@ -2,7 +2,7 @@ Name:The Triumph of Anax ManaCost:2 R Types:Enchantment Saga K:Saga:4:DBPump,DBPump,DBPump,DBPick -SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X | KW$ Trample | SpellDescription$ Until end of turn, target creature gains trample and gets +X/+0, where X is the number of lore counters on CARDNAME. +SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | KW$ Trample | SpellDescription$ Until end of turn, target creature gains trample and gets +X/+0, where X is the number of lore counters on CARDNAME. SVar:X:Count$CardCounters.LORE SVar:PlayMain1:TRUE SVar:DBPick:DB$ Pump | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | SubAbility$ DBFight | SpellDescription$ Target creature you control fights up to one target creature you don't control. (Each deals damage equal to its power to the other.) diff --git a/forge-gui/res/cardsfolder/t/the_ur_dragon.txt b/forge-gui/res/cardsfolder/t/the_ur_dragon.txt index 82dc83027a7..65679101580 100644 --- a/forge-gui/res/cardsfolder/t/the_ur_dragon.txt +++ b/forge-gui/res/cardsfolder/t/the_ur_dragon.txt @@ -5,7 +5,7 @@ PT:10/10 S:Mode$ ReduceCost | EffectZone$ Battlefield,Command | ValidCard$ Dragon.Other | Type$ Spell | Activator$ You | Amount$ 1 | Description$ Eminence — As long as CARDNAME is in the command zone or on the battlefield, other Dragon spells you cast cost {1} less to cast. K:Flying T:Mode$ AttackersDeclared | ValidAttackers$ Dragon.YouCtrl | Execute$ TrigDraw | TriggerZones$ Battlefield | TriggerDescription$ Whenever one or more Dragons you control attack, draw that many cards, then you may put a permanent card from your hand onto the battlefield. -SVar:TrigDraw:DB$ Draw | NumCards$ X | References$ X | SubAbility$ DBChangeZone +SVar:TrigDraw:DB$ Draw | NumCards$ X | SubAbility$ DBChangeZone SVar:DBChangeZone:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | ChangeType$ Permanent | ChangeNum$ 1 SVar:X:TriggerObjectsAttackers$Valid Dragon.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/the_ur_dragon.jpg diff --git a/forge-gui/res/cardsfolder/t/the_world_tree.txt b/forge-gui/res/cardsfolder/t/the_world_tree.txt index 2f81d6098d3..6ed5435950a 100644 --- a/forge-gui/res/cardsfolder/t/the_world_tree.txt +++ b/forge-gui/res/cardsfolder/t/the_world_tree.txt @@ -5,7 +5,7 @@ K:CARDNAME enters the battlefield tapped. A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add {G}. S:Mode$ Continuous | Affected$ Land.YouCtrl | AddAbility$ AnyMana | IsPresent$ Land.YouCtrl | PresentCompare$ GE6 | Description$ As long as you control six or more lands, lands you control have "{T}: Add one mana of any color." SVar:AnyMana:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 1 | SpellDescription$ Add one mana of any color. -A:AB$ ChangeZone | Cost$ W W U U B B R R G G T Sac<1/CARDNAME> | Origin$ Library | Destination$ Battlefield | ChangeType$ God | ChangeNum$ XFetch | StackDescription$ SpellDescription | References$ XFetch | SpellDescription$ Search your library for any number of God cards, put them onto the battlefield, then shuffle your library. +A:AB$ ChangeZone | Cost$ W W U U B B R R G G T Sac<1/CARDNAME> | Origin$ Library | Destination$ Battlefield | ChangeType$ God | ChangeNum$ XFetch | StackDescription$ SpellDescription | SpellDescription$ Search your library for any number of God cards, put them onto the battlefield, then shuffle your library. SVar:XFetch:Count$TypeInYourLibrary.God DeckHints:Type$God Oracle:The World Tree enters the battlefield tapped.\n{T}: Add {G}.\nAs long as you control six or more lands, lands you control have "{T}: Add one mana of any color."\n{W}{W}{U}{U}{B}{B}{R}{R}{G}{G}, {T}, Sacrifice The World Tree: Search your library for any number of God cards, put them onto the battlefield, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/t/theater_of_horrors.txt b/forge-gui/res/cardsfolder/t/theater_of_horrors.txt index 851099dfeb9..cdebe368331 100644 --- a/forge-gui/res/cardsfolder/t/theater_of_horrors.txt +++ b/forge-gui/res/cardsfolder/t/theater_of_horrors.txt @@ -3,7 +3,7 @@ ManaCost:1 B R Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, exile the top card of your library. SVar:TrigExile:DB$ Dig | Defined$ You | DestinationZone$ Exile | DigNum$ 1 | ChangeNum$ All | RememberChanged$ True -S:Mode$ Continuous | Affected$ Card.IsRemembered | AffectedZone$ Exile | MayPlay$ True | Condition$ PlayerTurn | CheckSVar$ X | References$ X | Description$ During your turn, if an opponent lost life this turn, you may play lands and cast spells from among cards exiled with CARDNAME. +S:Mode$ Continuous | Affected$ Card.IsRemembered | AffectedZone$ Exile | MayPlay$ True | Condition$ PlayerTurn | CheckSVar$ X | Description$ During your turn, if an opponent lost life this turn, you may play lands and cast spells from among cards exiled with CARDNAME. SVar:X:Count$LifeOppsLostThisTurn T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered | Execute$ DBForget SVar:DBForget:DB$ Pump | Defined$ TriggeredCard | ForgetObjects$ TriggeredCard diff --git a/forge-gui/res/cardsfolder/t/theft_of_dreams.txt b/forge-gui/res/cardsfolder/t/theft_of_dreams.txt index a3ece4726c8..7542ad9d21e 100644 --- a/forge-gui/res/cardsfolder/t/theft_of_dreams.txt +++ b/forge-gui/res/cardsfolder/t/theft_of_dreams.txt @@ -1,7 +1,7 @@ Name:Theft of Dreams ManaCost:2 U Types:Sorcery -A:SP$ Draw | Cost$ 2 U | Defined$ You | ValidTgts$ Opponent | NumCards$ X | References$ X | SpellDescription$ Draw a card for each tapped creature target opponent controls. +A:SP$ Draw | Cost$ 2 U | Defined$ You | ValidTgts$ Opponent | NumCards$ X | SpellDescription$ Draw a card for each tapped creature target opponent controls. SVar:X:Count$Valid Creature.tapped+TargetedPlayerCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/theft_of_dreams.jpg Oracle:Draw a card for each tapped creature target opponent controls. diff --git a/forge-gui/res/cardsfolder/t/thelons_curse.txt b/forge-gui/res/cardsfolder/t/thelons_curse.txt index c1d71b2d588..23be914dcfb 100644 --- a/forge-gui/res/cardsfolder/t/thelons_curse.txt +++ b/forge-gui/res/cardsfolder/t/thelons_curse.txt @@ -3,7 +3,7 @@ ManaCost:G G Types:Enchantment S:Mode$ Continuous | Affected$ Creature.Blue | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | Description$ Blue creatures don't untap during their controllers' untap steps. T:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | Execute$ TrigChoose | TriggerDescription$ At the beginning of each player's upkeep, that player may choose any number of tapped blue creatures they control and pay {U} for each creature chosen this way. If the player does, untap those creatures. -SVar:TrigChoose:DB$ ChooseCard | Defined$ TriggeredPlayer | Amount$ X | References$ X | Choices$ Creature.tapped+Blue | TargetControls$ True | ChoiceTitle$ Choose any number of tapped nongreen creatures you control | ChoiceZone$ Battlefield | SubAbility$ DBUntap +SVar:TrigChoose:DB$ ChooseCard | Defined$ TriggeredPlayer | Amount$ X | Choices$ Creature.tapped+Blue | TargetControls$ True | ChoiceTitle$ Choose any number of tapped nongreen creatures you control | ChoiceZone$ Battlefield | SubAbility$ DBUntap SVar:DBUntap:DB$ RepeatEach | DefinedCards$ ChosenCard | RepeatSubAbility$ UntapEach SVar:UntapEach:DB$ Untap | Defined$ Remembered | UnlessCost$ U | UnlessPayer$ RememberedController | UnlessSwitched$ True | ShowCurrentCard$ Remembered SVar:X:Count$Valid Creature.tapped+Blue+ActivePlayerCtrl diff --git a/forge-gui/res/cardsfolder/t/thermal_blast.txt b/forge-gui/res/cardsfolder/t/thermal_blast.txt index 73d27392b58..0bc0f830bcb 100644 --- a/forge-gui/res/cardsfolder/t/thermal_blast.txt +++ b/forge-gui/res/cardsfolder/t/thermal_blast.txt @@ -1,7 +1,7 @@ Name:Thermal Blast ManaCost:4 R Types:Instant -A:SP$ DealDamage | Cost$ 4 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals 3 damage to target creature. Threshold — CARDNAME deals 5 damage instead if seven or more cards are in your graveyard. +A:SP$ DealDamage | Cost$ 4 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals 3 damage to target creature. Threshold — CARDNAME deals 5 damage instead if seven or more cards are in your graveyard. SVar:X:Count$Threshold.5.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/thermal_blast.jpg Oracle:Thermal Blast deals 3 damage to target creature.\nThreshold — Thermal Blast deals 5 damage instead if seven or more cards are in your graveyard. diff --git a/forge-gui/res/cardsfolder/t/thief_of_blood.txt b/forge-gui/res/cardsfolder/t/thief_of_blood.txt index dad73b276bd..eb91d9e6128 100644 --- a/forge-gui/res/cardsfolder/t/thief_of_blood.txt +++ b/forge-gui/res/cardsfolder/t/thief_of_blood.txt @@ -5,7 +5,7 @@ PT:1/1 K:Flying K:ETBReplacement:Other:DBRemoveCounterAll SVar:DBRemoveCounterAll:DB$ RemoveCounterAll | ValidCards$ Permanent | AllCounterTypes$ True | StackDescription$ SpellDescription | SubAbility$ DBPutCounters | RememberAmount$ True | SpellDescription$ As CARDNAME enters the battlefield, remove all counters from all permanents. CARDNAME enters the battlefield with a +1/+1 counter on it for each counter removed this way. -SVar:DBPutCounters:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBCleanup +SVar:DBPutCounters:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$ChosenNumber AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/t/thieves_guild_enforcer.txt b/forge-gui/res/cardsfolder/t/thieves_guild_enforcer.txt index 5c7e90e6cee..61127b748f7 100755 --- a/forge-gui/res/cardsfolder/t/thieves_guild_enforcer.txt +++ b/forge-gui/res/cardsfolder/t/thieves_guild_enforcer.txt @@ -8,6 +8,6 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Rogue. SVar:TrigMill:DB$ Mill | Defined$ Player.Opponent | NumCards$ 2 SVar:BuffedBy:Rogue DeckHints:Type$Rogue -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 2 | AddToughness$ 1 | AddKeyword$ Deathtouch | CheckSVar$ X | SVarCompare$ GE8 | References$ X | Description$ As long as an opponent has eight or more cards in their graveyard, CARDNAME gets +2/+1 and has deathtouch. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 2 | AddToughness$ 1 | AddKeyword$ Deathtouch | CheckSVar$ X | SVarCompare$ GE8 | Description$ As long as an opponent has eight or more cards in their graveyard, CARDNAME gets +2/+1 and has deathtouch. SVar:X:PlayerCountOpponents$HighestCardsInGraveyard Oracle:Flash\nWhenever Thieves' Guild Enforcer or another Rogue enters the battlefield under your control, each opponent mills two cards.\nAs long as an opponent has eight or more cards in their graveyard, Thieves' Guild Enforcer gets +2/+1 and has deathtouch. diff --git a/forge-gui/res/cardsfolder/t/thieving_skydiver.txt b/forge-gui/res/cardsfolder/t/thieving_skydiver.txt index 1167286ab09..3edc6e5df6e 100755 --- a/forge-gui/res/cardsfolder/t/thieving_skydiver.txt +++ b/forge-gui/res/cardsfolder/t/thieving_skydiver.txt @@ -5,7 +5,7 @@ PT:2/1 K:Kicker:XCantBe0 X K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self+kicked | Execute$ TrigKicker | TriggerDescription$ When CARDNAME enters the battlefield, if it was kicked, gain control of target artifact with converted mana cost X or less. If that artifact is an Equipment, attach it to CARDNAME. -SVar:TrigKicker:DB$ GainControl | ValidTgts$ Artifact.cmcLEX | TgtPrompt$ Select target artifact with converted mana cost X or less | References$ X | SubAbility$ DBAttach +SVar:TrigKicker:DB$ GainControl | ValidTgts$ Artifact.cmcLEX | TgtPrompt$ Select target artifact with converted mana cost X or less | SubAbility$ DBAttach SVar:DBAttach:DB$ Attach | Object$ ParentTarget | Defined$ TriggeredCardLKICopy | ConditionDefined$ ParentTarget | ConditionPresent$ Card.Equipment | ConditionCompare$ GE1 SVar:X:Count$xPaid Oracle:Kicker {X}. X can't be 0. (You may pay an additional {X} as you cast this spell.)\nFlying\nWhen Thieving Skydiver enters the battlefield, if it was kicked, gain control of target artifact with converted mana cost X or less. If that artifact is an Equipment, attach it to Thieving Skydiver. diff --git a/forge-gui/res/cardsfolder/t/thieving_sprite.txt b/forge-gui/res/cardsfolder/t/thieving_sprite.txt index 223dc1fe6d5..f07e2b74109 100644 --- a/forge-gui/res/cardsfolder/t/thieving_sprite.txt +++ b/forge-gui/res/cardsfolder/t/thieving_sprite.txt @@ -4,7 +4,7 @@ Types:Creature Faerie Rogue PT:1/1 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBDiscard | TriggerDescription$ Whenever CARDNAME enters the battlefield, target player reveals X cards from their hand, where X is the number of Faeries you control. You choose one of those cards. That player discards that card. -SVar:DBDiscard:DB$ Discard | ValidTgts$ Player | NumCards$ 1 | RevealNumber$ X | References$ X | Mode$ RevealYouChoose | DiscardValid$ Card +SVar:DBDiscard:DB$ Discard | ValidTgts$ Player | NumCards$ 1 | RevealNumber$ X | Mode$ RevealYouChoose | DiscardValid$ Card SVar:X:Count$TypeYouCtrl.Faerie SVar:Picture:http://www.wizards.com/global/images/magic/general/thieving_sprite.jpg Oracle:Flying\nWhen Thieving Sprite enters the battlefield, target player reveals X cards from their hand, where X is the number of Faeries you control. You choose one of those cards. That player discards that card. diff --git a/forge-gui/res/cardsfolder/t/thornmantle_striker.txt b/forge-gui/res/cardsfolder/t/thornmantle_striker.txt index e2838446169..b4fa4138c83 100644 --- a/forge-gui/res/cardsfolder/t/thornmantle_striker.txt +++ b/forge-gui/res/cardsfolder/t/thornmantle_striker.txt @@ -4,8 +4,8 @@ Types:Creature Elf Rogue PT:4/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigCharm | TriggerDescription$ When CARDNAME enters the battlefield, ABILITY SVar:TrigCharm:DB$ Charm | Choices$ DBRemoveCounter,DBPump -SVar:DBRemoveCounter:DB$ RemoveCounter | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | CounterType$ Any | CounterNum$ X | References$ X | SpellDescription$ Remove X counters from target permanent, where X is the number of Elves you control. -SVar:DBPump:DB$ Pump | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | IsCurse$ True | NumAtt$ -X | NumDef$ -X | References$ X | SpellDescription$ Target creature an opponent controls gets -X/-X until end of turn, where X is the number of Elves you control. +SVar:DBRemoveCounter:DB$ RemoveCounter | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | CounterType$ Any | CounterNum$ X | SpellDescription$ Remove X counters from target permanent, where X is the number of Elves you control. +SVar:DBPump:DB$ Pump | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | IsCurse$ True | NumAtt$ -X | NumDef$ -X | SpellDescription$ Target creature an opponent controls gets -X/-X until end of turn, where X is the number of Elves you control. SVar:X:Count$Valid Elf.YouCtrl DeckNeeds:Type$Elf Oracle:When Thornmantle Striker enters the battlefield, choose one —\n• Remove X counters from target permanent, where X is the number of Elves you control.\n• Target creature an opponent controls gets -X/-X until end of turn, where X is the number of Elves you control. diff --git a/forge-gui/res/cardsfolder/t/thought_dissector.txt b/forge-gui/res/cardsfolder/t/thought_dissector.txt index 57f688cee6b..678e51dd4b1 100644 --- a/forge-gui/res/cardsfolder/t/thought_dissector.txt +++ b/forge-gui/res/cardsfolder/t/thought_dissector.txt @@ -1,8 +1,8 @@ Name:Thought Dissector ManaCost:4 Types:Artifact -A:AB$ DigUntil | Cost$ X T | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | References$ X | MaxRevealed$ X | Valid$ Artifact | IsCurse$ True | ValidDescription$ artifact | RevealedDestination$ Graveyard | FoundDestination$ Battlefield | GainControl$ True | RememberFound$ True | SubAbility$ SacThought | SpellDescription$ Target opponent reveals cards from the top of their library until an artifact card or X cards are revealed, whichever comes first. If an artifact card is revealed this way, put it onto the battlefield under your control and sacrifice CARDNAME. Put the rest of the revealed cards into that player's graveyard. -SVar:SacThought:DB$ Sacrifice | ConditionCheckSVar$ Found | ConditionSVarCompare$ EQ1 | References$ Found | SubAbility$ DBCleanup +A:AB$ DigUntil | Cost$ X T | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | MaxRevealed$ X | Valid$ Artifact | IsCurse$ True | ValidDescription$ artifact | RevealedDestination$ Graveyard | FoundDestination$ Battlefield | GainControl$ True | RememberFound$ True | SubAbility$ SacThought | SpellDescription$ Target opponent reveals cards from the top of their library until an artifact card or X cards are revealed, whichever comes first. If an artifact card is revealed this way, put it onto the battlefield under your control and sacrifice CARDNAME. Put the rest of the revealed cards into that player's graveyard. +SVar:SacThought:DB$ Sacrifice | ConditionCheckSVar$ Found | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Found:Remembered$Amount SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/t/thought_gorger.txt b/forge-gui/res/cardsfolder/t/thought_gorger.txt index e8ae5953232..805a9a5e3b2 100644 --- a/forge-gui/res/cardsfolder/t/thought_gorger.txt +++ b/forge-gui/res/cardsfolder/t/thought_gorger.txt @@ -4,12 +4,12 @@ Types:Creature Horror PT:2/2 K:Trample T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ EatMyThoughts | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME enters the battlefield, put a +1/+1 counter on it for each card in your hand. If you do, discard your hand. -SVar:EatMyThoughts:DB$ PutCounter | Defined$ Self | CounterNum$ OldThoughts | CounterType$ P1P1 | References$ OldThoughts | RememberCards$ True | SubAbility$ GorgeOnThoughts +SVar:EatMyThoughts:DB$ PutCounter | Defined$ Self | CounterNum$ OldThoughts | CounterType$ P1P1 | RememberCards$ True | SubAbility$ GorgeOnThoughts SVar:GorgeOnThoughts:DB$ Discard | Mode$ Hand | Defined$ You | ConditionDescription$ If you do, | ConditionDefined$ Remembered | ConditionPresent$ Card | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:OldThoughts:Count$InYourHand T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ BringBackThoughts | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, draw a card for each +1/+1 counter on it. -SVar:BringBackThoughts:DB$ Draw | NumCards$ Disgorge | References$ Disgorge | Defined$ TriggeredCardController +SVar:BringBackThoughts:DB$ Draw | NumCards$ Disgorge | Defined$ TriggeredCardController SVar:Disgorge:TriggeredCard$CardCounters.P1P1 AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/thought_gorger.jpg diff --git a/forge-gui/res/cardsfolder/t/thought_hemorrhage.txt b/forge-gui/res/cardsfolder/t/thought_hemorrhage.txt index 42fe770552e..ad85f110327 100644 --- a/forge-gui/res/cardsfolder/t/thought_hemorrhage.txt +++ b/forge-gui/res/cardsfolder/t/thought_hemorrhage.txt @@ -5,8 +5,8 @@ A:SP$ NameCard | Cost$ 2 B R | ValidCards$ Card.nonLand | SubAbility$ DBReveal | SVar:DBReveal:DB$ RevealHand | RememberRevealed$ True | ValidTgts$ Player | TgtPrompt$ Select target player | SubAbility$ DBDamage SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | SubAbility$ ExileYard SVar:ExileYard:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Exile | Defined$ Targeted | ChangeType$ Card.NamedCard | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | References$ NumInHand | AlreadyRevealed$ True | StackDescription$ None -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | References$ NumInLib | SubAbility$ DBCleanup | StackDescription$ None +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInHand | Chooser$ You | SubAbility$ ExileLib | AlreadyRevealed$ True | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ NumInLib | Chooser$ You | Search$ True | Shuffle$ True | SubAbility$ DBCleanup | StackDescription$ None SVar:NumInLib:TargetedPlayer$CardsInLibrary SVar:NumInHand:TargetedPlayer$CardsInHand SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/t/thought_sponge.txt b/forge-gui/res/cardsfolder/t/thought_sponge.txt index 73c1e29f250..ce7aa4e5658 100644 --- a/forge-gui/res/cardsfolder/t/thought_sponge.txt +++ b/forge-gui/res/cardsfolder/t/thought_sponge.txt @@ -6,6 +6,6 @@ K:Flash K:etbCounter:P1P1:X:no Condition:CARDNAME enters the battlefield with a number of +1/+1 counters on it equal to the greatest number of cards an opponent has drawn this turn. SVar:X:PlayerCountOpponents$HighestCardsDrawn T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, draw cards equal to its power. -SVar:TrigDraw:DB$Draw | NumCards$ XPower | References$ XPower +SVar:TrigDraw:DB$Draw | NumCards$ XPower SVar:XPower:TriggeredCard$CardPower Oracle:Flash\nThought Sponge enters the battlefield with a number of +1/+1 counters on it equal to the greatest number of cards an opponent has drawn this turn.\nWhen Thought Sponge dies, draw cards equal to its power. diff --git a/forge-gui/res/cardsfolder/t/thoughts_of_ruin.txt b/forge-gui/res/cardsfolder/t/thoughts_of_ruin.txt index 6ee35ea0c36..4b2f6febe4c 100644 --- a/forge-gui/res/cardsfolder/t/thoughts_of_ruin.txt +++ b/forge-gui/res/cardsfolder/t/thoughts_of_ruin.txt @@ -1,7 +1,7 @@ Name:Thoughts of Ruin ManaCost:2 R R Types:Sorcery -A:SP$ Sacrifice | Cost$ 2 R R | SacValid$ Land | Amount$ X | References$ X | Defined$ Player | SpellDescription$ Each player sacrifices a land for each card in your hand. +A:SP$ Sacrifice | Cost$ 2 R R | SacValid$ Land | Amount$ X | Defined$ Player | SpellDescription$ Each player sacrifices a land for each card in your hand. SVar:X:Count$InYourHand AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/thoughts_of_ruin.jpg diff --git a/forge-gui/res/cardsfolder/t/thousand_year_storm.txt b/forge-gui/res/cardsfolder/t/thousand_year_storm.txt index 2f1701645e6..b5092d3e7db 100644 --- a/forge-gui/res/cardsfolder/t/thousand_year_storm.txt +++ b/forge-gui/res/cardsfolder/t/thousand_year_storm.txt @@ -2,7 +2,7 @@ Name:Thousand-Year Storm ManaCost:4 U R Types:Enchantment T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | Execute$ TrigCopy | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast an instant or sorcery spell, copy it for each other instant and sorcery spell you've cast before it this turn. You may choose new targets for the copies. -SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | Amount$ X | References$ X | MayChooseTarget$ True +SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | Amount$ X | MayChooseTarget$ True SVar:X:TriggerObjectsCurrentCastSpells$Valid Sorcery.YouCtrl,Instant.YouCtrl/Minus.1 DeckHints:Type$Instant|Sorcery Oracle:Whenever you cast an instant or sorcery spell, copy it for each other instant and sorcery spell you've cast before it this turn. You may choose new targets for the copies. diff --git a/forge-gui/res/cardsfolder/t/thrash_threat.txt b/forge-gui/res/cardsfolder/t/thrash_threat.txt index 3d9bd74b490..be712640725 100644 --- a/forge-gui/res/cardsfolder/t/thrash_threat.txt +++ b/forge-gui/res/cardsfolder/t/thrash_threat.txt @@ -3,7 +3,7 @@ ManaCost:R/G R/G AlternateMode: Split Types:Instant A:SP$ Pump | Cost$ RG RG | ValidTgts$ Creature.YouCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you control | SubAbility$ SoulsDamage | StackDescription$ None | SpellDescription$ Target creature you control deals damage equal to its power to target creature you don't control -SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl,Planeswalker.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature or planeswalker you don't control | NumDmg$ X | References$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget +SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl,Planeswalker.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature or planeswalker you don't control | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower Oracle:Target creature you control deals damage equal to its power to target creature or planeswalker you don't control. diff --git a/forge-gui/res/cardsfolder/t/thrashing_mudspawn.txt b/forge-gui/res/cardsfolder/t/thrashing_mudspawn.txt index 3ae823ad5a2..7e201ce8e52 100644 --- a/forge-gui/res/cardsfolder/t/thrashing_mudspawn.txt +++ b/forge-gui/res/cardsfolder/t/thrashing_mudspawn.txt @@ -3,7 +3,7 @@ ManaCost:3 B B Types:Creature Beast PT:4/4 T:Mode$ DamageDoneOnce | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ Whenever CARDNAME is dealt damage, you lose that much life. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount K:Morph:1 B B SVar:Picture:http://www.wizards.com/global/images/magic/general/thrashing_mudspawn.jpg diff --git a/forge-gui/res/cardsfolder/t/threnody_singer.txt b/forge-gui/res/cardsfolder/t/threnody_singer.txt index baca2e89c7a..7de709c4b12 100644 --- a/forge-gui/res/cardsfolder/t/threnody_singer.txt +++ b/forge-gui/res/cardsfolder/t/threnody_singer.txt @@ -5,6 +5,6 @@ PT:1/3 K:Flash K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBPump | TriggerDescription$ When CARDNAME enters the battlefield, target creature an opponent controls gets -X/-0 until end of turn, where X is your devotion to blue. (Each {U} in the mana costs of permanents you control counts toward your devotion to blue.) -SVar:DBPump:DB$ Pump | ValidTgts$ Creature.OppCtrl | IsCurse$ True | NumAtt$ -X | References$ X | +SVar:DBPump:DB$ Pump | ValidTgts$ Creature.OppCtrl | IsCurse$ True | NumAtt$ -X | SVar:X:Count$Devotion.Blue Oracle:Flash\nFlying\nWhen Threnody Singer enters the battlefield, target creature an opponent controls gets -X/-0 until end of turn, where X is your devotion to blue. (Each {U} in the mana costs of permanents you control counts toward your devotion to blue.) diff --git a/forge-gui/res/cardsfolder/t/thrive.txt b/forge-gui/res/cardsfolder/t/thrive.txt index 43f5bd2cc5a..1379b433982 100644 --- a/forge-gui/res/cardsfolder/t/thrive.txt +++ b/forge-gui/res/cardsfolder/t/thrive.txt @@ -1,6 +1,6 @@ Name:Thrive ManaCost:X G Types:Sorcery -A:SP$ PutCounter | Cost$ X G | CounterNum$ 1 | CounterType$ P1P1 | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | SpellDescription$ Put a +1/+1 counter on each of X target creatures. +A:SP$ PutCounter | Cost$ X G | CounterNum$ 1 | CounterType$ P1P1 | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | SpellDescription$ Put a +1/+1 counter on each of X target creatures. SVar:X:Count$xPaid Oracle:Put a +1/+1 counter on each of X target creatures. diff --git a/forge-gui/res/cardsfolder/t/throne_of_empires.txt b/forge-gui/res/cardsfolder/t/throne_of_empires.txt index 185cdd4ea4c..e7ffb9f30b6 100644 --- a/forge-gui/res/cardsfolder/t/throne_of_empires.txt +++ b/forge-gui/res/cardsfolder/t/throne_of_empires.txt @@ -1,7 +1,7 @@ Name:Throne of Empires ManaCost:4 Types:Artifact -A:AB$ Token | Cost$ 1 T | TokenAmount$ X | References$ X,Y,Z,AllM12Empires | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier m12 | SpellDescription$ Create a 1/1 white Soldier creature token. Create five of those tokens instead if you control artifacts named Crown of Empires and Scepter of Empires. +A:AB$ Token | Cost$ 1 T | TokenAmount$ X | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier m12 | SpellDescription$ Create a 1/1 white Soldier creature token. Create five of those tokens instead if you control artifacts named Crown of Empires and Scepter of Empires. SVar:X:Count$Compare AllM12Empires GT0.5.1 SVar:AllM12Empires:SVar$Z/Times.Y SVar:Z:Count$Valid Artifact.namedCrown of Empires+YouCtrl diff --git a/forge-gui/res/cardsfolder/t/throne_of_the_god_pharaoh.txt b/forge-gui/res/cardsfolder/t/throne_of_the_god_pharaoh.txt index 70e4def71b4..ef3809a9cec 100644 --- a/forge-gui/res/cardsfolder/t/throne_of_the_god_pharaoh.txt +++ b/forge-gui/res/cardsfolder/t/throne_of_the_god_pharaoh.txt @@ -2,7 +2,7 @@ Name:Throne of the God-Pharaoh ManaCost:2 Types:Legendary Artifact T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigLoseLife | TriggerDescription$ At the beginning of your end step, each opponent loses life equal to the number of tapped creatures you control. -SVar:TrigLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ Player.Opponent | References$ X +SVar:TrigLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ Player.Opponent SVar:X:Count$Valid Creature.YouCtrl+tapped SVar:Picture:http://www.wizards.com/global/images/magic/general/throne_of_the_god_pharaoh.jpg Oracle:At the beginning of your end step, each opponent loses life equal to the number of tapped creatures you control. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/t/thud.txt b/forge-gui/res/cardsfolder/t/thud.txt index aa8944ad13d..b813bea2184 100644 --- a/forge-gui/res/cardsfolder/t/thud.txt +++ b/forge-gui/res/cardsfolder/t/thud.txt @@ -1,6 +1,6 @@ Name:Thud ManaCost:R Types:Sorcery -A:SP$ DealDamage | Cost$ R Sac<1/Creature> | NumDmg$ X | References$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to any target. +A:SP$ DealDamage | Cost$ R Sac<1/Creature> | NumDmg$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to any target. SVar:X:Sacrificed$CardPower Oracle:As an additional cost to cast this spell, sacrifice a creature.\nThud deals damage equal to the sacrificed creature's power to any target. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/t/thunder_of_hooves.txt b/forge-gui/res/cardsfolder/t/thunder_of_hooves.txt index 2159f55a4d1..9ec5a243d09 100644 --- a/forge-gui/res/cardsfolder/t/thunder_of_hooves.txt +++ b/forge-gui/res/cardsfolder/t/thunder_of_hooves.txt @@ -1,7 +1,7 @@ Name:Thunder of Hooves ManaCost:3 R Types:Sorcery -A:SP$ DamageAll | Cost$ 3 R | NumDmg$ X | References$ X | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | ValidDescription$ each creature without flying and each player. | SpellDescription$ CARDNAME deals X damage to each creature without flying and each player, where X is the number of Beasts on the battlefield. +A:SP$ DamageAll | Cost$ 3 R | NumDmg$ X | ValidCards$ Creature.withoutFlying | ValidPlayers$ Player | ValidDescription$ each creature without flying and each player. | SpellDescription$ CARDNAME deals X damage to each creature without flying and each player, where X is the number of Beasts on the battlefield. SVar:X:Count$TypeOnBattlefield.Beast AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/thunder_of_hooves.jpg diff --git a/forge-gui/res/cardsfolder/t/thundercloud_shaman.txt b/forge-gui/res/cardsfolder/t/thundercloud_shaman.txt index 5e9254448a2..6128c905c59 100644 --- a/forge-gui/res/cardsfolder/t/thundercloud_shaman.txt +++ b/forge-gui/res/cardsfolder/t/thundercloud_shaman.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Creature Giant Shaman PT:4/4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamageAll | TriggerDescription$ When CARDNAME enters the battlefield, it deals damage equal to the number of Giants you control to each non-Giant creature. -SVar:TrigDamageAll:DB$ DamageAll | ValidCards$ Creature.nonGiant | NumDmg$ X | References$ X | ValidDescription$ each non-Giant creature. +SVar:TrigDamageAll:DB$ DamageAll | ValidCards$ Creature.nonGiant | NumDmg$ X | ValidDescription$ each non-Giant creature. SVar:X:Count$TypeYouCtrl.Giant DeckNeeds:Type$Giant SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/t/thundering_djinn.txt b/forge-gui/res/cardsfolder/t/thundering_djinn.txt index a0453e064c2..e5ab89f2668 100644 --- a/forge-gui/res/cardsfolder/t/thundering_djinn.txt +++ b/forge-gui/res/cardsfolder/t/thundering_djinn.txt @@ -4,7 +4,7 @@ Types:Creature Djinn PT:3/4 K:Flying T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME attacks, it deals damage to any target equal to the number of cards you've drawn this turn. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$YouDrewThisTurn AI:RemoveDeck:All Oracle:Flying\nWhenever Thundering Djinn attacks, it deals damage to any target equal to the number of cards you've drawn this turn. diff --git a/forge-gui/res/cardsfolder/t/thundering_sparkmage.txt b/forge-gui/res/cardsfolder/t/thundering_sparkmage.txt index d28fbbd4fe5..9fef1a65c06 100755 --- a/forge-gui/res/cardsfolder/t/thundering_sparkmage.txt +++ b/forge-gui/res/cardsfolder/t/thundering_sparkmage.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Creature Human Wizard PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals X damage to target creature or planeswalker, where X is the number of creatures in your party. (Your party consists of up to one of each of Cleric, Rogue, Warrior, and Wizard.) -SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X SVar:X:Count$Party DeckHas:Ability$Party DeckHints:Type$Cleric|Rogue|Warrior diff --git a/forge-gui/res/cardsfolder/t/thunderkin_awakener.txt b/forge-gui/res/cardsfolder/t/thunderkin_awakener.txt index b3644ccd47c..ee5ac79c925 100644 --- a/forge-gui/res/cardsfolder/t/thunderkin_awakener.txt +++ b/forge-gui/res/cardsfolder/t/thunderkin_awakener.txt @@ -4,7 +4,7 @@ Types:Creature Elemental Shaman PT:1/2 K:Haste T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigChange | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, choose target Elemental creature card in your graveyard with toughness less than CARDNAME's toughness. Return that card to the battlefield tapped and attacking. Sacrifice it at the beginning of the next end step. -SVar:TrigChange:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.Elemental+YouCtrl+toughnessLTX | References$ X | TgtPrompt$ Select target Elemental creature card in your graveyard | Mandatory$ True | Tapped$ True | Attacking$ True | RememberChanged$ True | SubAbility$ DelTrig +SVar:TrigChange:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.Elemental+YouCtrl+toughnessLTX | TgtPrompt$ Select target Elemental creature card in your graveyard | Mandatory$ True | Tapped$ True | Attacking$ True | RememberChanged$ True | SubAbility$ DelTrig SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | Execute$ TrigSac | RememberObjects$ Remembered | TriggerDescription$ Sacrifice it at the beginning of the next end step | SubAbility$ DBCleanup SVar:TrigSac:DB$ SacrificeAll | Defined$ DelayTriggerRemembered | Controller$ You SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/t/thunderous_might.txt b/forge-gui/res/cardsfolder/t/thunderous_might.txt index e276fa8fd55..3f6b90f5505 100644 --- a/forge-gui/res/cardsfolder/t/thunderous_might.txt +++ b/forge-gui/res/cardsfolder/t/thunderous_might.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 R | ValidTgts$ Creature | AILogic$ Pump T:Mode$ Attacks | ValidCard$ Card.EnchantedBy | Execute$ TrigPump | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature attacks, it gets +X/+0 until end of turn, where X is your devotion to red. -SVar:TrigPump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ +X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ TriggeredAttacker | NumAtt$ +X SVar:X:Count$Devotion.Red SVar:NonStackingAttachEffect:True SVar:Picture:http://www.wizards.com/global/images/magic/general/thunderous_might.jpg diff --git a/forge-gui/res/cardsfolder/t/thwart_the_grave.txt b/forge-gui/res/cardsfolder/t/thwart_the_grave.txt index 93c59462a95..c1775cd67f0 100755 --- a/forge-gui/res/cardsfolder/t/thwart_the_grave.txt +++ b/forge-gui/res/cardsfolder/t/thwart_the_grave.txt @@ -1,7 +1,7 @@ Name:Thwart the Grave ManaCost:4 B B Types:Sorcery -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | References$ X | Description$ This spell costs {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature in your party. (Your party consists of up to one each of Cleric, Rogue, Warrior, and Wizard.) SVar:X:Count$Party A:SP$ ChangeZone | Cost$ 4 B B | Origin$ Graveyard | Destination$ Battlefield | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouOwn | SubAbility$ DBPartyReturn | SpellDescription$ Return target creature card and up to one target Cleric, Rogue, Warrior, or Wizard card from your graveyard to the battlefield. SVar:DBPartyReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.Cleric+YouOwn,Creature.Rogue+YouOwn,Creature.Warrior+YouOwn,Creature.Wizard+YouOwn | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Choose up to one target Cleric, Rogue, Warrior, or Wizard creature card in your graveyard diff --git a/forge-gui/res/cardsfolder/t/tibalt_the_fiend_blooded.txt b/forge-gui/res/cardsfolder/t/tibalt_the_fiend_blooded.txt index 415c59b1741..d4792becbca 100644 --- a/forge-gui/res/cardsfolder/t/tibalt_the_fiend_blooded.txt +++ b/forge-gui/res/cardsfolder/t/tibalt_the_fiend_blooded.txt @@ -4,7 +4,7 @@ Types:Legendary Planeswalker Tibalt Loyalty:2 A:AB$ Draw | Cost$ AddCounter<1/LOYALTY> | NumCards$ 1 | Planeswalker$ True | SubAbility$ DBDiscard | SpellDescription$ Draw a card, then discard a card at random. SVar:DBDiscard:DB$Discard | Defined$ You | NumCards$ 1 | Mode$ Random -A:AB$ DealDamage | Cost$ SubCounter<4/LOYALTY> | ValidTgts$ Player | NumDmg$ X | References$ X | Planeswalker$ True | SpellDescription$ CARDNAME deals damage equal to the number of cards in target player's hand to that player. +A:AB$ DealDamage | Cost$ SubCounter<4/LOYALTY> | ValidTgts$ Player | NumDmg$ X | Planeswalker$ True | SpellDescription$ CARDNAME deals damage equal to the number of cards in target player's hand to that player. SVar:X:TargetedPlayer$CardsInHand A:AB$ GainControl | Cost$ SubCounter<6/LOYALTY> | AllValid$ Creature | Untap$ True | AddKWs$ Haste | LoseControl$ EOT | Planeswalker$ True | Ultimate$ True | SpellDescription$ Gain control of all creatures until end of turn. Untap them. They gain haste until end of turn. SVar:Picture:http://www.wizards.com/global/images/magic/general/tibalt_the_fiend_blooded.jpg diff --git a/forge-gui/res/cardsfolder/t/tibalts_trickery.txt b/forge-gui/res/cardsfolder/t/tibalts_trickery.txt index eccf4ce527a..2a7c00eaaba 100644 --- a/forge-gui/res/cardsfolder/t/tibalts_trickery.txt +++ b/forge-gui/res/cardsfolder/t/tibalts_trickery.txt @@ -3,7 +3,7 @@ ManaCost:1 R Types:Instant A:SP$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SubAbility$ DBRandom | Destination$ Graveyard | RememberCountered$ True | StackDescription$ SpellDescription | SpellDescription$ Counter target spell. Choose 1, 2, or 3 at random. Its controller mills that many cards, then exiles cards from the top of their library until they exile a nonland card with a different name than that spell. They may cast that card without paying its mana cost. Then they put the exiled cards on the bottom of their library in a random order. SVar:DBRandom:DB$ ChooseNumber | Min$ 1 | Max$ 3 | Defined$ You | Random$ True | SubAbility$ DBMill | StackDescription$ None -SVar:DBMill:DB$ Mill | NumCards$ X | References$ X | Defined$ TargetedController | SubAbility$ DBDig | StackDescription$ None +SVar:DBMill:DB$ Mill | NumCards$ X | Defined$ TargetedController | SubAbility$ DBDig | StackDescription$ None SVar:DBDig:DB$ DigUntil | Defined$ TargetedController | Valid$ Card.nonLand+doesNotShareNameWith Remembered | FoundDestination$ Exile | RevealedDestination$ Exile | RememberFound$ True | ForgetOtherRemembered$ True | ImprintRevealed$ True | SubAbility$ DBPlay | StackDescription$ None SVar:DBPlay:DB$ Play | Controller$ TargetedController | OptionalDecider$ TargetedController | Defined$ Remembered | WithoutManaCost$ True | Optional$ True | SubAbility$ DBChangeZone | StackDescription$ None SVar:DBChangeZone:DB$ ChangeZoneAll | ChangeType$ Card.IsImprinted | Origin$ Exile | Destination$ Library | RandomOrder$ True | LibraryPosition$ -1 | SubAbility$ DBCleanup diff --git a/forge-gui/res/cardsfolder/t/tidal_influence.txt b/forge-gui/res/cardsfolder/t/tidal_influence.txt index d9bf3127627..0482218ed6f 100644 --- a/forge-gui/res/cardsfolder/t/tidal_influence.txt +++ b/forge-gui/res/cardsfolder/t/tidal_influence.txt @@ -2,7 +2,7 @@ Name:Tidal Influence ManaCost:2 U Types:Enchantment K:etbCounter:TIDE:1 -S:Mode$ CantBeCast | ValidCard$ Card.Self | EffectZone$ All | CheckSVar$ X | References$ X | Description$ Cast CARDNAME only if no permanents named Tidal Influence are on the battlefield. +S:Mode$ CantBeCast | ValidCard$ Card.Self | EffectZone$ All | CheckSVar$ X | Description$ Cast CARDNAME only if no permanents named Tidal Influence are on the battlefield. SVar:X:Count$Valid Permanent.namedTidal Influence T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ DBPutCounter | TriggerDescription$ At the beginning of your upkeep, put a tide counter on CARDNAME. SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ TIDE | CounterNum$ 1 diff --git a/forge-gui/res/cardsfolder/t/tidy_conclusion.txt b/forge-gui/res/cardsfolder/t/tidy_conclusion.txt index 30b0de8aa51..9fb1ec632d1 100644 --- a/forge-gui/res/cardsfolder/t/tidy_conclusion.txt +++ b/forge-gui/res/cardsfolder/t/tidy_conclusion.txt @@ -2,7 +2,7 @@ Name:Tidy Conclusion ManaCost:3 B B Types:Instant A:SP$ Destroy | Cost$ 3 B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBGainLife | SpellDescription$ Destroy target creature. You gain 1 life for each artifact you control. -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Artifact.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/tidy_conclusion.jpg Oracle:Destroy target creature. You gain 1 life for each artifact you control. diff --git a/forge-gui/res/cardsfolder/t/tilonallis_summoner.txt b/forge-gui/res/cardsfolder/t/tilonallis_summoner.txt index 868c276167f..76fd2f494ae 100644 --- a/forge-gui/res/cardsfolder/t/tilonallis_summoner.txt +++ b/forge-gui/res/cardsfolder/t/tilonallis_summoner.txt @@ -4,7 +4,7 @@ Types:Creature Human Shaman PT:1/1 K:Ascend T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME attacks, you may pay {X}{R}. If you do, create X 1/1 red Elemental creature tokens that are tapped and attacking. At the beginning of the next end step, exile those tokens unless you have the city's blessing. -SVar:TrigToken:AB$ Token | Cost$ X R | TokenAmount$ X | TokenScript$ r_1_1_elemental | TokenOwner$ You | TokenTapped$ True | TokenAttacking$ True | LegacyImage$ r 1 1 elemental rix | References$ X | AtEOT$ Exile | AtEOTCondition$ Y | AtEOTDesc$ At the beginning of the next end step, exile those tokens unless you have the city's blessing. +SVar:TrigToken:AB$ Token | Cost$ X R | TokenAmount$ X | TokenScript$ r_1_1_elemental | TokenOwner$ You | TokenTapped$ True | TokenAttacking$ True | LegacyImage$ r 1 1 elemental rix | AtEOT$ Exile | AtEOTCondition$ Y | AtEOTDesc$ At the beginning of the next end step, exile those tokens unless you have the city's blessing. SVar:X:Count$xPaid SVar:Y:Count$Blessing.0.1 DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/t/timbermaw_larva.txt b/forge-gui/res/cardsfolder/t/timbermaw_larva.txt index cb3458c9768..bd5085e7a31 100644 --- a/forge-gui/res/cardsfolder/t/timbermaw_larva.txt +++ b/forge-gui/res/cardsfolder/t/timbermaw_larva.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Creature Beast PT:2/2 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+1 until end of turn for each Forest you control. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X SVar:X:Count$Valid Forest.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/timbermaw_larva.jpg Oracle:Whenever Timbermaw Larva attacks, it gets +1/+1 until end of turn for each Forest you control. diff --git a/forge-gui/res/cardsfolder/t/timberpack_wolf.txt b/forge-gui/res/cardsfolder/t/timberpack_wolf.txt index f48e7168bff..686a8f6d514 100644 --- a/forge-gui/res/cardsfolder/t/timberpack_wolf.txt +++ b/forge-gui/res/cardsfolder/t/timberpack_wolf.txt @@ -2,7 +2,7 @@ Name:Timberpack Wolf ManaCost:1 G Types:Creature Wolf PT:2/2 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each other creature you control named CARDNAME. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each other creature you control named CARDNAME. SVar:X:Count$Valid Creature.namedTimberpack Wolf+YouCtrl/Minus.1 SVar:BuffedBy:Creature.namedTimberpack Wolf DeckHints:Name$Timberpack Wolf diff --git a/forge-gui/res/cardsfolder/t/timberwatch_elf.txt b/forge-gui/res/cardsfolder/t/timberwatch_elf.txt index dc8fa04ebd9..5a35bb37f8a 100644 --- a/forge-gui/res/cardsfolder/t/timberwatch_elf.txt +++ b/forge-gui/res/cardsfolder/t/timberwatch_elf.txt @@ -2,7 +2,7 @@ Name:Timberwatch Elf ManaCost:2 G Types:Creature Elf PT:1/2 -A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of Elves on the battlefield. +A:AB$ Pump | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of Elves on the battlefield. SVar:X:Count$TypeOnBattlefield.Elf SVar:Picture:http://resources.wizards.com/magic/cards/lgn/en-us/card45121.jpg Oracle:{T}: Target creature gets +X/+X until end of turn, where X is the number of Elves on the battlefield. diff --git a/forge-gui/res/cardsfolder/t/time_bomb.txt b/forge-gui/res/cardsfolder/t/time_bomb.txt index 5385c20b614..ce7e9e08972 100644 --- a/forge-gui/res/cardsfolder/t/time_bomb.txt +++ b/forge-gui/res/cardsfolder/t/time_bomb.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a time counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ TIME | CounterNum$ 1 -A:AB$ DamageAll | Cost$ 1 T Sac<1/CARDNAME> | ValidCards$ Creature | ValidPlayers$ Player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the number of time counters on it to each creature and each player. +A:AB$ DamageAll | Cost$ 1 T Sac<1/CARDNAME> | ValidCards$ Creature | ValidPlayers$ Player | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the number of time counters on it to each creature and each player. SVar:X:Count$CardCounters.TIME SVar:Picture:http://www.wizards.com/global/images/magic/general/time_bomb.jpg Oracle:At the beginning of your upkeep, put a time counter on Time Bomb.\n{1}, {T}, Sacrifice Time Bomb: Time Bomb deals damage equal to the number of time counters on it to each creature and each player. diff --git a/forge-gui/res/cardsfolder/t/timecrafting.txt b/forge-gui/res/cardsfolder/t/timecrafting.txt index db6e7f576bb..022e0c5861d 100644 --- a/forge-gui/res/cardsfolder/t/timecrafting.txt +++ b/forge-gui/res/cardsfolder/t/timecrafting.txt @@ -1,9 +1,9 @@ Name:Timecrafting ManaCost:X R Types:Instant -A:SP$ Charm | Cost$ X R | CharmNum$ 1 | Choices$ LoseTime,GainTime | References$ X -SVar:LoseTime:DB$ RemoveCounter | ValidTgts$ Permanent.inZoneBattlefield,Card.suspended | AITgts$ Permanent.counters_GE1_TIME+inZoneBattlefield+YouDontCtrl,Card.suspended+YouCtrl | TgtPrompt$ Select target permanent or suspended card. | CounterType$ TIME | CounterNum$ X | References$ X | TgtZone$ Battlefield,Exile | SpellDescription$ Remove X time counters from target permanent or suspended card. -SVar:GainTime:DB$ PutCounter | ValidTgts$ Permanent.counters_GE1_TIME+inZoneBattlefield,Card.suspended | AITgts$ Permanent.counters_GE1_TIME+inZoneBattlefield+YouCtrl,Card.suspended+YouDontCtrl | TgtPrompt$ Select target permanent with a time counter on it or suspended card. | CounterType$ TIME | CounterNum$ X | References$ X | TgtZone$ Battlefield,Exile | SpellDescription$ Put X time counters target permanent with a time counter on it or suspended card. +A:SP$ Charm | Cost$ X R | CharmNum$ 1 | Choices$ LoseTime,GainTime +SVar:LoseTime:DB$ RemoveCounter | ValidTgts$ Permanent.inZoneBattlefield,Card.suspended | AITgts$ Permanent.counters_GE1_TIME+inZoneBattlefield+YouDontCtrl,Card.suspended+YouCtrl | TgtPrompt$ Select target permanent or suspended card. | CounterType$ TIME | CounterNum$ X | TgtZone$ Battlefield,Exile | SpellDescription$ Remove X time counters from target permanent or suspended card. +SVar:GainTime:DB$ PutCounter | ValidTgts$ Permanent.counters_GE1_TIME+inZoneBattlefield,Card.suspended | AITgts$ Permanent.counters_GE1_TIME+inZoneBattlefield+YouCtrl,Card.suspended+YouDontCtrl | TgtPrompt$ Select target permanent with a time counter on it or suspended card. | CounterType$ TIME | CounterNum$ X | TgtZone$ Battlefield,Exile | SpellDescription$ Put X time counters target permanent with a time counter on it or suspended card. SVar:X:Count$xPaid AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/t/timely_reinforcements.txt b/forge-gui/res/cardsfolder/t/timely_reinforcements.txt index bd584cea771..8aa852f9e90 100644 --- a/forge-gui/res/cardsfolder/t/timely_reinforcements.txt +++ b/forge-gui/res/cardsfolder/t/timely_reinforcements.txt @@ -1,8 +1,8 @@ Name:Timely Reinforcements ManaCost:2 W Types:Sorcery -A:SP$ GainLife | Cost$ 2 W | LifeAmount$ 6 | ConditionLifeTotal$ You | ConditionLifeAmount$ LTX | References$ X | SubAbility$ DBToken | SpellDescription$ If you have less life than an opponent, you gain 6 life. If you control fewer creatures than an opponent, create three 1/1 white Soldier creature tokens. -SVar:DBToken:DB$ Token | TokenAmount$ 3 | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier m12 | ConditionCheckSVar$ CreatureYouControl | ConditionSVarCompare$ LTCreatureOppControl | References$ CreatureYouControl,CreatureOppControl +A:SP$ GainLife | Cost$ 2 W | LifeAmount$ 6 | ConditionLifeTotal$ You | ConditionLifeAmount$ LTX | SubAbility$ DBToken | SpellDescription$ If you have less life than an opponent, you gain 6 life. If you control fewer creatures than an opponent, create three 1/1 white Soldier creature tokens. +SVar:DBToken:DB$ Token | TokenAmount$ 3 | TokenScript$ w_1_1_soldier | TokenOwner$ You | LegacyImage$ w 1 1 soldier m12 | ConditionCheckSVar$ CreatureYouControl | ConditionSVarCompare$ LTCreatureOppControl SVar:X:PlayerCountOpponents$HighestLifeTotal SVar:CreatureYouControl:Count$Valid Creature.YouCtrl SVar:CreatureOppControl:PlayerCountOpponents$HighestValid Creature.YouCtrl diff --git a/forge-gui/res/cardsfolder/t/timesifter.txt b/forge-gui/res/cardsfolder/t/timesifter.txt index ec8b114199e..1d639e40ba8 100644 --- a/forge-gui/res/cardsfolder/t/timesifter.txt +++ b/forge-gui/res/cardsfolder/t/timesifter.txt @@ -4,7 +4,7 @@ Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | Execute$ TrigExile | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each upkeep, each player exiles the top card of their library. The player who exiled the card with the highest converted mana cost takes an extra turn after this one. If two or more players' cards are tied for highest cost, the tied players repeat this process until the tie is broken. SVar:TrigExile:DB$ Dig | Defined$ Player | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ FindHighestCMCFirst SVar:FindHighestCMCFirst:DB$ Pump | ImprintCards$ ValidAll Card.greatestRememberedCMC | SubAbility$ FindOne -SVar:FindOne:DB$ Repeat | RepeatCheckSVar$ X | References$ X | RepeatSVarCompare$ GE2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | RepeatSubAbility$ DBClear | SubAbility$ DBAddTurn +SVar:FindOne:DB$ Repeat | RepeatCheckSVar$ X | RepeatSVarCompare$ GE2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | RepeatSubAbility$ DBClear | SubAbility$ DBAddTurn SVar:DBClear:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBExile SVar:DBExile:DB$ Dig | Defined$ ImprintedController | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ ClearImprint SVar:ClearImprint:DB$ Cleanup | ClearImprinted$ True | SubAbility$ FindHighestCMC diff --git a/forge-gui/res/cardsfolder/t/tishana_voice_of_thunder.txt b/forge-gui/res/cardsfolder/t/tishana_voice_of_thunder.txt index ea9a18c4ae3..ce0ec7625ac 100644 --- a/forge-gui/res/cardsfolder/t/tishana_voice_of_thunder.txt +++ b/forge-gui/res/cardsfolder/t/tishana_voice_of_thunder.txt @@ -2,10 +2,10 @@ Name:Tishana, Voice of Thunder ManaCost:5 G U Types:Legendary Creature Merfolk Shaman PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. S:Mode$ Continuous | Affected$ You | SetMaxHandSize$ Unlimited | Description$ You have no maximum hand size. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card for each creature you control. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ NumCreats | References$ NumCreats +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ NumCreats SVar:X:Count$InYourHand SVar:NumCreats:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/tishana_voice_of_thunder.jpg diff --git a/forge-gui/res/cardsfolder/t/titan_hunter.txt b/forge-gui/res/cardsfolder/t/titan_hunter.txt index d87b3dbd0cc..c2c14b27ac8 100755 --- a/forge-gui/res/cardsfolder/t/titan_hunter.txt +++ b/forge-gui/res/cardsfolder/t/titan_hunter.txt @@ -2,7 +2,7 @@ Name:Titan Hunter ManaCost:4 B Types:Creature Human Warrior PT:4/5 -T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ X | SVarCompare$ EQ0 | TriggerZones$ Battlefield | Execute$ TrigDamage | References$ X | TriggerDescription$ At the beginning of each player's end step, if no creatures died this turn, CARDNAME deals 4 damage to that player. +T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ X | SVarCompare$ EQ0 | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of each player's end step, if no creatures died this turn, CARDNAME deals 4 damage to that player. SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ 4 SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature A:AB$ GainLife | Cost$ 1 B Sac<1/Creature> | LifeAmount$ 4 | SpellDescription$ You gain 4 life. diff --git a/forge-gui/res/cardsfolder/t/titanias_song.txt b/forge-gui/res/cardsfolder/t/titanias_song.txt index ed181a83062..f1bd8b4c3cb 100644 --- a/forge-gui/res/cardsfolder/t/titanias_song.txt +++ b/forge-gui/res/cardsfolder/t/titanias_song.txt @@ -3,7 +3,7 @@ ManaCost:3 G Types:Enchantment S:Mode$ Continuous | Affected$ Artifact.nonCreature | SetPower$ AffectedX | SetToughness$ AffectedX | AddType$ Artifact & Creature | RemoveCardTypes$ True | RemoveAllAbilities$ True | Description$ Each noncreature artifact loses all abilities and is an artifact creature with power and toughness each equal to its converted mana cost. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigEffect | Static$ True | TriggerDescription$ If CARDNAME leaves the battlefield, this effect continues until end of turn. -SVar:TrigEffect:DB$ Effect | Name$ Titania's Song Effect | StaticAbilities$ KWAnimateAll | SVars$ AffectedX | References$ AffectedX +SVar:TrigEffect:DB$ Effect | Name$ Titania's Song Effect | StaticAbilities$ KWAnimateAll | SVars$ AffectedX SVar:KWAnimateAll:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Battlefield | Affected$ Artifact.nonCreature | SetPower$ AffectedX | SetToughness$ AffectedX | AddType$ Creature | RemoveAllAbilities$ True | Description$ Each noncreature artifact loses all abilities and is an artifact creature with power and toughness each equal to its converted mana cost. SVar:AffectedX:Count$CardManaCost SVar:NonStackingEffect:True diff --git a/forge-gui/res/cardsfolder/t/titanic_brawl.txt b/forge-gui/res/cardsfolder/t/titanic_brawl.txt index abcc8bf9f01..e8fa211cfb8 100644 --- a/forge-gui/res/cardsfolder/t/titanic_brawl.txt +++ b/forge-gui/res/cardsfolder/t/titanic_brawl.txt @@ -1,10 +1,10 @@ Name:Titanic Brawl ManaCost:1 G Types:Instant -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ CostReduction | EffectZone$ All | References$ CostReduction,CheckTgt | Relative$ True | Description$ This spell costs {1} less to cast if it targets a creature you control with a +1/+1 counter on it. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ CostReduction | EffectZone$ All | Relative$ True | Description$ This spell costs {1} less to cast if it targets a creature you control with a +1/+1 counter on it. SVar:CostReduction:Count$Compare CheckTgt GE1.2.0 SVar:CheckTgt:Targeted$Valid Creature.YouCtrl+counters_GE1_P1P1 DeckHints:Ability$Counters -A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Choose target creature you control | SubAbility$ DBFight | References$ CostReduction,CheckTgt | SpellDescription$ Target creature you control fights target creature you don't control. (Each deals damage equal to its power to the other.) +A:SP$ Pump | Cost$ 1 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Choose target creature you control | SubAbility$ DBFight | SpellDescription$ Target creature you control fights target creature you don't control. (Each deals damage equal to its power to the other.) SVar:DBFight:DB$ Fight | Defined$ ParentTarget | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Choose target creature you don't control Oracle:This spell costs {1} less to cast if it targets a creature you control with a +1/+1 counter on it.\nTarget creature you control fights target creature you don't control. (Each deals damage equal to its power to the other.) diff --git a/forge-gui/res/cardsfolder/t/titans_presence.txt b/forge-gui/res/cardsfolder/t/titans_presence.txt index 9ff0a5916e0..b909e5f50dc 100644 --- a/forge-gui/res/cardsfolder/t/titans_presence.txt +++ b/forge-gui/res/cardsfolder/t/titans_presence.txt @@ -1,7 +1,7 @@ Name:Titan's Presence ManaCost:3 Types:Instant -A:SP$ ChangeZone | Cost$ 3 Reveal<1/Creature.Colorless> | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Exile | ConditionCheckSVar$ X | ConditionSVarCompare$ LEY | References$ X,Y | SpellDescription$ Exile target creature if its power is less than or equal to the revealed card's power. +A:SP$ ChangeZone | Cost$ 3 Reveal<1/Creature.Colorless> | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Exile | ConditionCheckSVar$ X | ConditionSVarCompare$ LEY | SpellDescription$ Exile target creature if its power is less than or equal to the revealed card's power. SVar:Y:Revealed$CardPower SVar:X:Targeted$CardPower AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/t/titans_revenge.txt b/forge-gui/res/cardsfolder/t/titans_revenge.txt index baa37a28f95..0778222c6eb 100644 --- a/forge-gui/res/cardsfolder/t/titans_revenge.txt +++ b/forge-gui/res/cardsfolder/t/titans_revenge.txt @@ -1,7 +1,7 @@ Name:Titan's Revenge ManaCost:X R R Types:Sorcery -A:SP$ DealDamage | Cost$ X R R | NumDmg$ X | References$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | SubAbility$ DBClash | SpellDescription$ CARDNAME deals X damage to any target. Clash with an opponent. If you win, return CARDNAME to it's owner's hand. +A:SP$ DealDamage | Cost$ X R R | NumDmg$ X | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | SubAbility$ DBClash | SpellDescription$ CARDNAME deals X damage to any target. Clash with an opponent. If you win, return CARDNAME to it's owner's hand. SVar:DBClash:DB$Clash | WinSubAbility$ DBReturn SVar:DBReturn:DB$ChangeZone | Defined$ Self | Origin$ Stack | Destination$ Hand SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/t/tithe.txt b/forge-gui/res/cardsfolder/t/tithe.txt index 7238c409962..9d00e9bff34 100644 --- a/forge-gui/res/cardsfolder/t/tithe.txt +++ b/forge-gui/res/cardsfolder/t/tithe.txt @@ -3,7 +3,7 @@ ManaCost:W Types:Instant A:SP$ Pump | Cost$ W | ValidTgts$ Opponent | StackDescription$ None | SubAbility$ DBChangeZone | SpellDescription$ Search your library for a Plains card. If target opponent controls more lands than you, you may search your library for an additional Plains card. Reveal those cards and put them into your hand. Then shuffle your library. SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Plains | ChangeNum$ 1 | NoShuffle$ True | SubAbility$ DBOptionalSearch -SVar:DBOptionalSearch:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Plains | ChangeNum$ 1 | Optional$ True | NoShuffle$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ Y,Z,X | SubAbility$ DBShuffle +SVar:DBOptionalSearch:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Plains | ChangeNum$ 1 | Optional$ True | NoShuffle$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBShuffle SVar:DBShuffle:DB$ Shuffle | Defined$ You SVar:Y:Count$Valid Land.YouCtrl SVar:Z:Count$Valid Land.TargetedPlayerCtrl diff --git a/forge-gui/res/cardsfolder/t/to_the_slaughter.txt b/forge-gui/res/cardsfolder/t/to_the_slaughter.txt index f49a31bc119..80ccb8c9089 100644 --- a/forge-gui/res/cardsfolder/t/to_the_slaughter.txt +++ b/forge-gui/res/cardsfolder/t/to_the_slaughter.txt @@ -2,9 +2,9 @@ Name:To the Slaughter ManaCost:2 B Types:Instant A:SP$ StoreSVar | Cost$ 2 B | SVar$ XDelirium | Type$ Count | Expression$ Delirium.1.0 | SubAbility$ DBSacrifice | SpellDescription$ Target player sacrifices a creature or planeswalker. Delirium — If there are four or more card types among cards in your graveyard, instead that player sacrifices a creature and a planeswalker. -SVar:DBSacrifice:DB$ Sacrifice | ValidTgts$ Player | SacValid$ Creature,Planeswalker | SacMessage$ Creature or Planeswalker | ConditionCheckSVar$ XDelirium | ConditionSVarCompare$ EQ0 | SubAbility$ DBSacrificeCreature | References$ XDelirium | StackDescription$ -SVar:DBSacrificeCreature:DB$ Sacrifice | SacValid$ Creature | SacMessage$ Creature | Defined$ Targeted | ConditionCheckSVar$ XDelirium | ConditionSVarCompare$ GE1 | SubAbility$ DBSacrificePlaneswalker | References$ XDelirium | StackDescription$ -SVar:DBSacrificePlaneswalker:DB$ Sacrifice | SacValid$ Planeswalker | SacMessage$ Planeswalker | Defined$ Targeted | ConditionCheckSVar$ XDelirium | ConditionSVarCompare$ GE1 | References$ XDelirium | StackDescription$ +SVar:DBSacrifice:DB$ Sacrifice | ValidTgts$ Player | SacValid$ Creature,Planeswalker | SacMessage$ Creature or Planeswalker | ConditionCheckSVar$ XDelirium | ConditionSVarCompare$ EQ0 | SubAbility$ DBSacrificeCreature | StackDescription$ +SVar:DBSacrificeCreature:DB$ Sacrifice | SacValid$ Creature | SacMessage$ Creature | Defined$ Targeted | ConditionCheckSVar$ XDelirium | ConditionSVarCompare$ GE1 | SubAbility$ DBSacrificePlaneswalker | StackDescription$ +SVar:DBSacrificePlaneswalker:DB$ Sacrifice | SacValid$ Planeswalker | SacMessage$ Planeswalker | Defined$ Targeted | ConditionCheckSVar$ XDelirium | ConditionSVarCompare$ GE1 | StackDescription$ SVar:XDelirium:Number$0 DeckHints:Ability$Graveyard & Ability$Discard DeckHas:Ability$Delirium diff --git a/forge-gui/res/cardsfolder/t/toil_to_renown.txt b/forge-gui/res/cardsfolder/t/toil_to_renown.txt index bed4a64bef4..b7c0080ce74 100644 --- a/forge-gui/res/cardsfolder/t/toil_to_renown.txt +++ b/forge-gui/res/cardsfolder/t/toil_to_renown.txt @@ -1,7 +1,7 @@ Name:Toil to Renown ManaCost:1 G Types:Sorcery -A:SP$ GainLife | Cost$ 1 G | Defined$ You | LifeAmount$ X | References$ X | SpellDescription$ You gain 1 life for each tapped artifact, creature, and land you control. +A:SP$ GainLife | Cost$ 1 G | Defined$ You | LifeAmount$ X | SpellDescription$ You gain 1 life for each tapped artifact, creature, and land you control. SVar:X:Count$Valid Artifact.YouCtrl+tapped,Creature.YouCtrl+tapped,Land.YouCtrl+tapped SVar:Picture:http://www.wizards.com/global/images/magic/general/toil_to_renown.jpg Oracle:You gain 1 life for each tapped artifact, creature, and land you control. diff --git a/forge-gui/res/cardsfolder/t/toil_trouble.txt b/forge-gui/res/cardsfolder/t/toil_trouble.txt index 6b4e3a38ef6..c5f5e9f73c6 100644 --- a/forge-gui/res/cardsfolder/t/toil_trouble.txt +++ b/forge-gui/res/cardsfolder/t/toil_trouble.txt @@ -13,6 +13,6 @@ ALTERNATE Name:Trouble ManaCost:2 R Types:Sorcery -A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the number of cards in target player's hand to that player. +A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Player | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the number of cards in target player's hand to that player. SVar:X:TargetedPlayer$CardsInHand Oracle:Trouble deals damage to target player equal to the number of cards in that player's hand.\nFuse (You may cast one or both halves of this card from your hand.) diff --git a/forge-gui/res/cardsfolder/t/tolarian_academy.txt b/forge-gui/res/cardsfolder/t/tolarian_academy.txt index 3a3ec3fca01..5e5b74c16a1 100644 --- a/forge-gui/res/cardsfolder/t/tolarian_academy.txt +++ b/forge-gui/res/cardsfolder/t/tolarian_academy.txt @@ -1,7 +1,7 @@ Name:Tolarian Academy ManaCost:no cost Types:Legendary Land -A:AB$ Mana | Cost$ T | Produced$ U | Amount$ X | References$ X | SpellDescription$ Add {U} for each artifact you control. +A:AB$ Mana | Cost$ T | Produced$ U | Amount$ X | SpellDescription$ Add {U} for each artifact you control. SVar:X:Count$Valid Artifact.YouCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/tolarian_academy.jpg diff --git a/forge-gui/res/cardsfolder/t/tolarian_winds.txt b/forge-gui/res/cardsfolder/t/tolarian_winds.txt index 8c4ee97aa81..642835cc597 100644 --- a/forge-gui/res/cardsfolder/t/tolarian_winds.txt +++ b/forge-gui/res/cardsfolder/t/tolarian_winds.txt @@ -2,7 +2,7 @@ Name:Tolarian Winds ManaCost:1 U Types:Instant A:SP$ Discard | Cost$ 1 U | Defined$ You | RememberDiscarded$ True | Mode$ Hand | SubAbility$ DBDraw | SpellDescription$ Discard all the cards in your hand, then draw that many cards. -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/t/tomb_hex.txt b/forge-gui/res/cardsfolder/t/tomb_hex.txt index d3397603276..eeec59de9ac 100644 --- a/forge-gui/res/cardsfolder/t/tomb_hex.txt +++ b/forge-gui/res/cardsfolder/t/tomb_hex.txt @@ -1,7 +1,7 @@ Name:Tomb Hex ManaCost:2 B Types:Instant -A:SP$ Pump | Cost$ 2 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | References$ X | IsCurse$ True | SpellDescription$ Target creature gets -2/-2 until end of turn. Landfall — If you had a land enter the battlefield under your control this turn, that creature gets -4/-4 until end of turn instead. +A:SP$ Pump | Cost$ 2 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -2/-2 until end of turn. Landfall — If you had a land enter the battlefield under your control this turn, that creature gets -4/-4 until end of turn instead. SVar:X:Count$Landfall.4.2 SVar:Picture:http://www.wizards.com/global/images/magic/general/tomb_hex.jpg Oracle:Target creature gets -2/-2 until end of turn.\nLandfall — If you had a land enter the battlefield under your control this turn, that creature gets -4/-4 until end of turn instead. diff --git a/forge-gui/res/cardsfolder/t/tomb_of_the_spirit_dragon.txt b/forge-gui/res/cardsfolder/t/tomb_of_the_spirit_dragon.txt index d962429a47c..61b04049587 100644 --- a/forge-gui/res/cardsfolder/t/tomb_of_the_spirit_dragon.txt +++ b/forge-gui/res/cardsfolder/t/tomb_of_the_spirit_dragon.txt @@ -2,7 +2,7 @@ Name:Tomb of the Spirit Dragon ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ GainLife | Cost$ 2 T | LifeAmount$ X | References$ X | SpellDescription$ You gain 1 life for each colorless creature you control. +A:AB$ GainLife | Cost$ 2 T | LifeAmount$ X | SpellDescription$ You gain 1 life for each colorless creature you control. SVar:X:Count$Valid Creature.Colorless+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/tomb_of_the_spirit_dragon.jpg Oracle:{T}: Add {C}.\n{2}, {T}: You gain 1 life for each colorless creature you control. diff --git a/forge-gui/res/cardsfolder/t/tombstone_stairwell.txt b/forge-gui/res/cardsfolder/t/tombstone_stairwell.txt index 2ad51bc5f7c..f8d6b1867b5 100644 --- a/forge-gui/res/cardsfolder/t/tombstone_stairwell.txt +++ b/forge-gui/res/cardsfolder/t/tombstone_stairwell.txt @@ -4,7 +4,7 @@ Types:World Enchantment K:Cumulative upkeep:1 B T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | IsPresent$ Card.Self | Execute$ TrigRepeat | TriggerDescription$ At the beginning of each upkeep, if CARDNAME is on the battlefield, each player creates a 2/2 black Zombie creature token with haste named Tombspawn for each creature card in their graveyard. SVar:TrigRepeat:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBToken | ChangeZoneTable$ True -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ tombspawn | TokenOwner$ Player.IsRemembered | LegacyImage$ tombspawn mir | RememberTokens$ True +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ tombspawn | TokenOwner$ Player.IsRemembered | LegacyImage$ tombspawn mir | RememberTokens$ True SVar:X:Count$ValidGraveyard Creature.RememberedPlayerCtrl T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ DestroyRemembered | TriggerDescription$ At the beginning of each end step or when CARDNAME leaves the battlefield, destroy all tokens created with CARDNAME. They can't be regenerated. T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Any | Execute$ DestroyRemembered | Secondary$ True | TriggerController$ TriggeredCardController | TriggerDescription$ At the beginning of each end step or when CARDNAME leaves the battlefield, destroy all tokens created with CARDNAME. They can't be regenerated. diff --git a/forge-gui/res/cardsfolder/t/toothy_imaginary_friend.txt b/forge-gui/res/cardsfolder/t/toothy_imaginary_friend.txt index e7810a52adc..5f388126cbf 100644 --- a/forge-gui/res/cardsfolder/t/toothy_imaginary_friend.txt +++ b/forge-gui/res/cardsfolder/t/toothy_imaginary_friend.txt @@ -6,7 +6,7 @@ K:Partner:Pir, Imaginative Rascal:Pir T:Mode$ Drawn | ValidCard$ Card.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you draw a card, put a +1/+1 counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, draw a card for each +1/+1 counter on it. -SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$Draw | Defined$ You | NumCards$ X SVar:X:TriggeredCard$CardCounters.P1P1 DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/toothy_imaginary_friend.jpg diff --git a/forge-gui/res/cardsfolder/t/topsy_turvy.txt b/forge-gui/res/cardsfolder/t/topsy_turvy.txt index f99c1b078f6..c23f4c4c340 100644 --- a/forge-gui/res/cardsfolder/t/topsy_turvy.txt +++ b/forge-gui/res/cardsfolder/t/topsy_turvy.txt @@ -2,6 +2,6 @@ Name:Topsy Turvy ManaCost:2 U Types:Enchantment S:Mode$ Continuous | Affected$ Player | AddKeyword$ The phases of your turn are reversed. | Description$ The phases of each player’s turn are reversed. (The phases are, in reverse order, ending, postcombat main, combat, precombat main, and beginning.) -S:Mode$ Continuous | Affected$ Player | AddKeyword$ The turn order is reversed. | CheckSVar$ X | SVarCompare$ GT2 | References$ X | Description$ As long as there are more than two players in the game, the turn order is reversed. +S:Mode$ Continuous | Affected$ Player | AddKeyword$ The turn order is reversed. | CheckSVar$ X | SVarCompare$ GT2 | Description$ As long as there are more than two players in the game, the turn order is reversed. SVar:X:PlayerCountPlayers$Amount Oracle:The phases of each player's turn are reversed. (The phases are, in reverse order, ending, postcombat main, combat, precombat main, and beginning.)\nAs long as there are more than two players in the game, the turn order is reversed. diff --git a/forge-gui/res/cardsfolder/t/toralf_god_of_fury_toralfs_hammer.txt b/forge-gui/res/cardsfolder/t/toralf_god_of_fury_toralfs_hammer.txt index 4c664472236..ad3bafd31e6 100644 --- a/forge-gui/res/cardsfolder/t/toralf_god_of_fury_toralfs_hammer.txt +++ b/forge-gui/res/cardsfolder/t/toralf_god_of_fury_toralfs_hammer.txt @@ -5,7 +5,7 @@ PT:5/4 K:Trample AlternateMode:Modal T:Mode$ ExcessDamage | ValidTarget$ Creature.OppCtrl,Planeswalker.OppCtrl | CombatDamage$ False | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ Whenever a creature or planeswalker an opponent controls is dealt excess noncombat damage, NICKNAME deals damage equal to the excess to any target other than that permanent. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature.NotTriggeredTarget,Player,Planeswalker.NotTriggeredTarget | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature.NotTriggeredTarget,Player,Planeswalker.NotTriggeredTarget | TgtPrompt$ Select any target | NumDmg$ X SVar:X:TriggerCount$DamageAmount Oracle:Trample\nWhenever a creature or planeswalker an opponent controls is dealt excess noncombat damage, Toralf deals damage equal to the excess to any target other than that permanent. diff --git a/forge-gui/res/cardsfolder/t/torbran_thane_of_red_fell.txt b/forge-gui/res/cardsfolder/t/torbran_thane_of_red_fell.txt index b22438badd9..5131d16c891 100644 --- a/forge-gui/res/cardsfolder/t/torbran_thane_of_red_fell.txt +++ b/forge-gui/res/cardsfolder/t/torbran_thane_of_red_fell.txt @@ -3,7 +3,7 @@ ManaCost:1 R R R Types:Legendary Creature Dwarf Noble PT:2/4 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.RedSource+YouCtrl | ValidTarget$ Player.Opponent,Permanent.OppCtrl | ReplaceWith$ DmgPlus2 | Description$ If a red source you control would deal damage to an opponent or a permanent an opponent controls, it deals that much damage plus 2 instead. -SVar:DmgPlus2:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X +SVar:DmgPlus2:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X SVar:X:ReplaceCount$DamageAmount/Plus.2 SVar:PlayMain1:TRUE Oracle:If a red source you control would deal damage to an opponent or a permanent an opponent controls, it deals that much damage plus 2 instead. diff --git a/forge-gui/res/cardsfolder/t/torch_song.txt b/forge-gui/res/cardsfolder/t/torch_song.txt index 9ed29f49985..d9063bfb9ad 100644 --- a/forge-gui/res/cardsfolder/t/torch_song.txt +++ b/forge-gui/res/cardsfolder/t/torch_song.txt @@ -1,7 +1,7 @@ Name:Torch Song ManaCost:2 R Types:Enchantment -A:AB$ DealDamage | Cost$ 2 R Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target, where X is the number of verse counters on CARDNAME. +A:AB$ DealDamage | Cost$ 2 R Sac<1/CARDNAME> | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target, where X is the number of verse counters on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ VERSE | CounterNum$ 1 SVar:X:Count$CardCounters.VERSE diff --git a/forge-gui/res/cardsfolder/t/torgaar_famine_incarnate.txt b/forge-gui/res/cardsfolder/t/torgaar_famine_incarnate.txt index 5caae1de1ff..52a7cdcf158 100644 --- a/forge-gui/res/cardsfolder/t/torgaar_famine_incarnate.txt +++ b/forge-gui/res/cardsfolder/t/torgaar_famine_incarnate.txt @@ -2,12 +2,12 @@ Name:Torgaar, Famine Incarnate ManaCost:6 B B Types:Legendary Creature Avatar PT:7/6 -A:SP$ PermanentCreature | Cost$ 6 B B Sac | References$ X,Y | AILogic$ SacToReduceCost -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ Y | EffectZone$ All | References$ X,Y | Relative$ True | Description$ As an additional cost to cast this spell, you may sacrifice any number of creatures. This spell costs {2} less to cast for each creature sacrificed this way. +A:SP$ PermanentCreature | Cost$ 6 B B Sac,Y | AILogic$ SacToReduceCost +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ Y | EffectZone$ All,Y | Relative$ True | Description$ As an additional cost to cast this spell, you may sacrifice any number of creatures. This spell costs {2} less to cast for each creature sacrificed this way. SVar:X:Count$xPaid SVar:Y:SVar$X/Times.2 SVar:AIPreference:SacCost$Creature.token,Creature.cmcLE2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSetLife | TriggerDescription$ When CARDNAME enters the battlefield, up to one target player's life total becomes half their starting life total, rounded down. -SVar:TrigSetLife:DB$ SetLife | ValidTgts$ Player | LifeAmount$ HalfLife | TargetMin$ 0 | TargetMax$ 1 | References$ HalfLife +SVar:TrigSetLife:DB$ SetLife | ValidTgts$ Player | LifeAmount$ HalfLife | TargetMin$ 0 | TargetMax$ 1 SVar:HalfLife:TargetedPlayer$StartingLife/HalfDown Oracle:As an additional cost to cast this spell, you may sacrifice any number of creatures. This spell costs {2} less to cast for each creature sacrificed this way.\nWhen Torgaar, Famine Incarnate enters the battlefield, up to one target player's life total becomes half their starting life total, rounded down. diff --git a/forge-gui/res/cardsfolder/t/torment_of_hailfire.txt b/forge-gui/res/cardsfolder/t/torment_of_hailfire.txt index 70db32e4f04..4ccd269f52d 100644 --- a/forge-gui/res/cardsfolder/t/torment_of_hailfire.txt +++ b/forge-gui/res/cardsfolder/t/torment_of_hailfire.txt @@ -1,7 +1,7 @@ Name:Torment of Hailfire ManaCost:X B B Types:Sorcery -A:SP$ Repeat | Cost$ X B B | MaxRepeat$ X | RepeatSubAbility$ RepeatTorment | References$ X | AILogic$ MaxX | StackDescription$ SpellDescription | SpellDescription$ Repeat the following process X times. Each opponent loses 3 life unless that player sacrifices a nonland permanent or discards a card. +A:SP$ Repeat | Cost$ X B B | MaxRepeat$ X | RepeatSubAbility$ RepeatTorment | AILogic$ MaxX | StackDescription$ SpellDescription | SpellDescription$ Repeat the following process X times. Each opponent loses 3 life unless that player sacrifices a nonland permanent or discards a card. SVar:RepeatTorment:DB$ RepeatEach | RepeatPlayers$ Opponent | RepeatSubAbility$ DBChoose SVar:DBChoose:DB$ GenericChoice | Defined$ Player.IsRemembered | Choices$ SacNonland,Discard | FallbackAbility$ LoseLifeFallback | AILogic$ PayUnlessCost SVar:Discard:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ 3 | UnlessCost$ Discard<1/Card> | UnlessPayer$ Player.IsRemembered | SpellDescription$ You lose 3 life unless you discard a card diff --git a/forge-gui/res/cardsfolder/t/tormented_thoughts.txt b/forge-gui/res/cardsfolder/t/tormented_thoughts.txt index 63eeabcdcb7..fd527b0c856 100644 --- a/forge-gui/res/cardsfolder/t/tormented_thoughts.txt +++ b/forge-gui/res/cardsfolder/t/tormented_thoughts.txt @@ -1,7 +1,7 @@ Name:Tormented Thoughts ManaCost:2 B Types:Sorcery -A:SP$ Discard | Cost$ 2 B Sac<1/Creature> | ValidTgts$ Player | NumCards$ X | References$ X | Mode$ TgtChoose | SpellDescription$ Target player discards a number of cards equal to the sacrificed creature's power. +A:SP$ Discard | Cost$ 2 B Sac<1/Creature> | ValidTgts$ Player | NumCards$ X | Mode$ TgtChoose | SpellDescription$ Target player discards a number of cards equal to the sacrificed creature's power. SVar:X:Sacrificed$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/tormented_thoughts.jpg Oracle:As an additional cost to cast this spell, sacrifice a creature.\nTarget player discards a number of cards equal to the sacrificed creature's power. diff --git a/forge-gui/res/cardsfolder/t/tornado.txt b/forge-gui/res/cardsfolder/t/tornado.txt index f3cd4a9ee91..9f50bc1fe8d 100644 --- a/forge-gui/res/cardsfolder/t/tornado.txt +++ b/forge-gui/res/cardsfolder/t/tornado.txt @@ -2,7 +2,7 @@ Name:Tornado ManaCost:4 G Types:Enchantment K:Cumulative upkeep:G -A:AB$ Destroy | Cost$ 2 G PayLife | References$ X | CostDesc$ {2}{G}, Pay 3 life for each velocity counter on Tornado: | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | SubAbility$ Velocity | ActivationLimit$ 1 | SpellDescription$ Destroy target permanent and put a velocity counter on CARDNAME. Activate this ability only once each turn. +A:AB$ Destroy | Cost$ 2 G PayLife | CostDesc$ {2}{G}, Pay 3 life for each velocity counter on Tornado: | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | SubAbility$ Velocity | ActivationLimit$ 1 | SpellDescription$ Destroy target permanent and put a velocity counter on CARDNAME. Activate this ability only once each turn. SVar:Velocity:DB$ PutCounter | Defined$ Self | CounterType$ VELOCITY | CounterNum$ 1 SVar:X:Count$CardCounters.VELOCITY/Times.3 AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/t/torrent_of_fire.txt b/forge-gui/res/cardsfolder/t/torrent_of_fire.txt index 0144c996ee6..040911a0375 100644 --- a/forge-gui/res/cardsfolder/t/torrent_of_fire.txt +++ b/forge-gui/res/cardsfolder/t/torrent_of_fire.txt @@ -1,7 +1,7 @@ Name:Torrent of Fire ManaCost:3 R R Types:Sorcery -A:SP$ DealDamage | Cost$ 3 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to any target equal to the highest converted mana cost among permanents you control. +A:SP$ DealDamage | Cost$ 3 R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage to any target equal to the highest converted mana cost among permanents you control. SVar:X:Count$MaxCMCYouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/torrent_of_fire.jpg Oracle:Torrent of Fire deals damage to any target equal to the highest converted mana cost among permanents you control. diff --git a/forge-gui/res/cardsfolder/t/torrent_of_lava.txt b/forge-gui/res/cardsfolder/t/torrent_of_lava.txt index c7a47b78f2f..9510f640db7 100644 --- a/forge-gui/res/cardsfolder/t/torrent_of_lava.txt +++ b/forge-gui/res/cardsfolder/t/torrent_of_lava.txt @@ -1,7 +1,7 @@ Name:Torrent of Lava ManaCost:X R R Types:Sorcery -A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature.withoutFlying | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying. | StackDescription$ SpellDescription +A:SP$ DamageAll | Cost$ X R R | ValidCards$ Creature.withoutFlying | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to each creature without flying. | StackDescription$ SpellDescription SVar:X:Count$xPaid S:Mode$ Continuous | Affected$ Creature | AddAbility$ DbPrevent | AddSVar$ TOLOutOfSight & TOLSTPrevent & TOLExileSelf | EffectZone$ Stack | Description$ As long as Torrent of Lava is on the stack, each creature has "{T}: Prevent the next 1 damage that would be dealt to this creature by CARDNAME this turn." SVar:DbPrevent:AB$ Effect | Cost$ T | RememberObjects$ OriginalHost | ImprintCards$ Self | Triggers$ TOLOutOfSight | SVars$ TOLExileSelf | StaticAbilities$ TOLSTPrevent | SpellDescription$ Prevent the next 1 damage that would be dealt to this creature by Torrent of Lava this turn. | StackDescription$ SpellDescription diff --git a/forge-gui/res/cardsfolder/t/torture_chamber.txt b/forge-gui/res/cardsfolder/t/torture_chamber.txt index 93024f8a377..4cf37828ec1 100644 --- a/forge-gui/res/cardsfolder/t/torture_chamber.txt +++ b/forge-gui/res/cardsfolder/t/torture_chamber.txt @@ -3,9 +3,9 @@ ManaCost:3 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a pain counter on CARDNAME. T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDealDamage | TriggerDescription$ At the beginning of your end step, CARDNAME deals damage to you equal to the number of pain counters on it. -A:AB$ DealDamage | Cost$ 1 T SubCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ Y | References$ Y | SpellDescription$ CARDNAME deals damage to target creature equal to the number of pain counters removed this way. +A:AB$ DealDamage | Cost$ 1 T SubCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ Y | SpellDescription$ CARDNAME deals damage to target creature equal to the number of pain counters removed this way. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ PAIN | CounterNum$ 1 -SVar:TrigDealDamage:DB$ DealDamage | Defined$ You | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$ DealDamage | Defined$ You | NumDmg$ X SVar:X:Count$CardCounters.PAIN SVar:Y:SVar$CostCountersRemoved AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/t/touch_of_darkness.txt b/forge-gui/res/cardsfolder/t/touch_of_darkness.txt index 3e879e4d711..58490a801b5 100644 --- a/forge-gui/res/cardsfolder/t/touch_of_darkness.txt +++ b/forge-gui/res/cardsfolder/t/touch_of_darkness.txt @@ -1,7 +1,7 @@ Name:Touch of Darkness ManaCost:B Types:Instant -A:SP$ Animate | Cost$ B | ValidTgts$ Creature | TargetMin$ 1 | TargetMax$ MaxTgts | References$ MaxTgts | TgtPrompt$ Select target creatures | Colors$ Black | OverwriteColors$ True | SpellDescription$ One or more target creatures become black until end of turn. +A:SP$ Animate | Cost$ B | ValidTgts$ Creature | TargetMin$ 1 | TargetMax$ MaxTgts | TgtPrompt$ Select target creatures | Colors$ Black | OverwriteColors$ True | SpellDescription$ One or more target creatures become black until end of turn. SVar:MaxTgts:Count$Valid Creature AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/t/towering_wave_mystic.txt b/forge-gui/res/cardsfolder/t/towering_wave_mystic.txt index 6cd071442d6..e0189d8a666 100644 --- a/forge-gui/res/cardsfolder/t/towering_wave_mystic.txt +++ b/forge-gui/res/cardsfolder/t/towering_wave_mystic.txt @@ -3,7 +3,7 @@ ManaCost:1 U Types:Creature Merfolk Wizard PT:2/1 T:Mode$ DamageDone | ValidSource$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ Whenever CARDNAME deals damage, target player mills that many cards. -SVar:TrigMill:DB$ Mill | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X | References$ X +SVar:TrigMill:DB$ Mill | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X SVar:X:TriggerCount$DamageAmount DeckHas:Ability$Graveyard Oracle:Whenever Towering-Wave Mystic deals damage, target player mills that many cards. diff --git a/forge-gui/res/cardsfolder/t/toxic_deluge.txt b/forge-gui/res/cardsfolder/t/toxic_deluge.txt index 4fac2d318dd..1f35e9dee8d 100644 --- a/forge-gui/res/cardsfolder/t/toxic_deluge.txt +++ b/forge-gui/res/cardsfolder/t/toxic_deluge.txt @@ -1,7 +1,7 @@ Name:Toxic Deluge ManaCost:2 B Types:Sorcery -A:SP$ PumpAll | Cost$ 2 B PayLife | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X | References$ X | SpellDescription$ All creatures get -X/-X until end of turn. +A:SP$ PumpAll | Cost$ 2 B PayLife | ValidCards$ Creature | NumAtt$ -X | NumDef$ -X | SpellDescription$ All creatures get -X/-X until end of turn. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, pay X life.\nAll creatures get -X/-X until end of turn. diff --git a/forge-gui/res/cardsfolder/t/toxic_stench.txt b/forge-gui/res/cardsfolder/t/toxic_stench.txt index 44ca154d84a..618f97c326a 100644 --- a/forge-gui/res/cardsfolder/t/toxic_stench.txt +++ b/forge-gui/res/cardsfolder/t/toxic_stench.txt @@ -1,8 +1,8 @@ Name:Toxic Stench ManaCost:1 B Types:Instant -A:SP$ Pump | Cost$ 1 B | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ LT7 | SubAbility$ DBDestroy | SpellDescription$ Target nonblack creature gets -1/-1 until end of turn. -SVar:DBDestroy:DB$ Destroy | Defined$ Targeted | NoRegen$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE7 | References$ X | SpellDescription$ Threshold — If seven or more cards are in your graveyard, instead destroy that creature. It can't be regenerated. +A:SP$ Pump | Cost$ 1 B | ValidTgts$ Creature.nonBlack | TgtPrompt$ Select target nonblack creature | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ LT7 | SubAbility$ DBDestroy | SpellDescription$ Target nonblack creature gets -1/-1 until end of turn. +SVar:DBDestroy:DB$ Destroy | Defined$ Targeted | NoRegen$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE7 | SpellDescription$ Threshold — If seven or more cards are in your graveyard, instead destroy that creature. It can't be regenerated. SVar:X:Count$InYourYard SVar:Picture:http://www.wizards.com/global/images/magic/general/toxic_stench.jpg Oracle:Target nonblack creature gets -1/-1 until end of turn.\nThreshold — If seven or more cards are in your graveyard, instead destroy that creature. It can't be regenerated. diff --git a/forge-gui/res/cardsfolder/t/track_down.txt b/forge-gui/res/cardsfolder/t/track_down.txt index 8a2a2be453b..f43242cde9b 100644 --- a/forge-gui/res/cardsfolder/t/track_down.txt +++ b/forge-gui/res/cardsfolder/t/track_down.txt @@ -3,6 +3,6 @@ ManaCost:1 G Types:Sorcery A:SP$Scry | Cost$ 1 G | ScryNum$ 3 | SubAbility$ DBReveal | SpellDescription$ Scry 3, then reveal the top card of your library. If it's a creature or land card, draw a card. SVar:DBReveal:DB$ Dig | DigNum$ 1 | Reveal$ True | RememberRevealed$ True | DestinationZone$ Library | LibraryPosition$ 0 | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ 1 | References$ X | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 +SVar:DBDraw:DB$ Draw | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 SVar:X:Remembered$Valid Creature,Land Oracle:Scry 3, then reveal the top card of your library. If it's a creature or land card, draw a card. (To scry 3, look at the top three cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.) diff --git a/forge-gui/res/cardsfolder/t/tracker.txt b/forge-gui/res/cardsfolder/t/tracker.txt index 66afe81e469..10ac52901c4 100644 --- a/forge-gui/res/cardsfolder/t/tracker.txt +++ b/forge-gui/res/cardsfolder/t/tracker.txt @@ -2,8 +2,8 @@ Name:Tracker ManaCost:2 G Types:Creature Human PT:2/2 -A:AB$ DealDamage | Cost$ G G T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SubAbility$ DamageThis | SpellDescription$ CARDNAME deals damage equal to its power to target creature. That creature deals damage equal to its power to CARDNAME. -SVar:DamageThis:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y | References$ Y +A:AB$ DealDamage | Cost$ G G T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DamageThis | SpellDescription$ CARDNAME deals damage equal to its power to target creature. That creature deals damage equal to its power to CARDNAME. +SVar:DamageThis:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y SVar:X:Count$CardPower SVar:Y:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/tracker.jpg diff --git a/forge-gui/res/cardsfolder/t/trade_secrets.txt b/forge-gui/res/cardsfolder/t/trade_secrets.txt index ac4c7f66268..0ceb1a2cf2f 100644 --- a/forge-gui/res/cardsfolder/t/trade_secrets.txt +++ b/forge-gui/res/cardsfolder/t/trade_secrets.txt @@ -4,7 +4,7 @@ Types:Sorcery A:SP$ Draw | Cost$ 1 U U | ValidTgts$ Opponent | NumCards$ 2 | SubAbility$ DBDraw | StackDescription$ SpellDescription | SpellDescription$ Target opponent draws two cards, then you draw up to four cards. That opponent may repeat this process as many times as they choose. SVar:DBDraw:DB$ Draw | NumCards$ 4 | Upto$ True | Defined$ You | AILogic$ OptionalDraw | SubAbility$ DBChooseNumber | StackDescription$ None SVar:DBChooseNumber:DB$ ChooseNumber | Defined$ Targeted | ListTitle$ How many times do you want repeat this process? | AILogic$ RepeatDraw | SubAbility$ DBRepeat | StackDescription$ None -SVar:DBRepeat:DB$ Repeat | MaxRepeat$ X | References$ X | RepeatSubAbility$ DBRepeatDraw | StackDescription$ None +SVar:DBRepeat:DB$ Repeat | MaxRepeat$ X | RepeatSubAbility$ DBRepeatDraw | StackDescription$ None SVar:DBRepeatDraw:DB$ Draw | Defined$ Targeted | NumCards$ 2 | SubAbility$ DBSubDraw SVar:DBSubDraw:DB$ Draw | Defined$ You | NumCards$ 4 | Upto$ True | AILogic$ OptionalDraw SVar:X:Count$ChosenNumber diff --git a/forge-gui/res/cardsfolder/t/tragic_slip.txt b/forge-gui/res/cardsfolder/t/tragic_slip.txt index 49af270f283..a52d7c7156e 100644 --- a/forge-gui/res/cardsfolder/t/tragic_slip.txt +++ b/forge-gui/res/cardsfolder/t/tragic_slip.txt @@ -1,7 +1,7 @@ Name:Tragic Slip ManaCost:B Types:Instant -A:SP$ Pump | Cost$ B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | References$ X | IsCurse$ True | SpellDescription$ Target creature gets -1/-1 until end of turn. Morbid — that creature gets -13/-13 instead if a creature died this turn. +A:SP$ Pump | Cost$ B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -1/-1 until end of turn. Morbid — that creature gets -13/-13 instead if a creature died this turn. SVar:X:Count$Morbid.13.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/tragic_slip.jpg Oracle:Target creature gets -1/-1 until end of turn.\nMorbid — That creature gets -13/-13 until end of turn instead if a creature died this turn. diff --git a/forge-gui/res/cardsfolder/t/training_center.txt b/forge-gui/res/cardsfolder/t/training_center.txt index dfb6dcde6d7..8db4171e143 100644 --- a/forge-gui/res/cardsfolder/t/training_center.txt +++ b/forge-gui/res/cardsfolder/t/training_center.txt @@ -2,7 +2,7 @@ Name:Training Center ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. SVar:ETBCheckSVar2:PlayerCountOpponents$Amount A:AB$ Mana | Cost$ T | Produced$ U | SpellDescription$ Add {U}. A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add {R}. diff --git a/forge-gui/res/cardsfolder/t/traitors_roar.txt b/forge-gui/res/cardsfolder/t/traitors_roar.txt index 42fecb79363..33fddbd8017 100644 --- a/forge-gui/res/cardsfolder/t/traitors_roar.txt +++ b/forge-gui/res/cardsfolder/t/traitors_roar.txt @@ -2,7 +2,7 @@ Name:Traitor's Roar ManaCost:4 BR Types:Sorcery A:SP$ Tap | Cost$ 4 BR | ValidTgts$ Creature.untapped | TgtPrompt$ Select an untapped creature | SubAbility$ DBDamage | SpellDescription$ Tap target untapped creature. It deals damage equal to its power to its controller. -SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | DamageSource$ Targeted | NumDmg$ X | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ TargetedController | DamageSource$ Targeted | NumDmg$ X SVar:X:Targeted$CardPower K:Conspire SVar:Picture:http://www.wizards.com/global/images/magic/general/traitors_roar.jpg diff --git a/forge-gui/res/cardsfolder/t/transcendence.txt b/forge-gui/res/cardsfolder/t/transcendence.txt index 2b2adc110be..21fefee6bc8 100644 --- a/forge-gui/res/cardsfolder/t/transcendence.txt +++ b/forge-gui/res/cardsfolder/t/transcendence.txt @@ -5,7 +5,7 @@ S:Mode$ Continuous | Affected$ You | AddKeyword$ You don't lose the game for hav T:Mode$ Always | LifeTotal$ You | LifeAmount$ GE20 | TriggerZones$ Battlefield | Execute$ TrigLoseGame | TriggerDescription$ When you have 20 or more life, you lose the game. T:Mode$ LifeLost | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigLifeGain | TriggerDescription$ Whenever you lose life, you gain 2 life for each 1 life you lost. (Damage dealt to you causes you to lose life.) SVar:TrigLoseGame:DB$ LosesGame | Defined$ You -SVar:TrigLifeGain:DB$ GainLife | LifeAmount$ X | References$ X +SVar:TrigLifeGain:DB$ GainLife | LifeAmount$ X SVar:X:TriggerCount$LifeAmount/Times.2 AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/transcendence.jpg diff --git a/forge-gui/res/cardsfolder/t/transmute_artifact.txt b/forge-gui/res/cardsfolder/t/transmute_artifact.txt index e23343951fa..27e7dadc085 100644 --- a/forge-gui/res/cardsfolder/t/transmute_artifact.txt +++ b/forge-gui/res/cardsfolder/t/transmute_artifact.txt @@ -6,9 +6,9 @@ SVar:StoreCanSearch:DB$ StoreSVar | SVar$ SackedCMC | Type$ Number | Expression$ SVar:StoreCMC:DB$ StoreSVar | SVar$ SackedCMC | Type$ Calculate | Expression$ Y | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBClear SVar:DBClear:DB$ Cleanup | ClearRemembered$ True | SubAbility$ SearchLibrary SVar:SearchLibrary:DB$ ChangeZone | Origin$ Library | Destination$ Library | ChangeType$ Artifact | ChangeNum$ 1 | SubAbility$ EqualTransmute | StackDescription$ None | RememberChanged$ True | ConditionCheckSVar$ SackedCMC | ConditionSVarCompare$ GE0 -SVar:EqualTransmute:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | NoLooking$ True | Mandatory$ True | Defined$ Remembered | ChangeNum$ 1 | ConditionCheckSVar$ SackedCMC | ConditionSVarCompare$ GEY | References$ Y | SubAbility$ PayForTransmute | StackDescription$ None -SVar:PayForTransmute:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | NoLooking$ True | Mandatory$ True | Defined$ Remembered | ChangeNum$ 1 | ConditionCheckSVar$ SackedCMC | ConditionSVarCompare$ LTY | UnlessCost$ X | References$ X,Y | UnlessPayer$ You | UnlessSwitched$ True | UnlessResolveSubs$ WhenNotPaid | SubAbility$ CostNotPaid | StackDescription$ None | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 -SVar:CostNotPaid:DB$ ChangeZone | Origin$ Library | Destination$ Graveyard | NoLooking$ True | Mandatory$ True | Defined$ Remembered | ChangeNum$ 1 | ConditionCheckSVar$ SackedCMC | ConditionSVarCompare$ LTY | References$ Y | StackDescription$ None | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 +SVar:EqualTransmute:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | NoLooking$ True | Mandatory$ True | Defined$ Remembered | ChangeNum$ 1 | ConditionCheckSVar$ SackedCMC | ConditionSVarCompare$ GEY | SubAbility$ PayForTransmute | StackDescription$ None +SVar:PayForTransmute:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | NoLooking$ True | Mandatory$ True | Defined$ Remembered | ChangeNum$ 1 | ConditionCheckSVar$ SackedCMC | ConditionSVarCompare$ LTY | UnlessCost$ X | UnlessPayer$ You | UnlessSwitched$ True | UnlessResolveSubs$ WhenNotPaid | SubAbility$ CostNotPaid | StackDescription$ None | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 +SVar:CostNotPaid:DB$ ChangeZone | Origin$ Library | Destination$ Graveyard | NoLooking$ True | Mandatory$ True | Defined$ Remembered | ChangeNum$ 1 | ConditionCheckSVar$ SackedCMC | ConditionSVarCompare$ LTY | StackDescription$ None | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 # Everything working but when no artifact is sacrificed # SackedCMC to be overridden to see if a sacrifice actually happened SVar:Y:Remembered$CardManaCost diff --git a/forge-gui/res/cardsfolder/t/traumatize.txt b/forge-gui/res/cardsfolder/t/traumatize.txt index eac1312d70c..76aed82a051 100644 --- a/forge-gui/res/cardsfolder/t/traumatize.txt +++ b/forge-gui/res/cardsfolder/t/traumatize.txt @@ -1,6 +1,6 @@ Name:Traumatize ManaCost:3 U U Types:Sorcery -A:SP$ Mill | Cost$ 3 U U | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X | References$ X | SpellDescription$ Target player mills half their library, rounded down. +A:SP$ Mill | Cost$ 3 U U | ValidTgts$ Player | TgtPrompt$ Select target player | NumCards$ X | SpellDescription$ Target player mills half their library, rounded down. SVar:X:TargetedPlayer$CardsInLibrary/HalfDown Oracle:Target player mills half their library, rounded down. diff --git a/forge-gui/res/cardsfolder/t/traveling_plague.txt b/forge-gui/res/cardsfolder/t/traveling_plague.txt index a0fcc57d50c..9e18d9cae3a 100644 --- a/forge-gui/res/cardsfolder/t/traveling_plague.txt +++ b/forge-gui/res/cardsfolder/t/traveling_plague.txt @@ -5,7 +5,7 @@ K:Enchant creature A:SP$ Attach | Cost$ 3 B B | ValidTgts$ Creature | AILogic$ Curse T:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of each upkeep, put a plague counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ PLAGUE | CounterNum$ 1 -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | AddToughness$ -X | References$ X | Description$ Enchanted creature gets -1/-1 for each plague counter on CARDNAME. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | AddToughness$ -X | Description$ Enchanted creature gets -1/-1 for each plague counter on CARDNAME. SVar:X:Count$CardCounters.PLAGUE T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.EnchantedBy | TriggerController$ TriggeredCardController | Execute$ DBRem | TriggerDescription$ When enchanted creature leaves the battlefield, that creature's controller returns CARDNAME from its owner's graveyard to the battlefield. SVar:DBRem:DB$ Pump | RememberObjects$ Self | SubAbility$ DBChangeZone diff --git a/forge-gui/res/cardsfolder/t/traverse_the_outlands.txt b/forge-gui/res/cardsfolder/t/traverse_the_outlands.txt index fbeb0298088..f682e7e93c5 100644 --- a/forge-gui/res/cardsfolder/t/traverse_the_outlands.txt +++ b/forge-gui/res/cardsfolder/t/traverse_the_outlands.txt @@ -1,7 +1,7 @@ Name:Traverse the Outlands ManaCost:4 G Types:Sorcery -A:SP$ ChangeZone | Cost$ 4 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ X | References$ X | Tapped$ True | SpellDescription$ Search your library for up to X basic land cards, where X is the greatest power among creatures you control. Put those cards onto the battlefield tapped, then shuffle your library. +A:SP$ ChangeZone | Cost$ 4 G | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ X | Tapped$ True | SpellDescription$ Search your library for up to X basic land cards, where X is the greatest power among creatures you control. Put those cards onto the battlefield tapped, then shuffle your library. SVar:X:Count$GreatestPower_Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/traverse_the_outlands.jpg Oracle:Search your library for up to X basic land cards, where X is the greatest power among creatures you control. Put those cards onto the battlefield tapped, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/t/traverse_the_ulvenwald.txt b/forge-gui/res/cardsfolder/t/traverse_the_ulvenwald.txt index 7902030e398..30cd7bd8273 100644 --- a/forge-gui/res/cardsfolder/t/traverse_the_ulvenwald.txt +++ b/forge-gui/res/cardsfolder/t/traverse_the_ulvenwald.txt @@ -1,8 +1,8 @@ Name:Traverse the Ulvenwald ManaCost:G Types:Sorcery -A:SP$ ChangeZone | Cost$ G | Origin$ Library | Destination$ Hand | ChangeType$ Land.Basic | ChangeNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBChangeZone | References$ X | SpellDescription$ Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. Delirium — If there are four or more card types among cards in your graveyard, instead search your library for a creature or land card, reveal it, put it into your hand, then shuffle your library. -SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Land,Creature | ChangeNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X +A:SP$ ChangeZone | Cost$ G | Origin$ Library | Destination$ Hand | ChangeType$ Land.Basic | ChangeNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBChangeZone | SpellDescription$ Search your library for a basic land card, reveal it, put it into your hand, then shuffle your library. Delirium — If there are four or more card types among cards in your graveyard, instead search your library for a creature or land card, reveal it, put it into your hand, then shuffle your library. +SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Hand | ChangeType$ Land,Creature | ChangeNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 SVar:X:Count$Delirium.1.0 DeckHints:Ability$Graveyard & Ability$Discard DeckHas:Ability$Delirium diff --git a/forge-gui/res/cardsfolder/t/treacherous_terrain.txt b/forge-gui/res/cardsfolder/t/treacherous_terrain.txt index 037415e92b3..4770a1b857f 100644 --- a/forge-gui/res/cardsfolder/t/treacherous_terrain.txt +++ b/forge-gui/res/cardsfolder/t/treacherous_terrain.txt @@ -2,7 +2,7 @@ Name:Treacherous Terrain ManaCost:6 R G Types:Sorcery A:SP$ RepeatEach | Cost$ 6 R G | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DmgOpp | DamageMap$ True | SpellDescription$ CARDNAME deals damage to each opponent equal to the number of lands that player controls. -SVar:DmgOpp:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | References$ X +SVar:DmgOpp:DB$ DealDamage | Defined$ Remembered | NumDmg$ X SVar:X:Count$Valid Land.RememberedPlayerCtrl K:TypeCycling:Basic:2 SVar:AIPlayForSub:True diff --git a/forge-gui/res/cardsfolder/t/treasure_map_treasure_cove.txt b/forge-gui/res/cardsfolder/t/treasure_map_treasure_cove.txt index b5c5f636f19..cbcc2ab5996 100644 --- a/forge-gui/res/cardsfolder/t/treasure_map_treasure_cove.txt +++ b/forge-gui/res/cardsfolder/t/treasure_map_treasure_cove.txt @@ -3,7 +3,7 @@ ManaCost:2 Types:Artifact A:AB$ Scry | Cost$ 1 T | ScryNum$ 1 | SubAbility$ DBLandmark | SpellDescription$ Scry 1. Put a landmark counter on CARDNAME. Then if there are three or more landmark counters on it, remove those counters, transform CARDNAME, and create three Treasure tokens. SVar:DBLandmark:DB$ PutCounter | Defined$ Self | CounterType$ LANDMARK | CounterNum$ 1 | SubAbility$ DBBranch -SVar:DBBranch:DB$ Branch | BranchConditionSVar$ XMarksTheSpot | References$ XMarksTheSpot | TrueSubAbility$ DBRemoveCtrs +SVar:DBBranch:DB$ Branch | BranchConditionSVar$ XMarksTheSpot | TrueSubAbility$ DBRemoveCtrs SVar:DBRemoveCtrs:DB$ RemoveCounter | Defined$ Self | CounterType$ LANDMARK | CounterNum$ All | SubAbility$ DBTransform SVar:DBTransform:DB$ SetState | Defined$ Self | Mode$ Transform | SubAbility$ DBTreasureTokens SVar:DBTreasureTokens:DB$ Token | TokenAmount$ 3 | TokenScript$ c_a_treasure_sac | TokenOwner$ You | LegacyImage$ c a treasure sac xln diff --git a/forge-gui/res/cardsfolder/t/treetop_defense.txt b/forge-gui/res/cardsfolder/t/treetop_defense.txt index 1cfd7b3cb21..f4d594f5875 100644 --- a/forge-gui/res/cardsfolder/t/treetop_defense.txt +++ b/forge-gui/res/cardsfolder/t/treetop_defense.txt @@ -1,7 +1,7 @@ Name:Treetop Defense ManaCost:1 G Types:Instant -A:SP$ PumpAll | Cost$ 1 G | ValidCards$ Creature.YouCtrl | KW$ Reach | CheckSVar$ X | SVarCompare$ GE1 | References$ X | OpponentTurn$ True | ActivationPhases$ Declare Attackers | SpellDescription$ Cast this spell only during the declare attackers step and only if you've been attacked this step. Creatures you control gain reach until end of turn. +A:SP$ PumpAll | Cost$ 1 G | ValidCards$ Creature.YouCtrl | KW$ Reach | CheckSVar$ X | SVarCompare$ GE1 | OpponentTurn$ True | ActivationPhases$ Declare Attackers | SpellDescription$ Cast this spell only during the declare attackers step and only if you've been attacked this step. Creatures you control gain reach until end of turn. SVar:X:Count$Valid Creature.attackingYou AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/treetop_defense.jpg diff --git a/forge-gui/res/cardsfolder/t/trench_gorger.txt b/forge-gui/res/cardsfolder/t/trench_gorger.txt index d9945f2c21d..3c6657588f6 100644 --- a/forge-gui/res/cardsfolder/t/trench_gorger.txt +++ b/forge-gui/res/cardsfolder/t/trench_gorger.txt @@ -4,8 +4,8 @@ Types:Creature Leviathan PT:6/6 K:Trample T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | OptionalDecider$ You | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, you may search your library for any number of land cards, exile them, then shuffle your library. If you do, CARDNAME has base power and base toughness each equal to the number of cards exiled this way. -SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Exile | ChangeType$ Land | ChangeNum$ X | References$ X | RememberChanged$ True | SubAbility$ TrenchAnimate | ShuffleNonMandatory$ True -SVar:TrenchAnimate:DB$Animate | Power$ Y | Toughness$ Y | References$ Y | Permanent$ True | SubAbility$ DBCleanUp +SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Exile | ChangeType$ Land | ChangeNum$ X | RememberChanged$ True | SubAbility$ TrenchAnimate | ShuffleNonMandatory$ True +SVar:TrenchAnimate:DB$Animate | Power$ Y | Toughness$ Y | Permanent$ True | SubAbility$ DBCleanUp SVar:DBCleanUp:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$TypeInYourLibrary.Land SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/t/trepanation_blade.txt b/forge-gui/res/cardsfolder/t/trepanation_blade.txt index a17c53ffd5e..b47e2aa4fba 100644 --- a/forge-gui/res/cardsfolder/t/trepanation_blade.txt +++ b/forge-gui/res/cardsfolder/t/trepanation_blade.txt @@ -4,7 +4,7 @@ Types:Artifact Equipment K:Equip:2 T:Mode$ Attacks | ValidCard$ Card.EquippedBy | Execute$ TrigDig | TriggerDescription$ Whenever equipped creature attacks, defending player reveals cards from the top of their library until their reveals a land card. The creature gets +1/+0 until end of turn for each card revealed this way. That player puts the revealed cards into their graveyard. SVar:TrigDig:DB$ DigUntil | Defined$ DefendingPlayer | Valid$ Land | ValidDescription$ land | RevealedDestination$ Graveyard | RememberRevealed$ True | SubAbility$ TrigPump -SVar:TrigPump:DB$ Pump | Defined$ Equipped | NumAtt$ X | References$ X | SubAbility$ DBCleanup +SVar:TrigPump:DB$ Pump | Defined$ Equipped | NumAtt$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/trepanation_blade.jpg diff --git a/forge-gui/res/cardsfolder/t/tribal_flames.txt b/forge-gui/res/cardsfolder/t/tribal_flames.txt index 4e7fbfb80a9..93e4f887318 100644 --- a/forge-gui/res/cardsfolder/t/tribal_flames.txt +++ b/forge-gui/res/cardsfolder/t/tribal_flames.txt @@ -1,7 +1,7 @@ Name:Tribal Flames ManaCost:1 R Types:Sorcery -A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ Domain — Tribal Flames deals X damage to any target, where X is the number of basic land types among lands you control. +A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ Domain — Tribal Flames deals X damage to any target, where X is the number of basic land types among lands you control. SVar:X:Count$Domain SVar:Picture:http://resources.wizards.com/magic/cards/tsb/en-us/card108916.jpg Oracle:Domain — Tribal Flames deals X damage to any target, where X is the number of basic land types among lands you control. diff --git a/forge-gui/res/cardsfolder/t/tribal_unity.txt b/forge-gui/res/cardsfolder/t/tribal_unity.txt index 7a05d2b0f52..308da6b0643 100644 --- a/forge-gui/res/cardsfolder/t/tribal_unity.txt +++ b/forge-gui/res/cardsfolder/t/tribal_unity.txt @@ -1,8 +1,8 @@ Name:Tribal Unity ManaCost:X 2 G Types:Instant -A:SP$ ChooseType | Cost$ X 2 G | References$ X | Defined$ You | Type$ Creature | AILogic$ MostProminentComputerControls | SubAbility$ TribalPump | SpellDescription$ Creatures of the creature type of your choice get +X/+X until end of turn. -SVar:TribalPump:DB$ PumpAll | ValidCards$ Creature.ChosenType | NumAtt$ +X | NumDef$ +X | References$ X +A:SP$ ChooseType | Cost$ X 2 G | Defined$ You | Type$ Creature | AILogic$ MostProminentComputerControls | SubAbility$ TribalPump | SpellDescription$ Creatures of the creature type of your choice get +X/+X until end of turn. +SVar:TribalPump:DB$ PumpAll | ValidCards$ Creature.ChosenType | NumAtt$ +X | NumDef$ +X SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:Creatures of the creature type of your choice get +X/+X until end of turn. diff --git a/forge-gui/res/cardsfolder/t/tribute_to_hunger.txt b/forge-gui/res/cardsfolder/t/tribute_to_hunger.txt index f534e78a9a5..0a7752c5a9c 100644 --- a/forge-gui/res/cardsfolder/t/tribute_to_hunger.txt +++ b/forge-gui/res/cardsfolder/t/tribute_to_hunger.txt @@ -2,7 +2,7 @@ Name:Tribute to Hunger ManaCost:2 B Types:Instant A:SP$ Sacrifice | Cost$ 2 B | SacValid$ Creature | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | Amount$ 1 | RememberSacrificed$ True | SubAbility$ DBGainLife | SpellDescription$ Target opponent sacrifices a creature. You gain life equal to that creature's toughness. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:RememberedLKI$CardToughness SVar:Picture:http://www.wizards.com/global/images/magic/general/tribute_to_hunger.jpg Oracle:Target opponent sacrifices a creature. You gain life equal to that creature's toughness. diff --git a/forge-gui/res/cardsfolder/t/triumph_of_cruelty.txt b/forge-gui/res/cardsfolder/t/triumph_of_cruelty.txt index 5337f479d40..3c26d8bf91f 100644 --- a/forge-gui/res/cardsfolder/t/triumph_of_cruelty.txt +++ b/forge-gui/res/cardsfolder/t/triumph_of_cruelty.txt @@ -2,7 +2,7 @@ Name:Triumph of Cruelty ManaCost:2 B Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigCruelDiscard | TriggerDescription$ At the beginning of your upkeep, target opponent discards a card if you control the creature with the greatest power or tied for the greatest power. -SVar:TrigCruelDiscard:DB$Discard | ValidTgts$ Opponent | NumCards$ 1 | Mode$ TgtChoose | ConditionPresent$ Creature | ConditionCompare$ GE1 | ConditionCheckSVar$ YourCruelty | ConditionSVarCompare$ GEOppsCruelty | References$ YourCruelty,OppsCruelty +SVar:TrigCruelDiscard:DB$Discard | ValidTgts$ Opponent | NumCards$ 1 | Mode$ TgtChoose | ConditionPresent$ Creature | ConditionCompare$ GE1 | ConditionCheckSVar$ YourCruelty | ConditionSVarCompare$ GEOppsCruelty SVar:YourCruelty:Count$GreatestPower_Creature.YouCtrl SVar:OppsCruelty:Count$GreatestPower_Creature.YouDontCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/triumph_of_cruelty.jpg diff --git a/forge-gui/res/cardsfolder/t/triumph_of_ferocity.txt b/forge-gui/res/cardsfolder/t/triumph_of_ferocity.txt index e6af92e57dc..e3ab72b7ca1 100644 --- a/forge-gui/res/cardsfolder/t/triumph_of_ferocity.txt +++ b/forge-gui/res/cardsfolder/t/triumph_of_ferocity.txt @@ -2,7 +2,7 @@ Name:Triumph of Ferocity ManaCost:2 G Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigFerociousDraw | TriggerDescription$ At the beginning of your upkeep, draw a card if you control the creature with the greatest power or tied for the greatest power. -SVar:TrigFerociousDraw:DB$ Draw | Defined$ You | NumCards$ 1 | ConditionPresent$ Creature | ConditionCompare$ GE1 | ConditionCheckSVar$ YourFerocity | ConditionSVarCompare$ GEOppsFerocity | References$ YourFerocity,OppsFerocity +SVar:TrigFerociousDraw:DB$ Draw | Defined$ You | NumCards$ 1 | ConditionPresent$ Creature | ConditionCompare$ GE1 | ConditionCheckSVar$ YourFerocity | ConditionSVarCompare$ GEOppsFerocity SVar:YourFerocity:Count$GreatestPower_Creature.YouCtrl SVar:OppsFerocity:Count$GreatestPower_Creature.YouDontCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/triumph_of_ferocity.jpg diff --git a/forge-gui/res/cardsfolder/t/tromokratis.txt b/forge-gui/res/cardsfolder/t/tromokratis.txt index fd28a0bcabb..f0fbd877752 100644 --- a/forge-gui/res/cardsfolder/t/tromokratis.txt +++ b/forge-gui/res/cardsfolder/t/tromokratis.txt @@ -2,7 +2,7 @@ Name:Tromokratis ManaCost:5 U U Types:Legendary Creature Kraken PT:8/8 -S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Hexproof | CheckSVar$ X | References$ X | Description$ CARDNAME has hexproof unless it's attacking or blocking. +S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Hexproof | CheckSVar$ X | Description$ CARDNAME has hexproof unless it's attacking or blocking. SVar:X:Count$Valid Card.Self+notattacking+notblocking K:CARDNAME can't be blocked unless all creatures defending player controls block it. SVar:Picture:http://www.wizards.com/global/images/magic/general/tromokratis.jpg diff --git a/forge-gui/res/cardsfolder/t/tromp_the_domains.txt b/forge-gui/res/cardsfolder/t/tromp_the_domains.txt index 246f2fb8ef4..b7ff75b3693 100644 --- a/forge-gui/res/cardsfolder/t/tromp_the_domains.txt +++ b/forge-gui/res/cardsfolder/t/tromp_the_domains.txt @@ -1,7 +1,7 @@ Name:Tromp the Domains ManaCost:5 G Types:Sorcery -A:SP$ PumpAll | Cost$ 5 G | ValidCards$ Creature.YouCtrl | NumAtt$ +X | NumDef$ +X | References$ X | KW$ Trample | SpellDescription$ Domain — Until end of turn, creatures you control gain trample and get +1/+1 for each basic land type among lands you control. +A:SP$ PumpAll | Cost$ 5 G | ValidCards$ Creature.YouCtrl | NumAtt$ +X | NumDef$ +X | KW$ Trample | SpellDescription$ Domain — Until end of turn, creatures you control gain trample and get +1/+1 for each basic land type among lands you control. SVar:X:Count$Domain AI:RemoveDeck:Random SVar:Picture:http://resources.wizards.com/magic/cards/tsp/en-us/card116726.jpg diff --git a/forge-gui/res/cardsfolder/t/tropical_storm.txt b/forge-gui/res/cardsfolder/t/tropical_storm.txt index b9591e43b4d..6e9048bac81 100644 --- a/forge-gui/res/cardsfolder/t/tropical_storm.txt +++ b/forge-gui/res/cardsfolder/t/tropical_storm.txt @@ -1,7 +1,7 @@ Name:Tropical Storm ManaCost:X G Types:Sorcery -A:SP$ DamageAll | Cost$ X G | ValidCards$ Creature.withFlying | NumDmg$ X | References$ X | SubAbility$ DBDamage | SpellDescription$ CARDNAME deals X damage to each creature with flying and 1 additional damage to each blue creature. +A:SP$ DamageAll | Cost$ X G | ValidCards$ Creature.withFlying | NumDmg$ X | SubAbility$ DBDamage | SpellDescription$ CARDNAME deals X damage to each creature with flying and 1 additional damage to each blue creature. SVar:DBDamage:DB$DamageAll | ValidCards$ Creature.Blue | NumDmg$ 1 SVar:X:Count$xPaid AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/t/trostani_selesnyas_voice.txt b/forge-gui/res/cardsfolder/t/trostani_selesnyas_voice.txt index 41da7ed2d4d..91c7c7231d8 100644 --- a/forge-gui/res/cardsfolder/t/trostani_selesnyas_voice.txt +++ b/forge-gui/res/cardsfolder/t/trostani_selesnyas_voice.txt @@ -3,7 +3,7 @@ ManaCost:G G W W Types:Legendary Creature Dryad PT:2/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl+Other | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever 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:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ Life SVar:Life:TriggeredCard$CardToughness A:AB$ CopyPermanent | Cost$ 1 G W T | Choices$ Creature.token+YouCtrl | NumCopies$ 1 | Populate$ True | StackDescription$ SpellDescription | SpellDescription$ Populate. (Create a token that's a copy of a creature token you control.) DeckHints:Ability$Token diff --git a/forge-gui/res/cardsfolder/t/truce.txt b/forge-gui/res/cardsfolder/t/truce.txt index fcaec508a79..cb5d202a588 100644 --- a/forge-gui/res/cardsfolder/t/truce.txt +++ b/forge-gui/res/cardsfolder/t/truce.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Instant A:SP$ RepeatEach | Cost$ 2 W | RepeatPlayers$ Player | RepeatSubAbility$ DBDraw | SpellDescription$ Each player may draw up to two cards. For each card less than two a player draws this way, that player gains 2 life. SVar:DBDraw:DB$ Draw | Defined$ Player.IsRemembered | Upto$ True | NumCards$ 2 | RememberDrawn$ True | SubAbility$ DBGainLife | AILogic$ GainLife -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X,Y | Defined$ Player.IsRemembered | SubAbility$ DBCleanup +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | Defined$ Player.IsRemembered | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True # Player is remembered here SVar:Y:Count$RememberedSize/NMinus.3 diff --git a/forge-gui/res/cardsfolder/t/truefire_captain.txt b/forge-gui/res/cardsfolder/t/truefire_captain.txt index 3c254c3ef0f..254725244d5 100644 --- a/forge-gui/res/cardsfolder/t/truefire_captain.txt +++ b/forge-gui/res/cardsfolder/t/truefire_captain.txt @@ -4,7 +4,7 @@ Types:Creature Human Knight PT:4/3 K:Mentor T:Mode$ DamageDoneOnce | Execute$ TrigDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME is dealt damage, it deals that much damage to target player. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Player | TgtPrompt$ Select target player | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Player | TgtPrompt$ Select target player | NumDmg$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/t/trynn_champion_of_freedom.txt b/forge-gui/res/cardsfolder/t/trynn_champion_of_freedom.txt index 1d5bab2a328..3d74e14d933 100755 --- a/forge-gui/res/cardsfolder/t/trynn_champion_of_freedom.txt +++ b/forge-gui/res/cardsfolder/t/trynn_champion_of_freedom.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Legendary Creature Human Soldier PT:3/3 K:Partner:Silvar, Devourer of the Free:Silvar -T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ RaidTest | References$ RaidTest | Execute$ TrigToken | TriggerDescription$ At the beginning of your end step, if you attacked this turn, create a 1/1 white Human Soldier creature token. +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ RaidTest | Execute$ TrigToken | TriggerDescription$ At the beginning of your end step, if you attacked this turn, create a 1/1 white Human Soldier creature token. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ w_1_1_human_soldier | TokenOwner$ You DeckHints:Name$Silvar, Devourer of the Free DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/t/tuktuk_scrapper.txt b/forge-gui/res/cardsfolder/t/tuktuk_scrapper.txt index 4a0aaec668b..288621d08da 100644 --- a/forge-gui/res/cardsfolder/t/tuktuk_scrapper.txt +++ b/forge-gui/res/cardsfolder/t/tuktuk_scrapper.txt @@ -5,7 +5,7 @@ PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TuktukDestroy | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may destroy target artifact. If that artifact is put into a graveyard this way, Tuktuk Scrapper deals damage to that artifact's controller equal to the number of Allies you control. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Ally.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TuktukDestroy | Secondary$ True | OptionalDecider$ You | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, you may destroy target artifact. If that artifact is put into a graveyard this way, Tuktuk Scrapper deals damage to that artifact's controller equal to the number of Allies you control. SVar:TuktukDestroy:DB$ Destroy | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | RememberDestroyed$ True | SubAbility$ TuktukDamage | SpellDescription$ If that artifact is put into a graveyard this way, -SVar:TuktukDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | References$ X,Y | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup +SVar:TuktukDamage:DB$ DealDamage | Defined$ TargetedController | NumDmg$ X | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$TypeYouCtrl.Ally SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/t/tundra_fumarole.txt b/forge-gui/res/cardsfolder/t/tundra_fumarole.txt index 5e40418b6bd..6096b3ccc46 100644 --- a/forge-gui/res/cardsfolder/t/tundra_fumarole.txt +++ b/forge-gui/res/cardsfolder/t/tundra_fumarole.txt @@ -2,7 +2,7 @@ Name:Tundra Fumarole ManaCost:1 R R Types:Snow Sorcery A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker. | NumDmg$ 4 | SubAbility$ DBColorlessMana | SpellDescription$ CARDNAME deals 4 damage to target creature or planeswalker. Add {C} for each {S} spent to cast this spell. Until end of turn, you don't lose this mana as steps and phases end. | StackDescription$ SpellDescription -SVar:DBColorlessMana:DB$ Mana | Produced$ C | Amount$ X | References$ X | PersistentMana$ True +SVar:DBColorlessMana:DB$ Mana | Produced$ C | Amount$ X | PersistentMana$ True SVar:X:Count$CastTotalSnowManaSpent DeckHints:Type$Snow Oracle:Tundra Fumarole deals 4 damage to target creature or planeswalker. Add {C} for each {S} spent to cast this spell. Until end of turn, you don't lose this mana as steps and phases end. ({S} is mana from a snow source.) diff --git a/forge-gui/res/cardsfolder/t/turbulent_dreams.txt b/forge-gui/res/cardsfolder/t/turbulent_dreams.txt index 55e64cffb25..8c06a3725f4 100644 --- a/forge-gui/res/cardsfolder/t/turbulent_dreams.txt +++ b/forge-gui/res/cardsfolder/t/turbulent_dreams.txt @@ -1,7 +1,7 @@ Name:Turbulent Dreams ManaCost:U U Types:Sorcery -A:SP$ ChangeZone | Cost$ U U Discard | CostDesc$ As an additional cost to cast this spell, discard X cards. | Origin$ Battlefield | Destination$ Hand | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select X target nonland permanents | SpellDescription$ Return X target nonland permanents to their owners' hands. +A:SP$ ChangeZone | Cost$ U U Discard | CostDesc$ As an additional cost to cast this spell, discard X cards. | Origin$ Battlefield | Destination$ Hand | TargetMin$ X | TargetMax$ X | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select X target nonland permanents | SpellDescription$ Return X target nonland permanents to their owners' hands. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, discard X cards.\nReturn X target nonland permanents to their owners' hands. diff --git a/forge-gui/res/cardsfolder/t/turn_into_a_pumpkin.txt b/forge-gui/res/cardsfolder/t/turn_into_a_pumpkin.txt index e183042a334..f9f4803cbc8 100644 --- a/forge-gui/res/cardsfolder/t/turn_into_a_pumpkin.txt +++ b/forge-gui/res/cardsfolder/t/turn_into_a_pumpkin.txt @@ -3,7 +3,7 @@ ManaCost:3 U Types:Instant A:SP$ ChangeZone | Cost$ 3 U | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select target nonland permanent | Origin$ Battlefield | Destination$ Hand | SubAbility$ DBDraw | AIManaPref$ U | SpellDescription$ Return target nonland permanent to its owner's hand. Draw a card. Adamant — If at least three blue mana was spent to cast this spell, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") SVar:DBDraw:DB$ Draw | NumCards$ 1 | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ c_a_food_sac | TokenOwner$ You | LegacyImage$ c a food sac eld | References$ X +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ c_a_food_sac | TokenOwner$ You | LegacyImage$ c a food sac eld SVar:X:Count$Adamant.Blue.1.0 DeckHas:Ability$LifeGain & Ability$Token & Ability$Food Oracle:Return target nonland permanent to its owner's hand. Draw a card.\nAdamant — If at least three blue mana was spent to cast this spell, create a Food token. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") diff --git a/forge-gui/res/cardsfolder/t/turn_the_tables.txt b/forge-gui/res/cardsfolder/t/turn_the_tables.txt index 2f870aa3778..26829628dd0 100644 --- a/forge-gui/res/cardsfolder/t/turn_the_tables.txt +++ b/forge-gui/res/cardsfolder/t/turn_the_tables.txt @@ -1,7 +1,7 @@ Name:Turn the Tables ManaCost:3 W W Types:Instant -A:SP$ Effect | Cost$ 3 W W | Name$ Turn the Tables Effect | ReplacementEffects$ DamageEvent | SVars$ TurnTheTables | References$ TurnTheTables | RememberObjects$ Targeted | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | IsCurse$ True | AILogic$ Fog | SpellDescription$ All combat damage that would be dealt to you this turn is dealt to target attacking creature instead. +A:SP$ Effect | Cost$ 3 W W | Name$ Turn the Tables Effect | ReplacementEffects$ DamageEvent | SVars$ TurnTheTables | RememberObjects$ Targeted | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | IsCurse$ True | AILogic$ Fog | SpellDescription$ All combat damage that would be dealt to you this turn is dealt to target attacking creature instead. SVar:DamageEvent:Event$ DamageDone | ValidSource$ Creature | ValidTarget$ You | ReplaceWith$ TurnTheTables | IsCombat$ True | DamageTarget$ Remembered | Description$ All combat damage that would be dealt to you this turn is dealt to target attacking creature instead. SVar:TurnTheTables:DB$ ReplaceEffect | VarName$ Affected | VarValue$ Remembered | VarType$ Card Oracle:All combat damage that would be dealt to you this turn is dealt to target attacking creature instead. diff --git a/forge-gui/res/cardsfolder/t/tuvasa_the_sunlit.txt b/forge-gui/res/cardsfolder/t/tuvasa_the_sunlit.txt index 49c79afd743..782ec56a3c0 100644 --- a/forge-gui/res/cardsfolder/t/tuvasa_the_sunlit.txt +++ b/forge-gui/res/cardsfolder/t/tuvasa_the_sunlit.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Merfolk Shaman PT:1/1 S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each enchantment you control. SVar:X:Count$Valid Enchantment.YouCtrl -T:Mode$ SpellCast | ValidCard$ Enchantment | ValidActivatingPlayer$ You | CheckSVar$ Y | SVarCompare$ EQ1 | References$ Y | NoResolvingCheck$ True | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Whenever you cast your first enchantment spell each turn, draw a card. +T:Mode$ SpellCast | ValidCard$ Enchantment | ValidActivatingPlayer$ You | CheckSVar$ Y | SVarCompare$ EQ1 | NoResolvingCheck$ True | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Whenever you cast your first enchantment spell each turn, draw a card. SVar:Y:Count$ThisTurnCast_Enchantment.YouCtrl SVar:TrigDraw:DB$ Draw | NumCards$ 1 | Defined$ You SVar:BuffedBy:Enchantment diff --git a/forge-gui/res/cardsfolder/t/tuya_bearclaw.txt b/forge-gui/res/cardsfolder/t/tuya_bearclaw.txt index f878ed74423..ed2dc6240a1 100644 --- a/forge-gui/res/cardsfolder/t/tuya_bearclaw.txt +++ b/forge-gui/res/cardsfolder/t/tuya_bearclaw.txt @@ -3,7 +3,7 @@ ManaCost:1 R G Types:Legendary Creature Human Warrior PT:2/2 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +X/+X until end of turn, where X is the greatest power among other creatures you control. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X SVar:X:Count$GreatestPower_Creature.YouCtrl+Other SVar:HasAttackEffect:TRUE DeckHints:Type$Creature diff --git a/forge-gui/res/cardsfolder/t/twilight_prophet.txt b/forge-gui/res/cardsfolder/t/twilight_prophet.txt index b42d3c24f22..3433f3624fc 100644 --- a/forge-gui/res/cardsfolder/t/twilight_prophet.txt +++ b/forge-gui/res/cardsfolder/t/twilight_prophet.txt @@ -6,8 +6,8 @@ K:Flying K:Ascend T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | Blessing$ True | TriggerDescription$ At the beginning of your upkeep, if you have the city's blessing, reveal the top card of your library and put it into your hand. Each opponent loses X life and you gain X life, where X is that card's converted mana cost. SVar:TrigDig:DB$Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | RememberChanged$ True | SubAbility$ DBLoseLife -SVar:DBLoseLife:DB$LoseLife | LifeAmount$ X | Defined$ Player.Opponent | SubAbility$ DBGainLife | References$ X -SVar:DBGainLife:DB$GainLife | LifeAmount$ X | SubAbility$ DBCleanup | References$ X +SVar:DBLoseLife:DB$LoseLife | LifeAmount$ X | Defined$ Player.Opponent | SubAbility$ DBGainLife +SVar:DBGainLife:DB$GainLife | LifeAmount$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/twilight_prophet.jpg diff --git a/forge-gui/res/cardsfolder/t/twinflame.txt b/forge-gui/res/cardsfolder/t/twinflame.txt index 19f3e70c537..1bcc054a5bc 100644 --- a/forge-gui/res/cardsfolder/t/twinflame.txt +++ b/forge-gui/res/cardsfolder/t/twinflame.txt @@ -2,7 +2,7 @@ Name:Twinflame ManaCost:1 R Types:Sorcery K:Strive:2 R -A:SP$ CopyPermanent | Cost$ 1 R | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | TargetMin$ 0 | TargetMax$ MaxTargets | AddKeywords$ Haste | AtEOT$ Exile | References$ MaxTargets | SpellDescription$ Choose any number of target creatures you control. For each of them, create a token that's a copy of that creature, except it has haste. Exile those tokens at the beginning of the next end step. +A:SP$ CopyPermanent | Cost$ 1 R | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | TargetMin$ 0 | TargetMax$ MaxTargets | AddKeywords$ Haste | AtEOT$ Exile | SpellDescription$ Choose any number of target creatures you control. For each of them, create a token that's a copy of that creature, except it has haste. Exile those tokens at the beginning of the next end step. SVar:MaxTargets:Count$Valid Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/twinflame.jpg Oracle:Strive — This spell costs {2}{R} more to cast for each target beyond the first.\nChoose any number of target creatures you control. For each of them, create a token that's a copy of that creature, except it has haste. Exile those tokens at the beginning of the next end step. diff --git a/forge-gui/res/cardsfolder/t/twinning_staff.txt b/forge-gui/res/cardsfolder/t/twinning_staff.txt index 5bc515dc796..37f951bc7a5 100644 --- a/forge-gui/res/cardsfolder/t/twinning_staff.txt +++ b/forge-gui/res/cardsfolder/t/twinning_staff.txt @@ -2,7 +2,7 @@ Name:Twinning Staff ManaCost:3 Types:Artifact R:Event$ CopySpell | ActiveZones$ Battlefield | ValidPlayer$ You | ValidSpell$ Spell | ReplaceWith$ AddOneMore | Description$ If you would copy a spell one or more times, instead copy it that many times plus an additional time. You may choose new targets for the additional copy. -SVar:AddOneMore:DB$ ReplaceEffect | VarName$ Amount | VarValue$ X | References$ X +SVar:AddOneMore:DB$ ReplaceEffect | VarName$ Amount | VarValue$ X SVar:X:ReplaceCount$Amount/Plus.1 A:AB$ CopySpellAbility | Cost$ 7 T | ValidTgts$ Instant.YouCtrl,Sorcery.YouCtrl | TargetType$ Spell | MayChooseTarget$ True | SpellDescription$ Copy target instant or sorcery spell you control. You may choose new targets for the copy. Oracle:If you would copy a spell one or more times, instead copy it that many times plus an additional time. You may choose new targets for the additional copy.\n{7}, {T}: Copy target instant or sorcery spell you control. You may choose new targets for the copy. diff --git a/forge-gui/res/cardsfolder/t/twinstrike.txt b/forge-gui/res/cardsfolder/t/twinstrike.txt index 480d8b7eed8..4d4632d61bd 100644 --- a/forge-gui/res/cardsfolder/t/twinstrike.txt +++ b/forge-gui/res/cardsfolder/t/twinstrike.txt @@ -2,7 +2,7 @@ Name:Twinstrike ManaCost:3 B R Types:Instant A:SP$ DealDamage | Cost$ 3 B R | TargetMin$ 2 | TargetMax$ 2 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBDestroy | SpellDescription$ CARDNAME deals 2 damage to each of two target creatures. -SVar:DBDestroy:DB$ Destroy | Defined$ Targeted | ConditionCheckSVar$ X | References$ X | ConditionSVarCompare$ EQ0 | SpellDescription$ Hellbent — Destroy those creatures instead if you have no cards in hand. +SVar:DBDestroy:DB$ Destroy | Defined$ Targeted | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SpellDescription$ Hellbent — Destroy those creatures instead if you have no cards in hand. SVar:X:Count$InYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/twinstrike.jpg Oracle:Twinstrike deals 2 damage to each of two target creatures.\nHellbent — Destroy those creatures instead if you have no cards in hand. diff --git a/forge-gui/res/cardsfolder/t/twisted_justice.txt b/forge-gui/res/cardsfolder/t/twisted_justice.txt index f25aa609ef6..2cdbb166a68 100644 --- a/forge-gui/res/cardsfolder/t/twisted_justice.txt +++ b/forge-gui/res/cardsfolder/t/twisted_justice.txt @@ -2,7 +2,7 @@ Name:Twisted Justice ManaCost:4 U B Types:Sorcery A:SP$ Sacrifice | Cost$ 4 U B | ValidTgts$ Player | SacValid$ Creature | SacMessage$ Creature | RememberSacrificed$ True | SubAbility$ DBDraw | SpellDescription$ Target player sacrifices a creature. You draw cards equal to that creature's power. -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ X SVar:X:RememberedLKI$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/twisted_justice.jpg Oracle:Target player sacrifices a creature. You draw cards equal to that creature's power. diff --git a/forge-gui/res/cardsfolder/t/tymaret_calls_the_dead.txt b/forge-gui/res/cardsfolder/t/tymaret_calls_the_dead.txt index a53162d1a11..318fc6bacb8 100644 --- a/forge-gui/res/cardsfolder/t/tymaret_calls_the_dead.txt +++ b/forge-gui/res/cardsfolder/t/tymaret_calls_the_dead.txt @@ -7,8 +7,8 @@ SVar:DBChooseCard:DB$ ChooseCard | Choices$ Creature.YouCtrl,Enchantment.YouCtrl SVar:DBChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | Defined$ ChosenCard | RememberChanged$ True | SubAbility$ DBToken SVar:DBToken:DB$ Token | TokenScript$ b_2_2_zombie | TokenOwner$ You | TokenAmount$ 1 | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True | ClearRemembered$ True -SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | References$ X | SubAbility$ DBScry | SpellDescription$ You gain X life and scry X, where X is the number of Zombies you control. -SVar:DBScry:DB$ Scry | ScryNum$ X | References$ X +SVar:DBGainLife:DB$ GainLife | LifeAmount$ X | SubAbility$ DBScry | SpellDescription$ You gain X life and scry X, where X is the number of Zombies you control. +SVar:DBScry:DB$ Scry | ScryNum$ X SVar:X:Count$Valid Zombie.YouCtrl DeckHints:Type$Zombie DeckHas:Ability$Token & Ability$Graveyard & Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/t/tymaret_chosen_from_death.txt b/forge-gui/res/cardsfolder/t/tymaret_chosen_from_death.txt index d4962d07bc7..a003680e613 100755 --- a/forge-gui/res/cardsfolder/t/tymaret_chosen_from_death.txt +++ b/forge-gui/res/cardsfolder/t/tymaret_chosen_from_death.txt @@ -6,7 +6,7 @@ S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetToughne SVar:X:Count$Devotion.Black SVar:BuffedBy:Permanent.Black A:AB$ ChangeZone | Cost$ 1 B | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Card | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Select up to two target cards in graveyards | RememberChanged$ True | SubAbility$ DBGainLife | StackDescription$ SpellDescription | SpellDescription$ Exile up to two target cards from graveyards. You gain 1 life for each creature card exiled this way. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ Y | References$ Y | SubAbility$ DBCleanup | StackDescription$ None +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ Y | SubAbility$ DBCleanup | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Remembered$Valid Creature DeckHas:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/t/tymna_the_weaver.txt b/forge-gui/res/cardsfolder/t/tymna_the_weaver.txt index 130dd416516..3d0121fb2f3 100644 --- a/forge-gui/res/cardsfolder/t/tymna_the_weaver.txt +++ b/forge-gui/res/cardsfolder/t/tymna_the_weaver.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Cleric PT:2/2 K:Lifelink T:Mode$ Phase | Phase$ Main2 | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ At the beginning of your postcombat main phase, you may pay X life, where X is the number of opponents that were dealt combat damage this turn. If you do, draw X cards. -SVar:TrigDraw:AB$ Draw | Cost$ PayLife | NumCards$ X | References$ X +SVar:TrigDraw:AB$ Draw | Cost$ PayLife | NumCards$ X SVar:X:PlayerCountRegisteredOpponents$HasPropertywasDealtCombatDamageThisTurn K:Partner SVar:PlayMain1:TRUE diff --git a/forge-gui/res/cardsfolder/t/typhoon.txt b/forge-gui/res/cardsfolder/t/typhoon.txt index 3bd91a4be51..21e82841dd1 100644 --- a/forge-gui/res/cardsfolder/t/typhoon.txt +++ b/forge-gui/res/cardsfolder/t/typhoon.txt @@ -2,7 +2,7 @@ Name:Typhoon ManaCost:2 G Types:Sorcery A:SP$ RepeatEach | Cost$ 2 G | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ TyphoonDmg | DamageMap$ True | SpellDescription$ Typhoon deals damage to each opponent equal to the number of Islands that player controls. -SVar:TyphoonDmg:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | References$ X +SVar:TyphoonDmg:DB$ DealDamage | Defined$ Remembered | NumDmg$ X SVar:X:Count$Valid Island.RememberedPlayerCtrl SVar:AIPlayForSub:True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/u/ugin_the_spirit_dragon.txt b/forge-gui/res/cardsfolder/u/ugin_the_spirit_dragon.txt index 4b2d406d75a..d2ab3cc0356 100644 --- a/forge-gui/res/cardsfolder/u/ugin_the_spirit_dragon.txt +++ b/forge-gui/res/cardsfolder/u/ugin_the_spirit_dragon.txt @@ -3,7 +3,7 @@ ManaCost:8 Types:Legendary Planeswalker Ugin Loyalty:7 A:AB$ DealDamage | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to any target. -A:AB$ ChangeZoneAll | Cost$ SubCounter | UseAllOriginZones$ True | Planeswalker$ True | ChangeType$ Permanent.nonColorless+cmcLEX | References$ X | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile each permanent with converted mana cost X or less that's one or more colors. +A:AB$ ChangeZoneAll | Cost$ SubCounter | UseAllOriginZones$ True | Planeswalker$ True | ChangeType$ Permanent.nonColorless+cmcLEX | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile each permanent with converted mana cost X or less that's one or more colors. SVar:X:Count$xPaid A:AB$ GainLife | Cost$ SubCounter<10/LOYALTY> | Planeswalker$ True | Ultimate$ True | LifeAmount$ 7 | SubAbility$ DBDraw | SpellDescription$ You gain 7 life, draw seven cards, then put up to seven permanent cards from your hand onto the battlefield. SVar:DBDraw:DB$ Draw | NumCards$ 7 | SubAbility$ DBChangeZone diff --git a/forge-gui/res/cardsfolder/u/ugins_conjurant.txt b/forge-gui/res/cardsfolder/u/ugins_conjurant.txt index 578b9e75df7..a20a1fbc82b 100644 --- a/forge-gui/res/cardsfolder/u/ugins_conjurant.txt +++ b/forge-gui/res/cardsfolder/u/ugins_conjurant.txt @@ -5,7 +5,7 @@ PT:0/0 K:etbCounter:P1P1:X SVar:X:Count$xPaid R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self+counters_GE1_P1P1 | ReplaceWith$ Counters | PreventionEffect$ True | Description$ If damage would be dealt to CARDNAME while it has a +1/+1 counter on it, prevent that damage and remove that many +1/+1 counters from CARDNAME. -SVar:Counters:DB$ RemoveCounter | Defined$ ReplacedTarget | CounterType$ P1P1 | CounterNum$ Y | References$ Y +SVar:Counters:DB$ RemoveCounter | Defined$ ReplacedTarget | CounterType$ P1P1 | CounterNum$ Y SVar:Y:ReplaceCount$DamageAmount DeckHas:Ability$Counters Oracle:Ugin's Conjurant enters the battlefield with X +1/+1 counters on it.\nIf damage would be dealt to Ugin's Conjurant while it has a +1/+1 counter on it, prevent that damage and remove that many +1/+1 counters from Ugin's Conjurant. diff --git a/forge-gui/res/cardsfolder/u/ugins_insight.txt b/forge-gui/res/cardsfolder/u/ugins_insight.txt index a6b9eb6b104..f72a75f4eb1 100644 --- a/forge-gui/res/cardsfolder/u/ugins_insight.txt +++ b/forge-gui/res/cardsfolder/u/ugins_insight.txt @@ -1,7 +1,7 @@ Name:Ugin's Insight ManaCost:3 U U Types:Sorcery -A:SP$ Scry | Cost$ 3 U U | ScryNum$ X | References$ X | SubAbility$ DBDraw | SpellDescription$ Scry X, where X is the highest converted mana cost among permanents you control, then draw three cards. +A:SP$ Scry | Cost$ 3 U U | ScryNum$ X | SubAbility$ DBDraw | SpellDescription$ Scry X, where X is the highest converted mana cost among permanents you control, then draw three cards. SVar:X:Count$MaxCMCYouCtrl SVar:DBDraw:DB$ Draw | NumCards$ 3 Oracle:Scry X, where X is the highest converted mana cost among permanents you control, then draw three cards. diff --git a/forge-gui/res/cardsfolder/u/ukkima_stalking_shadow.txt b/forge-gui/res/cardsfolder/u/ukkima_stalking_shadow.txt index a23b5a1bc3f..e1dafe7f31e 100755 --- a/forge-gui/res/cardsfolder/u/ukkima_stalking_shadow.txt +++ b/forge-gui/res/cardsfolder/u/ukkima_stalking_shadow.txt @@ -5,8 +5,8 @@ PT:2/2 K:Partner:Cazur, Ruthless Stalker:Cazur K:Unblockable T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME leaves the battlefield, it deals X damage to target player and you gain X life, where X is its power. -SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Player | TgtPrompt$ Select target player | NumDmg$ X | References$ X | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigDealDamage:DB$ DealDamage | ValidTgts$ Player | TgtPrompt$ Select target player | NumDmg$ X | SubAbility$ DBGainLife +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggeredCard$CardPower DeckHas:Ability$LifeGain Oracle:Partner with Cazur, Ruthless Stalker (When this creature enters the battlefield, target player may put Cazur into their hand from their library, then shuffle.)\nUkkima, Stalking Shadow can't be blocked.\nWhen Ukkima leaves the battlefield, it deals X damage to target player and you gain X life, where X is its power. diff --git a/forge-gui/res/cardsfolder/u/uktabi_wildcats.txt b/forge-gui/res/cardsfolder/u/uktabi_wildcats.txt index 5a4bc053f65..2d1d30dd817 100644 --- a/forge-gui/res/cardsfolder/u/uktabi_wildcats.txt +++ b/forge-gui/res/cardsfolder/u/uktabi_wildcats.txt @@ -2,7 +2,7 @@ Name:Uktabi Wildcats ManaCost:4 G Types:Creature Cat PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Forests you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Forests you control. SVar:X:Count$Valid Forest.YouCtrl A:AB$ Regenerate | Cost$ G Sac<1/Forest> | SpellDescription$ Regenerate CARDNAME. SVar:BuffedBy:Forest diff --git a/forge-gui/res/cardsfolder/u/ulvenwald_hydra.txt b/forge-gui/res/cardsfolder/u/ulvenwald_hydra.txt index a6075ae88a2..5a7b79c4769 100644 --- a/forge-gui/res/cardsfolder/u/ulvenwald_hydra.txt +++ b/forge-gui/res/cardsfolder/u/ulvenwald_hydra.txt @@ -3,7 +3,7 @@ ManaCost:4 G G Types:Creature Hydra PT:*/* K:Reach -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. SVar:X:Count$Valid Land.YouCtrl SVar:TrigChange:DB$ChangeZone | Origin$ Library | Destination$ Battlefield | Tapped$ True | ChangeType$ Land | ChangeNum$ 1 | ShuffleNonMandatory$ True T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigChange | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may search your library for a land card, put it onto the battlefield tapped, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/u/umbra_stalker.txt b/forge-gui/res/cardsfolder/u/umbra_stalker.txt index 7bd0acb3d87..22b09b29717 100644 --- a/forge-gui/res/cardsfolder/u/umbra_stalker.txt +++ b/forge-gui/res/cardsfolder/u/umbra_stalker.txt @@ -2,7 +2,7 @@ Name:Umbra Stalker ManaCost:4 B B B Types:Creature Elemental PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ Chroma — CARDNAME's power and toughness are each equal to the number of black mana symbols in the mana costs of cards in your graveyard. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ Chroma — CARDNAME's power and toughness are each equal to the number of black mana symbols in the mana costs of cards in your graveyard. SVar:X:Count$ChromaInGrave.Black SVar:Picture:http://www.wizards.com/global/images/magic/general/umbra_stalker.jpg Oracle:Chroma — Umbra Stalker's power and toughness are each equal to the number of black mana symbols in the mana costs of cards in your graveyard. diff --git a/forge-gui/res/cardsfolder/u/undead_alchemist.txt b/forge-gui/res/cardsfolder/u/undead_alchemist.txt index e5ce737bad0..4460b477ee0 100644 --- a/forge-gui/res/cardsfolder/u/undead_alchemist.txt +++ b/forge-gui/res/cardsfolder/u/undead_alchemist.txt @@ -3,7 +3,7 @@ ManaCost:3 U Types:Creature Zombie PT:4/2 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Creature.Zombie+YouCtrl | ValidTarget$ Opponent | ReplaceWith$ Mill | IsCombat$ True | Description$ If a Zombie you control would deal combat damage to a player, instead that player mills that many cards. -SVar:Mill:DB$ Mill | Defined$ ReplacedTarget | NumCards$ X | References$ X +SVar:Mill:DB$ Mill | Defined$ ReplacedTarget | NumCards$ X SVar:X:ReplaceCount$DamageAmount T:Mode$ ChangesZone | ValidCard$ Creature.nonToken+OppOwn | Origin$ Library | Destination$ Graveyard | Execute$ ExileAndToken | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature card is put into an opponent's graveyard from their library, exile that card and create a 2/2 black Zombie creature token. SVar:ExileAndToken:DB$ ChangeZone | Defined$ TriggeredCardLKICopy | Origin$ Graveyard | Destination$ Exile | SubAbility$ DBToken diff --git a/forge-gui/res/cardsfolder/u/undead_servant.txt b/forge-gui/res/cardsfolder/u/undead_servant.txt index 1bd79abbcab..730dbcb0e1a 100644 --- a/forge-gui/res/cardsfolder/u/undead_servant.txt +++ b/forge-gui/res/cardsfolder/u/undead_servant.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Creature Zombie PT:3/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a 2/2 black Zombie creature token for each card named Undead Servant in your graveyard. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ b_2_2_zombie | TokenOwner$ You | LegacyImage$ b 2 2 zombie ori +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ b_2_2_zombie | TokenOwner$ You | LegacyImage$ b 2 2 zombie ori SVar:X:Count$ValidGraveyard Card.YouOwn+namedUndead Servant DeckHints:Name$Undead Servant SVar:Picture:http://www.wizards.com/global/images/magic/general/undead_servant.jpg diff --git a/forge-gui/res/cardsfolder/u/underdark_beholder.txt b/forge-gui/res/cardsfolder/u/underdark_beholder.txt index e23e436e9c1..ddf51e5d5a1 100644 --- a/forge-gui/res/cardsfolder/u/underdark_beholder.txt +++ b/forge-gui/res/cardsfolder/u/underdark_beholder.txt @@ -4,14 +4,14 @@ Types:Creature Beholder PT:6/6 K:etbCounter:EYESTALK:10 R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Card.Self | ReplaceWith$ Counters | Description$ If damage would be dealt to CARDNAME, instead remove that many eyestalk counters from it. If you can't, sacrifice it. -SVar:Counters:DB$ RemoveCounter | Defined$ ReplacedTarget | CounterType$ EYESTALK | CounterNum$ X | References$ X | RememberRemoved$ True | SubAbility$ DBSac -SVar:DBSac:DB$ Sacrifice | SacValid$ Self | ConditionCheckSVar$ Y | ConditionSVarCompare$ LTX | References$ Y | SubAbility$ DBCleanup +SVar:Counters:DB$ RemoveCounter | Defined$ ReplacedTarget | CounterType$ EYESTALK | CounterNum$ X | RememberRemoved$ True | SubAbility$ DBSac +SVar:DBSac:DB$ Sacrifice | SacValid$ Self | ConditionCheckSVar$ Y | ConditionSVarCompare$ LTX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True SVar:X:ReplaceCount$DamageAmount SVar:Y:Count$RememberedSize SVar:Z:Count$CardCounters.EYESTALK T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ Whenever CARDNAME attacks, reveal cards from the top of your library until you reveal an instant, sorcery, or enchantment card with converted mana cost less than the number of eyestalk counters on CARDNAME. You may cast it without paying its mana cost. Shuffle your library. -SVar:TrigDig:DB$ DigUntil | Defined$ You | Amount$ 1 | Valid$ Card.Instant+cmcLEZ,Card.Sorcery+cmcLEZ,Card.Enchantment+cmcLEZ | References$ Z | FoundDestination$ Exile | RevealedDestination$ Exile | ImprintRevealed$ True | RememberFound$ True | SubAbility$ CascadeCast +SVar:TrigDig:DB$ DigUntil | Defined$ You | Amount$ 1 | Valid$ Card.Instant+cmcLEZ,Card.Sorcery+cmcLEZ,Card.Enchantment+cmcLEZ | FoundDestination$ Exile | RevealedDestination$ Exile | ImprintRevealed$ True | RememberFound$ True | SubAbility$ CascadeCast SVar:CascadeCast:DB$ Play | Defined$ Remembered | WithoutManaCost$ True | Optional$ True | SubAbility$ CascadeMoveToLib SVar:CascadeMoveToLib:DB$ ChangeZoneAll | ChangeType$ Card.IsRemembered,Card.IsImprinted | Origin$ Exile | Destination$ Library | RandomOrder$ True | Shuffle$ True | SubAbility$ DBCleanup DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/u/undergrowth_stadium.txt b/forge-gui/res/cardsfolder/u/undergrowth_stadium.txt index 2703ae99d36..27960a83543 100644 --- a/forge-gui/res/cardsfolder/u/undergrowth_stadium.txt +++ b/forge-gui/res/cardsfolder/u/undergrowth_stadium.txt @@ -2,7 +2,7 @@ Name:Undergrowth Stadium ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. SVar:ETBCheckSVar2:PlayerCountOpponents$Amount A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}. A:AB$ Mana | Cost$ T | Produced$ G | SpellDescription$ Add {G}. diff --git a/forge-gui/res/cardsfolder/u/underhanded_designs.txt b/forge-gui/res/cardsfolder/u/underhanded_designs.txt index 6472b528da1..2dbe6d68914 100644 --- a/forge-gui/res/cardsfolder/u/underhanded_designs.txt +++ b/forge-gui/res/cardsfolder/u/underhanded_designs.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Artifact.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDrain | TriggerDescription$ Whenever an artifact enters the battlefield under your control, you may pay {1}. If you do, each opponent loses 1 life and you gain 1 life. SVar:TrigDrain:AB$ LoseLife | Cost$ 1 | Defined$ Player.Opponent | LifeAmount$ 1 | SubAbility$ DBGainLife SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 1 -A:AB$ Destroy | Cost$ 1 B Sac<1/CARDNAME> | ValidTgts$ Creature | References$ X | CheckSVar$ X | SVarCompare$ GE2 | TgtPrompt$ Select target creature | SpellDescription$ Destroy target creature. Activate this ability only if you control two or more artifacts. +A:AB$ Destroy | Cost$ 1 B Sac<1/CARDNAME> | ValidTgts$ Creature | CheckSVar$ X | SVarCompare$ GE2 | TgtPrompt$ Select target creature | SpellDescription$ Destroy target creature. Activate this ability only if you control two or more artifacts. SVar:X:Count$Valid Card.Artifact+YouCtrl DeckHas:Ability$LifeGain SVar:Picture:http://www.wizards.com/global/images/magic/general/underhanded_designs.jpg diff --git a/forge-gui/res/cardsfolder/u/undying_flames.txt b/forge-gui/res/cardsfolder/u/undying_flames.txt index 77d17812b7f..e9b72a597e2 100644 --- a/forge-gui/res/cardsfolder/u/undying_flames.txt +++ b/forge-gui/res/cardsfolder/u/undying_flames.txt @@ -3,7 +3,7 @@ ManaCost:4 R R Types:Sorcery K:Epic A:SP$ DigUntil | Cost$ 4 R R | Defined$ You | Valid$ Card.nonLand | ValidDescription$ nonland | FoundDestination$ Exile | RevealedDestination$ Exile | RememberFound$ True | SubAbility$ UndyingDamage | SpellDescription$ Exile cards from the top of your library until you exile a nonland card. Undying Flames deals damage to any target equal to that card's converted mana cost. -SVar:UndyingDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ FlameX | References$ FlameX | SubAbility$ DBCleanup +SVar:UndyingDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ FlameX | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:FlameX:Remembered$CardManaCost AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/u/unexpectedly_absent.txt b/forge-gui/res/cardsfolder/u/unexpectedly_absent.txt index 63589395136..70f3ae3b474 100644 --- a/forge-gui/res/cardsfolder/u/unexpectedly_absent.txt +++ b/forge-gui/res/cardsfolder/u/unexpectedly_absent.txt @@ -1,7 +1,7 @@ Name:Unexpectedly Absent ManaCost:X W W Types:Instant -A:SP$ ChangeZone | Cost$ X W W | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select target nonland permanent | Origin$ Battlefield | Destination$ Library | LibraryPosition$ X | References$ X | SpellDescription$ Put target nonland permanent into its owner's library just beneath the top X cards of that library. +A:SP$ ChangeZone | Cost$ X W W | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select target nonland permanent | Origin$ Battlefield | Destination$ Library | LibraryPosition$ X | SpellDescription$ Put target nonland permanent into its owner's library just beneath the top X cards of that library. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/unexpectedly_absent.jpg Oracle:Put target nonland permanent into its owner's library just beneath the top X cards of that library. diff --git a/forge-gui/res/cardsfolder/u/unexplained_vision.txt b/forge-gui/res/cardsfolder/u/unexplained_vision.txt index 491cf90a569..3c1cbe5fa4f 100644 --- a/forge-gui/res/cardsfolder/u/unexplained_vision.txt +++ b/forge-gui/res/cardsfolder/u/unexplained_vision.txt @@ -2,6 +2,6 @@ Name:Unexplained Vision ManaCost:4 U Types:Sorcery A:SP$ Draw | Cost$ 4 U | NumCards$ 3 | SubAbility$ DBScry | AIManaPref$ U | SpellDescription$ Draw three cards. Adamant — If at least three blue mana was spent to cast this spell, scry 3. -SVar:DBScry:DB$ Scry | ScryNum$ 3 | ConditionCheckSVar$ X | References$ X +SVar:DBScry:DB$ Scry | ScryNum$ 3 | ConditionCheckSVar$ X SVar:X:Count$Adamant.Blue.1.0 Oracle:Draw three cards.\nAdamant — If at least three blue mana was spent to cast this spell, scry 3. diff --git a/forge-gui/res/cardsfolder/u/unholy_hunger.txt b/forge-gui/res/cardsfolder/u/unholy_hunger.txt index 756a17440c3..12f7c422831 100644 --- a/forge-gui/res/cardsfolder/u/unholy_hunger.txt +++ b/forge-gui/res/cardsfolder/u/unholy_hunger.txt @@ -2,7 +2,7 @@ Name:Unholy Hunger ManaCost:3 B B Types:Instant A:SP$ Destroy | Cost$ 3 B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBGainLife | SpellDescription$ Destroy target creature. Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, you gain 2 life. -SVar:DBGainLife:DB$GainLife | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | References$ X | LifeAmount$ 2 +SVar:DBGainLife:DB$GainLife | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | LifeAmount$ 2 SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/unholy_hunger.jpg Oracle:Destroy target creature.\nSpell mastery — If there are two or more instant and/or sorcery cards in your graveyard, you gain 2 life. diff --git a/forge-gui/res/cardsfolder/u/unified_front.txt b/forge-gui/res/cardsfolder/u/unified_front.txt index 8e11c288ee0..5df7edfb9fb 100644 --- a/forge-gui/res/cardsfolder/u/unified_front.txt +++ b/forge-gui/res/cardsfolder/u/unified_front.txt @@ -1,7 +1,7 @@ Name:Unified Front ManaCost:3 W Types:Sorcery -A:SP$ Token | Cost$ 3 W | TokenAmount$ X | References$ X | TokenScript$ w_1_1_kor_ally | TokenOwner$ You | LegacyImage$ w 1 1 kor ally bfz | SpellDescription$ Converge — Create a 1/1 white Kor Ally creature token for each color of mana spent to cast this spell. +A:SP$ Token | Cost$ 3 W | TokenAmount$ X | TokenScript$ w_1_1_kor_ally | TokenOwner$ You | LegacyImage$ w 1 1 kor ally bfz | SpellDescription$ Converge — Create a 1/1 white Kor Ally creature token for each color of mana spent to cast this spell. SVar:X:Count$Converge DeckHints:Type$Ally SVar:Picture:http://www.wizards.com/global/images/magic/general/unified_front.jpg diff --git a/forge-gui/res/cardsfolder/u/unified_strike.txt b/forge-gui/res/cardsfolder/u/unified_strike.txt index 500d873079a..501f416b460 100644 --- a/forge-gui/res/cardsfolder/u/unified_strike.txt +++ b/forge-gui/res/cardsfolder/u/unified_strike.txt @@ -1,7 +1,7 @@ Name:Unified Strike ManaCost:W Types:Instant -A:SP$ ChangeZone | Cost$ W | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X,Y | SpellDescription$ Exile target attacking creature if its power is less than or equal to the number of Soldiers on the battlefield. +A:SP$ ChangeZone | Cost$ W | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Creature.attacking | TgtPrompt$ Select target attacking creature | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SpellDescription$ Exile target attacking creature if its power is less than or equal to the number of Soldiers on the battlefield. SVar:Y:Count$Valid Soldier SVar:X:Targeted$Valid Creature.powerLEY AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/u/unified_will.txt b/forge-gui/res/cardsfolder/u/unified_will.txt index 1192889070e..a75c6e6020c 100644 --- a/forge-gui/res/cardsfolder/u/unified_will.txt +++ b/forge-gui/res/cardsfolder/u/unified_will.txt @@ -1,7 +1,7 @@ Name:Unified Will ManaCost:1 U Types:Instant -A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | ConditionCheckSVar$ YourPeerGroup | ConditionSVarCompare$ GTY | References$ YourPeerGroup,Y | SpellDescription$ Counter target spell if you control more creatures than that spell's controller. +A:SP$ Counter | Cost$ 1 U | TargetType$ Spell | ValidTgts$ Card | ConditionCheckSVar$ YourPeerGroup | ConditionSVarCompare$ GTY | SpellDescription$ Counter target spell if you control more creatures than that spell's controller. SVar:YourPeerGroup:Count$Valid Creature.YouCtrl SVar:Y:Count$Valid Creature.TargetedControllerCtrl SVar:NeedsToPlayVar:YourPeerGroup GTY diff --git a/forge-gui/res/cardsfolder/u/unleash_fury.txt b/forge-gui/res/cardsfolder/u/unleash_fury.txt index 6b41705049d..fb7e0155eee 100644 --- a/forge-gui/res/cardsfolder/u/unleash_fury.txt +++ b/forge-gui/res/cardsfolder/u/unleash_fury.txt @@ -1,6 +1,6 @@ Name:Unleash Fury ManaCost:1 R Types:Instant -A:SP$ Pump | Cost$ 1 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X | SpellDescription$ Double the power of target creature until end of turn. +A:SP$ Pump | Cost$ 1 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SpellDescription$ Double the power of target creature until end of turn. SVar:X:Targeted$CardPower Oracle:Double the power of target creature until end of turn. diff --git a/forge-gui/res/cardsfolder/u/unliving_psychopath.txt b/forge-gui/res/cardsfolder/u/unliving_psychopath.txt index cfb2f5c30ae..3a5f8d6a372 100644 --- a/forge-gui/res/cardsfolder/u/unliving_psychopath.txt +++ b/forge-gui/res/cardsfolder/u/unliving_psychopath.txt @@ -3,6 +3,6 @@ ManaCost:2 B B Types:Creature Zombie Assassin PT:0/4 A:AB$ Pump | Cost$ B | Defined$ Self | NumAtt$ +1 | NumDef$ -1 | SpellDescription$ CARDNAME gets +1/-1 until end of turn. -A:AB$ Destroy | Cost$ B T | ValidTgts$ Creature.powerLTX | References$ X | TgtPrompt$ Select target creature with power less than Unliving Psychopath's | SpellDescription$ Destroy target creature with power less than CARDNAME's power. +A:AB$ Destroy | Cost$ B T | ValidTgts$ Creature.powerLTX | TgtPrompt$ Select target creature with power less than Unliving Psychopath's | SpellDescription$ Destroy target creature with power less than CARDNAME's power. SVar:X:Count$CardPower Oracle:{B}: Unliving Psychopath gets +1/-1 until end of turn.\n{B}, {T}: Destroy target creature with power less than Unliving Psychopath's power. diff --git a/forge-gui/res/cardsfolder/u/unmoored_ego.txt b/forge-gui/res/cardsfolder/u/unmoored_ego.txt index e10afe55ecc..98e04c278dc 100644 --- a/forge-gui/res/cardsfolder/u/unmoored_ego.txt +++ b/forge-gui/res/cardsfolder/u/unmoored_ego.txt @@ -3,9 +3,9 @@ ManaCost:1 U B Types:Sorcery A:SP$ NameCard | Cost$ 1 U B | Defined$ You | SubAbility$ ExileYard | StackDescription$ SpellDescription | SpellDescription$ Choose a card name. Search target opponent's graveyard, hand, and library for up to four cards with that name and exile them. That player shuffles their library, then draws a card for each card exiled from their hand this way. SVar:ExileYard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Player.Opponent | TgtPrompt$ Select target opponent | ChangeType$ Card.NamedCard | Chooser$ You | ChangeNum$ 4 | Hidden$ True | RememberChanged$ True | SubAbility$ ExileHand | StackDescription$ None -SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ Y | Chooser$ You | RememberChanged$ True | Imprint$ True | SubAbility$ ExileLib | StackDescription$ None | References$ X,Y -SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ Y | Chooser$ You | RememberChanged$ True | Search$ True | Shuffle$ True | SubAbility$ DBDraw | StackDescription$ None | References$ X,Y -SVar:DBDraw:DB$ Draw | Defined$ Targeted | NumCards$ Z | SubAbility$ DBCleanup | StackDescription$ None | References$ Z +SVar:ExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ Y | Chooser$ You | RememberChanged$ True | Imprint$ True | SubAbility$ ExileLib | StackDescription$ None +SVar:ExileLib:DB$ ChangeZone | Origin$ Library | Destination$ Exile | DefinedPlayer$ Targeted | ChangeType$ Card.NamedCard | ChangeNum$ Y | Chooser$ You | RememberChanged$ True | Search$ True | Shuffle$ True | SubAbility$ DBDraw | StackDescription$ None +SVar:DBDraw:DB$ Draw | Defined$ Targeted | NumCards$ Z | SubAbility$ DBCleanup | StackDescription$ None SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True SVar:X:Remembered$Amount SVar:Y:SVar$X/NMinus.4 diff --git a/forge-gui/res/cardsfolder/u/unnatural_hunger.txt b/forge-gui/res/cardsfolder/u/unnatural_hunger.txt index 9826930188f..7f10a7184f4 100644 --- a/forge-gui/res/cardsfolder/u/unnatural_hunger.txt +++ b/forge-gui/res/cardsfolder/u/unnatural_hunger.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 3 B B | ValidTgts$ Creature | AITgts$ Card.powerGE3 | AILogic$ Curse T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ EnchantedController | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of the upkeep of enchanted creature's controller, CARDNAME deals damage equal to that creature's power to that player unless they sacrifice another creature. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X | UnlessCost$ Sac<1/Creature.NotEnchantedBy> | UnlessPayer$ EnchantedController +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | UnlessCost$ Sac<1/Creature.NotEnchantedBy> | UnlessPayer$ EnchantedController SVar:X:Enchanted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/unnatural_hunger.jpg Oracle:Enchant creature\nAt the beginning of the upkeep of enchanted creature's controller, Unnatural Hunger deals damage equal to that creature's power to that player unless they sacrifice another creature. diff --git a/forge-gui/res/cardsfolder/u/untamed_might.txt b/forge-gui/res/cardsfolder/u/untamed_might.txt index 01b128b3a82..f3850e8c897 100644 --- a/forge-gui/res/cardsfolder/u/untamed_might.txt +++ b/forge-gui/res/cardsfolder/u/untamed_might.txt @@ -1,7 +1,7 @@ Name:Untamed Might ManaCost:X G Types:Instant -A:SP$ Pump | Cost$ X G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Target creature gets +X/+X until end of turn. +A:SP$ Pump | Cost$ X G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Target creature gets +X/+X until end of turn. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/untamed_might.jpg Oracle:Target creature gets +X/+X until end of turn. diff --git a/forge-gui/res/cardsfolder/u/unwilling_recruit.txt b/forge-gui/res/cardsfolder/u/unwilling_recruit.txt index 5de0c60c8a9..2fa23868898 100644 --- a/forge-gui/res/cardsfolder/u/unwilling_recruit.txt +++ b/forge-gui/res/cardsfolder/u/unwilling_recruit.txt @@ -2,7 +2,7 @@ Name:Unwilling Recruit ManaCost:X R R R Types:Sorcery A:SP$ GainControl | Cost$ X R R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | Untap$ True | LoseControl$ EOT | SubAbility$ DBPump | SpellDescription$ Gain control of target creature until end of turn. Untap that creature. It gets +X/+0 and gains haste until end of turn. -SVar:DBPump:DB$ Pump | Defined$ Targeted | NumAtt$ X | KW$ Haste | References$ X +SVar:DBPump:DB$ Pump | Defined$ Targeted | NumAtt$ X | KW$ Haste SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/unwilling_recruit.jpg Oracle:Gain control of target creature until end of turn. Untap that creature. It gets +X/+0 and gains haste until end of turn. diff --git a/forge-gui/res/cardsfolder/u/urborg_justice.txt b/forge-gui/res/cardsfolder/u/urborg_justice.txt index 485f74cdfbf..019a1f9558c 100644 --- a/forge-gui/res/cardsfolder/u/urborg_justice.txt +++ b/forge-gui/res/cardsfolder/u/urborg_justice.txt @@ -1,7 +1,7 @@ Name:Urborg Justice ManaCost:B B Types:Instant -A:SP$ Sacrifice | Cost$ B B | ValidTgts$ Opponent | Amount$ X | References$ X | SacValid$ Creature | SacMessage$ Creature | SpellDescription$ Target opponent sacrifices a creature for each creature put into your graveyard from the battlefield this turn. +A:SP$ Sacrifice | Cost$ B B | ValidTgts$ Opponent | Amount$ X | SacValid$ Creature | SacMessage$ Creature | SpellDescription$ Target opponent sacrifices a creature for each creature put into your graveyard from the battlefield this turn. SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/urborg_justice.jpg Oracle:Target opponent sacrifices a creature for each creature put into your graveyard from the battlefield this turn. diff --git a/forge-gui/res/cardsfolder/u/urge_to_feed.txt b/forge-gui/res/cardsfolder/u/urge_to_feed.txt index e0cfc0f4801..1cd5f616a89 100644 --- a/forge-gui/res/cardsfolder/u/urge_to_feed.txt +++ b/forge-gui/res/cardsfolder/u/urge_to_feed.txt @@ -2,7 +2,7 @@ Name:Urge to Feed ManaCost:B B Types:Instant A:SP$ Pump | Cost$ B B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -3 | NumDef$ -3 | IsCurse$ True | SubAbility$ GuestList | SpellDescription$ Target creature gets -3/-3 until end of turn. You may tap any number of untapped Vampire creatures you control. If you do, put a +1/+1 counter on each of those Vampires. -SVar:GuestList:DB$ ChooseCard | Defined$ You | MinAmount$ 0 | Amount$ AbleToFeedX | References$ AbleToFeedX | Choices$ Creature.Vampire+untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped Vampire creature you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ VampiricUrge +SVar:GuestList:DB$ ChooseCard | Defined$ You | MinAmount$ 0 | Amount$ AbleToFeedX | Choices$ Creature.Vampire+untapped+YouCtrl | ChoiceTitle$ Choose any number of untapped Vampire creature you control | ChoiceZone$ Battlefield | RememberChosen$ True | SubAbility$ VampiricUrge SVar:VampiricUrge:DB$ Tap | Defined$ Remembered | SubAbility$ VampiricFeed SVar:VampiricFeed:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ 1 | Defined$ Remembered | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/u/urzas_mine.txt b/forge-gui/res/cardsfolder/u/urzas_mine.txt index 4450f4c8173..89408226c62 100644 --- a/forge-gui/res/cardsfolder/u/urzas_mine.txt +++ b/forge-gui/res/cardsfolder/u/urzas_mine.txt @@ -1,7 +1,7 @@ Name:Urza's Mine ManaCost:no cost Types:Land Urza's Mine -A:AB$ Mana | Cost$ T | Produced$ C | Amount$ UrzaAmount | References$ UrzaAmount | SpellDescription$ Add {C}. If you control an Urza's Power-Plant and an Urza's Tower, add {C}{C} instead. +A:AB$ Mana | Cost$ T | Produced$ C | Amount$ UrzaAmount | SpellDescription$ Add {C}. If you control an Urza's Power-Plant and an Urza's Tower, add {C}{C} instead. SVar:UrzaAmount:Count$UrzaLands.2.1 AI:RemoveDeck:Random Oracle:{T}: Add {C}. If you control an Urza's Power-Plant and an Urza's Tower, add {C}{C} instead. diff --git a/forge-gui/res/cardsfolder/u/urzas_power_plant.txt b/forge-gui/res/cardsfolder/u/urzas_power_plant.txt index 78bd2068f0c..d10cadc798a 100644 --- a/forge-gui/res/cardsfolder/u/urzas_power_plant.txt +++ b/forge-gui/res/cardsfolder/u/urzas_power_plant.txt @@ -1,7 +1,7 @@ Name:Urza's Power Plant ManaCost:no cost Types:Land Urza's Power-Plant -A:AB$ Mana | Cost$ T | Produced$ C | Amount$ UrzaAmount | References$ UrzaAmount | SpellDescription$ Add {C}. If you control an Urza's Mine and an Urza's Tower, add {C}{C} instead. +A:AB$ Mana | Cost$ T | Produced$ C | Amount$ UrzaAmount | SpellDescription$ Add {C}. If you control an Urza's Mine and an Urza's Tower, add {C}{C} instead. SVar:UrzaAmount:Count$UrzaLands.2.1 AI:RemoveDeck:Random Oracle:{T}: Add {C}. If you control an Urza's Mine and an Urza's Tower, add {C}{C} instead. diff --git a/forge-gui/res/cardsfolder/u/urzas_rage.txt b/forge-gui/res/cardsfolder/u/urzas_rage.txt index 6f94772773c..b4effc49ce6 100644 --- a/forge-gui/res/cardsfolder/u/urzas_rage.txt +++ b/forge-gui/res/cardsfolder/u/urzas_rage.txt @@ -3,8 +3,8 @@ ManaCost:2 R Types:Instant K:Kicker:8 R K:CARDNAME can't be countered. -A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SubAbility$ Kicked | SpellDescription$ CARDNAME deals 3 damage to any target. If this spell was kicked, instead it deals 10 damage to that permanent or player and the damage can't be prevented. -SVar:Kicked:DB$ DealDamage | Defined$ Targeted | NumDmg$ 10 | References$ 10 | NoPrevention$ True | Condition$ Kicked | ConditionDescription$ If Urza's Rage was kicked, +A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ Kicked | SpellDescription$ CARDNAME deals 3 damage to any target. If this spell was kicked, instead it deals 10 damage to that permanent or player and the damage can't be prevented. +SVar:Kicked:DB$ DealDamage | Defined$ Targeted | NumDmg$ 100 | NoPrevention$ True | Condition$ Kicked | ConditionDescription$ If Urza's Rage was kicked, SVar:X:Count$Kicked.0.3 SVar:Y:Count$Kicked.10.0 SVar:Picture:http://www.wizards.com/global/images/magic/general/urzas_rage.jpg diff --git a/forge-gui/res/cardsfolder/u/urzas_tower.txt b/forge-gui/res/cardsfolder/u/urzas_tower.txt index 52257b4be12..16d2d1430c7 100644 --- a/forge-gui/res/cardsfolder/u/urzas_tower.txt +++ b/forge-gui/res/cardsfolder/u/urzas_tower.txt @@ -1,7 +1,7 @@ Name:Urza's Tower ManaCost:no cost Types:Land Urza's Tower -A:AB$ Mana | Cost$ T | Produced$ C | Amount$ UrzaAmount | References$ UrzaAmount | SpellDescription$ Add {C}. If you control an Urza's Mine and an Urza's Power-Plant, add {C}{C}{C} instead. +A:AB$ Mana | Cost$ T | Produced$ C | Amount$ UrzaAmount | SpellDescription$ Add {C}. If you control an Urza's Mine and an Urza's Power-Plant, add {C}{C}{C} instead. SVar:UrzaAmount:Count$UrzaLands.3.1 AI:RemoveDeck:Random Oracle:{T}: Add {C}. If you control an Urza's Mine and an Urza's Power-Plant, add {C}{C}{C} instead. diff --git a/forge-gui/res/cardsfolder/v/vaevictis_asmadi_the_dire.txt b/forge-gui/res/cardsfolder/v/vaevictis_asmadi_the_dire.txt index b98c46183dd..238a806092f 100644 --- a/forge-gui/res/cardsfolder/v/vaevictis_asmadi_the_dire.txt +++ b/forge-gui/res/cardsfolder/v/vaevictis_asmadi_the_dire.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Elder Dragon PT:6/6 K:Flying T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigTarget | TriggerDescription$ Whenever CARDNAME attacks, for each player, choose target permanent that player controls. Those players sacrifice those permanents. Each player who sacrificed a permanent this way reveals the top card of their library, then puts it onto the battlefield if it's a permanent card. -SVar:TrigTarget:DB$ Pump | ValidTgts$ Permanent | TgtPrompt$ Select target permanent a player controls to be sacrificed. | TargetMin$ OneEach | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | SubAbility$ DBSacrificeAll | AILogic$ SacOneEach +SVar:TrigTarget:DB$ Pump | ValidTgts$ Permanent | TgtPrompt$ Select target permanent a player controls to be sacrificed. | TargetMin$ OneEach | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | SubAbility$ DBSacrificeAll | AILogic$ SacOneEach SVar:DBSacrificeAll:DB$ SacrificeAll | Defined$ Targeted | RememberSacrificed$ True | SubAbility$ DBRepeatEach SVar:DBRepeatEach:DB$ RepeatEach | DefinedCards$ Remembered | UseImprinted$ True | RepeatSubAbility$ DBDig | SubAbility$ DBCleanup SVar:DBDig:DB$ Dig | Defined$ ImprintedController | DigNum$ 1 | Reveal$ True | DestinationZone$ Battlefield | DestinationZone2$ Library | LibraryPosition2$ 0 | ChangeNum$ All | ChangeValid$ Permanent diff --git a/forge-gui/res/cardsfolder/v/valakut_awakening_valakut_stoneforge.txt b/forge-gui/res/cardsfolder/v/valakut_awakening_valakut_stoneforge.txt index 4e26492a92a..d72f275bdd6 100644 --- a/forge-gui/res/cardsfolder/v/valakut_awakening_valakut_stoneforge.txt +++ b/forge-gui/res/cardsfolder/v/valakut_awakening_valakut_stoneforge.txt @@ -1,8 +1,8 @@ Name:Valakut Awakening ManaCost:2 R Types:Instant -A:SP$ ChangeZone | Cost$ 2 R | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | ChangeType$ Card | ChangeNum$ X | References$ X | RememberChanged$ True | SubAbility$ DBDraw | StackDescription$ {p:You} puts any number of cards from their hand on the bottom of their library, | SpellDescription$ Put any number of cards from your hand on the bottom of your library, then draw that many cards plus one. -SVar:DBDraw:DB$ Draw | NumCards$ Y | References$ Y | SubAbility$ DBCleanup | StackDescription$ then draws that many cards plus one. +A:SP$ ChangeZone | Cost$ 2 R | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | ChangeType$ Card | ChangeNum$ X | RememberChanged$ True | SubAbility$ DBDraw | StackDescription$ {p:You} puts any number of cards from their hand on the bottom of their library, | SpellDescription$ Put any number of cards from your hand on the bottom of your library, then draw that many cards plus one. +SVar:DBDraw:DB$ Draw | NumCards$ Y | SubAbility$ DBCleanup | StackDescription$ then draws that many cards plus one. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$InYourHand SVar:Y:Count$RememberedSize/Plus.1 diff --git a/forge-gui/res/cardsfolder/v/valakut_exploration.txt b/forge-gui/res/cardsfolder/v/valakut_exploration.txt index 7262557beda..521bf7b0224 100755 --- a/forge-gui/res/cardsfolder/v/valakut_exploration.txt +++ b/forge-gui/res/cardsfolder/v/valakut_exploration.txt @@ -6,9 +6,9 @@ SVar:TrigExile:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | Destination SVar:DBEffect:DB$ Effect | StaticAbilities$ MayPlay | Duration$ Permanent | ForgetOnMoved$ Exile | RememberObjects$ Remembered | SubAbility$ DBCleanup SVar:MayPlay:Mode$ Continuous | MayPlay$ True | Affected$ Card.IsRemembered | EffectZone$ Command | AffectedZone$ Exile | Description$ You may play this card for as long as it remains exiled. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | Execute$ TrigGraveyard | CheckSVar$ Y | SVarCompare$ GT0 | References$ Y | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your end step, if there are cards exiled with CARDNAME, put them into their owner's graveyard, then CARDNAME deals that much damage to each opponent. +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | Execute$ TrigGraveyard | CheckSVar$ Y | SVarCompare$ GT0 | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your end step, if there are cards exiled with CARDNAME, put them into their owner's graveyard, then CARDNAME deals that much damage to each opponent. SVar:TrigGraveyard:DB$ ChangeZoneAll | ChangeType$ Card.ExiledWithSource | Origin$ Exile | Destination$ Graveyard | RememberChanged$ True | SubAbility$ DBDamageAll -SVar:DBDamageAll:DB$ DamageAll | ValidPlayers$ Player.Opponent | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDamageAll:DB$ DamageAll | ValidPlayers$ Player.Opponent | NumDmg$ X | SubAbility$ DBCleanup SVar:X:Remembered$Amount SVar:Y:Count$ValidExile Card.ExiledWithSource SVar:BuffedBy:Land diff --git a/forge-gui/res/cardsfolder/v/valduk_keeper_of_the_flame.txt b/forge-gui/res/cardsfolder/v/valduk_keeper_of_the_flame.txt index 301b868c7dd..02afe320529 100644 --- a/forge-gui/res/cardsfolder/v/valduk_keeper_of_the_flame.txt +++ b/forge-gui/res/cardsfolder/v/valduk_keeper_of_the_flame.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Legendary Creature Human Shaman PT:3/2 T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of combat on your turn, for each Aura and Equipment attached to CARDNAME, create a 3/1 red Elemental creature token with trample and haste. Exile those tokens at the beginning of the next end step. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ r_3_1_elemental_trample_haste | AtEOT$ Exile | LegacyImage$ r 3 1 elemental trample haste dom +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ r_3_1_elemental_trample_haste | AtEOT$ Exile | LegacyImage$ r 3 1 elemental trample haste dom SVar:X:Count$Valid Equipment.Attached,Aura.Attached SVar:EnchantMe:Multiple SVar:EquipMe:Multiple diff --git a/forge-gui/res/cardsfolder/v/valiant_changeling.txt b/forge-gui/res/cardsfolder/v/valiant_changeling.txt index fbe17efa4e8..18dfd254c3c 100644 --- a/forge-gui/res/cardsfolder/v/valiant_changeling.txt +++ b/forge-gui/res/cardsfolder/v/valiant_changeling.txt @@ -2,7 +2,7 @@ Name:Valiant Changeling ManaCost:5 W W Types:Creature Shapeshifter PT:3/3 -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature type among creatures you control. This effect can't reduce the amount of mana this spell costs by more than {5}. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature type among creatures you control. This effect can't reduce the amount of mana this spell costs by more than {5}. SVar:X:Count$CreatureType Creature.YouCtrl/LimitMax.5 K:Changeling K:Double Strike diff --git a/forge-gui/res/cardsfolder/v/valki_god_of_lies_tibalt_cosmic_impostor.txt b/forge-gui/res/cardsfolder/v/valki_god_of_lies_tibalt_cosmic_impostor.txt index ec869ecfd3b..545a7aae794 100644 --- a/forge-gui/res/cardsfolder/v/valki_god_of_lies_tibalt_cosmic_impostor.txt +++ b/forge-gui/res/cardsfolder/v/valki_god_of_lies_tibalt_cosmic_impostor.txt @@ -11,7 +11,7 @@ SVar:ComeBack:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Valid SVar:TrigReturn:DB$ ChangeZoneAll | Origin$ Exile | Destination$ Hand | ChangeType$ Card.IsRemembered | SubAbility$ ExileSelf SVar:ExileSelf:DB$ ChangeZone | Origin$ Command | Destination$ Exile | Defined$ Self SVar:DBCleanup:DB$ Cleanup | ClearImprinted$ True | ClearRemembered$ True -A:AB$ ChooseCard | Cost$ X | ChoiceZone$ Exile | Choices$ Card.Creature+ExiledWithSource+cmcEQX | References$ X | Amount$ 1 | ChoiceTitle$ Choose a card exiled with Valki with converted mana cost X | SubAbility$ DBClone | AILogic$ Never | StackDescription$ {p:You} chooses a card exiled with NICKNAME with converted mana cost X. NICKNAME becomes a copy of that card. | SpellDescription$ Choose a card exiled with NICKNAME with converted mana cost X. NICKNAME becomes a copy of that card. +A:AB$ ChooseCard | Cost$ X | ChoiceZone$ Exile | Choices$ Card.Creature+ExiledWithSource+cmcEQX | Amount$ 1 | ChoiceTitle$ Choose a card exiled with Valki with converted mana cost X | SubAbility$ DBClone | AILogic$ Never | StackDescription$ {p:You} chooses a card exiled with NICKNAME with converted mana cost X. NICKNAME becomes a copy of that card. | SpellDescription$ Choose a card exiled with NICKNAME with converted mana cost X. NICKNAME becomes a copy of that card. SVar:DBClone:DB$ Clone | Defined$ ChosenCard | SubAbility$ DBClearChosen SVar:DBClearChosen:DB$ Cleanup | ClearChosenCard$ True SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/v/vampiric_link.txt b/forge-gui/res/cardsfolder/v/vampiric_link.txt index ed8a4cfb548..1d9a51d2f38 100644 --- a/forge-gui/res/cardsfolder/v/vampiric_link.txt +++ b/forge-gui/res/cardsfolder/v/vampiric_link.txt @@ -4,7 +4,7 @@ Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ B | ValidTgts$ Creature | AILogic$ Pump T:Mode$ DamageDealtOnce | ValidSource$ Card.AttachedBy | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/vampiric_link.jpg Oracle:Enchant creature\nWhenever enchanted creature deals damage, you gain that much life. diff --git a/forge-gui/res/cardsfolder/v/vanish_into_memory.txt b/forge-gui/res/cardsfolder/v/vanish_into_memory.txt index 9a5a3c891b4..97949dc9c22 100644 --- a/forge-gui/res/cardsfolder/v/vanish_into_memory.txt +++ b/forge-gui/res/cardsfolder/v/vanish_into_memory.txt @@ -2,10 +2,10 @@ Name:Vanish into Memory ManaCost:2 W U Types:Instant A:SP$ ChangeZone | Cost$ 2 W U | ValidTgts$ Creature | TgtPrompt$ Select target creature | RememberLKI$ True | ForgetOtherRemembered$ True | Imprint$ True | SubAbility$ DBDraw | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target creature. You draw cards equal to that creature's power. At the beginning of your next upkeep, return that card to the battlefield under its owner's control. If you do, discard cards equal to that creature's toughness. -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X | SubAbility$ DelTrig +SVar:DBDraw:DB$ Draw | NumCards$ X | SubAbility$ DelTrig SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigReturn | RememberObjects$ ImprintedLKI | TriggerDescription$ At the beginning of your next upkeep, return that card to the battlefield under its owner's control. If you do, discard cards equal to that creature's toughness. | SubAbility$ DBCleanup SVar:TrigReturn:DB$ ChangeZone | Origin$ Exile | Destination$ Battlefield | Defined$ DelayTriggerRememberedLKI | RememberChanged$ True | SubAbility$ DBDiscard -SVar:DBDiscard:DB$ Discard | NumCards$ Y | References$ Y | Mode$ TgtChoose | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup +SVar:DBDiscard:DB$ Discard | NumCards$ Y | Mode$ TgtChoose | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True SVar:X:RememberedLKI$CardPower SVar:Y:Remembered$CardToughness diff --git a/forge-gui/res/cardsfolder/v/varchild_betrayer_of_kjeldor.txt b/forge-gui/res/cardsfolder/v/varchild_betrayer_of_kjeldor.txt index 8834d01ff09..6ee63283cbf 100644 --- a/forge-gui/res/cardsfolder/v/varchild_betrayer_of_kjeldor.txt +++ b/forge-gui/res/cardsfolder/v/varchild_betrayer_of_kjeldor.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Legendary Creature Human Knight PT:3/3 T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player creates that many 1/1 red Survivor creature tokens. -SVar:TrigToken:DB$ Token | TokenOwner$ TriggeredTarget | TokenAmount$ X | References$ X | TokenScript$ r_1_1_survivor | LegacyImage$ r 1 1 survivor c18 +SVar:TrigToken:DB$ Token | TokenOwner$ TriggeredTarget | TokenAmount$ X | TokenScript$ r_1_1_survivor | LegacyImage$ r 1 1 survivor c18 SVar:X:TriggerCount$DamageAmount S:Mode$ Continuous | Affected$ Survivor.OppCtrl | AddHiddenKeyword$ CantBlock Creature | Description$ Survivors your opponents control can't block. S:Mode$ CantAttack | ValidCard$ Creature.Survivor+OppCtrl | Target$ You,Planeswalker.YouCtrl | Description$ Survivors your opponents control can't attack you or planeswalkers you control. diff --git a/forge-gui/res/cardsfolder/v/varchilds_war_riders.txt b/forge-gui/res/cardsfolder/v/varchilds_war_riders.txt index c239f43b545..7f05829af3a 100644 --- a/forge-gui/res/cardsfolder/v/varchilds_war_riders.txt +++ b/forge-gui/res/cardsfolder/v/varchilds_war_riders.txt @@ -7,7 +7,7 @@ K:Rampage:1 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigCumUpkeep | TriggerDescription$ Cumulative upkeep—Have an opponent create a 1/1 red Survivor creature token. SVar:TrigCumUpkeep:DB$ Charm | Choices$ TrigAgeSurvivor,TrigAgeSacrifice | CharmNum$ 1 SVar:TrigAgeSurvivor:DB$PutCounter | Defined$ Self | CounterType$ AGE | CounterNum$ 1 | SubAbility$ Survivor -SVar:Survivor:DB$Token | TokenAmount$ X | References$ X | TokenScript$ r_1_1_survivor | TokenOwner$ Opponent | LegacyImage$ r 1 1 survivor all | SpellDescription$ Have an opponent create a 1/1 red Survivor creature token. +SVar:Survivor:DB$Token | TokenAmount$ X | TokenScript$ r_1_1_survivor | TokenOwner$ Opponent | LegacyImage$ r 1 1 survivor all | SpellDescription$ Have an opponent create a 1/1 red Survivor creature token. SVar:X:Count$CardCounters.AGE SVar:TrigAgeSacrifice:DB$PutCounter | Defined$ Self | CounterType$ AGE | CounterNum$ 1 | SubAbility$ Sacrifice SVar:Sacrifice:DB$ Sacrifice | Defined$ Self | SpellDescription$ Sacrifice CARDNAME. diff --git a/forge-gui/res/cardsfolder/v/varina_lich_queen.txt b/forge-gui/res/cardsfolder/v/varina_lich_queen.txt index b44d397c99b..e0a697e16a8 100644 --- a/forge-gui/res/cardsfolder/v/varina_lich_queen.txt +++ b/forge-gui/res/cardsfolder/v/varina_lich_queen.txt @@ -3,9 +3,9 @@ ManaCost:1 W U B Types:Legendary Creature Zombie Wizard PT:4/4 T:Mode$ AttackersDeclared | ValidAttackers$ Zombie.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigLoot | TriggerDescription$ Whenever you attack with one or more Zombies, draw that many cards, then discard that many cards. You gain that much life. -SVar:TrigLoot:DB$ Draw | NumCards$ X | References$ X | SubAbility$ DBDiscard -SVar:DBDiscard:DB$ Discard | Defined$ You | Mode$ TgtChoose | NumCards$ X | References$ X | SubAbility$ DBGainLife -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigLoot:DB$ Draw | NumCards$ X | SubAbility$ DBDiscard +SVar:DBDiscard:DB$ Discard | Defined$ You | Mode$ TgtChoose | NumCards$ X | SubAbility$ DBGainLife +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerObjectsAttackers$Valid Zombie.YouCtrl A:AB$ Token | Cost$ 2 ExileFromGrave<2/Card> | TokenAmount$ 1 | TokenScript$ b_2_2_zombie | TokenOwner$ You | LegacyImage$ b 2 2 zombie c18 | TokenTapped$ True | SpellDescription$ Create a tapped 2/2 black Zombie creature token. DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/v/vassals_duty.txt b/forge-gui/res/cardsfolder/v/vassals_duty.txt index acf5afdc63e..6c39b2eef9e 100644 --- a/forge-gui/res/cardsfolder/v/vassals_duty.txt +++ b/forge-gui/res/cardsfolder/v/vassals_duty.txt @@ -1,7 +1,7 @@ Name:Vassal's Duty ManaCost:3 W Types:Enchantment -A:AB$ Effect | Cost$ 1 | ValidTgts$ Creature.Legendary+YouCtrl | TgtPrompt$ Select target legendary creature to redirect damage from | ReplacementEffects$ DamageEvent | SVars$ DamageEventDmg | References$ DamageEvent,DamageEventDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to target legendary creature you control is dealt to you instead. +A:AB$ Effect | Cost$ 1 | ValidTgts$ Creature.Legendary+YouCtrl | TgtPrompt$ Select target legendary creature to redirect damage from | ReplacementEffects$ DamageEvent | SVars$ DamageEventDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to target legendary creature you control is dealt to you instead. SVar:DamageEvent:Event$ DamageDone | ValidTarget$ Creature.IsRemembered | ReplaceWith$ DamageEventDmg | DamageTarget$ You | Description$ The next 1 damage that would be dealt to target legendary creature you control is dealt to you instead. SVar:DamageEventDmg:DB$ ReplaceSplitDamage | DamageTarget$ You AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/v/vastwood_animist.txt b/forge-gui/res/cardsfolder/v/vastwood_animist.txt index df8e01e752c..37e9807665a 100644 --- a/forge-gui/res/cardsfolder/v/vastwood_animist.txt +++ b/forge-gui/res/cardsfolder/v/vastwood_animist.txt @@ -2,7 +2,7 @@ Name:Vastwood Animist ManaCost:2 G Types:Creature Elf Shaman Ally PT:1/1 -A:AB$ Animate | Cost$ T | ValidTgts$ Land.YouCtrl | TgtPrompt$ Select target land you control | Power$ X | Toughness$ X | References$ X | Types$ Creature,Elemental | SpellDescription$ Target land you control becomes an X/X Elemental creature until end of turn, where X is the number of Allies you control. It's still a land. +A:AB$ Animate | Cost$ T | ValidTgts$ Land.YouCtrl | TgtPrompt$ Select target land you control | Power$ X | Toughness$ X | Types$ Creature,Elemental | SpellDescription$ Target land you control becomes an X/X Elemental creature until end of turn, where X is the number of Allies you control. It's still a land. SVar:X:Count$Valid Ally.YouCtrl DeckNeeds:Type$Ally AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/v/vastwood_hydra.txt b/forge-gui/res/cardsfolder/v/vastwood_hydra.txt index cc4ddc607f0..c08955566d7 100644 --- a/forge-gui/res/cardsfolder/v/vastwood_hydra.txt +++ b/forge-gui/res/cardsfolder/v/vastwood_hydra.txt @@ -5,7 +5,7 @@ PT:0/0 K:etbCounter:P1P1:X SVar:X:Count$xPaid T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigCounterDist | OptionalDecider$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, you may distribute a number of +1/+1 counters equal to the number of +1/+1 counters on CARDNAME among any number of creatures you control. -SVar:TrigCounterDist:DB$ PutCounter | Choices$ Creature.YouCtrl | ChoiceTitle$ Choose any number of creatures you control to distribute counters to | CounterType$ P1P1 | CounterNum$ Y | ChoiceAmount$ Y | MinChoiceAmount$ 1 | DividedAsYouChoose$ Y | References$ Y +SVar:TrigCounterDist:DB$ PutCounter | Choices$ Creature.YouCtrl | ChoiceTitle$ Choose any number of creatures you control to distribute counters to | CounterType$ P1P1 | CounterNum$ Y | ChoiceAmount$ Y | MinChoiceAmount$ 1 | DividedAsYouChoose$ Y SVar:Y:TriggeredCard$CardCounters.P1P1 DeckHas:Ability$Counters Oracle:Vastwood Hydra enters the battlefield with X +1/+1 counters on it.\nWhen Vastwood Hydra dies, you may distribute a number of +1/+1 counters equal to the number of +1/+1 counters on Vastwood Hydra among any number of creatures you control. diff --git a/forge-gui/res/cardsfolder/v/vault_of_champions.txt b/forge-gui/res/cardsfolder/v/vault_of_champions.txt index d6c72bf820b..67b091df813 100644 --- a/forge-gui/res/cardsfolder/v/vault_of_champions.txt +++ b/forge-gui/res/cardsfolder/v/vault_of_champions.txt @@ -2,7 +2,7 @@ Name:Vault of Champions ManaCost:no cost Types:Land K:ETBReplacement:Other:LandTapped -SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | References$ ETBCheckSVar2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. +SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | ConditionCheckSVar$ ETBCheckSVar2 | ConditionSVarCompare$ LT2 | SpellDescription$ CARDNAME enters the battlefield tapped unless you have two or more opponents. SVar:ETBCheckSVar2:PlayerCountOpponents$Amount A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add {W}. A:AB$ Mana | Cost$ T | Produced$ B | SpellDescription$ Add {B}. diff --git a/forge-gui/res/cardsfolder/v/vedalken_shackles.txt b/forge-gui/res/cardsfolder/v/vedalken_shackles.txt index cce6c44b9b3..f0cb2c53075 100644 --- a/forge-gui/res/cardsfolder/v/vedalken_shackles.txt +++ b/forge-gui/res/cardsfolder/v/vedalken_shackles.txt @@ -2,7 +2,7 @@ Name:Vedalken Shackles ManaCost:3 Types:Artifact K:You may choose not to untap CARDNAME during your untap step. -A:AB$ GainControl | Cost$ 2 T | ValidTgts$ Creature.powerLEX | References$ X | TgtPrompt$ Select target creature with power less than or equal to the number of Islands you control. | LoseControl$ Untap,LeavesPlay | SpellDescription$ Gain control of target creature with power less than or equal to the number of Islands you control for as long as CARDNAME remains tapped. +A:AB$ GainControl | Cost$ 2 T | ValidTgts$ Creature.powerLEX | TgtPrompt$ Select target creature with power less than or equal to the number of Islands you control. | LoseControl$ Untap,LeavesPlay | SpellDescription$ Gain control of target creature with power less than or equal to the number of Islands you control for as long as CARDNAME remains tapped. SVar:X:Count$TypeYouCtrl.Island AI:RemoveDeck:Random DeckNeeds:Color$Blue diff --git a/forge-gui/res/cardsfolder/v/veil_of_summer.txt b/forge-gui/res/cardsfolder/v/veil_of_summer.txt index d0124692772..3b5adbdc02c 100644 --- a/forge-gui/res/cardsfolder/v/veil_of_summer.txt +++ b/forge-gui/res/cardsfolder/v/veil_of_summer.txt @@ -1,7 +1,7 @@ Name:Veil of Summer ManaCost:G Types:Instant -A:SP$ Draw | Cost$ G | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 |References$ X | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ Draw a card if an opponent has cast a blue or black spell this turn. Spells you control can't be countered this turn. You and permanents you control gain hexproof from blue and from black until end of turn. (You and they can't be the targets of blue or black spells or abilities your opponents control.) +A:SP$ Draw | Cost$ G | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ Draw a card if an opponent has cast a blue or black spell this turn. Spells you control can't be countered this turn. You and permanents you control gain hexproof from blue and from black until end of turn. (You and they can't be the targets of blue or black spells or abilities your opponents control.) SVar:DBEffect:DB$ Effect | StaticAbilities$ AntiMagic | SubAbility$ DBPump SVar:AntiMagic:Mode$ Continuous | Affected$ Card.YouCtrl | AffectedZone$ Stack | EffectZone$ Command | AddHiddenKeyword$ CARDNAME can't be countered. | Description$ Spells you control can't be countered this turn. SVar:DBPump:DB$ Pump | Defined$ You | KW$ Hexproof:Card.Black:black & Hexproof:Card.Blue:blue | SubAbility$ DBPumpAll diff --git a/forge-gui/res/cardsfolder/v/vein_drinker.txt b/forge-gui/res/cardsfolder/v/vein_drinker.txt index 91aa8508d61..27228ef098c 100644 --- a/forge-gui/res/cardsfolder/v/vein_drinker.txt +++ b/forge-gui/res/cardsfolder/v/vein_drinker.txt @@ -5,8 +5,8 @@ PT:4/4 K:Flying T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.DamagedBy | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a creature dealt damage by CARDNAME this turn dies, put a +1/+1 counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ConditionPresent$ Card.StrictlySelf -A:AB$ DealDamage | Cost$ R T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SubAbility$ DamageThis | SpellDescription$ CARDNAME deals damage equal to its power to target creature. That creature deals damage equal to its power to CARDNAME. -SVar:DamageThis:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y | References$ Y +A:AB$ DealDamage | Cost$ R T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SubAbility$ DamageThis | SpellDescription$ CARDNAME deals damage equal to its power to target creature. That creature deals damage equal to its power to CARDNAME. +SVar:DamageThis:DB$DealDamage | Defined$ Self | DamageSource$ Targeted | NumDmg$ Y SVar:X:Count$CardPower SVar:Y:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/vein_drinker.jpg diff --git a/forge-gui/res/cardsfolder/v/venarian_glimmer.txt b/forge-gui/res/cardsfolder/v/venarian_glimmer.txt index 4380aa88c79..efba7896eda 100644 --- a/forge-gui/res/cardsfolder/v/venarian_glimmer.txt +++ b/forge-gui/res/cardsfolder/v/venarian_glimmer.txt @@ -1,7 +1,7 @@ Name:Venarian Glimmer ManaCost:X U Types:Instant -A:SP$ Discard | Cost$ X U | ValidTgts$ Player | TgtPrompt$ Select target player | Mode$ RevealYouChoose | DiscardValid$ Card.nonLand+cmcLEX | References$ X | NumCards$ 1 | SpellDescription$ Target player reveals their hand. You choose a nonland card with converted mana cost X or less from it. That player discards that card. +A:SP$ Discard | Cost$ X U | ValidTgts$ Player | TgtPrompt$ Select target player | Mode$ RevealYouChoose | DiscardValid$ Card.nonLand+cmcLEX | NumCards$ 1 | SpellDescription$ Target player reveals their hand. You choose a nonland card with converted mana cost X or less from it. That player discards that card. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/venarian_glimmer.jpg diff --git a/forge-gui/res/cardsfolder/v/venarian_gold.txt b/forge-gui/res/cardsfolder/v/venarian_gold.txt index 4f6755096af..9dd91576d29 100644 --- a/forge-gui/res/cardsfolder/v/venarian_gold.txt +++ b/forge-gui/res/cardsfolder/v/venarian_gold.txt @@ -5,7 +5,7 @@ K:Enchant creature A:SP$ Attach | Cost$ X U U | ValidTgts$ Creature | AILogic$ Curse T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigTap | TriggerDescription$ When CARDNAME enters the battlefield, tap enchanted creature and put X sleep counters on it. SVar:TrigTap:DB$Tap | Defined$ Enchanted | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$ PutCounter | Defined$ Enchanted | CounterType$ SLEEP | CounterNum$ X | References$ X +SVar:DBPutCounter:DB$ PutCounter | Defined$ Enchanted | CounterType$ SLEEP | CounterNum$ X S:Mode$ Continuous | Affected$ Creature.AttachedBy+counters_GE1_SLEEP | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | Description$ Enchanted creature doesn't untap during its controller's untap step if it has a sleep counter on it. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ EnchantedController | TriggerZones$ Battlefield | Execute$ TrigRemoveCounter | TriggerDescription$ At the beginning of the upkeep of enchanted creature's controller, remove a sleep counter from that creature. SVar:TrigRemoveCounter:DB$RemoveCounter | Defined$ Enchanted | CounterType$ SLEEP | CounterNum$ 1 diff --git a/forge-gui/res/cardsfolder/v/vendetta.txt b/forge-gui/res/cardsfolder/v/vendetta.txt index 86dc7aed083..62813281bdc 100644 --- a/forge-gui/res/cardsfolder/v/vendetta.txt +++ b/forge-gui/res/cardsfolder/v/vendetta.txt @@ -2,7 +2,7 @@ Name:Vendetta ManaCost:B Types:Instant A:SP$ Destroy | Cost$ B | ValidTgts$ Creature.nonBlack | AITgts$ Card.toughnessLTY | TgtPrompt$ Select target nonblack creature | NoRegen$ True | SubAbility$ DBLoseLife | SpellDescription$ Destroy target nonblack creature. It can't be regenerated. You lose life equal to that creature's toughness. -SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ X SVar:X:TargetedLKI$CardToughness SVar:Y:Count$YourLifeTotal SVar:Picture:http://www.wizards.com/global/images/magic/general/vendetta.jpg diff --git a/forge-gui/res/cardsfolder/v/vengeful_archon.txt b/forge-gui/res/cardsfolder/v/vengeful_archon.txt index 2b0ea0c3562..7de28ba830b 100644 --- a/forge-gui/res/cardsfolder/v/vengeful_archon.txt +++ b/forge-gui/res/cardsfolder/v/vengeful_archon.txt @@ -3,8 +3,8 @@ ManaCost:4 W W W Types:Creature Archon PT:7/7 K:Flying -A:AB$ Pump | Cost$ X | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker damaged by shield effect | IsCurse$ True | References$ X | SubAbility$ ArchonPrevention | StackDescription$ none | AILogic$ Never | SpellDescription$ Prevent the next X damage that would be dealt to you this turn. If damage is prevented this way, CARDNAME deals that much damage to target player or planeswalker. -SVar:ArchonPrevention:DB$ PreventDamage | Defined$ You | Amount$ X | References$ X | PreventionSubAbility$ ArchonsVengeance | ShieldEffectTarget$ ParentTarget +A:AB$ Pump | Cost$ X | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker damaged by shield effect | IsCurse$ True | SubAbility$ ArchonPrevention | StackDescription$ none | AILogic$ Never | SpellDescription$ Prevent the next X damage that would be dealt to you this turn. If damage is prevented this way, CARDNAME deals that much damage to target player or planeswalker. +SVar:ArchonPrevention:DB$ PreventDamage | Defined$ You | Amount$ X | PreventionSubAbility$ ArchonsVengeance | ShieldEffectTarget$ ParentTarget SVar:ArchonsVengeance:DB$ DealDamage | Defined$ ShieldEffectTarget | NumDmg$ PreventedDamage | SpellDescription$ CARDNAME deals that much damage to target player or planeswalker. SVar:X:Count$xPaid AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/v/vengeful_devil.txt b/forge-gui/res/cardsfolder/v/vengeful_devil.txt index c1a1e48554e..f44815fba4a 100644 --- a/forge-gui/res/cardsfolder/v/vengeful_devil.txt +++ b/forge-gui/res/cardsfolder/v/vengeful_devil.txt @@ -3,6 +3,6 @@ ManaCost:1 R Types:Creature Devil PT:1/1 K:Haste -A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player | TgtPrompt$ Select any target | NumDmg$ 1 | CheckSVar$ Morbid | SVarCompare$ GE1 | References$ Morbid | SpellDescription$ CARDNAME deals 1 damage to any target. Activate this ability only if a creature died this turn. +A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player | TgtPrompt$ Select any target | NumDmg$ 1 | CheckSVar$ Morbid | SVarCompare$ GE1 | SpellDescription$ CARDNAME deals 1 damage to any target. Activate this ability only if a creature died this turn. SVar:Morbid:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature Oracle:Haste\nMorbid — {T}: Vengeful Devil deals 1 damage to any target. Activate this ability only if a creature died this turn. diff --git a/forge-gui/res/cardsfolder/v/vengeful_dreams.txt b/forge-gui/res/cardsfolder/v/vengeful_dreams.txt index 6e34d6ead2c..a33c68ae127 100644 --- a/forge-gui/res/cardsfolder/v/vengeful_dreams.txt +++ b/forge-gui/res/cardsfolder/v/vengeful_dreams.txt @@ -1,7 +1,7 @@ Name:Vengeful Dreams ManaCost:W W Types:Instant -A:SP$ ChangeZone | Cost$ W W Discard | CostDesc$ As an additional cost to cast this spell, discard X cards. | Origin$ Battlefield | Destination$ Exile | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Creature.attacking | TgtPrompt$ Select X target attacking creatures | StackDescription$ Exile {c:Targeted}. | SpellDescription$ Exile X target attacking creatures. +A:SP$ ChangeZone | Cost$ W W Discard | CostDesc$ As an additional cost to cast this spell, discard X cards. | Origin$ Battlefield | Destination$ Exile | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature.attacking | TgtPrompt$ Select X target attacking creatures | StackDescription$ Exile {c:Targeted}. | SpellDescription$ Exile X target attacking creatures. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:As an additional cost to cast this spell, discard X cards.\nExile X target attacking creatures. diff --git a/forge-gui/res/cardsfolder/v/vengeful_rebirth.txt b/forge-gui/res/cardsfolder/v/vengeful_rebirth.txt index eeaaeb440d8..7606b6f5e96 100644 --- a/forge-gui/res/cardsfolder/v/vengeful_rebirth.txt +++ b/forge-gui/res/cardsfolder/v/vengeful_rebirth.txt @@ -2,7 +2,7 @@ Name:Vengeful Rebirth ManaCost:4 R G Types:Sorcery A:SP$ ChangeZone | Cost$ 4 R G | ValidTgts$ Card.YouCtrl | TgtPrompt$ Select target card | Origin$ Graveyard | Destination$ Hand | SubAbility$ DBVengefulRebirthDamage | RememberTargets$ True | SpellDescription$ Return target card from your graveyard to your hand. If you return a nonland card to your hand this way, CARDNAME deals damage equal to that card's converted mana cost to any target. Exile CARDNAME. -SVar:DBVengefulRebirthDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | References$ VengefulRebirthX | TgtPrompt$ Select any target | NumDmg$ VengefulRebirthX | ConditionDefined$ Remembered | ConditionPresent$ Card.nonLand | ConditionCompare$ GE1 | SubAbility$ DBVengefulRebirthExile +SVar:DBVengefulRebirthDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ VengefulRebirthX | ConditionDefined$ Remembered | ConditionPresent$ Card.nonLand | ConditionCompare$ GE1 | SubAbility$ DBVengefulRebirthExile SVar:DBVengefulRebirthExile:DB$ ChangeZone | Defined$ Self | Origin$ Stack | Destination$ Exile | SubAbility$ DBVengefulRebirthCleanup SVar:DBVengefulRebirthCleanup:DB$ Cleanup | ClearRemembered$ True SVar:VengefulRebirthX:Remembered$CardManaCost diff --git a/forge-gui/res/cardsfolder/v/vensers_journal.txt b/forge-gui/res/cardsfolder/v/vensers_journal.txt index 1d349c526f9..e1e40dbb97b 100644 --- a/forge-gui/res/cardsfolder/v/vensers_journal.txt +++ b/forge-gui/res/cardsfolder/v/vensers_journal.txt @@ -3,7 +3,7 @@ ManaCost:5 Types:Artifact S:Mode$ Continuous | Affected$ You | SetMaxHandSize$ Unlimited | Description$ You have no maximum hand size. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ At the beginning of your upkeep, you gain 1 life for each card in your hand. -SVar:TrigGainLife:DB$GainLife | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | LifeAmount$ X SVar:X:Count$InYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/vensers_journal.jpg Oracle:You have no maximum hand size.\nAt the beginning of your upkeep, you gain 1 life for each card in your hand. diff --git a/forge-gui/res/cardsfolder/v/vent_sentinel.txt b/forge-gui/res/cardsfolder/v/vent_sentinel.txt index 502c92a7f1d..526784c5d1d 100644 --- a/forge-gui/res/cardsfolder/v/vent_sentinel.txt +++ b/forge-gui/res/cardsfolder/v/vent_sentinel.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Creature Elemental PT:2/4 K:Defender -A:AB$ DealDamage | Cost$ 1 R T | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target player or planeswalker equal to the number of creatures with defender you control. +A:AB$ DealDamage | Cost$ 1 R T | ValidTgts$ Player,Planeswalker | TgtPrompt$ Select target player or planeswalker | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target player or planeswalker equal to the number of creatures with defender you control. SVar:X:Count$Valid Creature.withDefender+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/vent_sentinel.jpg Oracle:Defender\n{1}{R}, {T}: Vent Sentinel deals damage to target player or planeswalker equal to the number of creatures with defender you control. diff --git a/forge-gui/res/cardsfolder/v/ventifact_bottle.txt b/forge-gui/res/cardsfolder/v/ventifact_bottle.txt index 45512009dcf..5251e384bcf 100644 --- a/forge-gui/res/cardsfolder/v/ventifact_bottle.txt +++ b/forge-gui/res/cardsfolder/v/ventifact_bottle.txt @@ -1,10 +1,10 @@ Name:Ventifact Bottle ManaCost:3 Types:Artifact -A:AB$ PutCounter | Cost$ X 1 T | CounterType$ CHARGE | CounterNum$ X | References$ X | SorcerySpeed$ True | SpellDescription$ Put X charge counters on Ventifact Bottle. Activate this ability only any time you could cast a sorcery. +A:AB$ PutCounter | Cost$ X 1 T | CounterType$ CHARGE | CounterNum$ X | SorcerySpeed$ True | SpellDescription$ Put X charge counters on Ventifact Bottle. Activate this ability only any time you could cast a sorcery. T:Mode$ Phase | PreCombatMain$ True | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigGetMana | CheckSVar$ Y | SVarCompare$ GE1 | TriggerDescription$ At the beginning of your precombat main phase, if CARDNAME has a charge counter on it, tap it and remove all charge counters from it. Add {C} for each charge counter removed this way. SVar:TrigGetMana:DB$ Mana | Produced$ C | Amount$ Y | SubAbility$ TrigRemove -SVar:TrigRemove:DB$ RemoveCounter | CounterType$ CHARGE | CounterNum$ Y | References$ Y | SubAbility$ DBTap +SVar:TrigRemove:DB$ RemoveCounter | CounterType$ CHARGE | CounterNum$ Y | SubAbility$ DBTap SVar:DBTap:DB$ Tap | Defined$ Self SVar:X:Count$xPaid SVar:Y:Count$CardCounters.CHARGE diff --git a/forge-gui/res/cardsfolder/v/verazol_the_split_current.txt b/forge-gui/res/cardsfolder/v/verazol_the_split_current.txt index a7034427717..4d95cb1223f 100644 --- a/forge-gui/res/cardsfolder/v/verazol_the_split_current.txt +++ b/forge-gui/res/cardsfolder/v/verazol_the_split_current.txt @@ -7,7 +7,7 @@ SVar:X:Count$xPaid SVar:Y:Count$CastTotalManaSpent T:Mode$ SpellCast | ValidSA$ Spell.Kicked | ValidActivatingPlayer$ You | Execute$ DBRemoveCounters | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ Whenever you cast a kicked spell, you may remove two +1/+1 counters from CARDNAME. SVar:DBRemoveCounters:DB$ RemoveCounter | CounterType$ P1P1 | CounterNum$ 2 | RememberRemoved$ True | SubAbility$ DBCopy -SVar:DBCopy:DB$ CopySpellAbility | ConditionCheckSVar$ Z | ConditionSVarCompare$ GE1 | References$ Z | SubAbility$ DBCleanup | Defined$ TriggeredSpellAbility | AILogic$ Always | MayChooseTarget$ True | SpellDescription$ If you do, copy that spell. You may choose new targets for that copy. (A copy of a permanent spell becomes a token.) +SVar:DBCopy:DB$ CopySpellAbility | ConditionCheckSVar$ Z | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup | Defined$ TriggeredSpellAbility | AILogic$ Always | MayChooseTarget$ True | SpellDescription$ If you do, copy that spell. You may choose new targets for that copy. (A copy of a permanent spell becomes a token.) SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Z:Count$RememberedSize DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/v/verdant_suns_avatar.txt b/forge-gui/res/cardsfolder/v/verdant_suns_avatar.txt index b818fa84bdb..753e02cc9b7 100644 --- a/forge-gui/res/cardsfolder/v/verdant_suns_avatar.txt +++ b/forge-gui/res/cardsfolder/v/verdant_suns_avatar.txt @@ -4,7 +4,7 @@ Types:Creature Dinosaur Avatar PT:5/5 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ Whenever CARDNAME or another creature enters the battlefield under your control, you gain life equal to that creature's toughness. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.YouCtrl+Other | TriggerZones$ Battlefield | Execute$ TrigGainLife | Secondary$ True | TriggerDescription$ Whenever 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:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ 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. diff --git a/forge-gui/res/cardsfolder/v/verdeloth_the_ancient.txt b/forge-gui/res/cardsfolder/v/verdeloth_the_ancient.txt index 4f353352def..3fc3c74aa95 100644 --- a/forge-gui/res/cardsfolder/v/verdeloth_the_ancient.txt +++ b/forge-gui/res/cardsfolder/v/verdeloth_the_ancient.txt @@ -5,7 +5,7 @@ PT:4/7 K:Kicker:X S:Mode$ Continuous | Affected$ Creature.Saproling,Creature.Treefolk+Other | AddPower$ 1 | AddToughness$ 1 | Description$ Saproling creatures and other Treefolk creatures get +1/+1. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self+kicked | Execute$ TrigKicker | TriggerDescription$ When CARDNAME enters the battlefield, if it was kicked, create X 1/1 green Saproling creature tokens. -SVar:TrigKicker:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling inv | Secondary$ True | SpellDescription$ Create X 1/1 green Saproling creature tokens. +SVar:TrigKicker:DB$ Token | TokenAmount$ X | TokenScript$ g_1_1_saproling | TokenOwner$ You | LegacyImage$ g 1 1 saproling inv | Secondary$ True | SpellDescription$ Create X 1/1 green Saproling creature tokens. SVar:X:Count$xPaid DeckHints:Type$Fungus|Treefolk DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/v/verge_rangers.txt b/forge-gui/res/cardsfolder/v/verge_rangers.txt index d59c071d79c..b12656d537a 100755 --- a/forge-gui/res/cardsfolder/v/verge_rangers.txt +++ b/forge-gui/res/cardsfolder/v/verge_rangers.txt @@ -4,7 +4,7 @@ Types:Creature Human Scout PT:3/3 K:First strike S:Mode$ Continuous | Affected$ Card.TopLibrary+YouCtrl | AffectedZone$ Library | MayLookAt$ You | Description$ You may look at the top card of your library any time. -S:Mode$ Continuous | Affected$ Land.TopLibrary+YouCtrl | AffectedZone$ Library | MayPlay$ True | CheckSVar$ X | SVarCompare$ GTY | References$ X,Y | Description$ As long as an opponent controls more lands than you, you may play lands from the top of your library. (You can play a land this way only if you have an available land play remaining.) +S:Mode$ Continuous | Affected$ Land.TopLibrary+YouCtrl | AffectedZone$ Library | MayPlay$ True | CheckSVar$ X | SVarCompare$ GTY | Description$ As long as an opponent controls more lands than you, you may play lands from the top of your library. (You can play a land this way only if you have an available land play remaining.) SVar:X:PlayerCountOpponents$HighestValid Land.YouCtrl SVar:Y:Count$Valid Land.YouCtrl Oracle:First strike\nYou may look at the top card of your library any time.\nAs long as an opponent controls more lands than you, you may play lands from the top of your library. (You can play a land this way only if you have an available land play remaining.) diff --git a/forge-gui/res/cardsfolder/v/veteran_adventurer.txt b/forge-gui/res/cardsfolder/v/veteran_adventurer.txt index 18cd0863918..9478a172f6f 100755 --- a/forge-gui/res/cardsfolder/v/veteran_adventurer.txt +++ b/forge-gui/res/cardsfolder/v/veteran_adventurer.txt @@ -4,7 +4,7 @@ Types:Creature Human PT:5/5 K:Vigilance S:Mode$ Continuous | EffectZone$ All | Affected$ Card.Self | CharacteristicDefining$ True | AddType$ Cleric & Rogue & Warrior & Wizard | Description$ CARDNAME is also a Cleric, Rogue, Warrior, and Wizard. -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | References$ X | Description$ This spell costs {1} less to cast for each creature in your party. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature in your party. DeckHints:Ability$Party & Type$Cleric|Rogue|Warrior|Wizard SVar:X:Count$Party Oracle:Veteran Adventurer is also a Cleric, Rogue, Warrior, and Wizard.\nThis spell costs {1} less to cast for each creature in your party.\nVigilance diff --git a/forge-gui/res/cardsfolder/v/veteran_warleader.txt b/forge-gui/res/cardsfolder/v/veteran_warleader.txt index 8b9eeed0a68..d6a80be6e5d 100644 --- a/forge-gui/res/cardsfolder/v/veteran_warleader.txt +++ b/forge-gui/res/cardsfolder/v/veteran_warleader.txt @@ -2,7 +2,7 @@ Name:Veteran Warleader ManaCost:1 G W Types:Creature Human Soldier Ally PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl A:AB$ GenericChoice | Cost$ tapXType<1/Ally.Other> | CostDesc$ Tap another untapped Ally you control: | Choices$ ChooseFirstStrike,ChooseVigilance,ChooseTrample | SpellDescription$ CARDNAME gains your choice of first strike, vigilance, or trample until end of turn. SVar:ChooseFirstStrike:DB$ Pump | Defined$ Self | KW$ First Strike | SpellDescription$ CARDNAME gains first strike until end of turn. diff --git a/forge-gui/res/cardsfolder/v/veterans_armaments.txt b/forge-gui/res/cardsfolder/v/veterans_armaments.txt index 02cc51f3aa9..4a75447544f 100644 --- a/forge-gui/res/cardsfolder/v/veterans_armaments.txt +++ b/forge-gui/res/cardsfolder/v/veterans_armaments.txt @@ -5,7 +5,7 @@ K:Equip:2 S:Mode$ Continuous | Affected$ Card.EquippedBy | AddTrigger$ HeroAttack & HeroBlock | AddSVar$ HeroPump & ArmamentsX | Description$ Equipped creature has "Whenever this creature attacks or blocks, it gets +1/+1 until end of turn for each attacking creature." SVar:HeroAttack:Mode$ Attacks | ValidCard$ Card.Self | Execute$ HeroPump | TriggerDescription$ Whenever CARDNAME attacks or blocks, it gets +1/+1 until end of turn for each attacking creature. SVar:HeroBlock:Mode$ Blocks | ValidCard$ Card.Self | Execute$ HeroPump | Secondary$ True | TriggerDescription$ Whenever CARDNAME attacks or blocks, it gets +1/+1 until end of turn for each attacking creature. -SVar:HeroPump:DB$ Pump | Defined$ Self | NumAtt$ ArmamentsX | NumDef$ ArmamentsX | References$ ArmamentsX +SVar:HeroPump:DB$ Pump | Defined$ Self | NumAtt$ ArmamentsX | NumDef$ ArmamentsX T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Soldier | TriggerZones$ Battlefield | Execute$ HeroAttach | OptionalDecider$ You | TriggerDescription$ Whenever a Soldier creature enters the battlefield, you may attach CARDNAME to it. SVar:HeroAttach:DB$ Attach | Defined$ TriggeredCard SVar:ArmamentsX:Count$Valid Creature.attacking diff --git a/forge-gui/res/cardsfolder/v/vexing_sphinx.txt b/forge-gui/res/cardsfolder/v/vexing_sphinx.txt index 7f8745224e8..c6a3f06b06b 100644 --- a/forge-gui/res/cardsfolder/v/vexing_sphinx.txt +++ b/forge-gui/res/cardsfolder/v/vexing_sphinx.txt @@ -5,7 +5,7 @@ PT:4/4 K:Flying K:Cumulative upkeep:Discard<1/Card>:Discard a card. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, draw a card for each age counter on it. -SVar:TrigDraw:DB$ Draw | NumCards$ XLKI | References$ XLKI +SVar:TrigDraw:DB$ Draw | NumCards$ XLKI SVar:XLKI:TriggeredCard$CardCounters.AGE SVar:NeedsToPlayVar:Z GE3 SVar:Z:Count$InYourHand diff --git a/forge-gui/res/cardsfolder/v/vial_smasher_the_fierce.txt b/forge-gui/res/cardsfolder/v/vial_smasher_the_fierce.txt index f342ba44323..5c460a30fd8 100644 --- a/forge-gui/res/cardsfolder/v/vial_smasher_the_fierce.txt +++ b/forge-gui/res/cardsfolder/v/vial_smasher_the_fierce.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Goblin Berserker PT:2/3 T:Mode$ SpellCast | ValidActivatingPlayer$ You | ActivatorThisTurnCast$ EQ1 | NoResolvingCheck$ True | ValidCard$ Card | Execute$ TrigChoose | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast your first spell each turn, choose an opponent at random. CARDNAME deals damage equal to that spell's converted mana cost to that player or a planeswalker that player controls. SVar:TrigChoose:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | Random$ True | SubAbility$ DBDealDamage -SVar:DBDealDamage:DB$ DealDamage | Defined$ ChosenPlayer | NumDmg$ X | References$ X | SubAbility$ DBCleanup +SVar:DBDealDamage:DB$ DealDamage | Defined$ ChosenPlayer | NumDmg$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearChosenPlayer$ True SVar:X:TriggerCount$CastSACMC K:Partner diff --git a/forge-gui/res/cardsfolder/v/viashino_racketeer.txt b/forge-gui/res/cardsfolder/v/viashino_racketeer.txt index ba8812de900..35be277b37e 100644 --- a/forge-gui/res/cardsfolder/v/viashino_racketeer.txt +++ b/forge-gui/res/cardsfolder/v/viashino_racketeer.txt @@ -4,7 +4,7 @@ Types:Creature Viashino Rogue PT:2/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, you may discard a card. If you do, draw a card. SVar:TrigDiscard:DB$ Discard | NumCards$ 1 | Mode$ TgtChoose | Optional$ True | RememberDiscarded$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/viashino_racketeer.jpg diff --git a/forge-gui/res/cardsfolder/v/vicious_offering.txt b/forge-gui/res/cardsfolder/v/vicious_offering.txt index 11448c83af0..280a46d4ff3 100644 --- a/forge-gui/res/cardsfolder/v/vicious_offering.txt +++ b/forge-gui/res/cardsfolder/v/vicious_offering.txt @@ -2,6 +2,6 @@ Name:Vicious Offering ManaCost:1 B Types:Instant K:Kicker:Sac<1/Creature> -A:SP$ Pump | Cost$ 1 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | References$ X | IsCurse$ True | SpellDescription$ Target creature gets -2/-2 until end of turn. If this spell was kicked, that creature gets -5/-5 until end of turn instead. +A:SP$ Pump | Cost$ 1 B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | IsCurse$ True | SpellDescription$ Target creature gets -2/-2 until end of turn. If this spell was kicked, that creature gets -5/-5 until end of turn instead. SVar:X:Count$Kicked.5.2 Oracle:Kicker—Sacrifice a creature. (You may sacrifice a creature in addition to any other costs as you cast this spell.)\nTarget creature gets -2/-2 until end of turn. If this spell was kicked, that creature gets -5/-5 until end of turn instead. diff --git a/forge-gui/res/cardsfolder/v/victimize.txt b/forge-gui/res/cardsfolder/v/victimize.txt index c3e6ad7b666..ab2cd2f8b0c 100644 --- a/forge-gui/res/cardsfolder/v/victimize.txt +++ b/forge-gui/res/cardsfolder/v/victimize.txt @@ -2,7 +2,7 @@ Name:Victimize ManaCost:2 B Types:Sorcery A:SP$ Sacrifice | Cost$ 2 B | Defined$ You | SacValid$ Creature | RememberSacrificed$ True | SubAbility$ Rise | SpellDescription$ Choose two target creature cards in your graveyard. Sacrifice a creature. If you do, return the chosen cards to the battlefield tapped. -SVar:Rise:DB$ ChangeZone | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature | TargetMin$ 2 | TargetMax$ 2 | Origin$ Graveyard | Destination$ Battlefield | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X | ConditionDescription$ If you do, | Tapped$ True | SubAbility$ DBCleanup +SVar:Rise:DB$ ChangeZone | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature | TargetMin$ 2 | TargetMax$ 2 | Origin$ Graveyard | Destination$ Battlefield | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | ConditionDescription$ If you do, | Tapped$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/victimize.jpg diff --git a/forge-gui/res/cardsfolder/v/vigil_for_the_lost.txt b/forge-gui/res/cardsfolder/v/vigil_for_the_lost.txt index 2aa62e7b018..6bef4c6556f 100644 --- a/forge-gui/res/cardsfolder/v/vigil_for_the_lost.txt +++ b/forge-gui/res/cardsfolder/v/vigil_for_the_lost.txt @@ -2,7 +2,7 @@ Name:Vigil for the Lost ManaCost:3 W Types:Enchantment T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.YouCtrl | Execute$ TrigGainLife | OptionalDecider$ You | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature you control dies, you may pay {X}. If you do, you gain X life. -SVar:TrigGainLife:AB$GainLife | Cost$ X | LifeAmount$ X | References$ X +SVar:TrigGainLife:AB$GainLife | Cost$ X | LifeAmount$ X SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/vigil_for_the_lost.jpg Oracle:Whenever a creature you control dies, you may pay {X}. If you do, you gain X life. diff --git a/forge-gui/res/cardsfolder/v/vigor.txt b/forge-gui/res/cardsfolder/v/vigor.txt index 05f84f3d095..3405c022579 100644 --- a/forge-gui/res/cardsfolder/v/vigor.txt +++ b/forge-gui/res/cardsfolder/v/vigor.txt @@ -4,7 +4,7 @@ Types:Creature Elemental Incarnation PT:6/6 K:Trample R:Event$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Creature.YouCtrl+Other | ReplaceWith$ Counters | PreventionEffect$ True | Description$ If damage would be dealt to another creature you control, prevent that damage. Put a +1/+1 counter on that creature for each 1 damage prevented this way. -SVar:Counters:DB$PutCounter | Defined$ ReplacedTarget | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:Counters:DB$PutCounter | Defined$ ReplacedTarget | CounterType$ P1P1 | CounterNum$ X SVar:X:ReplaceCount$DamageAmount T:Mode$ ChangesZone | Origin$ Any | Destination$ Graveyard | ValidCard$ Creature.Self | Execute$ TrigShuffle | TriggerDescription$ When CARDNAME is put into a graveyard from anywhere, shuffle it into its owner's library. SVar:TrigShuffle:DB$ ChangeZone | Origin$ Graveyard | Destination$ Library | Shuffle$ True | Defined$ TriggeredCardLKICopy diff --git a/forge-gui/res/cardsfolder/v/vigorous_charge.txt b/forge-gui/res/cardsfolder/v/vigorous_charge.txt index 445e15188ec..9f16e5b8fd1 100644 --- a/forge-gui/res/cardsfolder/v/vigorous_charge.txt +++ b/forge-gui/res/cardsfolder/v/vigorous_charge.txt @@ -5,7 +5,7 @@ K:Kicker:W A:SP$ Pump | Cost$ G | ValidTgts$ Creature | KW$ Trample | SubAbility$ VigorousPumping | SpellDescription$ Target creature gains trample until end of turn. Whenever that creature deals combat damage this turn, if this spell was kicked, you gain life equal to that damage. SVar:VigorousPumping:DB$ Effect | TgtPrompt$ Select target creature | Triggers$ TrigDamage,EndTrackingEffect | SVars$ VigorousLife,X,ExileEffect | RememberObjects$ Targeted | Condition$ Kicked | ConditionDescription$ If Vigorous Charge was kicked, SVar:TrigDamage:Mode$ DamageDealtOnce | CombatDamage$ True | ValidSource$ Creature.IsRemembered | Execute$ VigorousLife | TriggerDescription$ Whenever the targeted creature deals combat damage this turn, you gain life equal to that damage. -SVar:VigorousLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:VigorousLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:EndTrackingEffect:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Battlefield | Destination$ Any | Execute$ ExileEffect | Static$ True SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile diff --git a/forge-gui/res/cardsfolder/v/vigorspore_wurm.txt b/forge-gui/res/cardsfolder/v/vigorspore_wurm.txt index 8e905664c33..8602f5e3cb5 100644 --- a/forge-gui/res/cardsfolder/v/vigorspore_wurm.txt +++ b/forge-gui/res/cardsfolder/v/vigorspore_wurm.txt @@ -4,7 +4,7 @@ Types:Creature Wurm PT:6/4 K:CantBeBlockedByAmount GT1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Undergrowth - When CARDNAME enters the battlefield, target creature gains vigilance and gets +X/+X until end of turn, where X is the number of creature cards in your graveyard. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | KW$ Vigilance | References$ X +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | KW$ Vigilance SVar:X:Count$TypeInYourYard.Creature SVar:PlayMain1:TRUE Oracle:Undergrowth — When Vigorspore Wurm enters the battlefield, target creature gains vigilance and gets +X/+X until end of turn, where X is the number of creature cards in your graveyard.\nVigorspore Wurm can't be blocked by more than one creature. diff --git a/forge-gui/res/cardsfolder/v/vile_deacon.txt b/forge-gui/res/cardsfolder/v/vile_deacon.txt index 33e933657af..329c396ad3e 100644 --- a/forge-gui/res/cardsfolder/v/vile_deacon.txt +++ b/forge-gui/res/cardsfolder/v/vile_deacon.txt @@ -3,7 +3,7 @@ ManaCost:2 B B Types:Creature Human Cleric PT:2/2 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +X/+X until end of turn, where X is the number of Clerics on the battlefield. -SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X SVar:X:Count$Valid Cleric SVar:Picture:http://www.wizards.com/global/images/magic/general/vile_deacon.jpg Oracle:Whenever Vile Deacon attacks, it gets +X/+X until end of turn, where X is the number of Clerics on the battlefield. diff --git a/forge-gui/res/cardsfolder/v/vile_manifestation.txt b/forge-gui/res/cardsfolder/v/vile_manifestation.txt index b24c510139e..369329aeb7c 100644 --- a/forge-gui/res/cardsfolder/v/vile_manifestation.txt +++ b/forge-gui/res/cardsfolder/v/vile_manifestation.txt @@ -2,7 +2,7 @@ Name:Vile Manifestation ManaCost:1 B Types:Creature Horror PT:0/4 -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | References$ X | Description$ CARDNAME gets +1/+0 for each card with cycling in your graveyard. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | Description$ CARDNAME gets +1/+0 for each card with cycling in your graveyard. K:Cycling:2 SVar:X:Count$ValidGraveyard Card.YouOwn+withCycling,Card.YouOwn+withTypeCycling SVar:Picture:http://www.wizards.com/global/images/magic/general/vile_manifestation.jpg diff --git a/forge-gui/res/cardsfolder/v/vile_redeemer.txt b/forge-gui/res/cardsfolder/v/vile_redeemer.txt index f84676d03ef..b5807ee5df2 100644 --- a/forge-gui/res/cardsfolder/v/vile_redeemer.txt +++ b/forge-gui/res/cardsfolder/v/vile_redeemer.txt @@ -5,7 +5,7 @@ PT:3/3 K:Devoid K:Flash T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When you cast this spell, you may pay {C}. If you do, create a 1/1 colorless Eldrazi Scion creature token for each nontoken creature that died under your control this turn. Those tokens have "Sacrifice this creature: Add {C}." -SVar:TrigToken:AB$ Token | Cost$ C | TokenAmount$ X | References$ X | TokenScript$ c_1_1_eldrazi_scion_sac | TokenOwner$ You | LegacyImage$ c 1 1 eldrazi scion sac ogw +SVar:TrigToken:AB$ Token | Cost$ C | TokenAmount$ X | TokenScript$ c_1_1_eldrazi_scion_sac | TokenOwner$ You | LegacyImage$ c 1 1 eldrazi scion sac ogw SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature.nonToken+YouCtrl DeckHints:Ability$Mana.Colorless DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/v/vile_requiem.txt b/forge-gui/res/cardsfolder/v/vile_requiem.txt index 54975d49ebd..d2cc66af50a 100644 --- a/forge-gui/res/cardsfolder/v/vile_requiem.txt +++ b/forge-gui/res/cardsfolder/v/vile_requiem.txt @@ -1,7 +1,7 @@ Name:Vile Requiem ManaCost:2 B B Types:Enchantment -A:AB$ Destroy | Cost$ 1 B Sac<1/CARDNAME> | TargetMin$ 0 | TargetMax$ X | References$ X | ValidTgts$ Creature.nonBlack | NoRegen$ True | TgtPrompt$ Select target nonblack creature | SpellDescription$ Destroy up to X target nonblack creatures, where X is the number of verse counters on CARDNAME. They can't be regenerated. +A:AB$ Destroy | Cost$ 1 B Sac<1/CARDNAME> | TargetMin$ 0 | TargetMax$ X | ValidTgts$ Creature.nonBlack | NoRegen$ True | TgtPrompt$ Select target nonblack creature | SpellDescription$ Destroy up to X target nonblack creatures, where X is the number of verse counters on CARDNAME. They can't be regenerated. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ VERSE | CounterNum$ 1 SVar:X:Count$CardCounters.VERSE diff --git a/forge-gui/res/cardsfolder/v/vilis_broker_of_blood.txt b/forge-gui/res/cardsfolder/v/vilis_broker_of_blood.txt index 79a2916293b..a3c6aaca8ea 100644 --- a/forge-gui/res/cardsfolder/v/vilis_broker_of_blood.txt +++ b/forge-gui/res/cardsfolder/v/vilis_broker_of_blood.txt @@ -6,7 +6,7 @@ K:Flying A:AB$ Pump | Cost$ B PayLife<2> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | SpellDescription$ Target creature gets -1/-1 until end of turn. AI:RemoveDeck:Random T:Mode$ LifeLost | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Whenever you lose life, draw that many cards. (Damage causes loss of life.) -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:TriggerCount$LifeAmount AI:RemoveDeck:Random Oracle:Flying\n{B}, Pay 2 life: Target creature gets -1/-1 until end of turn.\nWhenever you lose life, draw that many cards. (Damage causes loss of life.) diff --git a/forge-gui/res/cardsfolder/v/villainous_wealth.txt b/forge-gui/res/cardsfolder/v/villainous_wealth.txt index eb64855d7b6..55a9c61698a 100644 --- a/forge-gui/res/cardsfolder/v/villainous_wealth.txt +++ b/forge-gui/res/cardsfolder/v/villainous_wealth.txt @@ -1,8 +1,8 @@ Name:Villainous Wealth ManaCost:X B G U Types:Sorcery -A:SP$ Dig | Cost$ X B G U | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | DigNum$ X | ChangeNum$ All | References$ X | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBPlay | SpellDescription$ Target opponent exiles the top X cards of their library. You may cast any number of spells with converted mana cost X or less from among them without paying their mana costs. -SVar:DBPlay:DB$ Play | WithoutManaCost$ True | ValidZone$ Exile | Valid$ Card.nonLand+cmcLEX+IsRemembered | Amount$ All | Optional$ True | References$ X | SubAbility$ DBCleanup +A:SP$ Dig | Cost$ X B G U | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | DigNum$ X | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBPlay | SpellDescription$ Target opponent exiles the top X cards of their library. You may cast any number of spells with converted mana cost X or less from among them without paying their mana costs. +SVar:DBPlay:DB$ Play | WithoutManaCost$ True | ValidZone$ Exile | Valid$ Card.nonLand+cmcLEX+IsRemembered | Amount$ All | Optional$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid Oracle:Target opponent exiles the top X cards of their library. You may cast any number of spells with converted mana cost X or less from among them without paying their mana costs. diff --git a/forge-gui/res/cardsfolder/v/vindictive_lich.txt b/forge-gui/res/cardsfolder/v/vindictive_lich.txt index d0263f62754..7997c3e4636 100644 --- a/forge-gui/res/cardsfolder/v/vindictive_lich.txt +++ b/forge-gui/res/cardsfolder/v/vindictive_lich.txt @@ -3,7 +3,7 @@ ManaCost:3 B Types:Creature Zombie Wizard PT:4/1 T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigCharm | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, ABILITY -SVar:TrigCharm:DB$ Charm | MinCharmNum$ 1 | CharmNum$ MaxUniqueOpponents | Choices$ SacCreature,DiscardCards,LoseLife | References$ MaxUniqueOpponents | AdditionalDescription$ or more. Each mode must target a different player. +SVar:TrigCharm:DB$ Charm | MinCharmNum$ 1 | CharmNum$ MaxUniqueOpponents | Choices$ SacCreature,DiscardCards,LoseLife | AdditionalDescription$ or more. Each mode must target a different player. SVar:SacCreature:DB$ Sacrifice | ValidTgts$ Opponent | TargetUnique$ True | SacValid$ Creature | SacMessage$ Creature | SpellDescription$ Target opponent sacrifices a creature. SVar:DiscardCards:DB$ Discard | ValidTgts$ Opponent | TargetUnique$ True | NumCards$ 2 | Mode$ TgtChoose | SpellDescription$ Target opponent discards two cards. SVar:LoseLife:DB$ LoseLife | ValidTgts$ Opponent | TargetUnique$ True | LifeAmount$ 5 | SpellDescription$ Target opponent loses 5 life. diff --git a/forge-gui/res/cardsfolder/v/vines_of_vastwood.txt b/forge-gui/res/cardsfolder/v/vines_of_vastwood.txt index 45714255b56..93407fca733 100644 --- a/forge-gui/res/cardsfolder/v/vines_of_vastwood.txt +++ b/forge-gui/res/cardsfolder/v/vines_of_vastwood.txt @@ -2,7 +2,7 @@ Name:Vines of Vastwood ManaCost:G Types:Instant K:Kicker:G -A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | References$ X | SubAbility$ DBEffect | SpellDescription$ Target creature can't be the target of spells or abilities your opponents control this turn. If this spell was kicked, that creature gets +4/+4 until end of turn. +A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ X | NumDef$ X | SubAbility$ DBEffect | SpellDescription$ Target creature can't be the target of spells or abilities your opponents control this turn. If this spell was kicked, that creature gets +4/+4 until end of turn. SVar:DBEffect:DB$ Effect | Defined$ Targeted | AILogic$ Always | StaticAbilities$ STCantTarget | RememberObjects$ Targeted | Triggers$ TrigCleanup | SVars$ DBCleanup SVar:STCantTarget:Mode$ CantTarget | EffectZone$ Command | ValidCard$ Card.IsRemembered | Activator$ Player.Opponent | Description$ Target creature can't be the target of spells or abilities your opponents control this turn. SVar:TrigCleanup:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Battlefield | Destination$ Any | Execute$ DBCleanup | Static$ True diff --git a/forge-gui/res/cardsfolder/v/viridian_joiner.txt b/forge-gui/res/cardsfolder/v/viridian_joiner.txt index 29e24de9d28..9d40df3541c 100644 --- a/forge-gui/res/cardsfolder/v/viridian_joiner.txt +++ b/forge-gui/res/cardsfolder/v/viridian_joiner.txt @@ -2,7 +2,7 @@ Name:Viridian Joiner ManaCost:2 G Types:Creature Elf Druid PT:1/2 -A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | References$ X | SpellDescription$ Add an amount of {G} equal to CARDNAME's power. +A:AB$ Mana | Cost$ T | Produced$ G | Amount$ X | SpellDescription$ Add an amount of {G} equal to CARDNAME's power. SVar:X:Count$CardPower AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/viridian_joiner.jpg diff --git a/forge-gui/res/cardsfolder/v/viridian_lorebearers.txt b/forge-gui/res/cardsfolder/v/viridian_lorebearers.txt index 277deee53bd..6e40d102b35 100644 --- a/forge-gui/res/cardsfolder/v/viridian_lorebearers.txt +++ b/forge-gui/res/cardsfolder/v/viridian_lorebearers.txt @@ -2,7 +2,7 @@ Name:Viridian Lorebearers ManaCost:3 G Types:Creature Elf Shaman PT:3/3 -A:AB$ Pump | Cost$ 3 G T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of artifacts your opponents control. +A:AB$ Pump | Cost$ 3 G T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of artifacts your opponents control. SVar:X:Count$Valid Artifact.OppCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/viridian_lorebearers.jpg diff --git a/forge-gui/res/cardsfolder/v/virtus_the_veiled.txt b/forge-gui/res/cardsfolder/v/virtus_the_veiled.txt index b0b20ad6eae..1caf9774bb2 100644 --- a/forge-gui/res/cardsfolder/v/virtus_the_veiled.txt +++ b/forge-gui/res/cardsfolder/v/virtus_the_veiled.txt @@ -5,6 +5,6 @@ PT:1/1 K:Partner:Gorm the Great K:Deathtouch T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigLoseLifeOpp | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player loses half their life, rounded up. -SVar:TrigLoseLifeOpp:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ QuietusX | References$ QuietusX +SVar:TrigLoseLifeOpp:DB$ LoseLife | Defined$ TriggeredTarget | LifeAmount$ QuietusX SVar:QuietusX:TriggeredTarget$LifeTotal/HalfUp Oracle:Partner with Gorm the Great (When this creature enters the battlefield, target player may put Gorm into their hand from their library, then shuffle.)\nDeathtouch\nWhenever Virtus the Veiled deals combat damage to a player, that player loses half their life, rounded up. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/v/viseling.txt b/forge-gui/res/cardsfolder/v/viseling.txt index ebe162ed6db..ccec74c4427 100644 --- a/forge-gui/res/cardsfolder/v/viseling.txt +++ b/forge-gui/res/cardsfolder/v/viseling.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact Creature Construct PT:2/2 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of each opponent's upkeep, CARDNAME deals X damage to that player, where X is the number of cards in their hand minus 4. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:TriggeredPlayer$CardsInHand/Minus.4 SVar:Picture:http://www.wizards.com/global/images/magic/general/viseling.jpg Oracle:At the beginning of each opponent's upkeep, Viseling deals X damage to that player, where X is the number of cards in their hand minus 4. diff --git a/forge-gui/res/cardsfolder/v/vish_kal_blood_arbiter.txt b/forge-gui/res/cardsfolder/v/vish_kal_blood_arbiter.txt index aab8240b7e0..3c939feaac5 100644 --- a/forge-gui/res/cardsfolder/v/vish_kal_blood_arbiter.txt +++ b/forge-gui/res/cardsfolder/v/vish_kal_blood_arbiter.txt @@ -4,8 +4,8 @@ Types:Legendary Creature Vampire PT:5/5 K:Flying K:Lifelink -A:AB$PutCounter | Cost$ Sac<1/Creature> | Defined$ Self | CounterType$ P1P1 | CounterNum$ Y | References$ Y | SpellDescription$ Put X +1/+1 counters on CARDNAME, where X is the sacrificed creature's power. -A:AB$ Pump | Cost$ SubCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | References$ X | SpellDescription$ Target creature gets -1/-1 until end of turn for each +1/+1 counter removed this way. +A:AB$PutCounter | Cost$ Sac<1/Creature> | Defined$ Self | CounterType$ P1P1 | CounterNum$ Y | SpellDescription$ Put X +1/+1 counters on CARDNAME, where X is the sacrificed creature's power. +A:AB$ Pump | Cost$ SubCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -X | NumDef$ -X | SpellDescription$ Target creature gets -1/-1 until end of turn for each +1/+1 counter removed this way. SVar:Y:Sacrificed$CardPower SVar:X:SVar$CostCountersRemoved AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/v/visions_of_beyond.txt b/forge-gui/res/cardsfolder/v/visions_of_beyond.txt index 1bf8db5f14e..84d0eaf01a1 100644 --- a/forge-gui/res/cardsfolder/v/visions_of_beyond.txt +++ b/forge-gui/res/cardsfolder/v/visions_of_beyond.txt @@ -1,7 +1,7 @@ Name:Visions of Beyond ManaCost:U Types:Instant -A:SP$ Draw | Cost$ U | NumCards$ X | References$ X,CheckGrave | SpellDescription$ Draw a card. If a graveyard has twenty or more cards in it, draw three cards instead. +A:SP$ Draw | Cost$ U | NumCards$ X | SpellDescription$ Draw a card. If a graveyard has twenty or more cards in it, draw three cards instead. SVar:X:Count$Compare CheckGrave GE20.3.1 SVar:CheckGrave:PlayerCountPlayers$HighestValidGraveyard Card.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/visions_of_beyond.jpg diff --git a/forge-gui/res/cardsfolder/v/visions_of_brutality.txt b/forge-gui/res/cardsfolder/v/visions_of_brutality.txt index 920b66caebd..8339587a9e1 100644 --- a/forge-gui/res/cardsfolder/v/visions_of_brutality.txt +++ b/forge-gui/res/cardsfolder/v/visions_of_brutality.txt @@ -6,7 +6,7 @@ K:Enchant creature A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature | AILogic$ Curse S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ CARDNAME can't block. | Description$ Enchanted creature can't block. T:Mode$ DamageDealtOnce | ValidSource$ Card.AttachedBy | Execute$ TrigLoseLife | TriggerZones$ Battlefield | TriggerDescription$ Whenever enchanted creature deals damage, its controller loses that much life. -SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredSourceController | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ TriggeredSourceController | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/visions_of_brutality.jpg Oracle:Devoid (This card has no color.)\nEnchant creature\nEnchanted creature can't block.\nWhenever enchanted creature deals damage, its controller loses that much life. diff --git a/forge-gui/res/cardsfolder/v/vitality_hunter.txt b/forge-gui/res/cardsfolder/v/vitality_hunter.txt index b7b88c308f4..99f8954979c 100755 --- a/forge-gui/res/cardsfolder/v/vitality_hunter.txt +++ b/forge-gui/res/cardsfolder/v/vitality_hunter.txt @@ -5,7 +5,7 @@ PT:3/4 K:Lifelink K:Monstrosity:X:X W W T:Mode$ BecomeMonstrous | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ When CARDNAME becomes monstrous, put a lifelink counter on each of up to X target creatures. -SVar:TrigPutCounter:DB$ PutCounter | CounterNum$ 1 | CounterType$ Lifelink | TargetMin$ 0 | TargetMax$ MaxTgts | References$ X,MaxTgts | ValidTgts$ Creature | TgtPrompt$ Select target creatures | SpellDescription$ Put a lifelink counter on each of up to X target creatures. +SVar:TrigPutCounter:DB$ PutCounter | CounterNum$ 1 | CounterType$ Lifelink | TargetMin$ 0 | TargetMax$ MaxTgts | ValidTgts$ Creature | TgtPrompt$ Select target creatures | SpellDescription$ Put a lifelink counter on each of up to X target creatures. SVar:X:Count$xPaid SVar:MaxTgts:TriggerCount$MonstrosityAmount DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/v/vitalizing_cascade.txt b/forge-gui/res/cardsfolder/v/vitalizing_cascade.txt index c3d6e67d2cc..af6daed9d55 100644 --- a/forge-gui/res/cardsfolder/v/vitalizing_cascade.txt +++ b/forge-gui/res/cardsfolder/v/vitalizing_cascade.txt @@ -1,7 +1,7 @@ Name:Vitalizing Cascade ManaCost:X G W Types:Instant -A:SP$ GainLife | Cost$ X G W | Defined$ You | LifeAmount$ X | References$ X | SubAbility$ DBGain3 | SpellDescription$ You gain X plus 3 life. +A:SP$ GainLife | Cost$ X G W | Defined$ You | LifeAmount$ X | SubAbility$ DBGain3 | SpellDescription$ You gain X plus 3 life. SVar:DBGain3:DB$GainLife | LifeAmount$ 3 | Defined$ You SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/vitalizing_cascade.jpg diff --git a/forge-gui/res/cardsfolder/v/vito_thorn_of_the_dusk_rose.txt b/forge-gui/res/cardsfolder/v/vito_thorn_of_the_dusk_rose.txt index cef434f288e..8547e2e0bbb 100755 --- a/forge-gui/res/cardsfolder/v/vito_thorn_of_the_dusk_rose.txt +++ b/forge-gui/res/cardsfolder/v/vito_thorn_of_the_dusk_rose.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Legendary Creature Vampire Cleric PT:1/3 T:Mode$ LifeGained | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDrain | TriggerDescription$ Whenever you gain life, target opponent loses that much life. -SVar:TrigDrain:DB$ LoseLife | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | LifeAmount$ X | References$ X +SVar:TrigDrain:DB$ LoseLife | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | LifeAmount$ X SVar:X:TriggerCount$LifeAmount A:AB$ PumpAll | Cost$ 3 B B | ValidCards$ Creature.YouCtrl | KW$ Lifelink | SpellDescription$ Creatures you control gain lifelink until end of turn. DeckHas:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/v/vivien_arkbow_ranger.txt b/forge-gui/res/cardsfolder/v/vivien_arkbow_ranger.txt index a581e010550..ffdd5d939ec 100644 --- a/forge-gui/res/cardsfolder/v/vivien_arkbow_ranger.txt +++ b/forge-gui/res/cardsfolder/v/vivien_arkbow_ranger.txt @@ -5,7 +5,7 @@ Loyalty:4 A:AB$ PutCounter | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 2 | CounterType$ P1P1 | CounterNum$ 2 | DividedAsYouChoose$ 2 | SubAbility$ DBPumpAll | SpellDescription$ Distribute two +1/+1 counters among up to two target creatures. They gain trample until end of turn. SVar:DBPumpAll:DB$ Pump | KW$ Trample | Defined$ Targeted A:AB$ Pump | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | SubAbility$ SoulsDamage | AILogic$ Fight | StackDescription$ None | SpellDescription$ Target creature you control deals damage equal to its power to target creature or planeswalker. -SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | AILogic$ PowerDmg | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | References$ X | DamageSource$ ParentTarget +SVar:SoulsDamage:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | AILogic$ PowerDmg | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower A:AB$ ChangeZone | Cost$ SubCounter<5/LOYALTY> | Planeswalker$ True | Ultimate$ True | Origin$ Sideboard | Destination$ Hand | ChangeType$ Creature.YouOwn | ChangeTypeDesc$ creature card they own | ChangeNum$ 1 | Reveal$ True | Hidden$ True | SpellDescription$ You may reveal a creature card you own from outside the game and put it into your hand. DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/v/vivien_monsters_advocate.txt b/forge-gui/res/cardsfolder/v/vivien_monsters_advocate.txt index 1b45749c192..f39bc21cbb9 100755 --- a/forge-gui/res/cardsfolder/v/vivien_monsters_advocate.txt +++ b/forge-gui/res/cardsfolder/v/vivien_monsters_advocate.txt @@ -13,7 +13,7 @@ SVar:Vigilance:DB$ PutCounter | Choices$ Card.IsRemembered | ChoiceTitle$ Choose SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True A:AB$ Effect | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | Ultimate$ True | Triggers$ TrigSearch | SVars$ DBSearch,X | AILogic$ WillCastCreature | SpellDescription$ When you cast your next creature spell this turn, search your library for a creature card with lesser converted mana cost, put it onto the battlefield, then shuffle your library. SVar:TrigSearch:Mode$ SpellCast | ValidCard$ Creature | ValidActivatingPlayer$ You | OneOff$ True | TriggerZones$ Command | Execute$ DBSearch | TriggerDescription$ When you cast your next creature spell this turn, search your library for a creature card with lesser converted mana cost, put it onto the battlefield, then shuffle your library. -SVar:DBSearch:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcLTX | References$ X | ChangeNum$ 1 +SVar:DBSearch:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcLTX | ChangeNum$ 1 SVar:X:TriggerCount$CastSACMC DeckHas:Ability$Token & Ability$Counters Oracle:You may look at the top card of your library any time.\nYou may cast creature spells from the top of your library.\n[+1]: Create a 3/3 green Beast creature token. Put your choice of a vigilance counter, a reach counter, or a trample counter on it.\n[−2]: When you cast your next creature spell this turn, search your library for a creature card with lesser converted mana cost, put it onto the battlefield, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/v/vivien_of_the_arkbow.txt b/forge-gui/res/cardsfolder/v/vivien_of_the_arkbow.txt index 46a2b6f5903..5bf545b72ef 100644 --- a/forge-gui/res/cardsfolder/v/vivien_of_the_arkbow.txt +++ b/forge-gui/res/cardsfolder/v/vivien_of_the_arkbow.txt @@ -3,7 +3,7 @@ ManaCost:4 G G Types:Legendary Planeswalker Vivien A:AB$ PutCounter | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | CounterNum$ 2 | CounterType$ P1P1 | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Creature | TgtPrompt$ Select target creature | AIActivateLast$ True | SpellDescription$ Put two +1/+1 counters on up to one target creature. A:AB$ Pump | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature.YouCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you control | SubAbility$ TailDamage | StackDescription$ None | SpellDescription$ Target creature you control deals damage equal to its power to target creature you don't control. -SVar:TailDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | References$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget +SVar:TailDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature you don't control | NumDmg$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget SVar:X:ParentTargeted$CardPower A:AB$ PumpAll | Cost$ SubCounter<9/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidCards$ Creature.YouCtrl | NumAtt$ +4 | NumDef$ +4 | KW$ Trample | SpellDescription$ Creatures you control get +4/+4 and gain trample until end of turn. DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/v/viviens_arkbow.txt b/forge-gui/res/cardsfolder/v/viviens_arkbow.txt index ca1d5f0e249..55e7be412e1 100644 --- a/forge-gui/res/cardsfolder/v/viviens_arkbow.txt +++ b/forge-gui/res/cardsfolder/v/viviens_arkbow.txt @@ -1,6 +1,6 @@ Name:Vivien's Arkbow ManaCost:1 G Types:Legendary Artifact -A:AB$ Dig | Cost$ X T Discard<1/Card> | DigNum$ X | AILogic$ AtOppEndOfTurn | Optional$ True | Reveal$ False | ChangeNum$ 1 | ChangeValid$ Creature.cmcLEX | References$ X | DestinationZone$ Battlefield | DestinationZone2$ Library | LibraryPosition$ -1 | RestRandomOrder$ True | SpellDescription$ Look at the top X cards of your library. You may put a creature card with converted mana cost X or less from among them onto the battlefield. Put the rest on the bottom of your library in a random order. +A:AB$ Dig | Cost$ X T Discard<1/Card> | DigNum$ X | AILogic$ AtOppEndOfTurn | Optional$ True | Reveal$ False | ChangeNum$ 1 | ChangeValid$ Creature.cmcLEX | DestinationZone$ Battlefield | DestinationZone2$ Library | LibraryPosition$ -1 | RestRandomOrder$ True | SpellDescription$ Look at the top X cards of your library. You may put a creature card with converted mana cost X or less from among them onto the battlefield. Put the rest on the bottom of your library in a random order. SVar:X:Count$xPaid Oracle:{X}, {T}, Discard a card: Look at the top X cards of your library. You may put a creature card with converted mana cost X or less from among them onto the battlefield. Put the rest on the bottom of your library in a random order. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/v/viviens_invocation.txt b/forge-gui/res/cardsfolder/v/viviens_invocation.txt index 919ed8d13ff..a71dadb9e07 100644 --- a/forge-gui/res/cardsfolder/v/viviens_invocation.txt +++ b/forge-gui/res/cardsfolder/v/viviens_invocation.txt @@ -3,6 +3,6 @@ ManaCost:5 G G Types:Sorcery A:SP$ Dig | Cost$ 5 G G | DigNum$ 7 | ChangeNum$ 1 | ChangeValid$ Creature | Optional$ True | RestRandomOrder$ True | DestinationZone$ Battlefield | ForceRevealToController$ True | SpellDescription$ Look at the top seven cards of your library. You may put a creature card from among them onto the battlefield. Put the rest on the bottom of your library in a random order. When a creature is put onto the battlefield this way, it deals damage equal to its power to target creature an opponent controls. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature | ValidCause$ Card.Self | Execute$ DBDealDamage | Secondary$ True | TriggerDescription$ When a creature is put onto the battlefield this way, it deals damage equals to its power to target creature an opponent controls. -SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X | References$ X | DamageSource$ TriggeredCard +SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X | DamageSource$ TriggeredCard SVar:X:TriggeredCard$CardPower Oracle:Look at the top seven cards of your library. You may put a creature card from among them onto the battlefield. Put the rest on the bottom of your library in a random order. When a creature is put onto the battlefield this way, it deals damage equal to its power to target creature an opponent controls. diff --git a/forge-gui/res/cardsfolder/v/vizier_of_remedies.txt b/forge-gui/res/cardsfolder/v/vizier_of_remedies.txt index 47150c8ee12..cc82dc4390c 100644 --- a/forge-gui/res/cardsfolder/v/vizier_of_remedies.txt +++ b/forge-gui/res/cardsfolder/v/vizier_of_remedies.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Creature Human Cleric PT:2/1 R:Event$ AddCounter | ActiveZones$ Battlefield | ValidCard$ Creature.YouCtrl | ValidCounterType$ M1M1 | ReplaceWith$ AddOneLessCounters | Description$ If one or more -1/-1 counters would be put on a creature you control, that many -1/-1 counters minus one are put on it instead. -SVar:AddOneLessCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X | References$ X +SVar:AddOneLessCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X SVar:X:ReplaceCount$CounterNum/Minus.1 DeckHints:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/vizier_of_remedies.jpg diff --git a/forge-gui/res/cardsfolder/v/vizkopa_confessor.txt b/forge-gui/res/cardsfolder/v/vizkopa_confessor.txt index 098cf2df67c..d3ed19a740a 100644 --- a/forge-gui/res/cardsfolder/v/vizkopa_confessor.txt +++ b/forge-gui/res/cardsfolder/v/vizkopa_confessor.txt @@ -4,7 +4,7 @@ Types:Creature Human Cleric PT:1/3 K:Extort T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ PayLife | TriggerDescription$ When CARDNAME enters the battlefield, pay any amount of life. Target opponent reveals that many cards from their hand. You choose one of them and exile it. -SVar:PayLife:AB$ StoreSVar | Cost$ PayLife | References$ X | SVar$ LifePaidOnETB | Type$ Calculate | Expression$ X | SubAbility$ OppRevealX +SVar:PayLife:AB$ StoreSVar | Cost$ PayLife | SVar$ LifePaidOnETB | Type$ Calculate | Expression$ X | SubAbility$ OppRevealX SVar:OppRevealX:DB$ Reveal | ValidTgts$ Opponent | NumCards$ LifePaidOnETB | RememberRevealed$ True | SubAbility$ PickOne SVar:PickOne:DB$ ChooseCard | Defined$ You | Amount$ 1 | Mandatory$ True | ChoiceTitle$ Choose card to exile | Choices$ Card.IsRemembered | ChoiceZone$ Hand | SubAbility$ MoveChosen SVar:MoveChosen:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | Defined$ ChosenCard | SubAbility$ DBCleanup diff --git a/forge-gui/res/cardsfolder/v/vizkopa_guildmage.txt b/forge-gui/res/cardsfolder/v/vizkopa_guildmage.txt index ef76e104ac3..3aebd58aba8 100644 --- a/forge-gui/res/cardsfolder/v/vizkopa_guildmage.txt +++ b/forge-gui/res/cardsfolder/v/vizkopa_guildmage.txt @@ -3,9 +3,9 @@ ManaCost:W B Types:Creature Human Wizard PT:2/2 A:AB$ Pump | Cost$ 1 W B | ValidTgts$ Creature | KW$ Lifelink | SpellDescription$ Target creature gains lifelink until end of turn. -A:AB$ Effect | Cost$ 1 W B | Triggers$ VizkopaMageTrig | SVars$ VizkopaMageDrain,VizkopaMageX | References$ VizkopaMageTrig,VizkopaMageDrain,VizkopaMageX | SpellDescription$ Whenever you gain life this turn, each opponent loses that much life. +A:AB$ Effect | Cost$ 1 W B | Triggers$ VizkopaMageTrig | SVars$ VizkopaMageDrain,VizkopaMageX | SpellDescription$ Whenever you gain life this turn, each opponent loses that much life. SVar:VizkopaMageTrig:Mode$ LifeGained | ValidPlayer$ You | TriggerZones$ Command | Execute$ VizkopaMageDrain | TriggerDescription$ Whenever you gain life, each opponent loses that much life. -SVar:VizkopaMageDrain:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ VizkopaMageX | References$ VizkopaMageX +SVar:VizkopaMageDrain:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ VizkopaMageX SVar:VizkopaMageX:TriggerCount$LifeAmount SVar:Picture:http://www.wizards.com/global/images/magic/general/vizkopa_guildmage.jpg Oracle:{1}{W}{B}: Target creature gains lifelink until end of turn.\n{1}{W}{B}: Whenever you gain life this turn, each opponent loses that much life. diff --git a/forge-gui/res/cardsfolder/v/voice_of_many.txt b/forge-gui/res/cardsfolder/v/voice_of_many.txt index a3f2d3c63f9..333eae077fb 100644 --- a/forge-gui/res/cardsfolder/v/voice_of_many.txt +++ b/forge-gui/res/cardsfolder/v/voice_of_many.txt @@ -3,6 +3,6 @@ ManaCost:2 G G Types:Creature Elf Druid PT:3/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card for each opponent who controls fewer creatures than you. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X SVar:X:PlayerCountOpponents$HasPropertyhasFewerCreaturesInPlayThanYou Oracle:When Voice of Many enters the battlefield, draw a card for each opponent who controls fewer creatures than you. diff --git a/forge-gui/res/cardsfolder/v/voices_from_the_void.txt b/forge-gui/res/cardsfolder/v/voices_from_the_void.txt index ed076a5fee5..54910156705 100644 --- a/forge-gui/res/cardsfolder/v/voices_from_the_void.txt +++ b/forge-gui/res/cardsfolder/v/voices_from_the_void.txt @@ -1,7 +1,7 @@ Name:Voices from the Void ManaCost:4 B Types:Sorcery -A:SP$ Discard | Cost$ 4 B | ValidTgts$ Player | NumCards$ X | References$ X | Mode$ TgtChoose | SpellDescription$ Domain — Target player discards a card for each basic land type among lands you control. +A:SP$ Discard | Cost$ 4 B | ValidTgts$ Player | NumCards$ X | Mode$ TgtChoose | SpellDescription$ Domain — Target player discards a card for each basic land type among lands you control. SVar:X:Count$Domain AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/voices_from_the_void.jpg diff --git a/forge-gui/res/cardsfolder/v/volatile_chimera.txt b/forge-gui/res/cardsfolder/v/volatile_chimera.txt index c7b39098954..f8665f85b7c 100644 --- a/forge-gui/res/cardsfolder/v/volatile_chimera.txt +++ b/forge-gui/res/cardsfolder/v/volatile_chimera.txt @@ -4,8 +4,8 @@ Types:Creature Elemental Chimera PT:3/2 K:MayEffectFromOpeningDeck:DBReveal SVar:DBReveal:DB$ Reveal | RevealDefined$ Self | SubAbility$ DBChoose | SpellDescription$ Before you shuffle your deck to start the game, you may reveal this card from your deck and exile three or more creature cards you drafted that aren't in your deck. -SVar:DBChoose:DB$ ChooseCard | MinAmount$ 0 | Amount$ X | References$ X | Choices$ Creature.YouOwn | ChoiceTitle$ Exile with Volatile Chimera | ChoiceZone$ Sideboard | RememberChosen$ True | ConditionGameTypes$ Draft,QuestDraft | SubAbility$ DBExile -SVar:DBExile:DB$ ChangeZone | Origin$ Sideboard | Destination$ Exile | Defined$ Remembered | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE3 | SubAbility$ DBPump | References$ Y +SVar:DBChoose:DB$ ChooseCard | MinAmount$ 0 | Amount$ X | Choices$ Creature.YouOwn | ChoiceTitle$ Exile with Volatile Chimera | ChoiceZone$ Sideboard | RememberChosen$ True | ConditionGameTypes$ Draft,QuestDraft | SubAbility$ DBExile +SVar:DBExile:DB$ ChangeZone | Origin$ Sideboard | Destination$ Exile | Defined$ Remembered | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE3 | SubAbility$ DBPump SVar:DBPump:DB$ Pump | NoteCards$ Remembered | NoteCardsFor$ VolatileChimera | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True A:AB$ ChooseCard | Cost$ 1 R | ChoiceZone$ Exile | AtRandom$ True | Choices$ Card.YouOwn+NotedForVolatileChimera | SubAbility$ DBClone | SpellDescription$ Choose a card at random you exiled with cards named Volatile Chimera. Volatile Chimera becomes a copy of that card, except it has this ability. diff --git a/forge-gui/res/cardsfolder/v/volcanic_eruption.txt b/forge-gui/res/cardsfolder/v/volcanic_eruption.txt index df850dbd1a6..825eeca97cd 100644 --- a/forge-gui/res/cardsfolder/v/volcanic_eruption.txt +++ b/forge-gui/res/cardsfolder/v/volcanic_eruption.txt @@ -1,8 +1,8 @@ Name:Volcanic Eruption ManaCost:X U U U Types:Sorcery -A:SP$ Destroy | Cost$ X U U U | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Mountain | TgtPrompt$ Select target Mountain | RememberTargets$ True | SpellDescription$ Destroy X target Mountains. CARDNAME deals damage to each creature and each player equal to the number of Mountains put into a graveyard this way. | SubAbility$ DBDamage -SVar:DBDamage:DB$DamageAll | NumDmg$ Y | References$ Y | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SubAbility$ DBCleanup +A:SP$ Destroy | Cost$ X U U U | TargetMin$ X | TargetMax$ X | ValidTgts$ Mountain | TgtPrompt$ Select target Mountain | RememberTargets$ True | SpellDescription$ Destroy X target Mountains. CARDNAME deals damage to each creature and each player equal to the number of Mountains put into a graveyard this way. | SubAbility$ DBDamage +SVar:DBDamage:DB$DamageAll | NumDmg$ Y | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | SubAbility$ DBCleanup SVar:X:Count$xPaid SVar:Y:Count$ValidGraveyard Mountain.IsRemembered SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/v/volcanic_geyser.txt b/forge-gui/res/cardsfolder/v/volcanic_geyser.txt index 178696cd4eb..b118aae9c3b 100644 --- a/forge-gui/res/cardsfolder/v/volcanic_geyser.txt +++ b/forge-gui/res/cardsfolder/v/volcanic_geyser.txt @@ -1,7 +1,7 @@ Name:Volcanic Geyser ManaCost:X R R Types:Instant -A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to any target. +A:SP$ DealDamage | Cost$ X R R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to any target. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/volcanic_geyser.jpg Oracle:Volcanic Geyser deals X damage to any target. diff --git a/forge-gui/res/cardsfolder/v/volcanic_salvo.txt b/forge-gui/res/cardsfolder/v/volcanic_salvo.txt index 586b4a544f8..bd52709cae6 100644 --- a/forge-gui/res/cardsfolder/v/volcanic_salvo.txt +++ b/forge-gui/res/cardsfolder/v/volcanic_salvo.txt @@ -1,7 +1,7 @@ Name:Volcanic Salvo ManaCost:10 R R Types:Sorcery -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | References$ X | EffectZone$ All | Description$ CARDNAME costs {X} less to cast, where X is the total power of creatures you control. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ CARDNAME costs {X} less to cast, where X is the total power of creatures you control. SVar:X:Count$SumPower_Creature.YouCtrl A:SP$ DealDamage | Cost$ 10 R R | ValidTgts$ Creature,Planeswalker | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Select target creature and/or planeswalkers | NumDmg$ 6 | SpellDescription$ CARDNAME deals 6 damage to each of up to two target creatures and/or planeswalkers. Oracle:This spell costs {X} less to cast, where X is the total power of creatures you control.\nVolcanic Salvo deals 6 damage to each of up to two target creatures and/or planeswalkers. diff --git a/forge-gui/res/cardsfolder/v/volcanic_torrent.txt b/forge-gui/res/cardsfolder/v/volcanic_torrent.txt index 56dac390dc0..81c2d9af4bb 100644 --- a/forge-gui/res/cardsfolder/v/volcanic_torrent.txt +++ b/forge-gui/res/cardsfolder/v/volcanic_torrent.txt @@ -2,6 +2,6 @@ Name:Volcanic Torrent ManaCost:4 R Types:Sorcery K:Cascade -A:SP$ DamageAll | Cost$ 4 R | ValidCards$ Creature.OppCtrl,Planeswalker.OppCtrl | NumDmg$ X | References$ X | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals X damage to each creature and planeswalker your opponents control, where X is the number of spells you've cast this turn. +A:SP$ DamageAll | Cost$ 4 R | ValidCards$ Creature.OppCtrl,Planeswalker.OppCtrl | NumDmg$ X | StackDescription$ SpellDescription | SpellDescription$ CARDNAME deals X damage to each creature and planeswalker your opponents control, where X is the number of spells you've cast this turn. SVar:X:Count$ThisTurnCast_Card.YouCtrl Oracle:Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.)\nVolcanic Torrent deals X damage to each creature and planeswalker your opponents control, where X is the number of spells you've cast this turn. diff --git a/forge-gui/res/cardsfolder/v/volcanic_vision.txt b/forge-gui/res/cardsfolder/v/volcanic_vision.txt index 64b48b54a1b..9feaca76b55 100644 --- a/forge-gui/res/cardsfolder/v/volcanic_vision.txt +++ b/forge-gui/res/cardsfolder/v/volcanic_vision.txt @@ -2,7 +2,7 @@ Name:Volcanic Vision ManaCost:5 R R Types:Sorcery A:SP$ ChangeZone | Cost$ 5 R R | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Select target instant or sorcery card in your graveyard | ValidTgts$ Instant.YouCtrl,Sorcery.YouCtrl | RememberChanged$ True | SubAbility$ DBDamage | SpellDescription$ Return target instant or sorcery card from your graveyard to your hand. CARDNAME deals damage equal to that card's converted mana cost to each creature your opponents control. Exile CARDNAME. -SVar:DBDamage:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature.OppCtrl | ValidDescription$ each creature your opponents control. | References$ X | SubAbility$ DBExile +SVar:DBDamage:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature.OppCtrl | ValidDescription$ each creature your opponents control. | SubAbility$ DBExile SVar:DBExile:DB$ ChangeZone | Origin$ Stack | Destination$ Exile | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost diff --git a/forge-gui/res/cardsfolder/v/volcano_hellion.txt b/forge-gui/res/cardsfolder/v/volcano_hellion.txt index 2057b95413a..132a806b2e0 100644 --- a/forge-gui/res/cardsfolder/v/volcano_hellion.txt +++ b/forge-gui/res/cardsfolder/v/volcano_hellion.txt @@ -6,8 +6,8 @@ Text:CARDNAME has echo X, where X is your life total. K:Echo:X T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDmg | TriggerDescription$ When CARDNAME enters the battlefield, it deals an amount of damage of your choice to you and target creature. The damage can't be prevented. SVar:TrigDmg:DB$ ChooseNumber | ListTitle$ an amount of damage to you and target creature | ChooseAnyNumber$ True | SubAbility$ DBDmg | AILogic$ Min -SVar:DBDmg:DB$ DealDamage | ValidTgts$ Creature | NumDmg$ Y | References$ Y | NoPrevention$ True | SubAbility$ DmgYou -SVar:DmgYou:DB$ DealDamage | Defined$ You | NumDmg$ Y | References$ Y | NoPrevention$ True +SVar:DBDmg:DB$ DealDamage | ValidTgts$ Creature | NumDmg$ Y | NoPrevention$ True | SubAbility$ DmgYou +SVar:DmgYou:DB$ DealDamage | Defined$ You | NumDmg$ Y | NoPrevention$ True SVar:X:Count$YourLifeTotal SVar:Y:Count$ChosenNumber AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/v/vonas_hunger.txt b/forge-gui/res/cardsfolder/v/vonas_hunger.txt index 44bb9be41ca..c27a184c1dd 100644 --- a/forge-gui/res/cardsfolder/v/vonas_hunger.txt +++ b/forge-gui/res/cardsfolder/v/vonas_hunger.txt @@ -2,9 +2,9 @@ Name:Vona's Hunger ManaCost:2 B Types:Instant K:Ascend -A:SP$ Sacrifice | Cost$ 2 B | SacValid$ Creature | Defined$ Player.Opponent | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBRepeatEach | SpellDescription$ Each opponent sacrifices a creature. If you have the city's blessing, instead each opponent sacrifices half the creatures they control, rounded up. -SVar:DBRepeatEach:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | References$ X | RepeatSubAbility$ DBSacrifice -SVar:DBSacrifice:DB$ Sacrifice | Amount$ Y | References$ Y | SacValid$ Creature | Defined$ Remembered +A:SP$ Sacrifice | Cost$ 2 B | SacValid$ Creature | Defined$ Player.Opponent | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBRepeatEach | SpellDescription$ Each opponent sacrifices a creature. If you have the city's blessing, instead each opponent sacrifices half the creatures they control, rounded up. +SVar:DBRepeatEach:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ1 | RepeatSubAbility$ DBSacrifice +SVar:DBSacrifice:DB$ Sacrifice | Amount$ Y | SacValid$ Creature | Defined$ Remembered SVar:X:Count$Blessing.1.0 SVar:Y:Count$Valid Creature.RememberedPlayerCtrl/HalfUp AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/v/voodoo_doll.txt b/forge-gui/res/cardsfolder/v/voodoo_doll.txt index ad20a24d3ce..96952e927fa 100644 --- a/forge-gui/res/cardsfolder/v/voodoo_doll.txt +++ b/forge-gui/res/cardsfolder/v/voodoo_doll.txt @@ -3,10 +3,10 @@ ManaCost:6 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, put a pin counter on CARDNAME. T:Mode$ Phase | Phase$ End of Turn | IsPresent$ Card.Self+untapped | PresentCompare$ EQ1 | ValidPlayer$ You | Execute$ TrigDestroy | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your end step, if CARDNAME is untapped, destroy CARDNAME and it deals damage to you equal to the number of pin counters on it. -A:AB$ DealDamage | Cost$ X X T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the number of pin counters on it to any target. X is the number of pin counters on CARDNAME. +A:AB$ DealDamage | Cost$ X X T | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SpellDescription$ CARDNAME deals damage equal to the number of pin counters on it to any target. X is the number of pin counters on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | CounterType$ PIN | CounterNum$ 1 | Defined$ Self SVar:TrigDestroy:DB$ Destroy | Defined$ Self | SubAbility$ DBDealDamageYou -SVar:DBDealDamageYou:DB$DealDamage | Defined$ You | NumDmg$ X | References$ X +SVar:DBDealDamageYou:DB$DealDamage | Defined$ You | NumDmg$ X SVar:X:Count$CardCounters.PIN AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/voodoo_doll.jpg diff --git a/forge-gui/res/cardsfolder/v/voracious_dragon.txt b/forge-gui/res/cardsfolder/v/voracious_dragon.txt index 55e713b413b..46c58be3e7e 100644 --- a/forge-gui/res/cardsfolder/v/voracious_dragon.txt +++ b/forge-gui/res/cardsfolder/v/voracious_dragon.txt @@ -5,7 +5,7 @@ PT:4/4 K:Flying K:Devour:1 T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals damage to any target equal to twice the number of Goblins it devoured. -SVar:TrigDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X +SVar:TrigDamage:DB$DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X SVar:X:Count$Devoured Card.Goblin/Twice SVar:Picture:http://www.wizards.com/global/images/magic/general/voracious_dragon.jpg Oracle:Flying\nDevour 1 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with that many +1/+1 counters on it.)\nWhen Voracious Dragon enters the battlefield, it deals damage to any target equal to twice the number of Goblins it devoured. diff --git a/forge-gui/res/cardsfolder/v/vorinclex_monstrous_raider.txt b/forge-gui/res/cardsfolder/v/vorinclex_monstrous_raider.txt index 2bdb56cc448..9aea8c6ab73 100644 --- a/forge-gui/res/cardsfolder/v/vorinclex_monstrous_raider.txt +++ b/forge-gui/res/cardsfolder/v/vorinclex_monstrous_raider.txt @@ -5,10 +5,10 @@ PT:6/6 K:Trample K:Haste R:Event$ AddCounter | ActiveZones$ Battlefield | ValidSource$ You | ValidObject$ Permanent.inZoneBattlefield,Player | ReplaceWith$ DoubleCounters | Description$ If you would put one or more counters on a permanent or player, put twice that many of each of those kinds of counters on that permanent or player instead. -SVar:DoubleCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X | References$ X +SVar:DoubleCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X SVar:X:ReplaceCount$CounterNum/Twice R:Event$ AddCounter | ActiveZones$ Battlefield | ValidSource$ Opponent | ValidObject$ Permanent.inZoneBattlefield,Player | ReplaceWith$ HalfCounters | Description$ If an opponent would put one or more counters on a permanent or player, they put half that many of each of those kinds of counters on that permanent or player instead, rounded down. -SVar:HalfCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ Y | References$ Y +SVar:HalfCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ Y SVar:Y:ReplaceCount$CounterNum/HalfDown Oracle:Trample, haste\nIf you would put one or more counters on a permanent or player, put twice that many of each of those kinds of counters on that permanent or player instead.\nIf an opponent would put one or more counters on a permanent or player, they put half that many of each of those kinds of counters on that permanent or player instead, rounded down. diff --git a/forge-gui/res/cardsfolder/v/voyager_drake.txt b/forge-gui/res/cardsfolder/v/voyager_drake.txt index c64ea384e38..6facdeb1774 100644 --- a/forge-gui/res/cardsfolder/v/voyager_drake.txt +++ b/forge-gui/res/cardsfolder/v/voyager_drake.txt @@ -5,6 +5,6 @@ PT:3/3 K:Flying K:Multikicker:U T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigFlying | TriggerDescription$ When CARDNAME enters the battlefield, up to X target creatures gain flying until end of turn, where X is the number of times CARDNAME was kicked. -SVar:TrigFlying:DB$ Pump | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ X | References$ X | KW$ Flying | TgtPrompt$ Select target creature +SVar:TrigFlying:DB$ Pump | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ X | KW$ Flying | TgtPrompt$ Select target creature SVar:X:Count$TimesKicked Oracle:Multikicker {U} (You may pay an additional {U} any number of times as you cast this spell.)\nFlying\nWhen Voyager Drake enters the battlefield, up to X target creatures gain flying until end of turn, where X is the number of times Voyager Drake was kicked. diff --git a/forge-gui/res/cardsfolder/v/vraska_golgari_queen.txt b/forge-gui/res/cardsfolder/v/vraska_golgari_queen.txt index baa4ffeee33..8c749b3991a 100644 --- a/forge-gui/res/cardsfolder/v/vraska_golgari_queen.txt +++ b/forge-gui/res/cardsfolder/v/vraska_golgari_queen.txt @@ -7,7 +7,7 @@ SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 1 | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | NumCards$ 1 | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True A:AB$ Destroy | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Permanent.nonLand+cmcLE3 | TgtPrompt$ Select target nonland permanent with converted mana cost 3 or less | SpellDescription$ Destroy target nonland permanent with converted mana cost 3 or less. -A:AB$ Effect | Cost$ SubCounter<9/LOYALTY> | Planeswalker$ True | Ultimate$ True | Stackable$ False | Name$ Emblem - Vraska, Golgari Queen | Image$ emblem_vraska_golgari_queen | Triggers$ TrigDamage | SVars$ LoseGame | References$ TrigDamage,LoseGame | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "Whenever a creature you control deals combat damage to a player, that player loses the game." +A:AB$ Effect | Cost$ SubCounter<9/LOYALTY> | Planeswalker$ True | Ultimate$ True | Stackable$ False | Name$ Emblem - Vraska, Golgari Queen | Image$ emblem_vraska_golgari_queen | Triggers$ TrigDamage | SVars$ LoseGame | Duration$ Permanent | AILogic$ Always | SpellDescription$ You get an emblem with "Whenever a creature you control deals combat damage to a player, that player loses the game." SVar:TrigDamage:Mode$ DamageDone | ValidSource$ Creature.YouCtrl | ValidTarget$ Player | CombatDamage$ True | Execute$ LoseGame | TriggerZones$ Command | TriggerDescription$ Whenever a creature you control deals combat damage to a player, that player loses the game. SVar:LoseGame:DB$ LosesGame | Defined$ TriggeredTarget Oracle:[+2]: You may sacrifice another permanent. If you do, you gain 1 life and draw a card.\n[−3]: Destroy target nonland permanent with converted mana cost 3 or less.\n[−9]: You get an emblem with "Whenever a creature you control deals combat damage to a player, that player loses the game." diff --git a/forge-gui/res/cardsfolder/v/vraskas_stoneglare.txt b/forge-gui/res/cardsfolder/v/vraskas_stoneglare.txt index a537b6b2d0f..e8ca389896b 100644 --- a/forge-gui/res/cardsfolder/v/vraskas_stoneglare.txt +++ b/forge-gui/res/cardsfolder/v/vraskas_stoneglare.txt @@ -2,7 +2,7 @@ Name:Vraska's Stoneglare ManaCost:4 B G Types:Sorcery A:SP$ Destroy | Cost$ 4 B G | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBGainLife | SpellDescription$ Destroy target creature. You gain life equal to its toughness. You may search your library and/or graveyard from a card named Vraska, Regal Gorgon, reveal it, and put it into your hand. If you search your library this way, shuffle it. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup | References$ X | SubAbility$ DBSearch +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup | SubAbility$ DBSearch SVar:DBSearch:DB$ ChangeZone | Origin$ Library | OriginChoice$ True | OriginAlternative$ Graveyard | AlternativeMessage$ Would you like to search your library with this ability? If you do, your library will be shuffled. | Destination$ Hand | ChangeType$ Card.namedVraska; Regal Gorgon | ChangeNum$ 1 | Optional$ True SVar:X:TargetedLKI$CardToughness DeckNeeds:Name$Vraska, Regal Gorgon diff --git a/forge-gui/res/cardsfolder/w/waiting_in_the_weeds.txt b/forge-gui/res/cardsfolder/w/waiting_in_the_weeds.txt index a49d3585313..e600575596a 100644 --- a/forge-gui/res/cardsfolder/w/waiting_in_the_weeds.txt +++ b/forge-gui/res/cardsfolder/w/waiting_in_the_weeds.txt @@ -2,7 +2,7 @@ Name:Waiting in the Weeds ManaCost:1 G G Types:Sorcery A:SP$ RepeatEach | Cost$ 1 G G | RepeatSubAbility$ DBToken | RepeatPlayers$ Player | ChangeZoneTable$ True | SpellDescription$ Each player creates a 1/1 green Cat creature token for each untapped Forest they control. -SVar:DBToken:DB$ Token | TokenAmount$ CountForest | References$ CountForest | TokenScript$ g_1_1_cat | TokenOwner$ Player.IsRemembered | LegacyImage$ g 1 1 cat mir +SVar:DBToken:DB$ Token | TokenAmount$ CountForest | TokenScript$ g_1_1_cat | TokenOwner$ Player.IsRemembered | LegacyImage$ g 1 1 cat mir SVar:CountForest:Count$Valid Forest.untapped+RememberedPlayerCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/waiting_in_the_weeds.jpg diff --git a/forge-gui/res/cardsfolder/w/wake_the_dead.txt b/forge-gui/res/cardsfolder/w/wake_the_dead.txt index 4e9b8316fa7..c294cee7150 100644 --- a/forge-gui/res/cardsfolder/w/wake_the_dead.txt +++ b/forge-gui/res/cardsfolder/w/wake_the_dead.txt @@ -2,7 +2,7 @@ Name:Wake the Dead ManaCost:X B B Types:Instant Text:Cast this spell only during combat on an opponent's turn. -A:SP$ ChangeZone | Cost$ X B B | TargetMin$ X | TargetMax$ X | OpponentTurn$ True | ActivationPhases$ BeginCombat->EndCombat | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouOwn | TgtPrompt$ Select X target creatures in your graveyard | GainControl$ True | SubAbility$ DBPump | References$ X | StackDescription$ Return X target creature cards [{c:Targeted}] from your graveyard to the battlefield. Sacrifice those creatures at the beginning of the next end step. | SpellDescription$ Return X target creature cards from your graveyard to the battlefield. Sacrifice those creatures at the beginning of the next end step. +A:SP$ ChangeZone | Cost$ X B B | TargetMin$ X | TargetMax$ X | OpponentTurn$ True | ActivationPhases$ BeginCombat->EndCombat | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouOwn | TgtPrompt$ Select X target creatures in your graveyard | GainControl$ True | SubAbility$ DBPump | StackDescription$ Return X target creature cards [{c:Targeted}] from your graveyard to the battlefield. Sacrifice those creatures at the beginning of the next end step. | SpellDescription$ Return X target creature cards from your graveyard to the battlefield. Sacrifice those creatures at the beginning of the next end step. SVar:DBPump:DB$ Pump | Defined$ Targeted | AtEOT$ Sacrifice SVar:X:Count$xPaid AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/w/waker_of_the_wilds.txt b/forge-gui/res/cardsfolder/w/waker_of_the_wilds.txt index a8426da1c92..0e7b5375207 100644 --- a/forge-gui/res/cardsfolder/w/waker_of_the_wilds.txt +++ b/forge-gui/res/cardsfolder/w/waker_of_the_wilds.txt @@ -2,7 +2,7 @@ Name:Waker of the Wilds ManaCost:2 G G Types:Creature Merfolk Shaman PT:3/3 -A:AB$ PutCounter | Cost$ X G G | ValidTgts$ Land.YouCtrl | TgtPrompt$ Select target land you control | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBAnimate | SpellDescription$ Put X +1/+1 counters on target land you control. That land becomes a 0/0 Elemental creature with haste. It's still a land. +A:AB$ PutCounter | Cost$ X G G | ValidTgts$ Land.YouCtrl | TgtPrompt$ Select target land you control | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBAnimate | SpellDescription$ Put X +1/+1 counters on target land you control. That land becomes a 0/0 Elemental creature with haste. It's still a land. SVar:DBAnimate:DB$ Animate | Defined$ ParentTarget | Power$ 0 | Toughness$ 0 | Types$ Creature,Elemental | Keywords$ Haste | Permanent$ True SVar:X:Count$xPaid SVar:Picture:http://media.wizards.com/2017/xln/en_UBMBPNXl7u.png diff --git a/forge-gui/res/cardsfolder/w/waking_the_trolls.txt b/forge-gui/res/cardsfolder/w/waking_the_trolls.txt index 83714753cfb..25ebec1388d 100644 --- a/forge-gui/res/cardsfolder/w/waking_the_trolls.txt +++ b/forge-gui/res/cardsfolder/w/waking_the_trolls.txt @@ -5,7 +5,7 @@ K:Saga:3:DBDestroy,DBChangeZone,DBPump SVar:DBDestroy:DB$ Destroy | ValidTgts$ Land | TgtPrompt$ Choose target land. | SpellDescription$ Destroy target land. SVar:DBChangeZone:DB$ ChangeZone | ValidTgts$ Land | TgtPrompt$ Choose target land card. | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | SpellDescription$ Put target land card from a graveyard onto the battlefield under your control. SVar:DBPump:DB$ Pump | ValidTgts$ Player.Opponent | RememberTargets$ True | TgtPrompt$ Choose target player. | SubAbility$ DBToken | SpellDescription$ Choose target player. If they control fewer lands than you, create a number of 4/4 green Troll Warrior creature tokens with trample equal to the difference. -SVar:DBToken:DB$ Token | TokenAmount$ X | References$ X,Y | TokenScript$ g_4_4_troll_warrior_trample | TokenOwner$ You | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ X | TokenScript$ g_4_4_troll_warrior_trample | TokenOwner$ You | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$Valid Land.YouCtrl/Minus.Y SVar:Y:Count$Valid Land.RememberedPlayerCtrl diff --git a/forge-gui/res/cardsfolder/w/walker_of_the_wastes.txt b/forge-gui/res/cardsfolder/w/walker_of_the_wastes.txt index e9a6f9bf7b7..c389e2f639b 100644 --- a/forge-gui/res/cardsfolder/w/walker_of_the_wastes.txt +++ b/forge-gui/res/cardsfolder/w/walker_of_the_wastes.txt @@ -3,7 +3,7 @@ ManaCost:4 C Types:Creature Eldrazi PT:4/4 K:Trample -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | References$ X | Description$ CARDNAME gets +1/+1 for each land you control named Wastes. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ X | AddToughness$ X | Description$ CARDNAME gets +1/+1 for each land you control named Wastes. SVar:X:Count$Valid Land.YouCtrl+namedWastes DeckNeeds:Ability$Mana.Colorless DeckHints:Name$Wastes diff --git a/forge-gui/res/cardsfolder/w/walking_archive.txt b/forge-gui/res/cardsfolder/w/walking_archive.txt index 60450f0364a..7dacc49138e 100644 --- a/forge-gui/res/cardsfolder/w/walking_archive.txt +++ b/forge-gui/res/cardsfolder/w/walking_archive.txt @@ -6,7 +6,7 @@ K:etbCounter:P1P1:1 K:Defender T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ At the beginning of each player's upkeep, that player draws a card for each +1/+1 counter on CARDNAME. A:AB$ PutCounter | Cost$ 2 W U | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on CARDNAME. -SVar:TrigDraw:DB$ Draw | NumCards$ X | Defined$ TriggeredPlayer | References$ X +SVar:TrigDraw:DB$ Draw | NumCards$ X | Defined$ TriggeredPlayer SVar:X:Count$CardCounters.P1P1 AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/walking_archive.jpg diff --git a/forge-gui/res/cardsfolder/w/wall_of_essence.txt b/forge-gui/res/cardsfolder/w/wall_of_essence.txt index 34341a4e90c..962db2e6210 100644 --- a/forge-gui/res/cardsfolder/w/wall_of_essence.txt +++ b/forge-gui/res/cardsfolder/w/wall_of_essence.txt @@ -4,7 +4,7 @@ Types:Creature Wall PT:0/4 K:Defender T:Mode$ DamageDoneOnce | CombatDamage$ True | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigGain | TriggerDescription$ Whenever CARDNAME is dealt combat damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/wall_of_essence.jpg diff --git a/forge-gui/res/cardsfolder/w/wall_of_hope.txt b/forge-gui/res/cardsfolder/w/wall_of_hope.txt index d859d31f91d..91015ec4cd2 100644 --- a/forge-gui/res/cardsfolder/w/wall_of_hope.txt +++ b/forge-gui/res/cardsfolder/w/wall_of_hope.txt @@ -4,7 +4,7 @@ Types:Creature Wall PT:0/3 K:Defender T:Mode$ DamageDoneOnce | DamageSource$ Any | ValidTarget$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever CARDNAME is dealt damage, you gain that much life. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/wall_of_hope.jpg diff --git a/forge-gui/res/cardsfolder/w/wall_of_limbs.txt b/forge-gui/res/cardsfolder/w/wall_of_limbs.txt index cc998a36401..3aabf3520e3 100644 --- a/forge-gui/res/cardsfolder/w/wall_of_limbs.txt +++ b/forge-gui/res/cardsfolder/w/wall_of_limbs.txt @@ -5,7 +5,7 @@ PT:0/3 K:Defender T:Mode$ LifeGained | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever you gain life, put a +1/+1 counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 -A:AB$ LoseLife | Cost$ 5 B B Sac<1/CARDNAME> | LifeAmount$ X | References$ X | ValidTgts$ Player | TgtPrompt$ Select a player | SpellDescription$ Target player loses X life, where X is CARDNAME's power. +A:AB$ LoseLife | Cost$ 5 B B Sac<1/CARDNAME> | LifeAmount$ X | ValidTgts$ Player | TgtPrompt$ Select a player | SpellDescription$ Target player loses X life, where X is CARDNAME's power. SVar:X:Sacrificed$CardPower AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/w/wall_of_reverence.txt b/forge-gui/res/cardsfolder/w/wall_of_reverence.txt index 243f9c4d06d..cd527bb7da6 100644 --- a/forge-gui/res/cardsfolder/w/wall_of_reverence.txt +++ b/forge-gui/res/cardsfolder/w/wall_of_reverence.txt @@ -6,7 +6,7 @@ K:Defender K:Flying T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | OptionalDecider$ You | TriggerDescription$ At the beginning of your end step, you may gain life equal to the power of target creature you control. SVar:TrigDig:DB$ Pump | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | AILogic$ HighestPower | SubAbility$ DBGainLife -SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:Targeted$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/wall_of_reverence.jpg Oracle:Defender, flying\nAt the beginning of your end step, you may gain life equal to the power of target creature you control. diff --git a/forge-gui/res/cardsfolder/w/wall_of_souls.txt b/forge-gui/res/cardsfolder/w/wall_of_souls.txt index 54c86cdf527..d3f0ce3202b 100644 --- a/forge-gui/res/cardsfolder/w/wall_of_souls.txt +++ b/forge-gui/res/cardsfolder/w/wall_of_souls.txt @@ -4,7 +4,7 @@ Types:Creature Wall PT:0/4 K:Defender T:Mode$ DamageDoneOnce | CombatDamage$ True | ValidTarget$ Card.Self | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME is dealt combat damage, it deals that much damage to target opponent or planeswalker. -SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select target opponent or planeswalker | NumDmg$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/wall_of_souls.jpg diff --git a/forge-gui/res/cardsfolder/w/wall_of_tombstones.txt b/forge-gui/res/cardsfolder/w/wall_of_tombstones.txt index 47c53e5ffe1..764d51e26a8 100644 --- a/forge-gui/res/cardsfolder/w/wall_of_tombstones.txt +++ b/forge-gui/res/cardsfolder/w/wall_of_tombstones.txt @@ -4,7 +4,7 @@ Types:Creature Wall PT:0/1 K:Defender T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigTough | TriggerDescription$ At the beginning of your upkeep, change CARDNAME's base toughness to 1 plus the number of creature cards in your graveyard. (This effect lasts indefinitely.) -SVar:TrigTough:DB$Animate | Toughness$ X | Permanent$ True | References$ X +SVar:TrigTough:DB$Animate | Toughness$ X | Permanent$ True SVar:X:Count$TypeInYourYard.Creature/Plus.1 SVar:Picture:http://www.wizards.com/global/images/magic/general/wall_of_tombstones.jpg Oracle:Defender (This creature can't attack.)\nAt the beginning of your upkeep, change Wall of Tombstones's base toughness to 1 plus the number of creature cards in your graveyard. (This effect lasts indefinitely.) diff --git a/forge-gui/res/cardsfolder/w/wand_of_ith.txt b/forge-gui/res/cardsfolder/w/wand_of_ith.txt index 0dfdffe6ee2..a7d76e9b255 100644 --- a/forge-gui/res/cardsfolder/w/wand_of_ith.txt +++ b/forge-gui/res/cardsfolder/w/wand_of_ith.txt @@ -3,7 +3,7 @@ ManaCost:4 Types:Artifact A:AB$ Reveal | Cost$ 3 T | ValidTgts$ Player | TgtPrompt$ Select target player | Random$ True | IsCursed$ True | PlayerTurn$ True | RememberRevealed$ True | SubAbility$ DBDiscard1 | SpellDescription$ Target player reveals a card at random from their hand. If it's a land card, that player discards it unless they pay 1 life. If it isn't a land card, the player discards it unless they pay life equal to its converted mana cost. Activate this ability only during your turn. SVar:DBDiscard1:DB$ Discard | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ1 | Mode$ Defined | Defined$ ParentTarget | DefinedCards$ Remembered | UnlessCost$ PayLife<1> | UnlessPayer$ RememberedController | SubAbility$ DBDiscard2 | StackDescription$ None -SVar:DBDiscard2:DB$ Discard | ConditionDefined$ Remembered | ConditionPresent$ Card.nonLand | ConditionCompare$ EQ1 | Mode$ Defined | Defined$ ParentTarget | DefinedCards$ Remembered | UnlessCost$ PayLife | UnlessPayer$ RememberedController | SubAbility$ DBCleanup | References$ X +SVar:DBDiscard2:DB$ Discard | ConditionDefined$ Remembered | ConditionPresent$ Card.nonLand | ConditionCompare$ EQ1 | Mode$ Defined | Defined$ ParentTarget | DefinedCards$ Remembered | UnlessCost$ PayLife | UnlessPayer$ RememberedController | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/wand_of_ith.jpg diff --git a/forge-gui/res/cardsfolder/w/wandering_goblins.txt b/forge-gui/res/cardsfolder/w/wandering_goblins.txt index 94cafb039d6..8468f013268 100644 --- a/forge-gui/res/cardsfolder/w/wandering_goblins.txt +++ b/forge-gui/res/cardsfolder/w/wandering_goblins.txt @@ -2,7 +2,7 @@ Name:Wandering Goblins ManaCost:2 R Types:Creature Goblin Warrior PT:0/3 -A:AB$ Pump | Cost$ 3 | Defined$ Self | NumAtt$ +X | References$ X | PrecostDesc$ Domain — | SpellDescription$ Wandering Goblins gets +1/+0 until end of turn for each basic land type among lands you control. +A:AB$ Pump | Cost$ 3 | Defined$ Self | NumAtt$ +X | PrecostDesc$ Domain — | SpellDescription$ Wandering Goblins gets +1/+0 until end of turn for each basic land type among lands you control. SVar:X:Count$Domain SVar:BuffedBy:Plains,Island,Swamp,Mountain,Forest AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/w/wandering_stream.txt b/forge-gui/res/cardsfolder/w/wandering_stream.txt index ce9e9dd01c6..573079e4376 100644 --- a/forge-gui/res/cardsfolder/w/wandering_stream.txt +++ b/forge-gui/res/cardsfolder/w/wandering_stream.txt @@ -1,7 +1,7 @@ Name:Wandering Stream ManaCost:2 G Types:Sorcery -A:SP$ GainLife | Cost$ 2 G | LifeAmount$ X | References$ X | SpellDescription$ Domain — You gain 2 life for each basic land type among lands you control. +A:SP$ GainLife | Cost$ 2 G | LifeAmount$ X | SpellDescription$ Domain — You gain 2 life for each basic land type among lands you control. SVar:X:Count$Domain/Times.2 AI:RemoveDeck:Random SVar:Picture:http://resources.wizards.com/magic/cards/in/en-us/card23119.jpg diff --git a/forge-gui/res/cardsfolder/w/war_cadence.txt b/forge-gui/res/cardsfolder/w/war_cadence.txt index 957676ed01a..09fad5eba54 100644 --- a/forge-gui/res/cardsfolder/w/war_cadence.txt +++ b/forge-gui/res/cardsfolder/w/war_cadence.txt @@ -3,7 +3,7 @@ ManaCost:2 R Types:Enchantment A:AB$ StoreSVar | Cost$ X R | SVar$ PaidNum | Type$ Count | Expression$ xPaid | SubAbility$ CadenceEffect | AILogic$ RestrictBlocking | SpellDescription$ This turn, creatures can't block unless their controller pays {X} for each blocking creature they control. SVar:CadenceEffect:DB$ Effect | StaticAbilities$ CadenceStaticAb | SVars$ PaidNum | Stackable$ False | RememberObjects$ Valid Creature.blocking -SVar:CadenceStaticAb:Mode$ CantBlockUnless | ValidCard$ Card.IsNotRemembered | Cost$ PaidNum | References$ PaidNum | EffectZone$ Command | Description$ This turn, creatures can't block unless their controller pays {X} for each blocking creature they control. +SVar:CadenceStaticAb:Mode$ CantBlockUnless | ValidCard$ Card.IsNotRemembered | Cost$ PaidNum | EffectZone$ Command | Description$ This turn, creatures can't block unless their controller pays {X} for each blocking creature they control. # According to the 10/4/2004 ruling: The ability only applies to blocks declared after it resolves. It will not add costs to any blockers already announced. SVar:X:Count$xPaid SVar:PaidNum:Number$0 diff --git a/forge-gui/res/cardsfolder/w/war_dance.txt b/forge-gui/res/cardsfolder/w/war_dance.txt index 96bc532e447..822c42c787d 100644 --- a/forge-gui/res/cardsfolder/w/war_dance.txt +++ b/forge-gui/res/cardsfolder/w/war_dance.txt @@ -1,7 +1,7 @@ Name:War Dance ManaCost:G Types:Enchantment -A:AB$ Pump | Cost$ Sac<1/CARDNAME> | NumAtt$ +X | NumDef$ +X | References$ X | ValidTgts$ Creature | TgtPrompt$ Select target creature. | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of verse counters on CARDNAME. +A:AB$ Pump | Cost$ Sac<1/CARDNAME> | NumAtt$ +X | NumDef$ +X | ValidTgts$ Creature | TgtPrompt$ Select target creature. | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of verse counters on CARDNAME. T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, you may put a verse counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ VERSE | CounterNum$ 1 SVar:X:Count$CardCounters.VERSE diff --git a/forge-gui/res/cardsfolder/w/war_elemental.txt b/forge-gui/res/cardsfolder/w/war_elemental.txt index 8f798c83c45..e90249882a2 100644 --- a/forge-gui/res/cardsfolder/w/war_elemental.txt +++ b/forge-gui/res/cardsfolder/w/war_elemental.txt @@ -3,10 +3,10 @@ ManaCost:R R R Types:Creature Elemental PT:1/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigSac | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless an opponent was dealt damage this turn. -SVar:TrigSac:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ WarElementalX | ConditionSVarCompare$ EQ0 | References$ WarElementalX +SVar:TrigSac:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ WarElementalX | ConditionSVarCompare$ EQ0 SVar:WarElementalX:Count$TotalOppDamageThisTurn T:Mode$ DamageDoneOnce | ValidSource$ Card | ValidTarget$ Opponent | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever an opponent is dealt damage, put that many +1/+1 counters on CARDNAME. -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ WarElementalY | References$ WarElementalY +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ WarElementalY SVar:WarElementalY:TriggerCount$DamageAmount SVar:NeedsToPlayVar:WarElementalX GE1 SVar:Picture:http://www.wizards.com/global/images/magic/general/war_elemental.jpg diff --git a/forge-gui/res/cardsfolder/w/war_report.txt b/forge-gui/res/cardsfolder/w/war_report.txt index 9cc7b9791fe..c742a30d41c 100644 --- a/forge-gui/res/cardsfolder/w/war_report.txt +++ b/forge-gui/res/cardsfolder/w/war_report.txt @@ -1,7 +1,7 @@ Name:War Report ManaCost:3 W Types:Instant -A:SP$ GainLife | Cost$ 3 W | LifeAmount$ X | References$ X,Y | SpellDescription$ You gain life equal to the number of creatures on the battlefield plus the number of artifacts on the battlefield. +A:SP$ GainLife | Cost$ 3 W | LifeAmount$ X | SpellDescription$ You gain life equal to the number of creatures on the battlefield plus the number of artifacts on the battlefield. SVar:X:Count$Valid Creature/Plus.Y SVar:Y:Count$Valid Artifact SVar:Picture:http://www.wizards.com/global/images/magic/general/war_report.jpg diff --git a/forge-gui/res/cardsfolder/w/war_room.txt b/forge-gui/res/cardsfolder/w/war_room.txt index 6b02ef6a3d1..5c5ac6922c6 100755 --- a/forge-gui/res/cardsfolder/w/war_room.txt +++ b/forge-gui/res/cardsfolder/w/war_room.txt @@ -2,7 +2,7 @@ Name:War Room ManaCost:no cost Types:Land A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}. -A:AB$ Draw | Cost$ 3 T PayLife | References$ X | CostDesc$ {3}, {T}, Pay life equal to the number of colors in your commanders' color identity: | NumCards$ 1 | SpellDescription$ Draw a card. +A:AB$ Draw | Cost$ 3 T PayLife | CostDesc$ {3}, {T}, Pay life equal to the number of colors in your commanders' color identity: | NumCards$ 1 | SpellDescription$ Draw a card. SVar:X:Count$ColorsColorIdentity AI:RemoveDeck:NonCommander Oracle:{T}: Add {C}.\n{3}, {T}, Pay life equal to the number of colors in your commanders' color identity: Draw a card. diff --git a/forge-gui/res/cardsfolder/w/warbreak_trumpeter.txt b/forge-gui/res/cardsfolder/w/warbreak_trumpeter.txt index d7945cbbf9a..10c842128c3 100644 --- a/forge-gui/res/cardsfolder/w/warbreak_trumpeter.txt +++ b/forge-gui/res/cardsfolder/w/warbreak_trumpeter.txt @@ -4,7 +4,7 @@ Types:Creature Goblin PT:1/1 K:Morph:X X R T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ TrigToken | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME is turned face up, create X 1/1 red Goblin creature tokens. -SVar:TrigToken:DB$Token | TokenAmount$ X | References$ X | TokenScript$ r_1_1_goblin | TokenOwner$ You | LegacyImage$ r 1 1 goblin lgn +SVar:TrigToken:DB$Token | TokenAmount$ X | TokenScript$ r_1_1_goblin | TokenOwner$ You | LegacyImage$ r 1 1 goblin lgn SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/warbreak_trumpeter.jpg diff --git a/forge-gui/res/cardsfolder/w/ward_of_piety.txt b/forge-gui/res/cardsfolder/w/ward_of_piety.txt index a131406f76c..9749e59b459 100644 --- a/forge-gui/res/cardsfolder/w/ward_of_piety.txt +++ b/forge-gui/res/cardsfolder/w/ward_of_piety.txt @@ -3,7 +3,7 @@ ManaCost:1 W Types:Enchantment Aura K:Enchant creature A:SP$ Attach | Cost$ 1 W | ValidTgts$ Creature | AILogic$ Pump -A:AB$ Effect | Cost$ 1 W | Name$ Redirection Ward | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to redirect the damage to | ReplacementEffects$ WardDamage | SVars$ WardDamage,WardDmg | References$ WardDamage,WardDmg | RememberObjects$ Targeted | ImprintCards$ Enchanted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to enchanted creature this turn is dealt to any target instead. +A:AB$ Effect | Cost$ 1 W | Name$ Redirection Ward | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to redirect the damage to | ReplacementEffects$ WardDamage | SVars$ WardDamage,WardDmg | RememberObjects$ Targeted | ImprintCards$ Enchanted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to enchanted creature this turn is dealt to any target instead. SVar:WardDamage:Event$ DamageDone | ValidTarget$ Creature.IsImprinted | ReplaceWith$ WardDmg | DamageTarget$ Remembered | Description$ The next 1 damage that would be dealt to enchanted creature this turn is dealt to any target instead. SVar:WardDmg:DB$ ReplaceSplitDamage | DamageTarget$ Remembered AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/w/warden_of_the_beyond.txt b/forge-gui/res/cardsfolder/w/warden_of_the_beyond.txt index d4fb37c79e5..8bf1052c420 100644 --- a/forge-gui/res/cardsfolder/w/warden_of_the_beyond.txt +++ b/forge-gui/res/cardsfolder/w/warden_of_the_beyond.txt @@ -3,7 +3,7 @@ ManaCost:2 W Types:Creature Human Wizard PT:2/2 K:Vigilance -S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 2 | AddToughness$ 2 | CheckSVar$ X | SVarCompare$ GE1 | References$ X | Description$ CARDNAME gets +2/+2 as long as an opponent owns a card in exile. +S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 2 | AddToughness$ 2 | CheckSVar$ X | SVarCompare$ GE1 | Description$ CARDNAME gets +2/+2 as long as an opponent owns a card in exile. SVar:X:Count$ValidExile Card.OppCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/warden_of_the_beyond.jpg Oracle:Vigilance (Attacking doesn't cause this creature to tap.)\nWarden of the Beyond gets +2/+2 as long as an opponent owns a card in exile. diff --git a/forge-gui/res/cardsfolder/w/warfire_javelineer.txt b/forge-gui/res/cardsfolder/w/warfire_javelineer.txt index 1cb68385633..2ffaba436b6 100644 --- a/forge-gui/res/cardsfolder/w/warfire_javelineer.txt +++ b/forge-gui/res/cardsfolder/w/warfire_javelineer.txt @@ -3,7 +3,7 @@ ManaCost:3 R Types:Creature Minotaur Warrior PT:2/3 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals X damage to target creature an opponent controls, where X is the number of instant and sorcery cards in your graveyard. -SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X | References$ X +SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/warfire_javelineer.jpg Oracle:When Warfire Javelineer enters the battlefield, it deals X damage to target creature an opponent controls, where X is the number of instant and sorcery cards in your graveyard. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/w/wargate.txt b/forge-gui/res/cardsfolder/w/wargate.txt index 93bca556fec..86c6c5c7151 100644 --- a/forge-gui/res/cardsfolder/w/wargate.txt +++ b/forge-gui/res/cardsfolder/w/wargate.txt @@ -1,7 +1,7 @@ Name:Wargate ManaCost:X G W U Types:Sorcery -A:SP$ ChangeZone | Cost$ X G W U | Origin$ Library | Destination$ Battlefield | ChangeType$ Permanent.cmcLEX | References$ X | ChangeNum$ 1 | SpellDescription$ Search your library for a permanent card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. +A:SP$ ChangeZone | Cost$ X G W U | Origin$ Library | Destination$ Battlefield | ChangeType$ Permanent.cmcLEX | ChangeNum$ 1 | SpellDescription$ Search your library for a permanent card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/wargate.jpg Oracle:Search your library for a permanent card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/w/warp_world.txt b/forge-gui/res/cardsfolder/w/warp_world.txt index 80096cf7270..72af58d4bf4 100644 --- a/forge-gui/res/cardsfolder/w/warp_world.txt +++ b/forge-gui/res/cardsfolder/w/warp_world.txt @@ -3,7 +3,7 @@ ManaCost:5 R R R Types:Sorcery A:SP$ RepeatEach | Cost$ 5 R R R | RepeatPlayers$ Player | RepeatSubAbility$ DBShuffle | SubAbility$ ChangePermanent | StackDescription$ SpellDescription | SpellDescription$ Each player shuffles all permanents they own into their library, then reveals that many cards from the top of their library. Each player puts all artifact, creature, and land cards revealed this way onto the battlefield, then does the same for enchantment cards, then puts all cards revealed this way that weren't put onto the battlefield on the bottom of their library. SVar:DBShuffle:DB$ ChangeZoneAll | ChangeType$ Permanent.RememberedPlayerOwn | Imprint$ True | Origin$ Battlefield | Destination$ Library | Shuffle$ True | SubAbility$ DBDig -SVar:DBDig:DB$ Dig | Defined$ Remembered | NoMove$ True | DigNum$ WarpX | References$ WarpX | RememberRevealed$ True | Reveal$ True | SubAbility$ DBCleanImprint +SVar:DBDig:DB$ Dig | Defined$ Remembered | NoMove$ True | DigNum$ WarpX | RememberRevealed$ True | Reveal$ True | SubAbility$ DBCleanImprint SVar:DBCleanImprint:DB$ Cleanup | ClearImprinted$ True SVar:WarpX:Imprinted$Amount SVar:ChangePermanent:DB$ ChangeZoneAll | ChangeType$ Artifact.IsRemembered,Creature.IsRemembered,Land.IsRemembered | Origin$ Library | Destination$ Battlefield | ForgetChanged$ True | SubAbility$ ChangeEnchantment diff --git a/forge-gui/res/cardsfolder/w/warped_physique.txt b/forge-gui/res/cardsfolder/w/warped_physique.txt index 853427b5048..7ce27c91f10 100644 --- a/forge-gui/res/cardsfolder/w/warped_physique.txt +++ b/forge-gui/res/cardsfolder/w/warped_physique.txt @@ -1,7 +1,7 @@ Name:Warped Physique ManaCost:U B Types:Instant -A:SP$ Pump | Cost$ U B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ -X | References$ X | SpellDescription$ Target creature gets +X/-X until end of turn, where X is the number of cards in your hand. +A:SP$ Pump | Cost$ U B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ -X | SpellDescription$ Target creature gets +X/-X until end of turn, where X is the number of cards in your hand. SVar:X:Count$InYourHand SVar:Picture:http://www.wizards.com/global/images/magic/general/warped_physique.jpg Oracle:Target creature gets +X/-X until end of turn, where X is the number of cards in your hand. diff --git a/forge-gui/res/cardsfolder/w/warrior_angel.txt b/forge-gui/res/cardsfolder/w/warrior_angel.txt index 0fcb5c1d537..e2092c87a98 100644 --- a/forge-gui/res/cardsfolder/w/warrior_angel.txt +++ b/forge-gui/res/cardsfolder/w/warrior_angel.txt @@ -4,7 +4,7 @@ Types:Creature Angel Warrior PT:3/4 K:Flying T:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/warrior_angel.jpg diff --git a/forge-gui/res/cardsfolder/w/warrior_en_kor.txt b/forge-gui/res/cardsfolder/w/warrior_en_kor.txt index 3e94298870a..5938ccb5105 100644 --- a/forge-gui/res/cardsfolder/w/warrior_en_kor.txt +++ b/forge-gui/res/cardsfolder/w/warrior_en_kor.txt @@ -2,7 +2,7 @@ Name:Warrior en-Kor ManaCost:W W Types:Creature Kor Warrior Knight PT:2/2 -A:AB$ Effect | Cost$ 0 | Name$ en-Kor Redirection | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage to | ReplacementEffects$ EnKor | SVars$ EnKorDmg | References$ EnKor,EnKorDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature you control instead. +A:AB$ Effect | Cost$ 0 | Name$ en-Kor Redirection | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control to redirect the damage to | ReplacementEffects$ EnKor | SVars$ EnKorDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature you control instead. SVar:EnKor:Event$ DamageDone | ValidTarget$ Creature.EffectSource | ReplaceWith$ EnKorDmg | DamageTarget$ Remembered | Description$ The next 1 damage that would be dealt to EFFECTSOURCE this turn is dealt to target creature you control instead. SVar:EnKorDmg:DB$ ReplaceSplitDamage | DamageTarget$ Remembered AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/w/warriors_oath.txt b/forge-gui/res/cardsfolder/w/warriors_oath.txt index 4e6c2e77e62..0787b58d585 100644 --- a/forge-gui/res/cardsfolder/w/warriors_oath.txt +++ b/forge-gui/res/cardsfolder/w/warriors_oath.txt @@ -1,7 +1,7 @@ Name:Warrior's Oath ManaCost:R R Types:Sorcery -A:SP$ AddTurn | Cost$ R R | NumTurns$ 1 | ExtraTurnDelayedTrigger$ DBDelTrig | ExtraTurnDelayedTriggerExcute$ TrigLose | References$ DBDelTrig,TrigLose | SpellDescription$ Take an extra turn after this one. At the beginning of that turn's end step, you lose the game. +A:SP$ AddTurn | Cost$ R R | NumTurns$ 1 | ExtraTurnDelayedTrigger$ DBDelTrig | ExtraTurnDelayedTriggerExcute$ TrigLose | SpellDescription$ Take an extra turn after this one. At the beginning of that turn's end step, you lose the game. SVar:DBDelTrig:ThisTurn$ True | Mode$ Phase | Phase$ End of Turn | Execute$ TrigLose | TriggerDescription$ At the beginning of that turn's end step, you lose the game. SVar:TrigLose:DB$ LosesGame | Defined$ You AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/w/wasitora_nekoru_queen.txt b/forge-gui/res/cardsfolder/w/wasitora_nekoru_queen.txt index 4ef99b274e6..abde4752528 100644 --- a/forge-gui/res/cardsfolder/w/wasitora_nekoru_queen.txt +++ b/forge-gui/res/cardsfolder/w/wasitora_nekoru_queen.txt @@ -6,7 +6,7 @@ K:Flying K:Trample T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigSac | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player sacrifices a creature. If the player can't, you create a 3/3 black, red, and green Cat Dragon creature token with flying. SVar:TrigSac:DB$ Sacrifice | Defined$ TriggeredTarget | SacValid$ Creature | RememberSacrificed$ True | SubAbility$ DBToken -SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ brg_3_3_cat_dragon_flying | TokenOwner$ You | LegacyImage$ brg 3 3 cat dragon flying c17 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBCleanup +SVar:DBToken:DB$ Token | TokenAmount$ 1 | TokenScript$ brg_3_3_cat_dragon_flying | TokenOwner$ You | LegacyImage$ brg 3 3 cat dragon flying c17 | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:MustBeBlocked:True diff --git a/forge-gui/res/cardsfolder/w/wave_of_indifference.txt b/forge-gui/res/cardsfolder/w/wave_of_indifference.txt index df1d875d799..f7b3ec85abe 100644 --- a/forge-gui/res/cardsfolder/w/wave_of_indifference.txt +++ b/forge-gui/res/cardsfolder/w/wave_of_indifference.txt @@ -1,7 +1,7 @@ Name:Wave of Indifference ManaCost:X R Types:Sorcery -A:SP$ Pump | Cost$ X R | KW$ HIDDEN CARDNAME can't block. | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | References$ X | StackDescription$ X target creatures [{c:Targeted}] can't block this turn. | SpellDescription$ X target creatures can't block this turn. +A:SP$ Pump | Cost$ X R | KW$ HIDDEN CARDNAME can't block. | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | StackDescription$ X target creatures [{c:Targeted}] can't block this turn. | SpellDescription$ X target creatures can't block this turn. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:X target creatures can't block this turn. diff --git a/forge-gui/res/cardsfolder/w/wave_of_reckoning.txt b/forge-gui/res/cardsfolder/w/wave_of_reckoning.txt index 64f320837bd..1602f38e1ae 100644 --- a/forge-gui/res/cardsfolder/w/wave_of_reckoning.txt +++ b/forge-gui/res/cardsfolder/w/wave_of_reckoning.txt @@ -2,7 +2,7 @@ Name:Wave of Reckoning ManaCost:4 W Types:Sorcery #for this AF, the DefinedCards$ Self is the target for Each damaging. They EachDamage themselves. -A:SP$ EachDamage | Cost$ 4 W | ValidCards$ Creature | NumDmg$ X | References$ X | DamageDesc$ damage equal to its power | DefinedCards$ Self | SpellDescription$ Each creature deals damage to itself equal to its power. +A:SP$ EachDamage | Cost$ 4 W | ValidCards$ Creature | NumDmg$ X | DamageDesc$ damage equal to its power | DefinedCards$ Self | SpellDescription$ Each creature deals damage to itself equal to its power. #NumDmg isn't really used here. It is left for clarity. The AF pulls Damage straight from "X" hardcoded. SVar:X:Count$CardPower AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/w/wave_of_terror.txt b/forge-gui/res/cardsfolder/w/wave_of_terror.txt index 57dbba2dcfc..f993fe1a6cd 100644 --- a/forge-gui/res/cardsfolder/w/wave_of_terror.txt +++ b/forge-gui/res/cardsfolder/w/wave_of_terror.txt @@ -3,7 +3,7 @@ ManaCost:2 B Types:Enchantment K:Cumulative upkeep:1 T:Mode$ Phase | Phase$ Draw | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDestroyAll | TriggerDescription$ At the beginning of your draw step, destroy each creature with converted mana cost equal to the number of age counters on CARDNAME. They can't be regenerated. -SVar:TrigDestroyAll:DB$ DestroyAll | ValidCards$ Creature.cmcEQX | NoRegen$ True | References$ X +SVar:TrigDestroyAll:DB$ DestroyAll | ValidCards$ Creature.cmcEQX | NoRegen$ True SVar:X:Count$CardCounters.AGE AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/wave_of_terror.jpg diff --git a/forge-gui/res/cardsfolder/w/wave_of_vitriol.txt b/forge-gui/res/cardsfolder/w/wave_of_vitriol.txt index 615a5e9956c..6375d908f18 100644 --- a/forge-gui/res/cardsfolder/w/wave_of_vitriol.txt +++ b/forge-gui/res/cardsfolder/w/wave_of_vitriol.txt @@ -5,7 +5,7 @@ A:SP$ SacrificeAll | Cost$ 5 G G | ValidCards$ Artifact,Enchantment,Land.nonBasi SVar:DBRepeat:DB$ RepeatEach | DefinedCards$ DirectRemembered | AdditionalRestriction$ Land | UseImprinted$ True | RepeatSubAbility$ DBSearch | ClearRemembered$ True | SubAbility$ DBShuffle SVar:DBSearch:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ 1 | Tapped$ True | RememberChanged$ True | DefinedPlayer$ ImprintedController | Chooser$ ImprintedController | NoShuffle$ True | Optional$ True SVar:DBShuffle:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ ShuffleSearched | SubAbility$ DBCleanup -SVar:ShuffleSearched:DB$ Shuffle | Defined$ Player.IsRemembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +SVar:ShuffleSearched:DB$ Shuffle | Defined$ Player.IsRemembered | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:Count$Valid Card.IsRemembered+RememberedPlayerCtrl SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/w/waxmane_baku.txt b/forge-gui/res/cardsfolder/w/waxmane_baku.txt index 0feb2634a46..fa7d2a26c79 100644 --- a/forge-gui/res/cardsfolder/w/waxmane_baku.txt +++ b/forge-gui/res/cardsfolder/w/waxmane_baku.txt @@ -4,7 +4,7 @@ Types:Creature Spirit PT:2/2 T:Mode$ SpellCast | ValidCard$ Spirit,Arcane | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigPutCounter | TriggerDescription$ Whenever you cast a Spirit or Arcane spell, you may put a ki counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ KI | CounterNum$ 1 -A:AB$ Tap | Cost$ 1 SubCounter | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature | IsCurse$ True | TgtPrompt$ Select X target creatures | References$ X | SpellDescription$ Tap X target creatures. +A:AB$ Tap | Cost$ 1 SubCounter | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature | IsCurse$ True | TgtPrompt$ Select X target creatures | SpellDescription$ Tap X target creatures. SVar:X:Count$xPaid AI:RemoveDeck:Random DeckHints:Type$Spirit|Arcane diff --git a/forge-gui/res/cardsfolder/w/wayfaring_temple.txt b/forge-gui/res/cardsfolder/w/wayfaring_temple.txt index 01b2e72b4a7..c2eb2e2530d 100644 --- a/forge-gui/res/cardsfolder/w/wayfaring_temple.txt +++ b/forge-gui/res/cardsfolder/w/wayfaring_temple.txt @@ -2,7 +2,7 @@ Name:Wayfaring Temple ManaCost:1 G W Types:Creature Elemental PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ DBCopy | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, populate. (Create a token that's a copy of a creature token you control.) SVar:DBCopy:DB$ CopyPermanent | Choices$ Creature.token+YouCtrl | NumCopies$ 1 | Populate$ True diff --git a/forge-gui/res/cardsfolder/w/wayward_swordtooth.txt b/forge-gui/res/cardsfolder/w/wayward_swordtooth.txt index 138592252fc..1574566f874 100644 --- a/forge-gui/res/cardsfolder/w/wayward_swordtooth.txt +++ b/forge-gui/res/cardsfolder/w/wayward_swordtooth.txt @@ -4,7 +4,7 @@ Types:Creature Dinosaur PT:5/5 K:Ascend S:Mode$ Continuous | Affected$ You | AdjustLandPlays$ 1 | Description$ You may play an additional land on each of your turns. -S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can't attack or block. | CheckSVar$ X | SVarCompare$ EQ0 | References$ X | Description$ CARDNAME can't attack or block unless you have the city's blessing. +S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can't attack or block. | CheckSVar$ X | SVarCompare$ EQ0 | Description$ CARDNAME can't attack or block unless you have the city's blessing. SVar:X:Count$Blessing.1.0 SVar:Picture:http://www.wizards.com/global/images/magic/general/wayward_swordtooth.jpg Oracle:Ascend (If you control ten or more permanents, you get the city's blessing for the rest of the game.)\nYou may play an additional land on each of your turns.\nWayward Swordtooth can't attack or block unless you have the city's blessing. diff --git a/forge-gui/res/cardsfolder/w/weathered_wayfarer.txt b/forge-gui/res/cardsfolder/w/weathered_wayfarer.txt index f144e739ceb..0e304f2c182 100644 --- a/forge-gui/res/cardsfolder/w/weathered_wayfarer.txt +++ b/forge-gui/res/cardsfolder/w/weathered_wayfarer.txt @@ -2,7 +2,7 @@ Name:Weathered Wayfarer ManaCost:W Types:Creature Human Nomad Cleric PT:1/1 -A:AB$ ChangeZone | Cost$ W T | Origin$ Library | Destination$ Hand | ChangeType$ Land | ChangeNum$ 1 | CheckSVar$ X | SVarCompare$ GTY | References$ X,Y | SpellDescription$ Search your library for a land card, reveal it, and put it into your hand. Then shuffle your library. Activate this ability only if an opponent controls more lands than you. +A:AB$ ChangeZone | Cost$ W T | Origin$ Library | Destination$ Hand | ChangeType$ Land | ChangeNum$ 1 | CheckSVar$ X | SVarCompare$ GTY,Y | SpellDescription$ Search your library for a land card, reveal it, and put it into your hand. Then shuffle your library. Activate this ability only if an opponent controls more lands than you. SVar:X:PlayerCountOpponents$HighestValid Land.YouCtrl SVar:Y:Count$Valid Land.YouCtrl SVar:Picture:http://resources.wizards.com/magic/cards/9ed/en-us/card83311.jpg diff --git a/forge-gui/res/cardsfolder/w/weaver_of_lies.txt b/forge-gui/res/cardsfolder/w/weaver_of_lies.txt index 776d831df2b..fba950988ca 100644 --- a/forge-gui/res/cardsfolder/w/weaver_of_lies.txt +++ b/forge-gui/res/cardsfolder/w/weaver_of_lies.txt @@ -4,7 +4,7 @@ Types:Creature Beast PT:4/4 K:Morph:4 U T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ DBWeaverofLiesSetState | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME is turned face up, turn any number of target creatures with morph abilities other than CARDNAME face down. -SVar:DBWeaverofLiesSetState:DB$ SetState | ValidTgts$ Creature.withMorph+Other,Creature.withMegamorph+Other | TgtPrompt$ Select target creature | TargetMin$ 0 | TargetMax$ WeaverofLiesX | Mode$ TurnFace | References$ WeaverofLiesX | SpellDescription$ Turn CARDNAME face down. +SVar:DBWeaverofLiesSetState:DB$ SetState | ValidTgts$ Creature.withMorph+Other,Creature.withMegamorph+Other | TgtPrompt$ Select target creature | TargetMin$ 0 | TargetMax$ WeaverofLiesX | Mode$ TurnFace | SpellDescription$ Turn CARDNAME face down. SVar:WeaverofLiesX:Count$Valid Creature.withMorph+Other,Creature.withMegamorph+Other AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/weaver_of_lies.jpg diff --git a/forge-gui/res/cardsfolder/w/web_of_inertia.txt b/forge-gui/res/cardsfolder/w/web_of_inertia.txt index 6274487eb44..325f555d94d 100644 --- a/forge-gui/res/cardsfolder/w/web_of_inertia.txt +++ b/forge-gui/res/cardsfolder/w/web_of_inertia.txt @@ -2,7 +2,7 @@ Name:Web of Inertia ManaCost:2 U Types:Enchantment T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ Player.Opponent | Execute$ TrigCantAttack | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on each opponent's turn, that player may exile a card from their graveyard. If the player doesn't, creatures they control can't attack you this turn. -SVar:TrigCantAttack:DB$ Effect | Name$ Web of Inertia Effect | StaticAbilities$ STCantAttack | References$ STCantAttack | UnlessCost$ ExileFromGrave<1/Card> | UnlessPayer$ TriggeredPlayer | UnlessAI$ WillAttack | SpellDescription$ Creatures they control can't attack you this turn. +SVar:TrigCantAttack:DB$ Effect | Name$ Web of Inertia Effect | StaticAbilities$ STCantAttack | UnlessCost$ ExileFromGrave<1/Card> | UnlessPayer$ TriggeredPlayer | UnlessAI$ WillAttack | SpellDescription$ Creatures they control can't attack you this turn. SVar:STCantAttack:Mode$ CantAttack | EffectZone$ Command | ValidCard$ Creature | Target$ You | Description$ Creatures can't attack you. SVar:Picture:http://www.wizards.com/global/images/magic/general/web_of_inertia.jpg Oracle:At the beginning of combat on each opponent's turn, that player may exile a card from their graveyard. If the player doesn't, creatures they control can't attack you this turn. diff --git a/forge-gui/res/cardsfolder/w/weight_of_spires.txt b/forge-gui/res/cardsfolder/w/weight_of_spires.txt index 89755019570..90a3ed25c08 100644 --- a/forge-gui/res/cardsfolder/w/weight_of_spires.txt +++ b/forge-gui/res/cardsfolder/w/weight_of_spires.txt @@ -1,7 +1,7 @@ Name:Weight of Spires ManaCost:R Types:Instant -A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of nonbasic lands that creature's controller controls. +A:SP$ DealDamage | Cost$ R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the number of nonbasic lands that creature's controller controls. SVar:X:Count$Valid Land.nonBasic+TargetedControllerCtrl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/weight_of_spires.jpg diff --git a/forge-gui/res/cardsfolder/w/weird_harvest.txt b/forge-gui/res/cardsfolder/w/weird_harvest.txt index 90bd6a74fc1..db9e95df669 100644 --- a/forge-gui/res/cardsfolder/w/weird_harvest.txt +++ b/forge-gui/res/cardsfolder/w/weird_harvest.txt @@ -1,7 +1,7 @@ Name:Weird Harvest ManaCost:X G G Types:Sorcery -A:SP$ ChangeZone | Optional$ True | Cost$ X G G | Origin$ Library | Destination$ Hand | DefinedPlayer$ Player | ChangeType$ Card.Creature | Reveal$ True | Shuffle$ True | ChangeNum$ X | References$ X | SpellDescription$ Each player may search their library for up to X creature cards, reveal those cards, and put them into their hand. Then each player who searched their library this way shuffles it. +A:SP$ ChangeZone | Optional$ True | Cost$ X G G | Origin$ Library | Destination$ Hand | DefinedPlayer$ Player | ChangeType$ Card.Creature | Reveal$ True | Shuffle$ True | ChangeNum$ X | SpellDescription$ Each player may search their library for up to X creature cards, reveal those cards, and put them into their hand. Then each player who searched their library this way shuffles it. SVar:X:Count$xPaid AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/weird_harvest.jpg diff --git a/forge-gui/res/cardsfolder/w/welcome_to_the_fold.txt b/forge-gui/res/cardsfolder/w/welcome_to_the_fold.txt index 1136970cf78..dbac1b64710 100644 --- a/forge-gui/res/cardsfolder/w/welcome_to_the_fold.txt +++ b/forge-gui/res/cardsfolder/w/welcome_to_the_fold.txt @@ -2,7 +2,7 @@ Name:Welcome to the Fold ManaCost:2 U U Types:Sorcery K:Madness:X U U -A:SP$ GainControl | Cost$ 2 U U | ValidTgts$ Creature | TgtPrompt$ Select target creature | ConditionCheckSVar$ Z | ConditionSVarCompare$ EQ1 | References$ X,Y,Z | SpellDescription$ Gain control of target creature if its toughness is 2 or less. If CARDNAME's madness cost was paid, instead gain control of that creature if its toughness is X or less. +A:SP$ GainControl | Cost$ 2 U U | ValidTgts$ Creature | TgtPrompt$ Select target creature | ConditionCheckSVar$ Z | ConditionSVarCompare$ EQ1 | SpellDescription$ Gain control of target creature if its toughness is 2 or less. If CARDNAME's madness cost was paid, instead gain control of that creature if its toughness is X or less. SVar:Y:Count$Madness.X.2 SVar:X:Count$xPaid SVar:Z:Targeted$Valid Creature.toughnessLEY diff --git a/forge-gui/res/cardsfolder/w/welding_sparks.txt b/forge-gui/res/cardsfolder/w/welding_sparks.txt index 07c4579e9d1..4dda1d4de7f 100644 --- a/forge-gui/res/cardsfolder/w/welding_sparks.txt +++ b/forge-gui/res/cardsfolder/w/welding_sparks.txt @@ -1,7 +1,7 @@ Name:Welding Sparks ManaCost:2 R Types:Instant -A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature, where X is 3 plus the number of artifacts you control. +A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals X damage to target creature, where X is 3 plus the number of artifacts you control. SVar:X:Count$TypeYouCtrl.Artifact/Plus.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/welding_sparks.jpg Oracle:Welding Sparks deals X damage to target creature, where X is 3 plus the number of artifacts you control. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/w/well_of_lost_dreams.txt b/forge-gui/res/cardsfolder/w/well_of_lost_dreams.txt index b4548aba065..5660f4bed49 100644 --- a/forge-gui/res/cardsfolder/w/well_of_lost_dreams.txt +++ b/forge-gui/res/cardsfolder/w/well_of_lost_dreams.txt @@ -2,8 +2,8 @@ Name:Well of Lost Dreams ManaCost:4 Types:Artifact T:Mode$ LifeGained | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigStore | TriggerDescription$ Whenever you gain life, you may pay {X}, where X is less than or equal to the amount of life you gained. If you do, draw X cards. -SVar:TrigStore:DB$ ChooseNumber | Defined$ You | Min$ 0 | Max$ Y | References$ Y | ListTitle$ Pay X | AILogic$ OptionalDraw | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | UnlessCost$ X | UnlessPayer$ You | UnlessSwitched$ True +SVar:TrigStore:DB$ ChooseNumber | Defined$ You | Min$ 0 | Max$ Y | ListTitle$ Pay X | AILogic$ OptionalDraw | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ X | UnlessCost$ X | UnlessPayer$ You | UnlessSwitched$ True SVar:Y:TriggerCount$LifeAmount SVar:X:Count$ChosenNumber DeckNeeds:Ability$LifeGain diff --git a/forge-gui/res/cardsfolder/w/wellwisher.txt b/forge-gui/res/cardsfolder/w/wellwisher.txt index fac664ec15a..3456063d55e 100644 --- a/forge-gui/res/cardsfolder/w/wellwisher.txt +++ b/forge-gui/res/cardsfolder/w/wellwisher.txt @@ -2,7 +2,7 @@ Name:Wellwisher ManaCost:1 G Types:Creature Elf PT:1/1 -A:AB$ GainLife | Cost$ T | LifeAmount$ X | References$ X | SpellDescription$ You gain 1 life for each Elf on the battlefield. +A:AB$ GainLife | Cost$ T | LifeAmount$ X | SpellDescription$ You gain 1 life for each Elf on the battlefield. SVar:X:Count$TypeOnBattlefield.Elf SVar:BuffedBy:Elf SVar:Picture:http://resources.wizards.com/magic/cards/ons/en-us/card39497.jpg diff --git a/forge-gui/res/cardsfolder/w/wheel_and_deal.txt b/forge-gui/res/cardsfolder/w/wheel_and_deal.txt index 2f09e0c018c..7a764f55833 100644 --- a/forge-gui/res/cardsfolder/w/wheel_and_deal.txt +++ b/forge-gui/res/cardsfolder/w/wheel_and_deal.txt @@ -1,7 +1,7 @@ Name:Wheel and Deal ManaCost:3 U Types:Instant -A:SP$ Discard | Cost$ 3 U | ValidTgts$ Opponent | TargetMin$ 0 | TargetMax$ MaxTgt | References$ MaxTgt | Mode$ Hand | SpellDescription$ Any number of target opponents each discard their hands, then draw seven cards. | SubAbility$ DBDrawOpp +A:SP$ Discard | Cost$ 3 U | ValidTgts$ Opponent | TargetMin$ 0 | TargetMax$ MaxTgtaxTgt | Mode$ Hand | SpellDescription$ Any number of target opponents each discard their hands, then draw seven cards. | SubAbility$ DBDrawOpp SVar:DBDrawOpp:DB$Draw | Defined$ Targeted | NumCards$ 7 | SubAbility$ DBDraw SVar:DBDraw:DB$Draw | NumCards$ 1 | SpellDescription$ Draw a card. SVar:MaxTgt:PlayerCountPlayers$Amount diff --git a/forge-gui/res/cardsfolder/w/wheel_of_misfortune.txt b/forge-gui/res/cardsfolder/w/wheel_of_misfortune.txt index 795f8e440cd..e227c9f818b 100644 --- a/forge-gui/res/cardsfolder/w/wheel_of_misfortune.txt +++ b/forge-gui/res/cardsfolder/w/wheel_of_misfortune.txt @@ -2,7 +2,7 @@ Name:Wheel of Misfortune ManaCost:2 R Types:Sorcery A:SP$ ChooseNumber | Cost$ 2 R | Defined$ Player | SecretlyChoose$ True | Highest$ DBLoseLife | NotLowest$ DBDiscard | AILogic$ HighestLoseLife | StackDescription$ SpellDescription | SpellDescription$ Each player secretly chooses a number 0 or greater, then all players reveal those numbers simultaneously and determine the highest and lowest numbers revealed this way. CARDNAME deals damage equal to the highest number to each player who chose that number. Each player who didn't choose the lowest number discards their hand, then draws seven cards. -SVar:DBLoseLife:DB$ DealDamage | Defined$ Remembered | References$ X | NumDmg$ X +SVar:DBLoseLife:DB$ DealDamage | Defined$ Remembered | NumDmg$ X SVar:X:Count$ChosenNumber SVar:DBDiscard:DB$ Discard | Defined$ Player.IsRemembered | Mode$ Hand | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | Defined$ Remembered | NumCards$ 7 diff --git a/forge-gui/res/cardsfolder/w/wheel_of_torture.txt b/forge-gui/res/cardsfolder/w/wheel_of_torture.txt index 0d41f69c824..66400e281ca 100644 --- a/forge-gui/res/cardsfolder/w/wheel_of_torture.txt +++ b/forge-gui/res/cardsfolder/w/wheel_of_torture.txt @@ -2,7 +2,7 @@ Name:Wheel of Torture ManaCost:3 Types:Artifact T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Opponent | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ At the beginning of each opponent's upkeep, CARDNAME deals X damage to that player, where X is 3 minus the number of cards in their hand. -SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X | References$ X +SVar:TrigDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ X SVar:X:TriggeredPlayer$CardsInHand/NMinus.3 SVar:Picture:http://www.wizards.com/global/images/magic/general/wheel_of_torture.jpg Oracle:At the beginning of each opponent's upkeep, Wheel of Torture deals X damage to that player, where X is 3 minus the number of cards in their hand. diff --git a/forge-gui/res/cardsfolder/w/whetwheel.txt b/forge-gui/res/cardsfolder/w/whetwheel.txt index c92679374d3..40291cd0898 100644 --- a/forge-gui/res/cardsfolder/w/whetwheel.txt +++ b/forge-gui/res/cardsfolder/w/whetwheel.txt @@ -2,7 +2,7 @@ Name:Whetwheel ManaCost:4 Types:Artifact K:Morph:3 -A:AB$ Mill | Cost$ X X T | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player | References$ X | SpellDescription$ Target player mills X cards. +A:AB$ Mill | Cost$ X X T | NumCards$ X | ValidTgts$ Player | TgtPrompt$ Select target player | SpellDescription$ Target player mills X cards. SVar:X:Count$xPaid AI:RemoveDeck:All Oracle:{X}{X}, {T}: Target player mills X cards.\nMorph {3} (You may cast this card face down as a 2/2 creature for {3}. Turn it face up any time for its morph cost.) diff --git a/forge-gui/res/cardsfolder/w/which_of_you_burns_brightest.txt b/forge-gui/res/cardsfolder/w/which_of_you_burns_brightest.txt index f1a6f616122..3b08bc2534e 100644 --- a/forge-gui/res/cardsfolder/w/which_of_you_burns_brightest.txt +++ b/forge-gui/res/cardsfolder/w/which_of_you_burns_brightest.txt @@ -2,8 +2,8 @@ Name:Which of You Burns Brightest? ManaCost:no cost Types:Scheme T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ DarkEffect | TriggerZones$ Command | OptionalDecider$ You | TriggerDescription$ When you set this scheme in motion, you may pay {X}. If you do, this scheme deals X damage to target opponent or planeswalker and each creature that player or that planeswalker's controller controls. -SVar:DarkEffect:AB$ DealDamage | Cost$ X | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select an opponent or planeswalker | NumDmg$ X | References$ X | SubAbility$ DmgAll | DamageMap$ True -SVar:DmgAll:DB$ DamageAll | NumDmg$ X | References$ X | ValidCards$ Creature.ControlledBy TargetedOrController | SubAbility$ DBDamageResolve +SVar:DarkEffect:AB$ DealDamage | Cost$ X | ValidTgts$ Opponent,Planeswalker | TgtPrompt$ Select an opponent or planeswalker | NumDmg$ X | SubAbility$ DmgAll | DamageMap$ True +SVar:DmgAll:DB$ DamageAll | NumDmg$ X | ValidCards$ Creature.ControlledBy TargetedOrController | SubAbility$ DBDamageResolve SVar:DBDamageResolve:DB$ DamageResolve SVar:X:Count$xPaid SVar:Picture:https://downloads.cardforge.org/images/cards/ARC/Which of You Burns Brightest.full.jpg diff --git a/forge-gui/res/cardsfolder/w/whipgrass_entangler.txt b/forge-gui/res/cardsfolder/w/whipgrass_entangler.txt index 418253eafa3..9debd5d5137 100644 --- a/forge-gui/res/cardsfolder/w/whipgrass_entangler.txt +++ b/forge-gui/res/cardsfolder/w/whipgrass_entangler.txt @@ -3,8 +3,8 @@ ManaCost:2 W Types:Creature Human Cleric PT:1/3 A:AB$ Animate | Cost$ 1 W | ValidTgts$ Creature | staticAbilities$ WhipgrassCantAttack,WhipgrassCantBlock | sVars$ WhipgrassClericNum | SpellDescription$ Until end of turn, target creature gains "This creature can't attack or block unless its controller pays {1} for each Cleric on the battlefield." -SVar:WhipgrassCantAttack:Mode$ CantAttackUnless | ValidCard$ Card.Self | Cost$ WhipgrassClericNum | References$ WhipgrassClericNum | Description$ CARDNAME can't attack or block unless you pay 1 for each Cleric on the battlefield. -SVar:WhipgrassCantBlock:Mode$ CantBlockUnless | ValidCard$ Card.Self | Cost$ WhipgrassClericNum | References$ WhipgrassClericNum +SVar:WhipgrassCantAttack:Mode$ CantAttackUnless | ValidCard$ Card.Self | Cost$ WhipgrassClericNum | Description$ CARDNAME can't attack or block unless you pay 1 for each Cleric on the battlefield. +SVar:WhipgrassCantBlock:Mode$ CantBlockUnless | ValidCard$ Card.Self | Cost$ WhipgrassClericNum SVar:WhipgrassClericNum:Count$Valid Cleric AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/whipgrass_entangler.jpg diff --git a/forge-gui/res/cardsfolder/w/whipkeeper.txt b/forge-gui/res/cardsfolder/w/whipkeeper.txt index 2438d074126..f6c12352abd 100644 --- a/forge-gui/res/cardsfolder/w/whipkeeper.txt +++ b/forge-gui/res/cardsfolder/w/whipkeeper.txt @@ -2,7 +2,7 @@ Name:Whipkeeper ManaCost:2 R R Types:Creature Dwarf PT:1/1 -A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the damage already dealt to it this turn. +A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ X | SpellDescription$ CARDNAME deals damage to target creature equal to the damage already dealt to it this turn. SVar:X:Targeted$TotalDamageReceivedThisTurn AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/whipkeeper.jpg diff --git a/forge-gui/res/cardsfolder/w/whiplash_trap.txt b/forge-gui/res/cardsfolder/w/whiplash_trap.txt index f8195e95d85..63e4df9dfc0 100644 --- a/forge-gui/res/cardsfolder/w/whiplash_trap.txt +++ b/forge-gui/res/cardsfolder/w/whiplash_trap.txt @@ -1,7 +1,7 @@ Name:Whiplash Trap ManaCost:3 U U Types:Instant Trap -SVar:AltCost:Cost$ U | CheckSVar$ CreaturesEntered | SVarCompare$ GE2 | References$ CreaturesEntered | Description$ If an opponent had two or more creatures enter the battlefield under their control this turn, you may pay {U} rather than pay this spell's mana cost. +SVar:AltCost:Cost$ U | CheckSVar$ CreaturesEntered | SVarCompare$ GE2 | Description$ If an opponent had two or more creatures enter the battlefield under their control this turn, you may pay {U} rather than pay this spell's mana cost. A:SP$ ChangeZone | Cost$ 3 U U | Origin$ Battlefield | Destination$ Hand | TgtPrompt$ Choose two target creatures | ValidTgts$ Creature | TargetMin$ 2 | TargetMax$ 2 | SpellDescription$ Return two target creatures to their owners' hands. SVar:CreaturesEntered:Count$ThisTurnEntered_Battlefield_Creature.YouDontCtrl Oracle:If an opponent had two or more creatures enter the battlefield under their control this turn, you may pay {U} rather than pay this spell's mana cost.\nReturn two target creatures to their owners' hands. diff --git a/forge-gui/res/cardsfolder/w/whiptongue_hydra.txt b/forge-gui/res/cardsfolder/w/whiptongue_hydra.txt index a4cce06b067..d341bf48b1b 100644 --- a/forge-gui/res/cardsfolder/w/whiptongue_hydra.txt +++ b/forge-gui/res/cardsfolder/w/whiptongue_hydra.txt @@ -5,7 +5,7 @@ PT:4/4 K:Reach T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDestroyAll | TriggerDescription$ When CARDNAME enters the battlefield, destroy all creatures with flying. Put a +1/+1 counter on CARDNAME for each creature destroyed this way. SVar:TrigDestroyAll:DB$ DestroyAll | ValidCards$ Creature.withFlying | RememberDestroyed$ True | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$PutCounter | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBCleanup +SVar:DBPutCounter:DB$PutCounter | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/w/whir_of_invention.txt b/forge-gui/res/cardsfolder/w/whir_of_invention.txt index b07c3cb24dd..dbe6a54b7c8 100644 --- a/forge-gui/res/cardsfolder/w/whir_of_invention.txt +++ b/forge-gui/res/cardsfolder/w/whir_of_invention.txt @@ -2,7 +2,7 @@ Name:Whir of Invention ManaCost:X U U U Types:Instant K:Improvise -A:SP$ ChangeZone | Cost$ X U U U | Origin$ Library | Destination$ Battlefield | ChangeType$ Artifact.cmcLEX | ChangeNum$ 1 | References$ X | StackDescription$ SpellDescription | SpellDescription$ Search your library for an artifact card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. +A:SP$ ChangeZone | Cost$ X U U U | Origin$ Library | Destination$ Battlefield | ChangeType$ Artifact.cmcLEX | ChangeNum$ 1 | StackDescription$ SpellDescription | SpellDescription$ Search your library for an artifact card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/whir_of_invention.jpg Oracle:Improvise (Your artifacts can help cast this spell. Each artifact you tap after you're done activating mana abilities pays for {1}.)\nSearch your library for an artifact card with converted mana cost X or less, put it onto the battlefield, then shuffle your library. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/w/whirlpool_drake.txt b/forge-gui/res/cardsfolder/w/whirlpool_drake.txt index 0d816da5557..99af9c6e7cc 100644 --- a/forge-gui/res/cardsfolder/w/whirlpool_drake.txt +++ b/forge-gui/res/cardsfolder/w/whirlpool_drake.txt @@ -6,7 +6,7 @@ K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeAll | TriggerDescription$ When CARDNAME enters the battlefield, shuffle the cards from your hand into your library, then draw that many cards. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChangeAll | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, shuffle the cards from your hand into your library, then draw that many cards. SVar:TrigChangeAll:DB$ ChangeZoneAll | Defined$ You | Origin$ Hand | Destination$ Library | Shuffle$ True | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X | Defined$ You | SubAbility$ DBCleanup +SVar:DBDraw:DB$ Draw | NumCards$ X | Defined$ You | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://www.wizards.com/global/images/magic/general/whirlpool_drake.jpg diff --git a/forge-gui/res/cardsfolder/w/whirlpool_rider.txt b/forge-gui/res/cardsfolder/w/whirlpool_rider.txt index bbbc641b4e6..c05c7ac076b 100644 --- a/forge-gui/res/cardsfolder/w/whirlpool_rider.txt +++ b/forge-gui/res/cardsfolder/w/whirlpool_rider.txt @@ -4,7 +4,7 @@ Types:Creature Merfolk PT:1/1 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeAll | TriggerDescription$ When CARDNAME enters the battlefield, shuffle the cards from your hand into your library, then draw that many cards. SVar:TrigChangeAll:DB$ ChangeZoneAll | Defined$ You | Origin$ Hand | Destination$ Library | Shuffle$ True | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ DBDraw -SVar:DBDraw:DB$Draw | NumCards$ X | References$ X | Defined$ You | SubAbility$ DBCleanup +SVar:DBDraw:DB$Draw | NumCards$ X | Defined$ You | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:Picture:http://resources.wizards.com/magic/cards/ap/en-us/card27670.jpg diff --git a/forge-gui/res/cardsfolder/w/whirlpool_warrior.txt b/forge-gui/res/cardsfolder/w/whirlpool_warrior.txt index 1cee5f1db97..0d2ff0fa608 100644 --- a/forge-gui/res/cardsfolder/w/whirlpool_warrior.txt +++ b/forge-gui/res/cardsfolder/w/whirlpool_warrior.txt @@ -7,7 +7,7 @@ SVar:WhirlYou:DB$ ChangeZoneAll | Defined$ You | Origin$ Hand | Destination$ Lib SVar:DBDraw:DB$Draw | NumCards$ X | Defined$ You | SubAbility$ DBCleanup A:AB$ RepeatEach | Cost$ R Sac<1/CARDNAME> | RepeatPlayers$ Player | RepeatSubAbility$ ShuffleHand | SpellDescription$ Each player shuffles the cards from their hand into their library, then draws that many cards. SVar:ShuffleHand:DB$ ChangeZoneAll | Defined$ Player.IsRemembered | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | RememberChanged$ True | Shuffle$ True | SubAbility$ WindDraw -SVar:WindDraw:DB$ Draw | NumCards$ Y | Defined$ Player.IsRemembered | References$ Y | SubAbility$ DBCleanup +SVar:WindDraw:DB$ Draw | NumCards$ Y | Defined$ Player.IsRemembered | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount # Amount Minus 1 because the Player is also being remembered at this point diff --git a/forge-gui/res/cardsfolder/w/whispering_specter.txt b/forge-gui/res/cardsfolder/w/whispering_specter.txt index dc393ec8012..b4b07531be6 100644 --- a/forge-gui/res/cardsfolder/w/whispering_specter.txt +++ b/forge-gui/res/cardsfolder/w/whispering_specter.txt @@ -6,7 +6,7 @@ K:Flying K:Infect T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | OptionalDecider$ You | Execute$ TrigSacrifice | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may sacrifice it. If you do, that player discards a card for each poison counter they have. SVar:TrigSacrifice:DB$ SacrificeAll | ValidCards$ Card.Self | RememberSacrificed$ True | SubAbility$ DBDiscard -SVar:DBDiscard:DB$ Discard | Defined$ TriggeredTarget | NumCards$ X | References$ X,Y | Mode$ TgtChoose | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup +SVar:DBDiscard:DB$ Discard | Defined$ TriggeredTarget | NumCards$ X | Mode$ TgtChoose | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:TriggeredTarget$PoisonCounters SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/w/whispers_of_emrakul.txt b/forge-gui/res/cardsfolder/w/whispers_of_emrakul.txt index 9c32787fc91..f84079b8019 100644 --- a/forge-gui/res/cardsfolder/w/whispers_of_emrakul.txt +++ b/forge-gui/res/cardsfolder/w/whispers_of_emrakul.txt @@ -1,7 +1,7 @@ Name:Whispers of Emrakul ManaCost:1 B Types:Sorcery -A:SP$ Discard | Cost$ 1 B | ValidTgts$ Opponent | NumCards$ X | References$ X | Mode$ Random | SpellDescription$ Target opponent discards a card at random. Delirium — If there are four or more card types among cards in your graveyard, that player discards two cards at random instead. +A:SP$ Discard | Cost$ 1 B | ValidTgts$ Opponent | NumCards$ X | Mode$ Random | SpellDescription$ Target opponent discards a card at random. Delirium — If there are four or more card types among cards in your graveyard, that player discards two cards at random instead. SVar:X:Count$Delirium.2.1 DeckHints:Ability$Graveyard & Ability$Discard DeckHas:Ability$Delirium diff --git a/forge-gui/res/cardsfolder/w/white_suns_zenith.txt b/forge-gui/res/cardsfolder/w/white_suns_zenith.txt index 04403f54ceb..99a968cecbb 100644 --- a/forge-gui/res/cardsfolder/w/white_suns_zenith.txt +++ b/forge-gui/res/cardsfolder/w/white_suns_zenith.txt @@ -1,7 +1,7 @@ Name:White Sun's Zenith ManaCost:X W W W Types:Instant -A:SP$ Token | Cost$ X W W W | TokenAmount$ X | References$ X | TokenScript$ w_2_2_cat | TokenOwner$ You | LegacyImage$ w 2 2 cat mbs | SubAbility$ DBShuffle | SpellDescription$ Create X 2/2 white Cat creature tokens. Shuffle CARDNAME into its owner's library. +A:SP$ Token | Cost$ X W W W | TokenAmount$ X | TokenScript$ w_2_2_cat | TokenOwner$ You | LegacyImage$ w 2 2 cat mbs | SubAbility$ DBShuffle | SpellDescription$ Create X 2/2 white Cat creature tokens. Shuffle CARDNAME into its owner's library. SVar:X:Count$xPaid SVar:DBShuffle:DB$ChangeZone | Origin$ Stack | Destination$ Library | Shuffle$ True SVar:Picture:http://www.wizards.com/global/images/magic/general/white_suns_zenith.jpg diff --git a/forge-gui/res/cardsfolder/w/widespread_brutality.txt b/forge-gui/res/cardsfolder/w/widespread_brutality.txt index 0be140f2226..2f51f121d0f 100644 --- a/forge-gui/res/cardsfolder/w/widespread_brutality.txt +++ b/forge-gui/res/cardsfolder/w/widespread_brutality.txt @@ -2,7 +2,7 @@ Name:Widespread Brutality ManaCost:1 B R R Types:Sorcery A:SP$ Amass | Cost$ 1 B R R | Num$ 2 | RememberAmass$ True | SubAbility$ IgnitionDamage | SpellDescription$ Amass 2, then the Army you amassed deals damage equal to its power to each non-Army creature. (To amass 2, put two +1/+1 counters on an Army you control. If you don't control one, create a 0/0 black Zombie Army creature token first.) -SVar:IgnitionDamage:DB$ DamageAll | ValidCards$ Creature.nonArmy | ValidDescription$ each non-Army creature. | NumDmg$ X | References$ X | ConditionDefined$ Remembered | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ Remembered | SubAbility$ DBCleanup +SVar:IgnitionDamage:DB$ DamageAll | ValidCards$ Creature.nonArmy | ValidDescription$ each non-Army creature. | NumDmg$ X | ConditionDefined$ Remembered | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ Remembered | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$CardPower DeckHints:Ability$Amass & Type$Zombie diff --git a/forge-gui/res/cardsfolder/w/wild_beastmaster.txt b/forge-gui/res/cardsfolder/w/wild_beastmaster.txt index 1b01267d95c..ebfb375d8d0 100644 --- a/forge-gui/res/cardsfolder/w/wild_beastmaster.txt +++ b/forge-gui/res/cardsfolder/w/wild_beastmaster.txt @@ -3,7 +3,7 @@ ManaCost:2 G Types:Creature Human Shaman PT:1/1 T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, each other creature you control gets +X/+X until end of turn, where X is CARDNAME's power. -SVar:TrigPump:DB$ PumpAll | ValidCards$ Creature.YouCtrl+Other| NumAtt$ X | NumDef$ X | References$ X +SVar:TrigPump:DB$ PumpAll | ValidCards$ Creature.YouCtrl+Other| NumAtt$ X | NumDef$ X SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/wild_beastmaster.jpg Oracle:Whenever Wild Beastmaster attacks, each other creature you control gets +X/+X until end of turn, where X is Wild Beastmaster's power. diff --git a/forge-gui/res/cardsfolder/w/wild_onslaught.txt b/forge-gui/res/cardsfolder/w/wild_onslaught.txt index f31a39f8619..ce55284507e 100644 --- a/forge-gui/res/cardsfolder/w/wild_onslaught.txt +++ b/forge-gui/res/cardsfolder/w/wild_onslaught.txt @@ -2,7 +2,7 @@ Name:Wild Onslaught ManaCost:3 G Types:Instant K:Kicker:4 -A:SP$ PutCounterAll | Cost$ 3 G | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ X | References$ X | SpellDescription$ Put a +1/+1 counter on each creature you control. If this spell was kicked, put two +1/+1 counters on each creature you control instead. +A:SP$ PutCounterAll | Cost$ 3 G | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ X | SpellDescription$ Put a +1/+1 counter on each creature you control. If this spell was kicked, put two +1/+1 counters on each creature you control instead. SVar:X:Count$Kicked.2.1 DeckHas:Ability$Counters Oracle:Kicker {4} (You may pay an additional {4} as you cast this spell.)\nPut a +1/+1 counter on each creature you control. If this spell was kicked, put two +1/+1 counters on each creature you control instead. diff --git a/forge-gui/res/cardsfolder/w/wildborn_preserver.txt b/forge-gui/res/cardsfolder/w/wildborn_preserver.txt index 5fc7fc21e59..47208c1d76d 100644 --- a/forge-gui/res/cardsfolder/w/wildborn_preserver.txt +++ b/forge-gui/res/cardsfolder/w/wildborn_preserver.txt @@ -5,8 +5,8 @@ PT:2/2 K:Flash K:Reach T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.nonHuman+Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigImmediateTrig | TriggerDescription$ Whenever another non-Human creature enters the battlefield under your control, you may pay {X}. When you do, put X +1/+1 counters on CARDNAME. -SVar:TrigImmediateTrig:AB$ ImmediateTrigger | Cost$ X | Execute$ TrigPutCounter | References$ X | AILogic$ MaxX | TriggerDescription$ When you do, put X +1/+1 counters on CARDNAME. +SVar:TrigImmediateTrig:AB$ ImmediateTrigger | Cost$ X | Execute$ TrigPutCounter | AILogic$ MaxX | TriggerDescription$ When you do, put X +1/+1 counters on CARDNAME. SVar:X:Count$xPaid -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X | References$ X +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ X DeckHas:Ability$Counters Oracle:Flash\nReach\nWhenever another non-Human creature enters the battlefield under your control, you may pay {X}. When you do, put X +1/+1 counters on Wildborn Preserver. diff --git a/forge-gui/res/cardsfolder/w/wildcall.txt b/forge-gui/res/cardsfolder/w/wildcall.txt index ec898e54e60..20f7fbbbc5e 100644 --- a/forge-gui/res/cardsfolder/w/wildcall.txt +++ b/forge-gui/res/cardsfolder/w/wildcall.txt @@ -2,7 +2,7 @@ Name:Wildcall ManaCost:X G G Types:Sorcery A:SP$ Manifest | Cost$ X G G | Amount$ 1 | Defined$ TopOfLibrary | RememberManifested$ True | SubAbility$ TrigPutCounter | SpellDescription$ Manifest the top card of your library, then put X +1/+1 counters on it. (To manifest a card, put it onto the battlefield face down as a 2/2 creature. Turn it face up any time for its mana cost if it's a creature card.) -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Remembered | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBCleanup +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Remembered | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/wildcall.jpg diff --git a/forge-gui/res/cardsfolder/w/will_of_the_all_hunter.txt b/forge-gui/res/cardsfolder/w/will_of_the_all_hunter.txt index fe1a33a789a..6170e09f74e 100755 --- a/forge-gui/res/cardsfolder/w/will_of_the_all_hunter.txt +++ b/forge-gui/res/cardsfolder/w/will_of_the_all_hunter.txt @@ -2,7 +2,7 @@ Name:Will of the All-Hunter ManaCost:1 W Types:Instant A:SP$ Pump | Cost$ 1 W | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBBranch | StackDescription$ SpellDescription | SpellDescription$ Target creature gets +2/+2 until end of turn. If it's blocking, instead put two +1/+1 counters on it. -SVar:DBBranch:DB$ Branch | BranchConditionSVar$ X | BranchConditionSVarCompare$ EQ1 | References$ X | TrueSubAbility$ PutCounter | FalseSubAbility$ Pump +SVar:DBBranch:DB$ Branch | BranchConditionSVar$ X | BranchConditionSVarCompare$ EQ1 | TrueSubAbility$ PutCounter | FalseSubAbility$ Pump SVar:PutCounter:DB$ PutCounter | Defined$ Targeted | CounterType$ P1P1 | CounterNum$ 2 SVar:Pump:DB$ Pump | Defined$ Targeted | NumAtt$ 2 | NumDef$ 2 SVar:X:Targeted$Valid Creature.blocking diff --git a/forge-gui/res/cardsfolder/w/windbrisk_heights.txt b/forge-gui/res/cardsfolder/w/windbrisk_heights.txt index 0e2e24bfd0c..26f062e1f3c 100644 --- a/forge-gui/res/cardsfolder/w/windbrisk_heights.txt +++ b/forge-gui/res/cardsfolder/w/windbrisk_heights.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Land K:Hideaway A:AB$ Mana | Cost$ T | Produced$ W | SpellDescription$ Add {W}. -A:AB$ Play | Cost$ W T | Defined$ Remembered | Amount$ All | Controller$ You | WithoutManaCost$ True | Optional$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE3 | References$ X | ForgetRemembered$ True | PlayerTurn$ True | AILogic$ CheckCondition | SpellDescription$ You may play the exiled card without paying its mana cost if you attacked with three or more creatures this turn. +A:AB$ Play | Cost$ W T | Defined$ Remembered | Amount$ All | Controller$ You | WithoutManaCost$ True | Optional$ True | ConditionCheckSVar$ X | ConditionSVarCompare$ GE3 | ForgetRemembered$ True | PlayerTurn$ True | AILogic$ CheckCondition | SpellDescription$ You may play the exiled card without paying its mana cost if you attacked with three or more creatures this turn. SVar:X:Count$AttackersDeclared SVar:Picture:http://www.wizards.com/global/images/magic/general/windbrisk_heights.jpg Oracle:Hideaway (This land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library.)\n{T}: Add {W}.\n{W}, {T}: You may play the exiled card without paying its mana cost if you attacked with three or more creatures this turn. diff --git a/forge-gui/res/cardsfolder/w/windfall.txt b/forge-gui/res/cardsfolder/w/windfall.txt index 98ca67627e3..59ca6a4554b 100644 --- a/forge-gui/res/cardsfolder/w/windfall.txt +++ b/forge-gui/res/cardsfolder/w/windfall.txt @@ -2,7 +2,7 @@ Name:Windfall ManaCost:2 U Types:Sorcery A:SP$ Discard | Cost$ 2 U | Defined$ Player | Mode$ Hand | RememberDiscarded$ True | SubAbility$ WindfallDraw | SpellDescription$ Each player discards their hand, then draws cards equal to the greatest number of cards a player discarded this way. -SVar:WindfallDraw:DB$ Draw | Defined$ Player | NumCards$ X | References$ X | SubAbility$ WindfallCleanup +SVar:WindfallDraw:DB$ Draw | Defined$ Player | NumCards$ X | SubAbility$ WindfallCleanup SVar:WindfallCleanup:DB$ Cleanup | ClearRemembered$ True #some cards may allow you to discard to other zones SVar:X:PlayerCountPlayers$HighestValidGraveyard,Library,Exile Card.IsRemembered+YouOwn diff --git a/forge-gui/res/cardsfolder/w/windgraces_judgment.txt b/forge-gui/res/cardsfolder/w/windgraces_judgment.txt index 6fb2cf1e7f0..28c59511972 100644 --- a/forge-gui/res/cardsfolder/w/windgraces_judgment.txt +++ b/forge-gui/res/cardsfolder/w/windgraces_judgment.txt @@ -1,6 +1,6 @@ Name:Windgrace's Judgment ManaCost:3 B G Types:Instant -A:SP$ Destroy | Cost$ 3 B G | ValidTgts$ Permanent.nonLand+OppCtrl | TgtPrompt$ Select target nonland permanent an opponent controls to destroy. | TargetMin$ 0 | TargetMax$ OneEach | References$ OneEach | TargetsWithDifferentControllers$ True | SpellDescription$ For any number of opponents, destroy target nonland permanent that player controls. +A:SP$ Destroy | Cost$ 3 B G | ValidTgts$ Permanent.nonLand+OppCtrl | TgtPrompt$ Select target nonland permanent an opponent controls to destroy. | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | SpellDescription$ For any number of opponents, destroy target nonland permanent that player controls. SVar:OneEach:PlayerCountOpponents$Amount Oracle:For any number of opponents, destroy target nonland permanent that player controls. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/w/winding_constrictor.txt b/forge-gui/res/cardsfolder/w/winding_constrictor.txt index 73d9ec76120..6d57b69b4a3 100644 --- a/forge-gui/res/cardsfolder/w/winding_constrictor.txt +++ b/forge-gui/res/cardsfolder/w/winding_constrictor.txt @@ -4,7 +4,7 @@ Types:Creature Snake PT:2/3 R:Event$ AddCounter | ActiveZones$ Battlefield | ValidCard$ Artifact.YouCtrl,Creature.YouCtrl | ReplaceWith$ AddOneMoreCounters | Description$ If one or more counters would be put on an artifact or creature you control, that many plus one of each of those kinds of counters are put on that permanent instead. R:Event$ AddCounter | ActiveZones$ Battlefield | ValidPlayer$ You | ReplaceWith$ AddOneMoreCounters | Description$ If you would get one or more counters, you get that many plus one of each of those kinds of counters instead. -SVar:AddOneMoreCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X | References$ X +SVar:AddOneMoreCounters:DB$ ReplaceEffect | VarName$ CounterNum | VarValue$ X SVar:X:ReplaceCount$CounterNum/Plus.1 AI:RemoveDeck:Random DeckNeeds:Ability$Counters diff --git a/forge-gui/res/cardsfolder/w/winds_of_abandon.txt b/forge-gui/res/cardsfolder/w/winds_of_abandon.txt index dfe0851c3cf..b5d653d176e 100644 --- a/forge-gui/res/cardsfolder/w/winds_of_abandon.txt +++ b/forge-gui/res/cardsfolder/w/winds_of_abandon.txt @@ -5,6 +5,6 @@ A:SP$ ChangeZone | Cost$ 1 W | Origin$ Battlefield | Destination$ Exile | ValidT A:SP$ ChangeZoneAll | Cost$ 4 W W | ChangeType$ Creature.YouDontCtrl | Origin$ Battlefield | Destination$ Exile | RememberLKI$ True | SubAbility$ DBGetLandsAll | PrecostDesc$ Overload | CostDesc$ {4}{W}{W} | NonBasicSpell$ True | SpellDescription$ (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.") SVar:DBGetLandsAll:DB$ RepeatEach | RepeatPlayers$ Player | RepeatSubAbility$ DBGetLandsOne | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:DBGetLandsOne:DB$ ChangeZone | Optional$ True | Origin$ Library | Destination$ Battlefield | Tapped$ True | ChangeType$ Land.Basic | ChangeNum$ X | References$ X | DefinedPlayer$ Player.IsRemembered | ShuffleNonMandatory$ False | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 +SVar:DBGetLandsOne:DB$ ChangeZone | Optional$ True | Origin$ Library | Destination$ Battlefield | Tapped$ True | ChangeType$ Land.Basic | ChangeNum$ X | DefinedPlayer$ Player.IsRemembered | ShuffleNonMandatory$ False | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:X:RememberedLKI$FilterControlledByRemembered_Number$1 Oracle:Exile target creature you don't control. For each creature exiled this way, its controller searches their library for a basic land card. Those players put those cards onto the battlefield tapped, then shuffle their libraries.\nOverload {4}{W}{W} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.") diff --git a/forge-gui/res/cardsfolder/w/winds_of_change.txt b/forge-gui/res/cardsfolder/w/winds_of_change.txt index 0364179ab00..4fedee87c95 100644 --- a/forge-gui/res/cardsfolder/w/winds_of_change.txt +++ b/forge-gui/res/cardsfolder/w/winds_of_change.txt @@ -3,7 +3,7 @@ ManaCost:R Types:Sorcery A:SP$ RepeatEach | Cost$ R | RepeatPlayers$ Player | RepeatSubAbility$ ShuffleHand | SpellDescription$ Each player shuffles the cards from their hand into their library, then draws that many cards. SVar:ShuffleHand:DB$ ChangeZoneAll | Defined$ Player.IsRemembered | Origin$ Hand | Destination$ Library | LibraryPosition$ -1 | RememberChanged$ True | Shuffle$ True | SubAbility$ WindDraw -SVar:WindDraw:DB$ Draw | NumCards$ X | Defined$ Player.IsRemembered | References$ X | SubAbility$ CleanTheWind +SVar:WindDraw:DB$ Draw | NumCards$ X | Defined$ Player.IsRemembered | SubAbility$ CleanTheWind SVar:CleanTheWind:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount/Minus.1 # Amount Minus 1 because the Player is also being remembered at this point diff --git a/forge-gui/res/cardsfolder/w/winds_of_qal_sisma.txt b/forge-gui/res/cardsfolder/w/winds_of_qal_sisma.txt index ab2b009fa6b..16bcf895a94 100644 --- a/forge-gui/res/cardsfolder/w/winds_of_qal_sisma.txt +++ b/forge-gui/res/cardsfolder/w/winds_of_qal_sisma.txt @@ -1,8 +1,8 @@ Name:Winds of Qal Sisma ManaCost:1 G Types:Instant -A:SP$ Effect | Cost$ 1 G | Name$ Winds of Qal Sisma Effect | ReplacementEffects$ RPrevent1 | AILogic$ Fog | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | References$ X | SubAbility$ DBEffect | SpellDescription$ Prevent all combat damage that would be dealt this turn. Ferocious — If you control a creature with power 4 or greater, instead prevent all combat damage that would be dealt this turn by creatures your opponents control. -SVar:DBEffect:DB$ Effect | Name$ Winds of Qal Sisma Effect | ReplacementEffects$ RPrevent2 | AILogic$ Fog | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | References$ X +A:SP$ Effect | Cost$ 1 G | Name$ Winds of Qal Sisma Effect | ReplacementEffects$ RPrevent1 | AILogic$ Fog | ConditionCheckSVar$ X | ConditionSVarCompare$ EQ0 | SubAbility$ DBEffect | SpellDescription$ Prevent all combat damage that would be dealt this turn. Ferocious — If you control a creature with power 4 or greater, instead prevent all combat damage that would be dealt this turn by creatures your opponents control. +SVar:DBEffect:DB$ Effect | Name$ Winds of Qal Sisma Effect | ReplacementEffects$ RPrevent2 | AILogic$ Fog | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 SVar:RPrevent1:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | Description$ Prevent all combat damage that would be dealt this turn. SVar:RPrevent2:Event$ DamageDone | Prevent$ True | ValidSource$ Creature.OppCtrl | IsCombat$ True | ActiveZones$ Command | Description$ Prevent all combat damage that would be dealt this turn by creatures your opponents control. SVar:X:Count$Valid Creature.YouCtrl+powerGE4 diff --git a/forge-gui/res/cardsfolder/w/windstorm.txt b/forge-gui/res/cardsfolder/w/windstorm.txt index 559a0dac2c2..ba659d94610 100644 --- a/forge-gui/res/cardsfolder/w/windstorm.txt +++ b/forge-gui/res/cardsfolder/w/windstorm.txt @@ -1,7 +1,7 @@ Name:Windstorm ManaCost:X G Types:Instant -A:SP$ DamageAll | Cost$ X G | ValidCards$ Creature.withFlying | NumDmg$ X | References$ X | ValidDescription$ each creature with flying. | SpellDescription$ CARDNAME deals X damage to each creature with flying. +A:SP$ DamageAll | Cost$ X G | ValidCards$ Creature.withFlying | NumDmg$ X | ValidDescription$ each creature with flying. | SpellDescription$ CARDNAME deals X damage to each creature with flying. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/windstorm.jpg Oracle:Windstorm deals X damage to each creature with flying. diff --git a/forge-gui/res/cardsfolder/w/wine_of_blood_and_iron.txt b/forge-gui/res/cardsfolder/w/wine_of_blood_and_iron.txt index 40cb97c258e..7f5aaeb18cc 100644 --- a/forge-gui/res/cardsfolder/w/wine_of_blood_and_iron.txt +++ b/forge-gui/res/cardsfolder/w/wine_of_blood_and_iron.txt @@ -1,7 +1,7 @@ Name:Wine of Blood and Iron ManaCost:3 Types:Artifact -A:AB$ Pump | Cost$ 4 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SubAbility$ DBDelay | AILogic$ Berserk | References$ X | SpellDescription$ Target creature gets +X/+0 until end of turn, where X is its power. Sacrifice CARDNAME at the beginning of the next end step. +A:AB$ Pump | Cost$ 4 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | SubAbility$ DBDelay | AILogic$ Berserk | SpellDescription$ Target creature gets +X/+0 until end of turn, where X is its power. Sacrifice CARDNAME at the beginning of the next end step. SVar:DBDelay:DB$ DelayedTrigger | Mode$ Phase | Phase$ End Of Turn | Execute$ TrigSac | TriggerDescription$ Sacrifice CARDNAME at the beginning of the next end step. SVar:TrigSac:DB$ SacrificeAll | Defined$ Self | Controller$ You SVar:X:Targeted$CardPower diff --git a/forge-gui/res/cardsfolder/w/wing_storm.txt b/forge-gui/res/cardsfolder/w/wing_storm.txt index abc9b8fe11c..beb4f95c9c8 100644 --- a/forge-gui/res/cardsfolder/w/wing_storm.txt +++ b/forge-gui/res/cardsfolder/w/wing_storm.txt @@ -2,7 +2,7 @@ Name:Wing Storm ManaCost:2 G Types:Sorcery A:SP$ RepeatEach | Cost$ 2 G | RepeatPlayers$ Player | RepeatSubAbility$ DBDamage | DamageMap$ True | SpellDescription$ CARDNAME deals damage to each player equal to twice the number of creatures with flying that player controls. -SVar:DBDamage:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | References$ X +SVar:DBDamage:DB$ DealDamage | Defined$ Remembered | NumDmg$ X SVar:X:Count$Valid Creature.withFlying+RememberedPlayerCtrl/Times.2 AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/wing_storm.jpg diff --git a/forge-gui/res/cardsfolder/w/wingmate_roc.txt b/forge-gui/res/cardsfolder/w/wingmate_roc.txt index b2906e793a6..f6e2dd9966a 100644 --- a/forge-gui/res/cardsfolder/w/wingmate_roc.txt +++ b/forge-gui/res/cardsfolder/w/wingmate_roc.txt @@ -7,7 +7,7 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:RaidTest:Count$AttackersDeclared SVar:TrigToken:DB$ Token | TokenScript$ w_3_4_bird_flying | LegacyImage$ w 3 4 bird flying ktk | TokenAmount$ 1 | TokenOwner$ You T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ Whenever CARDNAME attacks, you gain 1 life for each attacking creature. -SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$Valid Creature.attacking SVar:HasAttackEffect:TRUE Oracle:Flying\nRaid — When Wingmate Roc enters the battlefield, if you attacked this turn, create a 3/4 white Bird creature token with flying.\nWhenever Wingmate Roc attacks, you gain 1 life for each attacking creature. diff --git a/forge-gui/res/cardsfolder/w/winter_blast.txt b/forge-gui/res/cardsfolder/w/winter_blast.txt index 436bb89459b..e8905db4831 100644 --- a/forge-gui/res/cardsfolder/w/winter_blast.txt +++ b/forge-gui/res/cardsfolder/w/winter_blast.txt @@ -1,7 +1,7 @@ Name:Winter Blast ManaCost:X G Types:Sorcery -A:SP$ Tap | Cost$ X G | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | TargetMin$ X | TargetMax$ X | References$ X | RememberTargets$ True | SubAbility$ DBDamage | SpellDescription$ Tap X target creatures. CARDNAME deals 2 damage to each of those creatures with flying. +A:SP$ Tap | Cost$ X G | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | TargetMin$ X | TargetMax$ X | RememberTargets$ True | SubAbility$ DBDamage | SpellDescription$ Tap X target creatures. CARDNAME deals 2 damage to each of those creatures with flying. SVar:DBDamage:DB$ DamageAll | NumDmg$ 2 | ValidCards$ Card.IsRemembered+withFlying | SubAbility$ DBCleanup | StackDescription$ CARDNAME deals 2 damage to each of those creatures with flying. SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid diff --git a/forge-gui/res/cardsfolder/w/wintermoor_commander.txt b/forge-gui/res/cardsfolder/w/wintermoor_commander.txt index 8ae9de01b7f..afb72eeef1c 100644 --- a/forge-gui/res/cardsfolder/w/wintermoor_commander.txt +++ b/forge-gui/res/cardsfolder/w/wintermoor_commander.txt @@ -3,7 +3,7 @@ ManaCost:W B Types:Creature Human Knight PT:2/* K:Deathtouch -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetToughness$ X | References$ X | Description$ CARDNAME's toughness is equal to the number of Knights you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetToughness$ X | Description$ CARDNAME's toughness is equal to the number of Knights you control. SVar:X:Count$Valid Knight.YouCtrl SVar:BuffedBy:Knight T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, another target Knight you control gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.) diff --git a/forge-gui/res/cardsfolder/w/winters_chill.txt b/forge-gui/res/cardsfolder/w/winters_chill.txt index 8a9ffb2042d..b784695d8f5 100644 --- a/forge-gui/res/cardsfolder/w/winters_chill.txt +++ b/forge-gui/res/cardsfolder/w/winters_chill.txt @@ -2,7 +2,7 @@ Name:Winter's Chill ManaCost:X U Types:Instant Text:Cast CARDNAME only during combat before blockers are declared.\r\nX can't be greater than the number of snow lands you control.\r\n -A:SP$ RepeatEach | Cost$ X U | XMaxLimit$ Snow | TargetMin$ X | TargetMax$ X | References$ X,Snow | ValidTgts$ Creature.attacking | TgtPrompt$ Select X target attacking creatures | ActivationPhases$ BeginCombat->Declare Attackers | IsCurse$ True | DefinedCards$ Targeted | RepeatSubAbility$ DBChoose | StackDescription$ SpellDescription | SpellDescription$ Choose X target attacking creatures. For each of those creatures, its controller may pay {1} or {2}. If that player doesn't, destroy that creature at end of combat. If that player pays only {1}, prevent all combat damage that would be dealt to and dealt by that creature this combat. +A:SP$ RepeatEach | Cost$ X U | XMaxLimit$ Snow | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature.attacking | TgtPrompt$ Select X target attacking creatures | ActivationPhases$ BeginCombat->Declare Attackers | IsCurse$ True | DefinedCards$ Targeted | RepeatSubAbility$ DBChoose | StackDescription$ SpellDescription | SpellDescription$ Choose X target attacking creatures. For each of those creatures, its controller may pay {1} or {2}. If that player doesn't, destroy that creature at end of combat. If that player pays only {1}, prevent all combat damage that would be dealt to and dealt by that creature this combat. SVar:DBChoose:DB$ GenericChoice | Defined$ RememberedController | Choices$ Pay2,Pay1 | AILogic$ PayUnlessCost | SubAbility$ DBDelayTrigger SVar:Pay2:DB$ Cleanup | ClearRemembered$ True | UnlessCost$ 2 | UnlessPayer$ RememberedController | UnlessSwitched$ True | SpellDescription$ You may pay {2} to avoid negative effects | ShowCurrentCard$ Remembered SVar:Pay1:DB$ Pump | Defined$ Remembered | KW$ Prevent all combat damage that would be dealt to and dealt by CARDNAME. | UntilEndOfCombat$ True | UnlessCost$ 1 | UnlessPayer$ RememberedController | UnlessSwitched$ True | UnlessResolveSubs$ WhenPaid | SubAbility$ DBCleanup | ShowCurrentCard$ Remembered | SpellDescription$ You may pay {1}, prevent all combat damage that would be dealt to and dealt by that creature this combat. diff --git a/forge-gui/res/cardsfolder/w/wirecat.txt b/forge-gui/res/cardsfolder/w/wirecat.txt index f8453a74277..7a93adeaa2f 100644 --- a/forge-gui/res/cardsfolder/w/wirecat.txt +++ b/forge-gui/res/cardsfolder/w/wirecat.txt @@ -2,7 +2,7 @@ Name:Wirecat ManaCost:4 Types:Artifact Creature Cat PT:4/3 -S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can't attack or block. | CheckSVar$ X | References$ X | SVarCompare$ GE1 | Description$ CARDNAME can't attack or block if an enchantment is on the battlefield. +S:Mode$ Continuous | Affected$ Card.Self | AddHiddenKeyword$ CARDNAME can't attack or block. | CheckSVar$ X | SVarCompare$ GE1 | Description$ CARDNAME can't attack or block if an enchantment is on the battlefield. SVar:X:Count$Valid Enchantment SVar:Picture:http://www.wizards.com/global/images/magic/general/wirecat.jpg Oracle:Wirecat can't attack or block if an enchantment is on the battlefield. diff --git a/forge-gui/res/cardsfolder/w/wirewood_channeler.txt b/forge-gui/res/cardsfolder/w/wirewood_channeler.txt index 2a0a4804219..41533b48daa 100644 --- a/forge-gui/res/cardsfolder/w/wirewood_channeler.txt +++ b/forge-gui/res/cardsfolder/w/wirewood_channeler.txt @@ -2,7 +2,7 @@ Name:Wirewood Channeler ManaCost:3 G Types:Creature Elf Druid PT:2/2 -A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ X | References$ X | SpellDescription$ Add X mana of any one color, where X is the number of Elves on the battlefield. +A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ X | SpellDescription$ Add X mana of any one color, where X is the number of Elves on the battlefield. SVar:X:Count$Valid Elf AI:RemoveDeck:All AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/w/wirewood_pride.txt b/forge-gui/res/cardsfolder/w/wirewood_pride.txt index af9015bdda3..1557c138c43 100644 --- a/forge-gui/res/cardsfolder/w/wirewood_pride.txt +++ b/forge-gui/res/cardsfolder/w/wirewood_pride.txt @@ -1,7 +1,7 @@ Name:Wirewood Pride ManaCost:G Types:Instant -A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of Elves on the battlefield. +A:SP$ Pump | Cost$ G | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | NumDef$ +X | SpellDescription$ Target creature gets +X/+X until end of turn, where X is the number of Elves on the battlefield. SVar:X:Count$TypeOnBattlefield.Elf SVar:Picture:http://www.wizards.com/global/images/magic/general/wirewood_pride.jpg Oracle:Target creature gets +X/+X until end of turn, where X is the number of Elves on the battlefield. diff --git a/forge-gui/res/cardsfolder/w/witchs_oven.txt b/forge-gui/res/cardsfolder/w/witchs_oven.txt index ad11b074bd8..6483a236bcf 100644 --- a/forge-gui/res/cardsfolder/w/witchs_oven.txt +++ b/forge-gui/res/cardsfolder/w/witchs_oven.txt @@ -1,7 +1,7 @@ Name:Witch's Oven ManaCost:1 Types:Artifact -A:AB$ Token | Cost$ T Sac<1/Creature> | TokenAmount$ X | References$ X,Y | TokenScript$ c_a_food_sac | TokenOwner$ You | LegacyImage$ c a food sac eld | SpellDescription$ Create a Food token. If the sacrificed creature's toughness was 4 or greater, create two Food tokens instead. (They're artifacts with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") +A:AB$ Token | Cost$ T Sac<1/Creature> | TokenAmount$ X | TokenScript$ c_a_food_sac | TokenOwner$ You | LegacyImage$ c a food sac eld | SpellDescription$ Create a Food token. If the sacrificed creature's toughness was 4 or greater, create two Food tokens instead. (They're artifacts with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") SVar:AIPreference:SacCost$Creature.token SVar:X:Count$Compare Y GE4.2.1 SVar:Y:Sacrificed$CardToughness diff --git a/forge-gui/res/cardsfolder/w/withering_gaze.txt b/forge-gui/res/cardsfolder/w/withering_gaze.txt index 32d4fcb1555..9709fddbae8 100644 --- a/forge-gui/res/cardsfolder/w/withering_gaze.txt +++ b/forge-gui/res/cardsfolder/w/withering_gaze.txt @@ -2,7 +2,7 @@ Name:Withering Gaze ManaCost:2 U Types:Sorcery A:SP$ RevealHand | Cost$ 2 U | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBDraw | SpellDescription$ Target opponent reveals their hand. You draw a card for each Forest and green card in it. -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X +SVar:DBDraw:DB$ Draw | NumCards$ X SVar:X:Count$ValidHand Forest.TargetedPlayerCtrl,Card.Green+TargetedPlayerCtrl AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/withering_gaze.jpg diff --git a/forge-gui/res/cardsfolder/w/withering_hex.txt b/forge-gui/res/cardsfolder/w/withering_hex.txt index e7aeef329a2..2932677e277 100644 --- a/forge-gui/res/cardsfolder/w/withering_hex.txt +++ b/forge-gui/res/cardsfolder/w/withering_hex.txt @@ -5,7 +5,7 @@ K:Enchant creature A:SP$ Attach | Cost$ B | ValidTgts$ Creature | AILogic$ Curse T:Mode$ Cycled | ValidCard$ Card | Execute$ TrigPutCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever a player cycles a card, put a plague counter on CARDNAME. SVar:TrigPutCounter:DB$PutCounter | Defined$ Self | CounterType$ PLAGUE | CounterNum$ 1 -S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | AddToughness$ -X | References$ X | Description$ Enchanted creature gets -1/-1 for each plague counter on CARDNAME. +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -X | AddToughness$ -X | Description$ Enchanted creature gets -1/-1 for each plague counter on CARDNAME. SVar:X:Count$CardCounters.PLAGUE AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/withering_hex.jpg diff --git a/forge-gui/res/cardsfolder/w/withering_wisps.txt b/forge-gui/res/cardsfolder/w/withering_wisps.txt index 90a0b47b2b1..5363d779f96 100644 --- a/forge-gui/res/cardsfolder/w/withering_wisps.txt +++ b/forge-gui/res/cardsfolder/w/withering_wisps.txt @@ -3,7 +3,7 @@ ManaCost:1 B B Types:Enchantment T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | IsPresent$ Creature | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ At the beginning of the end step, if no creatures are on the battlefield, sacrifice CARDNAME. SVar:TrigSac:DB$Sacrifice | Defined$ Self -A:AB$ DamageAll | Cost$ B | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | ActivationLimit$ X | References$ X | AILogic$ DmgAllCreaturesAndPlayers | SpellDescription$ CARDNAME deals 1 damage to each creature and each player. Activate this ability no more times each turn than the number of snow Swamps you control. +A:AB$ DamageAll | Cost$ B | NumDmg$ 1 | ValidCards$ Creature | ValidPlayers$ Player | ValidDescription$ each creature and each player. | ActivationLimit$ X | AILogic$ DmgAllCreaturesAndPlayers | SpellDescription$ CARDNAME deals 1 damage to each creature and each player. Activate this ability no more times each turn than the number of snow Swamps you control. SVar:X:Count$Valid Swamp.Snow+YouCtrl SVar:NeedsToPlay:Creature AI:RemoveDeck:Random diff --git a/forge-gui/res/cardsfolder/w/witherscale_wurm.txt b/forge-gui/res/cardsfolder/w/witherscale_wurm.txt index 6878dbb9a43..99707a35a46 100644 --- a/forge-gui/res/cardsfolder/w/witherscale_wurm.txt +++ b/forge-gui/res/cardsfolder/w/witherscale_wurm.txt @@ -7,7 +7,7 @@ T:Mode$ AttackerBlockedByCreature | ValidCard$ Card.Self | ValidBlocker$ Creatur T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | Execute$ TrigRemoveCounter | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage to an opponent, remove all -1/-1 counters from it. SVar:TrigPumpAttacker:DB$ Pump | Defined$ TriggeredAttacker | KW$ Wither SVar:TrigPumpBlocker:DB$ Pump | Defined$ TriggeredBlocker | KW$ Wither -SVar:TrigRemoveCounter:DB$ RemoveCounter | CounterType$ M1M1 | CounterNum$ All | References$ All +SVar:TrigRemoveCounter:DB$ RemoveCounter | CounterType$ M1M1 | CounterNum$ All SVar:All:Count$CardCounters.M1M1 SVar:Picture:http://www.wizards.com/global/images/magic/general/witherscale_wurm.jpg Oracle:Whenever Witherscale Wurm blocks or becomes blocked by a creature, that creature gains wither until end of turn. (It deals damage to creatures in the form of -1/-1 counters.)\nWhenever Witherscale Wurm deals damage to an opponent, remove all -1/-1 counters from it. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/w/wizards_lightning.txt b/forge-gui/res/cardsfolder/w/wizards_lightning.txt index b148ce38860..b4e04b59e34 100644 --- a/forge-gui/res/cardsfolder/w/wizards_lightning.txt +++ b/forge-gui/res/cardsfolder/w/wizards_lightning.txt @@ -1,9 +1,9 @@ Name:Wizard's Lightning ManaCost:2 R Types:Instant -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 2 | EffectZone$ All | CheckSVar$ Wizard | SVarCompare$ GE1 | References$ Wizard | Description$ This spell costs {2} less to cast if you control a Wizard. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 2 | EffectZone$ All | CheckSVar$ Wizard | SVarCompare$ GE1 | Description$ This spell costs {2} less to cast if you control a Wizard. SVar:Wizard:Count$Valid Wizard.YouCtrl -A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select target | NumDmg$ 3 | References$ 3 | SpellDescription$ CARDNAME deals 3 damage to any target. +A:SP$ DealDamage | Cost$ 2 R | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select target | NumDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to any target. DeckNeeds:Type$Wizard SVar:Picture:http://www.wizards.com/global/images/magic/general/wizards_lightning.jpg Oracle:This spell costs {2} less to cast if you control a Wizard.\nWizard's Lightning deals 3 damage to any target. diff --git a/forge-gui/res/cardsfolder/w/wizards_retort.txt b/forge-gui/res/cardsfolder/w/wizards_retort.txt index 797c854a156..8af4944658d 100644 --- a/forge-gui/res/cardsfolder/w/wizards_retort.txt +++ b/forge-gui/res/cardsfolder/w/wizards_retort.txt @@ -1,7 +1,7 @@ Name:Wizard's Retort ManaCost:1 U U Types:Instant -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 1 | EffectZone$ All | CheckSVar$ Wizard | SVarCompare$ GE1 | References$ Wizard | Description$ This spell costs {1} less to cast if you control a Wizard. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 1 | EffectZone$ All | CheckSVar$ Wizard | SVarCompare$ GE1 | Description$ This spell costs {1} less to cast if you control a Wizard. SVar:Wizard:Count$Valid Wizard.YouCtrl A:SP$ Counter | Cost$ 1 U U | TargetType$ Spell | ValidTgts$ Card | SpellDescription$ Counter target spell. DeckNeeds:Type$Wizard diff --git a/forge-gui/res/cardsfolder/w/woebringer_demon.txt b/forge-gui/res/cardsfolder/w/woebringer_demon.txt index af587207c7a..586eadaecf8 100644 --- a/forge-gui/res/cardsfolder/w/woebringer_demon.txt +++ b/forge-gui/res/cardsfolder/w/woebringer_demon.txt @@ -5,7 +5,7 @@ PT:4/4 K:Flying T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of each player's upkeep, that player sacrifices a creature. If the player can't, sacrifice CARDNAME. SVar:TrigSac:DB$Sacrifice | Defined$ TriggeredPlayer | SacValid$ Creature | SubAbility$ DBSacSelf | RememberSacrificed$ True -SVar:DBSacSelf:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | References$ X | SubAbility$ DBCleanup +SVar:DBSacSelf:DB$ Sacrifice | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount SVar:NeedsToPlayVar:Y GE2 diff --git a/forge-gui/res/cardsfolder/w/wolf_of_devils_breach.txt b/forge-gui/res/cardsfolder/w/wolf_of_devils_breach.txt index c0e727cf3a4..a09c2058870 100644 --- a/forge-gui/res/cardsfolder/w/wolf_of_devils_breach.txt +++ b/forge-gui/res/cardsfolder/w/wolf_of_devils_breach.txt @@ -3,7 +3,7 @@ ManaCost:3 R R Types:Creature Elemental Wolf PT:5/5 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME attacks, you may pay {1}{R} and discard a card. If you do, CARDNAME deals damage to target creature or planeswalker equal to the discarded card's converted mana cost. -SVar:TrigDamage:AB$ DealDamage | Cost$ 1 R Discard<1/Card> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X | References$ X +SVar:TrigDamage:AB$ DealDamage | Cost$ 1 R Discard<1/Card> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | NumDmg$ X SVar:X:Discarded$CardManaCost SVar:Picture:http://www.wizards.com/global/images/magic/general/wolf_of_devils_breach.jpg Oracle:Whenever Wolf of Devil's Breach attacks, you may pay {1}{R} and discard a card. If you do, Wolf of Devil's Breach deals damage to target creature or planeswalker equal to the discarded card's converted mana cost. diff --git a/forge-gui/res/cardsfolder/w/wolfbriar_elemental.txt b/forge-gui/res/cardsfolder/w/wolfbriar_elemental.txt index fcea3e89bf6..2952947453a 100644 --- a/forge-gui/res/cardsfolder/w/wolfbriar_elemental.txt +++ b/forge-gui/res/cardsfolder/w/wolfbriar_elemental.txt @@ -4,7 +4,7 @@ Types:Creature Elemental PT:4/4 K:Multikicker:G T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When CARDNAME enters the battlefield, create a 2/2 green Wolf creature token for each time it was kicked. -SVar:TrigToken:DB$ Token | TokenAmount$ X | References$ X | TokenScript$ g_2_2_wolf | TokenOwner$ You | LegacyImage$ g 2 2 wolf wwk +SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ g_2_2_wolf | TokenOwner$ You | LegacyImage$ g 2 2 wolf wwk SVar:X:Count$TimesKicked DeckHas:Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/wolfbriar_elemental.jpg diff --git a/forge-gui/res/cardsfolder/w/wolfcallers_howl.txt b/forge-gui/res/cardsfolder/w/wolfcallers_howl.txt index 97a597d46b0..d9a30c582b3 100644 --- a/forge-gui/res/cardsfolder/w/wolfcallers_howl.txt +++ b/forge-gui/res/cardsfolder/w/wolfcallers_howl.txt @@ -2,7 +2,7 @@ Name:Wolfcaller's Howl ManaCost:3 G Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your upkeep, create X 2/2 green Wolf creature tokens, where X is the number of your opponents with four or more cards in hand. -SVar:TrigToken:DB$ Token | LegacyImage$ g 2 2 wolf c14 | TokenAmount$ X | TokenScript$ g_2_2_wolf | TokenOwner$ You | References$ X +SVar:TrigToken:DB$ Token | LegacyImage$ g 2 2 wolf c14 | TokenAmount$ X | TokenScript$ g_2_2_wolf | TokenOwner$ You SVar:X:PlayerCountOpponents$HasPropertyWithCardsInHandAtLeast4 AI:RemoveDeck:Random SVar:Picture:http://www.wizards.com/global/images/magic/general/wolfcallers_howl.jpg diff --git a/forge-gui/res/cardsfolder/w/wolverine_riders.txt b/forge-gui/res/cardsfolder/w/wolverine_riders.txt index f68e8b426c6..a9edcc40bd1 100644 --- a/forge-gui/res/cardsfolder/w/wolverine_riders.txt +++ b/forge-gui/res/cardsfolder/w/wolverine_riders.txt @@ -5,7 +5,7 @@ PT:4/4 T:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ At the beginning of your upkeep, create a 1/1 green Elf Warrior creature token. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_1_1_elf_Warrior | TokenOwner$ You | T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Elf.Other+YouCtrl | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever another elf enters the battlefield under your control, you gain life equal to its toughness. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggeredCard$CardToughness SVar:PlayMain1:TRUE DeckHints:Type$Elf diff --git a/forge-gui/res/cardsfolder/w/wood_elemental.txt b/forge-gui/res/cardsfolder/w/wood_elemental.txt index 50840cf1f03..6c72b2cee11 100644 --- a/forge-gui/res/cardsfolder/w/wood_elemental.txt +++ b/forge-gui/res/cardsfolder/w/wood_elemental.txt @@ -3,8 +3,8 @@ ManaCost:3 G Types:Creature Elemental PT:*/* K:ETBReplacement:Other:TrigSac -SVar:TrigSac:DB$ Sacrifice | Amount$ SacX | References$ SacX | SacValid$ Forest.untapped | Defined$ You | RememberSacrificed$ True | Optional$ True | SpellDescription$ As CARDNAME enters the battlefield, sacrifice any number of untapped Forests. -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Forests sacrificed as it entered the battlefield. +SVar:TrigSac:DB$ Sacrifice | Amount$ SacX | SacValid$ Forest.untapped | Defined$ You | RememberSacrificed$ True | Optional$ True | SpellDescription$ As CARDNAME enters the battlefield, sacrifice any number of untapped Forests. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Forests sacrificed as it entered the battlefield. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ DBCleanup | Static$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:SacX:Count$Valid Forest.YouCtrl+untapped diff --git a/forge-gui/res/cardsfolder/w/woodborn_behemoth.txt b/forge-gui/res/cardsfolder/w/woodborn_behemoth.txt index a3db3c64df4..de0e87a837a 100644 --- a/forge-gui/res/cardsfolder/w/woodborn_behemoth.txt +++ b/forge-gui/res/cardsfolder/w/woodborn_behemoth.txt @@ -2,7 +2,7 @@ Name:Woodborn Behemoth ManaCost:3 G G Types:Creature Elemental PT:4/4 -S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Trample | AddPower$ 4 | AddToughness$ 4 | CheckSVar$ X | SVarCompare$ GE8 | References$ X | Description$ As long as you control eight or more lands, CARDNAME gets +4/+4 and has trample. (It can deal excess combat damage to the player or planeswalker it's attacking.) +S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Trample | AddPower$ 4 | AddToughness$ 4 | CheckSVar$ X | SVarCompare$ GE8 | Description$ As long as you control eight or more lands, CARDNAME gets +4/+4 and has trample. (It can deal excess combat damage to the player or planeswalker it's attacking.) SVar:X:Count$Valid Land.YouCtrl SVar:BuffedBy:Land SVar:Picture:http://www.wizards.com/global/images/magic/general/woodborn_behemoth.jpg diff --git a/forge-gui/res/cardsfolder/w/woodland_champion.txt b/forge-gui/res/cardsfolder/w/woodland_champion.txt index 371dceae597..8afe0ced77b 100644 --- a/forge-gui/res/cardsfolder/w/woodland_champion.txt +++ b/forge-gui/res/cardsfolder/w/woodland_champion.txt @@ -3,7 +3,7 @@ ManaCost:1 G Types:Creature Elf Scout PT:2/2 T:Mode$ ChangesZoneAll | ValidCards$ Card.token+YouCtrl | Destination$ Battlefield | TriggerZones$ Battlefield | Execute$ TrigPutcounter | TriggerDescription$ Whenever one or more tokens enter the battlefield under your control, put that many +1/+1 counters on CARDNAME. -SVar:TrigPutcounter:DB$ PutCounter | CounterType$ P1P1 | Defined$ Self | CounterNum$ X | References$ X +SVar:TrigPutcounter:DB$ PutCounter | CounterType$ P1P1 | Defined$ Self | CounterNum$ X SVar:X:TriggerCount$Amount DeckHints:Ability$Token DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/w/woodvine_elemental.txt b/forge-gui/res/cardsfolder/w/woodvine_elemental.txt index 9c5e92939fb..e1c3fc03a4c 100644 --- a/forge-gui/res/cardsfolder/w/woodvine_elemental.txt +++ b/forge-gui/res/cardsfolder/w/woodvine_elemental.txt @@ -5,7 +5,7 @@ PT:4/4 K:Trample T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDig | TriggerDescription$ Parley — Whenever CARDNAME attacks, each player reveals the top card of their library. For each nonland card revealed this way, attacking creatures you control get +1/+1 until end of turn. Then each player draws a card. SVar:TrigDig:DB$ Dig | DigNum$ 1 | Defined$ Player | Reveal$ True | NoMove$ True | RememberRevealed$ True | SubAbility$ DBPump -SVar:DBPump:DB$ PumpAll | ValidCards$ Creature.attacking+YouCtrl | NumAtt$ +X | NumDef$ +X | References$ X | SubAbility$ DBDraw +SVar:DBPump:DB$ PumpAll | ValidCards$ Creature.attacking+YouCtrl | NumAtt$ +X | NumDef$ +X | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | Defined$ Player | NumCards$ 1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Valid Card.nonLand diff --git a/forge-gui/res/cardsfolder/w/word_of_binding.txt b/forge-gui/res/cardsfolder/w/word_of_binding.txt index f8d65342cfb..ffe1169f450 100644 --- a/forge-gui/res/cardsfolder/w/word_of_binding.txt +++ b/forge-gui/res/cardsfolder/w/word_of_binding.txt @@ -1,6 +1,6 @@ Name:Word of Binding ManaCost:X B B Types:Sorcery -A:SP$ Tap | Cost$ X B B | TargetMin$ X | TargetMax$ X | References$ X | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | SpellDescription$ Tap X target creatures. +A:SP$ Tap | Cost$ X B B | TargetMin$ X | TargetMax$ X | ValidTgts$ Creature | TgtPrompt$ Select X target creatures | SpellDescription$ Tap X target creatures. SVar:X:Count$xPaid Oracle:Tap X target creatures. diff --git a/forge-gui/res/cardsfolder/w/worldknit.txt b/forge-gui/res/cardsfolder/w/worldknit.txt index 71d30e1aa98..65b7dabe559 100644 --- a/forge-gui/res/cardsfolder/w/worldknit.txt +++ b/forge-gui/res/cardsfolder/w/worldknit.txt @@ -2,7 +2,7 @@ Name:Worldknit ManaCost:no cost Types:Conspiracy T:Mode$ NewGame | TriggerZones$ Command | Execute$ TrigWorldknit | Static$ True | TriggerDescription$ As long as every card in your card pool started the game in your library or in the command zone, lands you control have "{T}: Add one mana of any color." -SVar:TrigWorldknit:DB$ StoreSVar | SVar$ X | Type$ Number | Expression$ 1 | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ0 | References$ Y +SVar:TrigWorldknit:DB$ StoreSVar | SVar$ X | Type$ Number | Expression$ 1 | ConditionCheckSVar$ Y | ConditionSVarCompare$ EQ0 S:Mode$ Continuous | Affected$ Land.YouCtrl | EffectZone$ Command | CheckSVar$ X | AddAbility$ AnyMana | Description$ Lands you control have "{T}: Add one mana of any one color." SVar:AnyMana:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 1 | SpellDescription$ Add one mana of any one color. SVar:X:Number$0 diff --git a/forge-gui/res/cardsfolder/w/worldly_counsel.txt b/forge-gui/res/cardsfolder/w/worldly_counsel.txt index fdcb5f6aa9d..adb4145c5bf 100644 --- a/forge-gui/res/cardsfolder/w/worldly_counsel.txt +++ b/forge-gui/res/cardsfolder/w/worldly_counsel.txt @@ -1,7 +1,7 @@ Name:Worldly Counsel ManaCost:1 U Types:Instant -A:SP$ Dig | Cost$ 1 U | DigNum$ X | References$ X | SpellDescription$ Domain — Look at the top X cards of your library, where X is the number of basic land types among lands you control. Put one of those cards into your hand and the rest on the bottom of your library in any order. +A:SP$ Dig | Cost$ 1 U | DigNum$ X | SpellDescription$ Domain — Look at the top X cards of your library, where X is the number of basic land types among lands you control. Put one of those cards into your hand and the rest on the bottom of your library in any order. SVar:X:Count$Domain SVar:Picture:http://www.wizards.com/global/images/magic/general/worldly_counsel.jpg Oracle:Domain — Look at the top X cards of your library, where X is the number of basic land types among lands you control. Put one of those cards into your hand and the rest on the bottom of your library in any order. diff --git a/forge-gui/res/cardsfolder/w/worm_harvest.txt b/forge-gui/res/cardsfolder/w/worm_harvest.txt index a5b25e4fda3..6a71e4a6ab2 100644 --- a/forge-gui/res/cardsfolder/w/worm_harvest.txt +++ b/forge-gui/res/cardsfolder/w/worm_harvest.txt @@ -2,7 +2,7 @@ Name:Worm Harvest ManaCost:2 BG BG BG Types:Sorcery K:Retrace -A:SP$ Token | Cost$ 2 BG BG BG | TokenAmount$ X | References$ X | TokenScript$ bg_1_1_worm | TokenOwner$ You | LegacyImage$ bg 1 1 worm eve | SpellDescription$ Create a 1/1 black and green Worm creature token for each land card in your graveyard. +A:SP$ Token | Cost$ 2 BG BG BG | TokenAmount$ X | TokenScript$ bg_1_1_worm | TokenOwner$ You | LegacyImage$ bg 1 1 worm eve | SpellDescription$ Create a 1/1 black and green Worm creature token for each land card in your graveyard. SVar:X:Count$TypeInYourYard.Land SVar:NeedsToPlayVar:Z GE2 SVar:Z:Count$ValidGraveyard Land.YouOwn diff --git a/forge-gui/res/cardsfolder/w/wound_reflection.txt b/forge-gui/res/cardsfolder/w/wound_reflection.txt index 3ca92960ea4..a06e2487536 100644 --- a/forge-gui/res/cardsfolder/w/wound_reflection.txt +++ b/forge-gui/res/cardsfolder/w/wound_reflection.txt @@ -3,7 +3,7 @@ ManaCost:5 B Types:Enchantment T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | Execute$ RepeatOpps | TriggerDescription$ At the beginning of each end step, each opponent loses life equal to the life they lost this turn. (Damage causes loss of life.) SVar:RepeatOpps:DB$ RepeatEach | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ TrigLoseLife -SVar:TrigLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X | References$ X +SVar:TrigLoseLife:DB$ LoseLife | Defined$ Remembered | LifeAmount$ X SVar:X:PlayerCountRemembered$LifeLostThisTurn SVar:Picture:http://www.wizards.com/global/images/magic/general/wound_reflection.jpg Oracle:At the beginning of each end step, each opponent loses life equal to the life they lost this turn. (Damage causes loss of life.) diff --git a/forge-gui/res/cardsfolder/w/wrack_with_madness.txt b/forge-gui/res/cardsfolder/w/wrack_with_madness.txt index 364572dbcdf..2e202bfd97a 100644 --- a/forge-gui/res/cardsfolder/w/wrack_with_madness.txt +++ b/forge-gui/res/cardsfolder/w/wrack_with_madness.txt @@ -1,7 +1,7 @@ Name:Wrack with Madness ManaCost:3 R Types:Sorcery -A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | DamageSource$ Targeted | NumDmg$ X | References$ X | SpellDescription$ Target creature deals damage to itself equal to its power. +A:SP$ DealDamage | Cost$ 3 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | DamageSource$ Targeted | NumDmg$ X | SpellDescription$ Target creature deals damage to itself equal to its power. SVar:X:Targeted$CardPower AI:RemoveDeck:All Oracle:Target creature deals damage to itself equal to its power. diff --git a/forge-gui/res/cardsfolder/w/wurmcalling.txt b/forge-gui/res/cardsfolder/w/wurmcalling.txt index 2c5f4724510..254dc0c7530 100644 --- a/forge-gui/res/cardsfolder/w/wurmcalling.txt +++ b/forge-gui/res/cardsfolder/w/wurmcalling.txt @@ -2,7 +2,7 @@ Name:Wurmcalling ManaCost:X G Types:Sorcery K:Buyback:2 G -A:SP$ Token | Cost$ X G | TokenAmount$ 1 | TokenScript$ g_x_x_wurm | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | References$ X | LegacyImage$ g x x wurm tsp | SpellDescription$ Create an X/X green Wurm creature token. +A:SP$ Token | Cost$ X G | TokenAmount$ 1 | TokenScript$ g_x_x_wurm | TokenOwner$ You | TokenPower$ X | TokenToughness$ X | LegacyImage$ g x x wurm tsp | SpellDescription$ Create an X/X green Wurm creature token. SVar:X:Count$xPaid SVar:Picture:http://www.wizards.com/global/images/magic/general/wurmcalling.jpg Oracle:Buyback {2}{G} (You may pay an additional {2}{G} as you cast this spell. If you do, put this card into your hand as it resolves.)\nCreate an X/X green Wurm creature token. diff --git a/forge-gui/res/cardsfolder/w/wyleth_soul_of_steel.txt b/forge-gui/res/cardsfolder/w/wyleth_soul_of_steel.txt index 93bd3d653be..cca7994252a 100644 --- a/forge-gui/res/cardsfolder/w/wyleth_soul_of_steel.txt +++ b/forge-gui/res/cardsfolder/w/wyleth_soul_of_steel.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Warrior PT:2/2 K:Trample T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ Whenever CARDNAME attacks, draw a card for each Aura and Equipment attached to it. -SVar:TrigDraw:DB$ Draw | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | NumCards$ X SVar:X:Count$Valid Equipment.Attached,Aura.Attached SVar:HasAttackEffect:TRUE SVar:EnchantMe:Multiple diff --git a/forge-gui/res/cardsfolder/x/xathrid_demon.txt b/forge-gui/res/cardsfolder/x/xathrid_demon.txt index 9533b37228f..be9790a136b 100644 --- a/forge-gui/res/cardsfolder/x/xathrid_demon.txt +++ b/forge-gui/res/cardsfolder/x/xathrid_demon.txt @@ -6,9 +6,9 @@ K:Flying K:Trample T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigSac | TriggerDescription$ At the beginning of your upkeep, sacrifice a creature other than CARDNAME, then each opponent loses life equal to the sacrificed creature's power. If you can't sacrifice a creature, tap CARDNAME and you lose 7 life. SVar:TrigSac:DB$ Sacrifice | Defined$ You | SacValid$ Creature.Other | RememberSacrificed$ True | SubAbility$ DBLoseLifeOpp -SVar:DBLoseLifeOpp:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | References$ X | SubAbility$ DBLoseLifeYou -SVar:DBLoseLifeYou:DB$ LoseLife | Defined$ You | LifeAmount$ 7 | ConditionCheckSVar$ Y | References$ Y | ConditionSVarCompare$ LT1 | SubAbility$ DBTap -SVar:DBTap:DB$ Tap | Defined$ Self | ConditionCheckSVar$ Y | References$ Y | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup +SVar:DBLoseLifeOpp:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ X | SubAbility$ DBLoseLifeYou +SVar:DBLoseLifeYou:DB$ LoseLife | Defined$ You | LifeAmount$ 7 | ConditionCheckSVar$ Y | ConditionSVarCompare$ LT1 | SubAbility$ DBTap +SVar:DBTap:DB$ Tap | Defined$ Self | ConditionCheckSVar$ Y | ConditionSVarCompare$ LT1 | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:RememberedLKI$CardPower SVar:Y:Remembered$Amount diff --git a/forge-gui/res/cardsfolder/x/xenagos_god_of_revels.txt b/forge-gui/res/cardsfolder/x/xenagos_god_of_revels.txt index 9befae256c0..e35b8fe6849 100644 --- a/forge-gui/res/cardsfolder/x/xenagos_god_of_revels.txt +++ b/forge-gui/res/cardsfolder/x/xenagos_god_of_revels.txt @@ -3,10 +3,10 @@ ManaCost:3 R G Types:Legendary Enchantment Creature God PT:6/5 K:Indestructible -S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | References$ X | Description$ As long as your devotion to red and green is less than seven, CARDNAME isn't a creature. +S:Mode$ Continuous | Affected$ Card.Self | RemoveType$ Creature | CheckSVar$ X | SVarCompare$ LT7 | Description$ As long as your devotion to red and green is less than seven, CARDNAME isn't a creature. SVar:X:Count$DevotionDual.Red.Green T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | Execute$ TrigPump | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of combat on your turn, another target creature you control gains haste and gets +X/+X until end of turn, where X is that creature's power. -SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.Other+YouCtrl | TgtPrompt$ Select another target creature you control | NumAtt$ +Y | NumDef$ +Y | KW$ Haste | References$ Y +SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.Other+YouCtrl | TgtPrompt$ Select another target creature you control | NumAtt$ +Y | NumDef$ +Y | KW$ Haste SVar:Y:Targeted$CardPower SVar:PlayMain1:TRUE SVar:BuffedBy:Permanent.Red,Permanent.Green diff --git a/forge-gui/res/cardsfolder/x/xenagos_the_reveler.txt b/forge-gui/res/cardsfolder/x/xenagos_the_reveler.txt index 68e04967eee..33b5ff86e27 100644 --- a/forge-gui/res/cardsfolder/x/xenagos_the_reveler.txt +++ b/forge-gui/res/cardsfolder/x/xenagos_the_reveler.txt @@ -2,11 +2,11 @@ Name:Xenagos, the Reveler ManaCost:2 R G Types:Legendary Planeswalker Xenagos Loyalty:3 -A:AB$ Mana | Cost$ AddCounter<1/LOYALTY> | Amount$ X | Produced$ Combo R G | Planeswalker$ True | References$ X | SpellDescription$ Add X mana in any combination of {R} and/or {G}, where X is the number of creatures you control. +A:AB$ Mana | Cost$ AddCounter<1/LOYALTY> | Amount$ X | Produced$ Combo R G | Planeswalker$ True | SpellDescription$ Add X mana in any combination of {R} and/or {G}, where X is the number of creatures you control. SVar:X:Count$Valid Creature.YouCtrl A:AB$ Token | Cost$ AddCounter<0/LOYALTY> | TokenAmount$ 1 | TokenScript$ rg_2_2_satyr_haste | TokenOwner$ You | Planeswalker$ True | SpellDescription$ Create a 2/2 red and green Satyr creature token with haste. A:AB$ Dig | Cost$ SubCounter<6/LOYALTY> | DigNum$ 7 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | Planeswalker$ True | Ultimate$ True | SubAbility$ DBChangeZone | SpellDescription$ Exile the top seven cards of your library. You may put any number of creature and/or land cards from among them onto the battlefield. -SVar:DBChangeZone:DB$ ChangeZone | Origin$ Exile | Destination$ Battlefield | ChangeType$ Creature.IsRemembered,Land.IsRemembered | Hidden$ True | ChangeNum$ Y | References$ Y | SubAbility$ DBCleanup +SVar:DBChangeZone:DB$ ChangeZone | Origin$ Exile | Destination$ Battlefield | ChangeType$ Creature.IsRemembered,Land.IsRemembered | Hidden$ True | ChangeNum$ Y | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:Y:Count$ValidExile Creature.IsRemembered,Land.IsRemembered AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/x/xenic_poltergeist.txt b/forge-gui/res/cardsfolder/x/xenic_poltergeist.txt index 30d58e0f85b..996561f37d9 100644 --- a/forge-gui/res/cardsfolder/x/xenic_poltergeist.txt +++ b/forge-gui/res/cardsfolder/x/xenic_poltergeist.txt @@ -2,7 +2,7 @@ Name:Xenic Poltergeist ManaCost:1 B B Types:Creature Spirit PT:1/1 -A:AB$ Animate | Cost$ T | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select target noncreature artifact | Power$ X | Toughness$ X | References$ X | Types$ Creature,Artifact | UntilYourNextUpkeep$ True | SpellDescription$ Until your next upkeep, target noncreature artifact becomes an artifact creature with power and toughness each equal to its converted mana cost. +A:AB$ Animate | Cost$ T | ValidTgts$ Artifact.nonCreature | TgtPrompt$ Select target noncreature artifact | Power$ X | Toughness$ X | Types$ Creature,Artifact | UntilYourNextUpkeep$ True | SpellDescription$ Until your next upkeep, target noncreature artifact becomes an artifact creature with power and toughness each equal to its converted mana cost. SVar:X:Targeted$CardManaCost AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/xenic_poltergeist.jpg diff --git a/forge-gui/res/cardsfolder/x/xyris_the_writhing_storm.txt b/forge-gui/res/cardsfolder/x/xyris_the_writhing_storm.txt index b74ff5a6c0d..3b1f57f171c 100755 --- a/forge-gui/res/cardsfolder/x/xyris_the_writhing_storm.txt +++ b/forge-gui/res/cardsfolder/x/xyris_the_writhing_storm.txt @@ -6,8 +6,8 @@ K:Flying T:Mode$ Drawn | ValidCard$ Card.OppOwn | NotFirstCardInDrawStep$ True | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever an opponent draws a card except the first one they draw in each of their draw steps, create a 1/1 green Snake creature token. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_1_1_snake | TokenOwner$ You T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigDraw | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you and that player each draw that many cards. -SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | Defined$ TriggeredTarget | NumCards$ X | References$ X +SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | Defined$ TriggeredTarget | NumCards$ X SVar:X:TriggerCount$DamageAmount DeckHas:Ability$Token Oracle:Flying\nWhenever an opponent draws a card except the first one they draw in each of their draw steps, create a 1/1 green Snake creature token.\nWhenever Xyris, the Writhing Storm deals combat damage to a player, you and that player each draw that many cards. diff --git a/forge-gui/res/cardsfolder/y/yannik_scavenging_sentinel.txt b/forge-gui/res/cardsfolder/y/yannik_scavenging_sentinel.txt index ed679803db9..4ec67788180 100755 --- a/forge-gui/res/cardsfolder/y/yannik_scavenging_sentinel.txt +++ b/forge-gui/res/cardsfolder/y/yannik_scavenging_sentinel.txt @@ -11,7 +11,7 @@ SVar:DBEffect:DB$ Effect | Triggers$ ComeBack | SVars$ TrigReturn | RememberObje SVar:ComeBack:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.IsImprinted | Execute$ TrigReturn | TriggerZones$ Command | TriggerController$ TriggeredCardController | Static$ True | TriggerDescription$ This creature is exiled until EFFECTSOURCE leaves the battlefield SVar:TrigReturn:DB$ ChangeZone | Defined$ ChosenCard | Origin$ Exile | Destination$ Battlefield SVar:DBImmediateTrigger:DB$ ImmediateTrigger | Execute$ TrigPutCounters | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1 | TriggerDescription$ When you do, distribute X +1/+1 counters among any number of target creatures, where X is the exiled creature's power. -SVar:TrigPutCounters:DB$ PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature to distribute counters to | CounterType$ P1P1 | CounterNum$ X | TargetMin$ 1 | TargetMax$ X | DividedAsYouChoose$ X | References$ X | SubAbility$ DBCleanup | SpellDescription$ Distribute X +1/+1 counters among any number of target creatures. +SVar:TrigPutCounters:DB$ PutCounter | ValidTgts$ Creature | TgtPrompt$ Select target creature to distribute counters to | CounterType$ P1P1 | CounterNum$ X | TargetMin$ 1 | TargetMax$ X | DividedAsYouChoose$ X | SubAbility$ DBCleanup | SpellDescription$ Distribute X +1/+1 counters among any number of target creatures. SVar:X:RememberedLKI$CardPower SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True | ClearRemembered$ True DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/y/yasova_dragonclaw.txt b/forge-gui/res/cardsfolder/y/yasova_dragonclaw.txt index 04d93e629f9..cb4f5b2f3e1 100644 --- a/forge-gui/res/cardsfolder/y/yasova_dragonclaw.txt +++ b/forge-gui/res/cardsfolder/y/yasova_dragonclaw.txt @@ -4,7 +4,7 @@ Types:Legendary Creature Human Warrior PT:4/2 K:Trample T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigChange | TriggerDescription$ At the beginning of combat on your turn, you may pay {1}{U/R}{U/R}. If you do, gain control of target creature an opponent controls with power less than CARDNAME's power until end of turn, untap that creature, and it gains haste until end of turn. -SVar:TrigChange:AB$GainControl | Cost$ 1 UR UR | TgtPrompt$ Choose target creature an opponent controls with power less than CARDNAME's power. | ValidTgts$ Creature.OppCtrl+powerLTX | References$ X | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SpellDescription$ Gain control of target creature an opponent controls with power less than CARDNAME's power until end of turn, untap that creature, and it gains haste until end of turn. +SVar:TrigChange:AB$GainControl | Cost$ 1 UR UR | TgtPrompt$ Choose target creature an opponent controls with power less than CARDNAME's power. | ValidTgts$ Creature.OppCtrl+powerLTX | LoseControl$ EOT | Untap$ True | AddKWs$ Haste | SpellDescription$ Gain control of target creature an opponent controls with power less than CARDNAME's power until end of turn, untap that creature, and it gains haste until end of turn. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/yasova_dragonclaw.jpg Oracle:Trample\nAt the beginning of combat on your turn, you may pay {1}{U/R}{U/R}. If you do, gain control of target creature an opponent controls with power less than Yasova Dragonclaw's power until end of turn, untap that creature, and it gains haste until end of turn. diff --git a/forge-gui/res/cardsfolder/y/yavimaya_kavu.txt b/forge-gui/res/cardsfolder/y/yavimaya_kavu.txt index 86e0798d2fa..55afa75254a 100644 --- a/forge-gui/res/cardsfolder/y/yavimaya_kavu.txt +++ b/forge-gui/res/cardsfolder/y/yavimaya_kavu.txt @@ -2,7 +2,7 @@ Name:Yavimaya Kavu ManaCost:2 R G Types:Creature Kavu PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ Y | References$ X, Y | Description$ CARDNAME's power is equal to the number of red creatures on the battlefield. CARDNAME's toughness is equal to the number of green creatures on the battlefield. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ Y | Description$ CARDNAME's power is equal to the number of red creatures on the battlefield. CARDNAME's toughness is equal to the number of green creatures on the battlefield. SVar:X:Count$Valid Creature.Red SVar:Y:Count$Valid Creature.Green SVar:BuffedBy:Creature.Red,Creature.Green diff --git a/forge-gui/res/cardsfolder/y/yew_spirit.txt b/forge-gui/res/cardsfolder/y/yew_spirit.txt index 814967dc288..1a0e3ee976b 100644 --- a/forge-gui/res/cardsfolder/y/yew_spirit.txt +++ b/forge-gui/res/cardsfolder/y/yew_spirit.txt @@ -2,7 +2,7 @@ Name:Yew Spirit ManaCost:4 G Types:Creature Spirit Treefolk PT:3/3 -A:AB$ Pump | Cost$ 2 G G | NumAtt$ +X | NumDef$ +X | References$ X | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is its power. +A:AB$ Pump | Cost$ 2 G G | NumAtt$ +X | NumDef$ +X | SpellDescription$ CARDNAME gets +X/+X until end of turn, where X is its power. SVar:X:Count$CardPower SVar:Picture:http://www.wizards.com/global/images/magic/general/yew_spirit.jpg Oracle:{2}{G}{G}: Yew Spirit gets +X/+X until end of turn, where X is its power. diff --git a/forge-gui/res/cardsfolder/y/yidaro_wandering_monster.txt b/forge-gui/res/cardsfolder/y/yidaro_wandering_monster.txt index 52e6924bd82..cae3f653ea2 100755 --- a/forge-gui/res/cardsfolder/y/yidaro_wandering_monster.txt +++ b/forge-gui/res/cardsfolder/y/yidaro_wandering_monster.txt @@ -7,7 +7,7 @@ K:Trample K:Cycling:1 R T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ DBEffect | TriggerDescription$ When you cycle CARDNAME, shuffle it into your library from your graveyard. If you've cycled a card named CARDNAME four or more times this game, put it onto the battlefield from your graveyard instead. (Do this before you draw.) SVar:DBEffect:DB$ Effect | Duration$ Permanent | Name$ Wandering Effect | SubAbility$ DBBranch -SVar:DBBranch:DB$ Branch | References$ X | BranchConditionSVar$ X | BranchConditionSVarCompare$ GE4 | TrueSubAbility$ DBChangeZone1 | FalseSubAbility$ DBChangeZone2 +SVar:DBBranch:DB$ Branch | BranchConditionSVar$ X | BranchConditionSVarCompare$ GE4 | TrueSubAbility$ DBChangeZone1 | FalseSubAbility$ DBChangeZone2 SVar:DBChangeZone1:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | Defined$ TriggeredCardLKICopy SVar:DBChangeZone2:DB$ ChangeZone | Origin$ Graveyard | Destination$ Library | Shuffle$ True | Defined$ TriggeredCardLKICopy SVar:X:Count$ValidCommand Effect.YouCtrl+namedWandering Effect diff --git a/forge-gui/res/cardsfolder/y/yisan_the_wanderer_bard.txt b/forge-gui/res/cardsfolder/y/yisan_the_wanderer_bard.txt index 878d6735520..bb66c1a697f 100644 --- a/forge-gui/res/cardsfolder/y/yisan_the_wanderer_bard.txt +++ b/forge-gui/res/cardsfolder/y/yisan_the_wanderer_bard.txt @@ -2,7 +2,7 @@ Name:Yisan, the Wanderer Bard ManaCost:2 G Types:Legendary Creature Human Rogue PT:2/3 -A:AB$ ChangeZone | Cost$ 2 G T AddCounter<1/VERSE> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcEQX | References$ X | ChangeNum$ 1 | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card with converted mana cost equal to the number of verse counters on CARDNAME, put it onto the battlefield, then shuffle your library. +A:AB$ ChangeZone | Cost$ 2 G T AddCounter<1/VERSE> | Origin$ Library | Destination$ Battlefield | ChangeType$ Creature.cmcEQX | ChangeNum$ 1 | StackDescription$ SpellDescription | SpellDescription$ Search your library for a creature card with converted mana cost equal to the number of verse counters on CARDNAME, put it onto the battlefield, then shuffle your library. SVar:X:Count$CardCounters.VERSE SVar:Picture:http://www.wizards.com/global/images/magic/general/yisan_the_wanderer_bard.jpg Oracle:{2}{G}, {T}, Put a verse counter on Yisan, the Wanderer Bard: Search your library for a creature card with converted mana cost equal to the number of verse counters on Yisan, put it onto the battlefield, then shuffle your library. diff --git a/forge-gui/res/cardsfolder/y/yorion_sky_nomad.txt b/forge-gui/res/cardsfolder/y/yorion_sky_nomad.txt index f591132362b..b628c7858b4 100644 --- a/forge-gui/res/cardsfolder/y/yorion_sky_nomad.txt +++ b/forge-gui/res/cardsfolder/y/yorion_sky_nomad.txt @@ -5,7 +5,7 @@ PT:4/5 K:Companion:Special:DeckSizePlus20:Your starting deck contains at least twenty cards more than the minimum deck size. K:Flying T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, exile any number of other cards you own and control. Return those cards to the battlefield at the beginning of the next end step. -SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | ChangeType$ Permanent.nonLand+Other+YouOwn+YouCtrl | SelectPrompt$ Select any number of other nonland permanents you own and control | Hidden$ True | ChangeNum$ X | References$ X | RememberChanged$ True | SubAbility$ DelTrig +SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | ChangeType$ Permanent.nonLand+Other+YouOwn+YouCtrl | SelectPrompt$ Select any number of other nonland permanents you own and control | Hidden$ True | ChangeNum$ X | RememberChanged$ True | SubAbility$ DelTrig SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | Execute$ TrigReturn | RememberObjects$ RememberedLKI | TriggerDescription$ Return those cards to the battlefield at the beginning of the next end step. | SubAbility$ DBCleanup SVar:TrigReturn:DB$ ChangeZone | Origin$ Exile | Destination$ Battlefield | Defined$ DelayTriggerRememberedLKI SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True diff --git a/forge-gui/res/cardsfolder/y/yorvo_lord_of_garenbrig.txt b/forge-gui/res/cardsfolder/y/yorvo_lord_of_garenbrig.txt index 4154fbd4d50..89e60d7ed9b 100644 --- a/forge-gui/res/cardsfolder/y/yorvo_lord_of_garenbrig.txt +++ b/forge-gui/res/cardsfolder/y/yorvo_lord_of_garenbrig.txt @@ -5,7 +5,7 @@ PT:0/0 K:etbCounter:P1P1:4 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Other+YouCtrl+Green | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever another green creature enters the battlefield under your control, put a +1/+1 counter on CARDNAME. Then if that creature's power is greater than CARDNAME's power, put another +1/+1 counter on CARDNAME. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GEY | References$ X,Y +SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | ConditionCheckSVar$ X | ConditionSVarCompare$ GEY SVar:X:TriggeredCard$CardPower SVar:Y:Count$CardPower DeckHas:Ability$Counters diff --git a/forge-gui/res/cardsfolder/y/your_inescapable_doom.txt b/forge-gui/res/cardsfolder/y/your_inescapable_doom.txt index 8bdbd7b7190..e0825b89244 100644 --- a/forge-gui/res/cardsfolder/y/your_inescapable_doom.txt +++ b/forge-gui/res/cardsfolder/y/your_inescapable_doom.txt @@ -3,8 +3,8 @@ ManaCost:no cost Types:Ongoing Scheme T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Command | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your end step, put a doom counter on this scheme, then this scheme deals damage equal to the number of doom counters on it to the opponent with the highest life total among your opponents. If two or more players are tied for highest life total, you choose one. SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ DOOM | CounterNum$ 1 | SubAbility$ DBChoosePlayer -SVar:DBChoosePlayer:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent+LifeEquals_X | References$ X | SubAbility$ DBDmg -SVar:DBDmg:DB$ DealDamage | Defined$ ChosenPlayer | NumDmg$ Y | References$ Y +SVar:DBChoosePlayer:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent+LifeEquals_X | SubAbility$ DBDmg +SVar:DBDmg:DB$ DealDamage | Defined$ ChosenPlayer | NumDmg$ Y SVar:X:PlayerCountOpponents$HighestLifeTotal SVar:Y:Count$CardCounters.DOOM SVar:Picture:https://downloads.cardforge.org/images/cards/ARC/Your Inescapable Doom.full.jpg diff --git a/forge-gui/res/cardsfolder/y/yuriko_the_tigers_shadow.txt b/forge-gui/res/cardsfolder/y/yuriko_the_tigers_shadow.txt index 794a2821905..bf6f7595aa7 100644 --- a/forge-gui/res/cardsfolder/y/yuriko_the_tigers_shadow.txt +++ b/forge-gui/res/cardsfolder/y/yuriko_the_tigers_shadow.txt @@ -5,7 +5,7 @@ PT:1/3 K:Ninjutsu:U B:Commander T:Mode$ DamageDone | ValidSource$ Ninja.YouCtrl | ValidTarget$ Player | CombatDamage$ True | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ Whenever a Ninja you control deals combat damage to a player, reveal the top card of your library and put that card into your hand. Each opponent loses life equal to that card's converted mana cost. SVar:TrigDig:DB$Dig | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | RememberChanged$ True | SubAbility$ DBLoseLife -SVar:DBLoseLife:DB$LoseLife | LifeAmount$ X | Defined$ Player.Opponent | SubAbility$ DBCleanup | References$ X +SVar:DBLoseLife:DB$LoseLife | LifeAmount$ X | Defined$ Player.Opponent | SubAbility$ DBCleanup SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True SVar:X:Remembered$CardManaCost DeckHints:Type$Ninja diff --git a/forge-gui/res/cardsfolder/z/zagras_thief_of_heartbeats.txt b/forge-gui/res/cardsfolder/z/zagras_thief_of_heartbeats.txt index 75a3de4f9ec..492931b01f9 100644 --- a/forge-gui/res/cardsfolder/z/zagras_thief_of_heartbeats.txt +++ b/forge-gui/res/cardsfolder/z/zagras_thief_of_heartbeats.txt @@ -5,7 +5,7 @@ PT:4/4 K:Flying K:Deathtouch K:Haste -S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | References$ X | Description$ This spell costs {1} less to cast for each creature in your party. +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each creature in your party. SVar:X:Count$Party S:Mode$ Continuous | Affected$ Creature.Other+YouCtrl | AddKeyword$ Deathtouch | Description$ Other creatures you control have deathtouch. T:Mode$ DamageDone | ValidSource$ Creature.YouCtrl | ValidTarget$ Planeswalker | CombatDamage$ True | TriggerZones$ Battlefield | Execute$ TrigDestroy | TriggerDescription$ Whenever a creature you control deals combat damage to a planeswalker, destroy that planeswalker. diff --git a/forge-gui/res/cardsfolder/z/zaxara_the_exemplary.txt b/forge-gui/res/cardsfolder/z/zaxara_the_exemplary.txt index 2b5a297066d..f6a871b3c51 100755 --- a/forge-gui/res/cardsfolder/z/zaxara_the_exemplary.txt +++ b/forge-gui/res/cardsfolder/z/zaxara_the_exemplary.txt @@ -6,7 +6,7 @@ K:Deathtouch A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 2 | SpellDescription$ Add two mana of any one color. T:Mode$ SpellCast | ValidCard$ Card.hasXCost | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever you cast a spell with {X} in its mana cost, create a 0/0 green Hydra creature token, then put X +1/+1 counters on it. SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenScript$ g_0_0_hydra | TokenOwner$ You | RememberTokens$ True | SubAbility$ DBPutCounter -SVar:DBPutCounter:DB$ PutCounter | Defined$ Remembered | CounterType$ P1P1 | CounterNum$ X | References$ X | SubAbility$ DBCleanup +SVar:DBPutCounter:DB$ PutCounter | Defined$ Remembered | CounterType$ P1P1 | CounterNum$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Count$xPaid DeckHas:Ability$Token diff --git a/forge-gui/res/cardsfolder/z/zealots_en_dal.txt b/forge-gui/res/cardsfolder/z/zealots_en_dal.txt index 408dff5bc7d..dab8070e0fd 100644 --- a/forge-gui/res/cardsfolder/z/zealots_en_dal.txt +++ b/forge-gui/res/cardsfolder/z/zealots_en_dal.txt @@ -3,7 +3,7 @@ ManaCost:3 W Types:Creature Human Soldier PT:2/4 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Permanent.nonLand+White+YouCtrl | PresentCompare$ EQX | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ At the beginning of your upkeep, if all nonland permanents you control are white, you gain 1 life. -SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ 1 | References$ X +SVar:TrigGainLife:DB$GainLife | Defined$ You | LifeAmount$ 1 SVar:X:Count$Valid Permanent.nonLand+YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/zealots_en_dal.jpg Oracle:At the beginning of your upkeep, if all nonland permanents you control are white, you gain 1 life. diff --git a/forge-gui/res/cardsfolder/z/zealous_inquisitor.txt b/forge-gui/res/cardsfolder/z/zealous_inquisitor.txt index 31a9cec7863..4be20b71d95 100644 --- a/forge-gui/res/cardsfolder/z/zealous_inquisitor.txt +++ b/forge-gui/res/cardsfolder/z/zealous_inquisitor.txt @@ -2,7 +2,7 @@ Name:Zealous Inquisitor ManaCost:2 W Types:Creature Human Cleric PT:2/2 -A:AB$ Effect | Cost$ 1 W | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ Zealous | SVars$ ZealousDmg | References$ Zealous,ZealousDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature instead. +A:AB$ Effect | Cost$ 1 W | ValidTgts$ Creature | TgtPrompt$ Select target creature to redirect the damage to | ReplacementEffects$ Zealous | SVars$ ZealousDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to target creature instead. SVar:Zealous:Event$ DamageDone | ValidTarget$ Creature.EffectSource | ReplaceWith$ ZealousDmg | DamageTarget$ Remembered | Description$ The next 1 damage that would be dealt to EFFECTSOURCE this turn is dealt to target creature instead. SVar:ZealousDmg:DB$ ReplaceSplitDamage | DamageTarget$ Remembered AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/z/zebra_unicorn.txt b/forge-gui/res/cardsfolder/z/zebra_unicorn.txt index 95bfb0ffcea..978bc4d6dcd 100644 --- a/forge-gui/res/cardsfolder/z/zebra_unicorn.txt +++ b/forge-gui/res/cardsfolder/z/zebra_unicorn.txt @@ -3,7 +3,7 @@ ManaCost:2 G W Types:Creature Unicorn PT:2/2 T:Mode$ DamageDealtOnce | ValidSource$ Card.Self | Execute$ TrigGain | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals damage, you gain that much life. -SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +SVar:TrigGain:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:TriggerCount$DamageAmount SVar:HasCombatEffect:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/zebra_unicorn.jpg diff --git a/forge-gui/res/cardsfolder/z/zedruu_the_greathearted.txt b/forge-gui/res/cardsfolder/z/zedruu_the_greathearted.txt index aa13087c1ad..a1aec9399e8 100644 --- a/forge-gui/res/cardsfolder/z/zedruu_the_greathearted.txt +++ b/forge-gui/res/cardsfolder/z/zedruu_the_greathearted.txt @@ -8,8 +8,8 @@ SVar:DBPumpPermanent:DB$ Pump | ValidTgts$ Permanent.YouCtrl | TgtPrompt$ Select SVar:DBGainControl:DB$ GainControl | Defined$ Targeted | NewController$ Remembered | SubAbility$ DBForgetRemembered SVar:DBForgetRemembered:DB$ Cleanup | ClearRemembered$ True T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ GainLife | TriggerDescription$ At the beginning of your upkeep, you gain X life and draw X cards, where X is the number of permanents you own that your opponents control. -SVar:GainLife:DB$ GainLife | LifeAmount$ X | References$ X | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ X | References$ X +SVar:GainLife:DB$ GainLife | LifeAmount$ X | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | NumCards$ X SVar:X:Count$Valid Permanent.YouOwn+OwnerDoesntControl AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/zedruu_the_greathearted.jpg diff --git a/forge-gui/res/cardsfolder/z/zenith_flare.txt b/forge-gui/res/cardsfolder/z/zenith_flare.txt index 162c33f7d94..f72065f7142 100755 --- a/forge-gui/res/cardsfolder/z/zenith_flare.txt +++ b/forge-gui/res/cardsfolder/z/zenith_flare.txt @@ -1,8 +1,8 @@ Name:Zenith Flare ManaCost:2 R W Types:Instant -A:SP$ DealDamage | Cost$ 2 R W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | References$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to any target and you gain X life, where X is the number of cards with a cycling ability in your graveyard. -SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X +A:SP$ DealDamage | Cost$ 2 R W | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target | NumDmg$ X | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals X damage to any target and you gain X life, where X is the number of cards with a cycling ability in your graveyard. +SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:X:Count$ValidGraveyard Card.YouOwn+withCycling,Card.YouOwn+withTypeCycling DeckHas:Ability$LifeGain Oracle:Zenith Flare deals X damage to any target and you gain X life, where X is the number of cards with a cycling ability in your graveyard. diff --git a/forge-gui/res/cardsfolder/z/zhalfirin_crusader.txt b/forge-gui/res/cardsfolder/z/zhalfirin_crusader.txt index 848cde078b5..dcb1fbfdce7 100644 --- a/forge-gui/res/cardsfolder/z/zhalfirin_crusader.txt +++ b/forge-gui/res/cardsfolder/z/zhalfirin_crusader.txt @@ -3,7 +3,7 @@ ManaCost:1 W W Types:Creature Human Knight PT:2/2 K:Flanking -A:AB$ Effect | Cost$ 1 W | Name$ Zhalfirin Redirection | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to redirect the damage to | ReplacementEffects$ Zhalfirin | SVars$ ZhalfirinDmg | References$ Zhalfirin,ZhalfirinDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to any target instead. +A:AB$ Effect | Cost$ 1 W | Name$ Zhalfirin Redirection | ValidTgts$ Creature,Player,Planeswalker | TgtPrompt$ Select any target to redirect the damage to | ReplacementEffects$ Zhalfirin | SVars$ ZhalfirinDmg | Duration$ HostLeavesOrEOT | RememberObjects$ Targeted | ExileOnMoved$ Battlefield | SpellDescription$ The next 1 damage that would be dealt to CARDNAME this turn is dealt to any target instead. SVar:Zhalfirin:Event$ DamageDone | ValidTarget$ Creature.EffectSource | ReplaceWith$ ZhalfirinDmg | DamageTarget$ Remembered | Description$ The next 1 damage that would be dealt to EFFECTSOURCE this turn is dealt to any target. SVar:ZhalfirinDmg:DB$ ReplaceSplitDamage | DamageTarget$ Remembered AI:RemoveDeck:All diff --git a/forge-gui/res/cardsfolder/z/zhalfirin_decoy.txt b/forge-gui/res/cardsfolder/z/zhalfirin_decoy.txt index 52368b7c299..2456b27a125 100644 --- a/forge-gui/res/cardsfolder/z/zhalfirin_decoy.txt +++ b/forge-gui/res/cardsfolder/z/zhalfirin_decoy.txt @@ -2,6 +2,6 @@ Name:Zhalfirin Decoy ManaCost:1 W Types:Creature Human Soldier PT:1/3 -A:AB$ Tap | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | CheckSVar$ X | References$ X | SpellDescription$ Tap target creature. Activate this ability only if you had a creature enter the battlefield under your control this turn. +A:AB$ Tap | Cost$ T | ValidTgts$ Creature | TgtPrompt$ Select target creature | CheckSVar$ X | SpellDescription$ Tap target creature. Activate this ability only if you had a creature enter the battlefield under your control this turn. SVar:X:Count$ThisTurnEntered_Battlefield_Creature.YouCtrl Oracle:{T}: Tap target creature. Activate this ability only if you had a creature enter the battlefield under your control this turn. diff --git a/forge-gui/res/cardsfolder/z/zombie_boa.txt b/forge-gui/res/cardsfolder/z/zombie_boa.txt index 42dd48141fa..16c02f46f56 100644 --- a/forge-gui/res/cardsfolder/z/zombie_boa.txt +++ b/forge-gui/res/cardsfolder/z/zombie_boa.txt @@ -3,7 +3,7 @@ ManaCost:4 B Types:Creature Zombie Snake PT:3/3 A:AB$ ChooseColor | Cost$ 1 B | Defined$ You | AILogic$ MostProminentInHumanDeck | SorcerySpeed$ True | SubAbility$ DBEffect | SpellDescription$ Choose a color. Whenever CARDNAME becomes blocked by a creature of that color this turn, destroy that creature. Activate this ability only any time you could cast a sorcery. -SVar:DBEffect:DB$ Effect | Name$ Zombie Boa Effect | Triggers$ TrigBlocked | SVars$ ABDestroy | References$ TrigBlocked,ABDestroy | RememberObjects$ Self +SVar:DBEffect:DB$ Effect | Name$ Zombie Boa Effect | Triggers$ TrigBlocked | SVars$ ABDestroy | RememberObjects$ Self SVar:TrigBlocked:Mode$ AttackerBlockedByCreature | ValidCard$ Creature.IsRemembered | ValidBlocker$ Creature.ChosenColor | Execute$ ABDestroy | TriggerDescription$ Whenever Zombie Boa becomes blocked by a creature of the chosen color this turn, destroy that creature. SVar:ABDestroy:DB$ Destroy | Defined$ TriggeredBlockerLKICopy AI:RemoveDeck:All diff --git a/forge-gui/res/tokenscripts/b_6_6_demon_flying_trample_aristocrat.txt b/forge-gui/res/tokenscripts/b_6_6_demon_flying_trample_aristocrat.txt index 0a9ac8cc985..c1f90ace98c 100644 --- a/forge-gui/res/tokenscripts/b_6_6_demon_flying_trample_aristocrat.txt +++ b/forge-gui/res/tokenscripts/b_6_6_demon_flying_trample_aristocrat.txt @@ -7,7 +7,7 @@ K:Flying K:Trample T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ DemonTrigSac | TriggerDescription$ At the beginning of your upkeep, sacrifice another creature. If you can't, this creature deals 6 damage to you. SVar:DemonTrigSac:DB$ Sacrifice | Defined$ You | SacValid$ Creature.Other | SubAbility$ DemonDBDamage | RememberSacrificed$ True | -SVar:DemonDBDamage:DB$ DealDamage | Defined$ You | NumDmg$ 6 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DemonDBCleanup | References$ X +SVar:DemonDBDamage:DB$ DealDamage | Defined$ You | NumDmg$ 6 | ConditionCheckSVar$ X | ConditionSVarCompare$ LT1 | SubAbility$ DemonDBCleanup SVar:DemonDBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount Oracle:Flying, trample\nAt the beginning of your upkeep, sacrifice another creature. If you can't, this creature deals 6 damage to you. diff --git a/forge-gui/res/tokenscripts/g_x_x_elephant_resurgence.txt b/forge-gui/res/tokenscripts/g_x_x_elephant_resurgence.txt index 7b09e69efc3..9b2d3f08bd2 100644 --- a/forge-gui/res/tokenscripts/g_x_x_elephant_resurgence.txt +++ b/forge-gui/res/tokenscripts/g_x_x_elephant_resurgence.txt @@ -3,6 +3,6 @@ ManaCost:no cost Types:Creature Elephant Colors:green PT:*/* -S:Mode$ Continuous | SetPower$ ResurgenceX | SetToughness$ ResurgenceX | EffectZone$ Battlefield | CharacteristicDefining$ True | Description$ CARDNAME's power and toughness are each equal to the number of creature cards in its controller's graveyard. | References$ ResurgenceX +S:Mode$ Continuous | SetPower$ ResurgenceX | SetToughness$ ResurgenceX | EffectZone$ Battlefield | CharacteristicDefining$ True | Description$ CARDNAME's power and toughness are each equal to the number of creature cards in its controller's graveyard. SVar:ResurgenceX:Count$TypeInYourYard.Creature Oracle:This creature's power and toughness are each equal to the number of creature cards in its controller's graveyard. \ No newline at end of file diff --git a/forge-gui/res/tokenscripts/g_x_x_treefolk_warrior_total_forests.txt b/forge-gui/res/tokenscripts/g_x_x_treefolk_warrior_total_forests.txt index d686966c97e..f7306c11a14 100644 --- a/forge-gui/res/tokenscripts/g_x_x_treefolk_warrior_total_forests.txt +++ b/forge-gui/res/tokenscripts/g_x_x_treefolk_warrior_total_forests.txt @@ -3,7 +3,7 @@ ManaCost:no cost Types:Creature Treefolk Warrior Colors:green PT:*/* -S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of Forests you control. +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of Forests you control. SVar:X:Count$Valid Forest.YouCtrl SVar:BuffedBy:Forest Oracle:CARDNAMEs power and toughness are each equal to the number of Forests you control.