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 .
×

2nd ed AD&D repeating spell macro

Looking to make a spell macro, can I do this by calling them from the character sheet? Not able to figure out the numbering aspect for @{repeating_spells_$0_cast-macro} in the same column.
Did you do a search here on the forums? There are tons of macros for this here on the forums.
I've looked but nothing came up on my search terms...
1545684640

Edited 1545684754
vÍnce
Pro
Sheet Author
Alex said: Looking to make a spell macro, can I do this by calling them from the character sheet? Not able to figure out the numbering aspect for @{repeating_spells_$0_cast-macro} in the same column. Given "$X", X will represent the repeating row number you are trying to reference. Before roll20 started creating unique id's for each repeating item, you had to include a row number to pull attribute data from a repeating entry.  This can be problematic since you can rearrange repeating entries.  If you are using $0 in your macro, it will always pull from the first row(row numbers start at 0 btw) of the repeating section.  $1 =row 2, $2=row 3, $3=row 4, etc. id's are much better.  e.g. @{repeating_spells_-lqsqslmifquf6hkrv0o_cast-macro} since the id never changes.  Some sheet's make the id available on the sheet, otherwise you would have to use the browser's inspect element feature to try and discern the id from the data-reprowid entry. Apologies if I made this overly complicated. ;-P
Nope, this is something my buddy just gave me as well.. thanks!!