- Jan 28, 2021
- Reaction score
- First Language
- Primarily Uses
You can do this with the third optional parameter. Try this code, and replace the skillId with your skill id number. If you want to correlate the skill with equipment, add the skill to the equipment effects should be an effective way.Thank you very much again! It works perfectly.
Is it possible to make one of the skills (the unavailable one) gray (depending on the weapon equipped)?
this.addCommand('skill name', 'skill name', this._actor.canUse($dataSkills[skillId])); };
Or you can do a if check with
this._actor.canUse($dataSkills[skillId])first, if it's not usable don't add this command.
I updated my plugin to make it automatic. However, you can still press cancel to delay the canto (because the interaction logic is very long and I don't want to touch it).thnx for the hint i think i fixed the battleui issue. Can I change the canto into automatic? Cuz I'll sometimes forget to move them.
I updated my plugin so now class, equips, and states tags work. I used some new note tags to make the logic clearer. You can replace the old note tags with the new ones.If you can put it mostly in the class and states tag, it would be perfect for what I want.
I'm also trying to make the names of the skills used in the map battle appear above, like in the SV battle, but I haven't been successful so far.
I will think about how to show skill info on the map battle.