useActionFeedback Hook
Manages combat action feedback including:
Optional configuration for durations and timing
Action feedback state and actions
const { state, actions } = useActionFeedback({ damageNumberDuration: 1500, comboResetTime: 2000,});// Add damage numberactions.addDamageNumber(25, { x: 100, y: 200 }, 'critical');// Show technique nameactions.showTechnique('천둥벽력', 'Thunder Strike');// Increment comboactions.incrementCombo(); Copy
const { state, actions } = useActionFeedback({ damageNumberDuration: 1500, comboResetTime: 2000,});// Add damage numberactions.addDamageNumber(25, { x: 100, y: 200 }, 'critical');// Show technique nameactions.showTechnique('천둥벽력', 'Thunder Strike');// Increment comboactions.incrementCombo();
useActionFeedback Hook
Manages combat action feedback including: