
Hello, I have modified an attack button using the macro below. The problem is, sometimes when the proficiency roll is 4 (maxed) it gives results as though there is a critical hit (1d20 = 20). I have pasted one of these errored results below. It does not do it all the time though. How can that be fixed? Also it would be nice for the proficiency roll to not display a color at all. Its a little deflating to see that green to hit roll and it not be a true Crit. @{Yonkafi Opry|wtype}&{template:atkdmg} {{mod=+2 against unarmored}} {{rname=Battleaxe }} {{r1=[[@{Yonkafi Opry|d20}cs>20 + 1d4[PROF]]]}} @{Yonkafi Opry|rtype}cs>20 + 1d4[PROF]]]}} {{attack=1}} {{range=}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d8]]}} {{dmg1type=One Handed Slashing }} {{damage=1}} {{dmg2flag=1}} {{dmg2=[[1d10]]}} {{dmg2type=Two Handed Slashing }} {{crit1=[[8+1d8[CRIT]]]}} {{crit2=[[10 + 1d10[CRIT]]]}} 0 {{desc=}} {{spelllevel=}} {{innate=}} {{globalattack=@{Yonkafi Opry|global_attack_mod}}} {{globaldamage=[[0]]}} {{globaldamagecrit=[[0]]}} {{globaldamagetype=@{Yonkafi Opry|global_damage_mod_type}}} ammo= @{Yonkafi Opry|charname_output} <span class="inlinerollresult showtip tipsy-n-right fullcrit" original-title=" Rolling 1d20cs>20 + 1d4[PROF] = ( 10 )+( 4 )" style="box-sizing: content-box; font-size: 1.2em; line-height: 12px; background-color: transparent; border: 0px; padding: 0px; cursor: help; color: rgb(63, 179, 21);">14 <span class="inlinerollresult showtip tipsy-n-right" original-title=" Rolling 1d20cs>20 + 1d4[PROF] = ( 12 )+( 2 )" style="box-sizing: content-box; font-size: 1.2em; line-height: 12px; background-color: transparent; border: 0px; padding: 0px; cursor: help;">14 Battleaxe (+2 against unarmored) Yonkafi Opry <span class="inlinerollresult showtip tipsy-n-right" title=" Rolling 1d8 = ( 6 )" style="box-sizing: content-box; font-size: 1.2em; line-height: 12px; background-color: transparent; border: 0px; padding: 0px; cursor: help;">6 + <span class="inlinerollresult showtip tipsy-n-right" title=" Rolling 8+1d8[CRIT] = 8+( 5 )" style="box-sizing: content-box; font-size: 1.2em; line-height: 12px; background-color: transparent; border: 0px; padding: 0px; cursor: help;">13 One Handed Slashing <span class="inlinerollresult showtip tipsy-n-right" original-title=" Rolling 1d10 = ( 7 )" style="box-sizing: content-box; font-size: 1.2em; line-height: 12px; background-color: transparent; border: 0px; padding: 0px; cursor: help;">7 + <span class="inlinerollresult showtip tipsy-n-right" original-title=" Rolling 10 + 1d10[CRIT] = 10+( 4 )" style="box-sizing: content-box; font-size: 1.2em; line-height: 12px; background-color: transparent; border: 0px; padding: 0px; cursor: help;">14 Two Handed Slashing