Allow the Combat tracker to roll intiative using a custom formula
This commit is contained in:
parent
deedda7648
commit
116eb216d0
4 changed files with 25 additions and 0 deletions
9
module/documents/Combatant.mjs
Normal file
9
module/documents/Combatant.mjs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { __ID__ } from "../consts.mjs";
|
||||
|
||||
const { Combatant } = foundry.documents;
|
||||
|
||||
export class TAFCombatant extends Combatant {
|
||||
_getInitiativeFormula() {
|
||||
return game.settings.get(__ID__, `initiativeFormula`);
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue