Skip to content

Instantly share code, notes, and snippets.

View benphelps's full-sized avatar
🇺🇦
Slava Ukrayini!

Ben Phelps benphelps

🇺🇦
Slava Ukrayini!
View GitHub Profile
local rootFrost = { }
rootFrost.eventHandler = function(...)
end
ProbablyEngine.listener.register("rootFrost", "EVENT_HERE", rootFrost.eventHandler)
ProbablyEngine.library.register("rootFrost", rootFrost)
-- SPEC ID 261
ProbablyEngine.rotation.register(261, {
-- Buffs
{ "Deadly Poison", "!player.buff(Deadly Poison)" },
{ "Leeching Poison", "!player.buff(Leeching Poison)" },
-- Cooldowns
{ "Shadow Blades", "modifier.cooldowns" },
{ "Slice and Dice", {
local mavminsLib = { }
mavminsLib.inT15checked = nil
mavminsLib.inT15 = function(count)
if mavminsLib.inT15checked then
return mavminsLib.inT15checked >= count
end
local EnhanceT15 = {
96691, -- Head Heroic
96693, -- Shoulders Heroic
Spell -> focus {
condition.value <= 50
}
-- Buffs
Windfury Weapon {
player.enchant.mainhand
}
Flametongue Weapon {
!player.enchant.offhand
}
Lightning Shield {
!player.buff(Lightning Shield)
}
Spell -> target {
target.rule > 5 > 2 = true
}
{ "Avenger's Shield", {
"modifier.interrupts",
"!modifier.last(Rebuke)"
}}
{ "Avenger's Shield", {
"modifier.interrupts",
"!modifier.last(Arcane Torrent)"
}}
Copyright (c) 2014, <Name>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
<?xml version="1.0" encoding="UTF8"?>
<!DOCTYPE updater PUBLIC "peupdater" "https://probablyengine.com/peupdater.dtd">
<updater>
<!-- Rotation Metadata -->
<classID></classID>
<name></name>
<url></url>
<version></version>
{
Spell {
}
Spell -> target {
}
-- rules?!
target.range <= 20
}