PowerStanceEffectSelector
Picks which powers get an orbiting item in the minor / major power stance rings.
This used to be an instanceof MinorPower / instanceof MajorPower check, but since the Lua migration every power is a LuaElitePower or an EliteScript extending ElitePower directly, so those abstract classes have no concrete subclasses left and the filter matched nothing. The configured PowersConfigFields.PowerType is now the filter, which is the same classification randomizePowers uses when it counts minor and major powers, so the ring array widths and the actual effect count agree.
Trails are read straight off the iterated power. Routing them through getPower would match on getClass().equals(), and since every Lua power shares the LuaElitePower class every ring slot would resolve to the first Lua power's trail - a ring of identical items.