XCOM 2
80 个评价
[WOTC] Prioritize Right Click Melee Fix
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
45.328 KB
2023 年 9 月 22 日 下午 4:57
1 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
[WOTC] Prioritize Right Click Melee Fix

在 FearTheBunnies 的 4 个合集中
OneGrumpyBoi Season 5 Modlist
602 件物品
Odd S9: Season 9 Gameplay Collection
428 件物品
OneGrumpyBoi Season 6 Gameplay Collection [LWotC]
271 件物品
OneGrumpyBoi Season 7 Gameplay Collection [CI]
555 件物品
描述
About This Mod
There is an interesting issue where the right mouse click shortcut in the UI would cause units to move and melee attack with a skill that is NOT the desired or expected skill.

The most glaring culprit of this interaction is when using [WOTC] Nonlethal Combat and right-clicking an enemy with 3 or less life using a Templar.

Without this mod, the Templar will run up and activate Stunning Strike.

With this mod, the Templar will run up and use Rend.

What Does This Mod Actually Do
The algorithm that Firaxis wrote for finding a melee move and attack skill was perfect for the vanilla version of the game. It found the first ability on the unit that met the criteria and used it. Problem is, they were never expecting a unit to have more than one of those skills.

This mod updates that algorithm using a Highlander hook to now look in Shot HUD Priority (aka, from left-to-right on the ability bar in the bottom) and uses the first ability found. So now it will always be consistent with how a melee skill is chosen instead of based upon which skill was added to the unit last.

Requirements

Compatibility
This mod should be compatible with everything.

It is ONLY required if you are running mods which add multiple moving melee attack skills to a unit under your control. If you do not have any mods that do that, then you can run your game without issue and ignore this mod.

Thanks
  • The Highlander folks for working with me to get the necessary hooks in place to allow this fix to be done!
4 条留言
LeyShade 2023 年 9 月 23 日 上午 10:44 
God tier fixing. Praise be.
oceansoul 2023 年 9 月 23 日 上午 2:36 
Oh fuck yes. Just had a Shrike (personal custom class) use a fist based melee attack that didn't proc his bladestorm follow-up yesterday after giving him a grapple arm from the augmentions mod. It also, thanks to having a cooldown, meant he couldn't keep on his reaper chain using single clicks and I was having to cycle through the normal enemy list to get the right ones.
Vaultwulf 2023 年 9 月 22 日 下午 11:22 
Thank you for the fix
Kexx 2023 年 9 月 22 日 下午 8:52 
This is a godsend for me!! Non-lethal combat introduced that weird priority and i didn't like it. Thank you for making this fix!!