Originally Posted by
bauwoo
Yeup the Seal problem is fixed, awesome. Just wondering if Execution Sentence is working and also Mass Exo glyph? I'm on 3.5 of your profile and when I try to update it, the update shows me 3.0.
Actually I haven't put out the update yet, I am trying to fix double jeopardy.
Current code if anyone wants to look
PHP Code:
--Censure time/stack check for double jeoparady
local tCensure = (select(7, UnitDebuffID("target", 31803, "player")))
local fCensure = (select(7, UnitDebuffID("focus", 31803, "player")))
-- Judgment
if hasSeal and UnitPower("player", 9) < 5 then
if UnitExists("focus") and RangeCheck(20271, "focus") then
if not fCensure or select(7, UnitDebuffID("target", 31803, "player")) - GetTime() > select(7, UnitDebuffID("focus", 31803, "player")) - GetTime() then
CastSpellByName(GetSpellInfo(20271), "focus")
end
elseif UnitExists("target") and RangeCheck(20271, "target") then
if not tCensure or select(7, UnitDebuffID("target", 31803, "player")) - GetTime() < select(7, UnitDebuffID("focus", 31803, "player")) - GetTime() then
CastSpellByName(GetSpellInfo(20271), "target")
end
end
end
Thanks for the info on mass exo, I forgot someone or you posted about it before and never took a look at it.
I think I just have the wrong glyph or wrong spell id, so it never cast mass exo.
Code for exo
PHP Code:
-- Exorcism
if UnitBuffID("player", 87138) and UnitPower("player", 9) < 5 or UnitPower("player", 9) < 5 then
if GlyphCheck(83107) and RangeCheck(85256, "target") then
CastSpellByName(GetSpellInfo(879), "target")
elseif not GlyphCheck(83107) and RangeCheck(879, "target") then
CastSpellByName(GetSpellInfo(879), "target")
end
end
122028 might be the mass exo id so change
PHP Code:
if GlyphCheck(83107) and RangeCheck(85256, "target") then
CastSpellByName(GetSpellInfo(122028), "target")