• 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

Help giving -2 to each knowledge, sans Nature.

Pezmerga

Well-known member
Just wondering how I can pick through and ignore Knowledge Nature... so I can get rid of the #skillbonus[skKnowNat] += 2 line... Not a huge deal, but I like to learn! Getting rid of unnecessary code is a good feeling! :)

Here is what I have now:
Code:
Pre-Levels  10,000
foreach pick in hero from BaseSkill where "Helper.SkCatKnow"
        eachpick.field[Bonus].value += -2
        nexteach
 #skillbonus[skKnowNat] += 2

I am guessing something like:
Code:
foreach pick in hero from BaseSkill where "Helper.SkCatKnow" + "[B]![/B]BaseSkill.skKnowNat"

or maybe:
Code:
foreach pick in hero from BaseSkill where "Helper.SkCatKnow"
 if(isn't skKnowNat) - (Pseudo code)
        eachpick.field[Bonus].value += -2
        nexteach
 
Back
Top