Actually it would be very easy to do. First off you would need to add another property to the weapon. For our Example we will use ThreatRange as that property. Then in the case of a longsword it's 19-20 so set "ThreatRange=19;"h3lrav3n wrote:The attack macro prints "a critical hit!" when the die roll is a natural 20. I was wondering if there was a way to get the attack macro to work with a threat range (For example: a longsword's threat range of 19-20) without a complete rewrite; possibly to be used in conjunction with the weapon edit macro.
Next make a small edit to the code.
Code: Select all
{if(AtkRoll>=ThreatRange+AttackBonus+if(CA,2,0)+MiscAtk, ", a critical hit!", "")}