Redcap's Corner
Well-known member
"Its effects do not stack. Each time it applies to a different creature type."
I have a non-unique custom ability (cEnsCoSpe), where the user has to pick a different creature type each time they select it. They choose from appropriate creature types, which are worked out and displayed in an array at First/500. That part's working. I've come up with the following evalrule at First/600:
So far no results have been yielded. Any thoughts on what I'm doing wrong?
I have a non-unique custom ability (cEnsCoSpe), where the user has to pick a different creature type each time they select it. They choose from appropriate creature types, which are worked out and displayed in an array at First/500. That part's working. I've come up with the following evalrule at First/600:
Code:
if (hero.tagcount[HasAbility.cEnsCoSpe] > 1) then
perform setfocus
foreach pick in hero where "thingid.cEnsCoSpe & !state.isfocus"
if (compare(eachpick.field[usrSelect].text, focus.field[usrSelect].text) <> 0) then
@valid = 1
else
@valid = 0
endif
nexteach
else
@valid = 1
endif
So far no results have been yielded. Any thoughts on what I'm doing wrong?