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

Macro "Show Spell Description"

Hi All I'm starting to use Macros in my campaign, and these last few days I've made a macro for a spell attack and another one with the description (it's a homebrew spell). But I couldn't find a command to link them. While  the official spells use a link called "Show Spell Description". This is the spell attack macro:  @{wtype}&{template:atkdmg} {{mod=mod}} {{rname=Decadence}} {{r1=r1}} {{always=1}} {{range=Touch}} {{damage=1}} {{dmg1flag=1}} {{dmg1=?{Cast at what form? |Normal,[[2d8+2]]|Studied, [[3d8+3]]|True, [[8d8+8]]}}} {{dmg1type=Death}} {{save=1}}} {{saveattr= Constitution}} {{savedc=@{spell_save_dc}}} {{spelldesc_link=[Show Spell Description](???)}} Any help would be greatly appreciated.
1670093973

Edited 1670094077
Gauss
Forum Champion
First, is this the 5e by Roll20 sheet? If so, it is looking for the unique ID to the spell. Have you created the spell in the spells section?  If you create the spell in the spells section then fire that as an attack you can grab the unique spell ID from that and include it in your macro.  Example:  @{Testing|wtype}&{template:atkdmg} {{mod=+11}} {{rname=Magic Stone (Bonus Action) }} {{r1=[[@{Testing|d20}cs>20 + 5[WIS] + 4[PROF] + 2[SPELLATK]]]}} @{Testing|rtype}cs>20 + 5[WIS] + 4[PROF] + 2[SPELLATK]]]}} {{attack=1}} {{range=Touch}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d6[slashing] +?{Undead?|No,1d4|Yes,2d4}[radiant]]]}} {{dmg1type=Slashing & Radiant}} 0 {{dmg2=[[0]]}} {{dmg2type=Radiant}} {{crit1=[[1d6[slashing] +?{Undead?|No,1d4|Yes,2d4}[radiant][CRIT]]]}} {{crit2=[[0[CRIT]]]}} 0 {{desc=}}   {{spelllevel=cantrip}} {{innate=}} {{globalattack=@{Testing|global_attack_mod}}} {{globaldamage=[[0]]}} {{globaldamagecrit=[[0]]}} {{globaldamagetype=@{Testing|global_damage_mod_type}}} ammo= {{spelldesc_link=[Show Spell Description](~-Mt6th5lU5RA1H2xGMbK|repeating_attack_-Mt6eebFlxdZwV3sZXU6_spelldesc_link)}} @{Testing|charname_output}
tnxs for the explantion,  yes, it's a 5e homebrew spell. Can I do the same thing for two macros? My spell description template is a macro with some changes from the standard DnD 5e
1670108552
Gauss
Forum Champion
Renne said: tnxs for the explantion,  yes, it's a 5e homebrew spell. Can I do the same thing for two macros? My spell description template is a macro with some changes from the standard DnD 5e I don't think I quite understand, you want to use a macro instead of the spell for the spell description?  My suggestion: create the homebrew spell in the spells page, then use the macro to call it.  Alternately, create the homebrew spell in the spells page, then make the attack using that spell, click on the chat field, hit the up arrow, copy the text, then pull out the unique identifier for the spell description and put that in your macro.  Out of curiosity, is there a reason you are making a macro for this rather than creating the spell in the spells?
1670118156

Edited 1670170855
Gauss said: Renne said: tnxs for the explantion,  yes, it's a 5e homebrew spell. Can I do the same thing for two macros? My spell description template is a macro with some changes from the standard DnD 5e I don't think I quite understand, you want to use a macro instead of the spell for the spell description?  My suggestion: create the homebrew spell in the spells page, then use the macro to call it.  Alternately, create the homebrew spell in the spells page, then make the attack using that spell, click on the chat field, hit the up arrow, copy the text, then pull out the unique identifier for the spell description and put that in your macro.  Out of curiosity, is there a reason you are making a macro for this rather than creating the spell in the spells? It's a custom system with base in the 5e, but i'm going to do it. Thanks again for the help. Edit: I found a solution, in the command  {{spelldesc_link=[Show Spell Description](???)}}, i used the same command from the handouts (`#Name), and it worked, my attack macro is now connecting with my macro of the description.