migrates to new cost model

main
macniel 2026-02-15 20:08:22 +01:00
parent 9d0dd4bfca
commit fd003075da
2 changed files with 4 additions and 4 deletions

View File

@ -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 += "<hr/>" + this.zfp + " ZfP*<br/>" + this._spell.system.zfw + " ZfW"

View File

@ -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"
}