maptool icon indicating copy to clipboard operation
maptool copied to clipboard

[Feature]: Events: onInitiativeAdd / onInitiativeRemove

Open Lector opened this issue 2 years ago • 1 comments

Feature Request

I would like a way for my framework to react to tokens being added to or removed from the initiative. This is important because in my game system, every defense roll incurs a penalty depending on how many defenses the character has already made in the current round of combat. To automate this process, I need to track the defenses that have been made.

The Solution you'd like

onInitiativeAdd() should be called when a token enters the initiative list. It should be possible to iterate the added tokens. onInitiativeRemove() should be called when a token leaves the initiative list. It should be possible to iterate the removed tokens.

Alternatives that you've considered.

No response

Additional Context

No response

Lector avatar Apr 12 '23 21:04 Lector

I would like to bump this, as this is also something I would love. Right now it is only possible to to react to initiative changes.

Tdue21 avatar Sep 29 '24 13:09 Tdue21