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

Help with Wildfire Spirit (D&D 5e 2014)

Hi folks,

To help my player keep track of their Wildfire Spirit, I'd like to link the following to their character sheet. I've never done this before so I would appreciate a little bit of hand holding, please and thank you.

These are the attributes/abilities:

  • level (Hit Points 5 + five times your druid level)
  • spell_attack_mod (Attack: + your spell attack modifier to hit)
  • ph (1d6 fire damage. + PB)
  • spell_save_dc (Dexterity saving throw against your spell save DC)

I've taken a look at the complete guide to macros & rolls wiki and the section on character attributes but I'm confused on how I actually add it to the NPC stat block.

Thanks so much for the help :)

January 25 (2 weeks ago)

Edited January 25 (2 weeks ago)
As far as the numbers on the npc actions go, these are simple - you just have to input them as @{character name|spell_attack_mod}, @{character name|pb}, @{character name|spell_save_dc} on the npc action entry. As these are resolved in chat, the attribute calls are directed to the character named in the left side of the call. The HP you'll need someone else to help with, as automatically setting the hp goes beyond macros into scripting territory.
EDIT: Just clarifying, replacing the "character name" with the name of the character controlling the spirit.
January 25 (2 weeks ago)

Edited January 25 (2 weeks ago)
Gauss
Forum Champion

The NPC sheet has no method for calculating HP, you will need to use an API Script such as ChatSetAttr to update HP every time the character levels up. 

The rest Tuo explained. 

If you are going to use ChatSetAttr to level up HP then here is how you do that: 

Create an Ability called level, put the following in that ability.
Note: change the "WildfireSpirit" name to the name you have for the character and "charactername" to the name of the Druid. 

!setattr {{--name WildfireSpirit --hp|[[5+5*@{charactername|level}]]|[[5+5*@{charactername|level}]]}}

Next, on the NPC sheet, left side add an ability. Call it Level. 
In the body place the following: 
[Press me to level up]](~WildfireSpirit|Level)
Note that again you need to rename "WildfireSpirit" to the appropriate name. 

Now your player has a way to automatically level up the WildfireSpirit. 

Thanks so much, Tuo and Gauss! I got all the macros working. I didn't get the health working yet but you set me in the right direction. I really appreciate it :)