용군단 이후 클릭 가능한 위크오라 내부 구조가 바뀌었나보네요.
동작 > 사용자 정의에 아래 문구를 넣어야합니다.
클릭 스킬 사용
local button = CreateFrame("Button", "reim", aura_env.region, "SecureActionButtonTemplate")
button:SetAllPoints()
button:RegisterForClicks("LeftButtonDown", "LeftButtonUp")
button:SetAttribute("type", "spell")
button:SetAttribute("spell", 265187)
아이템 사용
1) 이제 활성조건에서 아이템 카테고리로 가방에 있는 아이템을 체크할 수 있습니다.
2) 아이템은 매크로 형태로 사용 가능합니다. 동작 > 사용자 정의에
예시 - 아이템
if not aura_env.clickableFrame then
local r = aura_env.region
aura_env.clickableFrame = CreateFrame("Button", "ConsumeButton", r, "SecureActionButtonTemplate")
end
aura_env.clickableFrame:SetAllPoints()
aura_env.clickableFrame:RegisterForClicks("LeftButtonDown", "LeftButtonUp")
aura_env.clickableFrame:SetAttribute("type", "macro")
aura_env.clickableFrame:SetAttribute("macrotext", [[/use item:5512]])
예시 - 장신구
local button = CreateFrame("Button", "WA_PoisonReminder", aura_env.region,"SecureActionButtonTemplate")
button:SetAllPoints()
--button:SetAttribute("unit","player")
button:RegisterForClicks("LeftButtonDown", "LeftButtonUp")
button:SetAttribute("type", "macro")
button:SetAttribute("macrotext", [[/use 14]])
'World of Warcraft > [WoW] 위크오라' 카테고리의 다른 글
와우 용군단 기원사 우르보로스 위크오라 (0) | 2022.12.09 |
---|---|
와우 용군단 위크오라 기본 아이콘 만드는 방법 (0) | 2022.12.09 |
와우 쐐기 전용 위크오라 백업 (0) | 2022.11.24 |
와우 위크오라 탱커 던전 요청 브리핑 (0) | 2022.11.23 |
와우 어둠땅 주술사 위크오라 하단버전 (1) | 2021.09.21 |