Repository navigation
Expand file tree
/
Copy pathsample.dei
More file actions
167 lines (167 loc) · 5.14 KB
/
Copy pathsample.dei
File metadata and controls
167 lines (167 loc) · 5.14 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
@ \ This is a basic D&D 5e Character Sheet written in Dei \
@ \ Feel free to edit, however make sure there is an empty line at the end!! \
@ \ Prefix lines with '@' symbols to perform without output \
@ \ Comments are delimited by backslashes \
@
@ \ Stats: These define attributes of the character \
@ \ 0 is unproficient, -1 is half proficiency, 1 is proficient, 2 is expertise \
@
@ prof : 3
@ speed : 40
@
@ \ AC Modifier: 0 is calculated, 1 is set \
@ ac_mode : 0
@
@ \ Statistics \
@ strength : 20
@ dexterity : 15
@ constitution : 18
@ intelligence : 12
@ wisdom : 15
@ charisma : 11
@
@ \ Main Spellcasting Modifier: 0 for none, 1-6 for a statistic (str->cha) \
@ spell_stat : 3
@
@ \ Save proficiencies \
@ str_lvl : 1
@ dex_lvl : 0
@ con_lvl : 1
@ int_lvl : 0
@ wis_lvl : 0
@ cha_lvl : 0
@
@ \ Skill proficiencies \
@ acro_lvl : 0
@ anim_lvl : 0
@ arca_lvl : 0
@ athl_lvl : 1
@ dece_lvl : 0
@ hist_lvl : 0
@ insi_lvl : 0
@ inti_lvl : 1
@ inve_lvl : 1
@ medi_lvl : 0
@ natu_lvl : 1
@ perc_lvl : 1
@ perf_lvl : 0
@ pers_lvl : 0
@ reli_lvl : 0
@ slei_lvl : 0
@ stea_lvl : 0
@ surv_lvl : 1
@
@ \ Calculations: Used to find oft-used values \
@
@ str_mod : (strength < 10) ? (10 - strength) // 2 ; (strength - 10) // 2
@ dex_mod : (dexterity < 10) ? (10 - dexterity) // 2 ; (dexterity - 10) // 2
@ con_mod : (constitution < 10) ? (10 - constitution) // 2 ; (constitution - 10) // 2
@ int_mod : (intelligence < 10) ? (10 - intelligence) // 2 ; (intelligence - 10) // 2
@ wis_mod : (wisdom < 10) ? (10 - wisdom) // 2 ; (wisdom - 10) // 2
@ cha_mod : (charisma < 10) ? (10 - charisma) // 2 ; (charisma - 10) // 2
@
@ str_save_mod : str_mod + (str_lvl == -1) ? prof // 2 ; prof * str_lvl
@ dex_save_mod : dex_mod + (dex_lvl == -1) ? prof // 2 ; prof * dex_lvl
@ con_save_mod : con_mod + (con_lvl == -1) ? prof // 2 ; prof * con_lvl
@ int_save_mod : int_mod + (int_lvl == -1) ? prof // 2 ; prof * int_lvl
@ wis_save_mod : wis_mod + (wis_lvl == -1) ? prof // 2 ; prof * wis_lvl
@ cha_save_mod : cha_mod + (cha_lvl == -1) ? prof // 2 ; prof * cha_lvl
@
@ acro_mod : dex_mod + (acro_lvl == -1) ? prof // 2 ; prof * acro_lvl
@ anim_mod : wis_mod + (anim_lvl == -1) ? prof // 2 ; prof * anim_lvl
@ arca_mod : int_mod + (arca_lvl == -1) ? prof // 2 ; prof * arca_lvl
@ athl_mod : str_mod + (athl_lvl == -1) ? prof // 2 ; prof * athl_lvl
@ dece_mod : cha_mod + (dece_lvl == -1) ? prof // 2 ; prof * dece_lvl
@ hist_mod : int_mod + (hist_lvl == -1) ? prof // 2 ; prof * hist_lvl
@ insi_mod : wis_mod + (insi_lvl == -1) ? prof // 2 ; prof * insi_lvl
@ inti_mod : cha_mod + (inti_lvl == -1) ? prof // 2 ; prof * inti_lvl
@ inve_mod : int_mod + (inve_lvl == -1) ? prof // 2 ; prof * inve_lvl
@ medi_mod : wis_mod + (medi_lvl == -1) ? prof // 2 ; prof * medi_lvl
@ natu_mod : int_mod + (natu_lvl == -1) ? prof // 2 ; prof * natu_lvl
@ perc_mod : wis_mod + (perc_lvl == -1) ? prof // 2 ; prof * perc_lvl
@ perf_mod : cha_mod + (perf_lvl == -1) ? prof // 2 ; prof * perf_lvl
@ pers_mod : cha_mod + (pers_lvl == -1) ? prof // 2 ; prof * pers_lvl
@ reli_mod : int_mod + (reli_lvl == -1) ? prof // 2 ; prof * reli_lvl
@ slei_mod : dex_mod + (slei_lvl == -1) ? prof // 2 ; prof * slei_lvl
@ stea_mod : dex_mod + (stea_lvl == -1) ? prof // 2 ; prof * stea_lvl
@ surv_mod : wis_mod + (surv_lvl == -1) ? prof // 2 ; prof * surv_lvl
@
@ init_mod : dex_mod
@ ac_base : 10
@ ac_mod : dex_mod + con_mod
@ \ ac_mod : (dex_mod >= 2 ) ? 2 ; dex_mod \
@
@ spell_mod : (spell_stat == 1) ? str_mod ; (spell_stat == 2) ? dex_mod ; (spell_stat == 3) ? con_mod ; (spell_stat == 4) ? int_mod ; (spell_stat == 5) ? wis_mod ; (spell_stat == 6) ? cha_mod
@ spell_hit : spell_mod + prof
@ spell_dc : 8 + spell_mod + prof
@
@ \ Attributes: Not rolled, but may be called upon \
@
@ \ Passives \
@ pperc : 10 + perc_mod
@ pinve : 10 + inve_mod
@ pinsi : 10 + insi_mod
@
@ \ Difficulty Classes \
@ ac : ac_base + (ac_mode == 0) ? ac_mod
@
@ dc : spell_dc
@
@ \ Abilities \
@ rage : 2
@
@ \ Rolls: These are the variables which are intended to be rolled \
@
@ \ Stat rolls \
@ str : 1d20 + str_mod
@ dex : 1d20 + dex_mod
@ con : 1d20 + con_mod
@ int : 1d20 + int_mod
@ wis : 1d20 + wis_mod
@ cha : 1d20 + cha_mod
@
@ \ Saves \
@ str_save : 1d20 + str_save_mod
@ dex_save : 1d20 + dex_save_mod
@ con_save : 1d20 + con_save_mod
@ int_save : 1d20 + int_save_mod
@ wis_save : 1d20 + wis_save_mod
@ cha_save : 1d20 + cha_save_mod
@
@ \ Skill Rolls \
@ acro : 1d20 + acro_mod
@ anim : 1d20 + anim_mod
@ arca : 1d20 + arca_mod
@ athl : 1d20 + athl_mod
@ dece : 1d20 + dece_mod
@ hist : 1d20 + hist_mod
@ insi : 1d20 + insi_mod
@ inti : 1d20 + inti_mod
@ inve : 1d20 + inve_mod
@ medi : 1d20 + medi_mod
@ natu : 1d20 + natu_mod
@ perc : 1d20 + perc_mod
@ perf : 1d20 + perf_mod
@ pers : 1d20 + pers_mod
@ reli : 1d20 + reli_mod
@ slei : 1d20 + slei_mod
@ stea : 1d20 + stea_mod
@ surv : 1d20 + surv_mod
@
@ \ Combat \
@ init : 1d20 + init_mod
@ spell : 1d20 + spell_hit
@ \ Main Spellcasting stat to-hit Roll \
@
@ jave : 1d20 + str_mod + prof
@ jave_dam : 1d6 + str_mod
@ glai : 1d20 + str_mod + prof
@ glai_dam : 1d10 + str_mod
@ unarm : 1d20 + str_mod + prof
@ unarm_dam : 1 + str_mod
@ pole : 1d20 + str_mod + prof
@ pole_dam : 1d4 + str_mod
@
@ \ Abilities \
@ spirit : 2d6
@ stone : 1d12 + con_mod