This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Firehack script for destruction warlocks | |
-- Created: 7/21/2016 | |
-- Constants | |
UPDATE_INTERVAL = 0.1 -- in seconds | |
LAST_UPDATE = GetTime() | |
InitFrame = CreateFrame("Frame") | |
InitFrame:SetScript("OnUpdate", InitFrameUpdate) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Druid Feral Rotation (PvP)-- | |
--Created By Mhswarior-- | |
-- Constants-- | |
UPDATE_INTERVAL = math.random(.2,.4) -- in seconds | |
LAST_UPDATE = GetTime() | |
EmpoweredRip = false | |
EmpoweredRake = false | |
InitFrame = CreateFrame("Frame") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[-------------------------------------------------------------------------------------------- | |
-- SPLASH LOGO | |
--------------------------------------------------------------------------------------------]]-- | |
local function onUpdate(RotAgentSplash,elapsed) | |
if RotAgentSplash.time < GetTime() - 15.0 then | |
if RotAgentSplash:GetAlpha() then | |
RotAgentSplash:Hide() | |
else | |
RotAgentSplash:SetAlpha(RotAgentSplash:GetAlpha() - .05) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local _,_,_,_,_, target_id,_ = strsplit("-",UnitGUID("target")) | |
local object_pointer = nil | |
local total_objects = ObjectCount() | |
for i=1, total_objects do | |
local _, object = pcall(ObjectWithIndex, i) | |
local _, object_exists = pcall(ObjectExists, object) | |
if object_exists then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ProbablyEngine.condition.register("power.regen", function(target) | |
return select(2, GetPowerRegen(target)) | |
end) | |
ProbablyEngine.condition.register("gcd", function(target) | |
local gcd = (1.5/GetHaste(target)) | |
if gcd < 1 then | |
return 1 | |
else | |
return gcd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Probably_RotAgent.lua | |
Rotation Agent (Probably_RotAgent) License | |
This work is licensed under the Creative Commons Attribution-NonCommercial 4.0 International | |
License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/4.0/. | |
]] | |
--[[------------------------------------------------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Spell Regen | |
ProbablyEngine.condition.register("spell.regen", function(target, spell) | |
local name, rank, icon, base_cast_ime, min_range, max_range = GetSpellInfo(spell) | |
local cur_power = UnitPower(target) | |
local cur_haste = UnitSpellHaste(target) | |
local cur_regen = select(2, GetPowerRegen(target)) | |
local cast_time = (base_cast_time / ((cur_haste / 100) + 1)) | |
local cast_regen = cast_time * cur_regen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function PrintDuration(spell) | |
local start, duration, enabled = GetSpellCooldown(spell) | |
if not start then return false end | |
if start ~= 0 then | |
return (start + duration - GetTime()) | |
end | |
return 0 | |
end | |
C_Timer.NewTicker(0.1, (function() print(PrintDuration("Fists of Fury")) end), nil) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ProbablyEngine Rotations | |
-- Released under modified BSD, see attached LICENSE. | |
-- Functions that require FireHack | |
local SpecialTargets = { | |
-- TRAINING DUMMIES | |
31144, -- Training Dummy - Lvl 80 | |
31146, -- Raider's Training Dummy - Lvl ?? | |
32541, -- Initiate's Training Dummy - Lvl 55 (Scarlet Enclave) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[------------------------------------------------------------------------------------------------ | |
GLOBAL TABLE OF SPECIAL CASE TARGETS | |
* Credit: MrTheSoulz for the framework | |
--------------------------------------------------------------------------------------------------]] | |
SpecialTargets = { | |
-- TRAINING DUMMIES | |
31144, -- Training Dummy - Lvl 80 | |
31146, -- Raider's Training Dummy - Lvl ?? | |
32541, -- Initiate's Training Dummy - Lvl 55 (Scarlet Enclave) | |
32542, -- Disciple's Training Dummy - Lvl 65 |
NewerOlder