moo-man / WrathAndGlory-FoundryVTT

The official system implementation for Warhammer 40,000 Roleplay: Wrath & Glory by Cubicle 7
GNU General Public License v3.0
15 stars 17 forks source link

Gamemasters Able To Modify Agent Experience #224

Closed Varelion closed 1 year ago

Varelion commented 1 year ago

This allows for the manual modification of total, spent, current experience by the Gamemaster on an agent sheet. The function for players is as it was before; they are not able to modify it.

moo-man commented 1 year ago

I'm going to close this but I encourage you to approach it again.

  1. Developing in the Foundry paradigm should never really include <script> tags.
  2. Allowing the GM to modify experience by simply allowing them to edit these inputs won't work. Experience is calculated based on items and Actor properties (skills, attributes). It is not a static value that is saved to the database. Therefore, editing it will achieve nothing as the real experience value will be calculated and overwrite your change.
  3. Recommended Approach: You will need a separate data field on the Actor, e.g. experienceModifier, that will have its own associated editable input. This value should then be factored in during experience calculation.

If you have questions or want to bounce ideas around, you are free to use the Discord.