插件命令: /DBM
打開窗口:左側菜單 - 其他 - PVP - 常規設置 - 自動釋放靈魂
宏命令:
自動釋放
/script T,F=T or 0,F or CreateFrame("frame")if X then X=nil else X=function()local t=GetTime()if t-T>1 then StaticPopup1Button1:Click()T=t end end end F:SetScript ("OnUpdate",X)
查看軍銜榮譽
/script P=(math.floor(GetPVPRankProgress(target)*10000))/100 W=UnitPVPRank("player") N=(W-6)*5000+5000*P/100 Q=(W-5)*5000-N*0.8 SendChatMessage("當前榮譽條進度"..P.."%"..",軍銜經驗"..N..",下週需"..Q.."軍銜經驗才能升級","emote")
稍後看下 wow 自帶的lua腳本怎麼寫的。