@Chiaia Thanks this is awesome for getting the actual number while using gearswap.
Though I did notice that even though it still says: "No 'Bust'. Fold again to continue."
But it actually doesn't stop the fold there and folds anyway without you having to hit it again.
Another small thing (and this was an issue before your changes, I just thought I'd mention it since you were editing the file), I think this is an issue with NPC Corsairs, but sometimes it doesn't capture rollBonus correctly and gives an error at line 216 (trying to concatenate a nil when trying to add it to chat).
I fixed this by adding a check at line 215:
elseif rollBonus then
But you may have a better way of handling it.