(fix/GenericTrigger) regex for weapon enchants
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user