Module:Damage: Difference between revisions

no edit summary
(Add i18n to DMP, awk)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 422: Line 422:
                             hit_count = hit_count == '' and 1 or hit_count
                             hit_count = hit_count == '' and 1 or hit_count
                             new_value.hit_counts[damage_type][k] = hit_count *
                             new_value.hit_counts[damage_type][k] = hit_count *
                                 ((string.find(damage_key, 'awk_') and args.awk_count) and args.awk_count[1] or args.count[1])
                                 ((string.find(damage_key, 'awk') and args.awk_count) and args.awk_count[1] or args.count[1])
                         end
                         end
                     end)
                     end)
Line 942: Line 942:
     if OPTIONS.bug then
     if OPTIONS.bug then
         bug = frame:expandTemplate {
         bug = frame:expandTemplate {
             title = 'SkillText',
             title = translate('SkillText'),
             args = { 'FreeTraining' }
             args = { 'FreeTraining' }
         }
         }