Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

OHR Statistics.

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade
View previous topic :: View next topic  
Author Message
Omega0




Joined: 27 Feb 2003
Posts: 37

PostPosted: Mon Feb 09, 2004 2:34 pm    Post subject: OHR Statistics. Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Tue Feb 10, 2004 12:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Omega0




Joined: 27 Feb 2003
Posts: 37

PostPosted: Wed Feb 11, 2004 4:56 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
The Drizzle
Who is the Drizzle?




Joined: 12 Nov 2003
Posts: 432

PostPosted: Thu Mar 04, 2004 3:51 pm    Post subject: Reply with quote

You should try to include a feature to save attacks also, and to import information directly from .rpg files.
Back to top
View user's profile Send private message AIM Address
Aethereal
SHUT UP.
Elite Designer
Elite Designer



Joined: 04 Jan 2003
Posts: 928
Location: Gone! I pop in on occasion though.

PostPosted: Thu Mar 04, 2004 6:23 pm    Post subject: Reply with quote

Please don't revive dead threads. :\
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group