Damage Ratio

This is an explantion of how I managed to collect enemy HP and enemy damage. Apocalyptic Zombie 5 XP

Base Damage with multiplyer 1 Defense 1 =11-12 Damage 2 Defense= 8-9 Damage Base Health Points with multipler 1 16,16,18 (50)     12,10,12,12 (46)

I collected data for damage. Over 30 hits was compiled to determin the max and the least ammount of damage possible with PLAYER_DEF_1 I also collected only one other damage with PLAYER_DEF_2 to show the importance of defense.

How Enemy Hit Points was calculated
As you see 16,16,18 (50) were the highest damages that I could perform. (50) Was the total damage before the enemy was destroyed. Next was 12,10,12,12 (46) This was the least ammount of damage that I could perform where as (46) was the total damage when the enemy was destroyed. With rough calculation and assuming that the developer used HP for enemies in multiples of 5. Therefore, Apocalyptic Zombie has 40 HP

When the player takes damage

damage = 10+round((enemy_atk-(player_def*3))-random((enemy_atk)*0.2))- player_def

Enemy damage

damage = round(((player_atk*2)*weapon_atk)-random((player_atk*4)*0.2))+4- def

Player health

player_max_health = round(con*5) + 100 - 10+player_level*5

difficulty modifiers

All damage the player receives is multiplied by "enemy damage", all damage the player deals is multiplied by "damage bonus".

Normal

damage bonus: 1

enemy damage: 1

Easy

damage bonus: 2

enemy damage: 0.8

Very Easy

damage bonus: 2 .5

enemy damage: 0.7