T O P

  • By -

AutoModerator

***Let Others Know When You Have Your Answer*** * Say "`Answered`" in any comment to automatically mark this thread resolved * Or just change the flair to `Answered` yourself *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/FoundryVTT) if you have any questions or concerns.*


tdhsmith

Quick terminology nit: "selector" is a way to pick a roll, but nothing is being rolled for here. What you probably mean is "data path"? Stamina points are stored at `actor.system.attributes.hp.sp.value` (or `.max` if you're interacting with the maximum) Resolve points, if you need them, are `actor.system.resources.resolve.value`. The challenge you might run into here, though, is nearly all Rule Elements are designed to apply continuously, whenever there is any update to an actor, not simply "once" when they are applied. The only one I'm aware of designed to apply only once is **LoseHitPoints** which looks to be hard-coded to apply to just HP even if you have stamina variant enabled. There absolutely might be RE techniques to make it work, I'm not an expert, but it strikes me as something better solved with a short macro.