
I've looked all over and I haven't been able to find a conditional API. I'm playing DnD 5e and I was looking for something that would allow me to roll to-hit against the target's AC. More specifically, check if the roll is higher, and if so, roll damage. If possible, I would like to combine it with the alter bar script to also reduce health. I found a couple old posts mentioning the possability of an API, but no script I can find. Help?