RpgOdds

Class · author / trusted game code

class RpgOdds: object · Source

Exact integer counts. Outcome categories are mutually exclusive. Raw roll success and critical flags overlap those categories, especially in contests.

Authoring guide · Reporting guide · Reference index

Superclass: object (external)

Declared members

achieved

achieved = 0 · Source

add

add(result, weight) · Source

chanceBasisPoints

chanceBasisPoints() · Source

Rounded hundredths of a percent; retain counts for exact arithmetic.

complication

complication = 0 · Source

costlySuccess

costlySuccess = 0 · Source

criticalFailure

criticalFailure = 0 · Source

criticalSuccess

criticalSuccess = 0 · Source

rollSuccess

rollSuccess = 0 · Source

setback

setback = 0 · Source

success

success = 0 · Source

tie

tie = 0 · Source

total

total = 0 · Source

GitHub source