
In a custom sheet, running in Jumpgate, I'm using this button code:
<button type='roll' class='btn' value='&{template:menu} {{title=@{character_name}}} {{subtitle=damage vs. @{target|Target|token_name}}} {{color=orange}} {{Weapon/Attack=@{weapon_name}}} {{Crit Rating=@{weapon_CR}}} {{Attack Characteristic=@{roll_char_name}}} {{(+) Characteristic Value=@{roll_char_value}}} {{(+) Damage Rating=@{weapon_DR}}} {{(-) Target Soak=@{target|Target|soak}}} {{Base Damage=[[@{weapon_dr} + @{roll_char_value} - @{target|Target|soak}]]}}' name='roll_weapon_damage'>Dmg</button>
Each additional call to @{target} seems to generate a console error (MS Edge):
Everything works, but I'd like to know why the errors are happening and how to stop them. They seem to break my ability to send debugging console.log messages. Thanks, in advance.