XCOM 2
[WOTC] Extra Damage Patcher
15 Comments
Zelfana  [author] 16 Mar @ 3:55pm 
The mines do not use ExtraDamage, this mod cannot do anything about them.
Joe Marotta 16 Mar @ 3:03pm 
Would you please consider adding support for Requiem Miner class? I would like to have the mines upgrade as tech upgrades.
Qurila 9 Mar @ 3:19am 
K. Thanks.
Zelfana  [author] 8 Mar @ 8:31pm 
@Qurila That's a different problem, this mod can't fix that.
Qurila 8 Mar @ 1:15pm 
Unfortunately, I don't understand exactly how the mod works.

But I became aware of it because I have a problem with extra DMG, it's possible that it could help.

I have given a weapon a passive effect, which causes more damage to robotic units.
Ingame, the bonus damage is also applied to the enemies, but unfortunately it is not included in the dmg display when aiming.

Would your mod help, or is its function in a different area?
Zelfana  [author] 14 Oct, 2024 @ 11:22am 
You can do something like this to fully replace damage values on gauntlets with those of psi amps (doesn't replace gauntlet specific values). Tweak values with iModifier and fMultiplier to get more or less damage on the gauntlets.

+PatchWeapons = (TargetCategories = ("gauntlet", \\
"psijack"), \\
DonorWeapons = ((Template = "PsiAmp_CV", WeaponTech = "conventional"), \\
(Template = "PsiAmp_MG", WeaponTech = "magnetic"), \\
(Template = "PsiAmp_BM", WeaponTech = "beam")), \\
bReplace = true, \\
iModifier = 0, \\
fMultiplier = 1.0, \\
Priority = 20000)
AlShegardy92 14 Oct, 2024 @ 10:45am 
Thank you very much for the reply.

can you show me an example of using the breplacer tag. iam new to coding and iam not understannding how to write the bool
Zelfana  [author] 10 Oct, 2024 @ 6:03am 
I would recommend reverting the changes you have done so far. Turn on logging to see what values actually get copied over and if it uses any multiplier. If you don't see a damage tag logged it means that was already on the target weapon and the only way to override that is to change it manually in the actual config that added it (by minus-plussing it in a local mod preferably).

The way I have the default config set up means that if gauntlets do not have damage specified for Soulfire they just get psi amp damage copied over as-is. If you see a different multiplier than 1.0 in the log it would mean another mod put a lower damage value for Soulfire on them.

If you want to override all tags on targets you can use the bReplace option. Make a new rule that only copies psi amp -> gauntlet at a higher priority and put that option in. Remove the reference tag and adjust fMultiplier and/or iModifier manually if you want them to have different values compared to psi amps.
Zelfana  [author] 10 Oct, 2024 @ 6:02am 
You cannot change the priority order of ATSR at all, it is simply impossible. The only thing you could potentially do is remove gauntlets as psionic weapons entirely but that's not a good solution either.

Primary weapon Templar gauntlet is usually identical to psi amp in damage values so a tier 2 gauntlet should be better than tier 1 psi amp. If they aren't then another mod already put weaker damage values on the gauntlet and my mod can't really do much about that because it is only really meant to patch missing damage values.

The secondary weapon shard gauntlet from Psionic Melee is weaker than psi amp, that is harder to change as it is intentional.
AlShegardy92 10 Oct, 2024 @ 1:28am 
Sorry i meant to make gauntlet tier 1 stronger than psiamp 1, but weaker than psiamp 2.
AlShegardy92 10 Oct, 2024 @ 1:26am 
To clarify the last part :-


Iam a bit confused how can i adjust the psiamp and gauntlet damage outputs, so that each gauntlet tier 2 is better than psi amp tier 1 but worse than psiamp tier 2.
AlShegardy92 10 Oct, 2024 @ 1:10am 
Thank you for the reply

Yes iam using the ability to reassign.
Iam not using gems or ex machina. I also believe the psiamp is tier 2 in the current plauthrough while gauntlet is tier one. Even though gauntlet was given higher damage as tier 1.

In the ability to reassign mod, I tried to change the order of which psiamp and gauntlet are written in the weapon. But it did nothing. If you know how i can change priority there it will be helpful.

My other solution is optimizing the tiers damage outputs in your mod. And i think i do that by changing which weapons are quoted in the damage formula? So is there a way to see how these translate in weapon damage? Like tier 1 makes soul fire 4 to 6
Zelfana  [author] 9 Oct, 2024 @ 11:23pm 
Are you using Ability To Slot Reassignment? That mod would reassign all psionic abilities to the highest priority weapon which would be the gauntlet, even if it was lower tier.

If you're not using ATSR the abilities will use damage values from the slot they are already bound to. If your gauntlet is magnetic tier and psi amp (the underlay is just the regular psi amp with a reskin) is conventional tier then that explains the damage difference.

If you're using Psionics Ex Machina, just put the damage ability GEMs in the better weapon. They will use that weapon's damage values as long as you're not using ATSR as well.
AlShegardy92 9 Oct, 2024 @ 10:40pm 
So i use this mod with the no more psi amp mod which gives psionic underlay.

And I noticed that the damage for my ability with the tenplar gauntlet before buiding the psilab is higher than after buiding the psilab and wearing the pai underlay.

Literally progression makes my hero weaker. So i tried changing the priority numbers in the config to make the ability use gauntlet instead of underlay, but its not working. Iam probably using it wrong. Can you please explain if you have a solution.

Love the mod by the way
Zelfana  [author] 17 May, 2023 @ 7:47pm 
Added damage preview fix for armor piercing abilities as a bonus (main) feature.