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:
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user