fn collect_gate_spells( effect: &BuffEffect, spells: &[SpellData], target: &mut Vec<LocalSpellIdx>, )