D darchon Refugee Nov 23, 2019 #1 this used to work in A17: Code: <set xpath="/items/item[@name='meleeToolStoneAxe']/effect_group/passive_effect[@name='DamageModifier' and @tags='wood']/@value">50</set> but doesnt anymore in A18. anyone have any ideas how to make this work?
this used to work in A17: Code: <set xpath="/items/item[@name='meleeToolStoneAxe']/effect_group/passive_effect[@name='DamageModifier' and @tags='wood']/@value">50</set> but doesnt anymore in A18. anyone have any ideas how to make this work?
W Weyrling Refugee Nov 24, 2019 #2 meleeToolStoneAxe doesn't have a 'wood' DamageModifier anymore so the xpath doesn't find anything to change. You could add one though: Code: <configs> <append xpath="/items/item[@name='meleeToolStoneAxe']/effect_group"> <passive_effect name="DamageModifier" operation="perc_add" value="50" tags="wood"/> </append> </configs> Note that operation 'perc_add' with a value of 50 is a 5000% increase, which may be excessive.
meleeToolStoneAxe doesn't have a 'wood' DamageModifier anymore so the xpath doesn't find anything to change. You could add one though: Code: <configs> <append xpath="/items/item[@name='meleeToolStoneAxe']/effect_group"> <passive_effect name="DamageModifier" operation="perc_add" value="50" tags="wood"/> </append> </configs> Note that operation 'perc_add' with a value of 50 is a 5000% increase, which may be excessive.
D darchon Refugee Dec 1, 2019 #3 awesome thanks i was also trying to figure out how to append it but couldnt get it to work.