nl_tokens: Utility method to get the Individual Values from Pokémon
pl_tokens: function ( pokemon , decimals ) { if ( typeof decimals === 'undefined' ) decimals = - 1 ; decimals = Math . <mask> ( decimals , 20 ) ; var att = pokemon . individual_attack , def = pokemon . individual_defense , stam = pokemon . individual_stamina ; var unroundedPercentage = ( att + def + stam ) / 45 * 100 ; var percent = decimals < 0 ? unroundedPercentage : + unroundedPercentage . toFixed ( decimals ) ; return { att : att , def : def , stam : stam , percent : percent } ; }