From d83780d9f8cc2a2e7c8c534d42ec4262c229a709 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 20 May 2019 18:12:40 +0200 Subject: [PATCH] libdebuff: fix invalid capture index on ruRU client --- libs/libdebuff.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/libdebuff.lua b/libs/libdebuff.lua index b03175b8..746cae69 100644 --- a/libs/libdebuff.lua +++ b/libs/libdebuff.lua @@ -16,6 +16,11 @@ if pfUI.client > 11200 then return end -- return instantly when another libdebuff is already active if pfUI.api.libdebuff then return end +-- fix a typo (missing $) in ruRU capture index +if GetLocale() == "ruRU" then + SPELLREFLECTSELFOTHER = gsub(SPELLREFLECTSELFOTHER, "%%2s", "%%2%$s") +end + local libdebuff = CreateFrame("Frame", "pfdebuffsScanner", UIParent) local scanner = libtipscan:GetScanner("libdebuff") local _, class = UnitClass("player")