_combat = new PrioritySelector(
SC.CastBuff("Unholy Presence", a => true, "Unholy Presence"),
SC.CastBuff("Horn of Winter", a => true, "Horn of Winter"),
SC.CastBuff("Pillar of Frost", a => SC.TargetHasDebuff("Blood Plague") && SC.TargetHasDebuff("Frost Fever") && SimCraftBase.Me.CurrentTarget.CurrentHealth > 1500000 || SimCraftBase.Me.CurrentTarget.MaxHealth == 1, "Pillar of Frost"),
SC.CastSpell("Blood Tap", a=> true, "Blood Tap"),
SC.CastBuff("Raise Dead", a => SC.PlayerHasBuff("Pillar of Frost") && SC.TargetHasDebuff("Blood Plague") && SC.TargetHasDebuff("Frost Fever") && SimCraftBase.Me.CurrentTarget.CurrentHealth > 1500000 || SimCraftBase.Me.CurrentTarget.MaxHealth == 1, "Raise Dead"),
SC.CastSpell("Mind Freeze", a => SimCraftBase.Me.GotTarget && SimCraftBase.Me.CurrentTarget.IsCasting, "Mind Freeze"),
SC.CastSpell("Outbreak", a => !SC.TargetHasDebuff("Blood Plague"), "Outbreak"),
SC.CastSpell("Plague Strike", a => !SC.TargetHasDebuff("Blood Plague"), "Plague Strike"),
SC.CastSpell("Howling Blast", a => !SC.TargetHasDebuff("Frost Fever"), "Howling Blast"),
SC.CastSpell("Howling Blast", a => SimCraftBase.HowManyMobsNearby(StyxWoW.Me, 16 ) > 2, "Howling Blast"),
SC.CastSpell("Obliterate", a => SC.PlayerHasBuff("Killing Machine"), "Obliterate"),
SC.CastSpell("Howling Blast", a => SC.PlayerHasBuff("Freezing Fog"), "Howling Blast"),
SC.CastSpell("Obliterate", a => true, "Obliterate"),
SC.CastSpell("Frost Strike", a => true, "Frost Strike"),
SC.CastSpell("Empower Rune Weapon", a => true, "Empower Rune Weapon"),
SC.CastSpell("Horn of Winter", a => true, "Horn of Winter")