jctosta/escape_from_hell

Enemy health system

Opened this issue · 0 comments

Enemies should have a certain amount of HP, and increase this value based on the player current level.

If the player is level 1, the enemies have a fixed value of life points, then we multiply this value by the player level.

Examples:

A foot soldier has 10 hit points at level 1, but if the player is level 5, we multiply the HP by 5, making a total of 50 hit points for the foot soldier enemy class.

An elite soldier starts at 100 hit points, if the player is level 7, the elite player now has 700 hit points, being a much harder enemy to be killed if the player don't improve it's weapons correctly.