First of all new event system, yay! It’s awesome.
Second of all, I have an event with a character graphic that all it does is when you activate it with CTRL it will give you an option to restore HP or MP. They restore to max, which is what I want, but I have an MP regen of -1, which appears to go away with Restore MP. I’ve been looking at code, but I don’t understand why, because it doesn’t seem to alter VitalRegen at all. Any ideas?
EDIT: Nevermind, figured it out.
If anyone was curious of how I fixed it I changed ev.RestoreMP.
Case EventType.evRestoreMP SetPlayerVital i, MP, GetPlayerMaxVital(i, MP) SendVital i, MP
Case EventType.evRestoreMP SetPlayerVital i, MP, GetPlayerMaxVital(i, MP) + GetPlayerVitalRegen(i, Vitals.MP) SendVital i, MP