Module:Damage: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 723: Line 723:


             if (type == 'hit_count' and not hide) then
             if (type == 'hit_count' and not hide) then
                 if not args.no_max then
                 if args.no_max == 'true' then
                    increaseSpace(mode_th, 'row')
                else
                     reverseMultiplySpace();
                     reverseMultiplySpace();
                 end
                 end
Line 749: Line 751:
                 for i = 1, loop_factor, 1 do
                 for i = 1, loop_factor, 1 do
                     new(data.avg, true)
                     new(data.avg, true)
                     if not args.no_max then
                     if not args.no_max == 'true' then
                         new(data.max, false)
                         new(data.max, false)
                     end  
                     end  
Line 756: Line 758:


         until true
         until true
    end
    if args.no_max == 'true' and args.avg_hits then
        hit_count_table[2] = nil
     end
     end