$D13x Learn Skill Requirements

#===============================================================================
# ☆ Introduction
#——————————————————————————-
# This script enables additional requirements for learning skills.
# other than the default  level requirement, you are now allowed
# requirements based on almost all other statistics :p
# simply use notetags in the CLASS Skill Learn Notebox !!
#
# You can also allow for skills to be forgotten if the requirements
# are no longer met.
# eg. removed equipment / leveled down …
#

Requires Statistic Control << LINK
Script LINK

Advertisements

9 responses

  1. Good day! I could have sworn I’ve been to this website before but after browsing through some of the post I realized it’s new to me.
    Anyways, I’m definitely happy I found it and I’ll be book-marking and
    checking back often!

    June 13, 2013 at 22:38

  2. I am still a little confused with how the eval tag works. So if I put something like ‘atk + def == 500’ I can only learn the skill if my attack and defense don’t add up to 500?

    July 6, 2013 at 01:08

  3. to put it simply, the eval notetag return false if the condition is true.
    so if the notetag was eval: (atk+def) < 500 and players atk+def was 450 then the notetag would return false, eg cannot learn, if it was above 500 then it would allow the skill to be learned (if other requirements are met)

    July 6, 2013 at 02:18

  4. Matthew

    what’s the coding for a skill that can only be learned when the actor is equipped with a specific weapon?

    October 27, 2014 at 04:05

    • you would have to eval something like that…
      try this:

      <eval req: !weapons.any?{|i| i.id == 1 } >
      # OR
      <eval req: !armors.any?{|i| i.id == 1 } >
      

      (change the 1 for whatever weapon/armor id)

      LEt me know if that works for you 🙂

      October 27, 2014 at 20:45

      • Matthew

        Works

        October 27, 2014 at 23:28

      • good good 🙂

        Let me know if you have any others :p

        October 29, 2014 at 00:55

  5. Okay, here’s another question about the eval: how do I get a skill to be learned when multiple conditions are met (such as three skills need to be a certain level or two switches need to be on)?

    November 29, 2014 at 02:10

  6. Marie

    Hello, does the skill level requirement note tag refer to skill 6 in the database or skill six on the character’s skill tree?

    This note here
    eval req: skills_lv(6) < 10

    June 6, 2017 at 23:14

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s