Closed wintersleepAI closed 3 years ago
ok made the changes. there is a later PR that will change this functionality slightly, it will only roll the HD on token create, if the HP max has not been changed or if the hitdice button was not pressed. it works by adding a flag to the rollHitDice function and storing a flag in the actor data saying HP was set. I did a poor job and put that commit in another branch so I will keep it to that PR instead of trying to cram too much in here.
Added HD to the NPC template and spot on sheet for editing HitDice. A button on the sheet will roll health based on hit dice or will auto set when the npc (check if type is NPC in the hook) is created (dragged to scene). If no HD is set, this does not roll.
Small QoL edit on damage rolls to add a title/hover that gives the things used for rolling hits/damage.