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

@ -96,5 +96,10 @@ export class ActorHandler extends Actor {
return this.proxyFunction("_preUpdate", ...args);
};
useRestDie() { return this.proxyFunction("useRestDie"); };
getRollData() {
if (!this.fn?.getRollData) return {};
return this.fn?.getRollData.bind(this)();
};
useRestDie() {return this.proxyFunction("useRestDie")};
};