private static void Mage(IDictionary <string, List <Enchantment> > cards) { // ------------------------------------------- SPELL - MAGE // [CS2_031] Ice Lance - COST:1 // - Fac: neutral, Set: hof, Rarity: common // -------------------------------------------------------- // Text: <b>Freeze</b> a character. If it was already <b>Frozen</b>, deal $4 damage instead. *spelldmg // -------------------------------------------------------- // GameTag: // - FREEZE = 1 // -------------------------------------------------------- // PlayReq: // - REQ_TARGET_TO_PLAY = 0 // -------------------------------------------------------- cards.Add("CS2_031", new List <Enchantment> { new Enchantment { Activation = EnchantmentActivation.SPELL, SingleTask = ComplexTask.Create( new ConditionTask(EntityType.TARGET, SelfCondition.IsFrozen), ComplexTask.True(new DamageTask(4, EntityType.TARGET, true)), ComplexTask.False(ComplexTask.Freeze(EntityType.TARGET))) } }); }
private static void Mage(IDictionary <string, Power> cards) { // ------------------------------------------- SPELL - MAGE // [CS2_031] Ice Lance - COST:1 // - Fac: neutral, Set: hof, Rarity: common // -------------------------------------------------------- // Text: <b>Freeze</b> a character. If it was already <b>Frozen</b>, deal $4 damage instead. @spelldmg // -------------------------------------------------------- // GameTag: // - FREEZE = 1 // -------------------------------------------------------- // PlayReq: // - REQ_TARGET_TO_PLAY = 0 // -------------------------------------------------------- cards.Add("CS2_031", new Power { PowerTask = ComplexTask.Create( new ConditionTask(EntityType.TARGET, SelfCondition.IsFrozen), ComplexTask.True(new DamageTask(4, EntityType.TARGET, true)), ComplexTask.False(ComplexTask.Freeze(EntityType.TARGET))) }); // ------------------------------------------- SPELL - MAGE // [EX1_295] Ice Block - COST:3 // - Fac: neutral, Set: expert1, Rarity: epic // -------------------------------------------------------- // Text: <b>Secret:</b> When your hero takes fatal damage, prevent it and become <b>Immune</b> this turn. // -------------------------------------------------------- // GameTag: // - SECRET = 1 // -------------------------------------------------------- // RefTag: // - IMMUNE = 1 // -------------------------------------------------------- cards.Add("EX1_295", new Power { Trigger = new Trigger(TriggerType.PREDAMAGE) { TriggerSource = TriggerSource.HERO, Condition = SelfCondition.IsHeroLethalPreDamaged, FastExecution = true, SingleTask = ComplexTask.Secret( new AddEnchantmentTask("EX1_295o", EntityType.HERO)) } }); }
private static void Mage(IDictionary <string, CardDef> cards) { // ------------------------------------------ MINION - MAGE // [GIL_838] Black Cat - COST:3 [ATK:3/HP:3] // - Race: beast, Set: gilneas, Rarity: common // -------------------------------------------------------- // Text: <b>Spell Damage +1</b> // <b>Battlecry:</b> If your deck has only odd-Cost cards, draw a card. // -------------------------------------------------------- // GameTag: // - SPELLPOWER = 1 // - BATTLECRY = 1 // -------------------------------------------------------- cards.Add("GIL_838", new CardDef(new Power { // TODO Test: Black Cat_GIL_838 PowerTask = ComplexTask.Create( new ConditionTask(EntityType.SOURCE, SelfCondition.HasNoEvenCostInDeck), new FlagTask(true, new DrawTask())) })); // ------------------------------------------- SPELL - MAGE // [CS2_031] Ice Lance - COST:1 // - Fac: neutral, Set: hof, Rarity: common // -------------------------------------------------------- // Text: <b>Freeze</b> a character. If it was already <b>Frozen</b>, deal $4 damage instead. @spelldmg // -------------------------------------------------------- // GameTag: // - FREEZE = 1 // ------------------------------------st-------------------- // PlayReq: // - REQ_TARGET_TO_PLAY = 0 // -------------------------------------------------------- cards.Add("CS2_031", new CardDef(new Dictionary <PlayReq, int>() { { PlayReq.REQ_TARGET_TO_PLAY, 0 } }, new Power { PowerTask = ComplexTask.Create( new ConditionTask(EntityType.TARGET, SelfCondition.IsFrozen), ComplexTask.True(new DamageTask(4, EntityType.TARGET, true)), ComplexTask.False(ComplexTask.Freeze(EntityType.TARGET))) })); // ------------------------------------------- SPELL - MAGE // [EX1_295] Ice Block - COST:3 // - Fac: neutral, Set: expert1, Rarity: epic // -------------------------------------------------------- // Text: <b>Secret:</b> When your hero takes fatal damage, prevent it and become <b>Immune</b> this turn. // -------------------------------------------------------- // GameTag: // - SECRET = 1 // -------------------------------------------------------- // RefTag: // - IMMUNE = 1 // -------------------------------------------------------- cards.Add("EX1_295", new CardDef(new Power { Trigger = new Trigger(TriggerType.PREDAMAGE) { TriggerSource = TriggerSource.HERO, Condition = SelfCondition.IsHeroLethalPreDamaged, FastExecution = true, SingleTask = ComplexTask.Secret( new AddEnchantmentTask("EX1_295o", EntityType.HERO)) } })); }