![]() |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
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 Code:
foreach pick in hero from BaseSkill where "Helper.SkCatKnow" + "!BaseSkill.skKnowNat" Code:
foreach pick in hero from BaseSkill where "Helper.SkCatKnow" if(isn't skKnowNat) - (Pseudo code) eachpick.field[Bonus].value += -2 nexteach |
![]() |
![]() |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,217
|
& !thingid.skKnowNat
and don't close the quotes until after that |
![]() |
![]() |
Senior Member
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328
|
Thanks!
|
![]() |
![]() |
![]() |
|
|