Skip to content

Commit 45434f0

Browse files
committed
Auto API update from github workflow
1 parent cf76866 commit 45434f0

File tree

7 files changed

+97
-202
lines changed

7 files changed

+97
-202
lines changed

docs/api/config.js

Lines changed: 1 addition & 202 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/modifiers/ComparisonModifier.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ A `ComparisonModifier` is the base modifier class for comparing values.
3131
* *[.comparePoint](#ComparisonModifier+comparePoint)*
3232
* *[.name](#ComparisonModifier+name) ⇒ <code>string</code>*
3333
* *[.notation](#ComparisonModifier+notation) ⇒ <code>string</code>*
34+
* *[.defaultComparePoint(_context)](#ComparisonModifier+defaultComparePoint) ⇒ <code>null</code>*
35+
* *[.defaults(_context)](#ComparisonModifier+defaults) ⇒ <code>object</code>*
3436
* *[.isComparePoint(value)](#ComparisonModifier+isComparePoint) ⇒ <code>boolean</code>*
3537
* *[.toJSON()](#ComparisonModifier+toJSON) ⇒ <code>Object</code>*
3638

@@ -82,6 +84,28 @@ The name of the modifier.
8284
The modifier's notation.
8385

8486
**Kind**: instance property of [<code>ComparisonModifier</code>](#ComparisonModifier)
87+
<a name="ComparisonModifier+defaultComparePoint"></a>
88+
89+
### *comparisonModifier.defaultComparePoint(_context) ⇒ <code>null</code>*
90+
Empty default compare point definition
91+
92+
**Kind**: instance method of [<code>ComparisonModifier</code>](#ComparisonModifier)
93+
94+
| Param | Type | Description |
95+
| --- | --- | --- |
96+
| _context | <code>StandardDice</code> \| <code>RollGroup</code> | The object that the modifier is attached to |
97+
98+
<a name="ComparisonModifier+defaults"></a>
99+
100+
### *comparisonModifier.defaults(_context) ⇒ <code>object</code>*
101+
Eases processing of simple "compare point only" defaults
102+
103+
**Kind**: instance method of [<code>ComparisonModifier</code>](#ComparisonModifier)
104+
105+
| Param | Type | Description |
106+
| --- | --- | --- |
107+
| _context | <code>StandardDice</code> \| <code>RollGroup</code> | The object that the modifier is attached to |
108+
85109
<a name="ComparisonModifier+isComparePoint"></a>
86110

87111
### *comparisonModifier.isComparePoint(value) ⇒ <code>boolean</code>*

docs/api/modifiers/CriticalFailureModifier.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Unlike most other modifiers, it doesn't affect the roll value, it simply "flags"
2020
* [.order](#CriticalFailureModifier+order) : <code>number</code>
2121
* [.name](#CriticalFailureModifier+name) ⇒ <code>string</code>
2222
* [.notation](#CriticalFailureModifier+notation) ⇒ <code>string</code>
23+
* [.defaultComparePoint(_context)](#CriticalFailureModifier+defaultComparePoint) ⇒ <code>array</code>
2324
* [.run(results, _context)](#CriticalFailureModifier+run) ⇒ <code>RollResults</code>
2425

2526
<a name="new_CriticalFailureModifier_new"></a>
@@ -55,6 +56,17 @@ The name of the modifier.
5556
The modifier's notation.
5657

5758
**Kind**: instance property of [<code>CriticalFailureModifier</code>](#CriticalFailureModifier)
59+
<a name="CriticalFailureModifier+defaultComparePoint"></a>
60+
61+
### criticalFailureModifier.defaultComparePoint(_context) ⇒ <code>array</code>
62+
The default compare point definition
63+
64+
**Kind**: instance method of [<code>CriticalFailureModifier</code>](#CriticalFailureModifier)
65+
66+
| Param | Type | Description |
67+
| --- | --- | --- |
68+
| _context | <code>StandardDice</code> \| <code>RollGroup</code> | The object that the modifier is attached to |
69+
5870
<a name="CriticalFailureModifier+run"></a>
5971

6072
### criticalFailureModifier.run(results, _context) ⇒ <code>RollResults</code>

docs/api/modifiers/CriticalSuccessModifier.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Unlike most other modifiers, it doesn't affect the roll value, it simply "flags"
2020
* [.order](#CriticalSuccessModifier+order) : <code>number</code>
2121
* [.name](#CriticalSuccessModifier+name) ⇒ <code>string</code>
2222
* [.notation](#CriticalSuccessModifier+notation) ⇒ <code>string</code>
23+
* [.defaultComparePoint(_context)](#CriticalSuccessModifier+defaultComparePoint) ⇒ <code>array</code>
2324
* [.run(results, _context)](#CriticalSuccessModifier+run) ⇒ <code>RollResults</code>
2425

2526
<a name="new_CriticalSuccessModifier_new"></a>
@@ -55,6 +56,17 @@ The name of the modifier.
5556
The modifier's notation.
5657

5758
**Kind**: instance property of [<code>CriticalSuccessModifier</code>](#CriticalSuccessModifier)
59+
<a name="CriticalSuccessModifier+defaultComparePoint"></a>
60+
61+
### criticalSuccessModifier.defaultComparePoint(_context) ⇒ <code>array</code>
62+
The default compare point definition
63+
64+
**Kind**: instance method of [<code>CriticalSuccessModifier</code>](#CriticalSuccessModifier)
65+
66+
| Param | Type | Description |
67+
| --- | --- | --- |
68+
| _context | <code>StandardDice</code> \| <code>RollGroup</code> | The object that the modifier is attached to |
69+
5870
<a name="CriticalSuccessModifier+run"></a>
5971

6072
### criticalSuccessModifier.run(results, _context) ⇒ <code>RollResults</code>

docs/api/modifiers/ExplodeModifier.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ An `ExplodeModifier` re-rolls dice that match a given test, and adds them to the
2020
* [.name](#ExplodeModifier+name) ⇒ <code>string</code>
2121
* [.notation](#ExplodeModifier+notation) ⇒ <code>string</code>
2222
* [.penetrate](#ExplodeModifier+penetrate) ⇒ <code>boolean</code>
23+
* [.defaultComparePoint(_context)](#ExplodeModifier+defaultComparePoint) ⇒ <code>array</code>
2324
* [.run(results, _context)](#ExplodeModifier+run) ⇒ <code>RollResults</code>
2425
* [.toJSON()](#ExplodeModifier+toJSON) ⇒ <code>Object</code>
2526

@@ -72,6 +73,17 @@ Whether the modifier should penetrate the results or not.
7273

7374
**Kind**: instance property of [<code>ExplodeModifier</code>](#ExplodeModifier)
7475
**Returns**: <code>boolean</code> - `true` if it should penetrate, `false` otherwise
76+
<a name="ExplodeModifier+defaultComparePoint"></a>
77+
78+
### explodeModifier.defaultComparePoint(_context) ⇒ <code>array</code>
79+
The default compare point definition
80+
81+
**Kind**: instance method of [<code>ExplodeModifier</code>](#ExplodeModifier)
82+
83+
| Param | Type | Description |
84+
| --- | --- | --- |
85+
| _context | <code>StandardDice</code> \| <code>RollGroup</code> | The object that the modifier is attached to |
86+
7587
<a name="ExplodeModifier+run"></a>
7688

7789
### explodeModifier.run(results, _context) ⇒ <code>RollResults</code>

docs/api/modifiers/Modifier.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ A `Modifier` is the base modifier class that all others extend from.
2222
* *[.name](#Modifier+name) ⇒ <code>string</code>*
2323
* *[.notation](#Modifier+notation) ⇒ <code>string</code>*
2424
* *[.maxIterations](#Modifier+maxIterations) ⇒ <code>number</code>*
25+
* *[.defaults(_context)](#Modifier+defaults) ⇒ <code>object</code>*
26+
* *[.useDefaultsIfNeeded(_context)](#Modifier+useDefaultsIfNeeded) ⇒ <code>void</code>*
2527
* *[.run(results, _context)](#Modifier+run) ⇒ <code>RollResults</code>*
2628
* *[.toJSON()](#Modifier+toJSON) ⇒ <code>Object</code>*
2729
* *[.toString()](#Modifier+toString) ⇒ <code>string</code>*
@@ -57,6 +59,28 @@ The maximum number of iterations that the modifier can apply to a single die rol
5759

5860
**Kind**: instance property of [<code>Modifier</code>](#Modifier)
5961
**Returns**: <code>number</code> - `1000`
62+
<a name="Modifier+defaults"></a>
63+
64+
### *modifier.defaults(_context) ⇒ <code>object</code>*
65+
No default values present
66+
67+
**Kind**: instance method of [<code>Modifier</code>](#Modifier)
68+
69+
| Param | Type | Description |
70+
| --- | --- | --- |
71+
| _context | <code>StandardDice</code> \| <code>RollGroup</code> | The object that the modifier is attached to |
72+
73+
<a name="Modifier+useDefaultsIfNeeded"></a>
74+
75+
### *modifier.useDefaultsIfNeeded(_context) ⇒ <code>void</code>*
76+
Processing default values definitions
77+
78+
**Kind**: instance method of [<code>Modifier</code>](#Modifier)
79+
80+
| Param | Type | Description |
81+
| --- | --- | --- |
82+
| _context | <code>StandardDice</code> \| <code>RollGroup</code> | The object that the modifier is attached to |
83+
6084
<a name="Modifier+run"></a>
6185

6286
### *modifier.run(results, _context) ⇒ <code>RollResults</code>*

0 commit comments

Comments
 (0)