Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  RPG - Damage Formular  (Read 3406 times)
0 Members and 1 Guest are viewing this topic.
Offline GustavXIII

Junior Devvie

Projects: 1

« Posted 2011-10-01 09:27:32 »

Can someone tell me how a Damage Formular could be like in other RPGs?
In my game you can choose after you level up which Stat you want to improve by 1 Point.

Each Character/Monster have this stats


And then there are the Weapon/Armor


The higher the strength the higher is the damage you do with physical attacks.

The higher the Vit the higher the HP.
(If the player choose this he gains +1% of his MAXHP ,at least 1HP)

The higher the Magic the higher the damage you do with magical attacks and you get more MP.
(+1% of his MAXMP, at least 1MP)

This decide which one in battle strikes first.
Its also decide the influences hit rate and the evasion from enemy attacks.

This is for the chance to getting inflict with a status attack like "poison,mute or dizzy".
And it increase the critical hit rate.

The Weapons attack value
The physical defensive value
The magical defensive value

So does someone know how the formular have to look like?
I need the
- Physical Damage
- Magical Damage
- Evasion calculation
- Critical Hit calculation

Offline sproingie

JGO Kernel

Medals: 202

« Reply #1 - Posted 2011-10-02 04:22:39 »

It's trial and error, and other than "use System X" where X is D20 or some other published RPG rule system, all I can say is you're going to have to experiment.  The root of "stats" is "statistics".  In other words, figure out what percentage of attacks should hit at what stat level, and how many hits should be survivable given a certain level of HP and defense, then start some formulae from there.  Run automated simulations to gather the stats.  Tweak one variable at a time in your simulations and ensure they don't have runaway chaotic effects.

After that, you need to playtest.  After ensuring that you don't end up with players that all die at level 1 or become unstoppable gods at level 3, you then need to optimize for the trickiest metric of all: fun.  Is your game fun to play with the way you balanced the stats?  Then call it a success.

Offline loom_weaver

JGO Coder

Medals: 17

« Reply #2 - Posted 2011-10-02 05:54:34 »

Here's a link to a one-page set of D&D rules.

Of course you can use whatever set you want and traditional D&D rules may not necessarily transfer well to computer RPGs.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline theagentd
« Reply #3 - Posted 2011-10-02 08:33:45 »

There is no right or wrong. You seem to have already decided which stats are going to be in the game, but you haven't figured out how they should work yet. Seems kind of backwards if you ask me. Look at this article: It analyzes WoW's attribute system, and you seem to have similar "problems" (magic only being affected by one stat for example). Also remember that WoW factors in the level differences between players and mobs. Higher level mobs and players are almost impossible to hit for much lower level players.

EDIT: And the WoW attack table: I'm not saying that it's good, just that it works.

Offline Orangy Tang

JGO Kernel

Medals: 57
Projects: 11

Monkey for a head

« Reply #4 - Posted 2011-10-02 08:50:11 »

When I was struggling with this I ended up putting the numbers into a google docs spreadsheet and 'simulating' combat by graphing the outcomes. Then also having a bunch of test creatures (across the range of possible stats) and having some simple formula show toHit, toWound, etc. for the possible match ups. Then you can tweak your core stat ranges and algorithms without having to actually implement them and see what your power curves actually look like.

When deciding on stat ranges, I found it very helpful to start with four baselines:child, regular adult, athlete, and peak human. With those baselines (in my case, 2, 4, 8 and 20 in all stats) it was easier to see how things like strength and vitality should interact in combat.

[ - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline ReBirth
« Reply #5 - Posted 2011-10-03 13:40:58 »

Or you can learn basic statistic to do this. I personally just use simple ratio and make it to little plus/minus.

Offline R.D.

Senior Devvie

Medals: 2
Projects: 1

"For the last time, Hats ARE Awesome"

« Reply #6 - Posted 2011-10-04 15:40:09 »

Personally I like to keep such things simple and clean. It also depends on what you want... do you want that every statpoint counts? Then just take (attack * bonus + weapon attack) - (defense of enemy + bonus on defense) + random -/+. So every point counts. I also saw Attack / 2 - Defense / 4 and stuff like that Cheesy

You can also add critical damage and stuff. Depends really und what you want, testing is helpful here. I guess start with simple attack - defense and add stuff like you want Smiley
Pages: [1]
  ignore  |  Print  

DesertCoockie (22 views)
2018-05-13 18:23:11

nelsongames (73 views)
2018-04-24 18:15:36

nelsongames (68 views)
2018-04-24 18:14:32

ivj94 (751 views)
2018-03-24 14:47:39

ivj94 (81 views)
2018-03-24 14:46:31

ivj94 (605 views)
2018-03-24 14:43:53

Solater (97 views)
2018-03-17 05:04:08

nelsongames (170 views)
2018-03-05 17:56:34

Gornova (388 views)
2018-03-02 22:15:33

buddyBro (1048 views)
2018-02-28 16:59:18
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!