Okay, through research and reading, I came up with a way for my non-mage characters to refuse an MP restore potion.
I found a thread suggest that the item inflicts an unnamed state and launches a common event which checks the characters for that state. If the non-mage has the state, they will refuse is and the item is given back to inventory, then the state is removed.
It actually works surprisingly well.
So, here's my problem.. it only works in battle using action sequences, for the full effect (character does item use pose, animation appears with the popup value of the MP restored). I'm well aware this problem would go away if I didn't have to do it my way and emulate what the engine would do if you were to just simply use the item with built in effects. But I'm not making a low-effort game here lol
What I'm getting at is the item can't do anything for a magic user from the menu screen. The refusal for a non-magic user works fine, since that is just a buzzer sound followed by a refusal dialogue from them. Is it possible to check if the item has been used from the menu screen?
If I can't make this work, I'm afraid my last resort will be to have the MP restore potion wasted if the player accidentally (or intentionally) gives it to a non-mage.
I found a thread suggest that the item inflicts an unnamed state and launches a common event which checks the characters for that state. If the non-mage has the state, they will refuse is and the item is given back to inventory, then the state is removed.
It actually works surprisingly well.
So, here's my problem.. it only works in battle using action sequences, for the full effect (character does item use pose, animation appears with the popup value of the MP restored). I'm well aware this problem would go away if I didn't have to do it my way and emulate what the engine would do if you were to just simply use the item with built in effects. But I'm not making a low-effort game here lol
What I'm getting at is the item can't do anything for a magic user from the menu screen. The refusal for a non-magic user works fine, since that is just a buzzer sound followed by a refusal dialogue from them. Is it possible to check if the item has been used from the menu screen?
If I can't make this work, I'm afraid my last resort will be to have the MP restore potion wasted if the player accidentally (or intentionally) gives it to a non-mage.