XCOM 2
79 个评价
[WOTC] Multiple Attacks Increase Chance To Graze
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
131.379 KB
2020 年 2 月 22 日 下午 8:04
8 月 24 日 上午 10:51
3 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
[WOTC] Multiple Attacks Increase Chance To Graze

描述
[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.


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.1.0:
    • A config toggle has been added (default: true) to exclude any attacks against Lost or any enemy with the LostHeadshotInit ability (Some Hive units, etc.) from incrementing the attack counter.
    1.0.0:
    • Initial Release!.
热门讨论 查看全部(1)
1
2021 年 5 月 9 日 下午 9:07
置顶: Feedback and Suggestions
shiremct
19 条留言
shiremct  [作者] 8 月 24 日 上午 10:54 
The requested config toggle to exclude attacks against enemies that can be headshot (lost, etc.) has been added. Default value for new config true, so all attacks against the lost will be ignored.

For simplicity, this check does not try to evaluate whether an actual headshot occurred and just ignores all attacks against targets that could be headshot.
Classical Scholar 2020 年 7 月 26 日 下午 7:44 
Thank a lot for spending your time replying me. Wish you have a good day.
shiremct  [作者] 2020 年 7 月 25 日 上午 11:11 
I think it's actually a picture from XCOM: Enemy Within, not XCOM 2.
Classical Scholar 2020 年 7 月 24 日 下午 7:00 
Can i know what is outfit mod in your mod's cover?
Flashstriker 2020 年 4 月 20 日 上午 11:43 
Ok good, that should mean it's not as deadly when facing Lost. Thanks!
shiremct  [作者] 2020 年 4 月 20 日 上午 11:38 
That's correct, it does not stack.
Flashstriker 2020 年 4 月 20 日 上午 11:20 
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 2020 年 3 月 21 日 上午 4:13 
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 2020 年 3 月 20 日 上午 6:26 
But saying that, I'm not certain my squads will survive Lost missions with the graze penalty. Happy to test it though.
Cato 2020 年 3 月 20 日 上午 6:25 
This may be the perfect solution for my own Infantry/Commando class suffering from the power creep of having two shots.