X2CommunityCore / X2WOTCCommunityHighlander

https://steamcommunity.com/workshop/filedetails/?id=1134256495
MIT License
60 stars 68 forks source link

Enemy Protocol Hack Reward also grants a permanent hack bonus equal to current temporary Hack stat modifiers #1350

Open Mitzruti opened 3 months ago

Mitzruti commented 3 months ago

This appears to be caused by the reward calculating what to set the soldier's base stat to by using GetMaxStat.

presumably it could be fixed by changing GetMaxStat to GetBaseStat, but i haven't tested that to see if it results in any other wierdness.

vanilla modifiers (gremlin, skullmining) work around this by being built into the aim calculation rather than being actual stat mods, so this is primarily an issue with modded bonuses.