Skip to content

Commit

Permalink
Merge pull request #12366 from Calmacil/master
Browse files Browse the repository at this point in the history
[Nephilim-Legende] Fix some typos which caused minor bugs in the sheet
  • Loading branch information
NorWhal authored Dec 11, 2023
2 parents abb1050 + e6f895c commit 8df2533
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 60 deletions.
102 changes: 51 additions & 51 deletions Nephilim-Legende/nephilim-legende.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<h1>Métamorphe</h1>
<input name="attr_metamorphe" type="number" value="0">
</div>
<div class="textInput" metamorphose_name></div><span>Métamorphose</span><span>Permanent</span>
<input name="attr_metamorphose_name" type="text" value=""><span>Métamorphose</span><span>Permanent</span>
<fieldset class="repeating_metamorphose">
<label><span></span>
<input name="attr_metamorphose_desc" type="text" value="">
Expand Down Expand Up @@ -205,37 +205,37 @@ <h1>Chutes</h1>
<h2>Khaiba</h2>
<input name="attr_kaiba" type="hidden" value="">
<label>
<input name="attr_kaiba" value="" type="radio"><span title="0"></span>
<input name="attr_kaiba" value="0" type="radio"><span></span>
</label>
<label>
<input name="attr_kaiba" value="" type="radio"><span title="1"></span>
<input name="attr_kaiba" value="1" type="radio"><span></span>
</label>
<label>
<input name="attr_kaiba" value="" type="radio"><span title="2"></span>
<input name="attr_kaiba" value="2" type="radio"><span></span>
</label>
<label>
<input name="attr_kaiba" value="" type="radio"><span title="3"></span>
<input name="attr_kaiba" value="3" type="radio"><span></span>
</label>
<label>
<input name="attr_kaiba" value="" type="radio"><span title="4"></span>
<input name="attr_kaiba" value="4" type="radio"><span></span>
</label>
<label>
<input name="attr_kaiba" value="" type="radio"><span title="5"></span>
<input name="attr_kaiba" value="5" type="radio"><span></span>
</label>
<label>
<input name="attr_kaiba" value="" type="radio"><span title="6"></span>
<input name="attr_kaiba" value="6" type="radio"><span></span>
</label>
<label>
<input name="attr_kaiba" value="" type="radio"><span title="7"></span>
<input name="attr_kaiba" value="7" type="radio"><span></span>
</label>
<label>
<input name="attr_kaiba" value="" type="radio"><span title="8"></span>
<input name="attr_kaiba" value="8" type="radio"><span></span>
</label>
<label>
<input name="attr_kaiba" value="" type="radio"><span title="9"></span>
<input name="attr_kaiba" value="9" type="radio"><span></span>
</label>
<label>
<input name="attr_kaiba" value="" type="radio"><span title="10"></span>
<input name="attr_kaiba" value="10" type="radio"><span></span>
</label>
</div>
<input name="attr_kaiba_form" type="text" value="">
Expand All @@ -245,37 +245,37 @@ <h2>Khaiba</h2>
<h2>Ombre</h2>
<input name="attr_ombre" type="hidden" value="">
<label>
<input name="attr_ombre" value="" type="radio"><span title="0"></span>
<input name="attr_ombre" value="0" type="radio"><span></span>
</label>
<label>
<input name="attr_ombre" value="" type="radio"><span title="1"></span>
<input name="attr_ombre" value="1" type="radio"><span></span>
</label>
<label>
<input name="attr_ombre" value="" type="radio"><span title="2"></span>
<input name="attr_ombre" value="2" type="radio"><span></span>
</label>
<label>
<input name="attr_ombre" value="" type="radio"><span title="3"></span>
<input name="attr_ombre" value="3" type="radio"><span></span>
</label>
<label>
<input name="attr_ombre" value="" type="radio"><span title="4"></span>
<input name="attr_ombre" value="4" type="radio"><span></span>
</label>
<label>
<input name="attr_ombre" value="" type="radio"><span title="5"></span>
<input name="attr_ombre" value="5" type="radio"><span></span>
</label>
<label>
<input name="attr_ombre" value="" type="radio"><span title="6"></span>
<input name="attr_ombre" value="6" type="radio"><span></span>
</label>
<label>
<input name="attr_ombre" value="" type="radio"><span title="7"></span>
<input name="attr_ombre" value="7" type="radio"><span></span>
</label>
<label>
<input name="attr_ombre" value="" type="radio"><span title="8"></span>
<input name="attr_ombre" value="8" type="radio"><span></span>
</label>
<label>
<input name="attr_ombre" value="" type="radio"><span title="9"></span>
<input name="attr_ombre" value="9" type="radio"><span></span>
</label>
<label>
<input name="attr_ombre" value="" type="radio"><span title="10"></span>
<input name="attr_ombre" value="10" type="radio"><span></span>
</label>
</div>
</div>
Expand All @@ -284,37 +284,37 @@ <h2>Ombre</h2>
<h2>Narcose</h2>
<input name="attr_narcose" type="hidden" value="">
<label>
<input name="attr_narcose" value="" type="radio"><span title="0"></span>
<input name="attr_narcose" value="0" type="radio"><span></span>
</label>
<label>
<input name="attr_narcose" value="" type="radio"><span title="1"></span>
<input name="attr_narcose" value="1" type="radio"><span></span>
</label>
<label>
<input name="attr_narcose" value="" type="radio"><span title="2"></span>
<input name="attr_narcose" value="2" type="radio"><span></span>
</label>
<label>
<input name="attr_narcose" value="" type="radio"><span title="3"></span>
<input name="attr_narcose" value="3" type="radio"><span></span>
</label>
<label>
<input name="attr_narcose" value="" type="radio"><span title="4"></span>
<input name="attr_narcose" value="4" type="radio"><span></span>
</label>
<label>
<input name="attr_narcose" value="" type="radio"><span title="5"></span>
<input name="attr_narcose" value="5" type="radio"><span></span>
</label>
<label>
<input name="attr_narcose" value="" type="radio"><span title="6"></span>
<input name="attr_narcose" value="6" type="radio"><span></span>
</label>
<label>
<input name="attr_narcose" value="" type="radio"><span title="7"></span>
<input name="attr_narcose" value="7" type="radio"><span></span>
</label>
<label>
<input name="attr_narcose" value="" type="radio"><span title="8"></span>
<input name="attr_narcose" value="8" type="radio"><span></span>
</label>
<label>
<input name="attr_narcose" value="" type="radio"><span title="9"></span>
<input name="attr_narcose" value="9" type="radio"><span></span>
</label>
<label>
<input name="attr_narcose" value="" type="radio"><span title="10"></span>
<input name="attr_narcose" value="10" type="radio"><span></span>
</label>
</div>
</div>
Expand Down Expand Up @@ -1313,7 +1313,7 @@ <h1 class="titreKabbale">Kabbale</h1>
<div class="col2">
<div class="kMonde">
<h1>Monde</h1>
<select name="attrt_kabb-monde">
<select name="attr_kabb-monde">
<option value="0"></option>
<option value="sohar">Sohar</option>
<option value="zakai">Zakai</option>
Expand Down Expand Up @@ -1401,17 +1401,17 @@ <h1>Invocations</h1><span>Nom de l'invocation</span><span>Séphira</span><span>K
<input name="attr_kabb-invoc-duree" type="text" value="">
<div>
<label>
<input name="kabb-invoc-visible" type="checkbox"><span></span>
<input name="attr_kabb-invoc-visible" type="checkbox"><span></span>
</label>
</div>
<label>
<input name="kabb-invoc-a" type="checkbox" title="Appris"><span title="1"></span>
<input name="attr_kabb-invoc-a" type="checkbox" title="Appris"><span title="1"></span>
</label>
<label>
<input name="kabb-invoc-t" type="checkbox" title="Tatoué"><span title="1"></span>
<input name="attr_kabb-invoc-t" type="checkbox" title="Tatoué"><span title="1"></span>
</label>
<label>
<input name="kabb-invoc-f" type="checkbox" title="Sur Focus"><span title="1"></span>
<input name="attr_kabb-invoc-f" type="checkbox" title="Sur Focus"><span title="1"></span>
</label>
<button name="roll_simu-roll-vecu" title="Invocation" type="roll" value="&{template:invocation} {{name=@{character_name}}} {{nom_creature=@{kabb-invoc-nom}}} {{descrip_sort=@{kabb-invoc-desc}}} {{portee_sort@{kabb-invoc-portee}}} {{duree_sort=@{kabb-invoc-duree}}} {{degre=@{kabb-invoc-degre}}} {{jet=[[1d100]]}} {{seuil=[[(?{Bonus / malus ?|0}[ Bonus, malus, vécus, etc. ]+@{kabb-invoc-current}[ Kabbale + Ka + Ordonnances ])*10]]}}">
</button>
Expand All @@ -1420,7 +1420,7 @@ <h1>Invocations</h1><span>Nom de l'invocation</span><span>Séphira</span><span>K
<input name="attr_expand" type="hidden" value="1">
<div>
<label>
<select name="atr_kabb-invoc-monde">
<select name="attr_kabb-invoc-monde">
<option value="0"></option>
<option value="sohar">Sohar</option>
<option value="zakai">Zakai</option>
Expand Down Expand Up @@ -1792,37 +1792,37 @@ <h1>Chutes</h1>
<h2>Effet Ahasvérus</h2>
<input name="attr_ahasverus" type="hidden" value="">
<label>
<input name="attr_ahasverus" value="" type="radio"><span title="0"></span>
<input name="attr_ahasverus" value="0" type="radio"><span></span>
</label>
<label>
<input name="attr_ahasverus" value="" type="radio"><span title="1"></span>
<input name="attr_ahasverus" value="1" type="radio"><span></span>
</label>
<label>
<input name="attr_ahasverus" value="" type="radio"><span title="2"></span>
<input name="attr_ahasverus" value="2" type="radio"><span></span>
</label>
<label>
<input name="attr_ahasverus" value="" type="radio"><span title="3"></span>
<input name="attr_ahasverus" value="3" type="radio"><span></span>
</label>
<label>
<input name="attr_ahasverus" value="" type="radio"><span title="4"></span>
<input name="attr_ahasverus" value="4" type="radio"><span></span>
</label>
<label>
<input name="attr_ahasverus" value="" type="radio"><span title="5"></span>
<input name="attr_ahasverus" value="5" type="radio"><span></span>
</label>
<label>
<input name="attr_ahasverus" value="" type="radio"><span title="6"></span>
<input name="attr_ahasverus" value="6" type="radio"><span></span>
</label>
<label>
<input name="attr_ahasverus" value="" type="radio"><span title="7"></span>
<input name="attr_ahasverus" value="7" type="radio"><span></span>
</label>
<label>
<input name="attr_ahasverus" value="" type="radio"><span title="8"></span>
<input name="attr_ahasverus" value="8" type="radio"><span></span>
</label>
<label>
<input name="attr_ahasverus" value="" type="radio"><span title="9"></span>
<input name="attr_ahasverus" value="9" type="radio"><span></span>
</label>
<label>
<input name="attr_ahasverus" value="" type="radio"><span title="10"></span>
<input name="attr_ahasverus" value="10" type="radio"><span></span>
</label>
</div>
<input name="attr_ahasverus_form" type="text" value="">
Expand Down
5 changes: 4 additions & 1 deletion Nephilim-Legende/src/pug/abstracts/mixins.pug
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ mixin cbButton(name, label, value=null)
mixin rdButton(name, label, value='')
label
input(name=name, value=value, type='radio')
span(title=label)
- if (label)
span(title=label)
- else
span

