Skip to main content
Post Closed as "Opinion-based" by doppelgreener, Engineer, Philipp, Vaillancourt, CommunityBot
added 29 characters in body
Source Link

So I'm making a simple RPG game and I'm currently stuck on creating an attacking module for it.

I need to create a simple attack algorithm but I'm really not very good at it.

Each character has 3 base states - Attack, Defense, Dexterity

and all characters have exactly 100hpstart off with 50hp and they gain 5hp per level.

What formula should I use to determine chance of hit, and how much damage is dealt? It doesn't have to to too overly complex. Just something simple for now.

So I'm making a simple RPG game and I'm currently stuck on creating an attacking module for it.

I need to create a simple attack algorithm but I'm really not very good at it.

Each character has 3 base states - Attack, Defense, Dexterity

and all characters have exactly 100hp.

What formula should I use to determine chance of hit, and how much damage is dealt? It doesn't have to to too overly complex. Just something simple for now.

So I'm making a simple RPG game and I'm currently stuck on creating an attacking module for it.

I need to create a simple attack algorithm but I'm really not very good at it.

Each character has 3 base states - Attack, Defense, Dexterity

and all characters start off with 50hp and they gain 5hp per level.

What formula should I use to determine chance of hit, and how much damage is dealt? It doesn't have to to too overly complex. Just something simple for now.

Source Link

Attack Algorithm/Forula

So I'm making a simple RPG game and I'm currently stuck on creating an attacking module for it.

I need to create a simple attack algorithm but I'm really not very good at it.

Each character has 3 base states - Attack, Defense, Dexterity

and all characters have exactly 100hp.

What formula should I use to determine chance of hit, and how much damage is dealt? It doesn't have to to too overly complex. Just something simple for now.