Skip to content

🐞 Status with amount is linked when applied to more than one creature #305

@scooper4711

Description

@scooper4711

Check for existing bug reports before submitting.

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

Expected Behavior

If you apply e.g. sickened 2 on multiple creatures in one go, then during normal combat reduce sickened 2 to sickened 1 for ONE creature, the other creatures should remain at sickened 2.

Current behaviour

If you apply e.g. sickened 2 on multiple creatures in one go, then during normal combat reduce sickened 2 to sickened 1 for ONE creature, the other creatures are also reduced to sickened 1.

Reproduction

  • New vault
  • Add adventures to a party
  • Add some rats to an encounter
  • add sickened as a status, and give it an amount.
  • load the encounter
  • Press the play button to start the encounter
  • apply sickened 4 to multiple rats
  • move the initiative forward a couple
  • reduce the sickened on one rat - notice that the other rats remain at the original sickened value
  • advance the initiative one. Notice that the sickened values have now all decreased to match the reduced value

Which Operating Systems are you using?

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

Obsidian Version Check

1.6.7 and 1.6.5

Plugin Version

13.0.15

Confirmation

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

Possible solution

assign copies of the condition instead of assigning the same condition object to all creatures.

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