getStats

getStats([number entity]) → map stats
Returns all the stats of the entity entity, as a map whose keys are the STAT_* constants and whose values are the current values of the stats. Equivalent to calling getStat for each stat.