Skip to content

Commit

Permalink
Prettier Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mclemente committed Jul 20, 2022
1 parent 1b733a1 commit 02f5b30
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions module/SystemProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
];
}
}

0 comments on commit 02f5b30

Please sign in to comment.