custom skill cost

blade911

Veteran
Veteran
Joined
Jul 24, 2015
Messages
69
Reaction score
19
First Language
English
Primarily Uses
I am trying to change the mp/tp cost of skills based on the class using yanfly skill core. How do I check for the class of the actor using the skill.
example
Code:
<Custom MP Cost>
if(class==mage){
cost = 2
}
</Custom MP Cost>
looking for correct syntax
 

blade911

Veteran
Veteran
Joined
Jul 24, 2015
Messages
69
Reaction score
19
First Language
English
Primarily Uses
Got some help on the discord.
Code:
user._classId == id
this seems to be the code for checking the user class
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,990
Members
137,562
Latest member
tamedeathman
Top