There are different ways for your heroes to gain experience.
Your free heroes may perform different actions on the worlmap, like fighting npc or even attacking other players. The amount of experience he gains is determined by the enemies unit strenght:
defending units strength * exp bonus from your skills and Hero Tower / 40
So lets say for example you attack an opposing force of 90.000 units, have an arena level 4 and your exp skill on level 2. For defeating this enemy your hero gets 90000*1.06/40 = 2385 Exp
However, the experience awarded for attacking items is only 1/5 of this.
Your castellan however gains experience for building, researching and training but not for healing units. The formula determining the exp gain is
(5(lumber+ore)+10(sulfur+crystal)+gold)/3.
The experience bonus from your arena does not yet seem to apply here yet.
Once your hero gains a level, you get to spend 1 skill point and his maximum unit allocation is raised. In the following table you see how much experience is needed to level up (e.g. you need 150 exp to get from lvl 1 to 2) and how many units you can take with you on the corresponding level.
Level | Experience | Max. Allocation | Level | Experience | Max. Allocation | Level | Experience | Max. Allocation | Level | Experience | Max. Allocation | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 150 | 10000 | 26 | 45120 | 404833 | 51 | 1683166 | 61 | ||||||
2 | 369 | 13333 | 27 | 52 | 288480 | 1758833 | 82 | |||||||
3 | 653 | 16666 | 28 | 58080 | 476833 | 53 | 301080 | 1826833 | 83 | |||||
4 | 990 | 20000 | 29 | 514833 | 54 | 313920 | 1898166 | 84 | ||||||
5 | 1371 | 23333 | 30 | 55 | 1970833 | 80 | ||||||||
6 | 1783 | 26666 | 31 | 79320 | 594833 | 56 | 340320 | 2044833 | 81 | |||||
7 | 2252 | 29999 | 32 | 636833 | 57 | 353880 | 2120166 | 82 | ||||||
8 | 2745 | 33333 | 33 | 94680 | 680166 | 58 | 2196833 | 83 | ||||||
9 | 3270 | 36666 | 34 | 102720 | 724833 | 59 | 84 | |||||||
10 | 3824 | 40000 | 35 | 111000 | 770833 | 60 | 396000 | 2354166 | 85 | |||||
11 | 4407 | 49823 | 36 | 119520 | 818166 | 61 | 410520 | 2478125 | 86 | |||||
12 | 5018 | 62567 | 37 | 866833 | 62 | 425280 | 2518750 | 87 | ||||||
13 | 5654 | 76258 | 38 | 137280 | 916833 | 63 | 440280 | 2559375 | 88 | |||||
14 | 6315 | 90833 | 39 | 146520 | 968166 | 64 | 455520 | 2600000 | 89 | |||||
15 | 7001 | 106242 | 40 | 156000 | 1020833 | 65 | 471000 | 2640625 | 90 | |||||
16 | 7710 | 122442 | 41 | 165720 | 1074833 | 66 | 2681250 | 91 | ||||||
17 | 8441 | 139379 | 42 | 175680 | 1130116 | 67 | 502680 | ~2.721.875 | 92 | |||||
18 | 9194 | 157073 | 43 | 185880 | 1186833 | 68 | 2762500 | 93 | ||||||
19 | 9968 | 175444 | 44 | 196320 | 1244833 | 69 | 94 | |||||||
20 | 12000 | 194482 | 45 | 207000 | 1304266 | 70 | 95 | |||||||
21 | 16920 | 248166 | 46 | 1364833 | 71 | 96 | ||||||||
22 | 22080 | 276833 | 47 | 229080 | 1426833 | 72 | 97 | |||||||
23 | 27480 | 306833 | 48 | 246480 | 1490166 | 73 | 98 | |||||||
24 | 33120 | 338166 | 49 | 252120 | 1554833 | 74 | 99 | |||||||
25 | 39000 | 370833 | 50 | 264000 | 1620833 | 75 | 100 |