Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aeauseth committed Dec 22, 2024
1 parent 1f523a0 commit 0e16c08
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion module/testing/end-to-end.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export class HeroSystem6eEndToEndTest {
return;
}

const saveWorldTime = game.time.worldTime;
//const saveWorldTime = game.time.worldTime;

while (aidValue !== 0) {
// Advance world time 12 seconds
Expand Down
34 changes: 17 additions & 17 deletions module/utility/adjustment.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -236,23 +236,23 @@ function _createAEChangeBlock(targetCharOrPower, targetSystem) {
};
}

function _createAEChange(activeEffect, key, value, seconds, source, activePoints) {
activeEffect.changes ??= [];
activeEffect.changes.push({
key,
value,
mode: CONST.ACTIVE_EFFECT_MODES.ADD,
});
// activeEffect.flags ??= {};
// activeEffect.flags.changes ??= [];
// activeEffect.flags.changes.push({ seconds, source, activePoints, startTime: game.time.worldTime });

// Trying system approach
activeEffect.system ??= {};
activeEffect.system.changes ??= [];
activeEffect.system.changes.push({ seconds, source, activePoints, startTime: game.time.worldTime });
return activeEffect;
}
// function _createAEChange(activeEffect, key, value, seconds, source, activePoints) {
// activeEffect.changes ??= [];
// activeEffect.changes.push({
// key,
// value,
// mode: CONST.ACTIVE_EFFECT_MODES.ADD,
// });
// // activeEffect.flags ??= {};
// // activeEffect.flags.changes ??= [];
// // activeEffect.flags.changes.push({ seconds, source, activePoints, startTime: game.time.worldTime });

// // Trying system approach
// activeEffect.system ??= {};
// activeEffect.system.changes ??= [];
// activeEffect.system.changes.push({ seconds, source, activePoints, startTime: game.time.worldTime });
// return activeEffect;
// }

function _determineEffectDurationInSeconds(item, rawActivePointsDamage) {
let durationOptionId;
Expand Down
2 changes: 1 addition & 1 deletion scss/components/_junk.scss
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,5 @@ li.directory-item.child-item {
// }

.dialog.end-to-end-testing .window-content {
background: rgba(255, 255, 255, 80%);
background: rgba(255 255 255 80%);
}

0 comments on commit 0e16c08

Please sign in to comment.