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

how to change DamageModifier to meleeToolStoneAxe?

darchon

Refugee
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?

 
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.

 
Back
Top