cyberpunk2020 icon indicating copy to clipboard operation
cyberpunk2020 copied to clipboard

Compendium attackSkill fields undefined for pistols and rifles

Open OctarineSourcerer opened this issue 2 years ago • 1 comments

A great deal of weapons in compendiums have "undefined" as their weapon skill. This causes firing them to fail, with the error TypeError: Cannot read properties of undefined (reading 'data') or TypeError: skill is undefined.

See, there's a LOT of these. Like, 332 pistols and 394 rifles with this issue. So I'm going to end up writing a script to help fix that, but leave this issue up to help anyone who comes across a similar issue when using pistols or rifles from the compendiums.

To work around this, click the "Attack Skill" dropdown, and click whichever skill you'd like to use for this. The weapon should then be usable.

Addendum: The same issue also plagues availability, but I suspect that's a less problematic issue for many, as it doesn't interfere with weapons firing

OctarineSourcerer avatar Mar 20 '22 17:03 OctarineSourcerer