From fd003075da99efa79a36380059eda7a48cf7eb7f Mon Sep 17 00:00:00 2001 From: macniel Date: Sun, 15 Feb 2026 20:08:22 +0100 Subject: [PATCH] migrates to new cost model --- src/module/dialog/spellDialog.mjs | 4 ++-- src/system.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/module/dialog/spellDialog.mjs b/src/module/dialog/spellDialog.mjs index d5e1f51b..6e1f2a42 100644 --- a/src/module/dialog/spellDialog.mjs +++ b/src/module/dialog/spellDialog.mjs @@ -203,8 +203,6 @@ export class SpellDialog extends HandlebarsApplicationMixin(ApplicationV2) { const cooldowns = this._actor.system.cooldowns let m = (queue, data) => { - - ChatMessage.create({ user: game.user._id, speaker: {actor: this._actor}, @@ -235,6 +233,8 @@ export class SpellDialog extends HandlebarsApplicationMixin(ApplicationV2) { } message += `Kosten: [[/roll ${this.cost}]]{${this.cost}}` + //TODO: get complex key from cost + message += "
" + this.zfp + " ZfP*
" + this._spell.system.zfw + " ZfW" diff --git a/src/system.json b/src/system.json index d6c0754c..ce48c34a 100644 --- a/src/system.json +++ b/src/system.json @@ -2,7 +2,7 @@ "id": "DSA_4-1", "title": "Das Schwarze Auge 4.1", "description": "Noch ein Spielsystem für Das Schwarze Auge 4.1", - "version": "0.8.4-rc1", + "version": "0.0.1", "compatibility": { "minimum": 12, "verified": 13 @@ -364,5 +364,5 @@ "primaryTokenAttribute": "lep.aktuell", "url": "https://git.macniel.online/macniel/foundry-dsa41-game", "manifest": "https://git.macniel.online/macniel/foundry-dsa41-game/raw/branch/main/src/system.json", - "download": "https://git.macniel.online/macniel/foundry-dsa41-game/releases/download/0.8.4-rc1/release.zip" + "download": "https://git.macniel.online/macniel/foundry-dsa41-game/releases/download/0.0.1/release.zip" }