Fix doc
This commit is contained in:
parent
b74ee5ec7c
commit
433a374936
1 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ export class DS4Actor extends Actor<DS4ActorData, DS4Item> {
|
||||||
/**
|
/**
|
||||||
* Apply ActiveEffectChanges to the Actor data which are caused by ActiveEffects and satisfy the given predicate.
|
* Apply ActiveEffectChanges to the Actor data which are caused by ActiveEffects and satisfy the given predicate.
|
||||||
*
|
*
|
||||||
* @param predicate The predicate that ActiveEffectChanges need to satisfy in order to be applied
|
* @param predicate - The predicate that ActiveEffectChanges need to satisfy in order to be applied
|
||||||
*/
|
*/
|
||||||
applyActiveEffectsFiltered(predicate: (change: ActiveEffectChange) => boolean): void {
|
applyActiveEffectsFiltered(predicate: (change: ActiveEffectChange) => boolean): void {
|
||||||
const overrides: Record<string, unknown> = {};
|
const overrides: Record<string, unknown> = {};
|
||||||
|
@ -213,7 +213,7 @@ export class DS4Actor extends Actor<DS4ActorData, DS4Item> {
|
||||||
/**
|
/**
|
||||||
* If the item that is going to be created is equipable, set it to be non equipped and disable all ActiveEffects
|
* If the item that is going to be created is equipable, set it to be non equipped and disable all ActiveEffects
|
||||||
* contained in the item
|
* contained in the item
|
||||||
* @param itemData The data of the item to be created
|
* @param itemData - The data of the item to be created
|
||||||
*/
|
*/
|
||||||
protected _preCreateOwnedItem(itemData: DeepPartial<DS4ItemData>): void {
|
protected _preCreateOwnedItem(itemData: DeepPartial<DS4ItemData>): void {
|
||||||
if (itemData.data && "equipped" in itemData.data) {
|
if (itemData.data && "equipped" in itemData.data) {
|
||||||
|
@ -240,7 +240,7 @@ export class DS4Actor extends Actor<DS4ActorData, DS4Item> {
|
||||||
/**
|
/**
|
||||||
* If the equipped flag of one or more items changed, update all ActiveEffects originating from those items
|
* If the equipped flag of one or more items changed, update all ActiveEffects originating from those items
|
||||||
* accordingly.
|
* accordingly.
|
||||||
* @param updateData The change that is going to be applied to the owned item(s)
|
* @param updateData - The change that is going to be applied to the owned item(s)
|
||||||
*/
|
*/
|
||||||
private _preUpdateOwnedItem(updateData: DeepPartial<DS4ItemData> | Array<DeepPartial<DS4ItemData>>): void {
|
private _preUpdateOwnedItem(updateData: DeepPartial<DS4ItemData> | Array<DeepPartial<DS4ItemData>>): void {
|
||||||
const dataArray = updateData instanceof Array ? updateData : [updateData];
|
const dataArray = updateData instanceof Array ? updateData : [updateData];
|
||||||
|
|
Loading…
Reference in a new issue