Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - 4th Edition
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
MagicSN
Senior Member
 
Join Date: Nov 2012
Posts: 208

Old December 27th, 2012, 04:48 AM
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
MagicSN is offline   #1 Reply With Quote
cryptoknight
Senior Member
Volunteer Data File Contributor
 
Join Date: Dec 2008
Posts: 523

Old December 27th, 2012, 08:14 PM
Looking at the next line down... I think it should be something with eachpick

would
Code:
eachpick.field[WeaponBase.WepGroup].value="wgHeavyBl"
Be closer?
cryptoknight is offline   #2 Reply With Quote
MagicSN
Senior Member
 
Join Date: Nov 2012
Posts: 208

Old December 28th, 2012, 02:03 PM
Quote:
Originally Posted by cryptoknight View Post
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.
MagicSN is offline   #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:49 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.