Code:
ProbablyEngine.rotation.register(258, {
-- Interrupts
{ "Silence", "modifier.interrupts" },
--Survival
-- Gift of the Naaru
{"59544", "player.health <= 40"},
{"17", {"player.moving","!player.buff(194249)", "!target.debuff(Shadow Word: Pain).duration < 3" }}, --Power Word: Shield
{"186263", "player.health <= 20"},
-- Cooldowns
{ "Power Infusion", { "talent(6, 1)", "modifier.cooldowns" } },
{ "Mindbender", { "talent(6, 3)", "modifier.cooldowns" } },
{ "Shadowfiend", { "!talent(6, 3)", "modifier.cooldowns" } },
-- Keybinds
{ "Mind Sear", "modifier.shift" },
-- Rotation
{ "Shadow Word: Death", {"player.moving", "target.health < 35", "player.spell(32379).cooldown = 0"}},
{ "Shadow Word: Death", {"target.health < 35", "player.spell(32379).cooldown = 0"}},
{ "Void Eruption", { "player.insanity >= 70", "!player.buff(Voidform)" }},
{"205065", "player.buff(Voidform)"}, -- Void Torrent
{ "Shadow Word: Pain", {"player.moving","target.debuff(Shadow Word: Pain).duration < 3" }},
{ "Mind Blast", { "talent(5, 3)", "player.buff(Shadowy Insight)" } },
{ "Mind Blast", "!talent(5, 3)" },
{ "Shadow Word: Pain", "target.debuff(Shadow Word: Pain).duration < 3" },
{ "Vampiric Touch", "target.debuff(Vampiric Touch).duration < 3" },
{ "/cast Void Eruption", "player.buff(Voidform)" }, --Void Bolt
{ "Mind Sear", "modifier.multitarget" },
{ "Mind Flay", "player.spell(8092).cooldown > 0"},
}, {
})
UW