Get facial expression based on current combat state
Evaluates fighter's physical and mental state to determine appropriate facial expression. Priority order:
Current health (0-100)
Maximum health
Current stamina (0-100)
Consciousness level (0-100)
Whether fighter was just hit
Whether fighter just landed a hit
Appropriate facial expression for combat state
const expression = getExpressionFromCombatState( 85, // health 100, // maxHealth 60, // stamina 20, // pain 100, // consciousness false, // justHit true // justLanded);// Returns: FacialExpression.VICTORIOUS Copy
const expression = getExpressionFromCombatState( 85, // health 100, // maxHealth 60, // stamina 20, // pain 100, // consciousness false, // justHit true // justLanded);// Returns: FacialExpression.VICTORIOUS
전투상태로부터표정가져오기
Get facial expression based on current combat state
Evaluates fighter's physical and mental state to determine appropriate facial expression. Priority order: