FANDOM


Creates a table to keep track of a Hero's Stats.
Always show the first 4 levels.
Only shows SET and FULL SET if there is Set information input.


Ultimately went with a maxlevel parameter to prevent this from going down the rabbit hole of 40 nested templates (which breaks stuff) that would have resulted from the set calculations to grab the greatest level's info.

This one should add the +1/+1 from the hero crystal to attack and defense automatically if they aren't explicitly stated. The only exceptions are Kobo(/Kataan/Arielle, maybe) right now anyway, but they're taken into account anyway. Better than making a whole template for them.

For generals like Malekus and Kobo where they have unusual Att/Def gains past level 15 (Malekus gets +2/+2), set overrideAttDef to 1 to override automatic calculation for the set.

Override Att/Def Usage: {{HeroStats|<Lvl1Attack=>|<Lvl1Defense=>|<Lvl1Abilities=>|<Lvl2Attack=>|<Lvl2Defense=>|<Lvl2Abilities=>|<Lvl3Attack=>|<Lvl3Defense=>|<Lvl3Abilities=>|<Lvl4Attack=>|<Lvl4Defense=>|<Lvl4Abilities=>|<Lvl5Attack=>|<Lvl5Defense=>|<Lvl5Abilities=>|<Lvl6Attack=>|<Lvl6Defense=>|<Lvl6Abilities=>|<Lvl7Attack=>|<Lvl7Defense=>}}

Minimal usage (for Level 15): {{HeroStats|<Lvl1Attack=>|<Lvl1Defense=>|<Lvl1Abilities=>|<Lvl2Attack=>|<Lvl2Defense=>|<Lvl2Abilities=>|<Lvl3Attack=>|<Lvl3Defense=>|<Lvl3Abilities=>|<Lvl4Attack=>|<Lvl4Defense=>|<Lvl4Abilities=>|<Lvl5Abilities=>|<Lvl6Abilities=>|<Lvl7Abilities=;>|<Lvl8Abilities=>|<Lvl9Abilities=>|<Lvl10Abilities=>|<Lvl11Abilities=>|<Lvl12Abilities=>}}

Hero XP

The parameter baseXP must be defined so that the HeroStats table shows the needed Hero XP for each level. baseXP can be looked up in Elandal's "General Leveling and XP" spreadsheet. If the requested hero is not listed in the spreadsheet, the baseXP can be determined by a known Hero XP value for any Hero level and the following two formulas:

If level is less than 8: $ \text{baseXP} = \frac{\text{XP}}{level - 1} $

If level is 8 or greater: $ \text{baseXP} = \frac{2 \cdot \text{XP}}{(level - 1)^2} $

If your Hero needs for instance 4,800 Hero XP for level 5, his baseXP is $ \text{baseXP} = \frac{4800}{5 - 1}=1200 $. Or he needs 196,000 for level 8, then the baseXP is $ \text{baseXP} = \frac{2 \cdot 196000}{(8 - 1)^2}=8000 $.

Examples:

  • {{HeroStats|Lvl1Attack=1|Lvl1Defense=1|Lvl1Abilities=Level 1 Ability;|Lvl2Attack=2|Lvl2Defense=2|Lvl2Abilities=Level 2 Ability}}
  • {{HeroStats|baseXP=300|Lvl1Attack=1|Lvl1Defense=1|Lvl1Abilities=Level 1 Ability|Lvl2Attack=2|Lvl2Defense=2|Lvl2Abilities=Level 2 Ability|Lvl3Attack=3|Lvl3Defense=3|Lvl3Abilities=Level 3 Ability|Lvl4Attack=4|Lvl4Defense=4|Lvl4Abilities=Level 4 Ability|Lvl5Attack=5|Lvl5Defense=5|Lvl5Abilities=Level 5 Ability}}
  • {{HeroStats|Lvl1Attack=1|Lvl1Defense=1|Lvl1Abilities=Level 1 Ability|Lvl2Attack=2|Lvl2Defense=2|Lvl2Abilities=Level 2 Ability|Lvl3Attack=3|Lvl3Defense=3|Lvl3Abilities=Level 3 Ability|Lvl4Attack=4|Lvl4Defense=4|Lvl4Abilities=Level 4 Ability|Lvl5Abilities=Level 5 Ability 1<br/>Level 5 Ability 2|SetAttack=2|SetDefense=2|SetAbilities=SET Ability 1<br/>SET Ability 2}}
  • {{HeroStats|baseXP=1200|Lvl1Attack=1|Lvl1Defense=1|Lvl1Abilities=Level 1 Ability|Lvl2Attack=2|Lvl2Defense=2|Lvl2Abilities=Level 2 Ability|Lvl3Attack=3|Lvl3Defense=3|Lvl3Abilities=Level 3 Ability|Lvl4Attack=4|Lvl4Defense=4|Lvl4Abilities=Level 4 Ability|Lvl5Abilities=Level 5 Ability 1<br/>Level 5 Ability 2|SetAttack=2|SetDefense=2|SetAbilities=SET Ability 1<br/>SET Ability 2}}

Output:

For crystal requirements past level 19, see:
Hero Crystal: General Leveling
For General Promotion info, see:
Generals: General Promotion

Level Att Def Hero XP Ability
1 1 1 0 Level 1 Ability
2 2 2 0 Level 2 Ability
3 0
4 0
5 1 1 0
6 2 2 0
7 3 3 0
8 4 4 0
9 5 5 0
10 6 6 0
11 7 7 0
12 8 8 0
13 9 9 0
14 10 10 0
15 11 11 0
16 12 12 0
17 13 13 0
18 14 14 0
19 15 15 0
20 26 26 0
21 27 27 0
22 28 28 0
23 29 29 0
24 30 30 0
25 41 41 0
26 42 42 0
27 43 43 0
28 44 44 0
29 45 45 0
30 56 56 0
31 57 57 0
32 58 58 0
33 59 59 0
34 60 60 0
35 81 81 0
36 82 82 0
37 83 83 0
38 84 84 0
39 85 85 0
40 111 111 0
41 112 112 0
42 113 113 0
43 114 114 0
44 115 115 0
45 141 141 0
46 142 142 0
47 143 143 0
48 144 144 0
49 145 145 0
50 171 171 0
51 172 172 0
52 173 173 0
53 174 174 0
54 175 175 0
55 201 201 0
56 202 202 0
57 203 203 0
58 204 204 0
59 205 205 0
60 256 256 0
61 257 257 0
62 258 258 0
63 259 259 0
64 260 260 0
65 311 311 0
66 312 312 0
67 313 313 0
68 314 314 0
69 315 315 0
70 366 366 0
71 367 367 0
72 368 368 0
73 369 369 0
74 370 370 0
75 421 421 0
76 422 422 0
77 423 423 0
78 424 424 0
79 425 425 0
80 476 476 0

For crystal requirements past level 19, see:
Hero Crystal: General Leveling
For General Promotion info, see:
Generals: General Promotion

Level Att Def Hero XP Ability
1 1 1 0 Level 1 Ability
2 2 2 300 Level 2 Ability
3 3 3 600 Level 3 Ability
4 4 4 900 Level 4 Ability
5 5 5 1,200 Level 5 Ability
6 6 6 1,500
7 7 7 1,800
8 8 8 7,350
9 9 9 9,600
10 10 10 12,150
11 11 11 15,000
12 12 12 18,150
13 13 13 21,600
14 14 14 25,350
15 15 15 29,400
16 16 16 33,750
17 17 17 38,400
18 18 18 43,350
19 19 19 48,600
20 30 30 54,150
21 31 31 60,000
22 32 32 66,150
23 33 33 72,600
24 34 34 79,350
25 45 45 86,400
26 46 46 93,750
27 47 47 101,400
28 48 48 109,350
29 49 49 117,600
30 60 60 126,150
31 61 61 135,000
32 62 62 144,150
33 63 63 153,600
34 64 64 163,350
35 85 85 173,400
36 86 86 183,750
37 87 87 194,400
38 88 88 205,350
39 89 89 216,600
40 115 115 228,150
41 116 116 240,000
42 117 117 252,150
43 118 118 264,600
44 119 119 277,350
45 145 145 290,400
46 146 146 303,750
47 147 147 317,400
48 148 148 331,350
49 149 149 345,600
50 175 175 360,150
51 176 176 375,000
52 177 177 390,150
53 178 178 405,600
54 179 179 421,350
55 205 205 437,400
56 206 206 453,750
57 207 207 470,400
58 208 208 487,350
59 209 209 504,600
60 260 260 522,150
61 261 261 540,000
62 262 262 558,150
63 263 263 576,600
64 264 264 595,350
65 315 315 614,400
66 316 316 633,750
67 317 317 653,400
68 318 318 673,350
69 319 319 693,600
70 370 370 714,150
71 371 371 735,000
72 372 372 756,150
73 373 373 777,600
74 374 374 799,350
75 425 425 821,400
76 426 426 843,750
77 427 427 866,400
78 428 428 889,350
79 429 429 912,600
80 480 480 936,150

For crystal requirements past level 19, see:
Hero Crystal: General Leveling
For General Promotion info, see:
Generals: General Promotion

