All pastes #403896 Raw Edit

Untitled

public text v1 · immutable
·published 2007-03-20 18:16 UTC
rendered paste body
	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