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

[Bug]: Adding the "friendly" tag to a creature in an encounter block without any other parameters will change the creature's name to add "ly" to the end #157

Closed
ryanvilbrandt opened this issue Apr 29, 2023 · 0 comments · Fixed by #164

Comments

@ryanvilbrandt
Copy link

The bug tracker is ONLY used for reporting bugs.

Version Check

v1.1.16 for both Obsidian and Installer
Windows 10

What is the expected behavior?

Though it is not mentioned in the documentation as a viable flag yet, "Friendly" is a tag you can add to a creature to not count it as part of the Encounter difficulty. According to javalent, you can put it at the end of a creature line in an encounter block:

name: Sample Encounter
creatures:
  - Arik, friendly

...and this should give them the friendly status in an encounter.

What is the current behavior?

When tagged with friendly and no other attributes, the creature's name is changed to include "ly" at the end. This means the creature is no longer linked to their statblock and their stats no longer transfer to the Initiative Tracker.

e.g. "Arik" becomes "Arikly" which does not have a statblock.

What are the A-to-Z Steps to Reproduce your Bug?

I have this creature in my bestiary, a guy named Arik:

statblock: true
layout: Basic 5e Layout
name: Arik
size: Medium
type: Humanoid
ac: 13
hp: 24
hit_dice: "4d10"
speed: "30 ft."
cr: "1/2"
skillsaves:

  • Untrained: 2
  • Proficient: 4
  • Expertise: 6
    actions:
  • name: "Weapon Attack x1"
    desc: "+4 to hit. Hit, +8 (2d6+1)"
  • name: "Shield Block"
    desc: "Give disadvantage on melee attack from adjacent enemy against an ally."
  • name: "Intercept"
    desc: "Take a hit meant for another ally from adjacent enemy. Resistance to that
    damage."


layout: Basic 5e Layout
monster: Arik

And this encounter:

name: Encounter
creatures:
  - Arik, friendly

Note that if you change the line to "Arik, Arik, friendly" it works correctly.

Error Codes

No errors in the console.

Screenshots and Video

image
image
And when putting in "Arik," in the second space:
image

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

Successfully merging a pull request may close this issue.

2 participants