mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Update the death move descriptions
This commit is contained in:
parent
4510deae96
commit
162c74f3ae
2 changed files with 29 additions and 3 deletions
|
|
@ -965,15 +965,15 @@
|
|||
"DeathMoves": {
|
||||
"avoidDeath": {
|
||||
"name": "Avoid Death",
|
||||
"description": "You drop unconscious temporarily and work with the GM to describe how the situation gets much worse because of it. Then roll your Fear die; if its value is equal to or under your Level, take a Scar."
|
||||
"description": "Your character avoids death and faces the consequences. They temporarily drop unconscious, and then you work with the GM to describe how the situation worsens. While unconscious, your character can't move or act, and they can't be targeted by an attack. They return to consciousness when an ally clears 1 or more of their marked Hit Points or when the party finishes a long rest. After your character falls unconscious, roll your Hope Die. If its value is equal to or less than your character's level, they gain a scar: permanently cross out a Hope slot and work with the GM to determine its lasting narrative impact and how, if possible, it can be restored. If you ever cross out your last Hope slot, your character's journey ends."
|
||||
},
|
||||
"riskItAll": {
|
||||
"name": "Risk It All",
|
||||
"description": "Roll your Duality Dice. If Hope is higher, you stay on your feet and clear an amount of Hit Points and/or Stress equal to the value of the Hope die (divide the Hope die value up between these however you’d prefer). If your Fear die is higher, you cross through the veil of death. If the Duality Dice are tied, you stay on your feet and clear all Hit Points and Stress."
|
||||
"description": "Roll your Duality Dice. If the Hope Die is higher, your character stays on their feet and clears a number of Hit Points or Stress equal to the value of the Hope Die (you can divide the Hope Die value between Hit Points and Stress however you'd prefer). If the Fear Die is higher, your character crosses through the veil of death. If the Duality Dice show matching results, your character stays up and clears all Hit Points and Stress."
|
||||
},
|
||||
"blazeOfGlory": {
|
||||
"name": "Blaze Of Glory",
|
||||
"description": "With Blaze of Glory, the player is accepting death for the character. Take one action (at GM discretion), which becomes an automatic critical success, then cross through the veil of death."
|
||||
"description": " Your character embraces death and goes out in a blaze of glory. Take one final action. It automatically critically succeeds (with GM approval), and then you cross through the veil of death."
|
||||
}
|
||||
},
|
||||
"DomainCardTypes": {
|
||||
|
|
|
|||
|
|
@ -38,6 +38,20 @@ export default class DhpDeathMove extends HandlebarsApplicationMixin(Application
|
|||
return context;
|
||||
}
|
||||
|
||||
async handleAvoidDeath() {
|
||||
console.log("Avoid Death!");
|
||||
if (game.modules.get('dice-so-nice')?.active) {
|
||||
|
||||
const { diceSoNice } = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.appearance);
|
||||
|
||||
const hopeDice = await getDiceSoNicePreset(diceSoNice.hope, 12);
|
||||
}
|
||||
}
|
||||
|
||||
handleRiskItAll() {
|
||||
console.log("Risk It All!");
|
||||
}
|
||||
|
||||
static selectMove(_, button) {
|
||||
const move = button.dataset.move;
|
||||
this.selectedMove = CONFIG.DH.GENERAL.deathMoves[move];
|
||||
|
|
@ -73,6 +87,18 @@ export default class DhpDeathMove extends HandlebarsApplicationMixin(Application
|
|||
|
||||
cls.create(msg);
|
||||
|
||||
if (CONFIG.DH.GENERAL.deathMoves.avoidDeath === this.selectedMove) {
|
||||
this.handleAvoidDeath();
|
||||
return;
|
||||
}
|
||||
|
||||
if (CONFIG.DH.GENERAL.deathMoves.riskItAll === this.selectedMove) {
|
||||
this.handleRiskItAll();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
this.close();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue