Jump to content

Changing Turret active range in progression


shakikoko

Recommended Posts

Hi, I have this code here that I sort of copied from my other own mod. It did not work when i load my world.

 

I just wanted to change the active range from 10,14,15,16,17,18

 

<configs>
<set xpath="/progression/progression/perks/perk[@name='perkTurrets']/effect_group[@name='General and deployed turrets']/passive_effect[@name='JunkTurretActiveRange'][@operation='base_set'][@level='0,1,2,3,4,5']/@value">10,15,20,25,30,40</set>
</configs>

Link to comment
Share on other sites

You don't need all that many conditions on it, try this and see if it works:

<configs>
<set xpath="/progression/perks/perk[@name='perkTurrets']/effect_group/passive_effect[@name='JunkTurretActiveRange']/@value">10,15,20,25,30,40</set>
</configs>

Things like targeting the specific effect group aren't necessary because there's only one JunkTurretActiveRange passive_effect.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...