Entbehrungen

+ Added Deprivation for Cold, Heat and Food (Thirst & Hunger) on Base Values Page
- Removed Drinking & Perception from Skills Page

+ Fixed Encumbrance Color Switch only above load
This commit is contained in:
2024-03-14 21:00:46 +01:00
parent 43375a19c8
commit 570d4c83da
10 changed files with 146 additions and 54 deletions
+9 -4
View File
@@ -247,13 +247,18 @@ export default class M5CharacterSheet extends ActorSheet {
await roll.toMessage();
});
html.find(".roll-perception-button").on("click", async (event) => {
const roll = M5Roll.perception(this.actor);
html.find(".roll-deprivationCold-button").on("click", async (event) => {
const roll = M5Roll.deprivationCold(this.actor);
await roll.toMessage();
});
html.find(".roll-drinking-button").on("click", async (event) => {
const roll = M5Roll.drinking(this.actor);
html.find(".roll-deprivationHeat-button").on("click", async (event) => {
const roll = M5Roll.deprivationHeat(this.actor);
await roll.toMessage();
});
html.find(".roll-deprivationFood-button").on("click", async (event) => {
const roll = M5Roll.deprivationFood(this.actor);
await roll.toMessage();
});