YEP_SkillLearnSystem - Bypass class select OR Display JP left in skill price

TheDrifter

Veteran
Veteran
Joined
Apr 18, 2012
Messages
121
Reaction score
7
First Language
English
Primarily Uses
Hi,

I'm using YEP_SkillLearnSystem and YEP_JobPoints

Here is the main issue:
The amount of JP you have left for a class is not displayed in the price window for learning a skill of that class.

For example, let's say your character's current main class is Thief, with 500 JP left, and you want to learn a skill that costs 120 JP for the Wizard, but that class only has 30 JP left... the amount of JP that the Wizard has left isn't shown anywhere.

So even though it says I have 500 JP left next to the character, in the "Skill Learn" menu, it'll show the price for learning that skill as 120 JP in red, meaning you can't learn it for the Wizard because it doesn't have enough JP. But the only way to see how much it has left is to change to that class first. This can get very confusing.

Solution A:
Drawing both the "current price" and "JP left", such as 120/30 in the skill price window of the Wizard skill learn list, instead of just 120 with no indication of how much JP that class has left. This solution is probably the one that most people would prefer.

Solution B:
Bypass class selection when learning skills, so when your main class is Thief, selecting the "Skill Learn" menu will take you straight to learning Thief skills, without asking the player which class they'd like to learn skills from. That way, if the player wants to learn skills from the Wizard class, they have to switch to that class first.

By default, when you have an Actor with only one Class available, the "Skill Learn" menu goes straight to learning skills for that one Class. However, as soon as said Actor is able to switch between two or more Classes, the "Skill Learn" menu will instead ask you to select which Class you'd like to learn skills from first, and then lets you select which skill to learn from the selected Class. Removing that functionality seems like an easier solution to implement.

The ask:
Any ideas on how to implement either of these solutions? I'm terrible with JS. Any help provided is greatly appreciated.
Thank you!
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Lately when I listen to 1970s songs, I always think that the "real world" is still at mid 70s. What we experience now is a futuristic dream. With this point of view, even 80s and 90s looks super futuristic. :D

The GIF of this seemed too cool to bury in replies. :LZSwink:
You may have slept with my aunt... but, given the circumstances, cheers.

- Professor Ian Duncan, 2013
Ami
--- Swimming ---

F.Knight: This Shrine always Flood. We don't have a choice,we have to Swimming in this place
F.Healer: That Insane!
F.Mage: We can use…Boat,rather than Swimming
F.Knight: You guys…Can't Swim?
F.Healer & F.Mage: (Shocked) Eehh??

Forum statistics

Threads
105,525
Messages
1,014,391
Members
137,209
Latest member
RowanWolf
Top