AWC pack and class restriction

Post Reply
sokoloff
Posts: 1
Joined: Fri Feb 03, 2017 7:02 pm

AWC pack and class restriction

Post by sokoloff »

AWCAbilityRestriction (in XComLW_AWCPack.ini) does restrict ability from ever appearing if specified only with RestrictedClass field

for example, I've tried removing every single offence ability, defence ability and restriction entry, and then adding the following lines

Code: Select all

+AWCAbilityTree_Offense=(Level=1, AbilityName="Sprinter"				)
+AWCRestrictions=(AWCAbility="Sprinter", RestrictedClass="LWS_Grenadier")
I expected to find sprinter on everyone's (but grenadier) proposed AWC perk tree, but there were only pistol abilities.

Works fine if i'm specifying restriction with RestrictedAbility field.
My guess is LWAWCUtilities.uc is missing some kind of null-check against Restriction.RestrictedAbility on line 319
JulianSkies
Posts: 301
Joined: Thu Jan 19, 2017 12:17 am

Re: AWC pack and class restriction

Post by JulianSkies »

Known bug, a class-based restriction will somehow cause the ability to be restricted from every class meaning it won't show up anywhere.
dodger
Posts: 63
Joined: Mon Jan 23, 2017 5:28 am

Re: AWC pack and class restriction

Post by dodger »

Details and a DIY fix until patch 1.2 comes here:

http://www.pavonisinteractive.com/phpBB ... 17&t=23895
Post Reply