Tedster59 / lwotc

Port of Long War 2 to XCOM 2's War of the Chosen expansion
8 stars 1 forks source link

Proximity mines can miss, time to fix them #7

Closed Mrveczt closed 1 year ago

Mrveczt commented 1 year ago

Look, this is above me and how this actually works might be outside of simple ini edits, so here are some leads you might want to dig out, i am just making a post here so it doesnt get burried till its resolved.

image

Link to the convo https://discord.com/channels/590853492084572170/891335947415867412/1081545236238577805

Tedster59 commented 1 year ago

Looking at the base game code, the bIndirectFire flag should add 100 to aim for the indirect attack, just like the bGuaranteedHit flag.

image

Since we don't have guaranteed hit set, it should just hit the super.AddModifier anyways inside X2AbilityuToHitCalc_StandardAim

image

Tedster59 commented 1 year ago

Highlander fix for this is coming in 1.26.