From 02f5b308d6cff900f9d303d7b0a39a5b91bf427c Mon Sep 17 00:00:00 2001 From: mclemente Date: Wed, 20 Jul 2022 09:36:25 -0300 Subject: [PATCH] Prettier Changes --- module/SystemProvider.js | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/module/SystemProvider.js b/module/SystemProvider.js index 7b21c1c..248869c 100644 --- a/module/SystemProvider.js +++ b/module/SystemProvider.js @@ -1311,38 +1311,36 @@ export class cyphersystemProvider extends SystemProvider { id: actor.id, name: actor.name, type: actor.type, - might : data.pools?.might, - speed : data.pools?.speed, - intellect : data.pools?.intellect, - additional : data.pools?.additional, - additionalPool : data.additionalPool, - mightEdge : data.pools?.mightEdge, - speedEdge : data.pools?.speedEdge, - intellectEdge : data.pools?.intellectEdge, - tier : data.basic?.tier, - effort : data.basic?.effort, - xp : data.basic?.xp, - armorValueTotal : data.armor?.armorValueTotal, - speedCostTotal : data.armor?.speedCostTotal, - damageTrack : data.damage?.damageTrack, + might: data.pools?.might, + speed: data.pools?.speed, + intellect: data.pools?.intellect, + additional: data.pools?.additional, + additionalPool: data.additionalPool, + mightEdge: data.pools?.mightEdge, + speedEdge: data.pools?.speedEdge, + intellectEdge: data.pools?.intellectEdge, + tier: data.basic?.tier, + effort: data.basic?.effort, + xp: data.basic?.xp, + armorValueTotal: data.armor?.armorValueTotal, + speedCostTotal: data.armor?.speedCostTotal, + damageTrack: data.damage?.damageTrack, }; } getUpdate(actors) { let showAdditional = false; - for (let actor of actors) - { - if (actor.additionalPool?.active) - { + for (let actor of actors) { + if (actor.additionalPool?.active) { showAdditional = true; break; } } return [ - actors, + actors, { - showAdditional : showAdditional - } + showAdditional: showAdditional, + }, ]; } }