Preparing search index...
The search index is not available
Pathfinder 1e for Foundry VTT
Pathfinder 1e for Foundry VTT
pf1
dice
terms
FunctionTermPF
Class FunctionTermPF
Function Term override to support sizeRoll
Hierarchy
RollTerm
<
this
>
FunctionTermPF
Index
Constructors
constructor
Properties
result
Accessors
expression
flavor
is
Deterministic
simplify
Methods
_evaluate
Async
_evaluate
Sync
toJSON
Constructors
constructor
new
Function
TermPF
(
...
args
)
:
FunctionTermPF
Parameters
Rest
...
args
:
any
Returns
FunctionTermPF
Properties
result
result
:
any
Accessors
expression
get
expression
(
)
:
string
Returns
string
flavor
get
flavor
(
)
:
string
Flavor text
Returns
string
is
Deterministic
get
isDeterministic
(
)
:
boolean
Returns
boolean
simplify
get
simplify
(
)
:
string
Simpler formula expression if possible
Returns
string
Remarks
Used mainly by
()
Unevaluated rolls can't always be simplified.
Methods
_evaluate
Async
_evaluate
Async
(
options
?
)
:
Promise
<
FunctionTermPF
>
Parameters
options
:
{}
= {}
Returns
Promise
<
FunctionTermPF
>
_evaluate
Sync
_evaluate
Sync
(
options
?
)
:
FunctionTermPF
Parameters
options
:
{}
= {}
Returns
FunctionTermPF
toJSON
toJSON
(
)
:
object
Returns
object
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
result
Accessors
expression
flavor
is
Deterministic
simplify
Methods
_evaluate
Async
_evaluate
Sync
toJSON
Pathfinder 1e for Foundry VTT
Loading...
Function Term override to support sizeRoll