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

Specific questions for Token macros

I've been using Taking20's token macros and they've been great. Having a few issues with custom/homemade monsters. I have a characters sidekick who has Second Wind. What I'd like is for when the player hit the "SecondWind" button, for it to auto roll and display the HP total. WHat do I need to add to this code? /w Aeri &{template:npcaction} {{name=@{selected|npc_name}}} {{rname=@{selected|repeating_npctrait_$6_name}}} {{description=@{selected|repeating_npctrait_$6_description}}} Also, the same sidekick has Battle Readiness (Advantage on Initiative). How do I add that to the "Initiative button" @{wtype}&{template:simple} {{rname=^{init-u}}} {{mod=@{initiative_bonus}}} {{r1=[[@{initiative_style}+@{initiative_bonus}@{pbd_safe}[INIT] &{tracker}]]}} {{normal=1}} @{charname_output}
dirty fix to second wind. simply adding /roll 1d10+8 does the auto roll after. Still working on initiative
Try changing the sheet to a PC sheet temporarily and then modifying the Initiative Style to be with advantage, then change it back to an NPC sheet. Otherwise, replace @{initiative_style} with 2d20kh1.
Changing to PC worked, didn't keep if switched back to NPC. keeping as PC seems to work with everything else, so I have my fix! Thanks!
There are a couple options for the Second Wind: 1. If you are creating a custom macro (as it looks like), you could add a clickable button to the macro: &{template:npcaction} {{name=@{selected|npc_name}}} {{rname=@{selected|repeating_npctrait_$6_name}}} {{description=@{selected|repeating_npctrait_$6_description} [Roll](!Result = [[
[[1d10+@{selected|npc_type}]] )} 2. You could include an inline roll in the macro: &{template:npcaction} {{name=@{selected|npc_name}}} {{rname=@{selected|repeating_npctrait_$6_name}}} {{description=@{selected|repeating_npctrait_$6_description} Result = ([[ [[1d10+@{selected|npc_type}]] ]])}} 3. Or you could adjust the trait's description to include the roll directly in the description field: The warrior can use a bonus action on its turn to regain hit points equal to 1d10 + its level ([[ [[1d10+@{selected|npc_type}]] ]]). I've put those in as 'blind rolls', but if you'd like to be able to see the actual rolls that are happening, just remove one set of [[ ]].  You won't be able to modify the initiative button to roll advantage for NPCs, but you could use this macro instead, and create a Token Action on the sidekick: @{selected|wtype}&{template:npc} @{selected|npc_name_flag} {{rname=^{init}}} {{mod=[[[[@{selected|initiative_bonus}]][DEX]]]}} {{r1=[[2d20kh1+[[@{selected|initiative_bonus}]][DEX] &{tracker}]]}} {{normal=1}} {{type=Initiative}}