Text based combat system trial (Java)

Hey JGO ^_^, haven’t been on for a while :smiley: (Few months i believe)
Nice to be back ::slight_smile:

I (tonight) decided to try to make a fair combat system which will include:

  • Weapons (Accuracy Modifiers)
  • Level System (Attack, Strength, Defence, Health)
  • Simple Combat System (Melee)

I’ll be attempting to add the following to the combat system (this is where I need a little help):

  • [color=red]A chance to hit formula
  • A chance to block formula
  • A damage formula

To be honest I haven’t gotten too far yet lol.

I’ve slowly been developing on it for the past half our or so, but I figured I’d ask for help before I begin furiously ‘tweaking’ with the percentages to in some UN-profound way :stuck_out_tongue:

The reason why I’m posting this is I’d like to get some information / tips on how to go about calculating the accuracy percentage, the blocking chance and damage dealt etc.

Side information:
Accuracy (Tier/Level 1 weapons) = 1.0
All levels will be level 1 @ first (ATK/STR/DEF) and the health will be 10, all having 99 as maximum.

Any feedback would be great guys thanks :slight_smile: