- Joined
- Mar 14, 2012
- Messages
- 25
- Reaction score
- 2
- Primarily Uses
Yeah, I just downloaded and am getting the same problem when using it with Visustella's plug-ins...
I had the same issue. I grabbed the non-Visustella code link, double checked the plugin name was correct (Fomar0153_PassiveSkills) and placed it at the very bottom of my plugin list and it started working (with VisuStella Skills and States on). I haven't tested it in battle, yet.Yeah, I just downloaded and am getting the same problem when using it with Visustella's plug-ins...
Can't download it from the link. It opens the .js file as text.
Scene_Skill.prototype.useItem = function() {
if (this.item() && this.item().stypeId == Fomar.PassiveSkills.passiveSkillTypeId) {
if (this.actor()._passiveSkills.includes(this.item().id)) {
this.actor()._passiveSkills.remove(this.item().id);
} else {
this.actor()._passiveSkills.push(this.item().id);
}
this._statusWindow.refresh();
this._itemWindow.refresh();
this.actor().refresh(); // new line for Visu Core
} else {
Fomar.PassiveSkills.Scene_Skill_useItem.call(this);
}
};