mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 23:41:59 +00:00
cff708c0b4
## Description: Currently, SAMs target any nuke within range. This can be frustrating when a random SAM from another player intercepts your nuke, especially since nukes follow a curved trajectory, leaving little room to adjust their path. This change modifies how SAMs intercept nukes: they will now only target those whose impact points are near the SAM. The “target range” is still generous, allowing players to defend against Hydrogen bombs, while preventing random SAMs to intercept your valued nukes. In this example, the target was the opponent missile silo: https://github.com/user-attachments/assets/0d8be2ac-e04d-44a4-a67e-54836cce8899 ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: IngloriousTom