Skip to content
Snippets Groups Projects

Fix the issue that AI do not act when and after frozen

Merged yutio888 requested to merge otowakotori/t-engine4:ai_adjust into master

Current AI do not handle frozen status very well, it won't try to break the ice and may permanently forget their target after the ice-block melts away if the player is not nearby, then AI will just stand still.

This commit try to fix this strange behavior:

  1. When the ice-block melt, try to reset the AI's target to the applier
  2. Let tactical AI hit the ice-block, leaving the numb AI for now (because they are numb)
  3. Let your own projectile hit you if you are encased in ice, so you could break ice by projectile.

This commit only provides a possible solution for this issue, and its potential impact should be evaluated.

Merge request reports

Approval is optional

Merged by avatar (Apr 7, 2025 11:47pm UTC)

Merge details

  • Changes merged into master with a57f781a.
  • Did not delete the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading