Can make passive skill when another actor in battle (YEP)

I want passive or buff skill only in battle.

actually i want it this

in my game Actor has 50 more. Let's say A,B,C,D,E......Z

If actor A,B,C,D in the battle, and actor A has 50 attack.
but actor G or H in the battle, at begin or intervening during battle
the actor A has buff or state up attack 50 up during battle.

it can make it?

and one more thing.

the there is buff skill the only have Actor B,
and i want this skill only available Actor A

i mean can't choose other actors

is this can make it too?
Hey dude. Sorry, please let me know if I understand:

1. You want to create a State (let's say, State A), and if an actor has that State, if another specific actor enters the battle, that specific actor will receive an Attack bonus.

and

2. You want to make a Skill that affects an ally and add a Buff, but it can only target a specific actor.

It is?
If 'yes' and if you are using Yanfly Plugins, I think so.

1. The actors who receive the attack bonus when entering the battle must have a passive state such as:

<Custom Battle Effect>
// Check if any allies have an A status
var members = user.friendsUnit().aliveMembers();
for (var i = 0; i <members.length; ++ i) {
var member = members;
if (member.isStateAffected(x)) { // x is the ID of state A
user.addState(y); //user gain through state y
}
}
</Custom Battle Effect>

And the actors that must be present for the other actors to receive the bonus, just add a passive state A (id x) to them. This can do nothing.

2. The specific actors that can be selected for the skill must have a Y State. Then, put it in the Skill notetag:

<Select Conditions>
State: Y // name or ID
</Select Conditions>

I'm using Selection Control and Buff & State Core. Check the prerequisites
Hey dude. Sorry, please let me know if I understand:

1. You want to create a State (let's say, State A), and if an actor has that State, if another specific actor enters the battle, that specific actor will receive an Attack bonus.

and

2. You want to make a Skill that affects an ally and add a Buff, but it can only target a specific actor.

It is?
If 'yes' and if you are using Yanfly Plugins, I think so.

1. The actors who receive the attack bonus when entering the battle must have a passive state such as:

<Custom Battle Effect>
// Check if any allies have an A status
var members = user.friendsUnit().aliveMembers();
for (var i = 0; i <members.length; ++ i) {
var member = members;
if (member.isStateAffected(x)) { // x is the ID of state A
user.addState(y); //user gain through state y
}
}
</Custom Battle Effect>

And the actors that must be present for the other actors to receive the bonus, just add a passive state A (id x) to them. This can do nothing.

2. The specific actors that can be selected for the skill must have a Y State. Then, put it in the Skill notetag:

<Select Conditions>
State: Y // name or ID
</Select Conditions>

I'm using Selection Control and Buff & State Core. Check the prerequisites

Thank you for a detailed description.
i try your YEP note passive soon

oh wait.

So if Actor A and B is in the battle.

Actor A need attack bonus and Actor B is a supporter.
so Actor A must have Passive state A with that script. (in this case, let's say just need passive state 😎
and Actor B is need passive state B. right?

um... understand?

Passive A is just attack up state, and need Actor B and Passive state B.
is this right?
Hey dude. Sorry, please let me know if I understand:

1. You want to create a State (let's say, State A), and if an actor has that State, if another specific actor enters the battle, that specific actor will receive an Attack bonus.

and

2. You want to make a Skill that affects an ally and add a Buff, but it can only target a specific actor.

It is?
If 'yes' and if you are using Yanfly Plugins, I think so.

1. The actors who receive the attack bonus when entering the battle must have a passive state such as:

<Custom Battle Effect>
// Check if any allies have an A status
var members = user.friendsUnit().aliveMembers();
for (var i = 0; i <members.length; ++ i) {
var member = members;
if (member.isStateAffected(x)) { // x is the ID of state A
user.addState(y); //user gain through state y
}
}
</Custom Battle Effect>

And the actors that must be present for the other actors to receive the bonus, just add a passive state A (id x) to them. This can do nothing.

2. The specific actors that can be selected for the skill must have a Y State. Then, put it in the Skill notetag:

<Select Conditions>
State: Y // name or ID
</Select Conditions>

I'm using Selection Control and Buff & State Core. Check the prerequisites
aaaa.png



i try that and this...

Actor A has passive state [50]
and ID 50 in this.

<Custom Battle Effect>
// Check if any allies have an A status
var members = user.friendsUnit().aliveMembers();
for (var i = 0; i <members.length; ++ i) {
var member = members;
if (member.isStateAffected(51)) { // x is the ID of state A
user.addState(52); //user gain through state y
}
}
</Custom Battle Effect>


state 51 is just passive nothing I wrote only passive explanation.
like - cheer up my lady!

and state 52 is just damage up

Original thread: https://forums.rpgmakerweb.com/threads/can-make-passive-skill-when-another-actor-in-battle-yep.120751/