Jump to content

help needed with mod slots


Recommended Posts

This

 

<set xpath="/items/item/effect_group/passive_effect[contains(@name, 'ModSlots')][@value='1,1,2,2,3,4']/@value">2,3,4,5,6,7</set>

 

should be

 

<set xpath="//passive_effect[@name='ModSlots' and @value='1,1,2,2,3,4']/@value">2,3,4,5,6,7</set>

 

This would direct your code only to change the lines that have both ModSlots as a passive effect and ones where the value is 1,1,2,2,3,4.  The And is the operation you need to do that

 

 

 

Edited by BFT2020 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...