Skill Requirement: Add a new Skill when actor has learned 2 specific skills.

Good Morning / Day / Afternoon / Evening everyone.
using yami's equipment learning to create Magic orbs that teach the actors magic skills.

I'm trying to design a sort of magic system in which for example when a character has learned 2 specific spells (For example let's use Fire and Heal), a new, more powerful extra skill called "Recovery" will be learned as well.

Is this extremely complex to do? I really appreciate some help, I tried doing this with common events and conditional branches but it did not work at all, neither on the maps or the battles.

04.06.2021_15.16.35_REC.png


Any help is appreciated and don't hesitate to reprimand me if I sound a bit too demanding, it is never my intention to bother anyone and I will completely understand your refusal.
This is the place to ask for help so don't worry about that. I'm not familiar with using that script. It seems that the script is there to help a player learn the skill when they have a piece of equipment on. However, the link provided for the download no longer seems to work or isn't wanting to cooperate with me. I can't seem to say much on there but I would think the script would use note tags or something, as some of the scripts I have used have. The common event or event-like script you have above needs to be triggered and, again, unsure if the script can do that. But you can do that, say, if your character enters a building (like a base or Inn), maybe by talking to a specific person, or some other means that makes sense.

EDIT:

I did find the github elsewhere and have looked it over. You don't need the above event scripting at all if you want to use a piece of equipment, whether a weapon or armor. You'd go to that piece and put `<el skill: x>` and depending on how much AP you want that skill to require, go to the skill and type in the note tags: `<el require: x>` with x being how much AP it costs to learn/earn that skill.
This is the place to ask for help so don't worry about that. I'm not familiar with using that script. It seems that the script is there to help a player learn the skill when they have a piece of equipment on. However, the link provided for the download no longer seems to work or isn't wanting to cooperate with me. I can't seem to say much on there but I would think the script would use note tags or something, as some of the scripts I have used have. The common event or event-like script you have above needs to be triggered and, again, unsure if the script can do that. But you can do that, say, if your character enters a building (like a base or Inn), maybe by talking to a specific person, or some other means that makes sense.

EDIT:

I did find the github elsewhere and have looked it over. You don't need the above event scripting at all if you want to use a piece of equipment, whether a weapon or armor. You'd go to that piece and put `<el skill: x>` and depending on how much AP you want that skill to require, go to the skill and type in the note tags: `<el require: x>` with x being how much AP it costs to learn/earn that skill.
yes but this does not have much to do with the script itself... I just would like to create a system, where after you learned fire and heal, you'd get recover automatically, i've just put yami's equip skills to keep in mind in case there is interference from the script i'm using.
Good Morning / Day / Afternoon / Evening everyone.
using yami's equipment learning to create Magic orbs that teach the actors magic skills.

I'm trying to design a sort of magic system in which for example when a character has learned 2 specific spells (For example let's use Fire and Heal), a new, more powerful extra skill called "Recovery" will be learned as well.

Is this extremely complex to do? I really appreciate some help, I tried doing this with common events and conditional branches but it did not work at all, neither on the maps or the battles.

View attachment 191288

Any help is appreciated and don't hesitate to reprimand me if I sound a bit too demanding, it is never my intention to bother anyone and I will completely understand your refusal.

Would you mind elaborating on how "it does not work at all"? What is the common event currently doing and how do you expect the behavior to be different?
Would you mind elaborating on how "it does not work at all"? What is the common event currently doing and how do you expect the behavior to be different?
I made a battle event at turn 0 at the beginning of battle to make a check by calling the common event, but the common event didn't register, I even tried it in a map and it wouldn't register either, supposedly it should add the skill Recovery but it didn't.
I made a battle event at turn 0 at the beginning of battle to make a check by calling the common event, but the common event didn't register, I even tried it in a map and it wouldn't register either, supposedly it should add the skill Recovery but it didn't.
So your problem is that for some reason the common event isn't being triggered or that the script inside doesn't work?
the common event isn't triggered when supposedly it should right?
the common event isn't triggered when supposedly it should right?
If you put some debug message boxes everywhere like "Common Event Called", "Adding Recovery Skill", does it give you the output you would expect or do you not see any message boxes?
That is the strange part, yes I add a message but it still doens't register at all

the actor has the requirements...

04.06.2021_20.13.46_REC.png


04.06.2021_20.14.37_REC.png



does it have anything to do with the fact that an ADDED skill is different form a LEARNED skill according to the programming of the engine?

UPDATE, YES

but you see, using the Yami Equipment Learning, does the actor actually LEARN THE SKILL? or is it just added?

I will test this.
That is the strange part, yes I add a message but it still doens't register at all

the actor has the requirements...

View attachment 191309

View attachment 191311
And if you add a message at the very beginning of the common event? Is it actually being called?
Please put a message box as the first line of your event.
RPG maker is stupid because it differentiates between LEARNT skills and ADDED skills...

it works when I make sure in the class database I set the skill to level 1 to be already learnt, then the common event works

so now I need to test this with yami equip learning.

UPDATE

as long as I do this right. The common event finally works, it's because RPG Maker distinguishes LEARNING from ADDING skills.
RPG maker is stupid because it differentiates between LEARNT skills and ADDED skills...

it works when I make sure in the class database I set the skill to level 1 to be already learnt, then the common event works

so now I need to test this with yami equip learning.

UPDATE

as long as I do this right. The common event finally works, it's because RPG Maker distinguishes LEARNING from ADDING skills.
So maybe as a reference for future people with a similar problem, how does the correct script look like
Yeah, I was gonna say. Yami's script doesn't actually consider skills it adds "learned"; they're stored in a separate array.
I tested the common event after the actor "learning" the required skills from the equipment (the orbs I created) and so far, it seemed to have worked just fine. I'll let you guys know if I encounter any issues.
I was gonna code a script solution for you; do you still want that or are you happy enough with the common event?
I was gonna code a script solution for you; do you still want that or are you happy enough with the common event?

Honestly, if it isn't too much trouble for you I would appreciate it. Though I think the common events will work too. And that way someone with a similar idea to me will be able to use your solution too.

Original thread: https://forums.rpgmakerweb.com/threads/skill-requirement-add-a-new-skill-when-actor-has-learned-2-specific-skills.137149/