RMMV Yanfly Skill Mastery Levels Plugin - use on Map/add exp manually

Status
Not open for further replies.

stopbeingbored

Back again~~
Regular
Joined
Mar 30, 2015
Messages
49
Reaction score
28
First Language
German
Primarily Uses
RMMV
Hello all,

I am currently using Yanfly's Skill Mastery Levels Plugin for my game as the Skills menu looks very neat with the corresponding gauges. From my understanding, the plugin automatically tracks how many times a skill is used in combat and then levels up accordingly (there are custom formulas, but the standard is "current skill level * 5" uses per level, so reaching lvl2 takes 5 uses, reaching lvl 3 takes 10 uses, etc).

My issue is that I currently have no plans to feature combat in my game. Any "skill use" is on the map (for example, cutting wood, foraging, things like that). But I believe there is no manual script call to use a skill on the map - everything I found refers to the combat scene only.

I am hoping for assistance with one of two solutions:
1. Find a way to call a skill on the map so it counts as a "use" for the plugin; or
2. Manually add X varialble to the plugin experience or "uses" via script call.

I appreciate that this is a paid plugin but I hope someone will be able to assist with this. I took a screenshot of one of the sections of the plugin below that seemed relevant as it refers to different script calls for parts of the plugin, however if a specific different section would be helpful let me know and maybe I can find and screencap it.

SkillMastery.PNG

Hopefully, it will be something as simple as tracking every (evented) "skill use" in a variable that increases by 1, and then setting "this._skillMasteryUses[skillId]" = that variable, but my Javascript is not solid enough to guesstimate correctly yet. :-D

Thanks all
Lui
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
12,532
Reaction score
10,975
First Language
English
Primarily Uses
RMMV
It's right in the "script calls" section of the plugin's instructions.

1695910776180.png

If you're not sure how to refer to a specific actor (to be the "battler" variable), you can look up the pinned topic of MV Script Calls.

For example, the first actor you see on the map would be $gameParty.leader().gainSkillMasteryLevel(X, Y)
 

stopbeingbored

Back again~~
Regular
Joined
Mar 30, 2015
Messages
49
Reaction score
28
First Language
German
Primarily Uses
RMMV
Brilliant, thank you! I completely skimmed past that because it was referring to battlers, but it works perfectly :)

/EDIT: I just realised there's an even easier way than the loop I just constructed, haha. Simply track every "skill use" on the map in Variable 1, and then use this:

$gameParty.leader().setSkillMasteryUses(1, $gameVariables.value(1))

Thanks for pointing me at the right script calls!
 
Last edited:

Ms Littlefish

Time Traveling Victorian Vampire
Global Mod
Joined
Jan 15, 2014
Messages
8,874
Reaction score
14,108
First Language
English
Primarily Uses
RMMV
This thread is being closed due to being solved. If you find you do need the thread later, report it to let us know why. Thank you!
 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Mike Final Breaker.png
that time I drew Mike doing Hugo from Street Fighter 3's Shootdown Backbreaker...
So I was thinking about putting in Weapon Synthesis like the Cooking system I got going but after all these recipes I've been putting in the item log and common events for the past week and a half I'ma say no on that one chief

those shops and chests are working just fine lmao
Just watched Godzilla Minus One.
As a Godzilla fan, I loved it. Acting was a little rough, and I thought the ending was cheap, but overall, great!
Could have used more plot.
Plot. I demand more fanservice!
giphy-downsized.gif
I should do a Photoshop with "Everyone Loves Reimond" and just stick Rei in the middle where Raymond's face would be.
Non-rare second status post but we closed the Third and Final Cameo Battle
Reveal_3&4_F.png

Forum statistics

Threads
136,637
Messages
1,268,272
Members
180,322
Latest member
ArcanaDev
Top