Yanfly Item Requirements (Again)

Discussion in 'Javascript/Plugin Support' started by OmnislashXX, Nov 8, 2018.

  1. OmnislashXX

    OmnislashXX Veteran Veteran

    Messages:
    581
    Likes Received:
    3,535
    Location:
    Maryland
    First Language:
    English
    Primarily Uses:
    RMMV
    It seems like this plugin needs a bit of reworking by Yanfly. Half the code fails to work.

    Alright, here's my problem with it this time.

    Now, I'd like to have my characters learn skills and abilities through items that they can find either through exploration or buying in a shop. These tomes can only be read\used by a specific class and if they are sufficiently high enough in level. Ok, fine. the first tome you find is a black mage spell. Class: Mage. The Class is identified as value number 3. So....

    <Enable Requirements>
    Class: 3
    </Enable Requirements>

    I will add in a Variable later for the level.
    In anycase the code doesn't work. Nobody can use the item.

    So either Yanfly needs to redo this plugin, or I'm doing something wrong.
     
    #1
  2. bgillisp

    bgillisp Global Moderators Global Mod

    Messages:
    11,322
    Likes Received:
    11,251
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMVXA

    I've moved this thread to Plug-In Support. Please be sure to post your threads in the correct forum next time. Thank you.

     
    #2
  3. OmnislashXX

    OmnislashXX Veteran Veteran

    Messages:
    581
    Likes Received:
    3,535
    Location:
    Maryland
    First Language:
    English
    Primarily Uses:
    RMMV
    I guess I almost got the right forum. Anyway, anyone that can help, much appreciated.
     
    #3

Share This Page