Learn Skill from Equipment

● ARCHIVED · READ-ONLY
Started by Fomar0153 127 posts Page 4 of 7 View original ↗
  1. @Oggy So your notetags look right, but when I look at your plugin list, I think I see your problem. The plugin is supposed to be called EquipmentSkills, but you've seemingly renamed it to ItemSkills. Renaming plugins is generally not advised. Try changing the name back to EquipmentSkills and see if it still doesn't work.
  2. Sword_of_Dusk said:
    @Oggy So your notetags look right, but when I look at your plugin list, I think I see your problem. The plugin is supposed to be called EquipmentSkills, but you've seemingly renamed it to ItemSkills. Renaming plugins is generally not advised. Try changing the name back to EquipmentSkills and see if it still doesn't work.
    This

    But also. You are also missing notetags needed on the Equipment itself to call the AP bar.

    @Oggy
    1662486966786.png
  3. Puppet Knight said:
    You are also missing notetags needed on the Equipment itself to call the AP bar.
    That's not what the plugin instructions say.

    Fomar0153 said:
    To add the skills to the equipment you can either add them via traits...
    Or you can add them via notetags: <skills: x;y;z>
  4. Yeah, the plugin supports both notetags or simply adding the skill through traits.
  5. @ATT_Turan / @Sword_of_Dusk Both correct instruction wise. However for whatever reason (in my own use at least). Unless the skills notetag is also added in, the bars will NOT appear in the equipment screen.

    1662488739333.png

    As opposed to:
    1662488821837.png

    @Oggy specifically the plugin name should be Fomar0153_EquipmentSkills.js

    Rename and see if that fixes.
  6. Puppet Knight said:
    Unless the skills notetag is also added in, the bars will NOT appear in the equipment screen.
    Have you reported that to @Fomar0153 as a bug? It's either a bug in the plugin or a mistake in the instructions, which can be easily edited.

    Puppet Knight said:
    specifically the plugin name should be Fomar0153_EquipmentSkills.js
    Good info. Similarly, @Oggy appears to also have renamed the AP plugin, which should be Fomar0153_APSystem. You should always leave plugins with the names from the authors.
  7. ATT_Turan said:
    Have you reported that to @Fomar0153 as a bug? It's either a bug in the plugin or a mistake in the instructions, which can be easily edited.
    No. Mainly because Im not fully convinced its the plugin thats the issue. My project is oversaturated with plugins atm. Lol

    Will try on a blank project and see
  8. Puppet Knight said:
    No. Mainly because Im not fully convinced its the plugin thats the issue. My project is oversaturated with plugins atm.
    That seems unlikely to me. If this plugin is correctly checking for both the trait and the notetag to then draw the AP bar, it would all be happening in the same function (probably even on the same line of code).

    That means if there was a problem from a plugin conflict, neither method should work - plugin conflicts happen when another plugin overwrites the same function as this one. So all of the new code or all of the old code would be getting used, not half and half.
  9. @ATT_Turan @Sword_of_Dusk Ill try the rename. The download for this plugin was just a copy this code into a js file, so i just slapped a name on it so i knew what it was.

    EDIT:
    The rename worked. Also it is it is now reading notetag or trait independently. As in if i have both the notetag and the trait for one skill on the same weapon it shows two in the list.
  10. Oggy said:
    The download for this plugin was just a copy this code into a js file, so i just slapped a name on it so i knew what it was.
    Where did you download it from? The link in the first post of the thread goes to a .js file with the name given above.

    If you right-click the link and select Save As, or if you click the link to the page and do File -> Save Page As, it should already have the correct name and extension filled out for you.

    Also make sure you add the notetag, as Puppet Knight described it might not function correctly without it (and worst case it doesn't hurt anything to add it).
  11. Ah I didnt know you could do a save as. I though I had to copy it to a js file. Thanks for the info though that will make it loads easier in the future.
  12. Yeah, if you look at the actual URL in your Web browser, you should see the .js extension at the end of the path.

    Generally speaking, you only ever need to copy/paste and make your own file if something is in a forum post.
  13. @Puppet Knight Did you ever get a standalone skill restriction by mastery for this plugin?
  14. Oggy said:
    The rename worked. Also it is it is now reading notetag or trait independently. As in if i have both the notetag and the trait for one skill on the same weapon it shows two in the list.
    Does it show the AP gauge if you're just using the trait then? Because if it does, something is off with the version of the plugin that @Puppet Knight has.
  15. Sword_of_Dusk said:
    Does it show the AP gauge if you're just using the trait then? Because if it does, something is off with the version of the plugin that @Puppet Knight has.
    Yep. It shows it as it should with just the trait. If i use both for the same skill it shows the name and gauge twice.
  16. Tested on blank project:

    As Oggy and everyone has said and per the instructions it only needs 1 or the other to show the AP bar.

    So why did I have both?:

    I was racking my brain on this and then realized I'm not using this System as designed...

    Intentionally! lol

    I'm using an Actor-Only Passive state via VisuStellas SkillStatesCore:

    <JS Post-Damage as User> if (this.isSkill()) user.gainSkillAP(this.item().id, 1); </JS Post-Damage as User>
    That should look familiar @ATT_Turan :LZSsmile:

    And then there is this EquipmentSkill parameter setting:
    1662510284749.png

    When set to ON, the skill attached to a piece of equipment provides the AP bar as designed. I had this set to OFF to make sure that the Skills Traited would be available to the player to be able to train up the AP bar (adding to notetag alone doesn't make the skill usable). However, when set to ON the skill is both usable and able to be tracked using ATTs script ^.

    Also of note, this Learning only occurs using the Passive State if VisuStellas Battle Core plugin is also enabled. (because of course it does)

    In the future I will likely still use a combo of the traits and notetags across more than one piece of equipment to encourage learning skills via dope combos. But for now. I can keep it simple ^_^



    For anyone that finds this down the line. My set up (with regards to Fomars EquipmentSkill + VisuStella SkillStates) is meant to slightly mimic the Materia System of Final Fantasy VII where skill use leads to mastery for that Actor.


    Feel free to give me a shout if you have any questions and if you do also decide to utilize this system, be sure to also credit @ATT_Turan especially if you use the Passive State JS provided ^

    Sorry for the added fluff to this thread that would've just been a simple help to @Oggy but it coincidentally helped me learn more about this plug in myself!
  17. I am having an issue with this applying to a in slot 5 (in equipment types). It applies to the first four equipment slots not after for some reason. Can anyone help with this?
  18. Oggy said:
    I am having an issue with this applying to a in slot 5. It applies to the first four equipment slots not after for some reason. Can anyone help with this?
    Can you expand on this? What isnt working exactly
  19. @Puppet Knight
    NM I was too tired for my own good. Forgot to add the ap tag to the skill
  20. Oggy said:
    @Puppet Knight
    NM I was too tired for my own good. Forgot to add the ap tag to the skill
    Be prepared for that to happen at least once a day. xD. I had a whole moment thinking that something was wrong with the weapon I created somehow, nope! Didn't add the ap tag in the skill xD