(fix/GenericTrigger) regex for weapon enchants

This commit is contained in:
NoM0Re
2025-05-13 23:42:40 +02:00
committed by GitHub
+1 -1
View File
@@ -3358,7 +3358,7 @@ do
if(v:GetObjectType() == "FontString") then
local text = v:GetText();
if(text) then
local _, _, name, shortenedName = text:find("^((.-) ?+?[VI%d]*) %(%d+ .+%)$");
local _, _, name, shortenedName = text:find("^((.-) ?+?[XVI%d]*) %(%d+ .+%)$");
if(name) then
return name, shortenedName;
end