Varsuuk
June 22nd, 2016, 01:33
While setting up a ChallengeRating helper class to validate valid CR values on input. As shown in the tables the XP value for a creature is a function of that.
Is the individual NPC's XP *always* intended to be a function of CR? (I don't mean adjusted encounter ratings or the like, I mean the MM CR values...)
If so, then I would prefer to not even look at the inputted XP value with npc.txt since it only opens up an opportunity for a typo or other user-error.
Along the same vein, I already did something like this for the Ability Scores line where I only read the scores not the mods and simply output in the XML the "proper" mod +/- values. Now, as I type this, I wonder if people ever adjust these to NOT reflect the normal (Score / 2) - 5 calculation. Or (hopefully) if one wants an NPC to have STR of 14 BUT with a Mod of +4 because of some special-to-the-npc "thing", that they would instead just give the NPC some ability/trait/etc that confers the +x to Ability feature instead... but I suspect simply modifying the Mod in parens is much easier for FG to work with.
If this is something anyone does or we think might be done... maybe I will change my code to simply output a warning note when the calculation doesn't match the input to make sure you meant it that way.
Is the individual NPC's XP *always* intended to be a function of CR? (I don't mean adjusted encounter ratings or the like, I mean the MM CR values...)
If so, then I would prefer to not even look at the inputted XP value with npc.txt since it only opens up an opportunity for a typo or other user-error.
Along the same vein, I already did something like this for the Ability Scores line where I only read the scores not the mods and simply output in the XML the "proper" mod +/- values. Now, as I type this, I wonder if people ever adjust these to NOT reflect the normal (Score / 2) - 5 calculation. Or (hopefully) if one wants an NPC to have STR of 14 BUT with a Mod of +4 because of some special-to-the-npc "thing", that they would instead just give the NPC some ability/trait/etc that confers the +x to Ability feature instead... but I suspect simply modifying the Mod in parens is much easier for FG to work with.
If this is something anyone does or we think might be done... maybe I will change my code to simply output a warning note when the calculation doesn't match the input to make sure you meant it that way.