oakesbdog Posted June 19, 2023 Share Posted June 19, 2023 (edited) hi im just starting out making mods for 7d2d and im trying to figure out how to go about moding <passive_effect name="DamageModifier" operation="perc_set" value="1"/> to a higher value on my male character. but after a couple hours trying i cant figure out how to structure the mod. i was able to increase the stacknumber of a particular item but im baffled by the entity_classes section of the gamefile as far as making mods that affect the character directly. this is what i tried but its not working for some reason. <set xpath="/entity_classes/entity_class[@name='playerMale']/effect_group/passive_effect/[@name='damagemodifier']@value='1']/@value">100</set> Edited June 19, 2023 by oakesbdog added more information (see edit history) Link to comment Share on other sites More sharing options...
BFT2020 Posted June 19, 2023 Share Posted June 19, 2023 (edited) Your code is not pathing correct You need to do this <set xpath="/entity_classes/entity_class[@name='playerMale']/effect_group/passive_effect[@name='damagemodifier' and @operation='perc_set']/@value]/@value">100</set> This should target the baseline modifier by using the "and @operation" one. If you want to target the head damage modifier, you would need to change operation from perc_set to perc_add Edited June 19, 2023 by BFT2020 (see edit history) Link to comment Share on other sites More sharing options...
oakesbdog Posted June 19, 2023 Author Share Posted June 19, 2023 doesn't appear to be pathing still. with either perc versions. Link to comment Share on other sites More sharing options...
BFT2020 Posted June 20, 2023 Share Posted June 20, 2023 <set xpath="/entity_classes/entity_class[@name='playerMale']/effect_group/passive_effect[@name='DamageModifier' and @operation='perc_set']/@value">100</set> DamageModifier, not damagemodifier. And it looks like I doubled up on the /@value at the end. 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