Jump to content

Help with changing a Buff


Recommended Posts

I want to increase coffe buff timer to 10 mins. Cant get it to work

 

<configs>
    
    <set xpath="/buffs/buff[@name='drinkJarCoffee']/effect_group/triggered_effect [@trigger='onSelfBuffStart']/@value">2200
    </set>
    
</configs>

Link to comment
Share on other sites

This works great now!

<configs>
    
    <set xpath="/buffs/buff[@name='buffCoffee']/effect_group/triggered_effect [@trigger='onSelfBuffStart']/@value">2000
    </set>
    
    <set xpath="/buffs/buff[@name='buffBlackStrapCoffee']/effect_group/triggered_effect [@trigger='onSelfBuffStart']/@value">2000
    </set>
    
    
</configs>

Link to comment
Share on other sites

1 hour ago, wolverine576 said:

This works great now!

 

For future reference, the console will give you messages if there are issues with your code.  In this case, it would have stated that it didn't apply the code you wrote which typically means that it didn't find it in the game code when it was applying that line of the code in your mod.  I found that useful to help troubleshooting when I do a copy/paste in my loot files and forget to change something from name to group or vice versa.

 

Some of my mods get lengthy in regards to edits so I will start a new game and then quit if I see a lot of error messages after the character is generated in game.  That way I can then open the logfile for that session and go through each error message to see what mistake I made.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...