Leveling and Experience - TheXFactor117/Levels GitHub Wiki
Leveling and Experience
Levels 3
Weapon Leveling
- Weapons will be able to be leveled up by gaining experience. Whenever you kill a mob, you will be awarded experience. Experience is awarded based on the mob’s max health, so higher health mobs will reward more experience. Everytime you level up, your weapon multipliers will increase, giving your weapons more damage, faster attack speeds, and other bonuses as well.
Armor Leveling
- Armor will be able to level up by mitigating damage. The damage that is supposed to be dealt is returned as experience. Higher damaging mobs, or even players, will reward you with more experience. Everytime you level up, your armor multipliers will increase, giving you more protection and other bonuses as well.
Levels 2
The primary feature in Levels 2 is the ability to gain experience in order to level your weapons up. This can easily be done by successfully using your weapons and armor. Whenever you deal damage to an enemy, or you take damage from an enemy, experience is gained on your weapons. Once enough experience is gained, the weapon will level up, granting you an Ability Token. Ability Tokens can be used to purchase abilities. The process of buying abilities is explained here.
By default, the max level cap in Levels 2 is seven. The amount of experience needed to level up is determined by a formula (level^2.4 * 20). Once the weapon reaches level seven, it will not be able to level up anymore, however, it will still gain experience. Levels 2 aims to be fully customizable, so you will be able to change the leveling formula (though you will still have to use the same type of formula), as well as change the max level cap. Ability Token distribution will also be customizable as well.