Hello, everyone. I am using RPGMV.
I was wondering if I could change a specific variable while using an Item.
For example, In my game, there is an affection system. Certain actions of the player can rise the affection of certain party members.
For example, I have a part member A and a party member B.
I set one variable for each member, Affection A, and Affection B.
I also named the luck stat 'Affection' so players can check whenever they want for affection status.
Whenever an event occurs to A, it will raise both variable Affection A and the luck stat named "Affection" by the same amount.
However, I also want to create an Item that raises affection. I made it increase luck stat "affection" by 5, but how do I make it increase variables?
Moreover, I want to make it so if the player uses the item on A, it increases variable Affectin A, if use it on B, then it increases variable affection B. So the Stats showed in the menu match the Affection Variable set for each character.
Thank you for your time, Have a nice day!
I was wondering if I could change a specific variable while using an Item.
For example, In my game, there is an affection system. Certain actions of the player can rise the affection of certain party members.
For example, I have a part member A and a party member B.
I set one variable for each member, Affection A, and Affection B.
I also named the luck stat 'Affection' so players can check whenever they want for affection status.
Whenever an event occurs to A, it will raise both variable Affection A and the luck stat named "Affection" by the same amount.
However, I also want to create an Item that raises affection. I made it increase luck stat "affection" by 5, but how do I make it increase variables?
Moreover, I want to make it so if the player uses the item on A, it increases variable Affectin A, if use it on B, then it increases variable affection B. So the Stats showed in the menu match the Affection Variable set for each character.
Thank you for your time, Have a nice day!