Script engine.resolvers
Functions
resolvers.rngrange (x, y)
Resolves a rng range
resolvers.rngavg (x, y)
Average random
resolvers.dice (x, y)
Dice roll
resolvers.rngtable (t)
Random table element
resolvers.rngcolor (t)
Random color
resolvers.talents (list)
Talents resolver
resolvers.rngtalent (list)
Talents resolver, random choice of one
resolvers.tmasteries (list)
Talents masteries
resolvers.levelup (base, every, inc, max)
Levelup resolver
resolvers.generic (fct)
Generic resolver, takes a function
Fields
resolvers.current_level
Random bonus based on level
Functions
- resolvers.rngrange (x, y)
-
Resolves a rng range
Parameters:
- x
- y
- resolvers.rngavg (x, y)
-
Average random
Parameters:
- x
- y
- resolvers.dice (x, y)
-
Dice roll
Parameters:
- x
- y
- resolvers.rngtable (t)
-
Random table element
Parameters:
- t
- resolvers.rngcolor (t)
-
Random color
Parameters:
- t
- resolvers.talents (list)
-
Talents resolver
Parameters:
- list
- resolvers.rngtalent (list)
-
Talents resolver, random choice of one
Parameters:
- list
- resolvers.tmasteries (list)
-
Talents masteries
Parameters:
- list
- resolvers.levelup (base, every, inc, max)
-
Levelup resolver
Parameters:
- base
- every
- inc
- max
- resolvers.generic (fct)
-
Generic resolver, takes a function
Parameters:
- fct