forked from Roll20/roll20-api-scripts
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathscript.json
More file actions
95 lines (95 loc) · 3.18 KB
/
Copy pathscript.json
File metadata and controls
95 lines (95 loc) · 3.18 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "MonsterHitDice",
"script": "MonsterHitDice.js",
"version": "0.3.13",
"description": "Automatically fills in the hit points for a characters dragged onto the table top.\r\rThe default token for the character needs to represent that creature but **should not** have the bar used for hit points linked to an attribute. Use the settings below to configure the script for how you calculate hit points in your game. There are several sheets for which the configurations are built in or you can use the more detailed settings. Details about each setting are included along with it.\r\r## Commands\r\r```\r!mhd\r```\r\rThis will reroll hitpoints for all selected tokens.",
"authors": "The Aaron",
"roll20userid": "104025",
"patreon": "https://www.patreon.com/shdwjk",
"useroptions": [
{
"name": "Bar",
"type": "select",
"default": "Bar 3",
"description": "Select the bar to use for hitpoints.",
"options": [
"Bar 1",
"Bar 2",
"Bar 3"
]
},
{
"name": "Sheet",
"type": "select",
"default": "DnD 5e - Community Contributed",
"description": "Select the character sheet you are using to attempt to preconfigure for that sheet.",
"options": [
"DnD 5e - Community Contributed",
"DnD 5e - Shaped v2",
"DnD 5e - OGL by roll20",
"Advanced 1st Edition",
"Custom - (Use settings below)"
]
},
{
"name": "HitDice Attribute",
"type": "text",
"description": "Type the name of the attribute used to store the HitDice formula."
},
{
"name": "SRD Embedded Formula",
"type": "checkbox",
"description": "Select this checkbox if the HitDice attribute has formula in the SRD embedded format '12 (3d4+5)' ",
"value": "findSRDFormula"
},
{
"name": "1st Edition HD in Attribute (d8)",
"type": "checkbox",
"description": "Select this checkbox if the HitDice attribute contains a number of d8s to roll for hitdice",
"value": "HDis1eD8s"
},
{
"name": "Separate Constitution Modifier",
"type": "checkbox",
"description": "Select this checkbox if you store the constitution modifier separately from the HitDice formula.",
"value": "useSeparateCon"
},
{
"name": "Constitution Attribute",
"type": "text",
"description": "Type the name of the attribute used to store the constitution value."
},
{
"name": "Constitution is Stat",
"type": "checkbox",
"description": "Select this checkbox if the Constitution attribute should be converted to a modifier ((CON-10)/2).",
"value": "conIsStat"
}
],
"dependencies": [],
"modifies": {
"attribute.current": "read",
"attribute.name": "read",
"attribute.type": "read",
"character.represents": "read",
"graphic.bar2_link": "read",
"graphic.bar2_max": "write",
"graphic.bar2_value": "write",
"graphic.represents": "read",
"graphic.subtype": "read",
"graphic.type": "read"
},
"conflicts": [],
"previousversions": [
"0.3.10",
"0.3.11",
"0.3.12",
"0.3.3",
"0.3.4",
"0.3.5",
"0.3.6",
"0.3.7",
"0.3.8",
"0.3.9"
]
}