This commit is contained in:
sladecraven 2022-08-31 22:46:19 +02:00
parent eeb0a906e7
commit 36b905134e
3 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ export class BoLActor extends Actor {
if (this.type === 'character') { if (this.type === 'character') {
return 'player' return 'player'
} }
return 'tough' return this.system.chartype
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
getVillainy() { getVillainy() {

View File

@ -14,7 +14,7 @@
], ],
"url": "https://www.uberwald.me/gitea/public/bol", "url": "https://www.uberwald.me/gitea/public/bol",
"license": "LICENSE.txt", "license": "LICENSE.txt",
"version": "10.0.3", "version": "10.0.4",
"compatibility": { "compatibility": {
"minimum": "10", "minimum": "10",
"verified": "10.279", "verified": "10.279",
@ -194,7 +194,7 @@
], ],
"socket": true, "socket": true,
"manifest": "https://www.uberwald.me/gitea/public/bol/raw/v10/system.json", "manifest": "https://www.uberwald.me/gitea/public/bol/raw/v10/system.json",
"download": "https://www.uberwald.me/gitea/public/bol/archive/bol-v10.0.3.zip", "download": "https://www.uberwald.me/gitea/public/bol/archive/bol-v10.0.4.zip",
"background": "systems/images/map_lemurie.webp", "background": "systems/images/map_lemurie.webp",
"gridDistance": 1.5, "gridDistance": 1.5,
"gridUnits": "m", "gridUnits": "m",

View File

@ -6,7 +6,7 @@
<input class="charname flex6" name="name" type="text" value="{{actor.name}}" placeholder="Name"/> <input class="charname flex6" name="name" type="text" value="{{actor.name}}" placeholder="Name"/>
</div> </div>
{{#if (eq data.type "player")}} {{#if (eq charType "player")}}
<div class="header-field-group flexrow"> <div class="header-field-group flexrow">
<label class="header-field-label flex2">{{localize "BOL.ui.xp"}}</label><br/> <label class="header-field-label flex2">{{localize "BOL.ui.xp"}}</label><br/>
<div class="header-field-group flex3"> <div class="header-field-group flex3">
@ -21,8 +21,8 @@
{{else}} {{else}}
<div class="header-field-group flexrow"> <div class="header-field-group flexrow">
<label class="header-field-label flex2">Type : </label><br/> <label class="header-field-label flex2">Type : </label><br/>
<select class="field-value" name="data.type" data-dtype="String"> <select class="field-value" name="system.chartype" data-dtype="String">
{{#select data.type}} {{#select charType}}
<option value="creature">Créature</option> <option value="creature">Créature</option>
<option value="base">Piétaille</option> <option value="base">Piétaille</option>
<option value="tough">Coriace</option> <option value="tough">Coriace</option>