From 27dd89024e4d33d9262b8ee7dad8589e1dbdadcf Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sat, 4 Nov 2023 18:14:10 +0100 Subject: [PATCH] Cleanup --- module/actor/base-actor.js | 2 +- module/actor/commerce-sheet.js | 2 -- templates/chat-resultat-encaissement.html | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/module/actor/base-actor.js b/module/actor/base-actor.js index 01dded16..cc79030b 100644 --- a/module/actor/base-actor.js +++ b/module/actor/base-actor.js @@ -170,7 +170,7 @@ export class RdDBaseActor extends Actor { isCreatureEntite() { return this.isCreature() || this.isEntite() } isCreature() { return false } isEntite(typeentite = []) { return false } - isVehicule() { return this.type == 'vehicule'; } + isVehicule() { return false } isPersonnage() { return false } getItem(id, type = undefined) { const item = this.items.get(id); diff --git a/module/actor/commerce-sheet.js b/module/actor/commerce-sheet.js index a342f2bf..8ade8124 100644 --- a/module/actor/commerce-sheet.js +++ b/module/actor/commerce-sheet.js @@ -1,9 +1,7 @@ import { DialogItemAchat } from "../dialog-item-achat.js"; import { RdDItem } from "../item.js"; -import { RdDSheetUtility } from "../rdd-sheet-utility.js"; import { RdDUtility } from "../rdd-utility.js"; import { RdDBaseActorSheet } from "./base-actor-sheet.js"; -import { RdDCommerce } from "./commerce.js"; /** * Extend the basic ActorSheet with some very simple modifications diff --git a/templates/chat-resultat-encaissement.html b/templates/chat-resultat-encaissement.html index 275ca74b..2e35925a 100644 --- a/templates/chat-resultat-encaissement.html +++ b/templates/chat-resultat-encaissement.html @@ -44,7 +44,7 @@ {{#if (ne dmg.mortalite 'entiteincarnee')}} {{#if (gt endurance 1)}}et {{#if sonne}}est sonnécharge jusqu'à la fin du prochain round{{else}}n'est pas sonné{{/if}}! - {{#if hasPlayerOwner}}Jet d'endurance : Jet d'endurance : {{jetEndurance}} / {{resteEndurance}}{{/if}} + {{#if hasPlayerOwner}}Jet d'endurance : {{jetEndurance}} / {{resteEndurance}}{{/if}} {{/if}} {{/if}} {{/if}}