From aeb8036556ffac9a989f793d4ed02a5ed60bfb98 Mon Sep 17 00:00:00 2001 From: Dapoolp Date: Sat, 9 Aug 2025 14:39:18 +0200 Subject: [PATCH] Remove comments --- module/config/itemConfig.mjs | 41 ++++----------------------------- module/data/actor/character.mjs | 12 ---------- 2 files changed, 4 insertions(+), 49 deletions(-) diff --git a/module/config/itemConfig.mjs b/module/config/itemConfig.mjs index 3b4c1528..296dc927 100644 --- a/module/config/itemConfig.mjs +++ b/module/config/itemConfig.mjs @@ -1040,17 +1040,7 @@ export const weaponFeatures = { key: 'system.evasion', mode: 2, value: '-1' - }, - // { - // key: 'system.bonuses.damage.primaryWeapon.extraDice', - // mode: 2, - // value: '1' - // }, - // { - // key: 'system.rules.weapon.dropLowestDamageDice', - // mode: 5, - // value: '1' - // } + } ] } ] @@ -1166,18 +1156,7 @@ export const weaponFeatures = { name: 'DAGGERHEART.CONFIG.WeaponFeature.powerful.effects.powerful.name', description: 'DAGGERHEART.CONFIG.WeaponFeature.powerful.effects.powerful.description', img: 'icons/magic/control/buff-flight-wings-runes-red-yellow.webp', - changes: [ - // { - // key: 'system.bonuses.damage.primaryWeapon.extraDice', - // mode: 2, - // value: '1' - // }, - // { - // key: 'system.rules.weapon.dropLowestDamageDice', - // mode: 5, - // value: '1' - // } - ] + changes: [] } ] }, @@ -1301,13 +1280,7 @@ export const weaponFeatures = { name: 'DAGGERHEART.CONFIG.WeaponFeature.selfCorrecting.effects.selfCorrecting.name', description: 'DAGGERHEART.CONFIG.WeaponFeature.selfCorrecting.effects.selfCorrecting.description', img: 'icons/weapons/ammunition/arrow-broadhead-glowing-orange.webp', - changes: [ - // { - // key: 'system.rules.damage.flipMinDiceValue', - // mode: 5, - // value: 1 - // } - ] + changes: [] } ] }, @@ -1319,13 +1292,7 @@ export const weaponFeatures = { name: 'DAGGERHEART.CONFIG.WeaponFeature.serrated.effects.serrated.name', description: 'DAGGERHEART.CONFIG.WeaponFeature.serrated.effects.serrated.description', img: 'icons/weapons/ammunition/arrow-broadhead-glowing-orange.webp', - changes: [ - // { - // key: 'system.rules.damage.flipMinDiceValue', - // mode: 5, - // value: 1 - // } - ] + changes: [] } ] }, diff --git a/module/data/actor/character.mjs b/module/data/actor/character.mjs index 22e6bc9f..c40e7e5d 100644 --- a/module/data/actor/character.mjs +++ b/module/data/actor/character.mjs @@ -287,18 +287,6 @@ export default class DhCharacter extends BaseDataActor { }) }) }), - // weapon: new fields.SchemaField({ - // /* Unimplemented - // -> Should remove the lowest damage dice from weapon damage - // -> Reflect this in the chat message somehow so players get feedback that their choice is helping them. - // */ - // dropLowestDamageDice: new fields.BooleanField({ initial: false }), - // /* Unimplemented - // -> Should flip any lowest possible dice rolls for weapon damage to highest - // -> Reflect this in the chat message somehow so players get feedback that their choice is helping them. - // */ - // flipMinDiceValue: new fields.BooleanField({ intial: false }) - // }), runeWard: new fields.BooleanField({ initial: false }), burden: new fields.SchemaField({ ignore: new fields.BooleanField()