Skip to content

Commit

Permalink
fix: System.json
Browse files Browse the repository at this point in the history
  • Loading branch information
aMediocreDad committed Feb 27, 2024
1 parent 869b060 commit 6a2253a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 8 deletions.
2 changes: 1 addition & 1 deletion scripts/apps/roll.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class LitmRoll extends Roll {

get burnedTag() {
if (!this.litm.burnedTag) return null;
return this.powerTags.find((tag) => tag.id === this.litm.burnedTag);
return this.actor.system.allTags.find((tag) => tag.id === this.litm.burnedTag);
}

get outcome() {
Expand Down
35 changes: 28 additions & 7 deletions system.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
{
"$schema": "https://json.schemastore.org/foundryvtt-system-manifest.json",
"id": "litm",
"version": 0,
"license": "LICENSE",
"title": "Legend in the Mist",
"description": "A Rustic Fantasy Game for Foundry VTT",
"version": 0,
"authors": [
{
"name": "Filip",
"discord": "aMediocreDad#2483",
"email": "hello@amediocre.dev"
}
],
"esmodules": ["litm.js"],
"styles": ["litm.css"],
"esmodules": [
"litm.js"
],
"styles": [
"litm.css"
],
"languages": [
{
"lang": "en",
Expand All @@ -27,8 +32,19 @@
},
"flags": {
"hotReload": {
"extensions": ["css", "html", "js", "json"],
"paths": ["styles", "templates", "lang", "litm.css", "litm.js"]
"extensions": [
"css",
"html",
"js",
"json"
],
"paths": [
"styles",
"templates",
"lang",
"litm.css",
"litm.js"
]
}
},
"relationships": {
Expand All @@ -39,5 +55,10 @@
}
]
},
"background": "systems/litm/assets/media/litm_splash.webp"
}
"background": "systems/litm/assets/media/litm_splash.webp",
"bugs": "https://github.com/aMediocreDad/litm/issues?q=is:issue+is:open+sort:updated-desc",
"url": "https://github.com/aMediocreDad/litm",
"manifest": "https://raw.githubusercontent.com/aMediocreDad/litm/main/system.json",
"download": "https://github.com/aMediocreDad/litm/archive/refs/heads/main.zip",
"readme": "https://github.com/aMediocreDad/litm/blob/main/README.md"
}

0 comments on commit 6a2253a

Please sign in to comment.