-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from elizeuangelo/main
karma update + css + manifest + totalroll fix
- Loading branch information
Showing
8 changed files
with
151 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,40 @@ | ||
{ | ||
"name": "foundry-die-hard", | ||
"title": "Die Hard", | ||
"description": "Adjustments for DND5e & PF2e die rolls like fudging...", | ||
"author": "Jeremy (UranusBytes)", | ||
"version": "0.1.0", | ||
"minimumCoreVersion": "9", | ||
"compatibleCoreVersion": "10.277", | ||
"esmodules": [ | ||
"scripts/die-hard.js" | ||
], | ||
"styles": [ | ||
"styles/die-hard.css" | ||
], | ||
"dependencies": [ | ||
{ | ||
"name": "lib-wrapper", | ||
"type": "module" | ||
} | ||
], | ||
"languages": [ | ||
{ | ||
"lang": "en", | ||
"name": "English", | ||
"path": "lang/en.json" | ||
} | ||
], | ||
"flags": { | ||
"fvttdevleague": { | ||
"package-jam": 2022 | ||
} | ||
}, | ||
"url": "https://github.com/UranusBytes/foundry-die-hard", | ||
"manifest": "TBD", | ||
"readme": "https://github.com/UranusBytes/foundry-die-hard/blob/main/README.md", | ||
"changelog": "https://github.com/UranusBytes/foundry-die-hard/blob/main/CHANGELOG.md", | ||
"download": "TBD" | ||
"id": "foundry-die-hard", | ||
"title": "Die Hard", | ||
"description": "Adjustments for DND5e & PF2e die rolls like fudging...", | ||
"author": "Jeremy (UranusBytes)", | ||
"version": "0.1.0", | ||
"esmodules": [ | ||
"scripts/die-hard.js" | ||
], | ||
"styles": [ | ||
"styles/die-hard.css" | ||
], | ||
"dependencies": [ | ||
{ | ||
"name": "lib-wrapper", | ||
"type": "module" | ||
} | ||
], | ||
"languages": [ | ||
{ | ||
"lang": "en", | ||
"name": "English", | ||
"path": "lang/en.json" | ||
} | ||
], | ||
"flags": { | ||
"fvttdevleague": { | ||
"package-jam": 2022 | ||
} | ||
}, | ||
"compatibility": { | ||
"minimum": 10, | ||
"verified": "10.291" | ||
}, | ||
"url": "https://github.com/UranusBytes/foundry-die-hard", | ||
"manifest": "https://github.com/UranusBytes/foundry-die-hard/releases/latest/download/module.json", | ||
"readme": "https://github.com/UranusBytes/foundry-die-hard/blob/main/README.md", | ||
"changelog": "https://github.com/UranusBytes/foundry-die-hard/blob/main/CHANGELOG.md", | ||
"download": "https://github.com/UranusBytes/foundry-die-hard/releases/download/0.1.0/module.zip" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
import {dieHardLog} from "../lib/helpers.js"; | ||
|
||
import DieHardSystem from "./DieHardSystem.js"; | ||
import {DieHardSetting} from "./DieHard.js"; | ||
import { dieHardLog } from '../lib/helpers.js'; | ||
import DieHardSystem from './DieHardSystem.js'; | ||
|
||
export default class DieHardPf2e extends DieHardSystem { | ||
constructor() { | ||
dieHardLog(false, 'DieHardPf2e.constructor'); | ||
super(); | ||
constructor() { | ||
dieHardLog(false, 'DieHardPf2e.constructor'); | ||
super(); | ||
|
||
this.totalRollClassName = ["CheckRoll", "StrikeAttackRoll"] | ||
this.fudgeWhatOptions = [] | ||
} | ||
this.totalRollClassName = [ | ||
"Roll", | ||
"CheckRoll", | ||
"StrikeAttackRoll", | ||
]; | ||
this.fudgeWhatOptions = []; | ||
} | ||
|
||
hookReady() { | ||
dieHardLog(false, 'PF2e System Hook - Ready'); | ||
} | ||
hookReady() { | ||
dieHardLog(false, 'PF2e System Hook - Ready'); | ||
} | ||
} | ||
|
Oops, something went wrong.