PQR
for i=1,5 do
local bossUnit = "boss"..i
if not UnitIsUnit("target", bossUnit) and IsSpellInRange(GetSpellInfo(589), bossUnit) == 1 then
if not UnitDebuffID(bossUnit, 589,"PLAYER") or select(7, UnitDebuffID(bossUnit, 589,"PLAYER")) - GetTime() < 4.5 then
CastSpellByName(GetSpellInfo(589), bossUnit)
end
end
end
Conversion Probably help me
oLUA + Probably. use
for i=1,5 do
local bossUnit = "boss"..i
if not UnitIsUnit("target", bossUnit) and IsSpellInRange(GetSpellInfo(589), bossUnit) == 1 then
if not UnitDebuffID(bossUnit, 589,"PLAYER") or select(7, UnitDebuffID(bossUnit, 589,"PLAYER")) - GetTime() < 4.5 then
CastSpellByName(GetSpellInfo(589), bossUnit)
end
end
end
Conversion Probably help me
oLUA + Probably. use