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