(fix/GenericTrigger) regex for weapon enchants
This commit is contained in:
commit
9def6a5ab8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue