• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Increasing a specific Knowledge skill

zarlor

Well-known member
I'm trying to add a simple roll bonus to a specific Knowledge skill, in this case Knowledge (Arcane), and I tried the following Eval Script at Pre-Traits/5000:


Code:
        ~go through all knowledge skills and find an "Arcane" one
        foreach pick in hero where "thingid.skKnow"
          if (compare(lowercase(eachpick.field[domDomain].text),"arcane") = 0) then
            perform #traitroll[skKnow,+,2,"Highest Clearance"]
          endif

I THINK that should work, but when I hit "Test Now"I get the error "One or more 'if' statements is missing the closing 'endif' statement"
 
Back
Top