Skip to content

1631 solace fixes - #1632

Closed
BlackDog86 wants to merge 18 commits into
X2CommunityCore:masterfrom
BlackDog86:1631-Solace-Fixes
Closed

BlackDog86 wants to merge 18 commits into
X2CommunityCore:masterfrom
BlackDog86:1631-Solace-Fixes

Conversation

@BlackDog86

@BlackDog86 BlackDog86 commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #1631

Tentative fix for various solace issues:

  • Prevent un-necessary gamestate creation on units which were not modified by the ability (code from WhakOMatic)
  • New buildvis which ensures that the target perk content PFX will play all the time
  • Remove redundant checks from OnUnitChangedTile, which are already handled by X2Action_Move::UpdateEffectsForChangedTile() anyway

Initial testing looks promising - further testing by others would be appreciated.

M3r1st and others added 17 commits October 23, 2026 19:05
Adds events to `XComGameState_Effect::RemoveEffect()`. ''PrePersistentEffectRemoved'' provides access to the effect and target states before `EffectTemplate.OnEffectRemoved()` is called; `'PostPersistentEffectRemoved'` provides access to the same states right after.

Resolves X2CommunityCore#1576
Removes condition that prevents aim modifier from being added to weapon summary for items present in the `EquipmentExcludedFromStatBoosts` config array.
Adds an improved version of `X2Effect_Persistent::FreeKillOnDamage()` that provides additional arguments related to the calculated damage value.
…RK" from the GetPawnFromSaveData Kismet Sequence Action as well as normal SPARKS.
Adds `AddReactionFlatModifier_CH()` that passes the ability state from the hitcalc and `ModifyReactionFireSuccess_CH()` that provides the effect state and the passed ability state.
… code (X2CommunityCore#1625)

* Reload the weapon at start of tactical

if not handling a tactical<>tactical transfer

* Improve BuildNewGameStateFn for 'HotLoadedAmmo'

* compilation fix

* Check to not override MergeAmmoAsNeeded behavior
Make FreeKill functions apply regardless of the current damage, and bypass sustaining effects.
… were not modified /cleansed

Update visualization to ensure perk content PFX always play
Remove redundant checks OnUnitChangedTile
@BlackDog86

Copy link
Copy Markdown
Contributor Author

Closing, screwed up the file structure in sourcetree, sorry!

@BlackDog86 BlackDog86 closed this Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Solace Fixes

6 participants