I'm trying to setup weapon damage with D&D rules.
e.g. Dagger damage is 1d4, critical hit is 19-20, multiplier is 2
I've setup a formula below and works fine.
((Math.randomInt(20)+1)>=19)?(Math.randomInt(4)+1)*2: (Math.randomInt(4)+1)
But the problem is in playtest, I can't distinguish between normal attack and critical hit.
Is there any way to change the damage color to RED or display a message when critical hit is made?
e.g. Dagger damage is 1d4, critical hit is 19-20, multiplier is 2
I've setup a formula below and works fine.
((Math.randomInt(20)+1)>=19)?(Math.randomInt(4)+1)*2: (Math.randomInt(4)+1)
But the problem is in playtest, I can't distinguish between normal attack and critical hit.
Is there any way to change the damage color to RED or display a message when critical hit is made?