My apologies if the title is a little vague but I'm not exactly sure how to concisely request what I'm looking to do.
In my current project, one of the early party members starts the game as an undead character. In order for him to continue living he has to collect souls, which he does by defeating enemies in battle.
These are the functions I want to implement:
-upon recruitment, starts with X "soul"
-entering into a battle causes -1 soul
-walking X amount of steps outside of battle causes -1 soul
-every X seconds in battle causes -1 soul (may cut this idea)
-upon defeating a non-undead, non-machine enemy, he is granted +1 soul
-Soul may be used as a resource for this characters skills, in lieu of MP.
-When soul reaches 0, HP is set to critical (possibly cut stats as well, but currently not necessary) and cannot be healed above that threshold while Soul is at 0
-there will be an accessory and a weapon that, when equipped, increases Soul accrual by +1 and +2 respectively.
-a gauge or something to visually represent the current amount of soul, preferably visible in menu and in battle
I've messed around with things like increasing/decreasing variables, but I can't seem to figure out a way to tie it all together and make it work.
It seems to me this might require a custom plugin to accomplish, but if there is anything I can do with the default tools, that would be preferred.
Any help/advice at all would be greatly appreciated.
Thanks in advance!
In my current project, one of the early party members starts the game as an undead character. In order for him to continue living he has to collect souls, which he does by defeating enemies in battle.
These are the functions I want to implement:
-upon recruitment, starts with X "soul"
-entering into a battle causes -1 soul
-walking X amount of steps outside of battle causes -1 soul
-every X seconds in battle causes -1 soul (may cut this idea)
-upon defeating a non-undead, non-machine enemy, he is granted +1 soul
-Soul may be used as a resource for this characters skills, in lieu of MP.
-When soul reaches 0, HP is set to critical (possibly cut stats as well, but currently not necessary) and cannot be healed above that threshold while Soul is at 0
-there will be an accessory and a weapon that, when equipped, increases Soul accrual by +1 and +2 respectively.
-a gauge or something to visually represent the current amount of soul, preferably visible in menu and in battle
I've messed around with things like increasing/decreasing variables, but I can't seem to figure out a way to tie it all together and make it work.
It seems to me this might require a custom plugin to accomplish, but if there is anything I can do with the default tools, that would be preferred.
Any help/advice at all would be greatly appreciated.
Thanks in advance!