즐거운나날
2024-08-15 14:40
조회: 3,363
추천: 10
11.0.2 패치 후 Grid2SurvivalBuff 작동안함 해결법11.0.2 패치후에 몇몇 구버전 API 사용이 막히면서 몇몇 애드온과 위크오라가 작동이 안됩니다.
그리드 프레임에 생존기나 물약사용 상태를 보여주는 Grid2SurvivalBuff 애드온도 같은 문제를 겪고있구요. 해당 애드온 쓰시던 분들이라면 물약이나 작은 생존기를 각자 추가해서 쓰셨을꺼라 전체버전은 공유하지않고, 작동하기위해 수정해야하는부분만 공유드립니다. Grid2SurvivalBuff.lua 의 아래 내용을 수정. -원본 local GetSpellInfo = GetSpellInfo local GetSpellTexture = GetSpellTexture -수정 후 local GetSpellInfo = C_Spell.GetSpellInfo local GetSpellTexture = C_Spell.GetSpellTexture -원본 local name, te, co, _, du, ex, _, _, _, spellId = UnitBuff(unit, index) -수정 후 local buffData = C_UnitAuras.GetAuraDataByIndex(unit, index) if not buffData then break end local name = buffData.name local te = buffData.icon local co = buffData.applications local du = buffData.duration local ex = buffData.expirationTime local spellId = buffData.spellId -원본 Grid2Options:RegisterStatusOptions("survival-buff", "combat", Grid2Options.MakeStatusColorOptions, { title = "생존기/물약", titleIcon = GetSpellTexture(12975), titleDesc = "생존기 설정" }) -수정 후 Grid2Options:RegisterStatusOptions("survival-buff", "combat", Grid2Options.MakeStatusColorOptions, { title = "생존기/물약", titleIcon = C_Spell.GetSpellTexture(12975), titleDesc = "생존기 설정" })
EXP
269,218
(36%)
/ 285,001
즐거운나날
|
인벤 공식 앱
댓글 알람 기능 장착! 최신 게임뉴스를 한 눈에 보자