mattiabascelli / Knights_of_Gargantua

https://mattiabascelli.github.io/Knights_of_Gargantua/
1 stars 0 forks source link

Add enemy generation functionality #2

Open alaindet opened 1 month ago

alaindet commented 1 month ago

Enemies

Easy difficulty

Armor = 0 HP = 1/3 of player's max HP Attack = 1/5 of player's max HP

Medium difficulty

Armor = Random 1 to 5 HP = 2/3 of player's max HP Attack = 1/5 of player's max HP

Hard difficulty

Armor = Random 2 to 5 HP = 5/3 of player's max HP Attack = 3/5 of player's max HP

Bonus

Every time an enemy attacks, it can get an attack bonus

alaindet commented 1 month ago

@mattiabascelli

Is there a formula to calculate levels and armors of enemies based on the player's data and the enemy's difficulty?

mattiabascelli commented 1 month ago

I think level is useless. We can add an armor value between 1 and 5 on medium and hard difficulty

alaindet commented 1 month ago

@mattiabascelli

Updated the description. Wouldn't it be better to have this?

Medium Armor = Random 1 to 3

Hard Armor = Random 2 to 5

mattiabascelli commented 1 month ago

YEAH! Very Nice