Fixed Incrementing props from stats tab

This commit is contained in:
ThaumRystra
2024-05-03 14:29:42 +02:00
parent de1eb64285
commit 982897897f
4 changed files with 19 additions and 116 deletions

View File

@@ -124,8 +124,8 @@ export default async function applyDamagePropTask(
type: targetProp.type,
}],
contents: [{
name: 'Attribute damaged',
value: `${numberToSignedString(-value)} ${getPropertyTitle(targetProp)}`,
name: increment >= 0 ? 'Attribute damaged' : 'Attribute restored',
value: `${numberToSignedString(-increment)} ${getPropertyTitle(targetProp)}`,
inline: true,
...prop.silent && { silenced: true },
}]