확장팩 팁과 노하우 게시판

전체보기

모바일 상단 메뉴

본문 페이지

[애드온] 11.0.2 패치 후 Grid2SurvivalBuff 작동안함 해결법

아이콘 즐거운나날
댓글: 16 개
조회: 6860
추천: 10
2024-08-15 14:40:28
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 = "생존기 설정"
      })


Lv76 즐거운나날

모바일 게시판 하단버튼

댓글

새로고침
새로고침

모바일 게시판 하단버튼

지금 뜨는 인벤

더보기+

모바일 게시판 리스트

모바일 게시판 하단버튼

글쓰기

모바일 게시판 페이징

최근 HOT한 콘텐츠

  • 와우
  • 게임
  • IT
  • 유머
  • 연예
AD