Code:
ProbablyEngine.rotation.register_custom(73, "Gomi Gladiator", {
{ "pause", "modifier.lalt" },
{{
{{ { "pause" }, { "/stopattack" }, { "/cleartarget" } }, { "isDummy('target')", "player.time > 300" } },
{ "pause", { "target.exists", "@gomi.TargetOOC()" } },
{ "/targetenemy [noexists]", "!target.exists" },
{ "/targetenemy [dead]", { "target.exists", "target.dead" } },
}, "toggle.auto" },
--{ '/run UseItemByName(5512)', 'player.health < 30' }, -- Healthstone
--switches
{ "Heroic Leap", "modifier.lshift", "ground" },
--Buff
{{
{ "Battle Shout", "player.stance = 1" },
{ "Commanding Shout", "player.stance = 2" },
}, { "!player.buff(Battle Shout)", "!player.buff(Commanding Shout)" }},
{{
{ "Dragon Roar", { '@gomi.meleeRange("target")', "player.buff(Bloodbath)" } },
{ "Dragon Roar", { '@gomi.meleeRange("target")', "!player.spell(Bloodbath).exists", "!player.lastcast(Charge)" } },
{ "Bloodbath", "player.rage > 70" },
{ "#trinket1" }, { "#trinket2" },
}, "modifier.cooldowns" },
{{
{ "Pummel", { "target.interruptAt > 57" }, "target" },
{ "Berserker Rage", "!player.buff(Enrage)" },
{ "Victory Rush", "player.health < 90" },
{ "Impending Victory", "player.health < 90" },
}, '@gomi.meleeRange("Target")' },
{ "Pummel", { '@gomi.meleeRange("Mouseover")', "mouseover.interruptAt > 50"}, "mouseover" },
{ "Enraged Regeneration", "player.health < 50" },
{ "Last Stand", "player.health < 10" },
{{--Gladiator Combat
{ "Victory Rush" },
{ "Thunder Clap", { "player.buff(Bloodbath)", "player.area(8).enemies > 1" }},
{ "Heroic Strike", { "player.buff(Unyielding Strikes).count > 4", "player.rage > 55", "player.spell(Bloodbath).cooldown = 0" } },
{ "Heroic Strike", "player.buff(Unyielding Strikes).count = 6" },
{ "Shield Charge", "player.spell(Shield Charge).charges = 2" },
{ "Shield Charge", { "!player.buff(Shield Charge)", "player.spell(Shield Slam).cooldown = 0" }},
{ "Shield Charge", { "!player.buff(Shield Charge)", "player.buff(Bloodbath)" }},
{ "Heroic Strike", "player.buff(Shield Charge)" },
{ "Heroic Strike", "player.buff(Ultimatum)" },
{ "Heroic Strike", "player.rage >= 95" },
{ "Devastate", { "player.buff(Unyielding Strikes).charges < 6", "player.buff(Unyielding Strikes).duration < 2" } },
{ "Revenge", "player.area(8).enemies > 1" },
{ "Shield Slam" },
{ "Thunder Clap", "player.area(8).enemies > 5" },
{ "Revenge" },
{ "Execute" },
{ "Devastate" }
}, { "player.stance = 1", "talent(7,3)" } },
{{--Prot Combat
-- { "Taunt", "target.threat < 100", "target" },
{ "Victory Rush", "player.health < 80" }, { "Victory Rush", "player.buff(Victorious).duration < 3" },
{ "Shield Slam", "player.buff(Sword and Board)" },
{ "Shield Block", { "target.combat", "!player.buff(Shield Block)" } },
{ "Revenge"},
{ "Shield Slam" },
{ "Execute", { "player.rage > 75", "target.health <=20"}, "target"},
{ "Heroic Strike", "player.buff(Ultimatum)" },
{ "Heroic Strike", "player.buff(Unyielding Strikes).count > 5" },
{ "Devastate"},
{ "Heroic Strike", { "player.rage > 75", "target.health >=20"}, "target"},
}, "player.stance = 2" },
},
{ --OOC
{{
{ "Battle Shout", "player.stance = 1"},
{ "Commanding Shout", "player.stance = 2" },
}, { "!player.buff(Battle Shout)", "!player.buff(Commanding Shout)" }},
{ "Heroic Leap", "modifier.lshift", "ground" },
{{
{ "Charge", "target.range > 8", "target" },
}, { '@gomi.isAttackable("target")', "target.range <= 25", "toggle.auto" }},
} ,
function()
ProbablyEngine.toggle.create('auto', 'Interface\\Icons\\spell_nature_lightning', 'AutoTarget', 'Automatic Next Target Selection')
--ProbablyEngine.toggle.create('cleave', 'Interface\\Icons\\warrior_talent_icon_mastercleaver', 'Cleave', '2-4 enemies')
end
)
you may have to swap out some of my external lib references, but the basic rotation is there. Requires FH.