Skip to content

🐞 Abilities with duplicate names not showing up #483

@Pachtjuilaard

Description

@Pachtjuilaard

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

I have this part of a statblock code block:
"regional_effects":

  • "desc": "The region containing an adult or ancient white dragon's lair is affected
    \ by its presence, creating the following effects:"
    "name": ""
  • "desc": "- Frigid Cold. The area within 1 mile of the lair is an area of extreme
    \ cold
    . Any water in that area
    \ is frigid water. See the "
    Dungeon Master's Guide" for rules on extreme cold and frigid water. \n- Glacial
    \ Gloom. The area within 1 mile of the lair is Lightly Obscured
    \ by chilly fog. Whenever a creature other than the dragon or one of its allies
    \ finishes a Long Rest in
    \ that area, that creature must succeed on a DC 15 Constitution saving throw or
    \ have its Speed reduced by 10
    \ feet for 1 hour. "
    "name": ""
  • "desc": "If the dragon dies or moves its lair elsewhere, these effects end immediately."
    "name": ""

I would have expected all of these abilities to show up, regardless of their duplicate ability names.

Current behaviour

As you can see, all regional abilities in this statblock have the same name, "". However, only the description of the last ability shows up: "If the dragon dies..." etc. Furthermore, when mixing abilities with duplicate names and unique names, I saw the description of the last ability shows up in the position of the first ability with that name.

Reproduction

"name": "test statblock"
"regional_effects":
- "desc": "desc A"
  "name": "a"
- "desc": "desc b"
  "name": "b"
- "desc": "desc c"
  "name": "c"
- "desc": "desc d"
  "name": "b"

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.8.7

Plugin Version

4.8.1

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions