Module:Damage: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 506: Line 506:


     local count_name = args.count_name or STR.INSTANCE
     local count_name = args.count_name or STR.INSTANCE
     if inArgs('count') then
     if inArgs('count') and not args.use_avg then
         tbl_content.hit_count.avg = table.concat({STR.PER, count_name}, ' ')
         tbl_content.hit_count.avg = table.concat({STR.PER, count_name}, ' ')
     end
     end
Line 723: Line 723:
                 reverseMultiplySpace();
                 reverseMultiplySpace();
                 local avg_or_each = 'avg'
                 local avg_or_each = 'avg'
                 if inArgs('count') then
                 if inArgs('count') and not args.use_avg then
                     avg_or_each = 'each'
                     avg_or_each = 'each'
                 end
                 end