Toushin Toshi 3:Experience

Gaining experience
The amount of experience you'll gain after defeating an enemy depends on the following factors:
 * Enemy level
 * Enemy experience
 * Your level
 * Number of successful attacks you made

Each type of monster on each floor has a set amount of experience (the same type of monster on different floors give different experience). With every successful attack, you gain two additional points of experience.

However, if your level is higher than the enemy's level, there is experience penalty, calculated by:
 * Penalty = (Your Level - Enemy Level) * (Your Level)


 * Example
 * If you are at level 24, and the enemy is at level 19, then the experience penalty is (24 - 19) * 24 = 5 * 24 = 120.

Note that no matter how high the penalty is, you will gain at least 1 experience from defeating the enemy.

Leveling up
The experience needed to reach the next level = (Current level) * (Current level +10) * 10.


 * Examples:
 * At level 1, the amount of experience needed to reach level 2 = 1 * (1+10) * 10 = 1 * 11 * 10 = 110.
 * At level 34, the exp needed to reach level 35 = 34 * (34 + 10) * 10 = 34 * 44 * 10 = 14960.