Hello again ♥♥♥ 😅
Here I am, once again, feeling lost but now and then I breathe it in to let it go (....cringe 😅)
I was trying to create another Skill on MV with a specific effect, but I'm struggling way more than I would have thought.
What I am trying to do, is to have a Skill (in this case is not an attack skill, it just add a state upon enemies, but I don't think this is crucial) that has a secondary effect (in this case, cure the user) at the end of the execution ONLY IF another skill has been learned by a member of the Party. Perfect would be if that cure could heal both the user of the Skill and the Actor that actually KNOW the trigger Skill itself. I have most of Yanfly's plugin already on, but can't quite figure it out.
So I try to put it simple
SKILL: "Black Fog". It blind the enemies.
No damage. Add BLIND within a certain %
IF another character knows the Skill "Into the Dark" then:
- heal the user 20% hp
- heal the character that know "Into the Dark" 20%
(optional) - add a State to both character
I was trying out something like:
Where SKILL 41 was "Into the Dark". I know that in this script (OF COURSE IT'S WRONG, it doesn't do shplip) I even put the "IF" check for the skill on the user, but it was just for testing purpose. Must seem like a total mess, but I swear I thought it was easy 😔
Here I am, once again, feeling lost but now and then I breathe it in to let it go (....cringe 😅)
I was trying to create another Skill on MV with a specific effect, but I'm struggling way more than I would have thought.
What I am trying to do, is to have a Skill (in this case is not an attack skill, it just add a state upon enemies, but I don't think this is crucial) that has a secondary effect (in this case, cure the user) at the end of the execution ONLY IF another skill has been learned by a member of the Party. Perfect would be if that cure could heal both the user of the Skill and the Actor that actually KNOW the trigger Skill itself. I have most of Yanfly's plugin already on, but can't quite figure it out.
So I try to put it simple
SKILL: "Black Fog". It blind the enemies.
No damage. Add BLIND within a certain %
IF another character knows the Skill "Into the Dark" then:
- heal the user 20% hp
- heal the character that know "Into the Dark" 20%
(optional) - add a State to both character
I was trying out something like:
Code:
<Before Eval>
if user.isLearnedSkill(41) {
user.gainHp(value * 0.20)
}
</Before Eval>