// ─── Combat Channel Actions ──────────────────────────────────────────────────── // Extracted from combatStore.ts to keep the store under the 400-line limit. // Provides startChanneling/stopChanneling action factory for the combat store. import type { CombatStore, CombatState } from './combat-state.types'; type GetFn = () => CombatStore; type SetFn = (state: Partial) => void; export function createChannelActions(get: GetFn, set: SetFn) { return { startChanneling: () => { set({ isChanneling: true }); }, stopChanneling: () => { set({ isChanneling: false }); }, }; }