Skip to content

[BUG] Can only apply one effect per type to charms #53

@UnknownSilicon

Description

@UnknownSilicon

Describe the bug
It is not possible to apply more than one effect of the same type to a charm.

To Reproduce
Steps to reproduce the behavior:

  1. Create a charm config with two instances of a PLAYER_PARTICLE effect
  2. Apply charm to item
  3. Observe that only one effect is present

Expected behavior
Both effects are present

Additional context
I have no idea why I designed it like this. Basically, it should likely be an ArrayList instead of a HashMap for storing effects, but that might need to be different too.

Metadata

Metadata

Labels

CharmsbugSomething isn't working

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions