/run if GetSpellCooldown(768)+GetSpellCooldown(27002)+GetSpellCooldown(27011)+GetSpellCooldown(27011)+GetSpellCooldown(33983)+GetSpellCooldown(24248)=0 then 변신해제 end /시전 [noform:1]!표범 변신
혹씨 나무 껍질은 어떻게 써야하나요 제가 좀 수정해봐도 안돼요ㅠ 나무껍질만 쓰고 사람 폼으로 멀둥멀둥 서있어요. 선생님들 도와주세요~ /run if GetSpellCooldown(768)+GetSpellCooldown(22812)>0 or UnitPower("player",0)<GetSpellPowerCost(768)[1].cost then SetCVar("autoUnshift",0) end; /use 나무 껍질 /cast [noform:1]!광포한 곰 변신 /run SetCVar("autoUnshift",1)
Message: [string "if GetSpellCooldown(768)+GetSpellCooldown(27002)+GetSpellCooldo..."]:1: 'then' expected near '=' Time: Sat May 28 19:17:17 2022 Count: 1 Stack: [string "if GetSpellCooldown(768)+GetSpellCooldown(27002)+GetSpellCooldo..."]:1: 'then' expected near '=' [string "=[C]"]: in function `RunScript' [string "@Interface\FrameXML\ChatFrame.lua"]:2174: in function `?' [string "@Interface\FrameXML\ChatFrame.lua"]:4900: in function `ChatEdit_ParseText' [string "@Interface\FrameXML\ChatFrame.lua"]:4563: in function `ChatEdit_SendText' [string "@Interface\FrameXML\ChatFrame.lua"]:2944: in function <Interface\FrameXML\ChatFrame.lua:2937> [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: in function `UseAction' [string "@Interface\FrameXML\SecureTemplates.lua"]:343: in function `handler' [string "@Interface\FrameXML\SecureTemplates.lua"]:625: in function `SecureActionButton_OnClick' [string "@Interface\FrameXML\MultiActionBars.lua"]:14: in function `MultiActionButtonDown' [string "MULTIACTIONBAR3BUTTON8"]:2: in function <[string "MULTIACTIONBAR3BUTTON8"]:1>
Locals: (*temporary) = "if GetSpellCooldown(768)+GetSpellCooldown(27002)+GetSpellCooldown(27011)+GetSpellCooldown(27011)+GetSpellCooldown(33983)+GetSpellCooldown(24248)=0 then 변신해제 end"
/사용 [stance:0/2/4]특급 치유 물약
/매크로중지 [stance:0]
/변신해제 [stance:1]
/사용 [stance:0]특급 치유 물약
/시전 [stance:0]광포한 곰 변신
/변신해제 [stance:3]
/사용 [stance:0]특급 치유 물약
/시전 [stance:0]표범 변신
/run SetCVar("autoUnshift",1)
이런식으로해도 발동될까요??
와우헤드로 검색했을 때, 주소창에 item=숫자로 나오는 부분이 아이템 ID 넘버더라구요.
/시전 [noform:1]!표범 변신
혹시 이 부분 곰에서 표범으로 변신이 안되는데
변신 되게 할수없을까요 ``?
을
/시전 [noform:2]!표범 변신
으로 바꾸면 됩니다. 1이 곰 2가 표범이니,
곰이 아닐 때 표범으로 변신 > 표범이 아닐 떄 표범으로 변신
나무껍질만 쓰고 사람 폼으로 멀둥멀둥 서있어요. 선생님들 도와주세요~
/run if GetSpellCooldown(768)+GetSpellCooldown(22812)>0 or UnitPower("player",0)<GetSpellPowerCost(768)[1].cost then SetCVar("autoUnshift",0) end;
/use 나무 껍질
/cast [noform:1]!광포한 곰 변신
/run SetCVar("autoUnshift",1)
Time: Sat May 28 19:17:17 2022
Count: 1
Stack: [string "if GetSpellCooldown(768)+GetSpellCooldown(27002)+GetSpellCooldo..."]:1: 'then' expected near '='
[string "=[C]"]: in function `RunScript'
[string "@Interface\FrameXML\ChatFrame.lua"]:2174: in function `?'
[string "@Interface\FrameXML\ChatFrame.lua"]:4900: in function `ChatEdit_ParseText'
[string "@Interface\FrameXML\ChatFrame.lua"]:4563: in function `ChatEdit_SendText'
[string "@Interface\FrameXML\ChatFrame.lua"]:2944: in function <Interface\FrameXML\ChatFrame.lua:2937>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `UseAction'
[string "@Interface\FrameXML\SecureTemplates.lua"]:343: in function `handler'
[string "@Interface\FrameXML\SecureTemplates.lua"]:625: in function `SecureActionButton_OnClick'
[string "@Interface\FrameXML\MultiActionBars.lua"]:14: in function `MultiActionButtonDown'
[string "MULTIACTIONBAR3BUTTON8"]:2: in function <[string "MULTIACTIONBAR3BUTTON8"]:1>
Locals: (*temporary) = "if GetSpellCooldown(768)+GetSpellCooldown(27002)+GetSpellCooldown(27011)+GetSpellCooldown(27011)+GetSpellCooldown(33983)+GetSpellCooldown(24248)=0 then 변신해제 end"
재변매클사용하면 이런 lua 오류가 뜨는데 왜그럴까요