[VX ACE] LUNATIC STATES: RESTORE 1 MP

Posts

Pages: 1
unity
You're magical to me.
12540
It's time for another episode of "unity and Code Problems!" :P

I'm trying to create a ring that restores exactly 1 MP per turn. I may be going about this is the most round-about way possible, but I'm using Yanfly's Lunatic States and having the ring put a state on the actor.

I'm not exactly sure how this would work. I tried putting "<close effect:self.mp+1>" in the states' notes, but it doesn't seem to work.

So my question is 1) Is there a better way to do this than with Lunatic States? And 2) If not, how would I do it with Lunatic States?

Thanks very much in advance. I know I ask for code help a lot, and I want to say thanks very much for being patient with me. I have trouble with all this ^^;;
Marrend
Guardian of the Description Thread
21806
From the reference I'm looking at, it looks like it could be either...

<close effect>
self.mp + 1
</close effect>

...or...

<close effect>
self.mp =+ 1
</close effect>

...but I could totally be wrong.

*Edit: Second option just plain looks better to me, code-wise. Since, you know, that is the code that would normally increment an actor's mp by one. However, first option could also be a thing as far as I know.

*Edit2: Well, I guess...

<close effect: self.mp =+ 1>

...could be the code you wanted to input in the first place?

*day-later-Edit3:

Maybe <close effect: self.mp += 1>? It's one of these bloody things!
Pages: 1