Module:AbilityTable: Difference between revisions

Vergir (talk | contribs)
Drop Duration column from debuff table (with help from vergir-bot LLM)
Vergir (talk | contribs)
mNo edit summary
Line 315: Line 315:
     local function collect_effects(obj, tier)
     local function collect_effects(obj, tier)
         for _, prop in ipairs(stat_to_props["debuff"]) do
         for _, prop in ipairs(stat_to_props["debuff"]) do
             if prop ~= "DebuffDuration" then
             local val = obj[prop]
                local val = obj[prop]
                 if val and val ~= 0 then
                 if val and val ~= 0 then
                     local effect = debuff_prop_to_effect[prop] or prop
                     local effect = debuff_prop_to_effect[prop] or prop
Line 324: Line 323:
                     end
                     end
                 end
                 end
            end
         end
         end
     end
     end