View Single Post
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old March 2nd, 2018, 08:18 AM
try something like this
perform assignstr["PolyAllow." & eachpick.idstring]

where you are assigning the PolyAllow to whatever has the polymorph gizmo on it.

You can also simplify your loop by the following:

foreach pick in gizmo where "AbilType.Extra & HasAbility.?"


However, I am not sure if "foreach pick" or "foreach thing" would be the way to go here. Try both and see if either works.

Last edited by frumple; March 2nd, 2018 at 08:26 AM.
frumple is offline   #2 Reply With Quote