Code:
function() {
this.processCombolearnNotetag($dataClasses);
}
DataManager.processCombolearnNotetag = function(group) {
var note1 = /<[ ](.*)(?:SKILLLEARN):[ ](\d+)[ ](?THROUGH|to)[ ](\d+)>/i;
for (var n = 1; n < group.length; n++) {
var obj = group[n];
var notedata = obj.note.split(/[\r\n]+/);
obj.learnSkills = [];
if((line.match(note1)) || (String(RegExp.$1) == this.subclassComboName())){
var range = Yanfly.Util.getRange(parseInt(RegExp.$2),
parseInt(RegExp.$3));
obj.leanSkills = obj.learnSkill.concat(range);
}
}
};
I don't know javascript at all lol. I copied/wrote this up by googling, and comparing yanflys skill learn system+subclass.
I am trying to make a ".subclasssComboName" learn specific skills . Do I have the right idea?
*forgot to say it doesn't work. Need help making the a script to do this.
Thanks for your help!