
Roll20 scripting n00b here, trying to build a crit effect table that triggers off of a crit roll from the 5E character sheet. I've looked at the chat messages and don't see any difference between a non-crit roll result and a crit roll result (see below), so I'm wondering if there's some other variable or object property I need to look for...any suggestions?
Non-Crit Message:
Non-Crit Message:
{{mod=+7}} {{rname=Longbow}} {{r1=$[[0]]}} {{always=1}} {{r2=$[[1]]}} {{attack=1}} {{range=150/600}} {{damage=1}} {{dmg1flag=1}} {{dmg1=$[[2]]}} {{dmg1type=Piercing }} 0 {{dmg2=$[[3]]}} {{dmg2type=}} {{crit1=$[[4]]}} {{crit2=$[[5]]}} 0 {{desc=}} ammo= charname=Human Fighter (Folk Hero)Crit Message:
{{mod=+7}} {{rname=Longbow}} {{r1=$[[0]]}} {{always=1}} {{r2=$[[1]]}} {{attack=1}} {{range=150/600}} {{damage=1}} {{dmg1flag=1}} {{dmg1=$[[2]]}} {{dmg1type=Piercing }} 0 {{dmg2=$[[3]]}} {{dmg2type=}} {{crit1=$[[4]]}} {{crit2=$[[5]]}} 0 {{desc=}} ammo= charname=Human Fighter (Folk Hero)