fix (#278): show the tooltip only once for skills without proficiency

This commit is contained in:
Samuel Lopez
2025-10-14 10:38:22 +02:00
committed by samulopez
parent efda25bf7e
commit 8198cb78c9
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@
- [#274] (<https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/274>) - Automated fail marking now works after dice so nice resolve roll.
- [#268] (<https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/268>) - Removed unnecessary tooltips.
- [#278] (<https://github.com/deltagreen-foundryvtt/delta-green-foundry-vtt-system/issues/278>) - Shows the tooltip only once for skills without proficiency.
## Version 1.6.1 - 2025-09-09
-1
View File
@@ -413,7 +413,6 @@ export default class DGActorSheet extends DGSheetMixin(ActorSheetV2) {
skill.tooltip = game.i18n.localize(`DG.Skills.Tooltip.${skill.key}`);
if (!skill.proficiency) {
skill.tooltip = skill.tooltip.concat(
skill.tooltip,
"<br><br>",
game.i18n.localize("DG.Tooltip.CannotRollSkillLabel"),
);