
Hello everyone! Based on a lot of reading and experiments, I have pieced together a script that asks the user to choose between strength and dexterity for use in the attack roll. After the choice, it also adds the proficiency bonus to the attack roll. Towards the bottom of the script, damage is rolled based on the choice between strength or dexterity, but for this roll proficiency is not added (within the script). However, when the script is used, proficiency IS added to the damage roll and I do not understand why? Any advice?? Thank you!!! @{selected|token_name} attacks with his DAGGER! Total roll: [[1d20 ?{Finesse Weapon:|Strength, + @{selected|strength_mod} [Strength] + @{selected|PB} [Proficiency]|Dexterity, + @{selected|dexterity_mod} [Dexterity] + @{selected|PB} [Proficiency]}]] / [[1d20 ?{Finesse Weapon:|Strength, + @{selected|strength_mod} [Strength] + @{selected|PB} [Proficiency]|Dexterity, + @{selected|dexterity_mod} [Dexterity] + @{selected|PB} [Proficiency]}]] If attack was successful, he damages his enemy for [[1d4 ?{Finesse Weapon:|Strength, + @{selected|strength_mod} [Strength]|Dexterity, + @{selected|dexterity_mod} [Dexterity]}]] points of PIERCING damage!