Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 Abilities with duplicate names not showing up #483

Open
3 of 7 tasks
Pachtjuilaard opened this issue Feb 24, 2025 · 0 comments
Open
3 of 7 tasks

🐞 Abilities with duplicate names not showing up #483

Pachtjuilaard opened this issue Feb 24, 2025 · 0 comments

Comments

@Pachtjuilaard
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant