World of Warcraft/[WoW] 위크오라

와우 용군단 클릭 가능한 위크오라 / 작동하지 않을 때

레임3D 2022. 12. 3.

용군단 이후 클릭 가능한 위크오라 내부 구조가 바뀌었나보네요.

동작 > 사용자 정의에 아래 문구를 넣어야합니다.

 

클릭 스킬 사용

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]])

 

 

 

 

💲 추천 글