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

🐞 Removing Traits does not seem to work #467

Open
2 of 7 tasks
dfaggioli opened this issue Oct 11, 2024 · 0 comments
Open
2 of 7 tasks

🐞 Removing Traits does not seem to work #467

dfaggioli opened this issue Oct 11, 2024 · 0 comments

Comments

@dfaggioli
Copy link

Check for existing bug reports before submitting.

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

Expected Behavior

It should be possible to remove Traits, e.g., if we have:

statblock: true
name: umano_comune
extends: creatura
creatura: Umano Comune
ac: 2
hit_dice: 6+1d3
hp: 8
mana: 0
vestiti: "[[Abiti Normali]]"
abilita_razza:
  - name: "[[Lingua delle Lande]]"
  - name: "[[Capacita di Guarigione|Capacità di Guarigione]]"
  - name: TEST
    desc: test

And:

statblock: true
name: umano_schiavo_gladiatore
monster: umano_comune
creatura: Umano Schiavo-Gladiatore
abilita_razza-:
  - name: TEST
abilita_razza+:
  - name: TEST2
    desc: test2

The latter should have, in "abilita_razza": "[[Lingua delle Lande]]", "[[Capacita di Guarigione|Capacità di Guarigione]]" and TEST2

Current behaviour

After 12df383, Traits have improved a lot! In fact, now overriding and adding Traits works fine (for me). What still doesn't work is removing them :-)

In fact, sticking to the example above, "abilita_razza" still has the "TEST"

image

Reproduction

Just create a statblock that inherits some Traits (say, "A") from another one (e.g., using monster:) and then try to remove any with A-:.

Which Operating Systems are you using?

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

Obsidian Version Check

1.6.7

Plugin Version

4.7.8

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