Originally Posted by
Xelper
I didn't really work out Divine Purpose since I don't use it. Its supposed to be a wash vs Holy Avenger (what I use.) (within 1-2%)
Sacred Shield is the very last ability in the rotation, and Skip Unknown is set to True... so even if Skip Unknown is broken (is it?) it wont matter if it tries to cast it.
Yes, the delay list stops the rotation for 1 second if it notices the spell trying to be cast by the player. You shouldn't use a delay for any automated abilities. If the spell is cast successfully the delay is ended early and the rotation resumes. You need to setup the delay list the same way I do (using PQR_RotationStarted variable) because the delay list is cleared on rotation change.
PHP Code:
if PQR_RotationStarted == true then
-- Should be reloaded every time you reload Profile (No more needing to /rl)
PQR_RotationStarted = false
-- Variables
PQR_ResetMovementTime = 0.3
PQR_SpellAvailableTime = ((select(3,GetNetStats()) + select(4,GetNetStats())) / 1000)
-- Delays
PQR_AddToSpellDelayList(642, 0, 1) --Divine Shield
PQR_AddToSpellDelayList(853, 0, 1) --Hammer of Justice
PQR_AddToSpellDelayList(6940, 0, 1) --Hand of Sacrifice
PQR_AddToSpellDelayList(1044, 0, 1) --Hand of Freedom
PQR_AddToSpellDelayList(20066, 0, 1) --Repentance
PQR_AddToSpellDelayList(1022, 0, 1) --Hand of Protection
PQR_AddToSpellDelayList(79634, 58146, 1) --Golem's Strength (spellID, itemID, delay)
PQR_AddToSpellDelayList(105706, 76095, 1) -- Potion of Mogu Power
if PQR_LoadLua ~= nil then
-- Load Data File
if PQR_LoadLua("PQR_Avery_Data.lua") == false then
PQR_WriteToChat("You are missing PQR_Avery_Data.lua. Rotation has been stopped.", "Error")
PQR_StopRotation()
return true
end
end
end
This is what I have right now; I saw you still had the latency changer, does this replace it correctly?
PHP Code:
PQR_SpellAvailableTime = ((select(3,GetNetStats()) + select(4,GetNetStats())) / 1000)
Originally Posted by
kickmydog
Anyone have some good code for the Crossing Over debuff from the third boss in Vaults?
[PHP]--crossed over Gara'jal the Spiritbender
local crossedover = select(7,UnitDebuffID("player",116161))
if crossedove and crossedove - GetTime() < 1.5 then RunMacroText("/click ExtraActionButton1") end[PHP]
this doesn't seem to be working.
I just read up on the fight, when do you hit the button? Icy-veins doesn't have any info on it.
nvm, just found an id for the button? http://www.wowdb.com/spells/120715-return-soul
you hit the button to return from the spirit realm? from what I read, you need to be fully healed before pressing the button so something like.
http://www.wowdb.com/spells/116272-banishment
--Banished
if select(7,UnitDebuffID("player", 116272)) then
if (100 * UnitHealth("player") / UnitHealthMax("player")) == 100 then
RunMacroText("/click ExtraActionButton1")
end
end