[WOTC] Configurable Return Fire
Adds various configuration options to customize Return Fire.
By default makes all Return Fire unlimited with 100% chance to activate but only activate after misses. This keeps it balanced and is how the Chosen Revenge works already.
Options include:
- Shots per turn
- Chance to activate
- Only return fire against misses or all attacks (including AoE)
- Shoot preemptively or afterwards
Default config patches the following abilities:
- Sharpshooter secondary weapon return fire (ReturnFire)
- Skirmisher primary weapon return fire (SkirmisherReturnFire)
- ADVENT Dark Event primary weapon return fire (DarkEventAbility_ReturnFire)
- Chosen primary weapon return fire (ChosenRevenge)
As a soft requirement, uses Weapon Skin Replacer to make Return Fire work with most weapon types equippable by XCOM by adding PistolReturnFire to them. This doesn’t do anything on its own but lets those weapons work with Return Fire. You can add more weapon types in the configuration if mods add more weapon categories but doesn’t add PistolReturnFire on weapons in those new categories.
Add SkirmisherReturnFire to a class to utilize PistolReturnFire added to their primary weapon. All classes use PistolReturnFire for the actual shot if it is on a weapon they have equipped. Templars and other classes that only have a secondary pistol should have ReturnFire instead of SkirmisherReturnFire.
One option to add Return Fire to XCOM pool is I’m the Commander here. Alternatively you can do it via .inis, included examples in this mod.
Rangers and Templars with Bladestorm work fine as Return Fire activates after the attack (by default) and Bladestorm activates before the attack. Sparks with Intimidate basically work the same way as Skirmishers already do with Judgment.
This mod only modifies existing templates and is therefore compatible with everything and can be added or removed at any time. If another mod modifies the same values it might overwrite them depending on the load order.
Config Panic Reaction Fire can affect these return fire abilities as well but in a different way so no conflict there.
Musashis RPG Overhaul "fixes" bullpup Return Fire and switches PistolReturnFire on bullpups for BullpupReturnFire. This means all the other primary weapons will need to do this as well to be able to work with SkirmisherReturnFire. You can fix it manually in the WSR config.
Return Fire may fail to activate sometimes but that is probably caused by visibility checks and how all reaction fire works.
Improvement suggestions welcome as always.
Required items:
Click the title to search on this site.
[WOTC] WSR Weapon Skin Replacer - Core — Steam Workshop
Revisions:
Old revisions of this mod are available below. Click the link to download.
