forked from NathaTerrien/roll20-wip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
supersix.htm
181 lines (181 loc) · 13 KB
/
supersix.htm
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
173
174
175
176
177
178
179
180
181
<!-- FDP -->
<div class="sheet-main">
<div style="text-align:left;"><img style="width:300px;" src="https://lh3.googleusercontent.com/-rB6nBMObEzQ/VpAM5T9sflI/AAAAAAAAX9A/-7xEFkMw8VY/s614-Ic42/Supersix_fdp.png" /></div>
<div class="sheet-ligne"> <!-- HAUT -->
<div class="sheet-mycol"> <!-- Identité -->
<div class="sheet-ligne">
<div class="sheet-lib1">nom : </div>
<input name="attr_character_name"class="sheet-biginptxt" type="text" placeholder="Nom du super héros" title="Nom du super héros"/>
</div>
<div class="sheet-ligne">
<div class="sheet-lib1">couverture : </div>
<input name="attr_couverture" type="text" class="sheet-inptxt1" placeholder="Identité secrète" title="Identité secrète du super héros (nom + métier dans la vie civile lorsqu’il n’est pas costumé)"/>
</div>
</div>
<div class="sheet-mycol"> <!-- Identité -->
<div class="sheet-ligne">
<div class="sheet-lib1">destin : </div>
<input name="attr_destin" type="number" value="0" />
</div>
<div class="sheet-ligne">
<div class="sheet-lib1">gentillesse : </div>
<input name="attr_gentillesse" type="number" value="0" />
<div class="sheet-lib1">vilenie : </div>
<input name="attr_vilenie" type="number" value="0" />
</div>
</div> <!-- FIN Identité -->
</div>
<div class="sheet-ligne">
<div class="sheet-mycol"> <!-- Forces -->
<div class="sheet-lib2">forces : </div>
<fieldset class="repeating_forces">
<div class="sheet-ligne">
<input type="text" name="attr_forcenom" class="sheet-inpnom" placeholder="Force" title="Force" />
<input type="text" name="attr_forcedesc" class="sheet-inpdesc" placeholder="Description" title="Description" />
<button type="roll" name="InfoForce" class="sheet-btDesc" title="Montrer dans le chat" value="&{template:supersix} {{name=@{forcenom}}} {{subtags=Force}} {{description=@{forcedesc}}}"><img src="https://s3.amazonaws.com/files.d20.io/images/13924213/_SbpEpVjj9V7Dow_GKKYhQ/med.png?1448153028" style="width: 20px;height:20px;"/></button>
</div>
</fieldset>
</div> <!-- FIN Forces -->
<div class="sheet-mycol"> <!-- Faiblesses -->
<div class="sheet-lib2">faiblesses : </div>
<fieldset class="repeating_faiblesses">
<div class="sheet-ligne">
<input type="text" name="attr_faiblessenom" class="sheet-inpnom" placeholder="Faiblesse" title="Faiblesse" />
<input type="text" name="attr_faiblessedesc" class="sheet-inpdesc" placeholder="Description" title="Description" />
<button type="roll" name="InfoFaiblesse" class="sheet-btDesc" title="Montrer dans le chat" value="&{template:supersix} {{name=@{faiblessenom}}} {{subtags=Faiblesses}} {{description=@{faiblessedesc}}}"><img src="https://s3.amazonaws.com/files.d20.io/images/13924213/_SbpEpVjj9V7Dow_GKKYhQ/med.png?1448153028" style="width: 20px;height:20px;"/></button>
</div>
</fieldset>
</div> <!-- FIN Faiblesses -->
</div> <!-- FIN HAUT -->
<div class="sheet-ligne" style="margin: 5px;" > <!-- MILIEU -->
<div class="sheet-jauge">
<div class="sheet-ligne">
<img style="width:200px;" src="https://lh3.googleusercontent.com/-9Mwo5lZcG38/VpuBSQqb1sI/AAAAAAAAYEM/hvoFuV9Ckag/s300-Ic42/Supersix_jauge.png" />
</div>
<br/>
<input type="radio" name="attr_jauge" class="sheet-jauge" value="4" title="Jauge d'état à 4" /><span></span><br/>
<input type="radio" name="attr_jauge" class="sheet-jauge" value="3" title="Jauge d'état à 3" /><span></span><br/>
<input type="radio" name="attr_jauge" class="sheet-jauge" value="2" title="Jauge d'état à 2" /><span></span><br/>
<input type="radio" name="attr_jauge" class="sheet-jauge" value="1" title="Jauge d'état à 1" /><span></span><br/>
<input type="radio" name="attr_jauge" class="sheet-jauge" value="0" title="Jauge d'état à 0" /><span></span><br/>
<br/>
<div class="sheet-ligne">
<input type="number" name="attr_jauge" value="4" min="0" max="4" title="Jauge courante" /> / <input type="number" name="attr_jauge_max" value="4" title="Jauge maximum" readonly /><br/>
</div>
</div>
<div class="sheet-centre">
<div class="sheet-bulle" style="position: absolute;left: 180px;top:50px;">
<input type="number" name="attr_muscle" class="sheet-carac" value="2" min="2" max="4" title="Muscle" />
<button type="roll" name="Muscle" class="sheet-macrobt" title="Jet" value="&{template:supersix} {{name=Muscle}} {{subtags=Jet de Caractéristique}} {{carac=[[@{muscle}]]}} {{jet1=[[1d6]]}} {{jet2=[[1d6]]}} {{jet3=[[1d6]]}} {{jet4=[[1d6]]}}" />
</div>
<div class="sheet-bulle" style="position: absolute;left:40px;top:380px;">
<input type="number" name="attr_cervelle" class="sheet-carac" value="2" min="2" max="4" title="Cervelle" />
<button type="roll" name="Cervelle" class="sheet-macrobt" title="Jet" value="&{template:supersix} {{name=Cervelle}} {{subtags=Jet de Caractéristique}} {{carac=[[@{cervelle}]]}} {{jet1=[[1d6]]}} {{jet2=[[1d6]]}} {{jet3=[[1d6]]}} {{jet4=[[1d6]]}}" />
</div>
<div class="sheet-bulle" style="position: absolute;left:400px;top:380px;">
<input type="number" name="attr_coeur" class="sheet-carac" value="2" min="2" max="4" title="Coeur" />
<button type="roll" name="Coeur" class="sheet-macrobt" title="Jet" value="&{template:supersix} {{name=Coeur}} {{subtags=Jet de Caractéristique}} {{carac=[[@{coeur}]]}} {{jet1=[[1d6]]}} {{jet2=[[1d6]]}} {{jet3=[[1d6]]}} {{jet4=[[1d6]]}}" />
</div>
</div>
</div> <!-- FIN MILIEU -->
<div class="sheet-ligne"> <!-- BAS -->
<div class="sheet-mycol"> <!-- Super pouvoir -->
<div class="sheet-ligne">
<div class="sheet-lib2">super pouvoir : </div>
<input type="text" name="attr_superpouvoir" class="sheet-inpnom" style="width:230px;" placeholder="Super Pouvoir" title="Super Pouvoir" />
</div>
<div class="sheet-info">efficacité|activation|puissance|description</div>
<fieldset class="repeating_supereffets">
<div class="sheet-ligne" style="border-top: 2px dashed #DDDDDD;padding-top:2px;">
<input type="text" name="attr_effetnom" class="sheet-inpeffet" placeholder="Effet" title="Effet" />
<input type="number" name="attr_effetefficacite" value="1" min="1" max="4" title="Score d'Efficacité" />
<input type="number" name="attr_effetactivation" value="1" min="1" max="4" title="Degré d'Activation" />
<input type="number" name="attr_effetpuissance" value="1" min="1" max="4" title="Score de Puissance" />
<button type="roll" name="InfoPouvoir" class="sheet-btDesc" title="Montrer dans le chat" value="&{template:supersix} {{name=@{effetnom}}} {{subtags=Effet de Super Pouvoir}} {{pouvoir=@{superpouvoir}}} {{efficacite=@{effetefficacite}}} {{activation=@{effetactivation}}} {{puissance=@{effetpuissance}}} {{description=@{effetrestriction}}}"><img src="https://s3.amazonaws.com/files.d20.io/images/13924213/_SbpEpVjj9V7Dow_GKKYhQ/med.png?1448153028" style="width: 20px;height:20px;"/></button>
</div>
<div class="sheet-ligne" style="margin-bottom:2px;">
<input type="text" name="attr_effetrestriction" class="sheet-inpdesc" style="width:250px;" placeholder="Description, Restriction, Durée ..." title="Description, Restriction, Durée ..." />
<SELECT name="attr_effetcarac" style="width: 90px;">
<OPTION value="@{muscle}">Muscle</OPTION>
<OPTION value="@{cervelle}">Cervelle</OPTION>
<OPTION value="@{coeur}">Coeur</OPTION>
</SELECT>
<button type="roll" name="SuperPouvoir" class="sheet-macrobt" title="Jet" value="&{template:supersix} {{name=@{effetnom}}} {{subtags=Jet de Pouvoir}} {{carac=[[@{effetcarac}]]}} {{jetpouvoir=[[1d6]]}} {{jetpuissance=[[@{effetpuissance}]]}} {{jet1=[[1d6+@{effetefficacite}]]}} {{jet2=[[1d6+@{effetefficacite}]]}} {{jet3=[[1d6+@{effetefficacite}]]}} {{jet4=[[1d6+@{effetefficacite}]]}}" />
</div>
</fieldset>
</div> <!-- FIN Super pouvoir -->
<div class="sheet-mycol"> <!-- Relations -->
<div class="sheet-lib2">relations : </div>
<div class="sheet-info">qui|type|intensité</div>
<fieldset class="repeating_relations">
<div class="sheet-ligne">
<input type="text" name="attr_relationnom" class="sheet-inpnom" style="width:205px;" placeholder="Relation" title="Relation" />
<SELECT name="attr_relationtype" style="width:80px;">
<OPTION>Amitié</OPTION>
<OPTION>Amour</OPTION>
<OPTION>Famille</OPTION>
<OPTION>Travail</OPTION>
</SELECT>
<input type="number" name="attr_relationintensite" value="1" min="1" max="4" title="Intensité" />
<button type="roll" name="Relation" class="sheet-macrobt" title="Jet" value="&{template:supersix} {{name=@{relationnom}}} {{subtags=Jet de Relation}} {{carac=[[@{relationintensite}]]}} {{jet1=[[1d6]]}} {{jet2=[[1d6]]}} {{jet3=[[1d6]]}} {{jet4=[[1d6]]}}" />
<button type="roll" name="InfoRelation" class="sheet-btDesc" title="Montrer dans le chat" value="&{template:supersix} {{name=@{relationnom}}} {{subtags=Relation}} {{type=@{relationtype}}} {{intensite=@{relationintensite}}}"><img src="https://s3.amazonaws.com/files.d20.io/images/13924213/_SbpEpVjj9V7Dow_GKKYhQ/med.png?1448153028" style="width: 20px;height:20px;"/></button>
</div>
</fieldset>
</div> <!-- FIN Relations -->
</div> <!-- FIN BAS -->
</div>
<!-- TEMPLATES -->
<rolltemplate class="sheet-rolltemplate-supersix">
<table>
<tr><th colspan="2">{{name}}</th></tr>
<tr><td colspan="2" class="subheader">{{subtags}}</td></tr>
{{#jetpouvoir}}
<tr><td class="tcat" style="color: blue;">Dé de Pouvoir</td><td>{{jetpouvoir}}</td></tr>
{{#rollTotal() jetpouvoir 1}}
<tr><td colspan="2" style="color: red;font-weight: bold;text-align:center;">Le pouvoir ne fonctionne pas</td></tr>
{{#rollTotal() jetpuissance 2}}
<tr><td colspan="2" style="color: red;font-weight: normal;text-align:left;">Fatigue : 1 case maximum par scène</td></tr>
{{/rollTotal() jetpuissance 2}}
{{#rollTotal() jetpuissance 3}}
<tr><td colspan="2" style="color: red;font-weight: normal;text-align:left;">Fatigue : 2 cases maximum par scène</td></tr>
{{/rollTotal() jetpuissance 3}}
{{#rollTotal() jetpuissance 4}}
<tr><td colspan="2" style="color: red;font-weight: normal;text-align:left;">Fatigue : 3 cases maximum par scène</td></tr>
{{/rollTotal() jetpuissance 4}}
{{/rollTotal() jetpouvoir 1}}
{{/jetpouvoir}}
{{#carac}}
<tr><td class="tcat">Action, dé n°1</td><td>{{jet1}}</td></tr>
{{#rollGreater() carac 1}}
<tr><td class="tcat">Action, dé n°2</td><td>{{jet2}}</td></tr>
{{/rollGreater() carac 1}}
{{#rollGreater() carac 2}}
<tr><td class="tcat">Action, dé n°3</td><td>{{jet3}}</td></tr>
{{/rollGreater() carac 2}}
{{#rollGreater() carac 3}}
<tr><td class="tcat">Action, dé n°4</td><td>{{jet4}}</td></tr>
{{/rollGreater() carac 3}}
{{/carac}}
{{#type}}
<tr><td class="tcat">Type</td><td>{{type}}</td></tr>
{{/type}}
{{#intensite}}
<tr><td class="tcat">Intensité</td><td>{{intensite}}</td></tr>
{{/intensite}}
{{#pouvoir}}
<tr><td class="tcat">Pouvoir</td><td>{{pouvoir}}</td></tr>
{{/pouvoir}}
{{#efficacite}}
<tr><td class="tcat">Efficacité</td><td>{{efficacite}}</td></tr>
{{/efficacite}}
{{#activation}}
<tr><td class="tcat">Activation</td><td>{{activation}}</td></tr>
{{/activation}}
{{#puissance}}
<tr><td class="tcat">Puissance</td><td>{{puissance}}</td></tr>
{{/puissance}}
{{#description}}
<tr><td colspan="2">{{description}}</td></tr>
{{/description}}
</table>
</rolltemplate>