mixin elemSelect(name, defLabel='')
select(name=`attr_${name}`)
Expand Down
2 changes: 1 addition & 1 deletion Nephilim-Legende/src/pug/components/chute.pug
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ mixin chute(name, title)

- var i = 0
while i <= 10
+rdButton(`attr_${name}`, i++)
+rdButton(`attr_${name}`, "", i++)
2 changes: 1 addition & 1 deletion Nephilim-Legende/src/pug/tabs/tab1-nephilim.pug
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
div
h1 Métamorphe
+numberInput('metamorphe', 0)
.textInput('metamorphose_name')
+textInput('metamorphose_name')
span Métamorphose
span Permanent
fieldset.repeating_metamorphose
Expand Down
12 changes: 6 additions & 6 deletions Nephilim-Legende/src/pug/tabs/tab6-kabbale.pug
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
.col2
.kMonde
h1 Monde
select(name='attrt_kabb-monde')
select(name='attr_kabb-monde')
option(value=0)
option(value='sohar') Sohar
option(value='zakai') Zakai
Expand Down Expand Up @@ -92,17 +92,17 @@
+textInput('kabb-invoc-portee')
+textInput('kabb-invoc-duree')
div
+cbButton('kabb-invoc-visible')
+cbButton('kabb-invoc-a', 1)(title='Appris')
+cbButton('kabb-invoc-t', 1)(title='Tatoué')
+cbButton('kabb-invoc-f', 1)(title='Sur Focus')
+cbButton('attr_kabb-invoc-visible')
+cbButton('attr_kabb-invoc-a', 1)(title='Appris')
+cbButton('attr_kabb-invoc-t', 1)(title='Tatoué')
+cbButton('attr_kabb-invoc-f', 1)(title='Sur Focus')
+rollButton('simu-roll-vecu', roll_kabb_invoc)(title='Invocation')
+rollButton('simu-roll-opposition', roll_kabb_pacte)(title='Nouer un pacte')

+hiddenInput('expand', 1)
div
label
select(name='atr_kabb-invoc-monde')
select(name='attr_kabb-invoc-monde')
option(value=0)
option(value='sohar') Sohar
option(value='zakai') Zakai
Expand Down

0 comments on commit 8df2533

Please sign in to comment.