Skip to content

Commit

Permalink
Merge pull request dmdorman#1618 from aeauseth/main
Browse files Browse the repository at this point in the history
Inobvious isn't show on actor description
  • Loading branch information
aeauseth authored Dec 14, 2024
2 parents 1a729c7 + e7cd59f commit e57e324
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- SIGHTGROUP visions now respect the BLIND status. [#1590](https://github.com/dmdorman/hero6e-foundryvtt/issues/1590)
- Fixed issue with some enhanced visions not showing map in the dark.
- Adjustment powers now work with POWERDEFENSE.
- Inobivous powers do not show for Actor Description.

## Version 4.0.12 [Hero System 6e (Unofficial) v2](https://github.com/dmdorman/hero6e-foundryvtt)

Expand Down
2 changes: 1 addition & 1 deletion module/actor/actor-sheet.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ export class HeroSystemActorSheet extends ActorSheet {
let content = `${this.actor.system.APPEARANCE || ""}`;
const perceivable = [];
for (let item of this.actor.items) {
const p = item.isPerceivable("maybe");
const p = item.isPerceivable(false); // inobivous is not included
if (p) {
perceivable.push(
`<b${p === "maybe" ? ` style="color:blue" title="Inobvious requires PERCEPTION roll"` : ""}>${item.parentItem ? `${item.parentItem.name}: ` : ""}${item.name}</b> ${item.system.description}`,
Expand Down

0 comments on commit e57e324

Please sign in to comment.