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

Arcane Recovery Macro

Question about Arcane Recovery Macro.  I have a macro that doesn't work quite right..... the Wizard 4th level character has 2 slots to recover for Arcane Recovery. I have put it in the resource_class box. What I want is that when I click on the macro, it automatically deducts those 2 slots from the resource_class. Then the character manually adds the slots in the character sheet spells, no problem with that.  The only way I can think of is to subtract 2, and every time the level is increased by 2 modify the macro and subtract 3, then 4 and so on. I don't know if there is a way to configure the macro without tweaking it every 2 levels. !ammo @{selected|character_id} class_resource -2 Arcane Recovery (for example) This is my code &{template:atkdmg} {{normal=1}} {{mod=Frantz}} {{rname=ARCANE RECOVERY }} {{dmg1=[[@{class_resource}-@{class_resource|max}]]}} {{dmg1type=slots left}} {{desc=You have learned to regain some of your magical energy by studying your spellbook. Once per day when you finish a short rest, you can choose expended spell slots to recover. The spell slots can have a combined level that is equal to or less than half your wizard level (rounded up), and none of the slots can be 6th level or higher. For example, if you're a 4th-level wizard, you can recover up to two levels worth of spell slots. You can recover either a 2nd-level spell slot or two 1st-level spell slots.}}  !ammo @{selected|character_id} class_resource -class_resource|max Arcane Recovery
1611938734

Edited 1611938807
I remake the macro..... as &{template:desc} {{desc=You have learned to regain some of your magical energy by studying your spellbook. Once per day when you finish a short rest, you can choose expended spell slots to recover. The spell slots can have a combined level that is equal to or less than half your wizard level (rounded up), and none of the slots can be 6th level or higher. For example, if you're a 4th-level wizard, you can recover up to two levels worth of spell slots. You can recover either a 2nd-level spell slot or two 1st-level spell slots.}}  !ammo @{selected|character_id} class_resource -2 Arcane Recovery With this macro i need to manually change every 2 wizard level increasing by 1 in the !ammo section. But it works as well. 
<a href="https://wiki.roll20.net/D%26D_5e_by_Roll20_Roll_Templates#Attack_.26_Damage" rel="nofollow">https://wiki.roll20.net/D%26D_5e_by_Roll20_Roll_Templates#Attack_.26_Damage</a> I'm not sure about the Ammo script, as I don't use it.&nbsp; But it looks like you have an extra carriage return between the end of the description and the !ammo call.&nbsp; For the {{dmg1}} and {{dmg1type}} to display, you also need to include&nbsp;{{dmg1flag=1}}.