Jakob said: Jerry F. said: Completely lost how to get this work in Shaped like it did in OGL. Okay, first you'll want to create a new item in the equipment section called "Staff of Healing". Give it some uses (however many charges the Staff of Healing has). Find out its row id (e.g. -KbFI1CvPYgpQEOMsWgZ - I'll use this for the remainder, although your id will be different). Then the macro for e.g. Mass Cure Wounds looks like this: @{output_option} &{template:5e-shaped&# 125;{{title=Mass Cure Wounds&# 125;&# 125;{{range=60 ft&# 125;&# 125;{{trait=1&# 125;&# 125;{{heal=[[3d8]]&# 125;&# 125; {{uses=@{repeating_equipment_-KbFI1CvPYgpQEOMsWgZ_uses}&# 125;&# 125; {{uses_max=@{repeating_equipment_-KbFI1CvPYgpQEOMsWgZ_uses|max}&# 125;&# 125;
!setattr --charid @{character_id} --modb --repeating_equipment_-KbFI1CvPYgpQEOMsWgZ_uses&# 124;-5 --silent
Basically, replace other_resource with repeating_equipment_-KbFI1CvPYgpQEOMsWgZ_uses and adapt to the roll template. Cure Wounds is analogous. For Lesser Restoration, since it is a full spell, I'd do something like @{output_option} &{template:5e-shaped&# 125; {{title=Lesser Restoration&# 125;&# 125; {{spell=1&# 125;&# 125; {{spell_level=^{2ND_LEVEL&# 125;&# 125;&# 125; {{school=^{ABJURATION&# 125;&# 125;&# 125; {{casting_time=^{1_ACTION&# 125;&# 125;&# 125; {{range=Touch&# 125;&# 125; {{components=^{COMPONENTS_V_S&# 125;&# 125;&# 125; {{duration=^{INSTANTANEOUS&# 125;&# 125;&# 125; {{content=You touch a creature and can end either one disease or one condition afflicting it. The condition can be blinded&# 44; deafened&# 44; paralyzed&# 44; or poisoned.&# 125;&# 125;
!setattr --charid @{character_id} --modb --repeating_equipment_-KbFI1CvPYgpQEOMsWgZ_uses&# 124;-2 --silent There's probably a typo or two in here. Make sure to remove the spaces like in Kyle's answer. This is what Kyle created for the OGL sheet that Jakob is referring. Kyle G. said: Here's what I would do for the Staff of Healing. I would break the Staff into 3 parts. This first part is to create 3 ability macros for the different options that the staff can be used for (Cure Wounds, Lesser Restoration, Mass Cure Wounds), and make sure that they not only roll the healing (or output the effect in the case for Lesser Restoration) but also subtract the correct number of charges (Cure Wounds can be a value between 1 and 4, while the others are static). Once those three are done You should convert all of the "|", ",", and "}" characters inside the ability macro that are not attached to a @{}, %{}, or #{} into their HTML equivalent "&# 124;", "&# 44;", and "&# 125;" respectively (I added a space between the &# and the number so that the roll20 forum didn't convert it into the symbol) (this is because you want to have these macros be called within a macro query. See here for more information as to why). Finally create the macro that will prompt the player as to which action they want to use. In order to call the other ability macros, you will HAVE to use either the character's name or id in the call (For example, %{Testing|Cure-Wounds}, %{@{character_id}|Cure-Wounds} unfortunately is not possible. Here are the final products for the ability macros (I verified that they work in my campaign so it should work for you to just copy paste the macros) (I again added the space between the &# and the number so that you could see where they were needed, be sure to remove the space before testing otherwise they will not work properly.) Query macro /em using Staff of Healing
?{Staff of Healing|Cure Wounds,%{Testing|Cure-Wounds}|Lesser Restoration,%{Testing|Lesser-Restoration}|Mass Cure Wounds,%{Testing|Mass-Cure-Wounds}} Cure Wounds macro @{wtype}&{template:dmg&# 125; {{rname=Cure Wounds&# 125;&# 125;{{range=Touch&# 125;&# 125;{{damage=1&# 125;&# 125;{{dmg1flag=1&# 125;&# 125; {{dmg1=[[1d8+[[@{spellcasting_ability}]]]]&# 125;&# 125; {{dmg1type=Healing&# 125;&# 125;{{hldmg=[[[[(1*{(?{Charges&# 124;1&# 124;2&# 124;3&# 124;4&# 125;-1)&# 44;@{other_resource}&# 125;kl1)]]d8]]&# 125;&# 125;
!setattr --charid @{character_id} --modb --other_resource&# 124;-?{Charges&# 125; --silent
Lesser Restoration macro @{wtype}&{template:spell&# 125; {{level=abjuration 2&# 125;&# 125; {{name=Lesser Restoration&# 125;&# 125; {{castingtime=1 action&# 125;&# 125; {{range=Touch&# 125;&# 125;{{v=1&# 125;&# 125; {{s=1&# 125;&# 125;{{duration=Instantaneous&# 125;&# 125;{{description=You touch a creature and can end either one disease or one condition afflicting it. The condition can be blinded&# 44; deafened&# 44; paralyzed&# 44; or poisoned.&# 125;&# 125;
!setattr --charid @{character_id} --modb --other_resource&# 124;-2 --silent
Mass Cure Wounds macro @{wtype}&{template:dmg&# 125;{{rname=Mass Cure Wounds&# 125;&# 125;{{range=60 ft&# 125;&# 125;{{damage=1&# 125;&# 125;{{dmg1flag=1&# 125;&# 125;{{dmg1=[[3d8]]&# 125;&# 125;{{dmg1type=Healing&# 125;&# 125;
!setattr --charid @{character_id} --modb --other_resource&# 124;-5 --silent
Jakob really tried to help me create the Staff of Healing but I'm still lost I don't know where to create the item and then I don't know where to put the macros so they can be used. Also is there a way to create this item so that it queries which spell you want to use? It's all extremely confusing to me. Even after reading all the documentation I don't know where to begin or how to finish. This will help me a ton in getting to where I can recreate the homebrew magical items I have crafted in my game before making the copy switch to Shaped. I really love Shaped and I want to know how to use it even better. On the topic of uses how do you get the sheet to use say channel divinity from one of the powers associated with Channel Divinity, like turn undead. I want to be able to click Turn undead trait and use one of the channel divinities.