Core/Spells: fixed build and SelectEffectImplicitTargets logic