Example #1
0
        public static List <AddToBehavior> Load()
        {
            var add = new List <AddToBehavior>();
            //----------- Pull actions
            int    spellId = 57330;
            string spell   = BarMapper.GetNameFromSpell(spellId);

            add.Add(new AddToBehavior(spell, Type.Pull, Spec.Normal, new Rule(spell, new ActionSpell(spell), 1)));

            spellId = 49576; // Death Grip
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Pull, Spec.Normal,
                                      new Rule(spell, new ActionSpell(spell), 2,
                                               new List <AbstractCondition>
            {
                new DistanceToTarget(ConditionEnum.MoreThan, 10)
            })));

            spellId = 45477; // Icy Touch
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Pull, Spec.Normal, new Rule(spell, new ActionSpell(spell), 3)));

            string name = "Auto Attack";

            add.Add(new AddToBehavior(name, Type.Pull, Spec.Normal, new Rule(name, new ActionSpell(name), 4)));

            //-----------  Combat Actions
            spellId = 46584; // Raise Dead - For unholy spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree3,
                                      new Rule(spell, new ActionSpell(spell), 7,
                                               new List <AbstractCondition>
            {
                new PetCondition(PetConditionEnum.DoesNotHave)
            })));

            spellId = 49016; // Unholy Frenzy - Unholy spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree3, new Rule(spell, new ActionSpell(spell), 1,
                                                                               new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.MoreThan, 80),
                new CombatCountCondition(
                    ConditionEnum.MoreThan, 1)
            })));

            spellId = 49203; // Hungering Cold - Frost spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree2,
                                      new Rule(spell, new ActionSpell(spell), 4,
                                               new List <AbstractCondition>
            {
                new CombatCountCondition(ConditionEnum.MoreThan, 1)
            })));

            spellId = 49222; // Bone Shield - Blood spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree1, new Rule(spell, new ActionSpell(spell), 2,
                                                                               new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 75)
            })));

            spellId = 55233; // Vampiric Blood - Blood spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree1, new Rule(spell, new ActionSpell(spell), 1,
                                                                               new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 20)
            })));

            spellId = 48982; // Rune Tap - Blood spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree1, new Rule(spell, new ActionSpell(spell), 3,
                                                                               new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 75)
            })));

            spellId = 49028; // Dancing Rune Weapon - Blood spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree1, new Rule(spell, new ActionSpell(spell), 4,
                                                                               new List <AbstractCondition>
            {
                new CombatCountCondition(
                    ConditionEnum.MoreThan, 1)
            })));

            spellId = 47568; // Empower Rune Weapon
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 5,
                                                                                new List <AbstractCondition>
            {
                new CombatCountCondition(
                    ConditionEnum.MoreThan, 1),
                new RuneCondition(
                    ConditionEnum.EqualTo,
                    RuneEnum.Blood, 0),
                new RuneCondition(
                    ConditionEnum.EqualTo,
                    RuneEnum.Frost, 0),
                new RuneCondition(
                    ConditionEnum.EqualTo,
                    RuneEnum.Unholy, 0),
            }
                                                                                )));

            spellId = 46584; // Raise Dead
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 6,
                                                                                new List <AbstractCondition>
            {
                new CombatCountCondition(
                    ConditionEnum.MoreThan, 1),
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 40),
            })));

            spellId = 48743; // Death Pact
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 8,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 22)
            })));

            spellId = 42650; // Army of the Dead
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 8,
                                                                                new List <AbstractCondition>
            {
                new CombatCountCondition(
                    ConditionEnum.MoreThan, 2),
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 30)
            })));

            spellId = 48792; // Icebound Fortitude
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 9,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 40)
            })));

            spellId = 57330; // Horn of Winter
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 10)));

            spellId = 47528; // Mind Freeze
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 11,
                                                                                new List <AbstractCondition>
            {
                new FunctionsCondition(
                    ConditionTargetEnum.Target,
                    FunctionsConditionEnum.Is,
                    FunctionEnum.Casting)
            })));

            spellId = 47476; // Strangulate
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 12,
                                                                                new List <AbstractCondition>
            {
                new FunctionsCondition(
                    ConditionTargetEnum.Target,
                    FunctionsConditionEnum.Is,
                    FunctionEnum.Casting)
            })));

            spellId = 48707; // Anti-Magic Shell
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 13,
                                                                                new List <AbstractCondition>
            {
                new FunctionsCondition(
                    ConditionTargetEnum.Target,
                    FunctionsConditionEnum.Is,
                    FunctionEnum.Casting)
            })));

            spellId = 56815; // Rune Strike
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 14)));

            spellId = 49143; // Frost Strike - Frost Spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree2, new Rule(spell, new ActionSpell(spell), 15)));

            spellId = 47541; // Death Coil
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 14)));

            spellId = 49998; // Death Strike
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 15,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 55)
            })));

            spellId = 49020; // Obliterate
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 16,
                                                                                new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Target,
                    BuffConditionEnum.HasBuff,
                    BuffValueEnum.Name,
                    "Blood Plague"),
                new BuffCondition(
                    ConditionTargetEnum.Target,
                    BuffConditionEnum.HasBuff,
                    BuffValueEnum.Name,
                    "Frost Fever"),
            })));

            spellId = 85948; // Festering Strike
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 14)));

            spellId = 49184; // Howling Blast - Frost spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree2, new Rule(spell, new ActionSpell(spell), 15,
                                                                               new List <AbstractCondition>
            {
                new CombatCountCondition(
                    ConditionEnum.MoreThan, 1),
            })));

            spellId = 45477; // Icy Touch
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 16,
                                                                                new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Target,
                    BuffConditionEnum.
                    DoesNotHave,
                    BuffValueEnum.Name,
                    "Frost Fever"),
            })));

            spellId = 55090; // Scourge Strike - Unholy spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree3, new Rule(spell, new ActionSpell(spell), 17,
                                                                               new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Target,
                    BuffConditionEnum.HasBuff,
                    BuffValueEnum.Name,
                    "Blood Plague"),
                new BuffCondition(
                    ConditionTargetEnum.Target,
                    BuffConditionEnum.HasBuff,
                    BuffValueEnum.Name,
                    "Frost Fever"),
            })));

            spellId = 45462; // Plague Strike
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 18,
                                                                                new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Target,
                    BuffConditionEnum.
                    DoesNotHave,
                    BuffValueEnum.Name,
                    "Blood Plague"),
            })));

            spellId = 55050; // Heart Strike - Blood spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree1, new Rule(spell, new ActionSpell(spell), 19)));

            spellId = 45902; // Blood Strike
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 14)));

            //-----------  Buff Actions
            spellId = 48263; // Blood Presence
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Buff, Spec.Special, new Rule(spell, new ActionSpell(spell), 1,
                                                                               new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.DoesNotHave,
                    BuffValueEnum.Id, "48263"),
            })));

            spellId = 48266; // Frost Presence
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Buff, Spec.Special, new Rule(spell, new ActionSpell(spell), 1,
                                                                               new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.DoesNotHave,
                    BuffValueEnum.Id, "48266"),
            })));

            spellId = 48265; // Unholy Presence
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Buff, Spec.Special, new Rule(spell, new ActionSpell(spell), 1,
                                                                               new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.DoesNotHave,
                    BuffValueEnum.Id, "48265"),
            })));
            return(add);
        }
