Anonymous

Module:Test: Difference between revisions

From Elwiki
14 bytes removed ,  10 October 2023
no edit summary
No edit summary
No edit summary
Tag: Reverted
Line 282: Line 282:
     -- Function to apply inheritance for a specific argument key
     -- Function to apply inheritance for a specific argument key
     local function applyInheritanceForKey(args, prefix, argTable, damageTypeIndex, damageType)
     local function applyInheritanceForKey(args, prefix, argTable, damageTypeIndex, damageType)
         local mainKey = argTable[1] .. damageType
         local mainKey = argTable[1]
         local mainKeyPrefixed = prefix .. mainKey
         local mainKeyPrefixed = prefix .. mainKey
         local mainArgValues = args[mainKeyPrefixed]
         local mainArgValues = args[mainKeyPrefixed]