Exemple #1
0
        private static void Neutral(IDictionary <string, Power> cards)
        {
            // --------------------------------------- MINION - NEUTRAL
            // [FP1_001] Zombie Chow - COST:1 [ATK:2/HP:3]
            // - Set: naxx, Rarity: common
            // --------------------------------------------------------
            // Text: <b>Deathrattle:</b> Restore 5 Health to the enemy hero.
            // --------------------------------------------------------
            // GameTag:
            // - DEATHRATTLE = 1
            // --------------------------------------------------------
            cards.Add("FP1_001", new Power {
                DeathrattleTask = new HealTask(5, EntityType.OP_HERO)
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_002] Haunted Creeper - COST:2 [ATK:1/HP:2]
            // - Race: beast, Set: naxx, Rarity: common
            // --------------------------------------------------------
            // Text: <b>Deathrattle:</b> Summon two 1/1 Spectral Spiders.
            // --------------------------------------------------------
            // GameTag:
            // - DEATHRATTLE = 1
            // --------------------------------------------------------
            cards.Add("FP1_002", new Power {
                DeathrattleTask = new EnqueueTask(2, new SummonTask("FP1_002t", SummonSide.DEATHRATTLE))
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_003] Echoing Ooze - COST:2 [ATK:1/HP:2]
            // - Set: naxx, Rarity: epic
            // --------------------------------------------------------
            // Text: <b>Battlecry:</b> Summon an exact copy of this minion at the end of the turn.
            // --------------------------------------------------------
            // GameTag:
            // - BATTLECRY = 1
            // --------------------------------------------------------
            cards.Add("FP1_003", new Power {
                PowerTask = ComplexTask.Create(
                    new SetGameTagTask(GameTag.CUSTOM_KEYWORD_EFFECT, 1, EntityType.SOURCE),
                    new SetGameTagTask(GameTag.TAG_SCRIPT_DATA_NUM_1, 1, EntityType.SOURCE),
                    new SetGameTagTask(GameTag.MULTIPLY_BUFF_VALUE, 1, EntityType.SOURCE)),
                Trigger = new Trigger(TriggerType.TURN_END)
                {
                    SingleTask = ComplexTask.Create(
                        new ConditionTask(EntityType.SOURCE, SelfCondition.IsTagValue(GameTag.CUSTOM_KEYWORD_EFFECT, 1)),
                        new FlagTask(true, ComplexTask.Create(
                                         new SetGameTagTask(GameTag.CUSTOM_KEYWORD_EFFECT, 0, EntityType.SOURCE),
                                         new SummonCopyTask(EntityType.SOURCE, side: SummonSide.RIGHT)))),
                    RemoveAfterTriggered = true
                }
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_004] Mad Scientist - COST:2 [ATK:2/HP:2]
            // - Set: naxx, Rarity: common
            // --------------------------------------------------------
            // Text: <b>Deathrattle:</b> Put a <b>Secret</b> from your deck into the battlefield.
            // --------------------------------------------------------
            // GameTag:
            // - DEATHRATTLE = 1
            // --------------------------------------------------------
            // RefTag:
            // - SECRET = 1
            // --------------------------------------------------------
            cards.Add("FP1_004", new Power {
                DeathrattleTask = ComplexTask.PutSecretFromDeck
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_005] Shade of Naxxramas - COST:3 [ATK:2/HP:2]
            // - Set: naxx, Rarity: epic
            // --------------------------------------------------------
            // Text: <b>Stealth.</b> At the start of your turn, gain +1/+1.
            // --------------------------------------------------------
            // GameTag:
            // - STEALTH = 1
            // --------------------------------------------------------
            cards.Add("FP1_005", new Power {
                Trigger = new Trigger(TriggerType.TURN_START)
                {
                    SingleTask = new AddEnchantmentTask("FP1_005e", EntityType.SOURCE)
                }
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_007] Nerubian Egg - COST:2 [ATK:0/HP:2]
            // - Set: naxx, Rarity: rare
            // --------------------------------------------------------
            // Text: <b>Deathrattle:</b> Summon a 4/4 Nerubian.
            // --------------------------------------------------------
            // GameTag:
            // - DEATHRATTLE = 1
            // --------------------------------------------------------
            cards.Add("FP1_007", new Power {
                DeathrattleTask = new SummonTask("FP1_007t", SummonSide.DEATHRATTLE)
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_008] Spectral Knight - COST:5 [ATK:4/HP:6]
            // - Set: naxx, Rarity: common
            // --------------------------------------------------------
            // Text: Can't be targeted by spells or Hero Powers.
            // --------------------------------------------------------
            // GameTag:
            // - CANT_BE_TARGETED_BY_SPELLS = 1
            // - CANT_BE_TARGETED_BY_HERO_POWERS = 1
            // --------------------------------------------------------
            cards.Add("FP1_008", null);

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_009] Deathlord - COST:3 [ATK:2/HP:8]
            // - Set: naxx, Rarity: rare
            // --------------------------------------------------------
            // Text: <b>Taunt. Deathrattle:</b> Your opponent puts a minion from their deck into the battlefield.
            // --------------------------------------------------------
            // GameTag:
            // - TAUNT = 1
            // - DEATHRATTLE = 1
            // --------------------------------------------------------
            cards.Add("FP1_009", new Power {
                DeathrattleTask = ComplexTask.Create(
                    new IncludeTask(EntityType.OP_DECK),
                    new FilterStackTask(SelfCondition.IsMinion),
                    new RandomTask(1, EntityType.STACK),
                    new SummonStackTask())
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_010] Maexxna - COST:6 [ATK:2/HP:8]
            // - Race: beast, Set: naxx, Rarity: legendary
            // --------------------------------------------------------
            // Text: <b>Poisonous</b>
            // --------------------------------------------------------
            // GameTag:
            // - ELITE = 1
            // - POISONOUS = 1
            // --------------------------------------------------------
            cards.Add("FP1_010", null);

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_012] Sludge Belcher - COST:5 [ATK:3/HP:5]
            // - Set: naxx, Rarity: rare
            // --------------------------------------------------------
            // Text: <b>Taunt
            //       Deathrattle:</b> Summon a 1/2 Slime with <b>Taunt</b>.
            // --------------------------------------------------------
            // GameTag:
            // - TAUNT = 1
            // - DEATHRATTLE = 1
            // --------------------------------------------------------
            cards.Add("FP1_012", new Power {
                DeathrattleTask = new SummonTask("FP1_012t", SummonSide.DEATHRATTLE)
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_013] Kel'Thuzad - COST:8 [ATK:6/HP:8]
            // - Set: naxx, Rarity: legendary
            // --------------------------------------------------------
            // Text: At the end of each turn, summon all friendly minions that died this turn.
            // --------------------------------------------------------
            // GameTag:
            // - ELITE = 1
            // --------------------------------------------------------
            cards.Add("FP1_013", new Power {
                Trigger = new Trigger(TriggerType.TURN_END)
                {
                    EitherTurn = true,
                    SingleTask = ComplexTask.SummonAllFriendlyDiedThisTurn()
                }
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_014] Stalagg - COST:5 [ATK:7/HP:4]
            // - Set: naxx, Rarity: legendary
            // --------------------------------------------------------
            // Text: <b>Deathrattle:</b> If Feugen also died this game, summon Thaddius.
            // --------------------------------------------------------
            // GameTag:
            // - ELITE = 1
            // - DEATHRATTLE = 1
            // --------------------------------------------------------
            cards.Add("FP1_014", new Power {
                DeathrattleTask = new FuncNumberTask(src =>
                {
                    Controller c = src.Controller;
                    if ((c.GraveyardZone.Any(p => p.Card.AssetId == 1797 && p.ToBeDestroyed) ||
                         c.Opponent.GraveyardZone.Any(p => p.Card.AssetId == 1797 && p.ToBeDestroyed)) &&
                        !c.BoardZone.IsFull)
                    {
                        Generic.SummonBlock.Invoke(c.Game, (Minion)Entity.FromCard(c, Cards.FromId("FP1_014t")), -1, src);
                    }

                    return(0);
                })
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_015] Feugen - COST:5 [ATK:4/HP:7]
            // - Set: naxx, Rarity: legendary
            // --------------------------------------------------------
            // Text: <b>Deathrattle:</b> If Stalagg also died this game, summon Thaddius.
            // --------------------------------------------------------
            // GameTag:
            // - ELITE = 1
            // - DEATHRATTLE = 1
            // --------------------------------------------------------
            cards.Add("FP1_015", new Power {
                DeathrattleTask = new FuncNumberTask(src =>
                {
                    Controller c = src.Controller;
                    if ((c.GraveyardZone.Any(p => p.Card.AssetId == 1796 && p.ToBeDestroyed) ||
                         c.Opponent.GraveyardZone.Any(p => p.Card.AssetId == 1796 && p.ToBeDestroyed)) &&
                        !c.BoardZone.IsFull)
                    {
                        Generic.SummonBlock.Invoke(c.Game, (Minion)Entity.FromCard(c, Cards.FromId("FP1_014t")), -1, src);
                    }

                    return(0);
                })
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_016] Wailing Soul - COST:4 [ATK:3/HP:5]
            // - Set: naxx, Rarity: rare
            // --------------------------------------------------------
            // Text: <b>Battlecry: Silence</b> your other minions.
            // --------------------------------------------------------
            // GameTag:
            // - BATTLECRY = 1
            // --------------------------------------------------------
            // RefTag:
            // - SILENCE = 1
            // --------------------------------------------------------
            cards.Add("FP1_016", new Power {
                PowerTask = new SilenceTask(EntityType.MINIONS_NOSOURCE)
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_017] Nerub'ar Weblord - COST:2 [ATK:1/HP:4]
            // - Set: naxx, Rarity: common
            // --------------------------------------------------------
            // Text: Minions with <b>Battlecry</b> cost (2) more.
            // --------------------------------------------------------
            // GameTag:
            // - AURA = 1
            // --------------------------------------------------------
            // RefTag:
            // - BATTLECRY = 1
            // --------------------------------------------------------
            cards.Add("FP1_017", new Power {
                Aura = new Aura(AuraType.HANDS, Effects.AddCost(2))
                {
                    Condition = SelfCondition.IsBattlecryMinion
                }
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_024] Unstable Ghoul - COST:2 [ATK:1/HP:3]
            // - Set: naxx, Rarity: common
            // --------------------------------------------------------
            // Text: <b>Taunt</b>. <b>Deathrattle:</b> Deal 1 damage to all minions.
            // --------------------------------------------------------
            // GameTag:
            // - TAUNT = 1
            // - DEATHRATTLE = 1
            // --------------------------------------------------------
            cards.Add("FP1_024", new Power {
                DeathrattleTask = new DamageTask(1, EntityType.ALLMINIONS)
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_027] Stoneskin Gargoyle - COST:3 [ATK:1/HP:4]
            // - Set: naxx, Rarity: common
            // --------------------------------------------------------
            // Text: At the start of your turn, restore this minion to full Health.
            // --------------------------------------------------------
            cards.Add("FP1_027", new Power {
                Trigger = new Trigger(TriggerType.TURN_START)
                {
                    SingleTask = new HealFullTask(EntityType.SOURCE)
                }
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_028] Undertaker - COST:1 [ATK:1/HP:2]
            // - Set: naxx, Rarity: common
            // --------------------------------------------------------
            // Text: Whenever you summon a minion with <b>Deathrattle</b>, gain +1 Attack.
            // --------------------------------------------------------
            // RefTag:
            // - DEATHRATTLE = 1
            // --------------------------------------------------------
            cards.Add("FP1_028", new Power {
                Trigger = new Trigger(TriggerType.SUMMON)
                {
                    TriggerSource = TriggerSource.FRIENDLY,
                    Condition     = SelfCondition.IsDeathrattleMinion,
                    SingleTask    = new AddEnchantmentTask("FP1_028e", EntityType.SOURCE)
                }
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_029] Dancing Swords - COST:3 [ATK:4/HP:4]
            // - Set: naxx, Rarity: common
            // --------------------------------------------------------
            // Text: <b>Deathrattle:</b> Your opponent draws a card.
            // --------------------------------------------------------
            // GameTag:
            // - DEATHRATTLE = 1
            // --------------------------------------------------------
            cards.Add("FP1_029", new Power {
                DeathrattleTask = new DrawOpTask()
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_030] Loatheb - COST:5 [ATK:5/HP:5]
            // - Set: naxx, Rarity: legendary
            // --------------------------------------------------------
            // Text: <b>Battlecry:</b> Enemy spells cost (5) more next turn.
            // --------------------------------------------------------
            // GameTag:
            // - ELITE = 1
            // - BATTLECRY = 1
            // --------------------------------------------------------
            cards.Add("FP1_030", new Power {
                PowerTask = new AddEnchantmentTask("FP1_030e", EntityType.OP_CONTROLLER)
            });

            // --------------------------------------- MINION - NEUTRAL
            // [FP1_031] Baron Rivendare - COST:4 [ATK:1/HP:7]
            // - Set: naxx, Rarity: legendary
            // --------------------------------------------------------
            // Text: Your minions trigger their <b>Deathrattles</b> twice.
            // --------------------------------------------------------
            // GameTag:
            // - ELITE = 1
            // - AURA = 1
            // --------------------------------------------------------
            // RefTag:
            // - DEATHRATTLE = 1
            // --------------------------------------------------------
            cards.Add("FP1_031", new Power {
                Aura = new Aura(AuraType.CONTROLLER, new Effect(GameTag.EXTRA_MINION_DEATHRATTLES_BASE, EffectOperator.SET, 1))
            });
        }