@archivist-gg/dnd5e 0.3.7 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/background/background.codec.js +5 -5
- package/dist/background/background.parser.js +4 -4
- package/dist/background/background.schema.js +3 -3
- package/dist/{chunk-3PZHBLFG.js → chunk-2Q374PZ3.js} +1 -1
- package/dist/{chunk-BJFL4KYG.js → chunk-47SCRXGM.js} +3 -3
- package/dist/{chunk-MYW7AOUE.js → chunk-5QM7YNGV.js} +1 -1
- package/dist/{chunk-ABQ6ZWAF.js → chunk-5SMMRAO2.js} +1 -1
- package/dist/{chunk-7MRW4RTH.js → chunk-5VTDYZIW.js} +1 -1
- package/dist/{chunk-BS355LND.js → chunk-DIAYWWHG.js} +1 -1
- package/dist/{chunk-H4VEMVOO.js → chunk-EISRDJUV.js} +1 -1
- package/dist/{chunk-7WNQJAZW.js → chunk-FYM3ROGA.js} +2 -2
- package/dist/{chunk-MT4RWROQ.js → chunk-GD2CFJ3T.js} +2 -2
- package/dist/{chunk-CQAL67R3.js → chunk-HRG4URUK.js} +1 -1
- package/dist/{chunk-A6YL53NC.js → chunk-IVLA24R3.js} +1 -1
- package/dist/{chunk-KPEJMNRD.js → chunk-IXMS2HHP.js} +22 -7
- package/dist/{chunk-IWRVOCT5.js → chunk-LEHDXPY6.js} +1 -1
- package/dist/{chunk-JOVMV2X5.js → chunk-N4JJNGLZ.js} +3 -3
- package/dist/{chunk-63XQXPZL.js → chunk-O5WXS3G5.js} +1 -1
- package/dist/{chunk-DTCR4DBF.js → chunk-Q6L2RASW.js} +3 -3
- package/dist/{chunk-2BI5NAXK.js → chunk-QCKOVD3K.js} +2 -2
- package/dist/{chunk-NNAQ4KQF.js → chunk-RW42SHFM.js} +1 -1
- package/dist/{chunk-EYZCCWG2.js → chunk-TEKRIRNZ.js} +1 -1
- package/dist/{chunk-B4TQTJVC.js → chunk-U3DNWCEI.js} +1 -1
- package/dist/{chunk-RWZTGMSN.js → chunk-UYBCC473.js} +1 -1
- package/dist/{chunk-ULCQ73LA.js → chunk-VMIFD2RB.js} +1 -1
- package/dist/{chunk-X3D6LXUU.js → chunk-VTKJOAJD.js} +1 -0
- package/dist/{chunk-3BMVVNCS.js → chunk-WNQ2O2IS.js} +1 -1
- package/dist/{chunk-JKLRBILX.js → chunk-YRTI2FLD.js} +1 -1
- package/dist/{chunk-UA3I2YSO.js → chunk-ZJXSXVFP.js} +1 -1
- package/dist/class/class.codec.js +7 -7
- package/dist/class/class.parser.js +6 -6
- package/dist/class/class.schema.js +5 -5
- package/dist/feat/feat.codec.js +6 -6
- package/dist/feat/feat.parser.js +5 -5
- package/dist/feat/feat.schema.d.ts +14 -0
- package/dist/feat/feat.schema.js +4 -4
- package/dist/index.js +24 -24
- package/dist/monster/monster.parser.js +6 -6
- package/dist/monster/monster.schema.js +5 -5
- package/dist/optional-feature/optional-feature.codec.js +5 -5
- package/dist/optional-feature/optional-feature.parser.js +4 -4
- package/dist/optional-feature/optional-feature.schema.d.ts +15 -0
- package/dist/optional-feature/optional-feature.schema.js +3 -3
- package/dist/pc/pc.decision-engine.js +2 -2
- package/dist/pc/pc.feature-effects.d.ts +15 -0
- package/dist/pc/pc.feature-effects.js +1 -1
- package/dist/pc/pc.proficiencies.js +2 -2
- package/dist/pc/pc.recalc.js +45 -15
- package/dist/pc/pc.resolver.js +2 -2
- package/dist/pc/pc.types.d.ts +19 -0
- package/dist/race/race.codec.js +7 -7
- package/dist/race/race.parser.js +6 -6
- package/dist/race/race.schema.js +5 -5
- package/dist/schemas/choice-schema.js +2 -2
- package/dist/schemas/feature-effect-schema.d.ts +14 -0
- package/dist/schemas/feature-effect-schema.js +1 -1
- package/dist/schemas/feature-schema.js +4 -4
- package/dist/schemas/resource-schema.d.ts +1 -0
- package/dist/schemas/resource-schema.js +1 -1
- package/dist/subclass/subclass.codec.js +7 -7
- package/dist/subclass/subclass.parser.js +6 -6
- package/dist/subclass/subclass.schema.js +5 -5
- package/dist/types/feature-effect.d.ts +5 -0
- package/dist/types/resource.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
subclassCodec
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-U3DNWCEI.js";
|
|
4
|
+
import "../chunk-5SMMRAO2.js";
|
|
5
|
+
import "../chunk-GD2CFJ3T.js";
|
|
6
6
|
import "../chunk-4U55VNC7.js";
|
|
7
7
|
import "../chunk-23LZLBJK.js";
|
|
8
8
|
import "../chunk-CJYCVNW2.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-N4JJNGLZ.js";
|
|
10
10
|
import "../chunk-WYGD2UGN.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-ZJXSXVFP.js";
|
|
12
|
+
import "../chunk-LEHDXPY6.js";
|
|
13
|
+
import "../chunk-VTKJOAJD.js";
|
|
14
14
|
import "../chunk-UA5KS2PL.js";
|
|
15
15
|
export {
|
|
16
16
|
subclassCodec
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSubclass
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-5SMMRAO2.js";
|
|
4
|
+
import "../chunk-GD2CFJ3T.js";
|
|
5
5
|
import "../chunk-4U55VNC7.js";
|
|
6
6
|
import "../chunk-23LZLBJK.js";
|
|
7
7
|
import "../chunk-CJYCVNW2.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-N4JJNGLZ.js";
|
|
9
9
|
import "../chunk-WYGD2UGN.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-ZJXSXVFP.js";
|
|
11
|
+
import "../chunk-LEHDXPY6.js";
|
|
12
|
+
import "../chunk-VTKJOAJD.js";
|
|
13
13
|
import "../chunk-UA5KS2PL.js";
|
|
14
14
|
export {
|
|
15
15
|
parseSubclass
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
subclassEntitySchema
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-GD2CFJ3T.js";
|
|
4
4
|
import "../chunk-23LZLBJK.js";
|
|
5
5
|
import "../chunk-CJYCVNW2.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-N4JJNGLZ.js";
|
|
7
7
|
import "../chunk-WYGD2UGN.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-ZJXSXVFP.js";
|
|
9
|
+
import "../chunk-LEHDXPY6.js";
|
|
10
|
+
import "../chunk-VTKJOAJD.js";
|
|
11
11
|
import "../chunk-UA5KS2PL.js";
|
|
12
12
|
export {
|
|
13
13
|
subclassEntitySchema
|
|
@@ -17,6 +17,11 @@ type Qualified = {
|
|
|
17
17
|
export type FeatureEffect = ({
|
|
18
18
|
kind: "initiative-bonus";
|
|
19
19
|
value: number;
|
|
20
|
+
} & Qualified) | ({
|
|
21
|
+
kind: "skill-bonus";
|
|
22
|
+
skills: string[];
|
|
23
|
+
ability: Ability;
|
|
24
|
+
minimum?: number;
|
|
20
25
|
} & Qualified) | ({
|
|
21
26
|
kind: "immune-condition";
|
|
22
27
|
condition: string;
|
package/dist/types/resource.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export interface Resource {
|
|
|
50
50
|
recovery?: ResourceRecovery[];
|
|
51
51
|
}
|
|
52
52
|
export interface ResourceConsumption {
|
|
53
|
-
source?: "resource" | "class-column" | "attack-dice";
|
|
53
|
+
source?: "resource" | "class-column" | "attack-dice" | "spell-slots";
|
|
54
54
|
resource?: string;
|
|
55
55
|
column?: string;
|
|
56
56
|
/** The MINIMUM spend when `amount_max` is present, otherwise the exact spend. */
|