View previous topic :: View next topic |
Author |
Message |
Omega0

Joined: 27 Feb 2003 Posts: 37
|
Posted: Mon Feb 09, 2004 2:34 pm Post subject: OHR Statistics. |
|
|
Requesting help from someone who knows their OHR math...
I'm working on a little program to solve the calcuations in OHR to make balancing battles easier. I have to code complete for the Chance to Hit statistics, but I need a little more information.
For damage:
What is the random factor that is added into the basic a*Atk - b*def?
What is the bonus/penalty for elemental damage?
What is the formulat used to calculate stat changes on level up?
(If you want to try out what I have so far you can download it here: http://spots.flatland.com/jms/stats.zip The code is currently in 'C' though I plan on converting it over to a nice java app with pretty buttons and stuff once I get all the calculations down.)
js _________________ JMS * BlackFox * Omega0
http://spots.flatland.com/jms/index.html
AIM: jmsQFtmp Y!M: jms_blkfox |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Tue Feb 10, 2004 12:16 pm Post subject: |
|
|
Quote: | What is the random factor that is added into the basic a*Atk - b*def? |
plus or minus 25%
Quote: | What is the bonus/penalty for elemental damage? |
Weakness = + 100%
Resistance = - 88%
(both can be active at once, if so, weaness is applied first)
Quote: | What is the formulat used to calculate stat changes on level up? |
...hmmm, I don't even remember that one :) I have to dig in the code....
Code: | atlevel = (.8 + now / 50) * now * ((a99 - a0) / 275.222) + a0 |
where "now" is the current level, "a0" is the stat at level 0 and "a99" is the stat at level 99. |
|
Back to top |
|
 |
Omega0

Joined: 27 Feb 2003 Posts: 37
|
Posted: Wed Feb 11, 2004 4:56 pm Post subject: |
|
|
New file uploaded.
Current Features:
- Calculate the hit % of an attack
- Calculate the damage an attack will do
- Calculate the value of a stat on each level up
In progress:
- Ability to save data for heros and monsters.
- Determine a which level a hero is an even match for a specific monster.
- Determine how many attacks it will take to kill a monster
Thoughts that are flying around:
- Save hero and monster data to a file for use between sessions
- Calculate the average damage per attack (taking misses into account
Information I need:
- What is the effect on the attack rate generated by the speed value?
If you know the answer to one of the above, or want to suggest a feature please post.
(please keep it modestly-simple, I don't intend on staying up all night cracking the rpg files to load hero and monster data in dirrectly)
js
(grrr.. stupid BB, luring me into using HTML with its nice "HTML is ON" message then turning some tags into plain text...) _________________ JMS * BlackFox * Omega0
http://spots.flatland.com/jms/index.html
AIM: jmsQFtmp Y!M: jms_blkfox |
|
Back to top |
|
 |
The Drizzle Who is the Drizzle?

Joined: 12 Nov 2003 Posts: 432
|
Posted: Thu Mar 04, 2004 3:51 pm Post subject: |
|
|
You should try to include a feature to save attacks also, and to import information directly from .rpg files. |
|
Back to top |
|
 |
Aethereal SHUT UP. Elite Designer


Joined: 04 Jan 2003 Posts: 928 Location: Gone! I pop in on occasion though.
|
Posted: Thu Mar 04, 2004 6:23 pm Post subject: |
|
|
Please don't revive dead threads. :\ _________________
 |
|
Back to top |
|
 |
|