PrivateapplyApply Intelligence Operative (Jeongbo Yowon) vulnerability exploitation
Enhances decision weights to exploit opponent's defenseless states with precision:
Multiplier Stacking Behavior: When multiple vulnerabilities are present, multipliers stack multiplicatively:
Jeongbo Philosophy (정보요원 전략):
This function provides 3x higher vulnerability exploitation rate than Musa, 2x higher psychological warfare usage than Amsalja, and 5x higher takedown success rate when opponent is HELPLESS.
Base action weight multipliers
Vulnerability assessment context
AI personality archetype
Modified action weights for Jeongbo exploitation
PrivateapplyApply kill mode modifiers to action weights for finishing behavior
Kill Mode Behavior (결정타 행동): Each archetype has unique finishing behavior based on combat philosophy:
Base action weight multipliers
AI personality archetype
Whether kill mode is active
Modified action weights for kill mode
PrivatebuildBuild psychological pressure through intimidation tactics
Intelligence Operative uses feints, circling, and approach/retreat patterns to build cumulative psychological pressure on opponent. When pressure reaches 50+ and opponent is VULNERABLE, triggers decisive strike.
Psychological Tactics (심리전 전술):
Type of action taken (FEINT, CIRCLE, APPROACH, etc.)
Current timestamp for decay calculation
PrivatecalculatePrivatecalculatePrivatecalculateCalculate direct approach position (straight line to opponent) Used primarily by Musa archetype for charging attacks
Kill Mode Enhancement (결정타 돌격):
Combat context
Whether kill mode is active
PrivatecalculateCalculate flanking approach position (diagonal/side approach) Used primarily by Amsalja archetype for stealth positioning
Kill Mode Enhancement (결정타 측면 공격):
Combat context
Whether kill mode is active
PrivatecalculatePrivateclampPrivatedecidePrivateevaluateEvaluate approach tactics with archetype-specific behavior
Korean Philosophy (접근 전략):
Kill Mode Enhancement (결정타 접근): All archetypes enhance movement speed in kill mode based on combat philosophy:
Combat context
AI personality
Whether kill mode is active
PrivateevaluateEvaluate close range tactics with vital point targeting
Korean Philosophy (급소 공격): At close range, AI targets specific vital points based on difficulty level. Higher difficulty = more precise targeting of critical points.
Kill Mode Enhancement (결정타): When kill mode is active, AI prioritizes finishing techniques with boosted priority.
Combat context
AI personality
Whether kill mode is active (opponent <30% health or vulnerable)
PrivateevaluateEvaluate combo initiation (fix for issue #2529467014)
PrivateevaluateEvaluate counter-attack opportunity
Kill Mode Enhancement (결정타 반격): All archetypes enhance counter behavior during kill mode based on philosophy:
Combat context
AI personality
Whether kill mode is active
PrivateevaluateEvaluate defensive tactics
PrivateevaluatePrivateevaluateEvaluate mid-range tactics with distance awareness
Korean Philosophy (중거리 전술):
PrivateevaluateEvaluate stance change using TrigramSystem and distance-based selection
Korean Philosophy (자세 전환): Uses I Ching-based trigram system to find optimal stance transitions. Considers resource costs, counter-stance effectiveness, archetype preferences, and distance-based tactical positioning.
Dynamic Stance Rotation (Issue #dynamic-ai-stance-rotation):
PrivateevaluateEvaluate survival tactics when critically low health
Korean Philosophy (생존 전략):
PrivategetGet archetype-specific movement bias multipliers
Applies movement pattern modifiers based on archetype behavior profiles:
PrivategetGet optimal combat range based on AI personality archetype
Uses archetype behavior profiles to determine preferred combat distance. Range is converted from cell units to pixels (1 cell = ~40px).
PrivategetCalculate stance fatigue modifier for increased switching probability
Applies time-based modifiers to encourage dynamic stance rotation:
This ensures AI doesn't stay locked in one stance for extended periods, promoting the use of all 8 trigram stances throughout combat.
Korean Philosophy (자세 피로도): Remaining in one stance too long reduces tactical flexibility and makes the fighter predictable. The Eight Trigram system requires constant adaptation and flow between stances.
Time in current stance in milliseconds
Stance switch frequency multiplier (1.0 = no change, >1.0 = increased probability)
PrivateisCheck if kill mode should be activated based on archetype behavior
Kill mode activates when:
Korean Philosophy (결정타 모드): Each archetype activates kill mode differently based on combat philosophy:
Current combat context
AI personality archetype
True if kill mode should be active
Make strategic decision based on combat context
Applies difficulty-based reaction time delays if difficulty parameters are set
Reset decision state
PrivateselectSelect stance based on distance to opponent
Chooses optimal stance for current combat range, prioritizing:
Distance Categories:
Distance to opponent in pixels
Archetype's preferred stances
Current stance (to avoid redundant switches)
Optimal stance for distance, or undefined if no valid options
PrivateselectSelect vital point to target based on difficulty and stance
Korean Philosophy (급소 선택):
Set AI difficulty level for vital point targeting accuracy
0.0 (beginner) to 1.0 (master)
Set difficulty parameters for AI behavior Affects reaction time, accuracy, decision quality, etc.
Calculates a randomized reaction delay (within parameter range) once when parameters change. This provides varied AI timing while maintaining consistent behavior throughout the current parameter set.
Difficulty parameters to apply
PrivateshouldCheck if psychological pressure should trigger decisive strike
Jeongbo executes decisive technique when:
Vulnerability assessment context
True if pressure warrants decisive strike
PrivateconsecutivePrivatecurrentPrivatedecisionPrivatedifficultyPrivate OptionaldifficultyPrivatelastPrivatelastPrivatelastPrivatepsychologicalPrivate ReadonlystancePrivatetrigramStatic ReadonlyARENA_Arena boundary margins - exported for test validation These values represent the player character size/collision margins
Static ReadonlyARENA_Private Static ReadonlyFATIGUE_Scaling factor for fatigue override probability calculation. Used to convert fatigue modifier to override chance in non-linear manner. Value of 0.5 provides gradual scaling: 1.2x fatigue → ~10% override, 1.5x → ~25%.
Private Static ReadonlyMIN_Private Static ReadonlyMOVE_
AI Decision Tree System
Korean Combat Philosophy (한국 무술 철학): This system embodies traditional Korean martial arts principles: