import { STATS } from './constants'

/**
 * Defines functions that calculate limb sizes and positions
 */

export const thighGap = () => 13
export const armGirth = friendo => friendo.getStatStage(STATS.ARM) * 2
export const armLength = friendo => Math.floor(((friendo.getStatStage(STATS.ARM) - 1) * 6) + 10)
export const legGirth = friendo => friendo.getStatStage(STATS.LEG) * 2
export const legHeight = friendo => ((friendo.getStatStage(STATS.LEG) - 1) * 6) + 10
export const footLength = friendo => Math.floor(legGirth(friendo) * 1.3) + 3
export const footHeight = friendo => legHeight(friendo) / 4

import { STATS } from './constants'

/**
 * Defines functions that calculate limb sizes and positions
 */

export const thighGap = () => 13
export const armGirth = friendo => (friendo.getStat(STATS.ARM) * 0.2) + 2
export const armLength = friendo => Math.floor(((friendo.getStat(STATS.ARM) - 1) * 0.6) + 10)
export const legGirth = friendo => (friendo.getStat(STATS.LEG) * 0.2) + 2
export const legHeight = friendo => ((friendo.getStat(STATS.LEG) - 1) * 0.6) + 10
export const footLength = friendo => Math.floor(legGirth(friendo) * 1.3) + 3
export const footHeight = friendo => legHeight(friendo) / 4

Modify leg and arm scaling to use raw stats
:recycle: Modify leg and arm scaling to use raw stats
