
Greetings and good afternoon coding Lords & Ladies!
I've got a druid in one of my games and I just got the WildShapeResizer API working correctly. He's got a dozen or so forms that I have a rollable table set up with and I've put each of the animal's HP as damage-only attacks (Eagle HP 'attack' rolls the 4d6kh2 to find his HP since we don't like taking the averages when we can help it, though I do so at advantage but that's beside the point).
What I'd REALLY like to do may or may not even be possible with a macro with or without the help of an API, but I'd like to create a macro (I know how to create the drop-down options) and choose, say, "Polar Bear" from the drop down, the 'answer' to that query set the HP_Temp field to the 5d10 roll, and change the selected rollable-table token to the 4th option or something along those lines.
If it's of any help, here's my current API library (yes I know I have a lot compared to most other screenshots I've seen)
Is this even possible or would Roll20 not support such a thing?
Thanks in advance,
Agnati