Changing variables dependent on actor affected

Nashtya

Warper
Member
Joined
Jul 26, 2015
Messages
3
Reaction score
1
First Language
English
Primarily Uses
Hi all! New to the forums here but hoping I can get some help!  


I'd like to know how I'd be able to do the following during battle: 


When actor A uses a certain skill (which we'll call Skill5 for fun) on one of the other actors, it changes a variable that is dependent. For example, my variables would look like this:


001 Actor A's Variable


002 Actor B's Variable


003 Actor C's Variable


etc...


So if Actor A used a skill on Actor B, it would change Actor B's Variable, or variable 002, by -1


I'm using a few Yanfly plugins, including YEP_SkillCore, which in lunatic mode almost has what I'm looking for but alas I am no lunatic and have no idea how I'd implement it where it is determined by who is being effected.  Here is a snippet from the plugin which I think is useful: 


Example: <Custom HP Cost>


code cost += $gameVariables.value(1);


code </Custom HP Cost>


</Custom HP Cost>


Any help is greatly appreciated!!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Either I just had one of those dreams where you think you're awake, or I have time traveled. I woke up at 6:58am this morning, heard my father leaving for work, laid back down, now its 1:16am.
So the overhaul on my project has been going great, I like this version of the project a lot more. It's more contained and less overly ambitious for what I can achieve given my constraints on time, money, and skills in advanced programming. I'm going to wait till my project is mostly finished to begin working UI polish again. I'm going to learn how to use LUNA MV to polish the project.
last time i used this site i was a different gender.. wow rlly makes u think... anyway transing ur gender is pretty cool and theres hair growing on my feet now 10/10
I should have listened to RPGMAKER Meme thread. I should have backed up my data. The Orphan of Time, my WIP, is completely gone, all those hours of work are completely gone :(
God what was my life before smartphones (I had a grandma's phone before wednesday)

Forum statistics

Threads
93,381
Messages
911,847
Members
122,883
Latest member
TEKILAO
Top