MV Skill mastery and Skill learn

So in the system I'm imagining is that there are Mastery Levels (Magic, Blade, Etc.) Increasing the mastery improves your ability with what it is (increased damage, mana efficiency/recovery.) I want skills to unlock at mastery levels.
Example: Blade Mastery increases to level 1; user can learn Heavy Slash; at level 2, triple strike, etc.


This thread was moved from JS Plugin Releases (RMMV) to JavaScript/Plugin Support.
...and? Is there a question?

If you're asking how to make mastery level requirements for the skill learn system, the documentation for Skill Mastery Levels shows you:

1732210543150.png


And the instructions for Skill Learn have:
1732210580090.png


The Skill Learn notetag doesn't explicitly tell you there's a user variable, so the notetag would be
Code:
<Learn Require Eval>
value = user.skillMasteryLevel(42) >= 5;
</Learn Require Eval>
and that skill will require skill ID 42 to be at least level 5 to be learned.
...and? Is there a question?

If you're asking how to make mastery level requirements for the skill learn system, the documentation for Skill Mastery Levels shows you:

View attachment 323502

And the instructions for Skill Learn have:
View attachment 323503

The Skill Learn notetag doesn't explicitly tell you there's a user variable, so the notetag would be
Code:
<Learn Require Eval>
value = user.skillMasteryLevel(42) >= 5;
</Learn Require Eval>
and that skill will require skill ID 42 to be at least level 5 to be learned.
that does resolve the one issue that I was having. The other one that appears to have risen, is that because Blade Mastery is a passive skill, its not actively being used so its not gaing EXP. does something like this make sense?

Code:
<Max Mastery Level: 10>
<Custom Skill Exp>
if (user.isUsingWeaponType(2) && this.isAttack()) {
    user.gainSkillExp(13, 10); // Gain 10 EXP per attack with a sword
}
</Custom Skill Exp>
<Mastery Effect: +1% Damage Per Level>
<Passive State: 14>
does something like this make sense?
No. Where did the Custom Skill Exp notetag come from? It's not in either of the plugins you linked to.

And where did isUsingWeaponType() come from?

It looks kind of like you're either making things up or getting garbage from an AI generator.

If they're actually from another legitimate plugin, you'd need to include a link to that.
No. Where did the Custom Skill Exp notetag come from? It's not in either of the plugins you linked to.

And where did isUsingWeaponType() come from?

It looks kind of like you're either making things up or getting garbage from an AI generator.

If they're actually from another legitimate plugin, you'd need to include a link to that.
I did try to see if it could give me an answer, but it obviously didn't. I'm still learning the system, and am not much of a scripter. This is what I had in place before I resorted to AI:

<Max Mastery Level: 10>
<Mastery Effect: +1% Damage Per Level>
<Passive State: 14>
[ATTACH type="full"]323575[/ATTACH]
1732298842853.png
I did try to see if it could give me an answer, but it obviously didn't.
It won't for most things. It's quite well-documented how wrong AI responses often are.
It won't for most things. It's quite well-documented how wrong AI responses often are.
Anyway, do you have any insight on how using a specific weapon type can cause skill to gain exp? I tried this recently and still nothing


<After Eval>
if (battler.isWtypeEquipped(2)) { // Check if the actor uses a sword (weapon type 1)
battler.gainSkillMasteryUses(13, 1); // Replace bladeMasterySkillId with the actual ID.
}
</After Eval>

Original thread: https://forums.rpgmakerweb.com/threads/skill-mastery-and-skill-learn.173374/