format Damage Numbers
Formats dynamic damage numbers inside the provided string.
The dynamic damage value is defined as [
Return
Formatted string
Parameters
str
String to be formatted
player
Player for which the values will be formatted