Originally Posted by
saga3180
can someone help me out how to fix this Holy light?
local start,duration,enabled = GetSpellCooldown(20473)
if (start+duration-GetTime()) > 1.0 and (start+duration-GetTime()) < 1.5 then return false end
if Spell == "Holy Shock" or Spell == "Holy Light" or Spell == "Flash of Light" or Spell == "Divine Light" then return false end
if PQR_CustomTargetHP < 96 and PQR_IsMoving(0.1) == false then
return true
end
Its trying to do holy shock and holy light at the same time and wont cast any
Sometimes it keeps getting stuck trying to cast on myself or people.
i'll try to take a stab
Code:
local start,duration,enabled = GetSpellCooldown(20473)
if start + (duration - GetTime()) > 1 and start + (duration - GetTime()) < 1.5 then return false end
if Spell == "Holy Shock" or Spell == "Flash of Light" or Spell == "Divine Light" then return false end
if PQR_CustomTargetHP < 96 and PQR_IsMoving(0.1) == false then
return true
end