Untitled
public text v1 · immutable if data["Arcane Explosion Time"] == nil then
data["Arcane Explosion Time"] = os.time();
end
local nowtime = os.time();
local casttimecheck = (nowtime - data["Arcane Explosion Time"])
if (data["Silence"] == false) then
if casttimecheck >= 8 then
-- Arcane Explosion
local num = rand_range(0,100)
if (num >= 50) then
end
LuaAI:DoCast(unit, 9433);
data["Arcane Explosion Time"] = os.time();
data["Arcane Explosion"] = true;
LuaAI:SetData(data)
return;
end
end
en