from retail

This commit is contained in:
NoM0Re
2025-01-23 18:30:22 +01:00
parent 8dcb62ec81
commit e1e0744ecf
20 changed files with 433 additions and 81 deletions
+14 -2
View File
@@ -1469,7 +1469,7 @@ function Private.Modernize(data)
migrateToTable(data.load, "itemequiped")
end
--[[if data.internalVersion < 71 then
if data.internalVersion < 71 then
if data.regionType == 'icon' or data.regionType == 'aurabar'
or data.regionType == 'progresstexture'
or data.regionType == 'stopmotion'
@@ -1490,7 +1490,19 @@ function Private.Modernize(data)
end
end
end]]
end
if data.internalVersion < 73 then
if data.conditions then
for conditionIndex, condition in ipairs(data.conditions) do
for changeIndex, change in ipairs(condition.changes) do
if type(change.property) == "string" then
change.property = string.gsub(change.property, "(sub.%d.tick_placement)(%d)", "%1s.%2")
end
end
end
end
end
data.internalVersion = max(data.internalVersion or 0, WeakAuras.InternalVersion())
end