new Decorator(ret => !StyxWoW.Me.CurrentTarget.HasMyAura("Doom") && StyxWoW.Me.Level >= 36 || StyxWoW.Me.GetCurrentPower(WoWPowerType.DemonicFury) >= 900,
new ProbabilitySelector(
Spell.BuffSelf("Metamorphosis"),
//Spell.Cast("Doom")
new Decorator(ret => !StyxWoW.Me.CurrentTarget.HasMyAura("Doom") && StyxWoW.Me.Level >= 36, new Styx.TreeSharp.Action(r=>forcecast("Doom")))
)),
new Decorator(ret=> StyxWoW.Me.HasAura("Metamorphosis"),
new PrioritySelector(
//Spell.Cast("Metamorphosis", ret => StyxWoW.Me.GetCurrentPower(WoWPowerType.DemonicFury) < 800 && !StyxWoW.Me.HasAura("Dark Soul: Knowledge")),
new Decorator(ret => StyxWoW.Me.GetCurrentPower(WoWPowerType.DemonicFury) < 800 && !StyxWoW.Me.HasAura("Dark Soul: Knowledge"), new Styx.TreeSharp.Action(r => forcecast("Metamorphosis"))),
new Decorator(ret => SpellManager.CanCast("Dark Soul: Knowledge"), new Styx.TreeSharp.Action(r => forcecast("Dark Soul: Knowledge"))),
//Spell.Cast("Dark Soul: Knowledge"),
//Spell.Cast("Doom", ret => DoomTime < 5),
new Decorator(ret => DoomTime < 5 && StyxWoW.Me.Level >= 36, new Styx.TreeSharp.Action(r=>forcecast("Doom"))),
//Spell.Cast("Touch of Chaos")
new Decorator(ret => StyxWoW.Me.Level >= 25, new Styx.TreeSharp.Action(r=>forcecast("Touch of Chaos")))