Example #2
0
        public static List <AddToBehavior> Load()
        {
            var add = new List <AddToBehavior>();

            // Pull actions1
            int    spellId = 31935; // Avenger's Shield - Prot spec
            string spell   = BarMapper.GetNameFromSpell(spellId);

            add.Add(new AddToBehavior(spell, Type.Pull, Spec.Tree2, new Rule(spell, new ActionSpell(spell), 1,
                                                                             new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Target,
                    ConditionTypeEnum.Health,
                    ConditionEnum.MoreThan, 0)
            })));

            spellId = 20271; // Judgement
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Pull, Spec.Normal, new Rule(spell, new ActionSpell(spell), 2,
                                                                              new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Target,
                    ConditionTypeEnum.Health,
                    ConditionEnum.MoreThan, 0)
            })));

            const string name = "Auto Attack";

            add.Add(new AddToBehavior(name, Type.Pull, Spec.Normal, new Rule(name, new ActionSpell(name), 3,
                                                                             new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Target,
                    ConditionTypeEnum.Health,
                    ConditionEnum.MoreThan, 0)
            })));

            // Combat Actions
            spellId = 633; // Lay on Hands
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 1,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 10),
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.
                    DoesNotHave,
                    BuffValueEnum.Id, "25771")
            })));


            spellId = 642; // Divine Shield
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 2,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 15),
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.
                    DoesNotHave,
                    BuffValueEnum.Id, "25771")
            })));

            spellId = 31850; // Ardent Defender - Prot spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree2, new Rule(spell, new ActionSpell(spell), 3,
                                                                               new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 10)
            })));

            spellId = 1022; // Hand of Protection
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 4,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 15),
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.
                    DoesNotHave,
                    BuffValueEnum.Id, "25771")
            })));

            spellId = 498; // Divine Protection
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 5,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 85)
            })));

            spellId = 853; // Hammer of Justice
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 6,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 35)
            })));

            spellId = 19750; // Flash of Light
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 7,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 25)
            })));

            spellId = 82326; // Divine Light
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 8,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 35)
            })));

            spellId = 635; // Holy Light
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 9,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 50)
            })));

            spellId = 85673; // Word of Glory
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 10,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 55),
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.HolyPower,
                    ConditionEnum.MoreThan, 1)
            })));

            spellId = 86150; // Guardian of Ancient Kings
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 11,
                                                                                new List <AbstractCondition>
            {
                new CombatCountCondition(
                    ConditionEnum.MoreThan, 1)
            })));

            spellId = 85285; // Rebuke - Ret spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree3, new Rule(spell, new ActionSpell(spell), 12,
                                                                               new List <AbstractCondition>
            {
                new FunctionsCondition(
                    ConditionTargetEnum.Target,
                    FunctionsConditionEnum.Is,
                    FunctionEnum.Casting)
            })));

            //TODO

            /*
             * spellId = 20066; // Repentance - Ret spec
             * spell = BarMapper.GetNameFromSpell(spellId);
             * core.setAction(actName, MyCC.ActionType.Spell, spellId.ToString(), MyCC.ActionMoment.Combat, MyCC.Unit.An_add, 0, true);
             * core.addCondition(actName, MyCC.Unit.Target, MyCC.ActionCond.Creature_Type, "=", "Demon", "", MyCC.ActionMoment.Combat);
             * core.addCondition(actName, MyCC.Unit.Target, MyCC.ActionCond.Creature_Type, "=", "Dragon", "", MyCC.ActionMoment.Combat);
             * core.addCondition(actName, MyCC.Unit.Target, MyCC.ActionCond.Creature_Type, "=", "Giant", "", MyCC.ActionMoment.Combat);
             * core.addCondition(actName, MyCC.Unit.Target, MyCC.ActionCond.Creature_Type, "=", "Humanoid", "", MyCC.ActionMoment.Combat);
             * core.addCondition(actName, MyCC.Unit.Target, MyCC.ActionCond.Creature_Type, "=", "Undead", "", MyCC.ActionMoment.Combat);
             * core.setConfig(actName, MyCC.ActionMoment.Combat, MyCC.Spec.Spec3, true); */

            spellId = 31884; // Avenging Wrath
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 13,
                                                                                new List <AbstractCondition>
            {
                new CombatCountCondition(
                    ConditionEnum.MoreThan, 1)
            })));

            spellId = 85696; // Zealotry - Ret spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree3, new Rule(spell, new ActionSpell(spell), 14,
                                                                               new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.HolyPower,
                    ConditionEnum.EqualTo, 3)
            })));

            spellId = 26573; // Consecration
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 15,
                                                                                new List <AbstractCondition>
            {
                new CombatCountCondition(
                    ConditionEnum.MoreThan, 2)
            })));

            spellId = 53600; // Shield of the Righteous - Prot spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree2, new Rule(spell, new ActionSpell(spell), 16,
                                                                               new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.HolyPower,
                    ConditionEnum.EqualTo, 3)
            })));

            spellId = 84963; // Inquisition
            spell   = BarMapper.GetNameFromSpell(spellId);
            //TODO

            /*core.setAction(actName, MyCC.ActionType.Spell, spellId.ToString(), MyCC.ActionMoment.Combat, MyCC.Unit.Target, 0, true);
             * core.addCondition(actName, MyCC.Unit.Player, MyCC.ActionCond.Holy_Power, "=", "3", "", MyCC.ActionMoment.Combat);
             * core.addCondition(actName, MyCC.Unit.Player, MyCC.ActionCond.Aura, "=", "90174", "", MyCC.ActionMoment.Combat);
             * core.addCondition(actName, MyCC.Unit.Player, MyCC.ActionCond.Aura_Seconds_left, "<", "4", "Inquisition", MyCC.ActionMoment.Combat, true);
             * core.setConfig(actName, MyCC.ActionMoment.Combat, MyCC.Spec.General, true); */

            spellId = 24275; // Hammer of Wrath
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 17,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.Health,
                    ConditionEnum.LessThan, 25)
            })));

            spellId = 879; // Exorcism
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 18,
                                                                                new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.HasBuff,
                    BuffValueEnum.Id, "59578")
            })));

            spellId = 85256; // Templar's Verdict - Ret spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 19,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Player,
                    ConditionTypeEnum.HolyPower,
                    ConditionEnum.MoreThan, 2)
            })));

            spellId = 53595; // Hammer of the Righteous - Prot spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree2, new Rule(spell, new ActionSpell(spell), 20,
                                                                               new List <AbstractCondition>
            {
                new CombatCountCondition(
                    ConditionEnum.MoreThan, 1)
            })));

            spellId = 35395; // Crusader Strike
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 21,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Target,
                    ConditionTypeEnum.Health,
                    ConditionEnum.MoreThan, 0)
            })));

            spellId = 20271; // Judgement
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 22,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Target,
                    ConditionTypeEnum.Health,
                    ConditionEnum.MoreThan, 0)
            })));

            spellId = 31935; // Avenger's Shield - Prot spec
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Tree2, new Rule(spell, new ActionSpell(spell), 23,
                                                                               new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Target,
                    ConditionTypeEnum.Health,
                    ConditionEnum.MoreThan, 0)
            })));

            spellId = 2812; // Holy Wrath
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Combat, Spec.Normal, new Rule(spell, new ActionSpell(spell), 24,
                                                                                new List <AbstractCondition>
            {
                new HealthPowerCondition(
                    ConditionTargetEnum.Target,
                    ConditionTypeEnum.Health,
                    ConditionEnum.MoreThan, 0)
            })));

            // Buff Actions
            spellId = 20154; // Seal of Righteousness
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Buff, Spec.Special, new Rule(spell, new ActionSpell(spell), 1,
                                                                               new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.DoesNotHave,
                    BuffValueEnum.Name,
                    "Seal of Righteousness")
            })));

            spellId = 20165; // Seal of Insight
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Buff, Spec.Special, new Rule(spell, new ActionSpell(spell), 2,
                                                                               new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.DoesNotHave,
                    BuffValueEnum.Name,
                    "Seal of Insight")
            })));

            spellId = 31801; // Seal of Truth
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Buff, Spec.Special, new Rule(spell, new ActionSpell(spell), 3,
                                                                               new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.DoesNotHave,
                    BuffValueEnum.Name,
                    "Seal of Truth")
            })));

            spellId = 465; // Devotion Aura
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Buff, Spec.Special2, new Rule(spell, new ActionSpell(spell), 4,
                                                                                new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.
                    DoesNotHave,
                    BuffValueEnum.Name,
                    "Devotion Aura")
            })));

            spellId = 7294; // Retribution Aura
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Buff, Spec.Special2, new Rule(spell, new ActionSpell(spell), 5,
                                                                                new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.
                    DoesNotHave,
                    BuffValueEnum.Name,
                    "Retribution Aura")
            })));

            spellId = 19746; // Concentration Aura
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Buff, Spec.Special2, new Rule(spell, new ActionSpell(spell), 6,
                                                                                new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.
                    DoesNotHave,
                    BuffValueEnum.Name,
                    "Concentration Aura")
            })));

            spellId = 32223; // Crusader Aura
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Buff, Spec.Special2, new Rule(spell, new ActionSpell(spell), 7,
                                                                                new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.
                    DoesNotHave,
                    BuffValueEnum.Name,
                    "Crusader Aura")
            })));

            spellId = 20217; // Blessing of Kings
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Buff, Spec.Special3, new Rule(spell, new ActionSpell(spell), 8,
                                                                                new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.
                    DoesNotHave,
                    BuffValueEnum.Name,
                    "Blessing of Kings")
            })));

            spellId = 19740; // Blessing of Might
            spell   = BarMapper.GetNameFromSpell(spellId);
            add.Add(new AddToBehavior(spell, Type.Buff, Spec.Special3, new Rule(spell, new ActionSpell(spell), 9,
                                                                                new List <AbstractCondition>
            {
                new BuffCondition(
                    ConditionTargetEnum.Player,
                    BuffConditionEnum.
                    DoesNotHave,
                    BuffValueEnum.Name,
                    "Blessing of Might")
            })));
            return(add);
        }