smaug chance

Posted by Frobozz on Sun 16 Jan 2005 02:39 AM — 2 posts, 11,140 views.

#0
Alright this has me a bit confused so I thought I would ask you guys what you thought.

In redesigning the smaug skill/spell system Im stumped on the chance function. First off all the skills/spells on my mud are based on a combination of using a float function and an int function to calculate the skill/spell level for a certain skill/spell.

Ie.

Magic Missile 5.35 = Level 5 Magic Missle (35/100 to level 6)

The 35/100 represents the old system where you would have been 35%, also meaning that you had a 35% chance of landing the skill.

Now though with my system a level 40.10 person has less of a chance at landing a spell than someone level 4.99.

Im trying to work out a more common sense approach to do this. Is there a good way to redesign this aspect?
USA #1
Did you really mean to type 40.10 vs. 4.99? Are you saying that only the decimal part matters?

In that case, only use the decimals in computing the chance of success and ignore the integer component.