作者: mtflying3037 (Bapholet) 看板: WOW
標題: [實況] ESL 3V3 B組 戰野聖 (瞬殺 大貓 黯命)
時間: Sun Jun 17 19:07:50 2012
http://zh-tw.twitch.tv/luciferabyss
第一場是對賊法牧
調整競技場框架
/run local f=ArenaEnemyFrame1; f:SetUserPlaced(true) f:SetMovable(true) f:Ena
bleMouse(true) f:RegisterForDrag("LeftButton") f:SetScript("OnDragStart",f.St
artMoving) f:SetScript("OnDragStop",f.StopMovingOrSizing)
敵方技能CD監控巨集
/run li={408,51713,36554,31224,2094,85388,1044,49576,48707,5484,48020,6789,
33206,8122,853,44572,19647,2139}cd={20,60,24,90,120,45,25,25,45,32,25,90,180,
27,40,30,24,24}
/run fl=0;ic=32;xp=90;yp=-100;n=6;sfc=CooldownFrame_SetTimer;crf=CreateFrame;
ce=math.ceil;ih=IsInInstance;gsi=GetSpellInfo;up=UIParent pe="PLAYER_ENTERING
_WORLD"cdf="Cooldown"
/run function cf(i,s,x,y)local _,_,t=gsi(s)local f=crf("Frame",nil,up)f:SetPo
int("CENTER",x,y)f:SetSize(ic,ic)f.t = f:CreateTexture(nil,"BORDER")f.t:SetAl
lPoints(true)f.t:SetTexture(t)f.c=CreateFrame(cdf,nil,f)f.c:SetAllPoints(f)re
turn f;end
/run function ud(f,ls,lc)f:SetScript("OnEvent",function(_,_,_,e,_,_,_,b,_,_,
_,_,_,s)if((bit.band(b,0x40) == 0x40)and e=="SPELL_CAST_SUCCESS"and s==ls)the
n sfc(f.c,GetTime(),lc,1)end end)f:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED
")end
/run ik=crf("Frame")ik:SetScript("OnEvent",function()local _,t=ih()for i,s in
ipairs(li)do local f=_G["ib"..i]if(t=="arena"or fl==0)then f:Show()f.c:Show(
)else f:Hide()f.c:Hide()end end end)ik:RegisterEvent(pe)
/run for i,s in ipairs(li)do _G["ib"..i] = cf(i,s,xp+(ic+5)*ce((i-1)%n),yp-(i
c+5)*ce(i/n))ud(_G["ib"..i],s,cd)end
一共做成6個巨集,(複製後將整行接起來) 遊戲內照順序按即可
。設置
第一行可以自定義技能 il=技能編號 後半cd=對應秒數
例 il={408,51713,...對應cd={20,60,... (腎擊20秒 影舞60秒...)
第二行的 /run fl=0;ic=32;xp=90;yp=-100;n=6
ic=圖標大小 xp=X軸 yp=Y軸(圖示位置) n=一行顯示多少個圖案
--
◣◢█████◣ ◢
██‵██′████
惡魔牛 ◥█◣◥█●██●■■■◤ ◢█◤
哞哞...! ◢█◢███████◥ ◢██◤
◢██• • ████◣■█◣
◥█████████◥ ◢◤
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.35.2.235
※ 編輯: mtflying3037 來自: 114.35.2.235 (06/17 19:08)
→ BigCat:(咬餌) 06/17 19:08
推 stanwhale:大貓加油(? 06/17 19:13
→ mtflying3037:XD 有撞名 06/17 19:14
→ mtflying3037:那個大貓是銀翼的一個猛野D haha 06/17 19:15
推 FireWolfGO:內含控制碼 06/17 20:08
※ 編輯: mtflying3037 來自: 114.35.2.235 (06/17 20:14)
→ mtflying3037:我發現指令沒複製好 修正了 sorry! 06/17 20:15
※ 編輯: mtflying3037 來自: 114.35.2.235 (06/17 21:16)
※ 編輯: mtflying3037 來自: 114.35.2.235 (06/17 21:17)
- Jun 18 Mon 2012 02:38
[實況] ESL 3V3 B組 戰野聖(瞬殺大貓黯命)(收播)
全站熱搜
留言列表
發表留言