Open apoapostolov opened 3 years ago
@CarlosFdez We talked about this on Discord in April and I understand your reluctance to include other content in your mod, but I wasn't able to find any good way to do it using TurnAlerts due to the fact that I cannot have TurnAlerts refer the actor with a macro command to remove the condition (the second bullet point)
Your mod is the easiest way to do this, since you have all the functionality. It only needs to add an effect or condition on the actor and then remove it at the start of the turn, similarly how you can trigger persistent damage at the end of the turn. It would allow recreating all but the multiple reaction cases (which can be done with the GM putting the Reaction Used when all of them are used).
It would require an update to the effect tracker to do these things in a good way. I am considering it after an argument with the lead dev where he confirmed that he does not want to make a temporary effect super-type nor does he wanna generalize elements of the effect tracker at all. So I'll need to overwrite the effect tracker with a new general implementation which will take some time.
That said the functionality in question that you're thinking about that I can reuse is a single hook (pf2e.startTurn) and any code that can create an item (type effect). Any module can do that. The parts that are difficult (having full resource tracking, enabling/disabling them with custom crossout ui, handling the rogue feat preparation) would require completely new code.
Edit: That said, this is very niche. I'd likely save this for way later, and only think about it while I work on afflictions.
Extend the mod with support for PF2 Reactions. This helps with creatures that have many uses of their reactions and the GM must remember each time if they used the reaction or not.
Consists of: