RMcD said: The rolls for HP are public, if you choose to include the rolls (the other RandomHP on the forum doesn't) it would be nice if it was hoverable like the [[]] boxes, and if you've decided to go with average it should say like /gm rolled [[HP ROLL]], too low so HP [[AVERAGE CALCULATION]]. At the moment for a goblin I'm just getting the average of 7 back for half my rolls and it's not really telling me much by giving that information. OK, sending HP roll to chat is definitely not something we want :)
Update script again to correct this, and also show orginal result if you use
the minHp oprion and your roll was lower. It's obviously something you can change but IMO having the average as the minimum is silly because the enemies are just going to be harder, I would suggest that the other API had it right in that a range of minimum 1/3rd of max to max hp is best, providing variation rather than just making them harder. I'm thinking about changing this option from boolean(true/false) to a
percentage, but I dont understand the 1/3 thing that give you more variation.
Is it a range of 1/3 below average and 1/3 over avegrage?
My formula take into account the number of hitDice and CON modifier has if you
rolled the creature HP by the rule. So the variation was not has big has if, for
exemple, the roll take any random number between [Average hp] - 1/3 AND [Average
hp]. When it automatically fills the token bars it makes them all min and max, so for example on a skeleton that has AC 13, HP 13, PP 9 it does 9/9, 13/13, 13/13. That is wanted. If value change, you want to know the original (like HP)
but if not, that dosen't break anything to have the max set anyway. It also simply takes the numbers from there rather than making the token use the bar link instead, while I can understand people wanting it different I think the default should be have the token linking to the char sheet at least for AC and PP which is highly unlikely to change on a token to token basis. No, because creature are not unique. Linking bar to character is
something you want for Player character, or unique NPC only.
If you set the token bar value before setting the token as default for that character
sheet, every time you add this character, it will have those value set anyway,
so I don't see the point about linking, except if you wan't problem later if you change
the value from the token or the character sheet. I don't know if it did it before because now that I think about it I never checked but the name of the token isn't filled in from the character sheet, some people like show name plate to be on even with the fact that the token should represent it. Good point here. Updated to set the name of token now. I also got this back in the code, didn't do anything but I just saw it while looking at the log ""ERROR: You cannot set the imgsrc or avatar of an object unless you use an image that is in your Roll20 Library. See the API documentation for more info.", suppose that's about setting the profile picture thing then. Yep Thanks for the work you do for free