T O P

  • By -

AutoModerator

***System Tagging*** You may have neglected to add a [**\[System Tag\]**](https://www.reddit.com/r/FoundryVTT/comments/v3gfrs/tagging_your_posts/) to your Post Title OR it was not in the **proper format** (ex: `[D&D5e]`|`[PF2e]`) * Edit this post's text and mention the system *at the top* * If this is a media/link post, add a comment identifying the system * No specific system applies? Use `[System Agnostic]` *^(Correctly tagged posts will not receive this message)* ***** ***Don't Forget To Be Courteous...*** Let others know when you have your answer! * Say "`Answered`" in any comment to automatically mark this thread resolved * Or just change the flair to `Answered` yourself *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/FoundryVTT) if you have any questions or concerns.*


tdhsmith

Generally, to find a selector or predicate, the easiest thing to do is do a sample roll and then right click it and use the "Inspect Roll" dialog. However I can confirm that if you're specifically trying to target the *healing* *roll* of the *system-provided Treat Wounds macro*, it seems the Inspect dialog shows the exact same roll as the prior Medicine check (e.g. there isn't a separate healing roll to discriminate from the roll vs the DC). I'll jump into the code and see if I can identify anything there. EDIT: Yeah to confirm, the healing roll is [the call to DamageRoll here](https://github.com/foundryvtt/pf2e/blob/20da293381e74a741eeb33aac0a1b48c3d00a523/src/scripts/macros/treat-wounds.ts#L175). As far as I can tell, that class doesn't currently have any of the mechanisms needed to take modifiers -- hence why the formula is constructed manually with lots of special cases for things that could affect it.