|
2021-04-12 13:29
조회: 3,005
추천: 0
정린이 질문 있습니다 선생님들!![]() 위크오라 설정 하려고 하는데 원시 폭풍의 정령 id 알고 계신분 있을까요? 일반 폭정은 작동을 잘 하는데 원시 폭정은 작동을 안하네용 ㅂㄷㅂㄷ function(states, event, ...) if event == "OPTIONS" then states[""] = { name = "Greater Storm Elemental", icon = 2065626, arg = 1, duration = 180, expirationTime = GetTime() + 180, progressType = "timed", autoHide = true, changed = true, show = true, } return true end if event == "PLAYER_ENTERING_WORLD" and states[""] then states[""].show = false states[""].changed = true return true elseif event == "PLAYER_TOTEM_UPDATE" then local arg = ... if arg then --actual event local haveTotem, name, startTime, duration, icon = GetTotemInfo(arg) if haveTotem and icon == 2065626 then states[""] = { name = name, icon = icon, arg = arg, duration = duration, expirationTime = startTime + duration, progressType = "timed", autoHide = true, changed = true, show = true, } return true elseif states[""] and states[""].arg == arg then states[""].show = false states[""].changed = true return true end else --options closed for i=1, 5 do local haveTotem, name, startTime, duration, icon = GetTotemInfo(i) if haveTotem and icon == 2065626 then states[""] = { name = name, icon = icon, arg = i, duration = duration, expirationTime = startTime + duration, progressType = "timed", autoHide = true, changed = true, show = true, } return true end end end end end |






