Battle mathematics for an RPG

Posted on 2004-08-27
Last Modified: 2012-06-21

I've been working on battle algorithms for an RPG I'm programming, but right now I'm having a tough time on the mathematical aspects of how characteristics such as strength, dexterity, weapon proficiency, armor, dodging, etc. all should interact together.

I've come up with some basic math of my own for a lot of things, but I'd like to be able to see some past RPG math for determining these sorts of things.  Any resources out there on the web that show RPG battle mathematics?
Question by:trollman
  • 2
  • 2

Assisted Solution

rsriprac earned 150 total points
ID: 11919064
From my point of view, I would suggest that most mathematics yo uneed to figure out is creating a nice sudo-random dice generator. The rest you should base the the mathematics/logic of Dungeon and Dragons game (the physical RPG).

I recommend adapting from D&D because their system has been well though out and it is well aged.  Just go out and research some of the basic sets and it'll give you a really good idea.

LVL 11

Accepted Solution

bcladd earned 350 total points
ID: 11920948
On-line resources for combat systems are hard to come by. The systems are typically costly to develop (lots of playtesting is required to get the balance right; more on that in a moment).

As suggested above, the d20/AD&D system is well tested and in its fourth or fifth edition (depending on where you start counting). The main books are expensive but spell out the relationship between attributes, skills, and combat very clearly. The data itself is copy-written; that is why you don't find very many pages on the Web explaining THAC0 for all weapons and classes and such. The newer versions are fairly well rationalized.

The GURPS system is a general game system that is entering its fourth edition. A distillation of the rules is available on-line ( but the full rules are only on paper.

The Hero system is another general game system (Champions was one of the first games using it). It is very nice (I spent 4 years playing in a Champions campaign). Didn't find any on-line sources.

Haven't seen the rules yet but Paranoia XP, a new edition of Paranoia is coming (or is) out. I will read the rules because the first edition was so, so scrumptious. Wonder what the Computer will think of the word "scrumptious"? Wonder if it is beyond my security clearance to wonder what the Computer will think? The Computer is my friend.

There was a game out there, Aftermath, that had the best detailed action time rules I have ever seen. They were both detailed and moved forward. Used to play Morrow Project with those rules. I don't know what happened to Fantasy Games Unlimited's stock and I haven't seen a copy of Aftermath on EBay (don't always look that hard so it could be there).

Why is making an attributes system hard? Because of the complex interactions. You don't only have to consider how tough armor is against each weapon; you must also consider the relative cost of each weapon and armor in the game economy. Similarly, the cost of different attributes relative to their benefits is difficult to balance (Hero system had some weirdnesses with their Speed attribute not costing what it should ... at least I seem to remember it being Speed). That is one reason to look closely at existing, tested systems.

Good luck,

Author Comment

ID: 11921894
Thanks guys for the input...  I've been just seeing the beginning of the nightmare of trying to determine the coding of attributes, battle math, etc. and will certainly try to check some of these resources out.  Might be hard to find game books where I live, but I'll see if any inexpensive ones are on Amazon.

I'll leave the question open a bit longer, to see if anyone else has good net resources describing battle systems.
LVL 11

Expert Comment

ID: 11923812
If possible, you can try ebay, too. Many of the earlier edition (but not first edition or first printing) of these games come up in auctions, sometimes even in big lots that don't end up costing that much. Don't know what the shipping would do to you but...


Expert Comment

ID: 11924880
I would second bcladd's comment.  Definitly worth it, even a 2nd-hand book since I think they are really expensive new (cause it has nice drawing and all, heh).


Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question