2 "Shadowrun"
(require (planet "shadowrun.ss" ("murphy" "rpg-utils.plt" 1 0))) |
Specific procedures for the "Shadowrun" role playing game system.
|
Simulates a cumulative D6 dice roll and returns a random natural number.
A PRNG to use may optionally be specified via the generator argument.
skill : exact-nonnegative-integer? | ||||||||||||
target : exact-nonnegative-integer? | ||||||||||||
|
Simulates a skill test. The value of the skill or attribute is given by skill, the difficulty of the test by target.
You may optionally specify a PRNG to use via the generator argument.
This procedure returns a test-result structure with the number of successes as its value.
skill : exact-nonnegative-integer? |
target : exact-nonnegative-integer? |
Determines the statistical properties of a skill test. The value of the skill or attribute is given by skill, the difficulty of the test by target.
This procedure returns a test-statistics structure with the expected number of successes as its expectation.