@lippelt/srd-dnd-3.5 0.1.0 → 0.1.1
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/README.md +12 -12
- package/package.json +15 -5
package/README.md
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Módulo D&D 3.5 para [`@lippelt/srd-core`](../core).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
> Dungeons & Dragons® é trademark da Wizards of the Coast LLC. Mecânica derivada do [System Reference Document 3.5](https://www.opengamingfoundation.org/) sob a **Open Game License v1.0a**.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## O que inclui
|
|
8
8
|
|
|
9
|
-
- **7
|
|
10
|
-
- **24
|
|
11
|
-
- **5
|
|
12
|
-
- **
|
|
13
|
-
- `roll('d20'/'check'/'ability'/'skill', { modifier })` — d20 +
|
|
14
|
-
- `roll('attack', { modifier, targetAC, critRange? })` — vs
|
|
15
|
-
- `roll('save', { modifier, dc })` — 20
|
|
16
|
-
- `roll('damage', { count, sides, modifier, critMultiplier? })` — multiplica dados em
|
|
17
|
-
- **
|
|
9
|
+
- **7 presets de dados** — d20, d4–d12, d100
|
|
10
|
+
- **24 condições** do SRD 3.5 (Cego, Encolhido, Pasmo, Morrendo, Amedrontado, Agarrado, Indefeso, Em Pânico, Paralisado, Petrificado, Imobilizado, Caído, Abalado, Enojado, Aturdido etc — nomes em inglês no `id`, rótulos em PT-BR seguindo a tradução Devir).
|
|
11
|
+
- **5 campos de status** — CA, Fort, Ref, Vontade, BBA
|
|
12
|
+
- **Regras automatizadas:**
|
|
13
|
+
- `roll('d20'/'check'/'ability'/'skill', { modifier })` — d20 + modificador, anota 20/1 natural.
|
|
14
|
+
- `roll('attack', { modifier, targetAC, critRange? })` — ataque vs CA, marca crítico (20 natural sempre ameaça + faixa de ameaça).
|
|
15
|
+
- `roll('save', { modifier, dc })` — teste de resistência; 20 natural passa, 1 natural falha automaticamente.
|
|
16
|
+
- `roll('damage', { count, sides, modifier, critMultiplier? })` — multiplica os dados em crítico (×2/×3/×4).
|
|
17
|
+
- **Utilitários:** `abilityMod`, `spellSaveDC`
|
|
18
18
|
|
|
19
19
|
## Uso
|
|
20
20
|
|
|
@@ -27,4 +27,4 @@ register(dnd35)
|
|
|
27
27
|
|
|
28
28
|
## Licença
|
|
29
29
|
|
|
30
|
-
[MIT](LICENSE). Conteúdo do SRD 3.5 sob OGL 1.0a.
|
|
30
|
+
[MIT](LICENSE) (código). Conteúdo do SRD 3.5 sob OGL 1.0a.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lippelt/srd-dnd-3.5",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "D&D 3.5 system module for @lippelt/srd-core — SRD 3.5, OGL 1.0a",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -13,8 +13,14 @@
|
|
|
13
13
|
"require": "./dist/index.cjs"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
|
-
"files": [
|
|
17
|
-
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"README.md",
|
|
19
|
+
"LICENSE"
|
|
20
|
+
],
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public"
|
|
23
|
+
},
|
|
18
24
|
"scripts": {
|
|
19
25
|
"build": "tsup",
|
|
20
26
|
"dev": "tsup --watch",
|
|
@@ -29,6 +35,10 @@
|
|
|
29
35
|
"url": "git+https://github.com/flippelt/gmcr-srd-systems.git",
|
|
30
36
|
"directory": "packages/dnd-3.5"
|
|
31
37
|
},
|
|
32
|
-
"peerDependencies": {
|
|
33
|
-
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"@lippelt/srd-core": "^0.1.0"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@lippelt/srd-core": "*"
|
|
43
|
+
}
|
|
34
44
|
}
|