Module:Damage: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 271: Line 271:


     -- Function to apply inheritance for a specific damage type and argument
     -- Function to apply inheritance for a specific damage type and argument
     local function applyInheritance(mainArgValues, inheritArg, mainArgValue, inheritValue, mainKeyPrefixed, inheritKeyPrefixed)
     local function applyInheritance(mainArgValues, inheritArg, mainArgValue, inheritValue)
         if mainArgValue == '' then
         if mainArgValue == '' then
             return inheritValue
             return inheritValue