mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Fix async/await roll postEvaluate (#417)
* Fix async/await roll postEvaluate * Fixed DualityReroll DiceSoNice * Add chatDisplay: false to actors base attack * Add chatDisplay: false to downtime actions * Add Action Type Select item name in header --------- Co-authored-by: WBHarry <williambjrklund@gmail.com>
This commit is contained in:
parent
01f5173aa4
commit
e6bfe08d83
9 changed files with 36 additions and 20 deletions
|
|
@ -62,6 +62,7 @@ export default class DhpAdversary extends BaseDataActor {
|
|||
img: 'icons/skills/melee/blood-slash-foam-red.webp',
|
||||
_id: foundry.utils.randomID(),
|
||||
systemPath: 'attack',
|
||||
chatDisplay: false,
|
||||
type: 'attack',
|
||||
range: 'melee',
|
||||
target: {
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ export default class DhCharacter extends BaseDataActor {
|
|||
img: 'icons/skills/melee/unarmed-punch-fist-yellow-red.webp',
|
||||
_id: foundry.utils.randomID(),
|
||||
systemPath: 'attack',
|
||||
chatDisplay: false,
|
||||
type: 'attack',
|
||||
range: 'melee',
|
||||
target: {
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ export default class DhCompanion extends BaseDataActor {
|
|||
img: 'icons/creatures/claws/claw-bear-paw-swipe-brown.webp',
|
||||
_id: foundry.utils.randomID(),
|
||||
systemPath: 'attack',
|
||||
chatDisplay: false,
|
||||
type: 'attack',
|
||||
range: 'melee',
|
||||
target: {
|
||||
|
|
|
|||
|
|
@ -175,7 +175,10 @@ export function ActionMixin(Base) {
|
|||
classes: ['daggerheart', 'dh-style'],
|
||||
content: await foundry.applications.handlebars.renderTemplate(
|
||||
'systems/daggerheart/templates/actionTypes/actionType.hbs',
|
||||
{ types: CONFIG.DH.ACTIONS.actionTypes }
|
||||
{
|
||||
types: CONFIG.DH.ACTIONS.actionTypes,
|
||||
itemName: parent.parent?.name
|
||||
}
|
||||
),
|
||||
ok: {
|
||||
label: game.i18n.format('DOCUMENT.Create', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue