GenericTrigger: fix regex for weapon enchants

This commit is contained in:
Artur Morozov
2025-05-13 22:56:42 +03:00
parent 4d47aabcda
commit 4f547d6804
+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