openfrontio / openfrontio/OpenFrontIO

SAMs ignore allied MIRV warheads that can destroy nearby buildings

Open
#5,444 1 comment 0 reactions 0 assignees View on GitHub
not-approved
Dominant language
TypeScript
Stars
2.7k
Forks
1.4k
Avg merge
17h 43m
Merged PRs (30d)
310

Description

A MIRV aimed at one player can destroy a neighboring ally’s buildings through splash damage. The neighbor’s SAMs ignore the warheads because their launcher is friendly.

Ultimus_Rex reported losing a large factory stack this way: [Discord report](https://discord.com/channels/1359946986937258015/1522502120107016283).

To reproduce, ally with the MIRV launcher, place a building near the target player’s border, and cover it with a SAM that can intercept the incoming warhead. A nearby warhead can destroy the building without the SAM firing.

SAMs should consider allied MIRV warheads whose blast can reach their owner’s buildings, subject to normal interception range, timing and cooldown. Alliance and betrayal rules should stay unchanged.

I have a fix and regression tests ready. Could this be approved and assigned to me?

Discord: komyak

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the scenario with an allied MIRV launcher, a nearby building, and a covering SAM, then trace the SAM interception logic and MIRV warhead splash handling. Add or inspect regression tests for allied warhead interception; done means an in-range SAM can intercept a threatening allied warhead without changing alliance or betrayal rules.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.