Hello makers !
One of my pillars on wich my game is buildt is that the heroes don't gain stat by leveling up, only spells and specialization. Therefore, the player can upgrade his character with some "permanent upgrade to stat item" (I called them Tomes, but in games like Dragon Quest they're Seeds, like this : http://dragonquest.wikia.com/wiki/Seed_of_strength)
The problem is, the more the player advance the more mates he'll have, I don't want him to spend all of his seed/tomes randomly too soon and be sad after.
So I'd need to create a place in my game, where the player can have his used Tomes back, and reset his stat boost.
I was thinking about incrementing a variable each time he use a book (depending of the book type), and then when he want to reset, set his stat directly to base ones (not lowering it, cause i'd demand to check on who the book have been used) and refilling all of the books.
Do you think it could work or do you see any easier method (with or without plugins) ?
One of my pillars on wich my game is buildt is that the heroes don't gain stat by leveling up, only spells and specialization. Therefore, the player can upgrade his character with some "permanent upgrade to stat item" (I called them Tomes, but in games like Dragon Quest they're Seeds, like this : http://dragonquest.wikia.com/wiki/Seed_of_strength)
The problem is, the more the player advance the more mates he'll have, I don't want him to spend all of his seed/tomes randomly too soon and be sad after.
So I'd need to create a place in my game, where the player can have his used Tomes back, and reset his stat boost.
I was thinking about incrementing a variable each time he use a book (depending of the book type), and then when he want to reset, set his stat directly to base ones (not lowering it, cause i'd demand to check on who the book have been used) and refilling all of the books.
Do you think it could work or do you see any easier method (with or without plugins) ?