World of Warcraft [CLASSIC] plugin lua 魔兽世界lua脚本插件
World of Warcraft API - Wowpedia - Your wiki guide to the World of Warcraft
D:\World of Warcraft\_classic_\Interface\AddOns
zwf.lua
function CountdownFunc()
CountdownFrame = CreateFrame("Frame")
FrameScript = function()
if GetTime() - MarkTime > 1 then
if S == 0 then
SendChatMessage(">>烟雾弹<<结束", "YELL")
FrameScript = nil
CountdownFrame:SetScript("OnUpdate",FrameScript)
else
SendChatMessage(S,"YELL")
end
MarkTime = GetTime()
S = S - 1
end
end
MarkTime = GetTime()
S = 5
CountdownFrame:SetSc