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

Spells Macro Button

1617579971

Edited 1617580004
Scott
Plus
I was reviewing this older you tube video, From the Taking20 Channel. <a href="https://www.youtube.com/watch?v=rrbqdkGIa00&amp;list=PL4ihyL-PTq4N5DRmy72zCqD1eQhnqaCTphttps://www.youtube.com/watch?v=rrbqdkGIa00&amp;list=PL4ihyL-PTq4N5DRmy72zCqD1eQhnqaCTp" rel="nofollow">https://www.youtube.com/watch?v=rrbqdkGIa00&amp;list=PL4ihyL-PTq4N5DRmy72zCqD1eQhnqaCTphttps://www.youtube.com/watch?v=rrbqdkGIa00&amp;list=PL4ihyL-PTq4N5DRmy72zCqD1eQhnqaCTp</a> Check out the timestamp around 19:44 He's using a Macro to auto cast spells from a creature, but it looks to me like the spell casting sheet for NPCs has been revised from what is in this older video. His Macro would be something like this: %{selected|repeating_spell-npc_$0_spell} Is there a way to make this work for the current formatting of spells for NPCs in Roll20? The list is obviously changed from the video. Unless that was something specific to a setting I used? I checked the box for "Spellcasting NPC". I went an unchecked it just now and did not see how to add spells to the sheet in that older format used.
1617582916
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
You are just missing the spell level, and there is no -npc involved. Try: %{selected|repeating_spell-1_$0_spell} That&nbsp; spell-1 &nbsp;needs to be incremented according to the level being called. However, you might be interested in a much simpler method of accomplishing what you are looking for: NPC Statblock Chat Menu for D&amp;D 5e sheet — No API required! It takes only a few moments to set up and covers all monsters in the campaign. There is a spellblock macro later in the thread.
Thankyou.&nbsp; You have changed my game forever. I was spending much time building character entries and cleaning up the default macros copied from Template characters. I will never need to do that again, this feels life changing. I cannot express my appreciation enough!
1617770794
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
This makes me happy. :)
I just have to go back now and clean up a stack of per character macros that I had added.