mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-23 10:59:54 +02:00
Some refactors
This commit is contained in:
parent
e3e1ae2706
commit
c033a578fa
2 changed files with 18 additions and 8 deletions
|
|
@ -2,14 +2,9 @@ import { MigrationHandlerBase } from './base.mjs';
|
|||
|
||||
export class Migration_2_5_2 extends MigrationHandlerBase {
|
||||
version = '2.5.2';
|
||||
documentNames = ['Actor', 'Item'];
|
||||
|
||||
/** @protected */
|
||||
_preMigrate() {
|
||||
|
||||
}
|
||||
|
||||
async updateEffectSource(effectSource, item) {
|
||||
/** @inheritdoc */
|
||||
async updateActiveEffectSource(effectSource, item) {
|
||||
let shouldUpdate = false;
|
||||
const newChanges = [];
|
||||
const srdItem = item?._stats.compendiumSource ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue