Hello everyone.
I'm working on a pasive state using YEP_AutoPassiveStates, what i'm trying to do is an item which apply a Passive Skill when you have it equipped, but only if an specific actor is wearing this item, the rest wouldn't get the passive. I.E: Magic Sword that gives a +10% dmg if it's wielded by Actor 1. So far, what I did is make the Item to apply the passive (<Passive State: 482>) and in the passive place:
<Custom Passive Condition>if ($gameActors.actor(id)) === 1) { condition = true; } else { condition = false; } </Custom Passive Condition>
But its not working because the passive is active regardless the actor using the item. I'm not sure if there's a mistake in the script code or if I have to use a different code.
Thanks for the help
I'm working on a pasive state using YEP_AutoPassiveStates, what i'm trying to do is an item which apply a Passive Skill when you have it equipped, but only if an specific actor is wearing this item, the rest wouldn't get the passive. I.E: Magic Sword that gives a +10% dmg if it's wielded by Actor 1. So far, what I did is make the Item to apply the passive (<Passive State: 482>) and in the passive place:
<Custom Passive Condition>if ($gameActors.actor(id)) === 1) { condition = true; } else { condition = false; } </Custom Passive Condition>
But its not working because the passive is active regardless the actor using the item. I'm not sure if there's a mistake in the script code or if I have to use a different code.
Thanks for the help