/run local f,t=RnT or CreateFrame("Button","RnT",nil,"SecureActionButtonTemplate") f:SetAttribute("type","item") t=GetItemInfo(C_ToyBox.GetToyFromIndex(random(10))) f:SetAttribute("item",t) print("Casting toy:",t)
/click RnT

 


사용법

1. 장난감 창에서 원하는 랜덤시전 장난감을 즐겨찾기로 설정해놓는다

2. 위 매크로에서 GetToyFromIndex(random(10)) 부분에서 숫자10을 즐겨찾기 해놓은 장난감 갯수로 변경

3. 실행



재접하거나 리로드했을때는 장난감창을 한번 열어줘야 작동

채팅창으로 쓴 아이템 이름띄워주는게 거추장스러우면 print("Casting toy:",t) 부분 삭제