RPG-type damage calculations

Blitz3D Forums/Blitz3D Programming/RPG-type damage calculations

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thanks Mortiis but I need to start off with something simple to build on (no mods). Something like (with examples):

Player:
Level = 20
Armor Class = 45
Strength = 30
Stamina = 18
Dexterity = 27

Player's Weapon:
Damage = 5
Delay = 20

Enemy:
Level = 21
Armor Class = 32
Strength = 28
Stamina = 30
Dexterity = 33

Enemy's Weapon:
Damage = 7
Delay = 24

I suppose a random roll will need to be tossed in. I guess a d20 would work :).