
So essentially what I want is to create a macro that takes the amount of Strength someone has and multiplies it by their weapon multiplier (given as a percentage). Then, it'll roll that amount of 4-sided die (if a fraction, round up), ignore any 3 and 4 rolls (they would count as zero), and give out the sum of the rolls. Is this possible? Also, if you do manage to do it, explain what each part of the code does, so I can replicate and learn from it. Thank you in advance :) Example: Character X has 10 strength and a 50% weapon multiplier, so it would roll five 4-sided die. Of those five, one landed on 4, one landed on 3, one landed on 2 and two landed on 1. So, it would ignore the 3 and the 4, but add the 1s and the 2, displaying the result as "Damage: 1+1+2 = 4"