text: // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  //                                    Imports
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  import { moduleName, moduleTag } from '../constants.js';
  
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  //                                    Attack Roll
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  export async function attackRoll(wrapped, options) {
  	// Flanking
  	if (
  		this.parent.data.flags[moduleName] !== undefined &&
  		this.parent.data.flags[moduleName].flanking &&
  		this?.data?.data?.actionType == 'mwak'
  	) {
  		options.advantage = true;
  		options.fastForward = true;
  	}
  
  	return await wrapped(options);
  }
  
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  //                                Get Attack To Hit
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  export function getAttackToHit(wrapped) {
  	// Flanking
  	let original = wrapped();
  	let mod = game.settings.get(moduleName, 'flankingMod');
  
  	if (this == null) return wrapped();
  	if (original == null) return wrapped();
  
  	if (
  		this?.parent?.data?.flags[moduleName] !== null &&
  		this?.parent?.data?.flags[moduleName]?.flanking &&
  		this?.data?.data?.actionType == 'mwak'
  	)
  		original.parts.push(mod);
  
  	return original;
  }
  
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  //                                    Main Class
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  //                                    Main Class
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  //                                    Main Class
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  //                                    Main Class
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  //                                    Main Class
  // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  