• 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

Combined WHERE clauses

MagicSN

Well-known member
Hi!

For making my implementation of the War Wizard's Expertise Theme more correct I need a combined WHERE clause. I tried this:

Foreach pick in hero from power where "PowerSrc.Arcane"
if (pick.WeaponBase.WepGroup = "wgHeavyBl")
perform eachpick.field[pwAtkFeat].modify[+,bonus,""]
endif
nexteach

But this only gives an error. Can anybody tell how the "if" has to be done correctly?

Thanks in advance.

MagicSN
 
Looking at the next line down... I think it should be something with eachpick

would
Code:
eachpick.field[WeaponBase.WepGroup].value="wgHeavyBl"

Be closer?
 
Looking at the next line down... I think it should be something with eachpick

would
Code:
eachpick.field[WeaponBase.WepGroup].value="wgHeavyBl"

Be closer?

Yes, you wrote that on your site. With eachpick it complained about unknown variable eachpick strangely.
 
Back
Top