Petits fixes
This commit is contained in:
parent
1b12dc44c9
commit
c6ec1b74a2
@ -64,6 +64,7 @@ export class HeritiersActorSheet extends ActorSheet {
|
|||||||
options: this.options,
|
options: this.options,
|
||||||
owner: this.document.isOwner,
|
owner: this.document.isOwner,
|
||||||
editScore: this.options.editScore,
|
editScore: this.options.editScore,
|
||||||
|
config: game.system.lesheritiers.config,
|
||||||
isGM: game.user.isGM,
|
isGM: game.user.isGM,
|
||||||
isPNJ: (this.actor.type == "pnj")
|
isPNJ: (this.actor.type == "pnj")
|
||||||
}
|
}
|
||||||
|
@ -50,6 +50,10 @@ export const HERITIERS_CONFIG = {
|
|||||||
"passif": "Passif",
|
"passif": "Passif",
|
||||||
"metamorphose": "Métamorphose"
|
"metamorphose": "Métamorphose"
|
||||||
},
|
},
|
||||||
|
statutMasque: {
|
||||||
|
"masque": "Masqué",
|
||||||
|
"demasque":"Démasqué"
|
||||||
|
},
|
||||||
niveauPouvoir: {
|
niveauPouvoir: {
|
||||||
"normal": "Normal",
|
"normal": "Normal",
|
||||||
"profond": "Profond",
|
"profond": "Profond",
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
.fvtt-les-heritiers .sheet-header select option {
|
.fvtt-les-heritiers .sheet-header select option {
|
||||||
background-color: rgb(68, 25, 25);
|
/*background-color: rgb(68, 25, 25);*/
|
||||||
}
|
}
|
||||||
.fvtt-les-heritiers .sheet-header input, .fvtt-les-heritiers .sheet-header select {
|
.fvtt-les-heritiers .sheet-header input, .fvtt-les-heritiers .sheet-header select {
|
||||||
color: rgb(41, 38, 38);
|
color: rgb(41, 38, 38);
|
||||||
@ -438,7 +438,7 @@ table {border: 1px solid #7a7971;}
|
|||||||
background-repeat: repeat;
|
background-repeat: repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.window-app.sheet .window-content .sheet-header input[type="text"], .window-app.sheet .window-content .sheet-header input[type="number"], .window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] {
|
.window-app.sheet .window-content .sheet-header input[type="text"], .window-app.sheet .window-content .sheet-header select, .window-app.sheet .window-content .sheet-header input[type="number"], .window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] {
|
||||||
/*color: rgba(36, 37, 37, 0.75);*/
|
/*color: rgba(36, 37, 37, 0.75);*/
|
||||||
/*background: rgba(255, 255, 255, 0.05);*/
|
/*background: rgba(255, 255, 255, 0.05);*/
|
||||||
/*border: 2px saddlebrown;*/
|
/*border: 2px saddlebrown;*/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "fvtt-les-heritiers",
|
"id": "fvtt-les-heritiers",
|
||||||
"description": "Les Héritiers pour FoundryVTT",
|
"description": "Les Héritiers pour FoundryVTT",
|
||||||
"version": "10.0.29",
|
"version": "10.0.31",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Uberwald/LeRatierBretonnien",
|
"name": "Uberwald/LeRatierBretonnien",
|
||||||
@ -19,7 +19,7 @@
|
|||||||
"gridUnits": "m",
|
"gridUnits": "m",
|
||||||
"license": "LICENSE.txt",
|
"license": "LICENSE.txt",
|
||||||
"manifest": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/raw/branch/master/system.json",
|
"manifest": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/raw/branch/master/system.json",
|
||||||
"download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-10.0.29.zip",
|
"download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-10.0.31.zip",
|
||||||
"languages": [
|
"languages": [
|
||||||
{
|
{
|
||||||
"lang": "fr",
|
"lang": "fr",
|
||||||
|
@ -115,6 +115,7 @@
|
|||||||
"max": 1
|
"max": 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"statutmasque": "masque",
|
||||||
"rang": {
|
"rang": {
|
||||||
"tricherie": {
|
"tricherie": {
|
||||||
"label": "Tricherie",
|
"label": "Tricherie",
|
||||||
|
@ -42,13 +42,22 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flexrow">
|
<div class="flexrow">
|
||||||
<label class="item-field-label-short">PV</label>
|
<label class="item-field-label-short">PV</label>
|
||||||
<input type="text" class="item-field-label-short" name="system.pv.value" value="{{system.pv.value}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.pv.value" value="{{system.pv.value}}" data-dtype="Number" />
|
||||||
<input type="text" class="item-field-label-short" name="system.pv.max" value="{{system.pv.max}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.pv.max" value="{{system.pv.max}}" data-dtype="Number" />
|
||||||
<label class="item-field-label-short">Malus</label>
|
<label class="item-field-label-short">Malus</label>
|
||||||
<input type="text" class="item-field-label-short" value="{{pvMalus}}" data-dtype="Number" disabled />
|
<input type="text" class="item-field-label-short" value="{{pvMalus}}" data-dtype="Number" disabled />
|
||||||
|
<span> </span>
|
||||||
|
|
||||||
|
<select class="item-field-label-medium" type="text" name="system.statutmasque" value="{{system.statutmasque}}" data-dtype="string">
|
||||||
|
{{#select system.statutmasque}}
|
||||||
|
{{#each config.statutMasque as |categ cKey|}}
|
||||||
|
<option value="{{cKey}}">{{categ}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
|
</select>
|
||||||
|
|
||||||
<span> </span>
|
<span> </span>
|
||||||
<label class="item-field-label-short">Tricherie</label>
|
<label class="item-field-label-short">Tricherie</label>
|
||||||
<input type="text" class="item-field-label-short" name="system.rang.tricherie.value" value="{{system.rang.tricherie.value}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.rang.tricherie.value" value="{{system.rang.tricherie.value}}" data-dtype="Number" />
|
||||||
@ -143,6 +152,7 @@
|
|||||||
<input type="text" class="item-field-label-short" name="system.combat.esquive.masquee" value="{{system.combat.esquive.masquee}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.combat.esquive.masquee" value="{{system.combat.esquive.masquee}}" data-dtype="Number" />
|
||||||
<label class="item-field-label-medium">Démasquée</label>
|
<label class="item-field-label-medium">Démasquée</label>
|
||||||
<input type="text" class="item-field-label-short" name="system.combat.esquive.demasquee" value="{{system.combat.esquive.demasquee}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.combat.esquive.demasquee" value="{{system.combat.esquive.demasquee}}" data-dtype="Number" />
|
||||||
|
<label class="item-field-label-short"> </label>
|
||||||
<label class="item-field-label-medium"><strong>Parade</strong></label>
|
<label class="item-field-label-medium"><strong>Parade</strong></label>
|
||||||
<label class="item-field-label-medium">Masquée</label>
|
<label class="item-field-label-medium">Masquée</label>
|
||||||
<input type="text" class="item-field-label-short" name="system.combat.parade.masquee" value="{{system.combat.parade.masquee}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.combat.parade.masquee" value="{{system.combat.parade.masquee}}" data-dtype="Number" />
|
||||||
@ -152,18 +162,21 @@
|
|||||||
<li class="item flexrow list-item items-title-bg">
|
<li class="item flexrow list-item items-title-bg">
|
||||||
<label class="item-field-label-long">Rés. physique</label>
|
<label class="item-field-label-long">Rés. physique</label>
|
||||||
<input type="text" class="item-field-label-short" name="system.combat.resistancephysique.value" value="{{system.combat.resistancephysique.value}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.combat.resistancephysique.value" value="{{system.combat.resistancephysique.value}}" data-dtype="Number" />
|
||||||
|
<label class="item-field-label-short"> </label>
|
||||||
<label class="item-field-label-long">Rés. psychique</label>
|
<label class="item-field-label-long">Rés. psychique</label>
|
||||||
<input type="text" class="item-field-label-short" name="system.combat.resistancepsychique.value" value="{{system.combat.resistancepsychique.value}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.combat.resistancepsychique.value" value="{{system.combat.resistancepsychique.value}}" data-dtype="Number" />
|
||||||
|
<label class="item-field-label-short"> </label>
|
||||||
<label class="item-field-label-medium">Protection : </label>
|
<label class="item-field-label-medium">Protection : </label>
|
||||||
<input type="text" class="item-field-label-short" name="system.combat.protection.value" value="{{system.combat.protection.value}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.combat.protection.value" value="{{system.combat.protection.value}}" data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
<li class="item flexrow list-item items-title-bg">
|
<li class="item flexrow list-item items-title-bg">
|
||||||
<label class="item-field-label-long">Effets secondaires</label>
|
<label class="item-field-label-long">Effets secondaires</label>
|
||||||
<input type="text" class="item-field-label-short" name="system.combat.effetssecondaires" value="{{system.combat.effetssecondaires}}" data-dtype="String" />
|
<input type="text" class="item-field-label-short" name="system.combat.effetssecondaires" value="{{system.combat.effetssecondaires}}" data-dtype="String" />
|
||||||
|
<label class="item-field-label-short"> </label>
|
||||||
<label class="item-field-label-long">Dissimulation : </label>
|
<label class="item-field-label-long">Dissimulation : </label>
|
||||||
<input type="text" class="item-field-label-short" name="system.combat.dissimulation.value" value="{{system.combat.dissimulation.value}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.combat.dissimulation.value" value="{{system.combat.dissimulation.value}}" data-dtype="Number" />
|
||||||
</li>
|
</li>
|
||||||
<li class="item flexrow list-item items-title-bg">
|
<!-- <li class="item flexrow list-item items-title-bg">
|
||||||
<label class="item-field-label-long"><strong>Corps à Corps</strong></label>
|
<label class="item-field-label-long"><strong>Corps à Corps</strong></label>
|
||||||
<label class="item-field-label-medium">Masqué</label>
|
<label class="item-field-label-medium">Masqué</label>
|
||||||
<input type="text" class="item-field-label-short" name="system.combat.corpsacorps.masquee" value="{{system.combat.corpsacorps.masquee}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.combat.corpsacorps.masquee" value="{{system.combat.corpsacorps.masquee}}" data-dtype="Number" />
|
||||||
@ -176,7 +189,7 @@
|
|||||||
<input type="text" class="item-field-label-short" name="system.combat.tir.masquee" value="{{system.combat.tir.masquee}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.combat.tir.masquee" value="{{system.combat.tir.masquee}}" data-dtype="Number" />
|
||||||
<label class="item-field-label-medium">Démasqué</label>
|
<label class="item-field-label-medium">Démasqué</label>
|
||||||
<input type="text" class="item-field-label-short" name="system.combat.tir.demasquee" value="{{system.combat.tir.demasquee}}" data-dtype="Number" />
|
<input type="text" class="item-field-label-short" name="system.combat.tir.demasquee" value="{{system.combat.tir.demasquee}}" data-dtype="Number" />
|
||||||
</li>
|
</li> -->
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="flexcol">
|
<div class="flexcol">
|
||||||
|
Loading…
Reference in New Issue
Block a user