View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old September 1st, 2009, 11:57 AM
Quote:
Originally Posted by Lawful_g View Post
I am doind a similar feat called Brutal Throw. The only problem is I don't know how to say "not" in the Foreach statement.

foreach pick in hero where "wCategory.RangeThrow and not wCategory.Melee"

"&" is and, "|" is or, what is not?
"!"

foreach pick in hero where "wCategory.RangeThrow & !wCategory.Melee"

just a note - that expression's not going to find javelins and daggers.
Mathias is offline   #5 Reply With Quote