So I'm new to the macro side of Roll20, I was wondering if there's a way to write a macro for the spell life transference. If you're not familiar with the spell it's a 3rd level spell, and basically I (the caster) take 4d8 necrotic damage, and choose someone within 30 feet of me to heal twice the damage I take. The scaling increases the damage taken by 1d8 per spell slot above 3rd level. It's kind of like Vampiric Touch, but it's a melee spell attack that does 3d6 necrotic damage to an enemy, and then it heals me half the amount of damage. increasing a 1d6 for every level above 3rd. In either instance, it would be a nice feature to have a drop down box to select what level it's being cast at to add the additional dice too. Basically, is there a way to take the damage output and use that in an equation to either double or half? I did see a command for rounding down when halving I'm pretty sure.