Level Att Def Hero XP Ability
1 1 1 0 "Level 1 Ability"
2 2 2 0 Level 2 Ability
3 3 3 0 Level 3 Ability
4 4 4 0 Level 4 Ability
5 5 5 0 Level 5 Ability 1
Level 5 Ability 2
6 6 6 0
7 7 7 0
8 8 8 0
9 9 9 0
10 10 10 0
11 11 11 0
12 12 12 0
13 13 13 0
14 14 14 0
15 15 15 0
16 16 16 0
17 17 17 0
18 18 18 0
19 19 19 0
20 30 30 0
21 31 31 0
22 32 32 0
23 33 33 0
24 34 34 0
25 45 45 0
26 46 46 0
27 47 47 0
28 48 48 0
29 49 49 0
30 60 60 0
31 61 61 0
32 62 62 0
33 63 63 0
34 64 64 0
35 85 85 0
36 86 86 0
37 87 87 0
38 88 88 0
39 89 89 0
40 115 115 0
41 116 116 0
42 117 117 0
43 118 118 0
44 119 119 0
45 145 145 0
46 146 146 0
47 147 147 0
48 148 148 0
49 149 149 0
50 175 175 0
51 176 176 0
52 177 177 0
53 178 178 0
54 179 179 0
55 205 205 0
56 206 206 0
57 207 207 0
58 208 208 0
59 209 209 0
60 260 260 0
61 261 261 0
62 262 262 0
63 263 263 0
64 264 264 0
65 315 315 0
66 316 316 0
67 317 317 0
68 318 318 0
69 319 319 0
70 370 370 0
71 371 371 0
72 372 372 0
73 373 373 0
74 374 374 0
75 425 425 0
76 426 426 0
77 427 427 0
78 428 428 0
79 429 429 0
80 480 480 0
Set 2 2 SET Ability 1
SET Ability 2
Max Level
Full Set
482 482 0 {{{Lvl80Abilities}}}

For crystal requirements past level 19, see:
Hero Crystal: General Leveling
For General Promotion info, see:
Generals: General Promotion

Level Att Def Hero XP Ability
1 1 1 0 "Level 1 Ability"
2 2 2 1,200 Level 2 Ability
3 3 3 2,400 Level 3 Ability
4 4 4 3,600 Level 4 Ability
5 5 5 4,800 Level 5 Ability 1
Level 5 Ability 2
6 6 6 6,000
7 7 7 7,200
8 8 8 29,400
9 9 9 38,400
10 10 10 48,600
11 11 11 60,000
12 12 12 72,600
13 13 13 86,400
14 14 14 101,400
15 15 15 117,600
16 16 16 135,000
17 17 17 153,600
18 18 18 173,400
19 19 19 194,400
20 30 30 216,600
21 31 31 240,000
22 32 32 264,600
23 33 33 290,400
24 34 34 317,400
25 45 45 345,600
26 46 46 375,000
27 47 47 405,600
28 48 48 437,400
29 49 49 470,400
30 60 60 504,600
31 61 61 540,000
32 62 62 576,600
33 63 63 614,400
34 64 64 653,400
35 85 85 693,600
36 86 86 735,000
37 87 87 777,600
38 88 88 821,400
39 89 89 866,400
40 115 115 912,600
41 116 116 960,000
42 117 117 1,008,600
43 118 118 1,058,400
44 119 119 1,109,400
45 145 145 1,161,600
46 146 146 1,215,000
47 147 147 1,269,600
48 148 148 1,325,400
49 149 149 1,382,400
50 175 175 1,440,600
51 176 176 1,500,000
52 177 177 1,560,600
53 178 178 1,622,400
54 179 179 1,685,400
55 205 205 1,749,600
56 206 206 1,815,000
57 207 207 1,881,600
58 208 208 1,949,400
59 209 209 2,018,400
60 260 260 2,088,600
61 261 261 2,160,000
62 262 262 2,232,600
63 263 263 2,306,400
64 264 264 2,381,400
65 315 315 2,457,600
66 316 316 2,535,000
67 317 317 2,613,600
68 318 318 2,693,400
69 319 319 2,774,400
70 370 370 2,856,600
71 371 371 2,940,000
72 372 372 3,024,600
73 373 373 3,110,400
74 374 374 3,197,400
75 425 425 3,285,600
76 426 426 3,375,000
77 427 427 3,465,600
78 428 428 3,557,400
79 429 429 3,650,400
80 480 480 3,744,600
Set 2 2 SET Ability 1
SET Ability 2
Max Level
Full Set
482 482 3,744,600 {{{Lvl80Abilities}}}
Community content is available under CC-BY-SA unless otherwise noted.