Hi, I'd love to get some advice here because I've been knocking my head against this issue and I can't find a satisfying solution. Here's the template for a custom Attack formula I'm using for an RP of mine: &{template:default} {{name=@{character_name} attacked @{target|character_name} with its claws!}} {{damage (Phys)=[[ceil((3d10+@{Level}+@{St}*3)*(#damagereduction ))]]}} As it is now it works, but I want to make it look even prettier by having the damage formula be a generic macro so I can reuse the modifier for other stuff, like so: &{template:default} {{name=@{character_name} attacked @{target|character_name} with its claws!}} {{damage (Phys)=[[ceil((#normalAttackModifier )*(#damagereduction ))]]}} But sadly this gives me the error "error: TypeError: Cannot read property 'substring' of undefined", which means that the macro isn't recognizing the attributes even though I am calling it directly from the character sheet, despite recognizing it when I use the 'target' tag and not asking for two prompts. People have asked a similar question before, but the only answer they gave was to use the 'selected' tag which is pretty dissatisfying to me as it doesn't let me roll to test directly from the sheet, and feels like it could screw up the code later. Is there any solution to this or am I stuck pasting complicated chains of numbers in every formula? I'd like a definitive answer, because I currently have a lot of formulas to burn through.