AWC pack and class restriction
Posted: Fri Feb 03, 2017 7:37 pm
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
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
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")
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