(Answered) (Yanfly) Possible to add skill based on class/subclass combo?

Servidion

Last Soul Keeper
Veteran
Joined
Mar 15, 2015
Messages
233
Reaction score
27
First Language
English
Primarily Uses
RMMV
Is it possible to add a Skill to an actor only when a certain Class/Subclass combo is achieved?


Example Guardian + Paladin OR Paladin + Guardian = Crusader (Already achievable).


As a Crusader I gain an additional Paladin skill called.. uhh... Crusader Strike. Totally just ripped off that name, but it was what popped into my head. lol


How would I go about learning a skill like that? But then also having it disappear from the Paladin skill list if I swap classes.


*edit* Thanks to Ogouka for:


<Require Class: 3, 37>


<Require Subclass: 37, 3>


This allows the skill to be used by either combination of classes. The skill, however, still shows up grey.


*edit* Decided to mark this as answered since the title was answered. I'll ask the other question with an appropriate title.
 
Last edited by a moderator:

Ugouka

Veteran
Veteran
Joined
Mar 11, 2016
Messages
140
Reaction score
53
First Language
English
Primarily Uses
Yeah. If you just put the tags in the note as requiring both Paladin and Guardian, it should only be usable if you have both active. Not entirely sure if it'll vanish from the list when you switch, but it shouldn't be usable at the very least.
 

Servidion

Last Soul Keeper
Veteran
Joined
Mar 15, 2015
Messages
233
Reaction score
27
First Language
English
Primarily Uses
RMMV
Hmm.. doesn't quite work like that. Using <Require Class: 3, 37> just makes it so either class has access to it as long as they can access the Paladin skill set. Which means a plain old Paladin has access to it. Though looking in the note tags I can set it to require a specific subclass, but it still appears in the Paladin skill set, just simply greyed out if the actor is a plain Paladin.
 
Last edited by a moderator:

Ugouka

Veteran
Veteran
Joined
Mar 11, 2016
Messages
140
Reaction score
53
First Language
English
Primarily Uses
Ah. Misunderstood. Thought you had one of them as a pure subclass. My bad.


Try this, maybe? Not sure if it will register those separately or jointly. If that one doesn't work, I dunno. I don't mess with subclasses much.


<Require Class: 3, 37>


<Require Subclass: 37, 3>
 

Servidion

Last Soul Keeper
Veteran
Joined
Mar 15, 2015
Messages
233
Reaction score
27
First Language
English
Primarily Uses
RMMV
That worked! Still shows up as greyed out instead of disappearing, but at least now either combo can unlock the skill.
 

Servidion

Last Soul Keeper
Veteran
Joined
Mar 15, 2015
Messages
233
Reaction score
27
First Language
English
Primarily Uses
RMMV
It looks like to make the skill disappear entirely I could use this:


<Custom Show Eval>


?


</Custom Show Eval>


But I have no idea what I would write in between those to make it only show with those class combinations.
 

Ugouka

Veteran
Veteran
Joined
Mar 11, 2016
Messages
140
Reaction score
53
First Language
English
Primarily Uses
Well..I don't really speak Java, but I guess it couldn't hurt to try something while we wait for someone that does to answer?


Try this? I doubt it'll work, but maybe we'll get lucky :guffaw:


<Custom Show Eval>
if (user.class = 3, 37) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>
 

Servidion

Last Soul Keeper
Veteran
Joined
Mar 15, 2015
Messages
233
Reaction score
27
First Language
English
Primarily Uses
RMMV
The skill still shows up for the Paladin class, but greyed out. I am not so lucky this time. lol
 

Ugouka

Veteran
Veteran
Joined
Mar 11, 2016
Messages
140
Reaction score
53
First Language
English
Primarily Uses
Just for paladin, or guardian, as well?
 

Servidion

Last Soul Keeper
Veteran
Joined
Mar 15, 2015
Messages
233
Reaction score
27
First Language
English
Primarily Uses
RMMV
It's only part of the Paladin skill set "Sanctify", so it only shows up greyed for the Paladin. The Guardian skill set is "Defensive". Only when the two classes are combined does it light up in the Paladin skill set. I just want it to disappear off the Paladin list entirely if the classes aren't combined.
 

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

Latest Threads

Latest Posts

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,085
Members
137,583
Latest member
write2dgray
Top