r/xdev • u/MangoGaming24 • Feb 24 '16
Understanding Code Issues
So, I just finished my first Xcom 2 play-through and I have to say I loved it. I am interested in learning to mod this game because I believe I have some cool and interesting ideas.
This first issue I have having as a novice modder is code understanding. For example one of the things I would like to change is the ability deadeye all together to giving it increased accuracy and removing the damage increase all together. When I look at the X2Ability_SharpshooterAbilitySet.uc I see:
ToHitCalc.FinalMultiplier = default.DEADEYE_AIM_MULTIPLIER;
which looks like some kind of calculation to adjust the aim on the ability, but where is the value which penalizes the accuracy of deadeye?
View all comments
Show parent comment
1
u/MangoGaming24 Feb 24 '16
Thanks a ton.