Enemy Attributes [RPG Game]

Discuss game development design and post your game ideas

Post » Fri Jul 03, 2015 3:26 pm

Hi,

after a long search on google, still can´t find the solution of my problem.
somebody know how, or where i can get the right formula to set up automaticly Healthpoints, Damage , etc. of enemies in my game?
Its a turn-base RPG, where the player attacks first, then the enemy, then again the player and so on... :lol:
It thougt it might be something like this:

enemy_hp_max: 30 + (round((enemy_lvl*10)/7))
enemy_att: (1 + round(random(-1, 3))) * (round(enemy_lvl/0.50))

it workes on lv 1 enemy, but the problem is the higher lvls of enemies, (enemy Lv 50 will kill player Lv50 with one hit!) :oops:
Hope someone can help me with this!
(and sorry for the grammar, mother language is german :D )
B
3
S
1
Posts: 2
Reputation: 329

Post » Sat Jul 04, 2015 12:01 am

Hey Asterd, all I can suggest is that you play around with the numbers until you are satisfied. There is a lot of ways you could do it, but it really depends on how progression works in your game. How much stronger do you and your enemies get after each level etc.

Maybe it is a bad idea using the level of the character as a modifier. Why not give the enemies a strength variable for physical attacks and an intelligence score for magic damage. That is what I have done in my template.
ImageImage
B
128
S
23
G
7
Posts: 1,076
Reputation: 13,226

Post » Sat Jul 04, 2015 2:32 pm

This series of tutorials helped me out a lot. It could be what you are searching for:

http://gamedevelopment.tutsplus.com/ser ... edev-12702
B
10
S
4
G
2
Posts: 117
Reputation: 1,872


Return to Game Development, Design & Ideas

Who is online

Users browsing this forum: No registered users and 0 guests