Thanks for catching the error.
Code:
local sealOfTruth, _, _, _, _, _, sealOfTruthEndTime = UnitBuffID("player", 31801)
if sealOfTruth ~= nil then
sealOfTruthEndTime = sealOfTruthEndTime - GetTime()
end
-- 15 Minutes
if sealOfTruth == nil or sealOfTruthEndTime <= 900 then
return true
end
Can you explain what calls they are?
Can I just call all the api's with a simple code instead of a _,_,_ or does it slow the rotation?
Would it be fine to just do _, _, _, _, _, for all spells?
I saw in bubbas frost profile it had only two ,_,_ for his trinket code.
Why are their two variables when you do the api call? sealOfTruth refers to the spell and sealOfTruthEndTime refers to something in the api? or all 5 of those api calls?
Does the variable only apply for the last api call or all of them?
edit:
Code:
local inquisition, _, _, _, _, _, inquisitionEndTime = UnitBuffID("player", 84963)
local holyPower = UnitPower("player", 9)
if holyPower == 2 and PQR_SpellAvailable(35395) and UnitBuffID("player", 86172) then
CastSpellByID(35395,"target")
CastSpellByID(85256,"target")
return true
end
Will it stay on the spell until it's completed? So cast crusader followed by templar then return true to cast templar again.
Would solve my problem with knowing when a templar is cast, I can just place it above exo/how.