Hellow everybody!
I'm trying to make a "Hungry" status for my actors. This stat will buff or debuff their power during the battle. So, to fill this stat, the actor need to eat food. I made variables to each actor to set their hungry status, and put it on the main menu using some Yanfly's plugins.
Now, I'm trying to make these foods to heal the hungry variable of the actor who eat it, but im gotting troubles with the code. I think it should be something like this:
When the actor uses an apple on himself or an ally:
Check if the target is the actor(1):
then increase +10 (for exemple) in the variable 0011;
else
if the target is the actor(2)?
then increase +10 in the variable 0012;
else
...[and there it goes].
Is there someway to made it?
I'm trying to make a "Hungry" status for my actors. This stat will buff or debuff their power during the battle. So, to fill this stat, the actor need to eat food. I made variables to each actor to set their hungry status, and put it on the main menu using some Yanfly's plugins.
Now, I'm trying to make these foods to heal the hungry variable of the actor who eat it, but im gotting troubles with the code. I think it should be something like this:
When the actor uses an apple on himself or an ally:
Check if the target is the actor(1):
then increase +10 (for exemple) in the variable 0011;
else
if the target is the actor(2)?
then increase +10 in the variable 0012;
else
...[and there it goes].
Is there someway to made it?
