Divinity: Original Sin 2

Divinity: Original Sin 2

Not enough ratings
Close Quarters Penalty
   
Award
Favorite
Favorited
Unfavorite
Type: Add-on
Game Mode: Story
File Size
Posted
1.070 MB
15 Oct, 2023 @ 9:49am
1 Change Note ( view )

Subscribe to download
Close Quarters Penalty

Description
Ranged units suffer penalties to damage etc. while inside the attack range of an enemy melee unit. A damage penalty also applies when firing at other ranged units within 3m (touch range). Neither penalty applies if the attacker is sneaking or invisible.

Norbyte's Script Extender[github.com] is required.

Inspired by the CQB module from Vanilla Plus, by Lux.

Pairs well with Opportunity Strikes (Opportunist rework).



PREREQUISITES
Norbyte's Script Extender[github.com]
⟶ Extract the DXGI.dll file to the same directory as EoCApp.exe for DefEd, and you're done.
airi_Vanguard
⟶ Required for functionality, icon etc.

NOTES
• The debuff while within enemy melee range is called "Threatened", and applies -35% damage, -10% accuracy, and -10% crit chance.
• Position checking happens roughly every 0.5m, so there might be a bit of "stickiness" when it comes to the "Threatened" debuff being applied or unapplied. If you want to force it to update, have your character prepare a skill and then cancel it.
• There is no debuff for being close to enemy ranged units; the penalty only occurs if you shoot at them, and applies -35% overall damage.
• The attack range of fists and daggers is so short, enemy assassins are not likely to trigger the penalty. In the future I might increase the range check for these weapons specifically.

COMPATIBILITY
• At this time, I'm unsure how it interacts with LaughingLeader's Weapon Expansion mod. But I suspect that the new firearms won't be affected by the close quarters penalty yet.

ADDITIONAL CREDITS
• Lux - This mod was directly inspired by his CQB module (Vanilla Plus)