BattletechModders / BattletechModders/CleverGirl

Does not predict endmoveheat effect of movement

Open
#10 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
5
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Reported by Harkonnen in closed-3437 on RT discord:

```
It seems there is a problem with laser heatsinks and melee attacks - CG does not predict endmoveheat effect of movement
2020-04-09 01:26:32.728 - Weapons:
2020-04-09 01:26:32.728 - Weapon: TSEMP Damios
2020-04-09 01:26:32.728 - Weapon: TSEMP Damios
2020-04-09 01:26:32.728 - Weapon: Melee
2020-04-09 01:26:32.728 - heat generated for attack solution: 60
2020-04-09 01:26:32.728 - current heat: 27
2020-04-09 01:26:32.728 - acceptable heat: 31.5
2020-04-09 01:26:32.728 - will overheat? True
2020-04-09 01:26:32.728 - but enough damage for overheat attack? False
2020-04-09 01:26:32.728 - but enough accuracy for overheat attack? False
2020-04-09 01:26:32.728 - rejecting attack for not enough damage or accuracy on an attack that will overheat
2020-04-09 01:26:32.728 - evaluating attack solution #1
2020-04-09 01:26:32.728 - ------
2020-04-09 01:26:32.728 - Weapons:
2020-04-09 01:26:32.728 - Weapon: Melee
2020-04-09 01:26:32.728 - heat generated for attack solution: 0
2020-04-09 01:26:32.728 - current heat: 27
2020-04-09 01:26:32.728 - acceptable heat: 31.5
2020-04-09 01:26:32.728 - will overheat? False
2020-04-09 01:26:32.728 - but enough damage for overheat attack? False
2020-04-09 01:26:32.728 - but enough accuracy for overheat attack? True
2020-04-09 01:26:32.730 - attack order: Archangel C-ANG-O using attack type: Melee against: Mauler MAL-B-H
here it decided not to fire weapons during melee when it was percfectly acceptable and even desirable to do so
i also suspect that it would behave similary if mech has acepilot
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the logged attack-solution evaluation involving melee attacks, laser heatsinks, movement heat, and acepilot behavior. Trace where endmoveheat is considered in the prediction, then verify that the selected attack matches the reported acceptable-heat outcome and that the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
ai, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.