Module:GameData: Difference between revisionsGive feedback
record_matches_prop: unwrap table-valued properties before zero-check to fix false positives where Value = 0 (with help from vergir-bot LLM) |
m skip AutoRegisterModifierValueFromAbilityPropertyName on property matchin |
||
| Line 38: | Line 38: | ||
end | end | ||
end | end | ||
if type(v) == "table" then | if type(v) == "table" and k ~= "AutoRegisterModifierValueFromAbilityPropertyName" then | ||
if record_matches_prop(v, prop) then return true end | if record_matches_prop(v, prop) then return true end | ||
elseif type(v) == "string" then | elseif type(v) == "string" then | ||