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

Adding and removing Actors from the Combat Tracker can misalign the Disposition Labelling #1340

Closed
majeric opened this issue Feb 1, 2024 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@majeric
Copy link

majeric commented Feb 1, 2024

Experimenting with the Combat tracker I've discovered that you can misalign disposition when removing dead actors (NPCs being the most common).

@wrycu wrycu added the bug Something isn't working label Feb 16, 2024
@wrycu wrycu added this to the 1.807 milestone Feb 16, 2024
@wrycu wrycu self-assigned this Feb 21, 2024
wrycu added a commit that referenced this issue Feb 21, 2024
* handle CSS issues with the "active" class not being properly set
* handle confusion around which actor is active
* localize strings for hidden slots
* remove slot names for hidden slots (only applies for non-GMs)
* correct image "has gone" state not being reset at the start of a new round
* handle removing combatants confusing the claimed slot state

#1343
#1340
@wrycu
Copy link
Collaborator

wrycu commented Feb 21, 2024

Mostly, maybe even entirely, fixed. Thanks for the report; will be released in 1.807.

@wrycu wrycu closed this as completed Feb 21, 2024
@wrycu wrycu reopened this Feb 22, 2024
@wrycu
Copy link
Collaborator

wrycu commented Feb 22, 2024

My latest changes for visibility re-broke this. Will need to fix it again.

wrycu added a commit that referenced this issue Mar 15, 2024
* now properly handles removing combatants by swapping claims of slots to the ID of the slot, rather than the index of it

#1340
@wrycu
Copy link
Collaborator

wrycu commented Mar 15, 2024

Done again. But better!

@wrycu wrycu closed this as completed Mar 15, 2024
Esrin pushed a commit that referenced this issue Mar 21, 2024
* fix(combat): correct claimed slot bug

* now properly handles removing combatants by swapping claims of slots to the ID of the slot, rather than the index of it

#1340

* feat(combat): minor bugfixes

* removed "toggle visibility" button, since it's not yet implemented
* corrected "remove combatant" not properly determining if a slot was claimed
* corrected existing claim detection for non-GMs passing their turn

#1374

* fix(combat): tracker fix

* fixes bug for unclaimed slots breaking the tracker prior to beginning combat

#1374
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants