I'm playing my first game on Roll20 tonight (5e) and I'm trying to streamline my experience as I'm picking up with a group that's been on it for years. As a novice, I'm not sure my goal is even possible. I've tried searching this forum, but get repeated gateway errors instead of results, so I apologize if this has been answered before. My understanding is that I'll be able to select the enemy token and then run a global macro not assigned to my PC token. I'd like to make an attack macro that checks creature type from token "npc type" attribute and adds additional dice and/or damage if it meets a criteria. Examples are ranger favored enemy or a sun blade that deals extra vs undead, or ideally a combination of the two. The specific weapon attributes means I have to split out the attacks between favored enemies. As it stands I have 6 attack variants for a single weapon (basic, basic + planar warrior from horizon walker, basic vs undead, basic vs undead + pw, basic vs fiend, basic + PW vs fiend) so cutting that back down to 2 would be great. It would also reduce the likelihood of me forgetting to add a bonus, confusion with damage types, or just missclicking in general. Assuming I can even set it up, I'll have to filter the attribute data to skip the first word, since it goes <size> <type>,<alignment>. Or perhaps request the DM create a new attribute that is just the type. From what I've gathered I could do something similar with drop-down requests when I make the attack, but I don't want to have to toggle them each time I attack. Using the attribute is the crux. If that's the only way, I'll probably be back looking for help setting it up.
Any help is appreciated!