MegaMek / megamek

MegaMek is a networked Java clone of BattleTech, a turn-based sci-fi boardgame for 2+ players. Fight using giant robots, tanks, and/or infantry on a hex-based map.
http://www.megamek.org
GNU General Public License v2.0
295 stars 282 forks source link

[49.19] [Bug] Incorrect damage from Arrow IV Homing Missiles mounted in ASF bomb slots. #5429

Open Nehvar opened 4 months ago

Nehvar commented 4 months ago

This is a weird one. The bug performs differently depending on whether or not I have ground units on my side. Either way the damage is wrong though.

With no ground units present on my side: Arrow IV Homing bombs fired by my ASF's always "miss" the TAG'd target regardless of roll, doing 5 points of artillery damage to the hex rather than the expected 20 damage to a single location.

05

With at least one 'Mech present on my side: The Arrow IV Homing bombs now properly "hit" but do 10 damage instead of the expected 20.

04

Included in the .zip are logs and saves for both of the above situations.

ArrowIVBombBugs.zip

--

I don't know if this last one should be a separate report or not but it popped up while testing the bug above.

Every time I moused-over an incoming artillery indicator for an Arrow IV round fired by an ASF the previous turn, standard or homing, I get an NPE. It doesn't seem to do anything but it is annoying.

06NPE

Sleet01 commented 4 months ago

RE: auto-missing, the rules state that Arrow IVs fired by Aerospace units can't be guided by TAG fired by Aeros in the same turn.

If you want to Aerospace to guide its own Arrow IV Homing munitions, you would need to fire the Arrow IVs in the previous turn (from more than 17 hexes away) and then TAG in the current turn, when they actually hit. I've done this and it does work.

But the AIV damage difference is probably a real bug.

Nehvar commented 4 months ago

The TAG is on the turn after firing though.

For all of my tests I fired the missiles on turn 1 and then used TAG on turn 2 since ASF's are incapable of 0-turn Arrow IV attacks regardless of range.

Sleet01 commented 4 months ago

The TAG is on the turn after firing though.

For all of my tests I fired the missiles on turn 1 and then used TAG on turn 2 since ASF's are incapable of 0-turn Arrow IV attacks regardless of range.

Dang, I'd hoped it was an easy fix >_<

Sleet01 commented 2 months ago

Currently blocked by #5569