function findClassStats(character) {
    switch (character.class) {
        case "Cleric":
            return [25, 10, 30, 20, 15];
        case "Paladin":
            return [30, 30, 15, 10, 15];
        case "Wizard":
            return [15, 10, 30, 20, 25];
        case "Rogue":
            return [10, 20, 15, 25, 30];
        case "Ranger":
            return [15, 10, 20, 30, 25];
        default:
            return false;
    }
}
/**
 * Finds the correct class stat distribution of the chosen character.
 * @param {Character} character the chosen character.
 * @returns array of the correct classes stat distribution.
 */
Finds the correct class stat distribution of the chosen character.
@param {Character} character the chosen character.
@returns array of the correct classes stat distribution.
Finds the correct class stat distribution of the chosen character . @param { Character } character the chosen character . @returns array of the correct classes stat distribution .
function findClassStats(character) {
    switch (character.class) {
        case "Cleric":
            return [25, 10, 30, 20, 15];
        case "Paladin":
            return [30, 30, 15, 10, 15];
        case "Wizard":
            return [15, 10, 30, 20, 25];
        case "Rogue":
            return [10, 20, 15, 25, 30];
        case "Ranger":
            return [15, 10, 20, 30, 25];
        default:
            return false;
    }
}
function findClassStats ( character ) { switch ( character . class ) { case "Cleric" : return [ 25 , 10 , 30 , 20 , 15 ] ; case "Paladin" : return [ 30 , 30 , 15 , 10 , 15 ] ; case "Wizard" : return [ 15 , 10 , 30 , 20 , 25 ] ; case "Rogue" : return [ 10 , 20 , 15 , 25 , 30 ] ; case "Ranger" : return [ 15 , 10 , 20 , 30 , 25 ] ; default : return false ; } }
Finds the correct class stat distribution of the chosen character.
Finds the correct class stat distribution of the chosen character .