For use in Template:PNCHero. Returns calculated stats from Module:Hero_star and Module:Hero_potential based on hero ID and rarity.
Test case for Persicaria (index 1001):
3
108,3,2,73,0,0,500,1,30,0,2,1,0,0,0,0,0,0,0,
189,5,3,73,0,0,500,1,65,0,3,1,0,0,0,0,0,0,0,
270,7,4,73,0,0,500,1,108,0,4,1,0,0,0,0,0,0,0,
337,8,5,73,0,0,500,1,134,0,5,1,0,0,0,0,0,0,0,
458,10,6,73,3,1,500,1,183,0,6,1,0,0,0,0,0,0,0,
511,11,6,79,14,5,500,1,204,0,6,1,0,0,0,0,0,0,0,
537,11,6,88,28,10,500,1,303,0,6,1,0,0,0,0,0,0,0,
590,12,6,99,49,17,500,1,354,0,6,1,0,0,0,0,0,0,0,
643,13,6,110,70,25,500,1,406,0,6,1,0,0,0,0,0,0,0,
29614,1518,935,0,0,0,0,455,0,1945,943,455,0,0,0,0,0,0,0,
33652,1725,1062,0,0,0,0,517,0,2210,1071,517,0,0,0,0,0,0,0,
37690,1932,1189,0,0,0,0,579,0,2475,1199,579,0,0,0,0,0,0,0,
41728,2139,1316,0,0,0,0,641,0,2740,1327,641,0,0,0,0,0,0,0,
45766,2346,1443,0,0,0,0,703,0,3005,1455,703,0,0,0,0,0,0,0,
57207,2415,1485,0,0,0,0,723,0,3093,1497,723,0,0,0,0,0,0,0,
69225,2484,1527,0,0,0,0,743,0,3181,1539,743,0,0,0,0,0,0,0,
73070,2622,1611,0,0,0,0,784,0,3357,1624,784,0,0,0,0,0,0,0,
76915,2760,1695,0,0,0,0,825,0,3533,1709,825,0,0,0,0,0,0,0,
76,6,4,0,0,0,0,2,0,8,4,2,0,0,0,0,0,0,0,
172,11,8,0,0,0,0,4,0,16,8,4,0,0,0,0,0,0,0,
336,19,14,0,0,0,0,7,0,27,14,7,0,0,0,0,0,0,0,
616,30,23,0,0,0,0,11,0,43,23,11,0,0,0,0,0,0,0,
1058,47,35,0,0,0,0,17,0,66,35,17,0,0,0,0,0,0,0,
1760,70,52,0,0,0,0,26,0,99,52,26,0,0,0,0,0,0,0,
2150,86,64,0,0,0,0,32,0,120,64,32,0,0,0,0,0,0,0,