mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 20:21:06 +01:00
Remove console log
This commit is contained in:
parent
d7a2c05694
commit
3d034cd24e
6 changed files with 4 additions and 28 deletions
|
|
@ -99,11 +99,9 @@ export default class WeaponSheet extends DaggerheartSheet(ItemSheetV2) {
|
|||
}
|
||||
|
||||
static async addAction() {
|
||||
// const actionType = await WeaponSheet.selectActionType();
|
||||
const actionType = await WeaponSheet.selectActionType(),
|
||||
actionIndexes = this.document.system.actions.map(x => x._id.split('-')[2]).sort((a, b) => a - b)
|
||||
try {
|
||||
// const cls = DHAction,
|
||||
const cls = actionsTypes[actionType?.type] ?? actionsTypes.attack,
|
||||
action = new cls(
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue