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

Hero Elemental Resistance Calculations

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Chronoas




Joined: 18 Sep 2008
Posts: 37

PostPosted: Thu Aug 11, 2011 8:55 pm    Post subject: Hero Elemental Resistance Calculations Reply with quote

So, as a work on my WIP game, one of the options in the game data is the way the game calculates resistances with equipment. I've considered using the Multiplication method, but I notice an issue that is oddly very absent from the examples given.

If a character has an 'absorb an element', and has equipment that makes them 'weak to' in some way, it just increases the amount they absorb. Mathematically, a negative * a positive * a positive is ultimately a negative.

The other such example is the character 'absorbs', and additionally has two pieces of equipment that also 'absorb'. Mathematically, a negative * a negative * a negative will ultimately be a negative once again.

Now, the example that is absent seems to be two negatives and a positive. Mathematically, a negative * a negative * a positive will result in a positive. However, logically, a character that absorbs an element and also has a piece of equipment that absorbs an element shouldn't suddenly have both those absorptions cause a massive weakness, should it?

My question is, does it calculate how multiplication would mathematically calculate this, or is there some other aspect at play that would keep it as a negative? And if it does work out mathematically, is that how it is intended to function?
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




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

PostPosted: Fri Aug 12, 2011 9:04 am    Post subject: Reply with quote

Elemental absorbs are not calculated mathematically. If at least one absorb is in effect, the attack will cure.

two absorbs on the same attack will not cancel each other out and become damage.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Chronoas




Joined: 18 Sep 2008
Posts: 37

PostPosted: Fri Aug 12, 2011 11:06 am    Post subject: Reply with quote

Alright, thank you. See, and that's why that situation really should have an example given. Razz
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Sat Aug 13, 2011 2:59 am    Post subject: Reply with quote

Well, OK, I added another example, but the behaviour is documented in the F1 help screen.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Chronoas




Joined: 18 Sep 2008
Posts: 37

PostPosted: Sat Aug 13, 2011 8:06 am    Post subject: Reply with quote

Oh, well that's good to know. Thing is, I generally only check the help if I don't know what a feature does, or if I need to know a keyboard command (like when I'm editing a map). I can honestly say I forgot all about the help menu in this case. Oookay... Thanks for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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