• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Need Help Modding perkPackMule

rowanbol

Refugee
I keep getting an error "Xpath exception: Expression must evaluate to a node-set"

Code:
<configs>
	<set xpath ="/progression/perks/perk/[@name='perkPackMule']/effect_group/passive_effect[@name='CarryCapacity']/@value">4,9,15,22,30</set>
</configs>
What am i doing wrong?

 
I keep getting an error "Xpath exception: Expression must evaluate to a node-set"

Code:
<configs>
	<set xpath ="/progression/perks/perk/[@name='perkPackMule']/effect_group/passive_effect[@name='CarryCapacity']/@value">4,9,15,22,30</set>
</configs>
What am i doing wrong?
You are forgetting to tell the xml what the original value is that you want to change see example below

Code:
<configs>

<set xpath="/progression/perks/perk[@name='perkPackMule']/effect_group/passive_effect[@name='CarryCapacity'][@value=3,6,10,14,18']/@value">4,9,15,22,30</set>

</configs>
 
Back
Top