Jump to content

How To Mod In Double Block Damage In Perks?


OldManBrian

Recommended Posts

I am setting the game block health to 200% but I want to double the block damage via perks to even it out.

 

How is the best way to do this?

 

There's 3 perks I see that modify this, the Strength attribute:

 

<attribute name="attStrength" name_key="attStrengthName" desc_key="attStrengthDesc" icon="ui_game_symbol_muscle">
	<effect_group>
		<passive_effect name="BlockDamage" operation="perc_add" value="0.0,0.40" level="1,9"/>
		<passive_effect name="BlockDamage" operation="perc_add" value="0.5" level="10"/>
		<passive_effect name="BlockDamage" operation="perc_add" value="0.52,0.70" level="11,20"/>
	</effect_group>
</attribute>

 

Miner 69er:

<perk name="perkMiner69r" parent="skillConstruction" name_key="perkMiner69rName" desc_key="perkMiner69rDesc" icon="ui_game_symbol_mining">
	<effect_group>
		<passive_effect name="BlockDamage" operation="perc_add" value=".2,1" level="1,5" />
	</effect_group>
</perk>

 

And Salvage Operations:

<perk name="perkSalvageOperations" parent="skillScavenging" name_key="perkSalvageOperationsName" desc_key="perkSalvageOperationsDesc" icon="ui_game_symbol_scrap">
	<effect_group>
		<requirement name="HoldingItemHasTags" tags="perkSalvageOperations"/>
			<passive_effect name="BlockDamage" operation="perc_add" value=".1,.5" level="1,5"/>
	</effect_group>
</perk>

 

 

 

What I've come up with is the following, is this right?

<set xpath="/progression/attribute [@name='attStrength']/effect_group/passive_effect[@name='BlockDamage' and @level='1,9']/@vaule=">0.0,0.80</set>
<set xpath="/progression/attribute [@name='attStrength']/effect_group/passive_effect[@name='BlockDamage' and @level='10']/@vaule=">1</set>
<set xpath="/progression/attribute [@name='attStrength']/effect_group/passive_effect[@name='BlockDamage' and @level='11,20']/@vaule=">1.04,1.40</set>
<set xpath="/progression/perks/perk[@name='perkMiner69r']/effect_group/passive_effect[@name='BlockDamage']/@value">.4,2</set>
<set xpath="/progression/perks/perk[@name='perkSalvageOperations']/effect_group/passive_effect[@name='BlockDamage']/@value">.2,1</set>

Link to comment
Share on other sites

I'm getting an "unexpected EOF when loading the progression.xml" :\

 

Here's the entire progression.xml text in my mod:

<config>
<set xpath="/progression/attributes/attribute [@name='attStrength']/effect_group/passive_effect[@name='BlockDamage' and @level='1,9']/@vaule=">0.0,0.80</set>
<set xpath="/progression/attributes/attribute [@name='attStrength']/effect_group/passive_effect[@name='BlockDamage' and @level='10']/@vaule=">1</set>
<set xpath="/progression/attributes/attribute [@name='attStrength']/effect_group/passive_effect[@name='BlockDamage' and @level='11,20']/@vaule=">1.04,1.40</set>

<set xpath="/progression/perks/perk[@name='perkMiner69r']/effect_group/passive_effect[@name='BlockDamage']/@value">.4,2</set>
<set xpath="/progression/perks/perk[@name='perkSalvageOperations']/effect_group/passive_effect[@name='BlockDamage']/@value">.2,1</set>
</config>

Link to comment
Share on other sites

Fix it by changing it to the following, is this right as far as the values go?

 

<config>
<set xpath="//attribute[@name='attStrength']/effect_group/passive_effect[@name='BlockDamage' and @level='1,9']/@value">0.0,0.80</set>
<set xpath="//attribute[@name='attStrength']/effect_group/passive_effect[@name='BlockDamage' and @level='10']/@value">1</set>
<set xpath="//attribute[@name='attStrength']/effect_group/passive_effect[@name='BlockDamage' and @level='11,20']/@value">1.04,1.40</set>
<set xpath="/progression/perks/perk[@name='perkMiner69r']/effect_group/passive_effect[@name='BlockDamage']/@value">.4,2</set>
<set xpath="/progression/perks/perk[@name='perkSalvageOperations']/effect_group/passive_effect[@name='BlockDamage']/@value">.2,1</set>
</config>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...