Module:Damage: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 274: Line 274:
             prefix = prefix .. '_'
             prefix = prefix .. '_'
         end
         end
         if dmg == 0 then
         if dmg == 0 or (args.nomax == 'true' and string.find(name, 'total')) or (args.noavg == 'true' and string.find(name, 'total')) then
             dmg = '-'
             dmg = '-'
         else
         else