$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

9 thoughts on “$D13x Learn Skill Requirements

  1. phentermine says:

    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!

  2. crystalnoel42 says:

    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?

  3. Dekita-RPG says:

    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)

    1. Dekita-RPG says:

      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 🙂

  4. arkhamvi says:

    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)?

  5. Marie says:

    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

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s