Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Time Capsule (How-to Library) » "How does it work?" Part 8: Skill Checks
Re: "How does it work?" Part 8: Skill Checks[message #204886] Thu, 25 December 2008 15:48 Go to previous messageGo to previous message
incognito253

 
Messages:53
Registered:December 2008
Location: Ohio, USA
Some of this I remember hazily in my head. So since Base_Chance is a variable of INT format, the program may actually force subsets of the formula (i.e., base chance/25) to provide an integer result before it's calculated in with the rest? If that's the case, then the heathen witchcraft I espouse, such as "mathematics" are completely irrelevent here.

If I got a c++ compiler and plugged this formula in as it's written in the code, might that be the best way to figure out how the hell it actually ends up working?

EDIT: Actually, I now remember the first time my C++ instructor had me use an INT and try to divide out a complex number, like 1.3 or something. And here I thought I'd forgotten this stuff.

[Updated on: Thu, 25 December 2008 15:50] by Moderator

Report message to a moderator

Corporal
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: "How does it work?" Part 1: Bullet Impact
Next Topic: "How does it work?" Part 5: Melee Combat Chance-to-Hit
Goto Forum:
  


Current Time: Mon Dec 02 08:47:50 GMT+2 2024

Total time taken to generate the page: 0.01471 seconds