This is probably a pretty niche issue- as I haven't encountered a game that I recall that does what I'm trying to do, so the best way to explain what I want to accomplish would be to explain my system.
In my game, hp will be called 'Vigor'.
Vigor will be not only a measure of health, but also physical energy.
A character's current vigor will gradually decrease over time, and as they preform strenuous activities to simulate them getting tired. (easy enough to do)
Taking damage will reduce maximum vigor to simulate actual wounds. (should still be relatively easy)
Resting and camping will restore current vigor, but not maximum vigor.
On the flip side, healing will restore maximum vigor, but not current vigor.
(again, not a large hurdle)
The problem I need to solve is allowing healing to restore maximum vigor without allowing the effect to increase the max beyond what it the character's actually maximum should be, without having that maximum be a static value- as it should be able to be increased by various effects and gear. (bonus gratitude if the solution includes a method of displaying current, adjusted maximum, and actual maximum)
If it helps, I have all of the Yanfly Engine Plugins installed.
Theoretically, using Buffs & States Core I could create a state that reduces max hp by 1, allow it to stack ludicrously high, and possibly convert enemy attacks to apply a number of stacks of this state = to the damage they would deal- but I imagine that would severely impact performance. (and I wouldn't know how to convert damage to stacks anyway)
Any help here would be appreciated.
In my game, hp will be called 'Vigor'.
Vigor will be not only a measure of health, but also physical energy.
A character's current vigor will gradually decrease over time, and as they preform strenuous activities to simulate them getting tired. (easy enough to do)
Taking damage will reduce maximum vigor to simulate actual wounds. (should still be relatively easy)
Resting and camping will restore current vigor, but not maximum vigor.
On the flip side, healing will restore maximum vigor, but not current vigor.
(again, not a large hurdle)
The problem I need to solve is allowing healing to restore maximum vigor without allowing the effect to increase the max beyond what it the character's actually maximum should be, without having that maximum be a static value- as it should be able to be increased by various effects and gear. (bonus gratitude if the solution includes a method of displaying current, adjusted maximum, and actual maximum)
If it helps, I have all of the Yanfly Engine Plugins installed.
Theoretically, using Buffs & States Core I could create a state that reduces max hp by 1, allow it to stack ludicrously high, and possibly convert enemy attacks to apply a number of stacks of this state = to the damage they would deal- but I imagine that would severely impact performance. (and I wouldn't know how to convert damage to stacks anyway)
Any help here would be appreciated.