code: def show_message(self, c_attack, c_defend, result, dmg, print_console='Yes'):
          
          perc_health_att = '[' + str(round((c_attack.stats['Health']*100) / c_attack.stats['max_health'] )) + '%]'
          perc_health_def = '[' + str(round((c_defend.stats['Health']*100) / c_defend.stats['max_health'] )) + '%]'
          if result == 'Miss':
              txt = c_attack.name + ' ' + perc_health_att.rjust(6) + ' miss ' + c_defend.name + ' ' + perc_health_def.rjust(6)
          elif result == 'Crit':
              txt = c_attack.name + ' ' + perc_health_att.rjust(6) + ' CRIT ' + c_defend.name + ' ' + perc_health_def.rjust(6)
              txt +=  ' for ' + str(dmg)   
          else:
              txt = c_attack.name + ' ' + perc_health_att.rjust(6) + ' hits ' + c_defend.name + ' ' + perc_health_def.rjust(6) 
              txt +=  ' for ' + str(dmg)   
          
          if print_console == 'Yes':
              print(txt)
docs: function to wrap the display of the battle messages