Tune Enemy AI Make enemy choices legible, bounded, and reproducible. Model decisions explicitly Use a small state machine or utility layer with named states such as idle, investigate, pursue, reposition, windup, attack, recover, stagger, retreat, and defeated. State transitions must state their prerequisites, exit conditions, minimum dwell time, and cooldown effects. Separate perception, intent, and motion Gather observable inputs: distance, line of sight, target state, occupancy, threat, health, and timers. Select one intention from constrained legal actions. Move and animate toward that intent without rewriting the decision mid-action. Use authoritative collision and navigation results for movement success. Do not derive them from rendered pose or assumed path completion. Preserve fair combat Telegraph attacks before their active window. Prevent instant turn-and-hit behavior, perpetual chase, clipped attacks through blockers, and repeated recovery spam. Add spacing and commitment so the player can read and answer each enemy archetype. Show more Installs 1.8K Repository mengto/skills GitHub Stars 8.1K First Seen Jul 24, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass
tune-enemy-ai
安装
npx skills add https://github.com/mengto/skills --skill tune-enemy-ai