XCOM 2
76 ratings
[WOTC] Multiple Attacks Increase Chance To Graze
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
128.792 KB
22 Feb, 2020 @ 8:04pm
23 Feb, 2020 @ 12:04am
2 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Multiple Attacks Increase Chance To Graze

Description
[WOTC] Multiple Attacks Increase Chance To Graze

This mod increases the chance to Graze on subsequent attacks for any unit that has already taken an offensive action in a given turn. It serves as a configurable tuning knob to slightly reduce the reliability of the damage output for units that can attack multiple times per turn.

It covers all units (XCOM, ADVENT, and Aliens) and covers pretty much any source of multi-attacks out there, including:
  • Taking multiple shots with Light'em Up or Marauder type abilities
  • Additional shots after non-turn ending uses of grenades/heavy weapons from Salvo, etc.
  • Additional shots from abilities that grant a unit an additional action like Teamwork or Inspire
  • Additional shots after free action abilities like Lightning Hands or the Axe Throw
  • Additional shots after action refunding abilities like Serial or Death From Above
  • Multi-target offensive reaction abilities like Bladestorm or Guardian
    etc...
The increased chance to Graze is not guaranteed, or even particularly high - but it is enough to lower the consistency of these additional attacks such that over time, their overall damage output will be reduced and you'll have to take a bit more care with target order and selection when using them.


How It Works

An ability is added to non-excluded character templates that handles applying the effects. When a unit uses an offensive ability, an attack counter that resets at the beginning of the turn is incremented. When making an attack that uses the standard ability hit-calc method, if this attack counter is greater than 0 then a number of points are added toward Graze chance. The increased Graze chance does not continue to increase with the counter, it is a binary on/off effect that applies a flat [default: 25 pts] increased Graze chance, and it does not interfere with abilities that use the guaranteed or stat check hit-calc methods (like grenades or psionic attacks). It has no impact, either from incrementing the counter or applying the graze chance, when non-offensive actions are used.

Abilities that apply all damage through one multi-target ability (such as Faceoff or Saturation Fire), even if they may appear visually as multiple distinct shots, will only increment the attack counter after the ability is finished. It will not increase the chance to Graze between attacking each target on such multi-target abilities.

I recommend using this alongside EU Aim Roles, where higher Critical Hit chance can counter this effect to a degree by being rolled for first. I have no idea if this is how aim rolls work in vanilla; I haven't played without EU Aim Rolls in so long, I don't remember.


Configuration Options

There are multiple options available to configure to your liking:
  • You can set certain character templates to be excluded from having the ability applied at all. By default the list of immune character types includes Alien Rulers, the Chosen, Avatars, Sectopods, and Skirmishers.
  • You can set the number of points of increased Graze chance that are added after the first offensive action in a turn. By default this is 25 pts (more-or-less 25%). This does NOT build up and stack with itself, but it DOES stack with a target's Dodge.
  • You can setup exclusion entries for offensive abilities that should not increment the attack counter or that should not have the increased Graze chance applied regardless whether the counter has been increased or not. These exclusion entries can be passive for a given ability, or they can be conditional to the unit having another ability and/or effect active.

Other mods can setup exclusions for their own or existing characters and abilities by adding an XComWOTC_MultipleAttacksMayGraze.ini config file to their project and adding their own +EXCLUDED_CHARACTER_TEMPLATES entries for character types and +EXCLUDED_INCREMENT_ABILITIES or +EXCLUDED_APPLICATION_ABILITIES entries for abilities.

Some existing exclusions are setup and provide examples, including ones with a conditional effect (e.g. Sword Slice when Reaper is active) and ones with a conditional ability (e.g. Overwatch shots when the shooter also has Covering Fire).


Known Issues

The list of logical exclusions is probably incomplete. While this is going to be very subjective, If you want to help you can enable the debug logging toggle in the config file and look at the launch.log files after play sessions for abilities that don't make sense. Searching the log file for "WOTC_MultipleAttacksMayGraze - Incrementing Attack Counter for" and looking at the lines immediately above will give you the info on which abilities are triggering the increased Graze chance on subsequent attacks. Some examples of abilities that I have already identified through this manner that I felt needed an exclusion include the Officer's Mark Target ability and Proximity Mine detonations. I'm sure there are probably others out there.

This description is probably not as clear as it could be. It was written at 2AM... I'll try to clear it up later.


Thanks and Credits

Firaxis for a mod-friendly game and Musashi for some assistance optimizing the exclusion check logic.


Version History
(See Change Notes for full history)
    1.0.0:
    • Initial Release!.
Popular Discussions View All (1)
1
9 May, 2021 @ 9:07pm
PINNED: Feedback and Suggestions
shiremct
18 Comments
Classical Scholar 26 Jul, 2020 @ 7:44pm 
Thank a lot for spending your time replying me. Wish you have a good day.
shiremct  [author] 25 Jul, 2020 @ 11:11am 
I think it's actually a picture from XCOM: Enemy Within, not XCOM 2.
Classical Scholar 24 Jul, 2020 @ 7:00pm 
Can i know what is outfit mod in your mod's cover?
Flashstriker 20 Apr, 2020 @ 11:43am 
Ok good, that should mean it's not as deadly when facing Lost. Thanks!
shiremct  [author] 20 Apr, 2020 @ 11:38am 
That's correct, it does not stack.
Flashstriker 20 Apr, 2020 @ 11:20am 
Hey Shire, I just want to check I'm understanding this correctly - whether I take 2 shots or 5 (I don't know how I'd do that either but roll with it), every shot after the first one will have a flat +25% to graze, and it does not stack?
Be Anti-Speciesist 21 Mar, 2020 @ 4:13am 
DO NOT USE THIS MOD WITH THE HIVE MOD until something changes.

I would love a toggle or something, as mentioned previously. I have to unsubscribe from this mod for now while I'm using The Hive. Too many headshot-able enemies paired with too many strong non-headshot-able enemies. Breaks what balance there is.
Cato 20 Mar, 2020 @ 6:26am 
But saying that, I'm not certain my squads will survive Lost missions with the graze penalty. Happy to test it though.
Cato 20 Mar, 2020 @ 6:25am 
This may be the perfect solution for my own Infantry/Commando class suffering from the power creep of having two shots.
Be Anti-Speciesist 14 Mar, 2020 @ 9:46pm 
I've subscribed, but haven't played with it yet. I gotta say, this sounds like a brilliant way to slightly nerf late game power creep on the XCOM side. The idea gets a thumbs up from me!