Hello
I wanted to make a state that makes an actor unable to recover MP ...
I would like to make something like "guns reload" but player can still consume an apple without recovering MP (ammunition if weapon equiped)
Anyone can help me? I would like to make it impossible to regain Mp and thats it... So that actor can still eat something but can't regain MP that way.
Well, probably the most global way is to set all MP recovery items and skills to have a condition in their formula that if that state is present, the amount is set to zero. There are probably fancier and more granular ways to do it, but that's it.
An alternative is to create an Element reserved for MP restore, and have the state set MP Gain Element rate to 0%. I just tested this using an unused element in my game, and it seemed to work.
It gets trickier if you want to stop MP regeneration, if that exists in your game.
Ok sorry about that...
I found a way with 75% success rate
So... I made that state for mp regeneration rate -100% and I added it into the "gun reload" skill, 1st state is removed, 2nd mp is regenerated, 3rd state is once again added... And here comes that 25% fail rate... I can't apply this state into weapon/actors traits, so for first try, those guns would be normal skills
Even if I set that state for a world event... Dead actors would lose that state...
I can't find a way around it...
NVM this does not work...
I'm stupid, and I did not notice that I was using "unable to use some items" plugin ... Yes... I set an MP regeneration item with plugin that most characters can't use them and I was using actor that was one of them ;-;
So I think we're back to a Comment Event that sets a variable = MP for that actor, and then sets MP = to that variable if they have that state.
EDIT: You may also want to look into making bullets an item, and using event commands or plugins to consume them. Or setting a variable for each actor, bullets, separate from MP. That is, if you want to remove substantial parts of MP functionality while leaving it in place for other characters.