Quote:
Originally Posted by bodrin
Nevermind this worked.
Code:
~ Check for Evil or Law domain
@valid = 0
if (#hasability[cdLaw] <> 0) then
@valid = 1
else
if (#hasability[cdEvil] <> 0) then
@valid = 1
endif
endif
|
Just an FYI you could make this all one line of code:
Code:
~ We are valid if we have the Law or Evil Domain
validif (#hasability[cdLaw] + #hasability[cdEvil] <> 0)
Also you could then put this on the Pre-Req section:
Code:
#hasability[cdLaw] + #hasability[cdEvil] <> 0