Jagged Alliance 3

Jagged Alliance 3

View Stats:
Patch 1.03. A way to revert some MG overwatch changes
Beside MG damage reduction one of the changes is number of interrupt attacks in overwatch mode.
UnitOverwatch.lua > function Unit:GetNumMGInterruptAttacks(skip_check)
Patch 1.01
return const.Combat.MGFreeInterruptAttacks + self:GetMaxActionPoints() / ap_cost
Patch 1.03
local ap = g_Combat and self:GetUIActionPoints() or self:GetMaxActionPoints()
return const.Combat.MGFreeInterruptAttacks + ap / ap_cost

So I see two options here
1. Modify const.Combat.MGFreeInterruptAttacks which is 1 by default.
Can be done by Custom Settings mod in Advanced settings editor.
2. Modify function Unit:GetNumMGInterruptAttacks in Lua.hpk > UnitOverwatch.lua
change back to MaxActionPoints instead of remaining AP.’
Here is a link[drive.google.com] to modified Lua.hpk on google drive. Some remedy for those who suffer from 1.03 changes. Make a backup of original file before replacing.
If someone can provide guidance how to do option 2 by mod fell free to post.
< >
Showing 1-1 of 1 comments
Very cool, but one thing you are overlooking is that pre-1.03, any kill in overwatch mode would reset the remaining overwatch attacks.

This is what made it seem like the MG had unlimited interrupts. Every interrupt kill would reset the remaining interrupts per turn, which meant agility didn't matter (which I think was very good for the health of the game).
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Aug 5, 2023 @ 7:08am
Posts: 1