-
Notifications
You must be signed in to change notification settings - Fork 77
/
demo-two-column.html
172 lines (154 loc) · 5.82 KB
/
demo-two-column.html
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
168
169
170
171
172
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Two-column statblock example</title>
<link href='//fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic'
rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Libre+Baskerville:700'
rel='stylesheet' type='text/css'>
<script type="module" src="src/js/stat-block.js"></script>
<script type="module" src="src/js/creature-heading.js"></script>
<script type="module" src="src/js/top-stats.js"></script>
<script type="module" src="src/js/abilities-block.js"></script>
<script type="module" src="src/js/property-line.js"></script>
<script type="module" src="src/js/property-block.js"></script>
<style>
body {
margin: 0;
}
stat-block {
/* A bit of margin for presentation purposes, to show off the drop
shadow. */
margin-left: 20px;
margin-top: 20px;
}
</style>
</head>
<body>
<!-- You do NOT need to set data-content-height to get two columns! You only
need to have the data-two-column attribute present. With only that
attribute, text will be flowed across the two columns until they are
"balanced." Start with that.
If that produces unpleasent results, you can use data-content-height to
force the column heights to your liking. This will result in the first
column always being completely full and the second possibly having
whitespace at the bottom.
Be careful about setting a height that's too low! That will produce all
sorts of weird results. -->
<stat-block data-two-column style="--data-content-height: 672px;">
<creature-heading>
<h1>Werewolf Alpha</h1>
<h2>Medium humanoid (human, shapechanger), chaotic evil</h2>
</creature-heading>
<top-stats>
<property-line>
<h4>Armor Class</h4>
<p>14 (armor scraps) in humanoid form, 16 (natural armor) in wolf
or hybrid form</p>
</property-line>
<property-line>
<h4>Hit Points</h4>
<p>119 (14d8 + 56)</p>
</property-line>
<property-line>
<h4>Speed</h4>
<p>30 ft. (40 ft. in wolf form)</p>
</property-line>
<abilities-block data-str="20"
data-dex="15"
data-con="18"
data-int="11"
data-wis="14"
data-cha="15"></abilities-block>
<property-line>
<h4>Saving Throws</h4>
<p>Str +9, Con +8, Wis +6</p>
</property-line>
<property-line>
<h4>Skills</h4>
<p>Athletics +9, Perception +6</p>
</property-line>
<property-line>
<h4>Damage Immunities</h4>
<p>bludgeoning, piercing, and slashing damage from nonmagical weapons
that aren't silvered</p>
</property-line>
<property-line>
<h4>Senses</h4>
<p>passive Perception 16</p>
</property-line>
<property-line>
<h4>Languages</h4>
<p>Common (can't speak in wolf form)</p>
</property-line>
<property-line>
<h4>Challenge</h4>
<p>9 (5,000 XP)</p>
</property-line>
</top-stats>
<property-block>
<h4>Legendary Resistance (3/Day).</h4>
<p>If the werewolf fails a saving throw, it can choose to succeed
instead.</p>
</property-block>
<property-block>
<h4>Keen Hearing and Smell.</h4>
<p>The werewolf has advantage on Wisdom (Perception) checks that rely on
hearing or smell.</p>
</property-block>
<property-block>
<h4>Pack Leader.</h4>
<p>The werewolf's allies have advantage on melee attack rolls against
any hostile creature within 5 feet of the werewolf.</p>
</property-block>
<property-block>
<h4>Shapechanger.</h4>
<p>The werewolf can use its action to polymorph into a wolf-humanoid
hybrid or into a wolf, or back into its true form, which is humanoid.
Its statistics, other than its AC, are the same in each form. Any
equipment it is wearing or carrying isn't transformed. It reverts to
its true form if it dies.</p>
</property-block>
<h3>Actions</h3>
<property-block>
<h4>Multiattack (Hybrid Form Only).</h4>
<p>The werewolf makes three attacks: one with its bite and two with its
claws.</p>
</property-block>
<property-block>
<h4>Bite (Wolf or Hybrid Form Only).</h4>
<p><i>Melee Weapon Attack:</i> +9 to hit, reach 5 ft., one target.
<i>Hit:</i> 14 (2d8 + 5) piercing damage. If the target is a humanoid,
it must succeed on a DC 14 Constitution saving throw or be cursed with
werewolf lycanthropy.</p>
</property-block>
<property-block>
<h4>Claws (Hybrid Form Only).</h4>
<p><i>Melee Weapon Attack:</i> +9 to hit, reach 5 ft., one target.
<i>Hit:</i> 16 (2d10 + 5) slashing damage.</p>
</property-block>
<h3>Legendary Actions</h3>
<p>The werewolf can take 3 legendary actions, choosing from the
options below. Only one legendary action option can be used at a
time and only at the end of another creature's turn. The werewolf
regains spent legendary actions at the start of its turn.</p>
<property-line>
<h4>Leap.</h4>
<p>The werewolf moves up to its speed without provoking
opportunity attacks.</p>
</property-line>
<property-line>
<h4>Bark Orders.</h4>
<p>The werewolf chooses a friendly creature who can
see or hear it. That creature can use its reaction to move up to its
speed without provoking opportunity attacks.</p>
</property-line>
<property-line>
<h4>Frenzy (Costs 2 Actions).</h4>
<p>The werewolf can make one claw attack against each creature within 5
feet of it.</p>
</property-line>
</stat-block>
</body>
</html>