I'm having an issue patching some values and I can't seem to figure it out. I'm attempting to change the min and max pitch ranges for a weapon sound.
Vanilla def:
<SoundDef>
<defName>Bow_Small</defName>
<context>MapOnly</context>
<eventNames />
<subSounds>
<li>
<grains>
<li Class="AudioGrain_Clip">
<clipPath>Weapon/BowA</clipPath>
</li>
</grains>
<volumeRange>
<min>56.09319</min>
<max>53.58423</max>
</volumeRange>
<pitchRange>
<min>1.153763</min>
<max>1.265591</max>
</pitchRange>
</li>
</subSounds>
</SoundDef>
The patches to change the min and max pitch:
<Operation Class="PatchOperationReplace">
<xpath>*/SoundDef[defName="Bow_Small"]/subSounds/li/pitchRange/min</xpath>
<value>
<min>1.0</min>
</value>
</Operation>
<Operation Class="PatchOperationReplace">
<xpath>*/SoundDef[defName="Bow_Small"]/subSounds/li/pitchRange/max</xpath>
<value>
<max>1.1</max>
</value>
</Operation>
Any idea what could be going wrong? The sound doesn't change at all in-game.



