BFT2020 Posted January 26 Share Posted January 26 (edited) 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 January 26 by BFT2020 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now