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,692
Reaction score
11,262
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,994
Reaction score
14,524
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 Profile Posts

Yknow what? Im seriously considering recruiting a manager to oversee my games development.
Because I cannot focus or complete these tasks by myself. I need someone to give me orders, without having them be my boss.
yp_4vS.png

Remember my latest plugin for rpg maker mz:

Acknowledgement Window is now available!

Take a look here:

Got my focus back, 9/59 maps have the door fix in place now.
Making a small RMMV project has made me realize that I've never actually made a credits sequence for a game.

Forum statistics

Threads
136,802
Messages
1,270,177
Members
180,556
Latest member
nlee
Top