mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Raised version
This commit is contained in:
parent
a897037dc4
commit
bbc1781d01
2 changed files with 4 additions and 4 deletions
|
|
@ -343,7 +343,7 @@ export async function runMigrations() {
|
||||||
lastMigrationVersion = '2.0.0';
|
lastMigrationVersion = '2.0.0';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (foundry.utils.isNewerVersion('2.0.4', lastMigrationVersion)) {
|
if (foundry.utils.isNewerVersion('2.1.0', lastMigrationVersion)) {
|
||||||
const downtimeMoves = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Homebrew);
|
const downtimeMoves = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Homebrew);
|
||||||
if (downtimeMoves.restMoves.longRest.moves.repairArmor) {
|
if (downtimeMoves.restMoves.longRest.moves.repairArmor) {
|
||||||
await downtimeMoves.updateSource({
|
await downtimeMoves.updateSource({
|
||||||
|
|
@ -352,7 +352,7 @@ export async function runMigrations() {
|
||||||
game.settings.set(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Homebrew, downtimeMoves.toObject());
|
game.settings.set(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Homebrew, downtimeMoves.toObject());
|
||||||
}
|
}
|
||||||
|
|
||||||
lastMigrationVersion = '2.0.4';
|
lastMigrationVersion = '2.1.0';
|
||||||
}
|
}
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "daggerheart",
|
"id": "daggerheart",
|
||||||
"title": "Daggerheart",
|
"title": "Daggerheart",
|
||||||
"description": "An unofficial implementation of the Daggerheart system",
|
"description": "An unofficial implementation of the Daggerheart system",
|
||||||
"version": "2.0.3",
|
"version": "2.1.0",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "14.360",
|
"minimum": "14.360",
|
||||||
"verified": "14.360",
|
"verified": "14.360",
|
||||||
|
|
@ -298,5 +298,5 @@
|
||||||
"secondaryTokenAttribute": "resources.stress",
|
"secondaryTokenAttribute": "resources.stress",
|
||||||
"url": "https://github.com/Foundryborne/daggerheart",
|
"url": "https://github.com/Foundryborne/daggerheart",
|
||||||
"manifest": "https://raw.githubusercontent.com/Foundryborne/daggerheart/main/system.json",
|
"manifest": "https://raw.githubusercontent.com/Foundryborne/daggerheart/main/system.json",
|
||||||
"download": "https://github.com/Foundryborne/daggerheart/releases/download/2.0.3/system.zip"
|
"download": "https://github.com/Foundryborne/daggerheart/releases/download/2.1.0/system.zip"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue