Implement initiative rolling within Foundry

This commit is contained in:
Oliver-Akins 2024-02-10 01:03:49 -07:00
parent 1002b1387c
commit 914b6e5862
4 changed files with 28 additions and 3 deletions

View file

@ -132,6 +132,14 @@ async function preUntypedEmbed(item) {
};
};
/** @this {Actor} */
function getRollData() {
const data = {
initiative: this.system.stats.hands ?? 0,
};
return data;
};
export default {
atAspectLimit,
createCustomItem,
@ -142,4 +150,5 @@ export default {
genericEmbeddedDelete,
preAspectEmbed,
preUntypedEmbed,
getRollData,
};