-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert FiringState OnLostTarget working through HaltFire #6289
Merged
MrRowey
merged 17 commits into
FAForever:develop
from
lL1l1:firecycle/fix/firing-state-exit-behavior
Jun 25, 2024
Merged
Revert FiringState OnLostTarget working through HaltFire #6289
MrRowey
merged 17 commits into
FAForever:develop
from
lL1l1:firecycle/fix/firing-state-exit-behavior
Jun 25, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixes lightning storm ground attacking Removing Haltfire usage prevents Scathis state locking up when losing target when in firing state that required this target check
Essentially reverts it to Steam behavior, except we have the fix for the state to call the base class
Prevents bypassing reloads
Changing states kills the thread and cancels any firing, which prevents the last shot on AttackGroundTries from firing. This reverts commit 9bb0917.
This reverts commit b84ff69.
Needed for weapons like Ythotha's to not look ridiculous firing into empty space. This reverts commit bd60d26.
Non-packing weapons can't cancel their salvos and will shoot into the air
lL1l1
added
type: bug
area: sim
Area that is affected by the Simulation of the Game
feature: weapon firing cycle
related to the weapon firing cycle
labels
Jun 22, 2024
MrRowey
approved these changes
Jun 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: sim
Area that is affected by the Simulation of the Game
feature: weapon firing cycle
related to the weapon firing cycle
type: bug
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the proposed changes
Essentially reverts it to Steam behavior, except we have the fix for the state to call the base class.
hasTarget
check and re-adding the base class call.AttackGroundTries
.Testing done on the proposed changes
Tested units with various firing cycles, particularly relevant are Ravager, Ythotha and its storm, GC Beam after tractoring something, and Scathis.
Spawn units command:
Checklist