magefree / magefree/mage

Could you please consider making AI creatures block to save the AI's life?

Open
#13,135 1 comment 0 reactions 0 assignees View on GitHub
AI enhancement
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

At present, the AI never blocks an attacking creature with a creature with lesser power. This absolute rule is not realistic. Is it possible to replace the logic with something like "if the potential life loss is greater than x% of total life, then the AI will block with 1 (or more) creatures". The x% could be a user-controlled setting, for example.

This would be a great improvement, because at present the AI just sits back and dies if an attacking creature's power exceeds the defending creature's power. I'd be happy to help develop the logic, but I'm not a coder. Would be really grateful for any development.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points; begin by finding the AI combat-blocking decision logic. Define the blocking threshold and any user-controlled setting, then verify that the AI blocks when projected life loss exceeds the chosen threshold without breaking existing combat behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
ai, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.