Here's the code:
Note, Damage, DamageMod, and AtkBonus are token properties. And Apply to Selected Tokens is checked.
Code: Select all
[h: atkroll = 1d20]
[h: atkroll = atkroll + AtkBonus]
[h: NormDamage = eval(Damage)]
[h: ModDamage = eval(DamageMod)]
To Hit: [atkroll]
<br>
Damage: [NormDamage]
<br>
Mod: [ModDamage]
Note, when I copy/pasted it from the chat window, it was all on one single line.
Code: Select all
To Hit: 15
Damage: 2
Mod: Damage: 2
Mod: Mod: 2
Thank you!