function calculateDamage(character, move) {
    let roll = Math.floor(Math.random() * 11);
    let variation = 0.95 + (roll / 100);
    let damage = Math.round((((character.str * 0.065) * move.pow) + 10) * variation);
    console.log(character.name + " does " + damage + " to " + target.name);
    return damage;
}
/**
 * Calculates the damage output of a selected move
 * @param {Character} character the character using the move
 * @param {Move} move the selected move used
 * @returns damage as a number
 */
Calculates the damage output of a selected move
@param {Character} character the character using the move
@param {Move} move the selected move used
@returns damage as a number
Calculates the damage output of a selected move @param { Character } character the character using the move @param { Move } move the selected move used @returns damage as a number
function calculateDamage(character, move) {
    let roll = Math.floor(Math.random() * 11);
    let variation = 0.95 + (roll / 100);
    let damage = Math.round((((character.str * 0.065) * move.pow) + 10) * variation);
    console.log(character.name + " does " + damage + " to " + target.name);
    return damage;
}
function calculateDamage ( character , move ) { let roll = Math . floor ( Math . random ( ) * 11 ) ; let variation = 0.95 + ( roll / 100 ) ; let damage = Math . round ( ( ( ( character . str * 0.065 ) * move . pow ) + 10 ) * variation ) ; console . log ( character . name + " does " + damage + " to " + target . name ) ; return damage ; }
Calculates the damage output of a selected move
 @param {Character} character the character using the move
 @param {Move} move the selected move used
 @returns damage as a number
Calculates the damage output of a selected move @param { Character } character the character using the move @param { Move } move the selected move used @returns damage as a number