I'm attempting to use the code below (scrounged from Reddit) to roll on a table using the player's presence modifier, but obviously it won't work by calling DEX.
What is the correct way to call the abilities from this module? & where can I find them?
const table = game.tables.getName("table_name");
const roll = new Roll("1d20 + @abilities.dex.mod", actor.getRollData());
table.draw({roll});
I'm attempting to use the code below (scrounged from Reddit) to roll on a table using the player's presence modifier, but obviously it won't work by calling DEX.
What is the correct way to call the abilities from this module? & where can I find them?
Cheers!