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

Channel Divinity 2 options macro

Hi, I'm trying to implement 2 options for a channel divinity macro. I have a cleric of the forge, with 2 options: Turn Undead and Artisan's Blessing .  The thing is that I can easily make the 2 macros separately, but I would like to save space in the token action bar. This is the macro as I've finished it, but it looks like it needs some tweaking :S, I can't find the key. I just need a question of which option you want Turn Undead or Artisan's Blessing,  and then the macro for the chosen option will be displayed.  @{selected|wtype}&{template:atkdmg} {{rname=Channel Divinity}} {{range=30ft}} {{save=1}} {{saveattr=Wisdom}} {{savedc=[[[[(@{selected|spell_save_dc})]][SAVE]]]}}  ?{Query 1|Turn Undead, As an action, you present your holy sym⁠bol and speak a prayer censuring the Undead. Each Undead that can see or hear you within 30 feet of you must make a Wisdom saving throw. If the creature fails its saving throw, it is **turned for 1 minute or until it takes any damage**. A turned creature must spend its turns trying to move as far away from you as it can, and it can’t willingly move to a space within 30 feet of you. It also can’t take reactions. For its action, it can use only the Dash action or try to escape from an effect that prevents it from moving. If there’s nowhere to move, the creature can use the Dodge action.}}|Artisan's Blessing, You can use your Channel Divinity to create simple items.You conduct an hour-long ritual that crafts a nonmagical item that must include some metal: a simple or martial weapon, a suit of armor, ten pieces of ammunition, a set of tools, or another metal object. The creation is completed at the end of the hour, coalescing in an unoccupied space of your choice on a surface within 5 feet of you. The thing you create can be something that is worth no more than 100 gp. As part of this ritual, you must lay out metal, which can include coins, with a value equal to the creation. The metal irretrievably coalesces and transforms into the creation at the ritual’s end, magically forming even nonmetal parts of the creation. The ritual can create a duplicate of a nonmagical item that contains metal, such as a key, if you possess the original during the ritual}  !ammo @{selected|character_id} class_resource -1 Channel Divinity Any help or suggestions? Thank you :)
I'd say use a chat menu instead. That's what I do for any power list like Channel Divinity, Ki Features, etc. Example: &{template:npcaction} {{rname=Channel Divinity Powers}} {{description=[Abjure Enemy](~AbjureEnemy). Frighten one creature. [Oath of Vengeance](~OathofVengeance). Advantage against one creature for rest of combat.}}
1611328064
Jordan C.
Pro
API Scripter
Looks like there are a couple brackets that don't belong here  "If there’s nowhere to move, the creature can use the Dodge action. }} "
Jordan C. said: Looks like there are a couple brackets that don't belong here  "If there’s nowhere to move, the creature can use the Dodge action. }} " I remove that brackets, and the message of the feature don't show in the chat window :S
1611418257
Jordan C.
Pro
API Scripter
Oops, Looks like it's the commas causing an issue as well; here it is with them replaced with "," @{selected|wtype}&{template:atkdmg} {{rname=Channel Divinity}} {{range=30ft}} {{save=1}} {{saveattr=Wisdom}} {{savedc=[[[[(@{selected|spell_save_dc})]][SAVE]]]}} ?{Query 1|Turn Undead, As an action, you present your holy sym⁠bol and speak a prayer censuring the Undead. Each Undead that can see or hear you within 30 feet of you must make a Wisdom saving throw. If the creature fails its saving throw, it is **turned for 1 minute or until it takes any damage**. A turned creature must spend its turns trying to move as far away from you as it can, and it can’t willingly move to a space within 30 feet of you. It also can’t take reactions. For its action, it can use only the Dash action or try to escape from an effect that prevents it from moving. If there’s nowhere to move, the creature can use the Dodge action.|Artisan's Blessing, You can use your Channel Divinity to create simple items.You conduct an hour-long ritual that crafts a nonmagical item that must include some metal: a simple or martial weapon, a suit of armor, ten pieces of ammunition, a set of tools, or another metal object. The creation is completed at the end of the hour, coalescing in an unoccupied space of your choice on a surface within 5 feet of you. The thing you create can be something that is worth no more than 100 gp. As part of this ritual, you must lay out metal, which can include coins, with a value equal to the creation. The metal irretrievably coalesces and transforms into the creation at the ritual’s end, magically forming even nonmetal parts of the creation. The ritual can create a duplicate of a nonmagical item that contains metal, such as a key, if you possess the original during the ritual} !ammo @{selected|character_id} class_resource -1 Channel Divinity In the future you can find the character ending the query early by copy pasting this into a text editor and seeing what the next character in the macro is at the end of that string. For the second part I noticed that the chat output for turn undead was "As an action" and looked at the macro and saw a comma coming after that string, meaning the query sees it as a comma that separates and answer from its description.
Jordan C. said: Oops, Looks like it's the commas causing an issue as well; here it is with them replaced with "," @{selected|wtype}&{template:atkdmg} {{rname=Channel Divinity}} {{range=30ft}} {{save=1}} {{saveattr=Wisdom}} {{savedc=[[[[(@{selected|spell_save_dc})]][SAVE]]]}} ?{Query 1|Turn Undead, As an action, you present your holy sym⁠bol and speak a prayer censuring the Undead. Each Undead that can see or hear you within 30 feet of you must make a Wisdom saving throw. If the creature fails its saving throw, it is **turned for 1 minute or until it takes any damage**. A turned creature must spend its turns trying to move as far away from you as it can, and it can’t willingly move to a space within 30 feet of you. It also can’t take reactions. For its action, it can use only the Dash action or try to escape from an effect that prevents it from moving. If there’s nowhere to move, the creature can use the Dodge action.|Artisan's Blessing, You can use your Channel Divinity to create simple items.You conduct an hour-long ritual that crafts a nonmagical item that must include some metal: a simple or martial weapon, a suit of armor, ten pieces of ammunition, a set of tools, or another metal object. The creation is completed at the end of the hour, coalescing in an unoccupied space of your choice on a surface within 5 feet of you. The thing you create can be something that is worth no more than 100 gp. As part of this ritual, you must lay out metal, which can include coins, with a value equal to the creation. The metal irretrievably coalesces and transforms into the creation at the ritual’s end, magically forming even nonmetal parts of the creation. The ritual can create a duplicate of a nonmagical item that contains metal, such as a key, if you possess the original during the ritual} !ammo @{selected|character_id} class_resource -1 Channel Divinity In the future you can find the character ending the query early by copy pasting this into a text editor and seeing what the next character in the macro is at the end of that string. For the second part I noticed that the chat output for turn undead was "As an action" and looked at the macro and saw a comma coming after that string, meaning the query sees it as a comma that separates and answer from its description. It works............But would there be a way for the text to be inside of the template, instead like a simple text in the chat?
Jay R. said: I'd say use a chat menu instead. That's what I do for any power list like Channel Divinity, Ki Features, etc. Example: &{template:npcaction} {{rname=Channel Divinity Powers}} {{description=[Abjure Enemy](~AbjureEnemy). Frighten one creature. [Oath of Vengeance](~OathofVengeance). Advantage against one creature for rest of combat.}} Good option as well 
1611427673

