MegaMek / MegaMek/megamek

Princess firing damaged laser at already swarmed BA

Open
#4,331 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Princess/AI
Dominant language
Java
Stars
358
Forks
376
Avg merge
1d 4h
Merged PRs (30d)
128

Description

In the attached 49.12 game, there is a Mongoose with a damaged large laser that has been swarmed by a player BA unit. It is firing the non-functional laser, at a target in the same hex - the BA that has already swarmed it:

Bad laser shot

Bad_laser.sav.gz

There are custom battle armor and some support vehicles:
Infantry Pack - BA.zip
Engineering Pack.zip

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Load the attached Bad_laser.sav.gz game and reproduce the Mongoose, damaged large laser, and swarmed Battle Armor situation. Trace the combat firing and swarm-target handling, then verify that a non-functional laser cannot fire and that the already-swarmed BA is not selected as its target.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.