YEP Skill Mastery Levels – Have Skills Still Earn EXP Outside Of Battle?

Hey, so I downloaded Skill Mastery Levels, but, according to the description, it appears that skills only level up in battle. This is fine for the most part, but I would prefer if my healing spells could still earn EXP on the map screen.

To my knowledge, there isn't any way to have this occur in the plugin itself or even in Lunatic Notetags. Could I get this to work via Scripts, or should I hunt for another Skill Mastery plugin?

Link: http://www.yanfly.moe/wiki/Skill_Mastery_Levels_(YEP)
I know this is old, but I was trying to do the same thing. I got it to work with script calls in a common event.


Code:
var intSkillUses;
var skillId;
skillId = 22;
intSkillUses = $gameActors.actor(1).skillMasteryUses(skillId);
$gameActors.actor(1).setSkillMasteryUses(skillId, intSkillUses + 1);

This increases the skill uses by 1, and skill Mastery Level will increase automatically once the requisite uses are filled.
I know this is old, but I was trying to do the same thing. I got it to work with script calls in a common event.


Code:
var intSkillUses;
var skillId;
skillId = 22;
intSkillUses = $gameActors.actor(1).skillMasteryUses(skillId);
$gameActors.actor(1).setSkillMasteryUses(skillId, intSkillUses + 1);

This increases the skill uses by 1, and skill Mastery Level will increase automatically once the requisite uses are filled.
Omg, thank you! Now I can use this plugin w/ LTBS!😤
Now to deal w/ the 999 other incompatibilities...

Edit: Hmm, should probably figure out a way to get the skillID dynamically so we don't have to create a common event for every skill/spell... Btw, I think your code can be condensed down this:
JavaScript:
var skillId = 22;
var intSkillUses = $gameActors.actor(1).skillMasteryUses(skillId);
$gameActors.actor(1).setSkillMasteryUses(skillId, intSkillUses + 1);

Original thread: https://forums.rpgmakerweb.com/threads/yep-skill-mastery-levels-have-skills-still-earn-exp-outside-of-battle.120027/