WOTCStrategyOverhaul / CovertInfiltration

A mod that overhauls the Covert Actions system to bring back the Infiltration mechanic from Long War 2
MIT License
21 stars 8 forks source link

Change the proxy reward mechanism to support VIP units #533

Closed cannonfodder1 closed 4 years ago

cannonfodder1 commented 4 years ago

What I've done is essentially instead of having the proxy reward contain a link to the actual reward, which doesn't fly with the VIP creation code, the proxy reward is completely replaced in the mission rewards list with the actual reward. This method spawns the correct VIP unit instead of resulting in the mission's default VIP unit being spawned. Closes #530

Xymanek commented 4 years ago

Did you test other missions with this approach?

cannonfodder1 commented 4 years ago

Did you test other missions with this approach?

I tested both Extract VIP with a soldier and Compound Rescue with a scientist. Both worked great.

Xymanek commented 4 years ago

I meant any other missions that use the chain reward proxy system

cannonfodder1 commented 4 years ago

I meant any other missions that use the chain reward proxy system

Just tested it with Gather Intel, the only non-personnel proxy chain. Worked fine