So, I'm trying to make a mod that removes the limit of 100% talking for all social abilities. I've written this so far:
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationRemove">
<xpath>/Defs/StatDef[defName="NegotiationAbility"]/capacityFactors/li[1]/max</xpath>
</Operation>
</Patch>
As you can see, the operation is a child of 'Patch', so I don't know why I'm getting the error in the title. Please help!
Okay, here's more information; The XML is in a 'Patches' folder in the folder for my mod, like it said on the Wiki. Is the Wiki outdated?
Never mind, I think I edited the wrong def. There was one on my desktop that I edited instead of the one in the mods folder.