Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

4e4 math

Sign in to follow this  


I am currently working on the basic math behind the 4e4 entry gameplay.

There are basically two checks that will be used whenever you need to do something. They are:

- The linear check, which compares the value of an attempt (useful abilities and bonuses) against a difficulty (based on defensive abilities of the target and bonuses). Basically, if you have an attempt of A and a difficulty of D, the probability of success is (A - D + 50) %

(A-D) P(w)
< -50 0%
-40 10%
-25 25%
-10 40%
0 50%
10 60%
25 75%
40 90%
> 50 100%

- The luck check acts as a short-circuit in several situations. It is based on the hidden luck ability of the player, which can be increased by some items and spells. The initial luck stat is 0, it can increase up to 100. The test is, in fact, a series of Bernouilli attempts of success probability 0.01, one success is enough to pass the check. Therefore, the success table is:

0 0%
1 1%
2 2%
3 3%
4 4%
5 5%
6 6%
7 7%
8 8%
9 9%
10 9%
20 18%
30 26%
40 33%
50 39%

I am however thinking of changing the estimation method at 50, for instance by making it linear, and a success probability of (Luck-11)% : total chance of luck shortcut 89% at Luck 100.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!