View more

View more

View more

### Image of the Day Submit

IOTD | Top Screenshots

### The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

# Character Attribute Formulas

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

5 replies to this topic

### #1Twisttid  Members

Posted 23 June 2014 - 01:30 AM

So, i'm making an MMORPG but I'm having trouble on the formulas on how each thing works, for an example with Strength I want to create a formula on how much damage is given depending on:

- Character Strength

- Weapon Power

- Target's Defence

Does anyone know somewhere I can get a detailed walkthrough on working these things out?

### #2Twisttid  Members

Posted 23 June 2014 - 05:45 AM

Out of the 65 views so far, not 1 time has someone replied? Can't someone just help me?

### #3Buckeye  GDNet+

Posted 23 June 2014 - 06:14 AM

You're getting no responses (probably) because you're asking for a reference to a detailed walkthrough that probably doesn't exist, as your subject is very specific and is relatively simple mathwise. A better approach for general topic posting in future is to describe a problem (as you have) and ask for any help, not necessarily a reference.

That said, approaches could be to:

1. add the attributes and use the sum.

2. multiply the attributes and use the product.

3. multiply each attribute by some factor and sum the results of those products.

Perhaps you can provide some additional information if one of those approaches doesn't fit the situation.

Edited by Buckeye, 23 June 2014 - 06:17 AM.

Please don't PM me with questions. Post them in the forums for everyone's benefit, and I can embarrass myself publicly.

You don't forget how to play when you grow old; you grow old when you forget how to play.

### #4Tutorial Doctor  Members

Posted 23 June 2014 - 08:01 AM

If strength of a character is given a value 3, and weapon power is given a strength of -4 (negative because it subtracts power) then the resulting power of the character after the weapon hits it is -1.

Now say the character had a shield that has a +4 defense. This now gives the character +7 power. So when the weapon hits, the character is still at +3.

You could classify a strength of +3 as normal. Any strength greater is seen as extra defense.

Strength of zero is seen as dead or incapacitated. Negative strength can be whatever you desire.

That is a basic system/formula. You could also use factors as Buckeye suggested.

They call me the Tutorial Doctor.

### #5Tutorial Doctor  Members

Posted 23 June 2014 - 08:04 AM

One more thing. Inside of the game loop, you can gradually increase such health using a counter. If a collision between two objects happens:

health = health +/- factor

They call me the Tutorial Doctor.

### #6GoCatGo  Members

Posted 16 July 2014 - 10:57 AM

Does anyone know somewhere I can get a detailed walkthrough on working these things out?

Right here:

http://www.autzones.com/din6000/textes/semaine13/Kirk%282005%29.pdf

Indie games are what indie movies were in the early 90s -- half-baked, poorly executed wastes of time that will quickly fall out of fashion.  Now go make Minecraft with wizards and watch the dozen or so remakes of Reservior Dogs.

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.