Module:Damage: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 53: Line 53:
         -- Define tables that hold the subsequent damage values.
         -- Define tables that hold the subsequent damage values.
         -- I know this isn't the best, but I don't want to work with nested tables in this language.
         -- I know this isn't the best, but I don't want to work with nested tables in this language.
         local fvals, tvals, pvals1, pvals2, pvals12 = {}
         local fvals = {}
        local tvals = {}
        local pvals1 = {}
        local pvals2 = {}
        local pvals12 = {}


         -- Check the specified mode and define the prefixes/suffixes first.
         -- Check the specified mode and define the prefixes/suffixes first.