Yanfly Skill Mastery Levels Attack Question

TracerD

Author #719
Member
Joined
Jun 25, 2019
Messages
3
Reaction score
2
First Language
English
Primarily Uses
RMMV
I'm currently using Yanfly's Skill Mastery Levels plugin for some of my skills including the attack command. The player can level the attack skill up to level 50, levelling up every 3 times they use the skill. Is there any way to make a command to view what the current level of the attack skill is? I want the player to have access to this, since switching around party members to strengthen their skills is pretty vital to my project.
(Using MV)
Thanks in advance!
 

TracerD

Author #719
Member
Joined
Jun 25, 2019
Messages
3
Reaction score
2
First Language
English
Primarily Uses
RMMV

Magusalfador

Veteran
Veteran
Joined
Jun 15, 2014
Messages
240
Reaction score
41
First Language
English Spanish
Primarily Uses
battler.skillMasteryLevel(skillId)
where battler is the actor and skillId is...well, the skill Id. That will return the current level of the skill.

for example, if you want to know the level of the attack command of your hero(actor1) you use script:
masterLvl = $gameActors.actor(1).skillMasteryLevel(1);

That will store the level of the skill in variable masterLvl . Or if you prefer you can use ingame variables, like:
$gameVariables.setValue(1, $gameActors.actor(1).skillMasteryLevel(1))

That command is on the helpfile of the plug in, there are another useful calls like, adding uses to the skills or resetting them, etc.

hope it helps!
 

Psykan

Villager
Member
Joined
Apr 13, 2019
Messages
10
Reaction score
1
First Language
Portuguese
Primarily Uses
RMMV
I have passive skill and i want they up levels like skill mastery, but how i can't use the magic is
a passive state the skill didn't up level :aswt2:. Can u help me plz
upload_2019-9-1_2-7-36.png
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top