Edited 1611427710
Jordan C.
Pro
API Scripter
Yes it can use any temple. Same rules for escaping so something like @{selected|wtype}&{template:atkdmg} {{rname=Channel Divinity}} {{range=30ft}} {{save=1}} {{saveattr=Wisdom}} {{savedc=[[[[(@{selected|spell_save_dc})]][SAVE]]]}} &{template:traits} {{source=Channel Divinity}} ?{Query 1|Turn Undead, {{name=Turn Undead}} {{description=As an action, you present your holy sym⁠bol and speak a prayer censuring the Undead. Each Undead that can see or hear you within 30 feet of you must make a Wisdom saving throw. If the creature fails its saving throw, it is **turned for 1 minute or until it takes any damage**. A turned creature must spend its turns trying to move as far away from you as it can, and it can’t willingly move to a space within 30 feet of you. It also can’t take reactions. For its action, it can use only the Dash action or try to escape from an effect that prevents it from moving. If there’s nowhere to move, the creature can use the Dodge action.}}|Artisan's Blessing, {{name=Artisan's Blessing}}{{description=You can use your Channel Divinity to create simple items.You conduct an hour-long ritual that crafts a nonmagical item that must include some metal: a simple or martial weapon, a suit of armor, ten pieces of ammunition, a set of tools, or another metal object. The creation is completed at the end of the hour, coalescing in an unoccupied space of your choice on a surface within 5 feet of you. The thing you create can be something that is worth no more than 100 gp. As part of this ritual, you must lay out metal, which can include coins, with a value equal to the creation. The metal irretrievably coalesces and transforms into the creation at the ritual’s end, magically forming even nonmetal parts of the creation. The ritual can create a duplicate of a nonmagical item that contains metal, such as a key, if you possess the original during the ritual}}} !ammo @{selected|character_id} class_resource -1 Channel Divinity
Jordan C. said: Yes it can use any temple. Same rules for escaping so something like @{selected|wtype}&{template:atkdmg} {{rname=Channel Divinity}} {{range=30ft}} {{save=1}} {{saveattr=Wisdom}} {{savedc=[[[[(@{selected|spell_save_dc})]][SAVE]]]}} &{template:traits} {{source=Channel Divinity}} ?{Query 1|Turn Undead, {{name=Turn Undead}} {{description=As an action, you present your holy sym⁠bol and speak a prayer censuring the Undead. Each Undead that can see or hear you within 30 feet of you must make a Wisdom saving throw. If the creature fails its saving throw, it is **turned for 1 minute or until it takes any damage**. A turned creature must spend its turns trying to move as far away from you as it can, and it can’t willingly move to a space within 30 feet of you. It also can’t take reactions. For its action, it can use only the Dash action or try to escape from an effect that prevents it from moving. If there’s nowhere to move, the creature can use the Dodge action.}}|Artisan's Blessing, {{name=Artisan's Blessing}}{{description=You can use your Channel Divinity to create simple items.You conduct an hour-long ritual that crafts a nonmagical item that must include some metal: a simple or martial weapon, a suit of armor, ten pieces of ammunition, a set of tools, or another metal object. The creation is completed at the end of the hour, coalescing in an unoccupied space of your choice on a surface within 5 feet of you. The thing you create can be something that is worth no more than 100 gp. As part of this ritual, you must lay out metal, which can include coins, with a value equal to the creation. The metal irretrievably coalesces and transforms into the creation at the ritual’s end, magically forming even nonmetal parts of the creation. The ritual can create a duplicate of a nonmagical item that contains metal, such as a key, if you possess the original during the ritual}}} !ammo @{selected|character_id} class_resource -1 Channel Divinity It works, but it has a little problem..... it discount 2 uses instead 1 use on Channel Divinity when i click the macro......
1611439997
Kai
Sheet Author
@Rober - completely off topic - the map on your last screenshot looks great. What is it?
1611492677

Edited 1611492707
Kai said: @Rober - completely off topic - the map on your last screenshot looks great. What is it? Its a map from EightfoldPaper..... Put this in google merchantstorecollection battlemap , then go to images and it appears in a free version from EightfoldPaper.