Custom hook for managing technique selection and execution.
Configuration options
Technique selection state and actions
const techniqueSelection = useTechniqueSelection({ player: playerState, enabled: !isPaused && combatActive, onTechniqueExecute: (technique) => { // Execute technique logic executeCombatTechnique(playerState, opponent, technique); }}); Copy
const techniqueSelection = useTechniqueSelection({ player: playerState, enabled: !isPaused && combatActive, onTechniqueExecute: (technique) => { // Execute technique logic executeCombatTechnique(playerState, opponent, technique); }});
Custom hook for managing technique selection and execution.