Foundryv14 migration
All checks were successful
Release Creation / build (release) Successful in 45s
All checks were successful
Release Creation / build (release) Successful in 45s
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user