Our DM created unique homebrew weapons based on our characters for our campaign. Some of the weapons have special effects that occur when we roll a specific number on our attack roll. For example our cleric has a mace that when he rolls a 19 with trigger an AOE healing effect for our party and when he rolls a 20 will have an AOE damage effect on his attack. I'm wondering if I can write a macro for the people in our group so that when they roll the specific #'s for their weapons that it will automatically trigger the custom effects out DM has outlined for our weapons. Another example for me is my bow when i roll a 20 i have to roll a 1d4 to determine which nature element will be added to my damage. so a simple pseudo code of it would be if roll = 20 then (element = 1d4) select case element case 1: 2d6 frost dmg case 2: 2d6 fire dmg case 3: 2d6 daylight case 4: 2d6 bludgeoning etc. Is it possible to write something like that? I can write them just not really sure where to start with it. since I've never writted any macros on this site before. Thanks!!