style roll + editor
This commit is contained in:
@@ -7,16 +7,27 @@
|
|||||||
### les jets de dés
|
### les jets de dés
|
||||||
|
|
||||||
- [ ] envoyer les spécialités utilisables au rollDialog
|
- [ ] envoyer les spécialités utilisables au rollDialog
|
||||||
|
- [ ] envoyer les items utilisables au rollDialog
|
||||||
- [X] refacto des template chat de roll
|
- [X] refacto des template chat de roll
|
||||||
- [X] gérer les dés de totems humains et adapté : couleur différente/double succès +update actor
|
- [X] gérer les dés de totems humains et adapté : couleur différente/double succès +update actor
|
||||||
- [X] gérer les rerolls depuis chat(cf noc)
|
- [X] gérer les rerolls depuis chat(cf noc)
|
||||||
- [X] gérer les rerolls après le jet en fonction du score
|
- [X] gérer les rerolls après le jet en fonction du score d'effort et de la carac
|
||||||
d'effort et de la carac
|
- [X] faire l'update l' l'actor juste après s'etre accorder des rerolls, et avoir utiliser le sang-froid
|
||||||
- [ ] faire l'update l' l'actor juste après s'etre accorder des rerolls, et avoir utiliser le sang-froid
|
- [X] update des reserves de sang-froids lors de jets
|
||||||
- [ ] repasser sur les différents itemTypes et sheets
|
|
||||||
- [ ] update des reserves de sang-froids lors de jets
|
|
||||||
- [ ] gérer les rolls d'items
|
|
||||||
- [ ] ajout des domaines de prédilections
|
- [ ] ajout des domaines de prédilections
|
||||||
|
|
||||||
### le combat
|
### le combat
|
||||||
faut s'y pencher
|
faut s'y pencher
|
||||||
|
|
||||||
|
### les items
|
||||||
|
- [ ] gérer les rolls d'items dans le chat
|
||||||
|
- [ ] repasser sur les différents itemTypes et sheets
|
||||||
|
- [ ] construire une selecteur de traits, traits= CONFIG.VEERMINE.traits
|
||||||
|
traits:[
|
||||||
|
key:{
|
||||||
|
name:string,
|
||||||
|
description:string,
|
||||||
|
value:number
|
||||||
|
}
|
||||||
|
]
|
||||||
|
- [ ] ajouter des dégats sur chaques fiches item
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+9
-4
@@ -110,24 +110,29 @@ ol#chat-log {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -1rem;
|
top: -1rem;
|
||||||
text-wrap: nowrap;
|
text-wrap: nowrap;
|
||||||
color: black;
|
color: white;
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
text-shadow: 0px 0px 5px black;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover::after {
|
&:hover::after {
|
||||||
opacity: 1
|
opacity: 1;
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
&.human,
|
&.human,
|
||||||
&.adapted {
|
&.adapted {
|
||||||
border-top: 5px solid rgb(255, 217, 0);
|
border-top: 5px solid rgb(255, 217, 0);
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: "";
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.rerollable {
|
&.rerollable {
|
||||||
|
|||||||
+4
-4
@@ -308,13 +308,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.system-vermine2047 .sheet-body .tab,
|
.system-vermine2047 .sheet-body .tab,
|
||||||
.system-vermine2047 .sheet-body .tab .editor {
|
.editor {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.system-vermine2047 .sheet-body .tab .editor {
|
.editor {
|
||||||
min-height: 75px;
|
min-height: 75px;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
@@ -327,7 +327,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.system-vermine2047 editor:hover .editor-edit {
|
editor:hover .editor-edit {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
<select class="info-value" data-roll="true" style="max-width: 40%;"
|
<select class="info-value" data-roll="true" style="max-width: 40%;"
|
||||||
data-dtype="String"
|
data-dtype="String"
|
||||||
type="number" name="ability" id="ability" min="1" max="5">
|
type="number" name="ability" id="ability" min="1" max="5">
|
||||||
<option>-- Choisissez une caractéristique
|
<option value="0">-- Choisissez une caractéristique
|
||||||
--</option>
|
--</option>
|
||||||
{{#each config.abilityCategories as |abilCategory catkey|}}
|
{{#each config.abilityCategories as |abilCategory catkey|}}
|
||||||
|
|
||||||
@@ -138,18 +138,22 @@
|
|||||||
<div class="flexrow">
|
<div class="flexrow">
|
||||||
<h4 class="label">utiliser des dés totems ?
|
<h4 class="label">utiliser des dés totems ?
|
||||||
</h4>
|
</h4>
|
||||||
|
{{#ifgt @root.actor.system.adaptation.totems.human.value 0}}
|
||||||
<div class="totem-human">
|
<div class="totem-human">
|
||||||
<label for="human-totem">totem humain </label>
|
<label for="human-totem">totem humain </label>
|
||||||
<input type="checkbox" data-roll="true" name="human-totem"
|
<input type="checkbox" data-roll="true" name="human-totem"
|
||||||
id="human-totem"
|
id="human-totem"
|
||||||
value="1">
|
value="1">
|
||||||
</div>
|
</div>
|
||||||
|
{{/ifgt}}
|
||||||
|
{{#ifgt @root.actor.system.adaptation.totems.adapted.value 0}}
|
||||||
<div class="totem-adapted">
|
<div class="totem-adapted">
|
||||||
<label for="human-totem">totem adapté </label>
|
<label for="human-totem">totem adapté </label>
|
||||||
<input type="checkbox" data-roll="true" name="adapted-totem"
|
<input type="checkbox" data-roll="true" name="adapted-totem"
|
||||||
id="adapted-totem"
|
id="adapted-totem"
|
||||||
value="1">
|
value="1">
|
||||||
</div>
|
</div>
|
||||||
|
{{/ifgt}}
|
||||||
</div>
|
</div>
|
||||||
<div class="flexrow row mdb">
|
<div class="flexrow row mdb">
|
||||||
<label class="label" style="flex: 80%;">{{localize
|
<label class="label" style="flex: 80%;">{{localize
|
||||||
|
|||||||
@@ -22,9 +22,6 @@
|
|||||||
{{#ifincludes dieType.options.flavor "human"}}
|
{{#ifincludes dieType.options.flavor "human"}}
|
||||||
human
|
human
|
||||||
{{/ifincludes}}
|
{{/ifincludes}}
|
||||||
{{#ifgt @root.param.Reroll 0}}
|
|
||||||
rerollable
|
|
||||||
{{/ifgt}}
|
|
||||||
"
|
"
|
||||||
data-dice-type="
|
data-dice-type="
|
||||||
{{#ifincludes dieType.options.flavor "adapted"}}
|
{{#ifincludes dieType.options.flavor "adapted"}}
|
||||||
|
|||||||
Reference in New Issue
Block a user