Pathfinder 1e for Foundry VTT
Repository
Preparing search index...
pf1
dice
terms
FunctionTermPF
Class FunctionTermPF
Function Term override to support sizeRoll
Hierarchy
AnyRollTerm
<
this
>
FunctionTermPF
Index
Constructors
constructor
Properties
result
Accessors
expression
flavor
is
Deterministic
simplify
Methods
_
evaluate
Async
_
evaluate
Sync
to
JSON
Constructors
constructor
new
FunctionTermPF
(
...
args
:
never
)
:
FunctionTermPF
Parameters
...
args
:
never
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
_evaluateAsync
(
options
?:
{}
)
:
Promise
<
FunctionTermPF
>
Parameters
options
:
{}
= {}
Returns
Promise
<
FunctionTermPF
>
_
evaluate
Sync
_evaluateSync
(
options
?:
{}
)
:
FunctionTermPF
Parameters
options
:
{}
= {}
Returns
FunctionTermPF
to
JSON
toJSON
()
:
Record
<
string
,
unknown
>
Returns
Record
<
string
,
unknown
>
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
to
JSON
Repository
Repository
Pathfinder 1e for Foundry VTT
Loading...
Function Term override to support sizeRoll