Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Mixing Chat command and Roll Template

Ok, here's the issue: I have this Macro for selecting and rolling 4 elemental attacks. ?{Dustweaver Ranged Attack| Water, &{template:default}{{name=**WATER INFUSED RANGED ATTACK**}}{{[[2d10+@{Alma Prisma|discipline}+@{Alma Prisma|agility}]] = Successful hit inflicts Fumbled and removes a Beneficial Status Effect. If Fumbled, inflict Disarmed.}} | Acid, &{template:default}{{name=**ACID INFUSED RANGED ATTACK**}}{{[[2d10+@{Alma Prisma|discipline}+@{Alma Prisma|agility}]] = Successful hit decreases Armor by 1. If no Armor, inflict Damage equal Roll / 10.}} | Sonic, &{template:default}{{name=**SONIC INFUSED RANGED ATTACK**}}{{[[2d10+@{Alma Prisma|discipline}+@{Alma Prisma|agility}]] = Successful hit inflicts Disoriented. If Disoriented, inflict Concussed.}} | Ice, &{template:default}{{name=**ICE INFUSED RANGED ATTACK**}}{{[[2d10+@{Alma Prisma|discipline}+@{Alma Prisma|agility}]] = Successful hit inflicts Chilled. If Chilled, inflict Frostbitten.}}  } and I have these commands that makes elemental beams: /fx beam-water @{selected|token_id} @{target|token_id} /fx beam-acid @{selected|token_id} @{target|token_id} /fx beam-charm @{selected|token_id} @{target|token_id} /fx beam-smoke @{selected|token_id} @{target|token_id} How in the world do I put them together? I tried doing it a bunch of different ways, but no luck so far.
1701307728
GiGs
Pro
Sheet Author
API Scripter
The entry in each branch of a query supports line breaks, so does it work to just add then, like so (adding only the first here): ?{Dustweaver Ranged Attack| Water, &{template:default}{{name=**WATER INFUSED RANGED ATTACK**}}{{[[2d10+@{Alma Prisma|discipline}+@{Alma Prisma|agility}]] = Successful hit inflicts Fumbled and removes a Beneficial Status Effect. If Fumbled, inflict Disarmed.}} /fx beam-water @{selected|token_id} @{target|token_id}| Acid, &{template:default}{{name=**ACID INFUSED RANGED ATTACK**}}{{[[2d10+@{Alma Prisma|discipline}+@{Alma Prisma|agility}]] = Successful hit decreases Armor by 1. If no Armor, inflict Damage equal Roll / 10.}} | Sonic, &{template:default}{{name=**SONIC INFUSED RANGED ATTACK**}}{{[[2d10+@{Alma Prisma|discipline}+@{Alma Prisma|agility}]] = Successful hit inflicts Disoriented. If Disoriented, inflict Concussed.}} | Ice, &{template:default}{{name=**ICE INFUSED RANGED ATTACK**}}{{[[2d10+@{Alma Prisma|discipline}+@{Alma Prisma|agility}]] = Successful hit inflicts Chilled. If Chilled, inflict Frostbitten.}} 
1701307768
timmaugh
Forum Champion
API Scripter
At the free level, Chat Menus would be the go-to solution for something like that. If scripts are available, there are several ways to approach it with a script.
1701307802
GiGs
Pro
Sheet Author
API Scripter
I agree that chat menus are better than html substitutions!
The solution my friend came up with: ?{Dustweaver Ranged Attack| Water, &{template:default}{{name=**WATER INFUSED RANGED ATTACK**}}{{[[2d10+@{Alma Prisma|discipline}+@{Alma Prisma|agility}]] = Successful hit inflicts Fumbled and removes a Beneficial Status Effect. If Fumbled, inflict Disarmed.}} | Acid, &{template:default}{{name=**ACID INFUSED RANGED ATTACK**}}{{[[2d10+@{Alma Prisma|discipline}+@{Alma Prisma|agility}]] = Successful hit decreases Armor by 1. If no Armor, inflict Damage equal Roll / 10.}} | Sonic, &{template:default}{{name=**SONIC INFUSED RANGED ATTACK**}}{{[[2d10+@{Alma Prisma|discipline}+@{Alma Prisma|agility}]] = Successful hit inflicts Disoriented. If Disoriented, inflict Concussed.}} | Ice, &{template:default}{{name=**ICE INFUSED RANGED ATTACK**}}{{[[2d10+@{Alma Prisma|discipline}+@{Alma Prisma|agility}]] = Successful hit inflicts Chilled. If Chilled, inflict Frostbitten.}}  } ?{Dustweaver Ranged FX| Water Beam,/fx beam-water @{target|Caster|token_id} @{target|Foe|token_id}| Acid Beam,/fx beam-acid @{target|Caster|token_id} @{target|Foe|token_id}| Sonic Beam,/fx beam-charm @{target|Caster|token_id} @{target|Foe|token_id}| Ice Beam,/fx beam-frost @{target|Caster|token_id} @{target|Foe|token_id} } It works \O/
I will work at this Chat menu as well. Thank you for the hel guys!