-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathblades.randsum.json
More file actions
66 lines (62 loc) · 1.77 KB
/
blades.randsum.json
File metadata and controls
66 lines (62 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"$schema": "https://randsum.dev/schemas/v1/randsum.json",
"name": "Blades in the Dark",
"shortcode": "blades",
"version": "1.0.0",
"game_url": "https://bladesinthedark.com",
"srd_url": "https://bladesinthedark.com/basics",
"pools": {
"actionDice": { "sides": 6 }
},
"tables": {
"coreMechanic": {
"ranges": [
{
"poolCondition": { "countWhere": { "operator": "=", "value": 6 }, "atLeast": 2 },
"result": "critical"
},
{ "exact": 6, "result": "success" },
{ "min": 4, "max": 5, "result": "partial" },
{ "min": 1, "max": 3, "result": "failure" }
]
}
},
"outcomes": {
"coreMechanicOutcome": { "tableLookup": { "$ref": "#/tables/coreMechanic" } },
"desperateActionOutcome": {
"ranges": [
{ "exact": 6, "result": "success" },
{ "min": 4, "max": 5, "result": "partial" },
{ "min": 1, "max": 3, "result": "failure" }
]
}
},
"roll": {
"inputs": {
"rating": {
"type": "integer",
"minimum": 0,
"maximum": 6,
"default": 1,
"description": "Dice pool size including action rating, assists, and push (0 = desperate, 1-6 = standard)"
}
},
"dice": {
"pool": { "$ref": "#/pools/actionDice" },
"quantity": { "$input": "rating" }
},
"modify": [{ "keepHighest": 1 }],
"resolve": "sum",
"outcome": { "$ref": "#/outcomes/coreMechanicOutcome" },
"when": [
{
"condition": { "input": "rating", "operator": "=", "value": 0 },
"override": {
"dice": { "pool": { "$ref": "#/pools/actionDice" }, "quantity": 2 },
"modify": [{ "keepLowest": 1 }],
"outcome": { "$ref": "#/outcomes/desperateActionOutcome" }
}
}
]
}
}