Foundryv14 migration
All checks were successful
Release Creation / build (release) Successful in 45s

This commit is contained in:
2026-04-01 22:34:57 +02:00
parent d4c8a20d53
commit 1a321ed002
124 changed files with 283 additions and 308 deletions

View File

@@ -17,8 +17,8 @@ export class WastelandActor extends Actor {
/**
* Override the create() function to provide additional SoS functionality.
*
* This overrided create() function adds initial items
* Namely: Basic skills, money,
* This overrided create() function adds initial items
* Namely: Basic skills, money,
*
* @param {Object} data Barebones actor data which this function adds onto.
* @param {Object} options (Unused) Additional options which customize the creation workflow.
@@ -120,10 +120,10 @@ export class WastelandActor extends Actor {
return items
}
getArtifex() {
return this.getItemSorted(["artifex"])
return this.getItemSorted(["artifex"])
}
getCapacites() {
return this.getItemSorted(["capacite"])
return this.getItemSorted(["capacite"])
}
getPouvoirs() {
return this.getItemSorted(["pouvoir"])
@@ -207,10 +207,6 @@ export class WastelandActor extends Actor {
return combat
}
/* -------------------------------------------- */
prepareBaseData() {
}
/* -------------------------------------------- */
async prepareData() {
super.prepareData();
@@ -503,7 +499,7 @@ export class WastelandActor extends Actor {
rollData.difficulte = pouvoir.system.seuil
this.launchRoll(rollData)
}
}
}
/* -------------------------------------------- */
async rollArmeOffensif(armeId) {
let arme = this.items.get(armeId)