Hisop
2021-03-21 20:37
조회: 2,485
추천: 0
특정 버프 캐릭터 옆에 띄우는 매크로-- 특정 버프 중앙에 띄워놓기 local f = CreateFrame("Frame",nil,UIParent) f:SetFrameStrata("BACKGROUND") f:SetWidth(30) f:SetHeight(30) local t = f:CreateTexture(nil,"BACKGROUND") t:SetAllPoints(f) f:SetPoint("CENTER",100,40) local c = CreateFrame("Cooldown", nil, f, "CooldownFrameTemplate") f:Hide() f:RegisterEvent("UNIT_AURA") f:SetScript("OnEvent", function(self,event) local name, icon, _, _, duration, a = AuraUtil.FindAuraByName("꾸준한 집중", "player") --HELPFUL buffs. HARMFUL debuffs. if name == "꾸준한 집중" then t:SetTexture(icon) f:Show() c:SetCooldown (a-duration, duration) elseif name == nil then f:Hide() end end) lua에 추가. 기록 겸 남겨둡니다. 질문은 댓글 다들 위크오라 쓰는건 알지만 매크로로만 인터페이스 짜서 쓰는 인간입니다. 끝
EXP
141,097
(24%)
/ 160,001
Hisop
|
인벤 공식 앱
댓글 알람 기능 장착! 최신 게임뉴스를 한 눈에 보자